From 51587fc1590d05b7e85023d5e90bbd3a1d909223 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 4 Jan 2010 13:07:01 +0100 Subject: rename pcre package -> libpcre, fix nmap build dependency --- package/dansguardian/Makefile | 6 +++--- package/lighttpd/Makefile | 2 +- package/nmap/Makefile | 4 ++-- package/pcre/Makefile | 2 +- package/snort/Makefile | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) (limited to 'package') diff --git a/package/dansguardian/Makefile b/package/dansguardian/Makefile index 7a96bda40..62e23fc53 100644 --- a/package/dansguardian/Makefile +++ b/package/dansguardian/Makefile @@ -6,12 +6,12 @@ include ${TOPDIR}/rules.mk PKG_NAME:= dansguardian PKG_VERSION:= 2.10.1.1 PKG_RELEASE:= 1 -PKG_BUILDDEP+= pcre zlib -PKG_CXX:= DANSGUARDIAN PKG_MD5SUM:= 0987a1c9bfbdf398118386f10279611a PKG_DESCR:= web content filter proxy PKG_SECTION:= net -PKG_DEPENDS:= pcre zlib +PKG_CXX:= DANSGUARDIAN +PKG_DEPENDS:= libpcre zlib +PKG_BUILDDEP+= pcre zlib PKG_URL:= http://dansguardian.org PKG_SITES:= http://dansguardian.org/downloads/2/Stable/ diff --git a/package/lighttpd/Makefile b/package/lighttpd/Makefile index 648d6cfd8..8a3e584c6 100644 --- a/package/lighttpd/Makefile +++ b/package/lighttpd/Makefile @@ -9,7 +9,7 @@ PKG_RELEASE:= 1 PKG_MD5SUM:= 87e936ec272ddaba8a2fdfecd8c6b704 PKG_DESCR:= a flexible and lightweight web server PKG_SECTION:= net -PKG_DEPENDS:= libxml2 libsqlite pcre +PKG_DEPENDS:= libxml2 libsqlite libpcre PKG_BUILDDEP+= pcre libxml2 sqlite ifeq (${ADK_COMPILE_LIGHTTPD_WITH_OPENSSL},y) PKG_DEPENDS+= libopenssl diff --git a/package/nmap/Makefile b/package/nmap/Makefile index 587ad980f..6e314970d 100644 --- a/package/nmap/Makefile +++ b/package/nmap/Makefile @@ -6,12 +6,12 @@ include ${TOPDIR}/rules.mk PKG_NAME:= nmap PKG_VERSION:= 5.00 PKG_RELEASE:= 1 -PKG_BUILDDEP+= pcre libpcap PKG_CXX:= NMAP PKG_MD5SUM:= 32d27de32166c02d670bb4a086185886 PKG_DESCR:= utility for network exploration or security auditing PKG_SECTION:= net -PKG_DEPENDS:= libdnet libpcap pcre +PKG_DEPENDS:= libdnet libpcap libpcre +PKG_BUILDDEP+= libdnet libpcap pcre PKG_URL:= http://nmap.org PKG_SITES:= http://download.insecure.org/nmap/dist/ diff --git a/package/pcre/Makefile b/package/pcre/Makefile index 22d510c6a..e36c6a5d6 100644 --- a/package/pcre/Makefile +++ b/package/pcre/Makefile @@ -14,7 +14,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=pcre/} include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,LIBPCRE,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,LIBPCRE,libpcre,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) CONFIGURE_STYLE:= gnu CONFIGURE_ARGS+= --disable-cpp diff --git a/package/snort/Makefile b/package/snort/Makefile index cc38c43cc..64dab93e8 100644 --- a/package/snort/Makefile +++ b/package/snort/Makefile @@ -10,7 +10,7 @@ PKG_MD5SUM:= b1abf3a9fa3486720c9a2b5eff920417 PKG_DESCR:= a flexible Network Intrusion Detection System (NIDS) PKG_SECTION:= net PKG_NOPARALLEL:= 1 -PKG_DEPENDS:= libnet libpcap pcre +PKG_DEPENDS:= libnet libpcap libpcre PKG_BUILDDEP+= libnet libpcap pcre PKG_URL:= http://www.snort.org/ PKG_SITES:= http://dl.snort.org/snort-current/ -- cgit v1.2.3 From 3f23dcd7a5f06f8cdda0ee8b1492cfd0b6c1413f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 4 Jan 2010 23:18:14 +0100 Subject: fix default firewall script and kernel mod dependencies --- package/iptables/Makefile | 2 +- package/iptables/files/firewall.conf | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'package') diff --git a/package/iptables/Makefile b/package/iptables/Makefile index b7f98121e..f5f2d2392 100644 --- a/package/iptables/Makefile +++ b/package/iptables/Makefile @@ -9,7 +9,7 @@ PKG_RELEASE:= 1 PKG_MD5SUM:= c67cf30e281a924def6426be0973df56 PKG_DESCR:= The netfilter firewalling software PKG_SECTION:= net -PKG_DEPENDS:= kmod-ip-nf-iptables kmod-nf-conntrack kmod-nf-conntrack-ipv4 kmod-nf-nat kmod-ip-nf-target-masquerade kmod-ip-nf-target-reject kmod-ip-nf-filter +PKG_DEPENDS:= kmod-ip-nf-iptables kmod-nf-conntrack kmod-nf-conntrack-ipv4 kmod-nf-nat kmod-ip-nf-target-masquerade kmod-ip-nf-target-reject kmod-ip-nf-filter kmod-ip-nf-match-state kmod-netfilter-xt-target-tcpmss PKG_URL:= http://www.netfilter.org PKG_SITES:= http://www.netfilter.org/projects/iptables/files/ \ ftp://ftp.be.netfilter.org/pub/netfilter/iptables/ \ diff --git a/package/iptables/files/firewall.conf b/package/iptables/files/firewall.conf index bc9a39c41..2c8faaa34 100644 --- a/package/iptables/files/firewall.conf +++ b/package/iptables/files/firewall.conf @@ -1,13 +1,11 @@ #!/bin/sh - - echo "configure /etc/firewall.conf first." exit 1 ### Interfaces WAN=ppp0 LAN=br0 -WLAN= +WLAN=wlan0 ###################################################################### ### Default ruleset @@ -29,7 +27,7 @@ iptables -P FORWARD DROP # base case iptables -A INPUT -m state --state INVALID -j DROP iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT -iptables -A INPUT -p tcp --tcp-flags SYN SYN --tcp-option \! 2 -j DROP +iptables -A INPUT -p tcp --tcp-flags SYN SYN \! --tcp-option 2 -j DROP # custom rules iptables -A INPUT -j input_rule -- cgit v1.2.3 From 26d8c7c5138770572fc92bea028d9a8a067fe3c9 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 4 Jan 2010 23:18:53 +0100 Subject: update ethtool and iw --- package/Config.in | 10 ++++++++++ package/base-files/extra/etc/network/if-pre-up.d/02-vlan | 1 + package/busybox/config/networking/Config.in | 1 + package/ethtool/Makefile | 12 ++++++------ package/iw/Makefile | 8 ++++---- package/iw/patches/patch-Makefile | 10 +++++----- package/libnl/Makefile | 2 +- package/libpcap/Makefile | 2 +- package/nmap/Makefile | 2 +- package/pcre/Makefile | 2 +- 10 files changed, 31 insertions(+), 19 deletions(-) (limited to 'package') diff --git a/package/Config.in b/package/Config.in index 1806589fc..781b65389 100644 --- a/package/Config.in +++ b/package/Config.in @@ -395,18 +395,26 @@ source "package/glib/Config.in" source "package/gtk+/Config.in" source "package/id3lib/Config.in" source "package/libao/Config.in" +source "package/libao/Config.in.lib" source "package/libaudiofile/Config.in" source "package/libaudiofile/Config.in.lib" source "package/libart/Config.in" source "package/libart/Config.in.lib" source "package/linux-atm/Config.in.lib" source "package/libcli/Config.in" +source "package/libcli/Config.in.lib" source "package/libdaemon/Config.in" +source "package/libdaemon/Config.in.lib" source "package/libdb/Config.in" +source "package/libdb/Config.in.lib" source "package/libdnet/Config.in" +source "package/libdnet/Config.in.lib" source "package/libelf/Config.in" +source "package/libelf/Config.in.lib" source "package/libevent/Config.in" +source "package/libevent/Config.in.lib" source "package/libffi/Config.in" +source "package/libffi/Config.in.lib" source "package/freeradius-client/Config.in.lib" source "package/expat/Config.in" source "package/expat/Config.in.lib" @@ -459,6 +467,7 @@ source "package/libnet/Config.in.lib" source "package/libnfsidmap/Config.in" source "package/libnids/Config.in" source "package/libnl/Config.in" +source "package/libnl/Config.in.lib" source "package/libogg/Config.in" source "package/libogg/Config.in.lib" source "package/libol/Config.in" @@ -476,6 +485,7 @@ source "package/libpri/Config.in" source "package/libpri/Config.in.lib" source "package/pango/Config.in" source "package/pcre/Config.in" +source "package/pcre/Config.in.lib" source "package/libpng/Config.in" source "package/libpng/Config.in.lib" source "package/popt/Config.in" diff --git a/package/base-files/extra/etc/network/if-pre-up.d/02-vlan b/package/base-files/extra/etc/network/if-pre-up.d/02-vlan index 09b9cf0da..35b7fca59 100755 --- a/package/base-files/extra/etc/network/if-pre-up.d/02-vlan +++ b/package/base-files/extra/etc/network/if-pre-up.d/02-vlan @@ -1,6 +1,7 @@ #!/bin/sh [ -x /sbin/vconfig ] || exit 0 +[ -d /proc/net/vlan ] || exit 0 case "$IFACE" in vlan*) diff --git a/package/busybox/config/networking/Config.in b/package/busybox/config/networking/Config.in index 0db95b6d4..264beae90 100644 --- a/package/busybox/config/networking/Config.in +++ b/package/busybox/config/networking/Config.in @@ -884,6 +884,7 @@ config BUSYBOX_IFUPDOWN_UDHCPC_CMD_OPTIONS config BUSYBOX_VCONFIG bool "vconfig" + select ADK_KPACKAGE_KMOD_VLAN_8021Q default n help Creates, removes, and configures VLAN interfaces diff --git a/package/ethtool/Makefile b/package/ethtool/Makefile index 4f9d35e62..3172231da 100644 --- a/package/ethtool/Makefile +++ b/package/ethtool/Makefile @@ -4,9 +4,9 @@ include ${TOPDIR}/rules.mk PKG_NAME:= ethtool -PKG_VERSION:= 5 +PKG_VERSION:= 6 PKG_RELEASE:= 1 -PKG_MD5SUM:= 5df7f165974e096e2de890e099f87a12 +PKG_MD5SUM:= 3b721ec27f17ebf320ba8c505cf66d9c PKG_DESCR:= Display or change ethernet card settings PKG_SECTION:= net PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=gkernel/} @@ -15,12 +15,12 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,ETHTOOL,ethtool,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -CONFIGURE_STYLE= gnu -BUILD_STYLE= auto -INSTALL_STYLE= auto +CONFIGURE_STYLE:= gnu +BUILD_STYLE:= auto +INSTALL_STYLE:= auto post-install: ${INSTALL_DIR} ${IDIR_ETHTOOL}/usr/sbin - ${CP} ${WRKINST}/usr/sbin/* ${IDIR_ETHTOOL}/usr/sbin + ${CP} ${WRKINST}/usr/sbin/ethtool ${IDIR_ETHTOOL}/usr/sbin include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/iw/Makefile b/package/iw/Makefile index 786dda0fb..106b702e4 100644 --- a/package/iw/Makefile +++ b/package/iw/Makefile @@ -4,13 +4,13 @@ include ${TOPDIR}/rules.mk PKG_NAME:= iw -PKG_VERSION:= 0.9.17 +PKG_VERSION:= 0.9.18 PKG_RELEASE:= 1 -PKG_BUILDDEP+= libnl -PKG_MD5SUM:= 427841093ac11c5cbc025a3e13aac139 +PKG_MD5SUM:= 9734080d8a5c4b768c5e0da665a48950 PKG_DESCR:= Tools for setting up WiFi cards via netlink (nl80211) PKG_SECTION:= net PKG_DEPENDS:= libnl +PKG_BUILDDEP+= libnl PKG_URL:= http://wireless.kernel.org/en/users/Documentation/iw PKG_SITES:= http://wireless.kernel.org/download/iw/ @@ -26,6 +26,6 @@ INSTALL_STYLE:= auto post-install: ${INSTALL_DIR} ${IDIR_IW}/usr/sbin - ${INSTALL_BIN} ${WRKINST}/usr/bin/iw ${IDIR_IW}/usr/sbin + ${INSTALL_BIN} ${WRKINST}/usr/sbin/iw ${IDIR_IW}/usr/sbin include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/iw/patches/patch-Makefile b/package/iw/patches/patch-Makefile index ec12e1d38..4c95aee80 100644 --- a/package/iw/patches/patch-Makefile +++ b/package/iw/patches/patch-Makefile @@ -1,11 +1,11 @@ ---- iw-0.9.17.orig/Makefile 2009-08-26 11:41:41.000000000 +0200 -+++ iw-0.9.17/Makefile 2009-11-20 23:10:19.000000000 +0100 +--- iw-0.9.18.orig/Makefile 2009-11-20 17:35:56.000000000 +0100 ++++ iw-0.9.18/Makefile 2010-01-04 23:00:34.031210816 +0100 @@ -86,10 +86,10 @@ check: install: iw iw.8.gz @$(NQ) ' INST iw' - $(Q)$(MKDIR) $(DESTDIR)$(BINDIR) -- $(Q)$(INSTALL) -m 755 -t $(DESTDIR)$(BINDIR) iw -+ $(Q)$(INSTALL) -m 755 iw $(DESTDIR)$(BINDIR) + $(Q)$(MKDIR) $(DESTDIR)$(SBINDIR) +- $(Q)$(INSTALL) -m 755 -t $(DESTDIR)$(SBINDIR) iw ++ $(Q)$(INSTALL) -m 755 iw $(DESTDIR)$(SBINDIR) @$(NQ) ' INST iw.8' $(Q)$(MKDIR) $(DESTDIR)$(MANDIR)/man8/ - $(Q)$(INSTALL) -m 644 -t $(DESTDIR)$(MANDIR)/man8/ iw.8.gz diff --git a/package/libnl/Makefile b/package/libnl/Makefile index a1c4657f7..4f7372e47 100644 --- a/package/libnl/Makefile +++ b/package/libnl/Makefile @@ -17,7 +17,7 @@ $(eval $(call PKG_template,LIBNL,libnl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPEN CONFIGURE_STYLE:= gnu BUILD_STYLE:= auto -INSTALL_STYLE:= auto confprog +INSTALL_STYLE:= auto post-install: ${INSTALL_DIR} ${IDIR_LIBNL}/usr/lib diff --git a/package/libpcap/Makefile b/package/libpcap/Makefile index 877b35a37..2eb2ac249 100644 --- a/package/libpcap/Makefile +++ b/package/libpcap/Makefile @@ -31,6 +31,6 @@ pre-install: post-install: ${INSTALL_DIR} ${IDIR_LIBPCAP}/usr/lib/ - ${CP} ${WRKINST}/usr/lib/libpcap.so.* ${IDIR_LIBPCAP}/usr/lib/ + ${CP} ${WRKINST}/usr/lib/libpcap.so* ${IDIR_LIBPCAP}/usr/lib/ include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/nmap/Makefile b/package/nmap/Makefile index 6e314970d..8716879cd 100644 --- a/package/nmap/Makefile +++ b/package/nmap/Makefile @@ -6,10 +6,10 @@ include ${TOPDIR}/rules.mk PKG_NAME:= nmap PKG_VERSION:= 5.00 PKG_RELEASE:= 1 -PKG_CXX:= NMAP PKG_MD5SUM:= 32d27de32166c02d670bb4a086185886 PKG_DESCR:= utility for network exploration or security auditing PKG_SECTION:= net +PKG_CXX:= NMAP PKG_DEPENDS:= libdnet libpcap libpcre PKG_BUILDDEP+= libdnet libpcap pcre PKG_URL:= http://nmap.org diff --git a/package/pcre/Makefile b/package/pcre/Makefile index e36c6a5d6..9a412090e 100644 --- a/package/pcre/Makefile +++ b/package/pcre/Makefile @@ -24,6 +24,6 @@ XAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS} CFLAGS='${TCFLAGS}' post-install: ${INSTALL_DIR} ${IDIR_LIBPCRE}/usr/lib - ${CP} ${WRKINST}/usr/lib/libpcre{,posix}.so.* ${IDIR_LIBPCRE}/usr/lib/ + ${CP} ${WRKINST}/usr/lib/libpcre{,posix}.so* ${IDIR_LIBPCRE}/usr/lib/ include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3