[gentoo-commits] repo/gentoo:master commit in: net-firewall/sanewall/, net-firewall/sanewall/files/, profiles/

2024-02-02 Thread Michał Górny
commit: 24b5e2e7ab8751c06358000ecf04743099669e26
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb  2 16:35:50 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Feb  2 16:38:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24b5e2e7

net-firewall/sanewall: Remove last-rited pkg

Closes: https://bugs.gentoo.org/920659
Signed-off-by: Michał Górny  gentoo.org>

 net-firewall/sanewall/Manifest |  1 -
 net-firewall/sanewall/files/sanewall.confd |  5 ---
 net-firewall/sanewall/files/sanewall.initd | 56 --
 net-firewall/sanewall/metadata.xml |  5 ---
 net-firewall/sanewall/sanewall-1.1.6-r4.ebuild | 55 -
 profiles/package.mask  |  6 ---
 6 files changed, 128 deletions(-)

diff --git a/net-firewall/sanewall/Manifest b/net-firewall/sanewall/Manifest
deleted file mode 100644
index 2232b76cd91c..
--- a/net-firewall/sanewall/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST sanewall-1.1.6.tar.xz 585316 BLAKE2B 
027454da387d251af8268e38a97a7a1c7ee82a95429059ecdae23453a7c31676c5afb0b0f9bbdc4ed60f879479070fb8a057b3a5914290d768736abd1f46cadd
 SHA512 
73260197b88816e90b15fc244a5940c290ec99c82eb8e50338b4f0f88710900c8cd18920c6f319205e527859c0696da28798428ab04b03c7f355c1d8ba6f7ca0

diff --git a/net-firewall/sanewall/files/sanewall.confd 
b/net-firewall/sanewall/files/sanewall.confd
deleted file mode 100644
index 2193b04d49bf..
--- a/net-firewall/sanewall/files/sanewall.confd
+++ /dev/null
@@ -1,5 +0,0 @@
-# location of sanewall config
-SANEWALL_CONFIG="/etc/sanewall/sanewall.conf"
-
-# arguments for sanewall
-#SANEWALL_OPTS=""

diff --git a/net-firewall/sanewall/files/sanewall.initd 
b/net-firewall/sanewall/files/sanewall.initd
deleted file mode 100644
index c13d2df106ad..
--- a/net-firewall/sanewall/files/sanewall.initd
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-extra_commands="save panic try"
-extra_started_commands="reload"
-
-depend() {
-   need localmount
-   after bootmisc
-   before net
-   provide firewall
-}
-
-start_pre() {
-   if [ ! -f ${SANEWALL_CONFIG} ]; then
-   eerror "Not starting sanewall, missing config file 
${SANEWALL_CONFIG}."
-   return 1
-   fi
-}
-
-start() {
-   ebegin "Starting sanewall"
-   /usr/sbin/sanewall ${SANEWALL_OPTS} ${SANEWALL_CONFIG} start >/dev/null
-   eend $?
-}
-
-stop() {
-   ebegin "Stopping sanewall"
-   /usr/sbin/sanewall ${SANEWALL_OPTS} stop >/dev/null
-   eend $?
-}
-
-try() {
-   ebegin "Trying sanewall configuration"
-   /usr/sbin/sanewall ${SANEWALL_OPTS} ${SANEWALL_CONFIG} try
-   eend $?
-}
-
-status() {
-   ebegin "Showing sanewall status"
-   /usr/sbin/sanewall ${SANEWALL_OPTS} status
-   eend $?
-}
-
-panic() {
-   ebegin "sanewall panic"
-   /usr/sbin/sanewall ${SANEWALL_OPTS} panic
-   eend $?
-}
-
-save() {
-   ebegin "Saving sanewall configuration"
-   /usr/sbin/sanewall ${SANEWALL_OPTS} save
-   eend $?
-}

diff --git a/net-firewall/sanewall/metadata.xml 
b/net-firewall/sanewall/metadata.xml
deleted file mode 100644
index 85e4ed814fa2..
--- a/net-firewall/sanewall/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-https://www.gentoo.org/dtd/metadata.dtd;>
-
-
-

diff --git a/net-firewall/sanewall/sanewall-1.1.6-r4.ebuild 
b/net-firewall/sanewall/sanewall-1.1.6-r4.ebuild
deleted file mode 100644
index 3381cbed5e8b..
--- a/net-firewall/sanewall/sanewall-1.1.6-r4.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit linux-info
-
-DESCRIPTION="iptables firewall generator (fork of firehol)"
-HOMEPAGE="https://www.sanewall.org;
-SRC_URI="https://download.sanewall.org/releases/${PV}/${P}.tar.xz;
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-   net-firewall/iptables[ipv6(+)]
-   sys-apps/iproute2[-minimal]
-   sys-apps/kmod[tools]
-   sys-apps/net-tools
-   || (
-   net-misc/wget
-   net-misc/curl
-   )
-"
-DEPEND=""
-
-pkg_setup() {
-   local KCONFIG_OPTS="~NF_CONNTRACK_IPV4 ~NF_CONNTRACK_MARK ~NF_NAT 
~NF_NAT_FTP ~NF_NAT_IRC \
-   ~IP_NF_IPTABLES ~IP_NF_FILTER ~IP_NF_TARGET_REJECT 
~IP_NF_TARGET_LOG ~IP_NF_TARGET_ULOG \
-   ~IP_NF_TARGET_MASQUERADE ~IP_NF_TARGET_REDIRECT ~IP_NF_MANGLE \
-   ~NETFILTER_XT_MATCH_LIMIT ~NETFILTER_XT_MATCH_STATE 
~NETFILTER_XT_MATCH_OWNER"
-
-   get_version
-   if [[ ${KV_PATCH} -ge 25 ]] ; then
-   CONFIG_CHECK="~NF_CONNTRACK ${KCONFIG_OPTS}"
-   else
-   CONFIG_CHECK="~NF_CONNTRACK_ENABLED ${KCONFIG_OPTS}"
-   fi
-   

[gentoo-commits] repo/gentoo:master commit in: net-firewall/sanewall/

2022-02-17 Thread Sam James
commit: 52dcc2846fad9b8682f303893e92b23e6d20333c
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 12 16:11:48 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 18 02:40:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52dcc284

net-firewall/sanewall: Use (+) for ipv6 flag deps

At this point, it is reasonable to assume that packages will be enabling
IPv6 unconditionally rather than dropping it altogether.  Update the USE
dependencies to (+) to account for that, in preparation for removal
of the flag in iproute2 and iputils.

Signed-off-by: Michał Górny  gentoo.org>
Signed-off-by: Sam James  gentoo.org>

 .../sanewall/{sanewall-1.1.6-r3.ebuild => sanewall-1.1.6-r4.ebuild}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-firewall/sanewall/sanewall-1.1.6-r3.ebuild 
b/net-firewall/sanewall/sanewall-1.1.6-r4.ebuild
similarity index 95%
rename from net-firewall/sanewall/sanewall-1.1.6-r3.ebuild
rename to net-firewall/sanewall/sanewall-1.1.6-r4.ebuild
index 0fe04aa29826..3381cbed5e8b 100644
--- a/net-firewall/sanewall/sanewall-1.1.6-r3.ebuild
+++ b/net-firewall/sanewall/sanewall-1.1.6-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
 RDEPEND="
-   net-firewall/iptables[ipv6]
+   net-firewall/iptables[ipv6(+)]
sys-apps/iproute2[-minimal]
sys-apps/kmod[tools]
sys-apps/net-tools



[gentoo-commits] repo/gentoo:master commit in: net-firewall/sanewall/

2020-08-08 Thread Mikle Kolyada
commit: c62a1ebc509c9a945bb18242c4a9deea7a1e9978
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Aug  8 14:20:50 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Aug  8 14:20:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c62a1ebc

net-firewall/sanewall: migrate to sys-apps/kmod

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Mikle Kolyada  gentoo.org>

 .../sanewall/{sanewall-1.1.6-r2.ebuild => sanewall-1.1.6-r3.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-firewall/sanewall/sanewall-1.1.6-r2.ebuild 
b/net-firewall/sanewall/sanewall-1.1.6-r3.ebuild
similarity index 98%
rename from net-firewall/sanewall/sanewall-1.1.6-r2.ebuild
rename to net-firewall/sanewall/sanewall-1.1.6-r3.ebuild
index 61fc3947d9d..0fe04aa2982 100644
--- a/net-firewall/sanewall/sanewall-1.1.6-r2.ebuild
+++ b/net-firewall/sanewall/sanewall-1.1.6-r3.ebuild
@@ -16,8 +16,8 @@ KEYWORDS="~amd64 ~x86"
 RDEPEND="
net-firewall/iptables[ipv6]
sys-apps/iproute2[-minimal]
+   sys-apps/kmod[tools]
sys-apps/net-tools
-   virtual/modutils
|| (
net-misc/wget
net-misc/curl



[gentoo-commits] repo/gentoo:master commit in: net-firewall/sanewall/

2018-06-20 Thread Pacho Ramos
commit: d470885430d84440f323dabe6e083a0e1a6e0653
Author: Pacho Ramos  gentoo  org>
AuthorDate: Wed Jun 20 17:18:39 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Wed Jun 20 17:39:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4708854

net-firewall/sanewall: net-tools needed (#621534 by toralf)

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-firewall/sanewall/sanewall-1.1.6-r2.ebuild | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/net-firewall/sanewall/sanewall-1.1.6-r2.ebuild 
b/net-firewall/sanewall/sanewall-1.1.6-r2.ebuild
index b70dac95844..5c45521aa61 100644
--- a/net-firewall/sanewall/sanewall-1.1.6-r2.ebuild
+++ b/net-firewall/sanewall/sanewall-1.1.6-r2.ebuild
@@ -13,14 +13,17 @@ LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-DEPEND="app-arch/xz-utils"
-RDEPEND="net-firewall/iptables[ipv6]
+RDEPEND="
+   net-firewall/iptables[ipv6]
sys-apps/iproute2[-minimal]
+   sys-apps/net-tools
virtual/modutils
|| (
net-misc/wget
net-misc/curl
-   )"
+   )
+"
+DEPEND=""
 
 pkg_setup() {
local KCONFIG_OPTS="~NF_CONNTRACK_IPV4 ~NF_CONNTRACK_MARK ~NF_NAT 
~NF_NAT_FTP ~NF_NAT_IRC \



[gentoo-commits] repo/gentoo:master commit in: net-firewall/sanewall/

2018-05-20 Thread Aaron Bauman
commit: 2309189157e4dccd2118a6dbd5304ba17b306551
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun May 20 11:59:50 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun May 20 23:24:55 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23091891

net-firewall/sanewall: use HTTPS

 net-firewall/sanewall/sanewall-1.1.6-r2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-firewall/sanewall/sanewall-1.1.6-r2.ebuild 
b/net-firewall/sanewall/sanewall-1.1.6-r2.ebuild
index c9997782098..b70dac95844 100644
--- a/net-firewall/sanewall/sanewall-1.1.6-r2.ebuild
+++ b/net-firewall/sanewall/sanewall-1.1.6-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -6,8 +6,8 @@ EAPI=6
 inherit linux-info
 
 DESCRIPTION="iptables firewall generator (fork of firehol)"
-HOMEPAGE="http://www.sanewall.org/;
-SRC_URI="http://download.sanewall.org/releases/${PV}/${P}.tar.xz;
+HOMEPAGE="https://www.sanewall.org;
+SRC_URI="https://download.sanewall.org/releases/${PV}/${P}.tar.xz;
 
 LICENSE="GPL-2+"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: net-firewall/sanewall/files/, net-firewall/sanewall/

2016-04-28 Thread Austin English
commit: 8ca2d3e8a5e1196cc8a6cb0ba027ef5f3bda4838
Author: Austin English  gentoo  org>
AuthorDate: Thu Apr 28 23:40:47 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Thu Apr 28 23:42:14 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ca2d3e8

net-firewall/sanewall: use #!/sbin/openrc-run instead of #!/sbin/runscript

Gentoo-Bug: https://bugs.gentoo.org/573846

Package-Manager: portage-2.2.26

 net-firewall/sanewall/files/sanewall.initd |  4 +-
 net-firewall/sanewall/sanewall-1.1.6-r2.ebuild | 57 ++
 2 files changed, 59 insertions(+), 2 deletions(-)

diff --git a/net-firewall/sanewall/files/sanewall.initd 
b/net-firewall/sanewall/files/sanewall.initd
index 665d386..3d8c2a4 100644
--- a/net-firewall/sanewall/files/sanewall.initd
+++ b/net-firewall/sanewall/files/sanewall.initd
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2014 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 

diff --git a/net-firewall/sanewall/sanewall-1.1.6-r2.ebuild 
b/net-firewall/sanewall/sanewall-1.1.6-r2.ebuild
new file mode 100644
index 000..c1f5b5d
--- /dev/null
+++ b/net-firewall/sanewall/sanewall-1.1.6-r2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit linux-info
+
+DESCRIPTION="iptables firewall generator (fork of firehol)"
+HOMEPAGE="http://www.sanewall.org/;
+SRC_URI="http://download.sanewall.org/releases/${PV}/${P}.tar.xz;
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="app-arch/xz-utils"
+RDEPEND="net-firewall/iptables[ipv6]
+   sys-apps/iproute2[-minimal]
+   virtual/modutils
+   || (
+   net-misc/wget
+   net-misc/curl
+   )"
+
+pkg_setup() {
+   local KCONFIG_OPTS="~NF_CONNTRACK_IPV4 ~NF_CONNTRACK_MARK ~NF_NAT 
~NF_NAT_FTP ~NF_NAT_IRC \
+   ~IP_NF_IPTABLES ~IP_NF_FILTER ~IP_NF_TARGET_REJECT 
~IP_NF_TARGET_LOG ~IP_NF_TARGET_ULOG \
+   ~IP_NF_TARGET_MASQUERADE ~IP_NF_TARGET_REDIRECT ~IP_NF_MANGLE \
+   ~NETFILTER_XT_MATCH_LIMIT ~NETFILTER_XT_MATCH_STATE 
~NETFILTER_XT_MATCH_OWNER"
+
+   get_version
+   if [[ ${KV_PATCH} -ge 25 ]] ; then
+   CONFIG_CHECK="~NF_CONNTRACK ${KCONFIG_OPTS}"
+   else
+   CONFIG_CHECK="~NF_CONNTRACK_ENABLED ${KCONFIG_OPTS}"
+   fi
+   linux-info_pkg_setup
+}
+
+src_configure() {
+   econf --docdir="/usr/share/doc/${PF}"
+}
+
+src_install() {
+   default
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+}
+
+pkg_postinst() {
+   # install default configuration if it doesn't exist
+   if [[ ! -e "${ROOT}"/etc/${PN}/${PN}.conf ]] ; then
+   einfo "Installing a sample configuration to 
${ROOT}/etc/${PN}/${PN}.conf"
+   cp "${ROOT}"/etc/${PN}/${PN}.conf.example 
"${ROOT}"/etc/${PN}/${PN}.conf || die
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-firewall/sanewall/

2016-04-28 Thread Austin English
commit: 8c518f84bc1ed8bb944e10e072d5cd092be8819e
Author: Austin English  gentoo  org>
AuthorDate: Thu Apr 28 23:42:43 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Thu Apr 28 23:42:48 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c518f84

net-firewall/sanewall: remove sanewall-1.1.6-r1

Package-Manager: portage-2.2.26

 net-firewall/sanewall/sanewall-1.1.6-r1.ebuild | 57 --
 1 file changed, 57 deletions(-)

diff --git a/net-firewall/sanewall/sanewall-1.1.6-r1.ebuild 
b/net-firewall/sanewall/sanewall-1.1.6-r1.ebuild
deleted file mode 100644
index 93ebfa5..000
--- a/net-firewall/sanewall/sanewall-1.1.6-r1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit linux-info
-
-DESCRIPTION="iptables firewall generator (fork of firehol)"
-HOMEPAGE="http://www.sanewall.org/;
-SRC_URI="http://download.sanewall.org/releases/${PV}/${P}.tar.xz;
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND="app-arch/xz-utils"
-RDEPEND="net-firewall/iptables[ipv6]
-   sys-apps/iproute2[-minimal]
-   virtual/modutils
-   || (
-   net-misc/wget
-   net-misc/curl
-   )"
-
-pkg_setup() {
-   local KCONFIG_OPTS="~NF_CONNTRACK_IPV4 ~NF_CONNTRACK_MARK ~NF_NAT 
~NF_NAT_FTP ~NF_NAT_IRC \
-   ~IP_NF_IPTABLES ~IP_NF_FILTER ~IP_NF_TARGET_REJECT 
~IP_NF_TARGET_LOG ~IP_NF_TARGET_ULOG \
-   ~IP_NF_TARGET_MASQUERADE ~IP_NF_TARGET_REDIRECT ~IP_NF_MANGLE \
-   ~NETFILTER_XT_MATCH_LIMIT ~NETFILTER_XT_MATCH_STATE 
~NETFILTER_XT_MATCH_OWNER"
-
-   get_version
-   if [[ ${KV_PATCH} -ge 25 ]] ; then
-   CONFIG_CHECK="~NF_CONNTRACK ${KCONFIG_OPTS}"
-   else
-   CONFIG_CHECK="~NF_CONNTRACK_ENABLED ${KCONFIG_OPTS}"
-   fi
-   linux-info_pkg_setup
-}
-
-src_configure() {
-   econf --docdir="/usr/share/doc/${PF}"
-}
-
-src_install() {
-   default
-   newconfd "${FILESDIR}"/${PN}.confd ${PN}
-   newinitd "${FILESDIR}"/${PN}.initd ${PN}
-}
-
-pkg_postinst() {
-   # install default configuration if it doesn't exist
-   if [[ ! -e "${ROOT}"/etc/${PN}/${PN}.conf ]] ; then
-   einfo "Installing a sample configuration to 
${ROOT}/etc/${PN}/${PN}.conf"
-   cp "${ROOT}"/etc/${PN}/${PN}.conf.example 
"${ROOT}"/etc/${PN}/${PN}.conf || die
-   fi
-}