From 4f98c392201977a373447c8c15222ecc43ab90b3 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Sat, 30 Mar 2024 13:42:26 +0100 Subject: app-admin/kern: add 0.6.0-r1, drop 0.6.0 Migrate to EAPI 8 and support the verify-sig USE flag. --- app-admin/kern/Manifest | 3 ++- app-admin/kern/kern-0.6.0-r1.ebuild | 46 +++++++++++++++++++++++++++++++++++++ app-admin/kern/kern-0.6.0.ebuild | 29 ----------------------- 3 files changed, 48 insertions(+), 30 deletions(-) create mode 100644 app-admin/kern/kern-0.6.0-r1.ebuild delete mode 100644 app-admin/kern/kern-0.6.0.ebuild (limited to 'app-admin/kern') 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-r1.ebuild b/app-admin/kern/kern-0.6.0-r1.ebuild new file mode 100644 index 0000000..22dec9f --- /dev/null +++ b/app-admin/kern/kern-0.6.0-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +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/${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" + +RDEPEND="${DEPEND} + app-admin/eclean-kernel" + +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() { :; } + +src_install() { + emake PREFIX=/usr DESTDIR="${D}" install + + insinto /usr/share/fish/vendor_completions.d + doins contrib/completion/kern.fish +} diff --git a/app-admin/kern/kern-0.6.0.ebuild b/app-admin/kern/kern-0.6.0.ebuild deleted file mode 100644 index 9e35918..0000000 --- a/app-admin/kern/kern-0.6.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -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" - -RESTRICT="mirror" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND="" -RDEPEND="${DEPEND} - app-admin/eclean-kernel" -BDEPEND="" - -src_compile() { :; } - -src_install() { - emake PREFIX=/usr DESTDIR="${D}" install - - insinto /usr/share/fish/vendor_completions.d - doins contrib/completion/kern.fish -} -- cgit v1.2.3-2-gb3c3