From 677850f10e54c2ec109a79b0b1500c6d8baec56a Mon Sep 17 00:00:00 2001 From: Andrew Chambers Date: Wed, 27 Oct 2021 14:13:23 +1300 Subject: [PATCH] Remove old hpkg versions, to be replaced by a new system. --- support/linux-musl-hpkgs/bupstash-v0.1.0.hpkg | 32 ---------------- support/linux-musl-hpkgs/bupstash-v0.2.0.hpkg | 32 ---------------- support/linux-musl-hpkgs/bupstash-v0.3.0.hpkg | 32 ---------------- support/linux-musl-hpkgs/bupstash-v0.4.0.hpkg | 32 ---------------- support/linux-musl-hpkgs/bupstash-v0.4.1.hpkg | 32 ---------------- support/linux-musl-hpkgs/bupstash-v0.5.0.hpkg | 32 ---------------- support/linux-musl-hpkgs/bupstash-v0.6.0.hpkg | 37 ------------------- support/linux-musl-hpkgs/bupstash-v0.6.2.hpkg | 32 ---------------- support/linux-musl-hpkgs/bupstash-v0.6.3.hpkg | 32 ---------------- 9 files changed, 293 deletions(-) delete mode 100644 support/linux-musl-hpkgs/bupstash-v0.1.0.hpkg delete mode 100644 support/linux-musl-hpkgs/bupstash-v0.2.0.hpkg delete mode 100644 support/linux-musl-hpkgs/bupstash-v0.3.0.hpkg delete mode 100644 support/linux-musl-hpkgs/bupstash-v0.4.0.hpkg delete mode 100644 support/linux-musl-hpkgs/bupstash-v0.4.1.hpkg delete mode 100644 support/linux-musl-hpkgs/bupstash-v0.5.0.hpkg delete mode 100644 support/linux-musl-hpkgs/bupstash-v0.6.0.hpkg delete mode 100644 support/linux-musl-hpkgs/bupstash-v0.6.2.hpkg delete mode 100644 support/linux-musl-hpkgs/bupstash-v0.6.3.hpkg diff --git a/support/linux-musl-hpkgs/bupstash-v0.1.0.hpkg b/support/linux-musl-hpkgs/bupstash-v0.1.0.hpkg deleted file mode 100644 index 12de41d2..00000000 --- a/support/linux-musl-hpkgs/bupstash-v0.1.0.hpkg +++ /dev/null @@ -1,32 +0,0 @@ -(def hpkgs - "https://raw.githubusercontent.com/andrewchambers/hpkgs/93a809b9a17c2275a25c9bc085dc7eb14de9cf7e/") - -(defn hpkg-use* - [p] - (import* (string hpkgs p) :prefix "")) - -(defn hpkg-import* - [p] - (import* (string hpkgs p))) - -(hpkg-use* "prelude") -(hpkg-use* "community/libsodium") -(hpkg-use* "community/rust") -(hpkg-import* "core") - -(defsrc bupstash-src - :url - "https://github.com/andrewchambers/bupstash/releases/download/v0.1.0/bupstash-v0.1.0-src+deps.tar.gz" - :hash - "sha256:0888200451448d5672661d2c22b37d9f023d1d0e34d57c51ee3ce6fd55ddf0bb") - -(defpkg bupstash - :builder - (fn [] - (os/setenv "PATH" (join-pkg-paths ":" "/bin" [core/build-env rust])) - (os/setenv "PKG_CONFIG_PATH" (join-pkg-paths ":" "/lib/pkgconfig" [libsodium])) - (unpack-src bupstash-src) - (sh/$ cargo build --offline --release) - (sh/$ strip target/release/bupstash) - (sh/$ mkdir (dyn :pkg-out) ^ /bin) - (sh/$ cp target/release/bupstash (dyn :pkg-out) ^ /bin))) diff --git a/support/linux-musl-hpkgs/bupstash-v0.2.0.hpkg b/support/linux-musl-hpkgs/bupstash-v0.2.0.hpkg deleted file mode 100644 index 3eee57e9..00000000 --- a/support/linux-musl-hpkgs/bupstash-v0.2.0.hpkg +++ /dev/null @@ -1,32 +0,0 @@ -(def hpkgs - "https://raw.githubusercontent.com/andrewchambers/hpkgs/93a809b9a17c2275a25c9bc085dc7eb14de9cf7e/") - -(defn hpkg-use* - [p] - (import* (string hpkgs p) :prefix "")) - -(defn hpkg-import* - [p] - (import* (string hpkgs p))) - -(hpkg-use* "prelude") -(hpkg-use* "community/libsodium") -(hpkg-use* "community/rust") -(hpkg-import* "core") - -(defsrc bupstash-src - :url - "https://github.com/andrewchambers/bupstash/releases/download/v0.2.0/bupstash-v0.2.0-src+deps.tar.gz" - :hash - "sha256:927c667db941af8a5ae9d9961c60f30a57e7e6600cce426a07f23531aa7676f8") - -(defpkg bupstash - :builder - (fn [] - (os/setenv "PATH" (join-pkg-paths ":" "/bin" [core/build-env rust])) - (os/setenv "PKG_CONFIG_PATH" (join-pkg-paths ":" "/lib/pkgconfig" [libsodium])) - (unpack-src bupstash-src) - (sh/$ cargo build --offline --release) - (sh/$ strip target/release/bupstash) - (sh/$ mkdir (dyn :pkg-out) ^ /bin) - (sh/$ cp target/release/bupstash (dyn :pkg-out) ^ /bin))) diff --git a/support/linux-musl-hpkgs/bupstash-v0.3.0.hpkg b/support/linux-musl-hpkgs/bupstash-v0.3.0.hpkg deleted file mode 100644 index 5696ed1b..00000000 --- a/support/linux-musl-hpkgs/bupstash-v0.3.0.hpkg +++ /dev/null @@ -1,32 +0,0 @@ -(def hpkgs - "https://raw.githubusercontent.com/andrewchambers/hpkgs/93a809b9a17c2275a25c9bc085dc7eb14de9cf7e/") - -(defn hpkg-use* - [p] - (import* (string hpkgs p) :prefix "")) - -(defn hpkg-import* - [p] - (import* (string hpkgs p))) - -(hpkg-use* "prelude") -(hpkg-use* "community/libsodium") -(hpkg-use* "community/rust") -(hpkg-import* "core") - -(defsrc bupstash-src - :url - "https://github.com/andrewchambers/bupstash/releases/download/v0.3.0/bupstash-v0.3.0-src+deps.tar.gz" - :hash - "sha256:1aa1648dacc329c0edbff99fff8785defe199f0e035151c07c7127bd549fe86b") - -(defpkg bupstash - :builder - (fn [] - (os/setenv "PATH" (join-pkg-paths ":" "/bin" [core/build-env rust])) - (os/setenv "PKG_CONFIG_PATH" (join-pkg-paths ":" "/lib/pkgconfig" [libsodium])) - (unpack-src bupstash-src) - (sh/$ cargo build --offline --release) - (sh/$ strip target/release/bupstash) - (sh/$ mkdir (dyn :pkg-out) ^ /bin) - (sh/$ cp target/release/bupstash (dyn :pkg-out) ^ /bin))) diff --git a/support/linux-musl-hpkgs/bupstash-v0.4.0.hpkg b/support/linux-musl-hpkgs/bupstash-v0.4.0.hpkg deleted file mode 100644 index c0b52aa3..00000000 --- a/support/linux-musl-hpkgs/bupstash-v0.4.0.hpkg +++ /dev/null @@ -1,32 +0,0 @@ -(def hpkgs - "https://raw.githubusercontent.com/andrewchambers/hpkgs/93a809b9a17c2275a25c9bc085dc7eb14de9cf7e/") - -(defn hpkg-use* - [p] - (import* (string hpkgs p) :prefix "")) - -(defn hpkg-import* - [p] - (import* (string hpkgs p))) - -(hpkg-use* "prelude") -(hpkg-use* "community/libsodium") -(hpkg-use* "community/rust") -(hpkg-import* "core") - -(defsrc bupstash-src - :url - "https://github.com/andrewchambers/bupstash/releases/download/v0.4.0/bupstash-v0.4.0-src+deps.tar.gz" - :hash - "sha256:5a86e13568109882c4c7929bf1cec643a2192f385e9649f6232c2fc7c65fcb1e") - -(defpkg bupstash - :builder - (fn [] - (os/setenv "PATH" (join-pkg-paths ":" "/bin" [core/build-env rust])) - (os/setenv "PKG_CONFIG_PATH" (join-pkg-paths ":" "/lib/pkgconfig" [libsodium])) - (unpack-src bupstash-src) - (sh/$ cargo build --offline --release) - (sh/$ strip target/release/bupstash) - (sh/$ mkdir (dyn :pkg-out) ^ /bin) - (sh/$ cp target/release/bupstash (dyn :pkg-out) ^ /bin))) diff --git a/support/linux-musl-hpkgs/bupstash-v0.4.1.hpkg b/support/linux-musl-hpkgs/bupstash-v0.4.1.hpkg deleted file mode 100644 index 749b909b..00000000 --- a/support/linux-musl-hpkgs/bupstash-v0.4.1.hpkg +++ /dev/null @@ -1,32 +0,0 @@ -(def hpkgs - "https://raw.githubusercontent.com/andrewchambers/hpkgs/93a809b9a17c2275a25c9bc085dc7eb14de9cf7e/") - -(defn hpkg-use* - [p] - (import* (string hpkgs p) :prefix "")) - -(defn hpkg-import* - [p] - (import* (string hpkgs p))) - -(hpkg-use* "prelude") -(hpkg-use* "community/libsodium") -(hpkg-use* "community/rust") -(hpkg-import* "core") - -(defsrc bupstash-src - :url - "https://github.com/andrewchambers/bupstash/releases/download/v0.4.1/bupstash-v0.4.1-src+deps.tar.gz" - :hash - "sha256:5a870cfbc3ba332b04505fe89e7b7a040f38d8fafb11dbb1f2d824b8fd14f1f1") - -(defpkg bupstash - :builder - (fn [] - (os/setenv "PATH" (join-pkg-paths ":" "/bin" [core/build-env rust])) - (os/setenv "PKG_CONFIG_PATH" (join-pkg-paths ":" "/lib/pkgconfig" [libsodium])) - (unpack-src bupstash-src) - (sh/$ cargo build --offline --release) - (sh/$ strip target/release/bupstash) - (sh/$ mkdir (dyn :pkg-out) ^ /bin) - (sh/$ cp target/release/bupstash (dyn :pkg-out) ^ /bin))) diff --git a/support/linux-musl-hpkgs/bupstash-v0.5.0.hpkg b/support/linux-musl-hpkgs/bupstash-v0.5.0.hpkg deleted file mode 100644 index 4f3e8f37..00000000 --- a/support/linux-musl-hpkgs/bupstash-v0.5.0.hpkg +++ /dev/null @@ -1,32 +0,0 @@ -(def hpkgs - "https://raw.githubusercontent.com/andrewchambers/hpkgs/93a809b9a17c2275a25c9bc085dc7eb14de9cf7e/") - -(defn hpkg-use* - [p] - (import* (string hpkgs p) :prefix "")) - -(defn hpkg-import* - [p] - (import* (string hpkgs p))) - -(hpkg-use* "prelude") -(hpkg-use* "community/libsodium") -(hpkg-use* "community/rust") -(hpkg-import* "core") - -(defsrc bupstash-src - :url - "https://github.com/andrewchambers/bupstash/releases/download/v0.5.0/bupstash-v0.5.0-src+deps.tar.gz" - :hash - "sha256:399eaed1d5066e274aa57b7857cd1eb4268c3550a7604b749ec8e21ec1541872") - -(defpkg bupstash - :builder - (fn [] - (os/setenv "PATH" (join-pkg-paths ":" "/bin" [core/build-env rust])) - (os/setenv "PKG_CONFIG_PATH" (join-pkg-paths ":" "/lib/pkgconfig" [libsodium])) - (unpack-src bupstash-src) - (sh/$ cargo build --offline --release) - (sh/$ strip target/release/bupstash) - (sh/$ mkdir (dyn :pkg-out) ^ /bin) - (sh/$ cp target/release/bupstash (dyn :pkg-out) ^ /bin))) diff --git a/support/linux-musl-hpkgs/bupstash-v0.6.0.hpkg b/support/linux-musl-hpkgs/bupstash-v0.6.0.hpkg deleted file mode 100644 index 3a8a772f..00000000 --- a/support/linux-musl-hpkgs/bupstash-v0.6.0.hpkg +++ /dev/null @@ -1,37 +0,0 @@ -(def hpkgs - "https://raw.githubusercontent.com/andrewchambers/hpkgs/93a809b9a17c2275a25c9bc085dc7eb14de9cf7e/") - -(defn hpkg-use* - [p] - (import* (string hpkgs p) :prefix "")) - -(defn hpkg-import* - [p] - (import* (string hpkgs p))) - -(hpkg-use* "prelude") -(hpkg-use* "community/libsodium") -(hpkg-use* "community/rust") -(hpkg-import* "core") - -(defsrc bupstash-src - :url - "https://github.com/andrewchambers/bupstash/releases/download/v0.6.0/bupstash-v0.6.0-src+deps.tar.gz" - :hash - "sha256:4fb027f4d08df22758394cc61593624d8243b958af2ba7d75484179abe3a43f6") - -(defpkg bupstash - :builder - (fn [] - (os/setenv "PATH" (join-pkg-paths ":" "/bin" [core/build-env rust])) - (os/setenv "PKG_CONFIG_PATH" (join-pkg-paths ":" "/lib/pkgconfig" [libsodium])) - (unpack-src bupstash-src) - # Minor patch to work on older rust... - (rewrite "src/rollsum.rs" - |(string/replace-all - "h.leading_ones() == 20" - "(h & 0xfffff000) == 0xfffff000" $)) - (sh/$ cargo build --offline --release) - (sh/$ strip target/release/bupstash) - (sh/$ mkdir (dyn :pkg-out) ^ /bin) - (sh/$ cp target/release/bupstash (dyn :pkg-out) ^ /bin))) diff --git a/support/linux-musl-hpkgs/bupstash-v0.6.2.hpkg b/support/linux-musl-hpkgs/bupstash-v0.6.2.hpkg deleted file mode 100644 index d951d832..00000000 --- a/support/linux-musl-hpkgs/bupstash-v0.6.2.hpkg +++ /dev/null @@ -1,32 +0,0 @@ -(def hpkgs - "https://raw.githubusercontent.com/andrewchambers/hpkgs/93a809b9a17c2275a25c9bc085dc7eb14de9cf7e/") - -(defn hpkg-use* - [p] - (import* (string hpkgs p) :prefix "")) - -(defn hpkg-import* - [p] - (import* (string hpkgs p))) - -(hpkg-use* "prelude") -(hpkg-use* "community/libsodium") -(hpkg-use* "community/rust") -(hpkg-import* "core") - -(defsrc bupstash-src - :url - "https://github.com/andrewchambers/bupstash/releases/download/v0.6.2/bupstash-v0.6.2-src+deps.tar.gz" - :hash - "sha256:b555c83a098400eb3fc0ca9e929ada4f8755293dd64a2cdec763b8916ae6506f") - -(defpkg bupstash - :builder - (fn [] - (os/setenv "PATH" (join-pkg-paths ":" "/bin" [core/build-env rust])) - (os/setenv "PKG_CONFIG_PATH" (join-pkg-paths ":" "/lib/pkgconfig" [libsodium])) - (unpack-src bupstash-src) - (sh/$ cargo build --offline --release) - (sh/$ strip target/release/bupstash) - (sh/$ mkdir (dyn :pkg-out) ^ /bin) - (sh/$ cp target/release/bupstash (dyn :pkg-out) ^ /bin))) diff --git a/support/linux-musl-hpkgs/bupstash-v0.6.3.hpkg b/support/linux-musl-hpkgs/bupstash-v0.6.3.hpkg deleted file mode 100644 index 9a75ba8a..00000000 --- a/support/linux-musl-hpkgs/bupstash-v0.6.3.hpkg +++ /dev/null @@ -1,32 +0,0 @@ -(def hpkgs - "https://raw.githubusercontent.com/andrewchambers/hpkgs/93a809b9a17c2275a25c9bc085dc7eb14de9cf7e/") - -(defn hpkg-use* - [p] - (import* (string hpkgs p) :prefix "")) - -(defn hpkg-import* - [p] - (import* (string hpkgs p))) - -(hpkg-use* "prelude") -(hpkg-use* "community/libsodium") -(hpkg-use* "community/rust") -(hpkg-import* "core") - -(defsrc bupstash-src - :url - "https://github.com/andrewchambers/bupstash/releases/download/v0.6.3/bupstash-v0.6.3-src+deps.tar.gz" - :hash - "sha256:867453e6b72a5c04c4e461f8abf1f9ce995bc2686b4cb61705940f9215287033") - -(defpkg bupstash - :builder - (fn [] - (os/setenv "PATH" (join-pkg-paths ":" "/bin" [core/build-env rust])) - (os/setenv "PKG_CONFIG_PATH" (join-pkg-paths ":" "/lib/pkgconfig" [libsodium])) - (unpack-src bupstash-src) - (sh/$ cargo build --offline --release) - (sh/$ strip target/release/bupstash) - (sh/$ mkdir (dyn :pkg-out) ^ /bin) - (sh/$ cp target/release/bupstash (dyn :pkg-out) ^ /bin)))