From ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 30 May 2009 20:39:07 +0200 Subject: optimize ipkg package management - generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig --- package/nocatsplash/Config.in | 12 --------- package/nocatsplash/Makefile | 30 ---------------------- package/nocatsplash/ipkg/nocatsplash.conffiles | 1 - package/nocatsplash/ipkg/nocatsplash.control | 10 -------- package/nocatsplash/patches/openwrt-firewall.patch | 19 -------------- 5 files changed, 72 deletions(-) delete mode 100644 package/nocatsplash/Config.in delete mode 100644 package/nocatsplash/Makefile delete mode 100644 package/nocatsplash/ipkg/nocatsplash.conffiles delete mode 100644 package/nocatsplash/ipkg/nocatsplash.control delete mode 100644 package/nocatsplash/patches/openwrt-firewall.patch (limited to 'package/nocatsplash') diff --git a/package/nocatsplash/Config.in b/package/nocatsplash/Config.in deleted file mode 100644 index 38d38a044..000000000 --- a/package/nocatsplash/Config.in +++ /dev/null @@ -1,12 +0,0 @@ -config ADK_PACKAGE_NOCATSPLASH - prompt "nocatsplash....................... Open public network gateway daemon" - tristate - default n - help - NoCatSplash is an Open Public Network Gateway Daemon. - It performs as a [captive/open/active] portal. When run on a gateway/router - on a network, all web requests are redirected until the client either logs - in or clicks "I Accept" to an AUP. The gateway daemon then changes the - firewall rules on the gateway to pass traffic for that client (based on IP - address and MAC address). - diff --git a/package/nocatsplash/Makefile b/package/nocatsplash/Makefile deleted file mode 100644 index fea6af4b4..000000000 --- a/package/nocatsplash/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -# $Id$ -#- -# This file is part of the OpenADK project. OpenADK is copyrighted -# material, please see the LICENCE file in the top-level directory. - -include ${TOPDIR}/rules.mk - -PKG_NAME:= nocatsplash -PKG_VERSION:= 0.92 -PKG_RELEASE:= 1 -PKG_MD5SUM:= e0fcc0effe52e63bc31070d16d0b4a81 -MASTER_SITES:= http://nocat.net/download/NoCatSplash/ -DISTFILES:= NoCatSplash-${PKG_VERSION}.tar.gz -WRKDIST= ${WRKDIR}/NoCatSplash-${PKG_VERSION} - -include ${TOPDIR}/mk/package.mk - -$(eval $(call PKG_template,NOCATSPLASH,nocatsplash,${PKG_VERSION}-${PKG_RELEASE})) - -CONFIGURE_STYLE:= gnu -CONFIGURE_ARGS+= --with-firewall=iptables \ - --with-glib-prefix="${STAGING_DIR}/usr" - -BUILD_STYLE:= auto -INSTALL_STYLE:= auto - -post-install: - ${CP} ${WRKINST}/* ${IDIR_NOCATSPLASH}/ - -include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/nocatsplash/ipkg/nocatsplash.conffiles b/package/nocatsplash/ipkg/nocatsplash.conffiles deleted file mode 100644 index a25777d9a..000000000 --- a/package/nocatsplash/ipkg/nocatsplash.conffiles +++ /dev/null @@ -1 +0,0 @@ -/etc/nocat.conf diff --git a/package/nocatsplash/ipkg/nocatsplash.control b/package/nocatsplash/ipkg/nocatsplash.control deleted file mode 100644 index ec0bfc7e2..000000000 --- a/package/nocatsplash/ipkg/nocatsplash.control +++ /dev/null @@ -1,10 +0,0 @@ -Package: nocatsplash -Priority: optional -Section: net -Depends: iptables-extra, glib1 -Description: NoCatSplash is an Open Public Network Gateway Daemon. - It performs as a [captive/open/active] portal. When run on a gateway/router - on a network, all web requests are redirected until the client either logs - in or clicks "I Accept" to an AUP. The gateway daemon then changes the - firewall rules on the gateway to pass traffic for that client (based on IP - address and MAC address). diff --git a/package/nocatsplash/patches/openwrt-firewall.patch b/package/nocatsplash/patches/openwrt-firewall.patch deleted file mode 100644 index 055b57f24..000000000 --- a/package/nocatsplash/patches/openwrt-firewall.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -urN NoCatSplash-0.92.old/libexec/iptables/initialize.fw NoCatSplash-0.92/libexec/iptables/initialize.fw ---- NoCatSplash-0.92.old/libexec/iptables/initialize.fw 2002-12-27 11:44:41.000000000 +0100 -+++ NoCatSplash-0.92/libexec/iptables/initialize.fw 2005-04-04 20:45:57.000000000 +0200 -@@ -28,13 +28,9 @@ - - # Load alllll the kernel modules we need. - # --rmmod ipchains > /dev/null 2>&1 # for RH 7.1 users. - --for module in ip_tables ipt_REDIRECT ipt_MASQUERADE ipt_MARK ipt_REJECT \ -- ipt_TOS ipt_LOG iptable_mangle iptable_filter iptable_nat ip_nat_ftp \ -- ip_conntrack ipt_mac ipt_state ipt_mark; do -- -- modprobe $module -+for module in ipt_TOS ipt_mac; do -+ insmod $module - done - - -- cgit v1.2.3