summaryrefslogtreecommitdiff
path: root/openwrt/package/nocatsplash
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/nocatsplash')
-rw-r--r--openwrt/package/nocatsplash/Config.in12
-rw-r--r--openwrt/package/nocatsplash/Makefile64
-rw-r--r--openwrt/package/nocatsplash/ipkg/nocatsplash.conffiles1
-rw-r--r--openwrt/package/nocatsplash/ipkg/nocatsplash.control10
-rw-r--r--openwrt/package/nocatsplash/patches/openwrt-firewall.patch19
5 files changed, 0 insertions, 106 deletions
diff --git a/openwrt/package/nocatsplash/Config.in b/openwrt/package/nocatsplash/Config.in
deleted file mode 100644
index 174f9e666e..0000000000
--- a/openwrt/package/nocatsplash/Config.in
+++ /dev/null
@@ -1,12 +0,0 @@
-config BR2_PACKAGE_NOCATSPLASH
- prompt "nocatsplash....................... Open public network gateway daemon"
- tristate
- default m if CONFIG_DEVEL
- 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/openwrt/package/nocatsplash/Makefile b/openwrt/package/nocatsplash/Makefile
deleted file mode 100644
index 4d2120e776..0000000000
--- a/openwrt/package/nocatsplash/Makefile
+++ /dev/null
@@ -1,64 +0,0 @@
-# $Id$
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=nocatsplash
-PKG_VERSION:=0.92
-PKG_RELEASE:=1
-PKG_MD5SUM:=e0fcc0effe52e63bc31070d16d0b4a81
-
-PKG_SOURCE_URL:=http://wifi.rulez.org/~josephus/
-PKG_SOURCE:=NoCatSplash-$(PKG_VERSION).tar.gz
-PKG_CAT:=zcat
-
-PKG_BUILD_DIR:=$(BUILD_DIR)/NoCatSplash-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
-include $(TOPDIR)/package/rules.mk
-
-$(eval $(call PKG_template,NOCATSPLASH,nocatsplash,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-
-$(PKG_BUILD_DIR)/.configured:
- (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
- $(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS)" \
- CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
- LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
- ./configure \
- --target=$(GNU_TARGET_NAME) \
- --host=$(GNU_TARGET_NAME) \
- --build=$(GNU_HOST_NAME) \
- --program-prefix="" \
- --program-suffix="" \
- --prefix=/usr \
- --exec-prefix=/usr \
- --bindir=/usr/bin \
- --datadir=/usr/share \
- --includedir=/usr/include \
- --infodir=/usr/share/info \
- --libdir=/usr/lib \
- --libexecdir=/usr/lib \
- --localstatedir=/var \
- --mandir=/usr/share/man \
- --sbindir=/usr/sbin \
- --sysconfdir=/etc \
- --with-firewall=iptables \
- $(DISABLE_LARGEFILE) \
- $(DISABLE_NLS) \
- --with-glib-prefix="$(STAGING_DIR)/usr" \
- )
- touch $@
-
-$(PKG_BUILD_DIR)/.built:
- mkdir -p $(PKG_INSTALL_DIR)
- $(MAKE) -C $(PKG_BUILD_DIR) \
- DESTDIR="$(PKG_INSTALL_DIR)" \
- all install
- touch $@
-
-$(IPKG_NOCATSPLASH):
- mkdir -p $(IDIR_NOCATSPLASH)
- $(CP) $(PKG_INSTALL_DIR)/* $(IDIR_NOCATSPLASH)/
- $(RSTRIP) $(IDIR_NOCATSPLASH)
- $(IPKG_BUILD) $(IDIR_NOCATSPLASH) $(PACKAGE_DIR)
-
diff --git a/openwrt/package/nocatsplash/ipkg/nocatsplash.conffiles b/openwrt/package/nocatsplash/ipkg/nocatsplash.conffiles
deleted file mode 100644
index a25777d9a4..0000000000
--- a/openwrt/package/nocatsplash/ipkg/nocatsplash.conffiles
+++ /dev/null
@@ -1 +0,0 @@
-/etc/nocat.conf
diff --git a/openwrt/package/nocatsplash/ipkg/nocatsplash.control b/openwrt/package/nocatsplash/ipkg/nocatsplash.control
deleted file mode 100644
index ec0bfc7e2f..0000000000
--- a/openwrt/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/openwrt/package/nocatsplash/patches/openwrt-firewall.patch b/openwrt/package/nocatsplash/patches/openwrt-firewall.patch
deleted file mode 100644
index 055b57f24d..0000000000
--- a/openwrt/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
-
-