peerguardian: libnetfilter-queue-libipq has been dropped upstream, switch back to...
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 13 Dec 2010 00:36:29 +0000 (00:36 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 13 Dec 2010 00:36:29 +0000 (00:36 +0000)
SVN-Revision: 24531

net/peerguardian/Makefile
net/peerguardian/patches/002-new_libipq.patch
net/peerguardian/patches/003-gcc_4_3-compile-fix.patch

index 8b4e25d66662c68539f4e14616c4d972a0773ae5..7044d0b7a75fde3ec9e1897eaeca3e7750670746 100644 (file)
@@ -25,7 +25,7 @@ include $(INCLUDE_DIR)/package.mk
 define Package/peerguardian
   SECTION:=net
   CATEGORY:=Network
-  DEPENDS:= +libncurses +libpthread +libnetfilter-queue
+  DEPENDS:=@BROKEN +libncurses +libpthread +libnetfilter-queue
   TITLE:=PeerGuardian for Linux
   URL:=http://phoenixlabs.org/
 endef
index 386f6454d55811ccfa5f1697d2bbb15b369e08c7..c7ca95992494dc1dcd1f530a1a148d0ceda63b3a 100644 (file)
@@ -5,7 +5,7 @@
  peerguardnf_SOURCES=Main.cpp PeerGuard.cpp BlockList.cpp Blocker_Linux.cpp Blocker_BSD.cpp HttpServer.cpp HttpRequest.cpp sha1.cpp
  pgtext_SOURCES=pgtext.cpp
 -peerguardnf_LDADD=-lipq -lpthread
-+peerguardnf_LDADD=-lnetfilter_queue_libipq -lnetfilter_queue -lnfnetlink -lpthread
++peerguardnf_LDADD=-lipq -lnetfilter_queue -lnfnetlink -lpthread
  pgtext_LDADD=-lncurses -lpthread
  peerguardnf_LDFLAGS=$(all_includes) -I/usr/include/libipq
  AM_CPPFLAGS=$(ALL_INCLUDES) -I/usr/include/libipq
@@ -16,7 +16,7 @@
  peerguardnf_SOURCES = Main.cpp PeerGuard.cpp BlockList.cpp Blocker_Linux.cpp Blocker_BSD.cpp HttpServer.cpp HttpRequest.cpp sha1.cpp
  pgtext_SOURCES = pgtext.cpp
 -peerguardnf_LDADD = -lipq -lpthread
-+peerguardnf_LDADD = -lnetfilter_queue_libipq -lnetfilter_queue -lnfnetlink -lpthread
++peerguardnf_LDADD = -lipq -lnetfilter_queue -lnfnetlink -lpthread
  pgtext_LDADD = -lncurses -lpthread
  peerguardnf_LDFLAGS = $(all_includes)
  AM_CPPFLAGS = $(ALL_INCLUDES)
index fb750dade3855786b5b0c8ea643f96a10353dbae..aaa72c36472cfbe0c6a6dd299de76a4a96a669a3 100644 (file)
@@ -1,5 +1,3 @@
-diff --git a/Main.cpp b/Main.cpp
-index 0a5ae59..0c5274c 100755
 --- a/Main.cpp
 +++ b/Main.cpp
 @@ -25,6 +25,7 @@
@@ -10,8 +8,6 @@ index 0a5ae59..0c5274c 100755
  
  using namespace PG;
  using namespace std;
-diff --git a/PeerGuard.h b/PeerGuard.h
-index 3d0d31c..7e1d0f7 100755
 --- a/PeerGuard.h
 +++ b/PeerGuard.h
 @@ -24,6 +24,7 @@