aboutsummaryrefslogtreecommitdiffstats
path: root/app-admin/kern
diff options
context:
space:
mode:
authorWolfgang Müller2024-03-30 13:42:26 +0100
committerWolfgang Müller2024-03-30 13:43:49 +0100
commit4f98c392201977a373447c8c15222ecc43ab90b3 (patch)
tree70f6bfa25a6098494b2cb6800881c376937c16b4 /app-admin/kern
parent147ee179b4c21da5a35b6c34e475eef86039ddc6 (diff)
downloadpramantha-4f98c392201977a373447c8c15222ecc43ab90b3.tar.gz
app-admin/kern: add 0.6.0-r1, drop 0.6.0
Migrate to EAPI 8 and support the verify-sig USE flag.
Diffstat (limited to 'app-admin/kern')
-rw-r--r--app-admin/kern/Manifest3
-rw-r--r--app-admin/kern/kern-0.6.0-r1.ebuild (renamed from app-admin/kern/kern-0.6.0.ebuild)25
2 files changed, 23 insertions, 5 deletions
diff --git a/app-admin/kern/Manifest b/app-admin/kern/Manifest
index 2405021..b786de4 100644
--- a/app-admin/kern/Manifest
+++ b/app-admin/kern/Manifest
@@ -1,3 +1,4 @@
+DIST kern-0.6.0.sha.sig 238 BLAKE2B d47d2c2e048289aadddeea5ab90c4b129198525cdef4fce95079951e021d70b3f8d2f6ed0137f43ba6b260075ea7280d25c1f9d3cba5bbb7207b0f8a43fe8a19 SHA512 4b92df0796a08d0536408905d6d9bc77c465271a3eec4e244479690584684cb0540a41697327ed36db9974d0ab4c6bf61ca50acc7f792303a9a2aa800e739515
DIST kern-0.6.0.tar.gz 5146 BLAKE2B 561d28b806c4a5593c9f27aa4bc991a7588ea774a497641c04e0b1787e2b95c4d2e354189cf655e5345598cffdf40bcc6448138d23136d780f9cc7cb7b29f0fb SHA512 e368a384a5abe348871feb52713bfac3180f5f5915bbf9a9411086cf5a9bef39234cba52c762128efef89235084a8ff08345a85f3a1aed2f7ec25933b63bf699
-EBUILD kern-0.6.0.ebuild 587 BLAKE2B be9a8eff20e12a6627bef554f0c8e76dfe7b23cd2bc02a0bb047a8805ff6385ed2aae18987fd0358e4175387777ec085a44599e2bfbf5c0f36399f8ebda15664 SHA512 01a535debc341d90ee6f0a255fc76c5e25e7fe69c0989b0d6d19f3d8188acb66bede73405362954cfb2214ff775b0631cdfc066f6281e4adf0c590444ea443a5
+EBUILD kern-0.6.0-r1.ebuild 980 BLAKE2B 5b2778725a43aa48dea3546f1956f59d0fb4d1e9b397cfc9d63133b06e0a4c7e48393f0dc21c2971500b3a90e2244271b6637da58e979be37bfa51f04dbfb7f2 SHA512 1109701b25b9bd5bb0bb0117e8b6cdb61515585b8508b6351a7cd3ce4fd925f2dea76f81cba3acaa6ca242917ea939e4eea887db3efc33fb6a0f75340930be2a
MISC metadata.xml 219 BLAKE2B 4017e2b1f6b36f72c186cfeb0955be57076a02d087acfd6caf9b9ec56509b5299be8d40dddaffd04433bb290f6dd35c94c59ac02a4f1ad7e63b13648e465e594 SHA512 555d3bce3f8cd9b4d78f59f494c326d7893f12c1907c1eb92107595886fc4a5e89b8b9fda7f434e021a9eede5dfd6d0c1dfee721c268ccad3d6a1865a92204e0
diff --git a/app-admin/kern/kern-0.6.0.ebuild b/app-admin/kern/kern-0.6.0-r1.ebuild
index 9e35918..22dec9f 100644
--- a/app-admin/kern/kern-0.6.0.ebuild
+++ b/app-admin/kern/kern-0.6.0-r1.ebuild
@@ -3,21 +3,38 @@
EAPI=8
+VERIFY_SIG_METHOD="signify"
+inherit verify-sig
+
DESCRIPTION="Configure, build, and install kernels on Gentoo Linux"
HOMEPAGE="https://git.oriole.systems/kern"
-SRC_URI="https://git.oriole.systems/kern/snapshot/${P}.tar.gz"
+SRC_URI="
+ https://git.oriole.systems/${PN}/snapshot/${P}.tar.gz
+ verify-sig? (
+ https://git.oriole.systems/${PN}/snapshot/${P}.tar.gz.asc
+ -> ${P}.sha.sig
+ )
+"
RESTRICT="mirror"
LICENSE="ISC"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE=""
-DEPEND=""
RDEPEND="${DEPEND}
app-admin/eclean-kernel"
-BDEPEND=""
+
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/signify-keys/oriole-systems-20240330.pub"
+
+src_unpack() {
+ if use verify-sig; then
+ cp "${DISTDIR}"/${P}.{sha.sig,tar.gz} "${WORKDIR}" || die
+ verify-sig_verify_signed_checksums \
+ ${P}.sha.sig sha256 ${P}.tar.gz
+ fi
+ default
+}
src_compile() { :; }