diff options
author | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
---|---|---|
committer | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
commit | 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch) | |
tree | b9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/frickin |
Initial import
Diffstat (limited to 'package/frickin')
-rw-r--r-- | package/frickin/Config.in | 10 | ||||
-rw-r--r-- | package/frickin/Makefile | 27 | ||||
-rw-r--r-- | package/frickin/files/frickin.init | 26 | ||||
-rw-r--r-- | package/frickin/ipkg/frickin.control | 4 | ||||
-rw-r--r-- | package/frickin/ipkg/frickin.postinst | 4 |
5 files changed, 71 insertions, 0 deletions
diff --git a/package/frickin/Config.in b/package/frickin/Config.in new file mode 100644 index 000000000..599703234 --- /dev/null +++ b/package/frickin/Config.in @@ -0,0 +1,10 @@ +config ADK_PACKAGE_FRICKIN + prompt "frickin........................... PPTP (Point-to-Point Tunneling Protocol) proxy" + tristate + default n + help + Frickin PPTP Proxy allows a Point-to-Point Tunneling Protocol (PPTP) + client to connect to a PPTP server through Network Address + Translation (NAT). + + http://frickin.sourceforge.net/ diff --git a/package/frickin/Makefile b/package/frickin/Makefile new file mode 100644 index 000000000..f8a97743d --- /dev/null +++ b/package/frickin/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:= frickin +PKG_VERSION:= 1.3 +PKG_RELEASE:= 9 +PKG_MD5SUM:= 5b2e98da2310c71c703d4617b88a173f +MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=frickin/} + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,FRICKIN,frickin,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +BUILD_STYLE= auto + +do-install: + ${INSTALL_DIR} ${IDIR_FRICKIN}/etc/init.d + ${INSTALL_DIR} ${IDIR_FRICKIN}/usr/sbin + ${INSTALL_BIN} ./files/frickin.init \ + ${IDIR_FRICKIN}/etc/init.d/frickin + ${INSTALL_BIN} ${WRKBUILD}/frickin ${IDIR_FRICKIN}/usr/sbin/ + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/frickin/files/frickin.init b/package/frickin/files/frickin.init new file mode 100644 index 000000000..2c3a117b3 --- /dev/null +++ b/package/frickin/files/frickin.init @@ -0,0 +1,26 @@ +#!/bin/sh +#FWINIT 75 +. /etc/rc.conf + +case $1 in +autostop) ;; +autostart) + test x"${frickin:-NO}" = x"NO" && exit 0 + exec sh $0 start + ;; +start) + frickin ${frickin_flags} + ;; +stop) + killall frickin + ;; +restart) + sh $0 stop + sh $0 start + ;; +*) + echo "Usage: $0 {start | stop | restart}" + exit 1 + ;; +esac +exit $? diff --git a/package/frickin/ipkg/frickin.control b/package/frickin/ipkg/frickin.control new file mode 100644 index 000000000..a8b3fb4f0 --- /dev/null +++ b/package/frickin/ipkg/frickin.control @@ -0,0 +1,4 @@ +Package: frickin +Priority: optional +Section: net +Description: PPTP (Point-to-Point Tunneling Protocol) proxy diff --git a/package/frickin/ipkg/frickin.postinst b/package/frickin/ipkg/frickin.postinst new file mode 100644 index 000000000..e7dfd069e --- /dev/null +++ b/package/frickin/ipkg/frickin.postinst @@ -0,0 +1,4 @@ +#!/bin/sh +. $IPKG_INSTROOT/etc/functions.sh +add_rcconf frickin frickin NO +add_rcconf frickin_flags frickin_flags "" |