aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-08-03 10:30:20 +0000
committerpsykose <alice@ayaya.dev>2022-08-03 12:30:20 +0200
commit8ee0303a427660e2232faf147f367852cf16037e (patch)
tree91e51d980073140b115975a3bfc935a57519d744
parentd1f3c10fd79ed6be82c1a23799d293058e3839e3 (diff)
downloadaports-8ee0303a427660e2232faf147f367852cf16037e.tar.gz
aports-8ee0303a427660e2232faf147f367852cf16037e.tar.bz2
aports-8ee0303a427660e2232faf147f367852cf16037e.tar.xz
community/dog: build against openssl3
-rw-r--r--community/dog/APKBUILD9
-rw-r--r--community/dog/openssl3.patch67
2 files changed, 73 insertions, 3 deletions
diff --git a/community/dog/APKBUILD b/community/dog/APKBUILD
index 42f15af3f1..987fb044c9 100644
--- a/community/dog/APKBUILD
+++ b/community/dog/APKBUILD
@@ -2,14 +2,16 @@
# Maintainer: omni <omni@gitlab.alpinelinux.org>
pkgname=dog
pkgver=0.1.0
-pkgrel=1
+pkgrel=2
pkgdesc="dog is a command-line DNS client"
url="https://github.com/ogham/dog"
arch="x86_64 armv7 armhf aarch64 ppc64le x86"
license="EUPL-1.2"
-makedepends="cargo openssl1.1-compat-dev"
+makedepends="cargo openssl-dev"
subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/ogham/dog/archive/v$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/ogham/dog/archive/v$pkgver.tar.gz
+ openssl3.patch
+ "
export CARGO_PROFILE_RELEASE_LTO=true
export CARGO_PROFILE_RELEASE_PANIC="abort"
@@ -38,4 +40,5 @@ package() {
sha512sums="
03af5414b995710d22ea19bdbf382def4e53ae2870f396b4103546743c9cafcc445ee0819b6c8b7f435793fead5ebd03f091be89293a32847868a5544b4bc0e5 dog-0.1.0.tar.gz
+ca5b81388b1c671a80250bc84da87cf19acdd92c290645c7842a1893e79f71e05f545564818a14e6b35701aed6f57d4fe47249934b69fd831f554d5885f82ec8 openssl3.patch
"
diff --git a/community/dog/openssl3.patch b/community/dog/openssl3.patch
new file mode 100644
index 0000000000..8b245e0f03
--- /dev/null
+++ b/community/dog/openssl3.patch
@@ -0,0 +1,67 @@
+diff --git a/Cargo.lock b/Cargo.lock
+index fa02ca3..b5db8a6 100644
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -1,5 +1,7 @@
+ # This file is automatically @generated by Cargo.
+ # It is not intended for manual editing.
++version = 3
++
+ [[package]]
+ name = "addr2line"
+ version = "0.14.0"
+@@ -367,19 +369,37 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
+ checksum = "8d3b63360ec3cb337817c2dbd47ab4a0f170d285d8e5a2064600f3def1402397"
+
+ [[package]]
+-name = "openssl"
+-version = "0.10.30"
++name = "once_cell"
++version = "1.13.0"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+-checksum = "8d575eff3665419f9b83678ff2815858ad9d11567e082f5ac1814baba4e2bcb4"
++checksum = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1"
++
++[[package]]
++name = "openssl"
++version = "0.10.41"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "618febf65336490dfcf20b73f885f5651a0c89c64c2d4a8c3662585a70bf5bd0"
+ dependencies = [
+ "bitflags",
+- "cfg-if 0.1.10",
++ "cfg-if 1.0.0",
+ "foreign-types",
+- "lazy_static",
+ "libc",
++ "once_cell",
++ "openssl-macros",
+ "openssl-sys",
+ ]
+
++[[package]]
++name = "openssl-macros"
++version = "0.1.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "b501e44f11665960c7e7fcf062c7d96a14ade4aa98116c004b2e37b5be7d736c"
++dependencies = [
++ "proc-macro2",
++ "quote",
++ "syn",
++]
++
+ [[package]]
+ name = "openssl-probe"
+ version = "0.1.2"
+@@ -388,9 +408,9 @@ checksum = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de"
+
+ [[package]]
+ name = "openssl-sys"
+-version = "0.9.58"
++version = "0.9.75"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+-checksum = "a842db4709b604f0fe5d1170ae3565899be2ad3d9cbc72dedc789ac0511f78de"
++checksum = "e5f9bd0c2710541a3cda73d6f9ac4f1b240de4ae261065d309dbe73d9dceb42f"
+ dependencies = [
+ "autocfg",
+ "cc",