summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Smith <smitdane@gmail.com>2010-07-16 21:45:06 -0400
committerDane Smith <smitdane@gmail.com>2010-07-16 21:45:06 -0400
commite3d40e6d354fbdd02123c17ae37750134877f29d (patch)
tree09d768bb16d241123eda9802445eb9c14c2bf716 /net-misc/iplist/files/iplist-makefile.patch
downloadsmithdanea-e3d40e6d354fbdd02123c17ae37750134877f29d.tar.gz
smithdanea-e3d40e6d354fbdd02123c17ae37750134877f29d.tar.bz2
smithdanea-e3d40e6d354fbdd02123c17ae37750134877f29d.zip
Intial commit for my public overlay.
All working projects.
Diffstat (limited to 'net-misc/iplist/files/iplist-makefile.patch')
-rw-r--r--net-misc/iplist/files/iplist-makefile.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/net-misc/iplist/files/iplist-makefile.patch b/net-misc/iplist/files/iplist-makefile.patch
new file mode 100644
index 0000000..2dd73c7
--- /dev/null
+++ b/net-misc/iplist/files/iplist-makefile.patch
@@ -0,0 +1,31 @@
+--- Makefile 2009-01-22 12:25:45.132342418 -0200
++++ Makefile.new 2009-01-24 23:04:52.386342346 -0200
+@@ -22,7 +22,7 @@
+ FLAGS= -Wall -Wextra -std=c++98 -D_REENTRANT
+ #CPPFLAGS = ${FLAGS} -g -DDEBUG
+ #CPPFLAGS = ${FLAGS} -g -pg -DDEBUG
+-CPPFLAGS = -O2 ${FLAGS} -DNDEBUG
++CPPFLAGS ?= -O2 ${FLAGS} -DNDEBUG
+
+ HEADERDIR = include
+ SRCDIR = src
+@@ -53,9 +53,16 @@
+ log.o: log.h nfq.h range.h iplist.h
+
+ install:
+- install -p -m 755 $(FILENAME) $(DESTDIR)/usr/sbin/
+- install -p -m 755 ipblock $(DESTDIR)/usr/sbin/
+- install -p -m 644 ipblockUI.jar $(DESTDIR)/usr/share/java/
++ install -d $(DESTDIR)/usr/sbin/
++ install -p -c -m 755 $(FILENAME) $(DESTDIR)/usr/sbin/
++ install -d $(DESTDIR)/usr/sbin/
++ install -p -c -m 755 ipblock $(DESTDIR)/usr/sbin/
++ install -d $(DESTDIR)/etc/init.d/
++ install -p -c -m 755 gentoo/ipblock $(DESTDIR)/etc/init.d/
++ install -d $(DESTDIR)/etc/
++ install -p -c -m 644 ipblock.conf $(DESTDIR)/etc/
++ install -d $(DESTDIR)/etc/
++ install -p -c -m 644 ipblock.lists $(DESTDIR)/etc/
+
+ deb:
+ dpkg-buildpackage -rfakeroot -tc -D -us -uc