summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorHank Leininger <hlein@korelogic.com>2024-05-21 18:12:53 -0600
committerSam James <sam@gentoo.org>2024-05-25 07:46:45 +0100
commitd1d13aa89898e66bc0beadc6ae587aeeab04659e (patch)
tree8886802ec919f7d75d88cee5f4d09d4b9317097b /sys-fs
parentsec-keys/openpgp-keys-jariruusu: new package, add 20240521 (diff)
downloadgentoo-d1d13aa89898e66bc0beadc6ae587aeeab04659e.tar.gz
gentoo-d1d13aa89898e66bc0beadc6ae587aeeab04659e.tar.bz2
gentoo-d1d13aa89898e66bc0beadc6ae587aeeab04659e.zip
sys-fs/loop-aes: wire up verify-sig
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/loop-aes/Manifest1
-rw-r--r--sys-fs/loop-aes/loop-aes-3.8c.ebuild15
2 files changed, 12 insertions, 4 deletions
diff --git a/sys-fs/loop-aes/Manifest b/sys-fs/loop-aes/Manifest
index 5be83ea03b3b..d06fb0cd0f83 100644
--- a/sys-fs/loop-aes/Manifest
+++ b/sys-fs/loop-aes/Manifest
@@ -1,2 +1,3 @@
DIST loop-AES-v3.8b.tar.bz2 411795 BLAKE2B 51e2c4ddd25f288c5cc5cbbbe20d79951d68bc2b7ecc91fe6eddbb829b297fe6946590512f423efcf5be3c4a1c9ce450c0cf49ed44ac6ad8eb2568468570d48f SHA512 8143649cc9616735cb9a9c8cb8b5c8a709b139e8b41aec444d56c85ef7852d103f657d0d702ffb04783963f0d0e919a6fe4e10b31cd373cd326e546caad90661
DIST loop-AES-v3.8c.tar.bz2 419257 BLAKE2B dd7fe8e4fbc3b58e11ef5440ea81b65d9a1e92e71a81020b9664ae2387dd36da327fddab85bfc27b23ac2f546b7622526ded1424e2c6cd3659e8998f914151db SHA512 d22b4773f42d47a8f499e3234f64a880248ea6a2c7e96b598ec11d3d674fca09d989ef9bbee254b384c9fe17adb009115bcfb932081a326400120c1c4c828779
+DIST loop-AES-v3.8c.tar.bz2.sig 861 BLAKE2B aa6c3e2b1e0ab604d92ae6c09fed992f629c7f61b7b62e6d073600f72973ace430e5e0964174a40b63eb703ede4f53098c6deb8af13d663e0bb147a2138a6635 SHA512 44ca990fdf55e8c03e85139dfc07dde5ad1cbd3944060ee2c15b3ce54656b7836e7a8839d237a53361c3ba7bdafda39cbbab0f03bd1952e679d1a3a3c2f0930b
diff --git a/sys-fs/loop-aes/loop-aes-3.8c.ebuild b/sys-fs/loop-aes/loop-aes-3.8c.ebuild
index a9c53b337813..40face6c0e2e 100644
--- a/sys-fs/loop-aes/loop-aes-3.8c.ebuild
+++ b/sys-fs/loop-aes/loop-aes-3.8c.ebuild
@@ -3,13 +3,22 @@
EAPI=8
-inherit linux-mod-r1
+inherit linux-mod-r1 verify-sig
MY_P="${PN/aes/AES}-v${PV}"
DESCRIPTION="Linux kernel module to encrypt disk partitions with AES cipher"
HOMEPAGE="https://sourceforge.net/projects/loop-aes/"
-SRC_URI="http://loop-aes.sourceforge.net/loop-AES/${MY_P}.tar.bz2"
+SRC_URI="
+ http://loop-aes.sourceforge.net/loop-AES/${MY_P}.tar.bz2
+ verify-sig? (
+ http://loop-aes.sourceforge.net/loop-AES/${MY_P}.tar.bz2.sign
+ -> ${MY_P}.tar.bz2.sig
+ )
+"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-jariruusu )"
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/jariruusu.asc"
+S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2"
SLOT="0"
@@ -20,8 +29,6 @@ DEPEND="app-crypt/loop-aes-losetup"
PATCHES=( "${FILESDIR}"/loop-aes-3.7w-build-initrd_explicit-losetup.patch )
-S="${WORKDIR}/${MY_P}"
-
pkg_setup() {
linux-mod-r1_pkg_setup