diff options
author | miwi <miwi@FreeBSD.org> | 2006-12-04 06:13:07 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2006-12-04 06:13:07 +0800 |
commit | fae6ebd45f6e2f6ee0f4f6df7263320181d70dc1 (patch) | |
tree | e4f03488d4601bcdc82ad9edf27b83981a5c327c | |
parent | 9695ec362b3288ba1e5c27813d7becd41ae7c856 (diff) | |
download | freebsd-ports-gnome-fae6ebd45f6e2f6ee0f4f6df7263320181d70dc1.tar.gz freebsd-ports-gnome-fae6ebd45f6e2f6ee0f4f6df7263320181d70dc1.tar.zst freebsd-ports-gnome-fae6ebd45f6e2f6ee0f4f6df7263320181d70dc1.zip |
Frickin PPTP Proxy is a way to NAT as many PPTP connections as you like
through your OpenBSD PF firewall.
WWW: http://frickin.sourceforge.net/
PR: ports/106241
Submitted by: Alex Miller <asm at asm.kiev.ua>
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/frickin/Makefile | 44 | ||||
-rw-r--r-- | net/frickin/distinfo | 3 | ||||
-rw-r--r-- | net/frickin/files/frickin.sh.in | 38 | ||||
-rw-r--r-- | net/frickin/files/pkg-message.in | 10 | ||||
-rw-r--r-- | net/frickin/pkg-descr | 4 |
6 files changed, 100 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 50f414d065c6..4565255fd76c 100644 --- a/net/Makefile +++ b/net/Makefile @@ -130,6 +130,7 @@ SUBDIR += freeradius SUBDIR += freevrrpd SUBDIR += freewais-sf + SUBDIR += frickin SUBDIR += fspclient SUBDIR += fspd SUBDIR += fsplib diff --git a/net/frickin/Makefile b/net/frickin/Makefile new file mode 100644 index 000000000000..d700f81fdb61 --- /dev/null +++ b/net/frickin/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: frickin +# Date created: 2 December 2006 +# Whom: Alex Miller <asm@asm.kiev.ua> +# +# $FreeBSD$ +# + +PORTNAME= frickin +DISTVERSION= 2.0BETA1 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= frickin + +MAINTAINER= asm@asm.kiev.ua +COMMENT= Frickin PPTP Proxy + +USE_RC_SUBR= frickin.sh +SUB_FILES= pkg-message +PORTDOCS= INSTALL HISTORY +PLIST_FILES= sbin/frickin2 etc/frickin.conf.sample +PKGMESSAGE= ${WRKDIR}/pkg-messag + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME}2 ${PREFIX}/sbin/${PORTNAME}2 + ${INSTALL_DATA} ${WRKSRC}/frickin.conf ${PREFIX}/etc/frickin.conf.sample + +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + +.for i in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +IGNORE= FreeBSD 4.xx does not have pf support +.elif ${OSVERSION} < 600000 +IGNORE= Does not compile with old version of pf +.endif + +.include <bsd.port.post.mk> diff --git a/net/frickin/distinfo b/net/frickin/distinfo new file mode 100644 index 000000000000..ace0117b7c96 --- /dev/null +++ b/net/frickin/distinfo @@ -0,0 +1,3 @@ +MD5 (frickin-2.0BETA1.tar.gz) = 86c3355fedd9f9000188d909ab8974aa +SHA256 (frickin-2.0BETA1.tar.gz) = 3bc84ae187d32f677e74c5039bab68cb4982638849a80798fe58c9b0c508ff2a +SIZE (frickin-2.0BETA1.tar.gz) = 475441 diff --git a/net/frickin/files/frickin.sh.in b/net/frickin/files/frickin.sh.in new file mode 100644 index 000000000000..1a9844fbf350 --- /dev/null +++ b/net/frickin/files/frickin.sh.in @@ -0,0 +1,38 @@ +#!/bin/sh +# +# Startup script for frickin PPTP proxy. +# +# $FreeBSD$ +# + +# REQUIRE: DAEMON + +# Define these frickin_* variables in one of these files: +# /etc/rc.conf +# /etc/rc.conf.local +# /etc/rc.conf.d/frickin +# +# frickin_enable : bool +# Enable the transport ("YES") or not ("NO", the default). +# frickin_config : string +# Path to config file +# + +frickin_enable=${frickin_enable-"NO"} +frickin_conf=${frickin_conf-""} + +. %%RC_SUBR%% + + +name="frickin" +rcvar=`set_rcvar` + +load_rc_config ${name} + +command="%%PREFIX%%/sbin/${name}2" + +if [ ! -z "${frickin_conf}" -a -f ${frickin_conf} ]; then + frickin_flags="-c ${frickin_conf}" +fi + +run_rc_command "$1" diff --git a/net/frickin/files/pkg-message.in b/net/frickin/files/pkg-message.in new file mode 100644 index 000000000000..92bf3168d212 --- /dev/null +++ b/net/frickin/files/pkg-message.in @@ -0,0 +1,10 @@ +Please read %%DOCSDIR%%/INSTALL +for detailed instructions how to use this port. + +echo frickin_enable=\"YES\" >> /etc/rc.conf + +and + +cp %%PREFIX%%/etc/frickin.conf.sample %%PREFIX%%/etc/frickin.conf + +Edit it for your needs before first run. diff --git a/net/frickin/pkg-descr b/net/frickin/pkg-descr new file mode 100644 index 000000000000..f5f8a3bc61ee --- /dev/null +++ b/net/frickin/pkg-descr @@ -0,0 +1,4 @@ +Frickin PPTP Proxy is a way to NAT as many PPTP connections as you like +through your OpenBSD PF firewall. + +WWW: http://frickin.sourceforge.net/ |