summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-06-06 04:22:34 +0000
committerMike Frysinger <vapier@gentoo.org>2005-06-06 04:22:34 +0000
commit997d33a632e318d15221c08cf5d9eb23ee5491fe (patch)
tree399fd1a34069404e627c3f68e545db7d7fd2d31b /net-firewall/ipchains/files
parentRevert a stray commit (diff)
downloadhistorical-997d33a632e318d15221c08cf5d9eb23ee5491fe.tar.gz
historical-997d33a632e318d15221c08cf5d9eb23ee5491fe.tar.bz2
historical-997d33a632e318d15221c08cf5d9eb23ee5491fe.zip
Add some patches from Fedora and a gcc-3.4 fix by Felix Braun #95149.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'net-firewall/ipchains/files')
-rw-r--r--net-firewall/ipchains/files/ipchains-1.3.10-fixman.patch13
-rw-r--r--net-firewall/ipchains/files/ipchains-1.3.10-gcc34.patch11
-rw-r--r--net-firewall/ipchains/files/ipchains-1.3.10-nonroot.patch16
3 files changed, 40 insertions, 0 deletions
diff --git a/net-firewall/ipchains/files/ipchains-1.3.10-fixman.patch b/net-firewall/ipchains/files/ipchains-1.3.10-fixman.patch
new file mode 100644
index 000000000000..59f52529bf24
--- /dev/null
+++ b/net-firewall/ipchains/files/ipchains-1.3.10-fixman.patch
@@ -0,0 +1,13 @@
+From Fedora
+--- ipchains-1.3.10/ipchains.8
++++ ipchains-1.3.10/ipchains.8
+@@ -70,7 +70,8 @@
+ .I DENY
+ and
+ .I REJECT
+-are the same for ICMP packets.)
++are the same for ICMP packets). [Note: this is incorrect; setting ICMP to
++REJECT will cause ICMP port unreachables to be sent!]
+ .sp 0.5
+ .I MASQ
+ is only legal for the forward and user defined chains, and can only be
diff --git a/net-firewall/ipchains/files/ipchains-1.3.10-gcc34.patch b/net-firewall/ipchains/files/ipchains-1.3.10-gcc34.patch
new file mode 100644
index 000000000000..af554dacb71a
--- /dev/null
+++ b/net-firewall/ipchains/files/ipchains-1.3.10-gcc34.patch
@@ -0,0 +1,11 @@
+Fix building with gcc-3.4 #95149
+--- libipfwc/libipfwc.c
++++ libipfwc/libipfwc.c
+@@ -501,6 +501,7 @@
+ " transparent proxying?)");
+ break;
+ default:
++ break;
+ }
+ return message;
+ }
diff --git a/net-firewall/ipchains/files/ipchains-1.3.10-nonroot.patch b/net-firewall/ipchains/files/ipchains-1.3.10-nonroot.patch
new file mode 100644
index 000000000000..ba8d24340daf
--- /dev/null
+++ b/net-firewall/ipchains/files/ipchains-1.3.10-nonroot.patch
@@ -0,0 +1,16 @@
+From Fedora
+--- ipchains-1.3.10/Makefile
++++ ipchains-1.3.10/Makefile
+@@ -41,9 +41,9 @@
+ [ -d $(PREFIX)/$(MANDIR)/man4 ] || mkdir -p $(PREFIX)/$(MANDIR)/man4
+ [ -d $(PREFIX)/$(MANDIR)/man8 ] || mkdir -p $(PREFIX)/$(MANDIR)/man8
+ @-mv $(PREFIX)/$(SBIN)/ipchains $(PREFIX)/$(SBIN)/ipchains.old
+- $(INSTALL) -m 0755 -o root -g root ipchains $(PREFIX)/$(SBIN)/
+- $(INSTALL) -m 0644 -o root -g root ipfw.4 $(PREFIX)/$(MANDIR)/man4/
+- $(INSTALL) -m 0644 -o root -g root ipchains.8 $(PREFIX)/$(MANDIR)/man8/
++ $(INSTALL) -m 0755 ipchains $(PREFIX)/$(SBIN)/
++ $(INSTALL) -m 0644 ipfw.4 $(PREFIX)/$(MANDIR)/man4/
++ $(INSTALL) -m 0644 ipchains.8 $(PREFIX)/$(MANDIR)/man8/
+
+ uninstall:
+ -rm -f $(PREFIX)/$(SBIN)/ipchains $(PREFIX)/$(MANDIR)/man4/ipfw.4 $(PREFIX)/$(MANDIR)/man8/ipchains.8