2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
11 PKG_VERSION
:=1.1-beta6
14 PKG_SOURCE
:=$(PKG_NAME
)_
$(PKG_VERSION
).orig.
tar.gz
15 PKG_SOURCE_URL
:=http
://ftp.debian.org
/debian
/pool
/main
/n
/nstx
/
16 PKG_MD5SUM
:=275abd75a856b07a798b1f2360088cf5
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/nstx
/Default
23 SUBMENU
:=Firewall Tunnel
24 TITLE
:=allows you to pass IP packets via DNS queries
25 URL
:=http
://savannah.nongnu.org
/projects
/nstx
/
29 $(call Package
/nstx
/Default
)
30 TITLE
+= client version
33 define Package
/nstx
/description
38 $(call Package
/nstx
/Default
)
39 TITLE
+= server version
42 define Package
/nstxd
/description
46 define Build
/Configure
50 $(MAKE
) -C
$(PKG_BUILD_DIR
) CC
="$(TARGET_CC)" CFLAGS
="$(TARGET_CFLAGS)"
53 define Package
/nstx
/install
54 $(INSTALL_DIR
) $(1)/usr
/sbin
55 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/nstxcd
$(1)/usr
/sbin
/
58 define Package
/nstxd
/install
59 $(INSTALL_DIR
) $(1)/etc
/init.d
$(1)/usr
/sbin
60 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/nstxd
$(1)/usr
/sbin
63 $(eval
$(call BuildPackage
,nstx
))
64 $(eval
$(call BuildPackage
,nstxd
))