diff options
author | Waldemar Brodkorb <wbx@openwrt.org> | 2005-07-15 15:15:02 +0000 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openwrt.org> | 2005-07-15 15:15:02 +0000 |
commit | 50e581bd69a1dd8c93a698d05261d9c9483388ab (patch) | |
tree | ae186e63fd0518cc9fb055ab42264a2bd640080b /package/amwall | |
parent | f95e2e243df28c50f00b9654e19b7b1778599084 (diff) | |
download | upstream-50e581bd69a1dd8c93a698d05261d9c9483388ab.tar.gz upstream-50e581bd69a1dd8c93a698d05261d9c9483388ab.tar.bz2 upstream-50e581bd69a1dd8c93a698d05261d9c9483388ab.zip |
add libamsel and amwall, an iptables frontend, like OpenBSD's pf, thx Eymen Alyaz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1438 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/amwall')
-rw-r--r-- | package/amwall/Config.in | 9 | ||||
-rw-r--r-- | package/amwall/Makefile | 44 | ||||
-rw-r--r-- | package/amwall/ipkg/amwall.control | 7 |
3 files changed, 60 insertions, 0 deletions
diff --git a/package/amwall/Config.in b/package/amwall/Config.in new file mode 100644 index 0000000000..978c63ee6e --- /dev/null +++ b/package/amwall/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_AMWALL + tristate "amwall - pf to iptables " + default m if CONFIG_DEVEL + select BR2_PACKAGE_LIBAMSEL + help + See + + http://amselinux.de/ + diff --git a/package/amwall/Makefile b/package/amwall/Makefile new file mode 100644 index 0000000000..173a5d467b --- /dev/null +++ b/package/amwall/Makefile @@ -0,0 +1,44 @@ +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=amwall +PKG_VERSION:=0.1.0 +PKG_RELEASE:=1 +PKG_MD5SUM:=a8b6438e7fd9ccadc9f68824ae62349c + +PKG_SOURCE_URL:=ftp://ftp.amselinux.net/source/ +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_CAT:=bzcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install + +include $(TOPDIR)/package/rules.mk + +$(eval $(call PKG_template,AMWALL,amwall,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) + +$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.prepared + rm -rf $(PKG_INSTALL_DIR) + mkdir -p $(PKG_INSTALL_DIR) + $(MAKE) -C $(PKG_BUILD_DIR) \ + $(TARGET_CONFIGURE_OPTS) \ + LDIR=$(PKG_BUILD_DIR) \ + AMSEL_INCLUDE="$(STAGING_DIR)/usr/include" \ + OPT_LDFLAGS="-L$(STAGING_DIR)/usr/lib" \ + PREFIX="/usr" \ + CONFIG="$(PKG_BUILD_DIR)/etc/amsel" \ + DESTDIR=$(PKG_INSTALL_DIR) \ + all install + touch $@ + +$(IPKG_AMWALL): + install -d -m0755 $(IDIR_AMWALL)/usr/bin + cp -fpR $(PKG_INSTALL_DIR)/usr/bin/* $(IDIR_AMWALL)/usr/bin + install -d -m0755 $(IDIR_AMWALL)/usr/sbin + cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/* $(IDIR_AMWALL)/usr/sbin + install -d -m0755 $(IDIR_AMWALL)/etc/amsel + cp -fpR $(PKG_INSTALL_DIR)/etc/amsel* $(IDIR_AMWALL)/etc + $(RSTRIP) $(IDIR_AMWALL) + $(IPKG_BUILD) $(IDIR_AMWALL) $(PACKAGE_DIR) + diff --git a/package/amwall/ipkg/amwall.control b/package/amwall/ipkg/amwall.control new file mode 100644 index 0000000000..37678fb935 --- /dev/null +++ b/package/amwall/ipkg/amwall.control @@ -0,0 +1,7 @@ +Package: amwall +Priority: optional +Section: net +Maintainer: Eymen Alyaz <dev@eymen.net> +Source: http://amselinux.de +Depends: libamsel +Description: pf to iptables and more |