From 90c88731bd036e5698b281fbc0a5f3aa4c9983ac Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 29 Jun 2020 11:38:31 +0100 Subject: gentoo resync : 29.06.2020 --- net-misc/knock/Manifest | 2 +- net-misc/knock/knock-0.7-r1.ebuild | 47 ++++++++++++++++++++++++++++++++++++++ net-misc/knock/knock-0.7.ebuild | 46 ------------------------------------- 3 files changed, 48 insertions(+), 47 deletions(-) create mode 100644 net-misc/knock/knock-0.7-r1.ebuild delete mode 100644 net-misc/knock/knock-0.7.ebuild (limited to 'net-misc/knock') diff --git a/net-misc/knock/Manifest b/net-misc/knock/Manifest index 5c1ed39756f1..d24f43193556 100644 --- a/net-misc/knock/Manifest +++ b/net-misc/knock/Manifest @@ -1,5 +1,5 @@ AUX knockd.confd.2 189 BLAKE2B 288c5c9e47a3001d83edd0f9d54286754fecd7d8321896370af63c0e3429a2c4004a8e99a835e558878f6b934d8c50f6ecdc5f267cd7608c59de46cfed195162 SHA512 75a483770c31f8de3744c9c3119c5cf818b9ff780bf9cffb49c1f4a78b2f384dc392218ea2a0df9fd7178a19b0b1f5a59d8a81cdb56f952cd4c8e5a91c9cf25a AUX knockd.initd.2 527 BLAKE2B 1c0e429d07d4023d34ae129c900161a9a681cd76761e953e3b6416fb3f5ad067b8f2e5c567887ccfc43adaa3b1a1f9e58bcb19ed660b118785db41aa45330107 SHA512 dc66e53bdc42487609d978a538dec26712f25c87b9a2e4a70e1a833fedfbacf3b8618f87cbe110ed54938f6620fd2e5f7a79143d7f8503927686dfa26eb9acff DIST knock-0.7.tar.gz 110791 BLAKE2B 19e63854800f4ef77199fb4005dabd749f16681068d205a924fa0bc926d2cc31a69c1f62ffa8ec335209cfa987e7db92d9332b43e971f71528f69740ced06391 SHA512 eab5d855f7111d9411e84a56a15e8ea74f41c5bd9dee27ab49f0d8d509eeeb96a60c508928c92916dc0ec9b737c447ca8ca5ed4db6479b389549d60e76a85aa7 -EBUILD knock-0.7.ebuild 1098 BLAKE2B 9a5ada3e3d7ca576a5174c2f783f67b2ad240879f36c3ea399ff8108f1953c64b20af879f47849d78a522cdbd8f4628ad95c8567b3a9f18baf88dc6fa1ba292a SHA512 17d98392fe54b136c0f6adf2c5b64b4bcb2afc3db8c6c28ae11d4cc620f014c00c15839eac2540971913ac5d486bd00253423260bc6fb3d91e42e66728e6928e +EBUILD knock-0.7-r1.ebuild 1123 BLAKE2B 6342aa37df57028fc75cffde7e6876ebd497d7ab1e1fbcfe8aa303cca3c0c4f86dda259893a4fa3952df189a8c5c22d41b1762cdaa02a7315265b79ac7ac42c0 SHA512 29be59b12c60eb33af2ed64a78fc4df90cd7bb6496f823e14b14c58d9389c3f64fe4cff36adf2572ee936f4518930ea4012a504eff6e8076f3bb0892747e659c MISC metadata.xml 246 BLAKE2B dba219f8b59aae4aed3685948a81fc06da8d34cbe8a59fafe7b9c503f63fbcb011514ee8734fd74928ffc93e2ab201902fb28702df8b30be5d8636e4de0ce6d8 SHA512 68d82bf2a215c76134e5dc45ed11f3db4546f21f6989513faa7792e0ba0b706688960710f1d6cee3d2f209636d3552df9ed8120edfc1609b9d7d687883becc84 diff --git a/net-misc/knock/knock-0.7-r1.ebuild b/net-misc/knock/knock-0.7-r1.ebuild new file mode 100644 index 000000000000..117341a6615e --- /dev/null +++ b/net-misc/knock/knock-0.7-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Simple port-knocking daemon" +HOMEPAGE="https://www.zeroflux.org/projects/knock + https://github.com/jvinet/knock" +SRC_URI="https://www.zeroflux.org/proj/knock/files/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" +IUSE="+server" + +DEPEND="server? ( net-libs/libpcap )" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + sed -e "/^AM_CFLAGS/s: -g : :" \ + -e "/dist_doc_DATA/s:COPYING::" \ + -i Makefile.in || die + sed -e "s:/usr/sbin/iptables:/sbin/iptables:g" \ + -i knockd.conf || die +} + +src_configure() { + econf $(use_enable server knockd) +} + +src_install() { + emake DESTDIR="${D}" docdir="${EROOT}/usr/share/doc/${PF}" install + + if use server ; then + newinitd "${FILESDIR}"/knockd.initd.2 knock + newconfd "${FILESDIR}"/knockd.confd.2 knock + fi +} + +pkg_postinst() { + if use server && ! has_version net-firewall/iptables ; then + elog "You're really encouraged to install net-firewall/iptables to" + elog "actually modify your firewall and use the example configuration." + fi +} diff --git a/net-misc/knock/knock-0.7.ebuild b/net-misc/knock/knock-0.7.ebuild deleted file mode 100644 index 2b61ae365f34..000000000000 --- a/net-misc/knock/knock-0.7.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -DESCRIPTION="A simple port-knocking daemon" -HOMEPAGE="http://www.zeroflux.org/projects/knock" -SRC_URI="http://www.zeroflux.org/proj/knock/files/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc sparc x86" -IUSE="+server" - -DEPEND="server? ( net-libs/libpcap )" -RDEPEND="${DEPEND}" - -src_prepare() { - sed -e "/^AM_CFLAGS/s: -g : :" \ - -e "/dist_doc_DATA/s:COPYING::" \ - -i Makefile.in || die - sed -e "s:/usr/sbin/iptables:/sbin/iptables:g" \ - -i knockd.conf || die -} - -src_configure() { - econf $(use_enable server knockd) -} - -src_install() { - emake DESTDIR="${D}" docdir="${EROOT}/usr/share/doc/${PF}" install - - if use server ; then - newinitd "${FILESDIR}"/knockd.initd.2 knock - newconfd "${FILESDIR}"/knockd.confd.2 knock - fi -} - -pkg_postinst() { - if use server && ! has_version net-firewall/iptables ; then - einfo - elog "You're really encouraged to install net-firewall/iptables to" - elog "actually modify your firewall and use the example configuration." - einfo - fi -} -- cgit v1.2.3