aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Müller2024-03-30 13:35:51 +0100
committerWolfgang Müller2024-03-30 13:43:40 +0100
commit7dfa5212bf88cfdef627eff44c85bca6cf5a165c (patch)
tree90b6d9e1f265ed100d225aee5a88a354475057b5
parent55b0126d63b44fcdc8fb838ca11922e732018409 (diff)
downloadpramantha-7dfa5212bf88cfdef627eff44c85bca6cf5a165c.tar.gz
www-misc/skein: add 0.1.3-r1, drop 0.1.3
Migrate to EAPI 8 and support the verify-sig USE flag.
-rw-r--r--www-misc/skein/Manifest3
-rw-r--r--www-misc/skein/skein-0.1.3-r1.ebuild46
-rw-r--r--www-misc/skein/skein-0.1.3.ebuild27
3 files changed, 48 insertions, 28 deletions
diff --git a/www-misc/skein/Manifest b/www-misc/skein/Manifest
index 09c8357..dc3b6aa 100644
--- a/www-misc/skein/Manifest
+++ b/www-misc/skein/Manifest
@@ -1,4 +1,5 @@
AUX skein-infra.initd 474 BLAKE2B 94e301f150e4c9338971e0624e1e6753004ff9b09aee4c140cc1c1eab233669e7ffd15b7fb7c9ad52366fbffb38e66006244cf1b02c97bed3dfbf5e4a6123a3d SHA512 5981641427f5da68bbbde82afcf225bf3ed9c7adc07e1a90cb232b1a5a17602ca33e3ab3273458372372a9f5fa6efd7c67eaea862fc2ffeb916b0083c1ec4267
+DIST skein-0.1.3.sha.sig 239 BLAKE2B 007d4d34ca34775c56e1b7eea5524bc07d5fc5b4b92a25fc83192409a9dcb65996d1135a77ab765267eeb6f8c31aab98757d92b2228090dbcfe38d5cc81a0715 SHA512 724ba0da454cf27f0366ae6331934541dfaab533d6750033454dd881cad231bbde3aca20649ff4a1b270170ab9390b77fd9b8928bd8e0fc1a41eaa374c303858
DIST skein-0.1.3.tar.gz 4164 BLAKE2B acbdc80897f4473f8867096b555919c382eaf718ee908fed0d8dba275ba718099975945a2751fe7be560001db6368d4e73a831e32f6fc04225cafca902bd90fa SHA512 e7162f17dce558d0ed02b44815b4b3b27cee30f2989085a0eb9a7b9a406e1b173ed9760d841ca4169647cb1b26f6df0c13e98060fcbe6e82095b48e6b76b56f5
-EBUILD skein-0.1.3.ebuild 526 BLAKE2B ac366e6d05f82e7ae162ad2e0c05d41fdf2b3ec303712c41d20ef65b2afb41e42d612f8d03fdef037c3ad34a89ef44bd34e566ef108fd6be37c30dc906ead8da SHA512 e4f54a3000eac9c329620452e6f81d4113468fe6019634dedace9c4fbd983be5029bf39843ffc3bc1a4da029507ae945b687e72d4902b7f18112228a129718b5
+EBUILD skein-0.1.3-r1.ebuild 939 BLAKE2B 2a84a516834b16538d0224751062e567a041359709808e3c9f3d0c31984d0414ee763860b3f6a00b52699f333256670dec66c4143c2c6e2eb4d4841cc06d512b SHA512 458adc3c96feed34da84466e2f98c79f5270eb16fe1dc71810a12068babeb99fb144c91923900cbc597c79d7cfaf650bdf0ae688e2ce2f521661c9289fb0ae4e
MISC metadata.xml 223 BLAKE2B 2c1cd83f1f1d25a43ea978cd66b5c9f6020889613dfaed65d6745858a45d4bf50fda775305420e41c36cafd63d63746ed894411acbced66ab8ae04906dfb8592 SHA512 4f71eacfeb2b21a4ea746ce1663777937b920e942c94eef1fe93c3557e207c9fdb2569369d56637cba563dc50179d62195db6225123ecfedc303600b8a0bb49b
diff --git a/www-misc/skein/skein-0.1.3-r1.ebuild b/www-misc/skein/skein-0.1.3-r1.ebuild
new file mode 100644
index 0000000..ae33b4d
--- /dev/null
+++ b/www-misc/skein/skein-0.1.3-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_METHOD="signify"
+inherit verify-sig
+
+DESCRIPTION="secure cgit hosting with slowcgi(8)"
+HOMEPAGE="https://git.oriole.systems/skein"
+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="www-misc/slowcgi"
+
+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() {
+ emake LDFLAGS="-static"
+}
+
+src_install() {
+ emake PREFIX=/usr DESTDIR="${D}" install
+
+ newinitd "${FILESDIR}"/skein-infra.initd skein-infra
+}
diff --git a/www-misc/skein/skein-0.1.3.ebuild b/www-misc/skein/skein-0.1.3.ebuild
deleted file mode 100644
index bddcbb8..0000000
--- a/www-misc/skein/skein-0.1.3.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="secure cgit hosting with slowcgi(8)"
-HOMEPAGE="https://git.oriole.systems/skein"
-SRC_URI="https://git.oriole.systems/skein/snapshot/${P}.tar.gz"
-
-RESTRICT="mirror"
-
-LICENSE="ISC"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-RDEPEND="www-misc/slowcgi"
-
-src_compile() {
- emake LDFLAGS="-static"
-}
-
-src_install() {
- emake PREFIX=/usr DESTDIR="${D}" install
-
- newinitd "${FILESDIR}"/skein-infra.initd skein-infra
-}