From 67e5603b2844a6657dd0438fa26626b013e5567f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 24 Jun 2024 00:11:52 +0100 Subject: gentoo auto-resync : 24:06:2024 - 00:11:52 --- net-firewall/fwknop/Manifest | 4 +- net-firewall/fwknop/fwknop-2.6.10-r3.ebuild | 128 -------------------------- net-firewall/fwknop/fwknop-2.6.10-r4.ebuild | 128 ++++++++++++++++++++++++++ net-firewall/fwknop/fwknop-2.6.11-r1.ebuild | 133 ++++++++++++++++++++++++++++ net-firewall/fwknop/fwknop-2.6.11.ebuild | 133 ---------------------------- 5 files changed, 263 insertions(+), 263 deletions(-) delete mode 100644 net-firewall/fwknop/fwknop-2.6.10-r3.ebuild create mode 100644 net-firewall/fwknop/fwknop-2.6.10-r4.ebuild create mode 100644 net-firewall/fwknop/fwknop-2.6.11-r1.ebuild delete mode 100644 net-firewall/fwknop/fwknop-2.6.11.ebuild (limited to 'net-firewall/fwknop') diff --git a/net-firewall/fwknop/Manifest b/net-firewall/fwknop/Manifest index 4dbcd592347a..d845ec4a736b 100644 --- a/net-firewall/fwknop/Manifest +++ b/net-firewall/fwknop/Manifest @@ -6,6 +6,6 @@ AUX fwknopd.tmpfiles.conf 31 BLAKE2B 81d88d9bb1fd826c242b2815e1a6c0e5a300f22e19d DIST fwknop-2.6.10.tar.gz 1988197 BLAKE2B d4c2010c64ab160f0edc02e2b1530749ee47ff6ed16d6b556d366daef7ce5e22ef38fbbbf6e8cfaa14e0d9706ba2b65937b03c70b54b3429ff1732ae33c1852c SHA512 3b3e35eda574abd1759431c88677eea7078c54cb3252c0ee0e1019b5b8224ed8844d30760da70a952e1cd92b04715a547f6effabda54678f791fff9afa32cd80 DIST fwknop-2.6.11.tar.bz2 1812061 BLAKE2B 7cfb8abc95fd8aa8a8d6774507fe4dea8deacc5aa4c9f5874c39dc2a3ab0c413cf479632a34027c76180cecd0a4fbf11d8cac5fe77f48993932fab13ea740a0b SHA512 79ce0585d075dffe77143b4d6ec3f8653ddad5f46cfb596e9f373be0065bdace7efdfe9cd341ebfaa7232d39f905affa81325b569635c8a44095fd551debadd7 DIST fwknop-2.6.11.tar.bz2.asc 195 BLAKE2B 56ea868bd31fc4d06e3e976042bd3969f2c8df5bcb1e6a12d87c5740eb39b2eaf1118620be260e94b07758f4bc875e58f6b63a7989cdc08a32f049aa208b57a3 SHA512 2902a9ccb1c82baa4a96af5841d21ac873b606876fe01e8fbcf2b1e2a89c75965477f574c62a6f261f2af4420038ea6d41ef66af57b79742527054593e3cd3d7 -EBUILD fwknop-2.6.10-r3.ebuild 3381 BLAKE2B 11a3b8bd6ed3888e3526f541fe9fd1822a7adc66354136ecd62d164364724d9960a62f40acea02fecf51e45743cab0d72ae4cd9b2fbe155da1a445c6f8a96837 SHA512 5d897a9b3cca73a4285ae56925c392fbf00df3b58c7abdebc7d71a8848611c968c02e39efee2bb463fd9f450ce6b0e99af0e5fcd660707979e9f7c08e1bb8bf3 -EBUILD fwknop-2.6.11.ebuild 3586 BLAKE2B aa35e02ea67d1eafcec2dcb2d4273509bdef3b75bc636a203f2f4e0366594a555d2cf60fb8e48baa4f2426f7278f7d4ae1e6e5a5c4a2be1bde6193d980855d2c SHA512 cbc2053d796b55bf07c74955d9f9432aa82ae2ebbe1d6329560618133749692c3dc92d11ae8245666014337ba4343ec5e8c86a71f0f5d3de32a44bf5ae813877 +EBUILD fwknop-2.6.10-r4.ebuild 3383 BLAKE2B 87eb7bf4ddcf2f752ecd1e64a9346095262de60d85773149e79af0d107f6772060f2cb1dc09743b8aa0078dd751f99a3e3a4858ac16dd906c2da37d3093cd409 SHA512 91db6c3cef1d4411e02b5d92f8f7c99d9314335f6882b89ac17b1e20d68fd60480e7eebf748a8dc76cd1ec69ccbb524cdefc4e191a2cead59ad5d3f59830d04f +EBUILD fwknop-2.6.11-r1.ebuild 3588 BLAKE2B 93a1df0bd46744fc11d5a25493cc6b242c0d50e52c209e82f75929968689cba6286c247116b6b943dcc2535013727ccc5ebd9eac0eea7056ffdfe16e3fdd8e01 SHA512 927e002561d9823af57ced0fc917346a122b0cf1c0ea8fac553e4c7e08c05a72c67613a59ba8b96b0a4128cec14af1b5d9634ca2ca74f059f2857665e79a3368 MISC metadata.xml 1248 BLAKE2B 0e1cee756e1e5cf4ae7b4334b6d2dcb2f6ad67cf930d72cb6ab7ee4c84e3218474af88d3f3c03b306777be20e8763c771d28eb5762ae0d889f93dd8d559bc75a SHA512 8fb3ec7045a512f7c08250b5533a11a50a87ebf21837acd7c25db52434e7c55f2981adec0e8618824c1bfae8d8fc3200d7c2f94b4405bbffab010bdc60ca1c74 diff --git a/net-firewall/fwknop/fwknop-2.6.10-r3.ebuild b/net-firewall/fwknop/fwknop-2.6.10-r3.ebuild deleted file mode 100644 index 3b582da13606..000000000000 --- a/net-firewall/fwknop/fwknop-2.6.10-r3.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools linux-info readme.gentoo-r1 systemd tmpfiles - -DESCRIPTION="Single Packet Authorization and Port Knocking application" -HOMEPAGE="https://www.cipherdyne.org/fwknop/" -SRC_URI="https://www.cipherdyne.org/fwknop/download/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+client extras firewalld gdbm gpg +iptables nfqueue +server static-libs udp-server" - -DEPEND=" - client? ( net-misc/wget[ssl] ) - firewalld? ( net-firewall/firewalld ) - gdbm? ( sys-libs/gdbm ) - gpg? ( - app-crypt/gpgme:= - dev-libs/libassuan - dev-libs/libgpg-error - ) - iptables? ( net-firewall/iptables ) - nfqueue? ( net-libs/libnetfilter_queue ) - server? ( !nfqueue? ( !udp-server? ( net-libs/libpcap ) ) ) -" -RDEPEND="${DEPEND}" - -REQUIRED_USE=" - nfqueue? ( server ) - server? ( ^^ ( firewalld iptables ) ) - udp-server? ( server ) -" - -PATCHES=( "${FILESDIR}/${PN}-2.6.10_fno-common_fix.patch" ) - -DOCS=( AUTHORS ChangeLog README ) - -DISABLE_AUTOFORMATTING=1 -DOC_CONTENTS=" -Example configuration files were installed to '${EPREFIX}/etc/fwknopd/'. -Please edit them to suit your needs and then remove the .example suffix. - -fwknopd supports several backends: firewalld, iptables, ipfw, pf, ipf. -You can set the desired backend via FIREWALL_EXE option in fwknopd.conf -instead of the default one chosen at compile time. -" - -pkg_setup() { - linux-info_pkg_setup -} - -src_prepare() { - default_src_prepare - - # Install example configs with .example suffix. - if use server; then - sed -i -e 's|conf;|conf.example;|g' Makefile.am || die - fi - - eautoreconf -} - -src_configure() { - local myeconfargs=( - --localstatedir="${EPREFIX}/run" - $(use_enable client) - $(use_enable !gdbm file-cache) - $(use_enable nfqueue nfq-capture) - $(use_enable server) - $(use_enable udp-server) - $(use_with gpg gpgme) - ) - use firewalld && myeconfargs+=(--with-firewalld="${EPREFIX}/usr/sbin/firewalld") - use iptables && myeconfargs+=(--with-iptables="${EPREFIX}/sbin/iptables") - - econf "${myeconfargs[@]}" -} - -src_install() { - default_src_install - - if use extras; then - dodoc extras/apparmor/usr.sbin.fwknopd - dodoc extras/console-qr/console-qr.sh - dodoc extras/fwknop-launcher/* - fi - - if use server; then - newinitd "${FILESDIR}/fwknopd.init" fwknopd - newconfd "${FILESDIR}/fwknopd.confd" fwknopd - systemd_dounit "${FILESDIR}/fwknopd.service" - newtmpfiles "${FILESDIR}/fwknopd.tmpfiles.conf" fwknopd.conf - readme.gentoo_create_doc - fi - - find "${ED}" -type f -name "*.la" -delete || die - - if ! use static-libs ; then - find "${ED}" -type f -name libfko.a -delete || die - fi -} - -pkg_postinst() { - if use server; then - readme.gentoo_print_elog - - tmpfiles_process fwknopd.conf - - if ! linux_config_exists || ! linux_chkconfig_present NETFILTER_XT_MATCH_COMMENT; then - echo - ewarn "fwknopd daemon relies on the 'comment' match in order to expire" - ewarn "created firewall rules, which is an important security feature." - ewarn "Please enable NETFILTER_XT_MATCH_COMMENT support in your kernel." - echo - fi - if use nfqueue && \ - ! linux_config_exists || ! linux_chkconfig_present NETFILTER_XT_TARGET_NFQUEUE; then - echo - ewarn "fwknopd daemon relies on the 'NFQUEUE' target for NFQUEUE mode." - ewarn "Please enable NETFILTER_XT_TARGET_NFQUEUE support in your kernel." - echo - fi - fi -} diff --git a/net-firewall/fwknop/fwknop-2.6.10-r4.ebuild b/net-firewall/fwknop/fwknop-2.6.10-r4.ebuild new file mode 100644 index 000000000000..6cbff29d5512 --- /dev/null +++ b/net-firewall/fwknop/fwknop-2.6.10-r4.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools linux-info readme.gentoo-r1 systemd tmpfiles + +DESCRIPTION="Single Packet Authorization and Port Knocking application" +HOMEPAGE="https://www.cipherdyne.org/fwknop/" +SRC_URI="https://www.cipherdyne.org/fwknop/download/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+client extras firewalld gdbm gpg +iptables nfqueue +server static-libs udp-server" + +DEPEND=" + client? ( net-misc/wget[ssl] ) + firewalld? ( net-firewall/firewalld ) + gdbm? ( sys-libs/gdbm ) + gpg? ( + app-crypt/gpgme:= + dev-libs/libassuan:= + dev-libs/libgpg-error + ) + iptables? ( net-firewall/iptables ) + nfqueue? ( net-libs/libnetfilter_queue ) + server? ( !nfqueue? ( !udp-server? ( net-libs/libpcap ) ) ) +" +RDEPEND="${DEPEND}" + +REQUIRED_USE=" + nfqueue? ( server ) + server? ( ^^ ( firewalld iptables ) ) + udp-server? ( server ) +" + +PATCHES=( "${FILESDIR}/${PN}-2.6.10_fno-common_fix.patch" ) + +DOCS=( AUTHORS ChangeLog README ) + +DISABLE_AUTOFORMATTING=1 +DOC_CONTENTS=" +Example configuration files were installed to '${EPREFIX}/etc/fwknopd/'. +Please edit them to suit your needs and then remove the .example suffix. + +fwknopd supports several backends: firewalld, iptables, ipfw, pf, ipf. +You can set the desired backend via FIREWALL_EXE option in fwknopd.conf +instead of the default one chosen at compile time. +" + +pkg_setup() { + linux-info_pkg_setup +} + +src_prepare() { + default_src_prepare + + # Install example configs with .example suffix. + if use server; then + sed -i -e 's|conf;|conf.example;|g' Makefile.am || die + fi + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --localstatedir="${EPREFIX}/run" + $(use_enable client) + $(use_enable !gdbm file-cache) + $(use_enable nfqueue nfq-capture) + $(use_enable server) + $(use_enable udp-server) + $(use_with gpg gpgme) + ) + use firewalld && myeconfargs+=(--with-firewalld="${EPREFIX}/usr/sbin/firewalld") + use iptables && myeconfargs+=(--with-iptables="${EPREFIX}/sbin/iptables") + + econf "${myeconfargs[@]}" +} + +src_install() { + default_src_install + + if use extras; then + dodoc extras/apparmor/usr.sbin.fwknopd + dodoc extras/console-qr/console-qr.sh + dodoc extras/fwknop-launcher/* + fi + + if use server; then + newinitd "${FILESDIR}/fwknopd.init" fwknopd + newconfd "${FILESDIR}/fwknopd.confd" fwknopd + systemd_dounit "${FILESDIR}/fwknopd.service" + newtmpfiles "${FILESDIR}/fwknopd.tmpfiles.conf" fwknopd.conf + readme.gentoo_create_doc + fi + + find "${ED}" -type f -name "*.la" -delete || die + + if ! use static-libs ; then + find "${ED}" -type f -name libfko.a -delete || die + fi +} + +pkg_postinst() { + if use server; then + readme.gentoo_print_elog + + tmpfiles_process fwknopd.conf + + if ! linux_config_exists || ! linux_chkconfig_present NETFILTER_XT_MATCH_COMMENT; then + echo + ewarn "fwknopd daemon relies on the 'comment' match in order to expire" + ewarn "created firewall rules, which is an important security feature." + ewarn "Please enable NETFILTER_XT_MATCH_COMMENT support in your kernel." + echo + fi + if use nfqueue && \ + ! linux_config_exists || ! linux_chkconfig_present NETFILTER_XT_TARGET_NFQUEUE; then + echo + ewarn "fwknopd daemon relies on the 'NFQUEUE' target for NFQUEUE mode." + ewarn "Please enable NETFILTER_XT_TARGET_NFQUEUE support in your kernel." + echo + fi + fi +} diff --git a/net-firewall/fwknop/fwknop-2.6.11-r1.ebuild b/net-firewall/fwknop/fwknop-2.6.11-r1.ebuild new file mode 100644 index 000000000000..15c36e2fcd9b --- /dev/null +++ b/net-firewall/fwknop/fwknop-2.6.11-r1.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/fwknop.gpg +inherit autotools linux-info readme.gentoo-r1 systemd tmpfiles verify-sig + +DESCRIPTION="Single Packet Authorization and Port Knocking application" +HOMEPAGE="https://www.cipherdyne.org/fwknop/" +SRC_URI=" + https://www.cipherdyne.org/fwknop/download/${P}.tar.bz2 + verify-sig? ( https://www.cipherdyne.org/fwknop/download/${P}.tar.bz2.asc ) + " + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+client extras firewalld gdbm gpg +iptables nfqueue +server static-libs udp-server" + +DEPEND=" + client? ( net-misc/wget[ssl] ) + firewalld? ( net-firewall/firewalld ) + gdbm? ( sys-libs/gdbm ) + gpg? ( + app-crypt/gpgme:= + dev-libs/libassuan:= + dev-libs/libgpg-error + ) + iptables? ( net-firewall/iptables ) + nfqueue? ( net-libs/libnetfilter_queue ) + server? ( !nfqueue? ( !udp-server? ( net-libs/libpcap ) ) ) + verify-sig? ( sec-keys/openpgp-keys-fwknop ) +" +RDEPEND="${DEPEND}" + +REQUIRED_USE=" + nfqueue? ( server ) + server? ( ^^ ( firewalld iptables ) ) + udp-server? ( server ) +" + +##PATCHES=( "${FILESDIR}/${PN}-2.6.10_fno-common_fix.patch" ) + +DOCS=( AUTHORS ChangeLog README ) + +DISABLE_AUTOFORMATTING=1 +DOC_CONTENTS=" +Example configuration files were installed to '${EPREFIX}/etc/fwknopd/'. +Please edit them to suit your needs and then remove the .example suffix. + +fwknopd supports several backends: firewalld, iptables, ipfw, pf, ipf. +You can set the desired backend via FIREWALL_EXE option in fwknopd.conf +instead of the default one chosen at compile time. +" + +pkg_setup() { + linux-info_pkg_setup +} + +src_prepare() { + default_src_prepare + + # Install example configs with .example suffix. + if use server; then + sed -i -e 's|conf;|conf.example;|g' Makefile.am || die + fi + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --localstatedir="${EPREFIX}/run" + $(use_enable client) + $(use_enable !gdbm file-cache) + $(use_enable nfqueue nfq-capture) + $(use_enable server) + $(use_enable udp-server) + $(use_with gpg gpgme) + ) + use firewalld && myeconfargs+=(--with-firewalld="${EPREFIX}/usr/sbin/firewalld") + use iptables && myeconfargs+=(--with-iptables="${EPREFIX}/sbin/iptables") + + econf "${myeconfargs[@]}" +} + +src_install() { + default_src_install + + if use extras; then + dodoc extras/apparmor/usr.sbin.fwknopd + dodoc extras/console-qr/console-qr.sh + dodoc extras/fwknop-launcher/* + fi + + if use server; then + newinitd "${FILESDIR}/fwknopd.init" fwknopd + newconfd "${FILESDIR}/fwknopd.confd" fwknopd + systemd_dounit extras/systemd/fwknopd.service + newtmpfiles "${FILESDIR}/fwknopd.tmpfiles.conf" fwknopd.conf + readme.gentoo_create_doc + fi + + find "${ED}" -type f -name "*.la" -delete || die + + if ! use static-libs ; then + find "${ED}" -type f -name libfko.a -delete || die + fi +} + +pkg_postinst() { + if use server; then + readme.gentoo_print_elog + + tmpfiles_process fwknopd.conf + + if ! linux_config_exists || ! linux_chkconfig_present NETFILTER_XT_MATCH_COMMENT; then + echo + ewarn "fwknopd daemon relies on the 'comment' match in order to expire" + ewarn "created firewall rules, which is an important security feature." + ewarn "Please enable NETFILTER_XT_MATCH_COMMENT support in your kernel." + echo + fi + if use nfqueue && \ + ! linux_config_exists || ! linux_chkconfig_present NETFILTER_XT_TARGET_NFQUEUE; then + echo + ewarn "fwknopd daemon relies on the 'NFQUEUE' target for NFQUEUE mode." + ewarn "Please enable NETFILTER_XT_TARGET_NFQUEUE support in your kernel." + echo + fi + fi +} diff --git a/net-firewall/fwknop/fwknop-2.6.11.ebuild b/net-firewall/fwknop/fwknop-2.6.11.ebuild deleted file mode 100644 index 2ae43d31f5f7..000000000000 --- a/net-firewall/fwknop/fwknop-2.6.11.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/fwknop.gpg -inherit autotools linux-info readme.gentoo-r1 systemd tmpfiles verify-sig - -DESCRIPTION="Single Packet Authorization and Port Knocking application" -HOMEPAGE="https://www.cipherdyne.org/fwknop/" -SRC_URI=" - https://www.cipherdyne.org/fwknop/download/${P}.tar.bz2 - verify-sig? ( https://www.cipherdyne.org/fwknop/download/${P}.tar.bz2.asc ) - " - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+client extras firewalld gdbm gpg +iptables nfqueue +server static-libs udp-server" - -DEPEND=" - client? ( net-misc/wget[ssl] ) - firewalld? ( net-firewall/firewalld ) - gdbm? ( sys-libs/gdbm ) - gpg? ( - app-crypt/gpgme:= - dev-libs/libassuan - dev-libs/libgpg-error - ) - iptables? ( net-firewall/iptables ) - nfqueue? ( net-libs/libnetfilter_queue ) - server? ( !nfqueue? ( !udp-server? ( net-libs/libpcap ) ) ) - verify-sig? ( sec-keys/openpgp-keys-fwknop ) -" -RDEPEND="${DEPEND}" - -REQUIRED_USE=" - nfqueue? ( server ) - server? ( ^^ ( firewalld iptables ) ) - udp-server? ( server ) -" - -##PATCHES=( "${FILESDIR}/${PN}-2.6.10_fno-common_fix.patch" ) - -DOCS=( AUTHORS ChangeLog README ) - -DISABLE_AUTOFORMATTING=1 -DOC_CONTENTS=" -Example configuration files were installed to '${EPREFIX}/etc/fwknopd/'. -Please edit them to suit your needs and then remove the .example suffix. - -fwknopd supports several backends: firewalld, iptables, ipfw, pf, ipf. -You can set the desired backend via FIREWALL_EXE option in fwknopd.conf -instead of the default one chosen at compile time. -" - -pkg_setup() { - linux-info_pkg_setup -} - -src_prepare() { - default_src_prepare - - # Install example configs with .example suffix. - if use server; then - sed -i -e 's|conf;|conf.example;|g' Makefile.am || die - fi - - eautoreconf -} - -src_configure() { - local myeconfargs=( - --localstatedir="${EPREFIX}/run" - $(use_enable client) - $(use_enable !gdbm file-cache) - $(use_enable nfqueue nfq-capture) - $(use_enable server) - $(use_enable udp-server) - $(use_with gpg gpgme) - ) - use firewalld && myeconfargs+=(--with-firewalld="${EPREFIX}/usr/sbin/firewalld") - use iptables && myeconfargs+=(--with-iptables="${EPREFIX}/sbin/iptables") - - econf "${myeconfargs[@]}" -} - -src_install() { - default_src_install - - if use extras; then - dodoc extras/apparmor/usr.sbin.fwknopd - dodoc extras/console-qr/console-qr.sh - dodoc extras/fwknop-launcher/* - fi - - if use server; then - newinitd "${FILESDIR}/fwknopd.init" fwknopd - newconfd "${FILESDIR}/fwknopd.confd" fwknopd - systemd_dounit extras/systemd/fwknopd.service - newtmpfiles "${FILESDIR}/fwknopd.tmpfiles.conf" fwknopd.conf - readme.gentoo_create_doc - fi - - find "${ED}" -type f -name "*.la" -delete || die - - if ! use static-libs ; then - find "${ED}" -type f -name libfko.a -delete || die - fi -} - -pkg_postinst() { - if use server; then - readme.gentoo_print_elog - - tmpfiles_process fwknopd.conf - - if ! linux_config_exists || ! linux_chkconfig_present NETFILTER_XT_MATCH_COMMENT; then - echo - ewarn "fwknopd daemon relies on the 'comment' match in order to expire" - ewarn "created firewall rules, which is an important security feature." - ewarn "Please enable NETFILTER_XT_MATCH_COMMENT support in your kernel." - echo - fi - if use nfqueue && \ - ! linux_config_exists || ! linux_chkconfig_present NETFILTER_XT_TARGET_NFQUEUE; then - echo - ewarn "fwknopd daemon relies on the 'NFQUEUE' target for NFQUEUE mode." - ewarn "Please enable NETFILTER_XT_TARGET_NFQUEUE support in your kernel." - echo - fi - fi -} -- cgit v1.2.3