From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Dec 2 23:30:14 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7870716A47B for ; Sat, 2 Dec 2006 23:30:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 852FD43CA2 for ; Sat, 2 Dec 2006 23:29:49 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kB2NUCuJ089667 for ; Sat, 2 Dec 2006 23:30:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kB2NUCqd089656; Sat, 2 Dec 2006 23:30:12 GMT (envelope-from gnats) Resent-Date: Sat, 2 Dec 2006 23:30:12 GMT Resent-Message-Id: <200612022330.kB2NUCqd089656@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alex Miller Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CEE4116A492 for ; Sat, 2 Dec 2006 23:26:53 +0000 (UTC) (envelope-from asm@asa.org.ua) Received: from piggy.asa.org.ua (asa.org.ua [213.130.25.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1C2243CB6 for ; Sat, 2 Dec 2006 23:24:42 +0000 (GMT) (envelope-from asm@asa.org.ua) Received: from asm by piggy.asa.org.ua with local id 1GqeEU-000AO9-83 for FreeBSD-gnats-submit@freebsd.org; Sun, 03 Dec 2006 01:25:22 +0200 Message-Id: Date: Sun, 03 Dec 2006 01:25:22 +0200 From: Alex Miller To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/106241: New port: net/frickin - Frickin PPTP Proxy. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alex Miller List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Dec 2006 23:30:14 -0000 >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 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 X X.if ${OSVERSION} < 500000 XIGNORE= does not find pthread libraries on 4.x X.endif X X.include 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: