mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
Add frickin package
SVN-Revision: 1042
This commit is contained in:
parent
61d63818fe
commit
ba6e8564e4
@ -33,6 +33,7 @@ source "package/ez-ipupdate/Config.in"
|
|||||||
source "package/fping/Config.in"
|
source "package/fping/Config.in"
|
||||||
source "package/fprobe/Config.in"
|
source "package/fprobe/Config.in"
|
||||||
source "package/freeradius/Config.in"
|
source "package/freeradius/Config.in"
|
||||||
|
source "package/frickin/Config.in"
|
||||||
source "package/howl/Config.in"
|
source "package/howl/Config.in"
|
||||||
source "package/htpdate/Config.in"
|
source "package/htpdate/Config.in"
|
||||||
source "package/iproute2/Config.in"
|
source "package/iproute2/Config.in"
|
||||||
|
@ -22,6 +22,7 @@ package-$(BR2_PACKAGE_EZIPUPDATE) += ez-ipupdate
|
|||||||
package-$(BR2_PACKAGE_FPING) += fping
|
package-$(BR2_PACKAGE_FPING) += fping
|
||||||
package-$(BR2_PACKAGE_FPROBE) += fprobe
|
package-$(BR2_PACKAGE_FPROBE) += fprobe
|
||||||
package-$(BR2_PACKAGE_FREERADIUS) += freeradius
|
package-$(BR2_PACKAGE_FREERADIUS) += freeradius
|
||||||
|
package-$(BR2_PACKAGE_FRICKIN) += frickin
|
||||||
package-$(BR2_PACKAGE_FUSE) += fuse
|
package-$(BR2_PACKAGE_FUSE) += fuse
|
||||||
package-$(BR2_PACKAGE_GLIB) += glib
|
package-$(BR2_PACKAGE_GLIB) += glib
|
||||||
package-$(BR2_PACKAGE_GMP) += gmp
|
package-$(BR2_PACKAGE_GMP) += gmp
|
||||||
|
12
openwrt/package/frickin/Config.in
Normal file
12
openwrt/package/frickin/Config.in
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
config BR2_PACKAGE_FRICKIN
|
||||||
|
tristate "frickin - PPTP (Point-to-Point Tunneling Protocol) proxy"
|
||||||
|
# default m if CONFIG_DEVEL
|
||||||
|
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/
|
||||||
|
|
||||||
|
|
39
openwrt/package/frickin/Makefile
Normal file
39
openwrt/package/frickin/Makefile
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# $Id$
|
||||||
|
|
||||||
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
|
PKG_NAME:=frickin
|
||||||
|
PKG_VERSION:=1.2
|
||||||
|
PKG_RELEASE:=1
|
||||||
|
PKG_MD5SUM:= dd703f9202b3c0e55237d04ea429c684
|
||||||
|
|
||||||
|
PKG_SOURCE_URL:=@SF/frickin
|
||||||
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
|
PKG_CAT:=zcat
|
||||||
|
|
||||||
|
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,FRICKIN,frickin,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
||||||
|
|
||||||
|
$(PKG_BUILD_DIR)/.configured:
|
||||||
|
touch $@
|
||||||
|
|
||||||
|
$(PKG_BUILD_DIR)/.built:
|
||||||
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
|
all
|
||||||
|
touch $@
|
||||||
|
|
||||||
|
$(IPKG_FRICKIN):
|
||||||
|
install -d -m0755 $(IDIR_FRICKIN)/etc/default
|
||||||
|
install -m0644 ./files/frickin.default $(IDIR_FRICKIN)/etc/default/frickin
|
||||||
|
install -d -m0755 $(IDIR_FRICKIN)/etc/init.d
|
||||||
|
install -m0755 ./files/frickin.init $(IDIR_FRICKIN)/etc/init.d/frickin
|
||||||
|
install -d -m0755 $(IDIR_FRICKIN)/usr/sbin
|
||||||
|
install -m0755 $(PKG_BUILD_DIR)/frickin $(IDIR_FRICKIN)/usr/sbin/
|
||||||
|
$(RSTRIP) $(IDIR_FRICKIN)
|
||||||
|
$(IPKG_BUILD) $(IDIR_FRICKIN) $(PACKAGE_DIR)
|
16
openwrt/package/frickin/files/frickin.default
Normal file
16
openwrt/package/frickin/files/frickin.default
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# ip address of the server the proxy should connect to
|
||||||
|
TARGET_IP=192.168.1.2
|
||||||
|
|
||||||
|
# ip address the proxy should listen to for incoming connections
|
||||||
|
#LISTEN_IP=192.168.1.1
|
||||||
|
|
||||||
|
# maximum number of simultaneous connections
|
||||||
|
#PROXY_CONN_MAX=20
|
||||||
|
|
||||||
|
# user the proxy should run as
|
||||||
|
#PROXY_USER=root
|
||||||
|
|
||||||
|
[ -n "$TARGET_IP" ] && OPTIONS="$OPTIONS -s $TARGET_IP"
|
||||||
|
[ -n "$LISTEN_IP" ] && OPTIONS="$OPTIONS -l $LISTEN_IP"
|
||||||
|
[ -n "$PROXY_CONN_MAX" ] && OPTIONS="$OPTIONS -c $PROXY_CONN_MAX"
|
||||||
|
[ -n "$PROXY_USER" ] && OPTIONS="$OPTIONS -u $PROXY_USER"
|
16
openwrt/package/frickin/files/frickin.init
Normal file
16
openwrt/package/frickin/files/frickin.init
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
BIN=frickin
|
||||||
|
DEFAULT=/etc/default/$BIN
|
||||||
|
[ -f $DEFAULT ] && . $DEFAULT
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
start)
|
||||||
|
$BIN $OPTIONS
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "usage: $0 (start)"
|
||||||
|
exit 1
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit $?
|
1
openwrt/package/frickin/ipkg/frickin.conffiles
Normal file
1
openwrt/package/frickin/ipkg/frickin.conffiles
Normal file
@ -0,0 +1 @@
|
|||||||
|
/etc/default/frickin
|
8
openwrt/package/frickin/ipkg/frickin.control
Normal file
8
openwrt/package/frickin/ipkg/frickin.control
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
Package: frickin
|
||||||
|
Priority: optional
|
||||||
|
Section: net
|
||||||
|
Version: [TBDL]
|
||||||
|
Architecture: [TBDL]
|
||||||
|
Maintainer: Nico <nthill@free.fr>
|
||||||
|
Source: http://openwrt.org/cgi-bin/viewcvs.cgi/openwrt/package/frickin/
|
||||||
|
Description: PPTP (Point-to-Point Tunneling Protocol) proxy
|
Loading…
Reference in New Issue
Block a user