Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Dec 2006 01:25:22 +0200
From:      Alex Miller <asm@asm.kiev.ua>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/106241: New port: net/frickin - Frickin PPTP Proxy.
Message-ID:  <E1GqeEU-000AO9-83@piggy.asa.org.ua>
Resent-Message-ID: <200612022330.kB2NUCqd089656@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         106241
>Category:       ports
>Synopsis:       New port: net/frickin - Frickin PPTP Proxy.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 02 23:30:10 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alex Miller
>Release:        FreeBSD 6.1-RELEASE-p10 i386
>Organization:
Home Sweet Home, Inc.
>Environment:
System: FreeBSD 6.1-RELEASE-p10 Sun Oct 1 15:44:42 EEST 2006 i386


>Description:
Frickin PPTP Proxy - a tool for transparent proxying multiply PPTP connections 
with OpenBSD PF firewall.	

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/net/frickin
#	/usr/ports/net/frickin/Makefile
#	/usr/ports/net/frickin/distinfo
#	/usr/ports/net/frickin/pkg-descr
#	/usr/ports/net/frickin/pkg-plist
#	/usr/ports/net/frickin/files
#	/usr/ports/net/frickin/files/frickin.sh.in
#	/usr/ports/net/frickin/pkg-message
#
echo c - /usr/ports/net/frickin
mkdir -p /usr/ports/net/frickin > /dev/null 2>&1
echo x - /usr/ports/net/frickin/Makefile
sed 's/^X//' >/usr/ports/net/frickin/Makefile << 'END-of-/usr/ports/net/frickin/Makefile'
X# New ports collection makefile for:	frickin
X# Date created:				3 December 2006
X# Whom:					Alex Miller <asm@asm.kiev.ua>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	frickin
XDISTVERSION=	2.0BETA1
XPORTREVISION=   1
XCATEGORIES=	net
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	frickin
X
XMAINTAINER=	asm@asm.kiev.ua
XCOMMENT=	Frickin PPTP Proxy
X
XUSE_RC_SUBR=	frickin.sh
XPORTDOCS=	INSTALL HISTORY
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME}2 ${PREFIX}/sbin/${PORTNAME}2
X	${INSTALL_DATA} ${WRKSRC}/frickin.conf ${PREFIX}/etc/frickin.conf.sample
X
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X
X.for i in ${PORTDOCS}
X	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 500000
XIGNORE=		does not find pthread libraries on 4.x
X.endif
X
X.include <bsd.port.post.mk>
END-of-/usr/ports/net/frickin/Makefile
echo x - /usr/ports/net/frickin/distinfo
sed 's/^X//' >/usr/ports/net/frickin/distinfo << 'END-of-/usr/ports/net/frickin/distinfo'
XMD5 (frickin-2.0BETA1.tar.gz) = 86c3355fedd9f9000188d909ab8974aa
XSHA256 (frickin-2.0BETA1.tar.gz) = 3bc84ae187d32f677e74c5039bab68cb4982638849a80798fe58c9b0c508ff2a
XSIZE (frickin-2.0BETA1.tar.gz) = 475441
END-of-/usr/ports/net/frickin/distinfo
echo x - /usr/ports/net/frickin/pkg-descr
sed 's/^X//' >/usr/ports/net/frickin/pkg-descr << 'END-of-/usr/ports/net/frickin/pkg-descr'
XFrickin PPTP Proxy is a way to NAT as many PPTP connections as you like
Xthrough your OpenBSD PF firewall.
X
XWWW: http://frickin.sourceforge.net/
END-of-/usr/ports/net/frickin/pkg-descr
echo x - /usr/ports/net/frickin/pkg-plist
sed 's/^X//' >/usr/ports/net/frickin/pkg-plist << 'END-of-/usr/ports/net/frickin/pkg-plist'
Xsbin/frickin2
Xetc/frickin.conf.sample
X@dirrmtry %%DOCSDIR%%
X
END-of-/usr/ports/net/frickin/pkg-plist
echo c - /usr/ports/net/frickin/files
mkdir -p /usr/ports/net/frickin/files > /dev/null 2>&1
echo x - /usr/ports/net/frickin/files/frickin.sh.in
sed 's/^X//' >/usr/ports/net/frickin/files/frickin.sh.in << 'END-of-/usr/ports/net/frickin/files/frickin.sh.in'
X#!/bin/sh
X#
X# Startup script for frickin PPTP proxy.
X#
X# $FreeBSD$
X#
X
X# REQUIRE: DAEMON
X
X# Define these frickin_* variables in one of these files:
X#       /etc/rc.conf
X#       /etc/rc.conf.local
X#       /etc/rc.conf.d/frickin
X#
X# frickin_enable : bool
X#   Enable the transport ("YES") or not ("NO", the default).
X# frickin_config : string
X#   Path to config file
X#
X
Xfrickin_enable=${frickin_enable-"NO"}
Xfrickin_conf=${frickin_conf-""}
X
X. %%RC_SUBR%%
X
X
Xname="frickin"
Xrcvar=`set_rcvar`
X
Xload_rc_config ${name}
X
Xcommand="%%PREFIX%%/sbin/${name}2"
X
Xif [ ! -z "${frickin_conf}" -a -f ${frickin_conf} ]; then
X	frickin_flags="-c ${frickin_conf}"
Xfi
X
Xrun_rc_command "$1"
END-of-/usr/ports/net/frickin/files/frickin.sh.in
echo x - /usr/ports/net/frickin/pkg-message
sed 's/^X//' >/usr/ports/net/frickin/pkg-message << 'END-of-/usr/ports/net/frickin/pkg-message'
XPlease read /usr/local/share/doc/frickin/INSTALL
Xfor detailed instructions how to use this port.
X
Xecho frickin_enable=\"YES\" >> /etc/rc.conf 
X
Xand
X
Xcp /usr/local/etc/frickin.conf.sample /usr/local/etc/frickin.conf
X
XEdit it for your needs before first run.
END-of-/usr/ports/net/frickin/pkg-message
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1GqeEU-000AO9-83>