From eb43787d83a7c182a28256228f8eb5e16aeacbae Mon Sep 17 00:00:00 2001 From: Wynn Wolf Arbor Date: Tue, 26 Jan 2021 21:31:19 +0100 Subject: www-misc/skein: Remove hard dependency on cgit Since only the statically compiled cgit binary is required by skein, we should not depend on a specific full install of cgit. Package-Manager: Portage-3.0.13, Repoman-3.0.2 --- www-misc/skein/Manifest | 2 +- www-misc/skein/skein-0.1.1-r1.ebuild | 27 +++++++++++++++++++++++++++ www-misc/skein/skein-0.1.1.ebuild | 30 ------------------------------ 3 files changed, 28 insertions(+), 31 deletions(-) create mode 100644 www-misc/skein/skein-0.1.1-r1.ebuild delete mode 100644 www-misc/skein/skein-0.1.1.ebuild (limited to 'www-misc/skein') diff --git a/www-misc/skein/Manifest b/www-misc/skein/Manifest index 5070450..f68f9ff 100644 --- a/www-misc/skein/Manifest +++ b/www-misc/skein/Manifest @@ -1,4 +1,4 @@ AUX skein-infra.initd 474 BLAKE2B 94e301f150e4c9338971e0624e1e6753004ff9b09aee4c140cc1c1eab233669e7ffd15b7fb7c9ad52366fbffb38e66006244cf1b02c97bed3dfbf5e4a6123a3d SHA512 5981641427f5da68bbbde82afcf225bf3ed9c7adc07e1a90cb232b1a5a17602ca33e3ab3273458372372a9f5fa6efd7c67eaea862fc2ffeb916b0083c1ec4267 DIST skein-0.1.1.tar.gz 4067 BLAKE2B 59cc1db9209b1396fb32baa16084f430957fe84868c0186fdb4943d894e0d6cf383f06b250c00fc10dd6366e2a3f1b6d2dc27cdb1fa09aac872e916be10b2d82 SHA512 47866b91d3f296fab5f0b64bd5af57501c4707a6c744b9560e268a77592dd48cbf167991b0adeb070cecaa5dd5730c70968581a33c89a33d8ed59dd36ade4f08 -EBUILD skein-0.1.1.ebuild 563 BLAKE2B 938ea1439128b91e6f9d1a6d9429f33b0778c86c8cfcc75c84a5afeed1d587d8cb8e290be6e5b07f0f1a307de9c4744b1c60942f98c5230444a1f9cb17f4434f SHA512 f3ab89f19d1722248a0ed2fcda611891013b3e9ddce3628d750bf523e60ba727e1aa89fa5cffa344cbc8c0e380d96ba4c920050b8e03859ff34c529e53c6c212 +EBUILD skein-0.1.1-r1.ebuild 526 BLAKE2B ac366e6d05f82e7ae162ad2e0c05d41fdf2b3ec303712c41d20ef65b2afb41e42d612f8d03fdef037c3ad34a89ef44bd34e566ef108fd6be37c30dc906ead8da SHA512 e4f54a3000eac9c329620452e6f81d4113468fe6019634dedace9c4fbd983be5029bf39843ffc3bc1a4da029507ae945b687e72d4902b7f18112228a129718b5 MISC metadata.xml 223 BLAKE2B 2c1cd83f1f1d25a43ea978cd66b5c9f6020889613dfaed65d6745858a45d4bf50fda775305420e41c36cafd63d63746ed894411acbced66ab8ae04906dfb8592 SHA512 4f71eacfeb2b21a4ea746ce1663777937b920e942c94eef1fe93c3557e207c9fdb2569369d56637cba563dc50179d62195db6225123ecfedc303600b8a0bb49b diff --git a/www-misc/skein/skein-0.1.1-r1.ebuild b/www-misc/skein/skein-0.1.1-r1.ebuild new file mode 100644 index 0000000..bddcbb8 --- /dev/null +++ b/www-misc/skein/skein-0.1.1-r1.ebuild @@ -0,0 +1,27 @@ +# 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 +} diff --git a/www-misc/skein/skein-0.1.1.ebuild b/www-misc/skein/skein-0.1.1.ebuild deleted file mode 100644 index a1dcf83..0000000 --- a/www-misc/skein/skein-0.1.1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2020 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 - >=www-apps/cgit-1.2.3-r3[static] -" - -src_compile() { - emake LDFLAGS="-static" -} - -src_install() { - emake PREFIX=/usr DESTDIR="${D}" install - - newinitd "${FILESDIR}"/skein-infra.initd skein-infra -} -- cgit v1.2.3-2-gb3c3