From 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 Mon Sep 17 00:00:00 2001
From: wbx <wbx@hydrogenium.(none)>
Date: Sun, 17 May 2009 14:41:34 +0200
Subject: Initial import

---
 package/frickin/Config.in             | 10 ++++++++++
 package/frickin/Makefile              | 27 +++++++++++++++++++++++++++
 package/frickin/files/frickin.init    | 26 ++++++++++++++++++++++++++
 package/frickin/ipkg/frickin.control  |  4 ++++
 package/frickin/ipkg/frickin.postinst |  4 ++++
 5 files changed, 71 insertions(+)
 create mode 100644 package/frickin/Config.in
 create mode 100644 package/frickin/Makefile
 create mode 100644 package/frickin/files/frickin.init
 create mode 100644 package/frickin/ipkg/frickin.control
 create mode 100644 package/frickin/ipkg/frickin.postinst

(limited to 'package/frickin')

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 ""
-- 
cgit v1.2.3