public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/firehol/, net-firewall/firehol/files/
@ 2015-11-14 19:12 Alon Bar-Lev
  0 siblings, 0 replies; 2+ messages in thread
From: Alon Bar-Lev @ 2015-11-14 19:12 UTC (permalink / raw
  To: gentoo-commits

commit:     270e6c83301d3be2e89d95c2fcc390b9344a5d7f
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 14 19:11:49 2015 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sat Nov 14 19:11:49 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=270e6c83

net-firewall/firehol: cleanup

Package-Manager: portage-2.2.20.1

 net-firewall/firehol/files/RESERVED_IPS            | 19 -------
 .../files/firehol-1.273-CVE-2008-4953.patch        | 58 ----------------------
 .../firehol/files/firehol-1.273-log-output.patch   | 11 ----
 .../files/{firehol.initrd.1 => firehol.initrd}     |  0
 net-firewall/firehol/firehol-2.0.3-r1.ebuild       |  2 +-
 5 files changed, 1 insertion(+), 89 deletions(-)

diff --git a/net-firewall/firehol/files/RESERVED_IPS b/net-firewall/firehol/files/RESERVED_IPS
deleted file mode 100644
index 2cfd261..0000000
--- a/net-firewall/firehol/files/RESERVED_IPS
+++ /dev/null
@@ -1,19 +0,0 @@
-0.0.0.0/8
-10.0.0.0/8
-127.0.0.0/8
-240.0.0.0/8
-241.0.0.0/8
-242.0.0.0/8
-243.0.0.0/8
-244.0.0.0/8
-245.0.0.0/8
-246.0.0.0/8
-247.0.0.0/8
-248.0.0.0/8
-249.0.0.0/8
-250.0.0.0/8
-251.0.0.0/8
-252.0.0.0/8
-253.0.0.0/8
-254.0.0.0/8
-255.0.0.0/8

diff --git a/net-firewall/firehol/files/firehol-1.273-CVE-2008-4953.patch b/net-firewall/firehol/files/firehol-1.273-CVE-2008-4953.patch
deleted file mode 100644
index 99a958a..0000000
--- a/net-firewall/firehol/files/firehol-1.273-CVE-2008-4953.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-From 545db8cd292957158bf3fa1c1c370e4be83c6688 Mon Sep 17 00:00:00 2001
-From: Robert Buchholz <rbu@goodpoint.de>
-Date: Tue, 6 Jan 2009 23:26:00 +0100
-Subject: [PATCH] Use mktemp instead of relying that $$-$RANDOM-$RANDOM does not exist.
-
-References:
-* CVE-2008-4953
-* https://bugs.gentoo.org/246013
----
- firehol.sh |   25 +++++++++----------------
- 1 files changed, 9 insertions(+), 16 deletions(-)
-
-diff --git a/firehol.sh b/firehol.sh
-index 6acb497..f5dba16 100755
---- a/firehol.sh
-+++ b/firehol.sh
-@@ -238,8 +238,15 @@ ${IPTABLES_CMD} -nxvL >/dev/null 2>&1
- # ----------------------------------------------------------------------
- # Directories and files
- 
--# These files will be created and deleted during our run.
--FIREHOL_DIR="/tmp/.firehol-tmp-$$-${RANDOM}-${RANDOM}"
-+# Create an empty temporary directory we need for this run.
-+if ! FIREHOL_DIR="`mktemp -d -t .firehol-tmp-XXXXXX`"
-+then
-+            echo >&2
-+            echo >&2
-+            echo >&2 "Cannot create temporary directory."
-+            echo >&2
-+            exit 1
-+fi
- FIREHOL_CHAINS_DIR="${FIREHOL_DIR}/chains"
- FIREHOL_OUTPUT="${FIREHOL_DIR}/firehol-out.sh"
- FIREHOL_SAVED="${FIREHOL_DIR}/firehol-save.sh"
-@@ -329,20 +336,6 @@ then
- 	"${CHMOD_CMD}" 700 "${FIREHOL_CONFIG_DIR}/services"
- fi
- 
--# Remove any old directories that might be there.
--if [ -d "${FIREHOL_DIR}" ]
--then
--	"${RM_CMD}" -rf "${FIREHOL_DIR}"
--	if [ $? -ne 0 -o -e "${FIREHOL_DIR}" ]
--	then
--		echo >&2
--		echo >&2
--		echo >&2 "Cannot clean temporary directory '${FIREHOL_DIR}'."
--		echo >&2
--		exit 1
--	fi
--fi
--"${MKDIR_CMD}" "${FIREHOL_DIR}"				|| exit 1
- "${MKDIR_CMD}" "${FIREHOL_CHAINS_DIR}"			|| exit 1
- 
- # prepare the file that will hold all modules to be loaded.
--- 
-1.6.0.4
-

diff --git a/net-firewall/firehol/files/firehol-1.273-log-output.patch b/net-firewall/firehol/files/firehol-1.273-log-output.patch
deleted file mode 100644
index 66f0fd4..0000000
--- a/net-firewall/firehol/files/firehol-1.273-log-output.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- firehol.sh-old	2010-08-11 09:01:29.000000000 -0600
-+++ firehol.sh	2010-08-12 09:22:07.000000000 -0600
-@@ -5212,7 +5212,7 @@
- 	printf >&2 "\n"
- 	echo >&2 "OUTPUT  : "
- 	echo >&2
--	${CAT_CMD} ${FIREHOL_OUTPUT}.log
-+	${CAT_CMD} ${FIREHOL_OUTPUT}.log >&2
- 	echo >&2
- 	
- 	return 0

diff --git a/net-firewall/firehol/files/firehol.initrd.1 b/net-firewall/firehol/files/firehol.initrd
similarity index 100%
rename from net-firewall/firehol/files/firehol.initrd.1
rename to net-firewall/firehol/files/firehol.initrd

diff --git a/net-firewall/firehol/firehol-2.0.3-r1.ebuild b/net-firewall/firehol/firehol-2.0.3-r1.ebuild
index 0cb0c65..464cb40 100644
--- a/net-firewall/firehol/firehol-2.0.3-r1.ebuild
+++ b/net-firewall/firehol/firehol-2.0.3-r1.ebuild
@@ -56,7 +56,7 @@ src_install() {
 	default
 
 	newconfd "${FILESDIR}"/firehol.conf.d firehol
-	newinitd "${FILESDIR}"/firehol.initrd.1 firehol
+	newinitd "${FILESDIR}"/firehol.initrd firehol
 	newconfd "${FILESDIR}"/fireqos.conf.d fireqos
 	newinitd "${FILESDIR}"/fireqos.initrd fireqos
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-firewall/firehol/, net-firewall/firehol/files/
@ 2018-12-31 22:10 Alon Bar-Lev
  0 siblings, 0 replies; 2+ messages in thread
From: Alon Bar-Lev @ 2018-12-31 22:10 UTC (permalink / raw
  To: gentoo-commits

commit:     6dd45ced78a8a3cd07885af21def407ab54d19f7
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 31 22:07:49 2018 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Mon Dec 31 22:08:56 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dd45ced

net-firewall/firehol: rename initd/confd files

Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 net-firewall/firehol/files/{firehol.conf.d => firehol.confd} |  0
 net-firewall/firehol/files/{firehol.initrd => firehol.initd} |  2 +-
 net-firewall/firehol/files/{fireqos.conf.d => fireqos.confd} |  0
 net-firewall/firehol/files/{fireqos.initrd => fireqos.initd} |  2 +-
 net-firewall/firehol/firehol-3.1.3-r1.ebuild                 | 10 +++++-----
 net-firewall/firehol/firehol-3.1.3.ebuild                    | 10 +++++-----
 net-firewall/firehol/firehol-3.1.4.ebuild                    |  8 ++++----
 net-firewall/firehol/firehol-3.1.6.ebuild                    |  8 ++++----
 8 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/net-firewall/firehol/files/firehol.conf.d b/net-firewall/firehol/files/firehol.confd
similarity index 100%
rename from net-firewall/firehol/files/firehol.conf.d
rename to net-firewall/firehol/files/firehol.confd

diff --git a/net-firewall/firehol/files/firehol.initrd b/net-firewall/firehol/files/firehol.initd
similarity index 96%
rename from net-firewall/firehol/files/firehol.initrd
rename to net-firewall/firehol/files/firehol.initd
index 05fc3a2f11c..719f336c46f 100644
--- a/net-firewall/firehol/files/firehol.initrd
+++ b/net-firewall/firehol/files/firehol.initd
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 extra_commands="save panic try"

diff --git a/net-firewall/firehol/files/fireqos.conf.d b/net-firewall/firehol/files/fireqos.confd
similarity index 100%
rename from net-firewall/firehol/files/fireqos.conf.d
rename to net-firewall/firehol/files/fireqos.confd

diff --git a/net-firewall/firehol/files/fireqos.initrd b/net-firewall/firehol/files/fireqos.initd
similarity index 95%
rename from net-firewall/firehol/files/fireqos.initrd
rename to net-firewall/firehol/files/fireqos.initd
index 628cc9d3c4a..de94ce9840e 100644
--- a/net-firewall/firehol/files/fireqos.initrd
+++ b/net-firewall/firehol/files/fireqos.initd
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 depend() {

diff --git a/net-firewall/firehol/firehol-3.1.3-r1.ebuild b/net-firewall/firehol/firehol-3.1.3-r1.ebuild
index 866cded9cb6..db92d61855d 100644
--- a/net-firewall/firehol/firehol-3.1.3-r1.ebuild
+++ b/net-firewall/firehol/firehol-3.1.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -57,8 +57,8 @@ src_configure() {
 src_install() {
 	default
 
-	newconfd "${FILESDIR}"/firehol.conf.d firehol
-	newinitd "${FILESDIR}"/firehol.initrd firehol
-	newconfd "${FILESDIR}"/fireqos.conf.d fireqos
-	newinitd "${FILESDIR}"/fireqos.initrd fireqos
+	newconfd "${FILESDIR}"/firehol.confd firehol
+	newinitd "${FILESDIR}"/firehol.initd firehol
+	newconfd "${FILESDIR}"/fireqos.confd fireqos
+	newinitd "${FILESDIR}"/fireqos.initd fireqos
 }

diff --git a/net-firewall/firehol/firehol-3.1.3.ebuild b/net-firewall/firehol/firehol-3.1.3.ebuild
index b153a88c319..11a79fd5b62 100644
--- a/net-firewall/firehol/firehol-3.1.3.ebuild
+++ b/net-firewall/firehol/firehol-3.1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -54,8 +54,8 @@ src_configure() {
 src_install() {
 	default
 
-	newconfd "${FILESDIR}"/firehol.conf.d firehol
-	newinitd "${FILESDIR}"/firehol.initrd firehol
-	newconfd "${FILESDIR}"/fireqos.conf.d fireqos
-	newinitd "${FILESDIR}"/fireqos.initrd fireqos
+	newconfd "${FILESDIR}"/firehol.confd firehol
+	newinitd "${FILESDIR}"/firehol.initd firehol
+	newconfd "${FILESDIR}"/fireqos.confd fireqos
+	newinitd "${FILESDIR}"/fireqos.initd fireqos
 }

diff --git a/net-firewall/firehol/firehol-3.1.4.ebuild b/net-firewall/firehol/firehol-3.1.4.ebuild
index 67745a1203c..d9c5fb2ca8d 100644
--- a/net-firewall/firehol/firehol-3.1.4.ebuild
+++ b/net-firewall/firehol/firehol-3.1.4.ebuild
@@ -57,8 +57,8 @@ src_configure() {
 src_install() {
 	default
 
-	newconfd "${FILESDIR}"/firehol.conf.d firehol
-	newinitd "${FILESDIR}"/firehol.initrd firehol
-	newconfd "${FILESDIR}"/fireqos.conf.d fireqos
-	newinitd "${FILESDIR}"/fireqos.initrd fireqos
+	newconfd "${FILESDIR}"/firehol.confd firehol
+	newinitd "${FILESDIR}"/firehol.initd firehol
+	newconfd "${FILESDIR}"/fireqos.confd fireqos
+	newinitd "${FILESDIR}"/fireqos.initd fireqos
 }

diff --git a/net-firewall/firehol/firehol-3.1.6.ebuild b/net-firewall/firehol/firehol-3.1.6.ebuild
index 626180343e1..8bddf14115b 100644
--- a/net-firewall/firehol/firehol-3.1.6.ebuild
+++ b/net-firewall/firehol/firehol-3.1.6.ebuild
@@ -60,8 +60,8 @@ src_configure() {
 src_install() {
 	default
 
-	newconfd "${FILESDIR}"/firehol.conf.d firehol
-	newinitd "${FILESDIR}"/firehol.initrd firehol
-	newconfd "${FILESDIR}"/fireqos.conf.d fireqos
-	newinitd "${FILESDIR}"/fireqos.initrd fireqos
+	newconfd "${FILESDIR}"/firehol.confd firehol
+	newinitd "${FILESDIR}"/firehol.initd firehol
+	newconfd "${FILESDIR}"/fireqos.confd fireqos
+	newinitd "${FILESDIR}"/fireqos.initd fireqos
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-12-31 22:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-31 22:10 [gentoo-commits] repo/gentoo:master commit in: net-firewall/firehol/, net-firewall/firehol/files/ Alon Bar-Lev
  -- strict thread matches above, loose matches on Subject: below --
2015-11-14 19:12 Alon Bar-Lev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox