diff options
author | MaurĂcio Moraes (morris) <morris@brgentoo.org> | 2009-01-25 22:47:12 +0000 |
---|---|---|
committer | MaurĂcio Moraes (morris) <morris@brgentoo.org> | 2009-01-25 22:47:12 +0000 |
commit | 986356a9015c3f4ffc3330713e3e6616884a168b (patch) | |
tree | 51cc365738dd0c1543e9588889478d8498b7c70a /net-misc/iplist/files | |
parent | dev-java/fec: removed, is now in the official tree (diff) | |
download | sunrise-986356a9015c3f4ffc3330713e3e6616884a168b.tar.gz sunrise-986356a9015c3f4ffc3330713e3e6616884a168b.tar.bz2 sunrise-986356a9015c3f4ffc3330713e3e6616884a168b.zip |
net-misc/iplist: New Ebuild for bug 256001, thanks to Christian, Jeremy and Tommy
svn path=/sunrise/; revision=7797
Diffstat (limited to 'net-misc/iplist/files')
-rw-r--r-- | net-misc/iplist/files/iplist-9999-makefile.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/net-misc/iplist/files/iplist-9999-makefile.patch b/net-misc/iplist/files/iplist-9999-makefile.patch new file mode 100644 index 000000000..2dd73c7e2 --- /dev/null +++ b/net-misc/iplist/files/iplist-9999-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 |