summaryrefslogtreecommitdiff
path: root/package/shat
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/shat
Initial import
Diffstat (limited to 'package/shat')
-rw-r--r--package/shat/Config.in10
-rw-r--r--package/shat/Makefile27
-rw-r--r--package/shat/ipkg/shat.control4
3 files changed, 41 insertions, 0 deletions
diff --git a/package/shat/Config.in b/package/shat/Config.in
new file mode 100644
index 000000000..961d308c2
--- /dev/null
+++ b/package/shat/Config.in
@@ -0,0 +1,10 @@
+config ADK_PACKAGE_SHAT
+ prompt "shat.............................. Source Hardware Address Translation"
+ tristate
+ default n
+ help
+ A tool which allows hosts with arbitrary IP configuration
+ to connect to the internet over a SHAT gateway.
+
+ http://www.teddy-net.com/cvs/Maxina/128gw/service/arpcatch/shat/
+
diff --git a/package/shat/Makefile b/package/shat/Makefile
new file mode 100644
index 000000000..c0b4c2058
--- /dev/null
+++ b/package/shat/Makefile
@@ -0,0 +1,27 @@
+# $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:= shat
+PKG_VERSION:= 0.9.7
+PKG_RELEASE:= 1
+PKG_MD5SUM:= da06846f35838b14d1513523dad84d24
+MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=shat/}
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,SHAT,shat,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+do-build:
+ ${MAKE} -C ${WRKBUILD}/src \
+ CC="${TARGET_CC}" LD=${TARGET_CROSS}ld \
+ CFLAGS="${TARGET_CFLAGS} -Wall -I${WRKBUILD}/include/linux/include -I${WRKBUILD}/include -DVERSION=\\\"${PKG_VERSION}\\\" -DDROP_NETBIOS"
+
+do-install:
+ ${INSTALL_DIR} ${IDIR_SHAT}/usr/sbin
+ ${INSTALL_BIN} ${WRKBUILD}/src/shat{c,d} ${IDIR_SHAT}/usr/sbin/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/shat/ipkg/shat.control b/package/shat/ipkg/shat.control
new file mode 100644
index 000000000..8143c73a6
--- /dev/null
+++ b/package/shat/ipkg/shat.control
@@ -0,0 +1,4 @@
+Package: shat
+Priority: optional
+Section: net
+Description: Source Hardware Address Translation - a tool for "nomadic routing"