From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jan 6 07:50:05 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 [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2B8F16A41F for ; Fri, 6 Jan 2006 07:50:05 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C138A43D49 for ; Fri, 6 Jan 2006 07:50:03 +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 k067o3xQ079622 for ; Fri, 6 Jan 2006 07:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k067o3U8079621; Fri, 6 Jan 2006 07:50:03 GMT (envelope-from gnats) Resent-Date: Fri, 6 Jan 2006 07:50:03 GMT Resent-Message-Id: <200601060750.k067o3U8079621@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, Babak Farrokhi Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA54C16A41F for ; Fri, 6 Jan 2006 07:42:15 +0000 (GMT) (envelope-from farrokhi@royalway.propagation.net) Received: from royalway.propagation.net (royalway.propagation.net [66.221.228.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 463F843D46 for ; Fri, 6 Jan 2006 07:42:15 +0000 (GMT) (envelope-from farrokhi@royalway.propagation.net) Received: from localhost (localhost [127.0.0.1]) by royalway.propagation.net (Postfix) with ESMTP id 4A06B56422 for ; Fri, 6 Jan 2006 01:42:16 -0600 (CST) Received: from royalway.propagation.net ([127.0.0.1]) by localhost (royalway.propagation.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 76312-05 for ; Fri, 6 Jan 2006 01:42:13 -0600 (CST) Received: by royalway.propagation.net (Postfix, from userid 1002) id B270656421; Fri, 6 Jan 2006 01:42:13 -0600 (CST) Message-Id: <20060106074213.B270656421@royalway.propagation.net> Date: Fri, 6 Jan 2006 01:42:13 -0600 (CST) From: Babak Farrokhi To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/91375: new port www/phproxy X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Babak Farrokhi List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2006 07:50:05 -0000 >Number: 91375 >Category: ports >Synopsis: new port www/phproxy >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jan 06 07:50:02 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Babak Farrokhi >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD royalway.propagation.net 5.4-STABLE FreeBSD 5.4-STABLE #6: Thu Jun 30 05:11:17 CDT 2005 root@royalway.propagation.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: PHProxy is a web HTTP (for now; FTP is not supprted yet) proxy programmed in PHP designed to bypass firewalls and other proxy restrictions through a web interface very similar to the popular CGIProxy. >How-To-Repeat: >Fix: --- phproxy.shar begins here --- # 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: # # phproxy # phproxy/Makefile # phproxy/distinfo # phproxy/pkg-descr # phproxy/pkg-plist # phproxy/pkg-message # echo c - phproxy mkdir -p phproxy > /dev/null 2>&1 echo x - phproxy/Makefile sed 's/^X//' >phproxy/Makefile << 'END-of-phproxy/Makefile' X# New ports collection makefile for: eventum X# Date created: 2006-01-06 X# Whom: Babak Farrokhi X# X# $FreeBSD$ X# X XPORTNAME= phproxy XPORTVERSION= 0.4 XCATEGORIES= www XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= poxy XDISTNAME= poxy-${DISTVERSION} X XMAINTAINER= babak@farrokhi.net XCOMMENT= PHP based web proxy X XNO_BUILD= YES XWANT_PHP_WEB= YES XUSE_ZIP= YES XUSE_PHP= YES XPLIST_SUB+= PHPROXY=${PHPROXY} XPHPROXY= www/${PORTNAME} XEXTRACT_AFTER_ARGS+= -d ${WRKSRC} X XDOCFILES= ChangeLog.txt FAQ.txt LICENSE.txt README.txt TODO.txt XROOTFILES= PHProxy.class.php index.php javascript.js style.css url_form.inc X Xdo-install: X -${MKDIR} ${PREFIX}/${PHPROXY} X @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PHPROXY} X @(cd ${WRKSRC} && ${CP} ${ROOTFILES} ${PREFIX}/${PHPROXY}/) X @${CHMOD} 755 ${PREFIX}/${PHPROXY} X# @${CHMOD} 644 ${PREFIX}/${PHPROXY}/* X X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X.for i in ${DOCFILES} X @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i} X.endfor X.endif X @${CAT} ${PKGMESSAGE} X X.include END-of-phproxy/Makefile echo x - phproxy/distinfo sed 's/^X//' >phproxy/distinfo << 'END-of-phproxy/distinfo' XMD5 (poxy-0.4.zip) = 98280d87c197dcb2e244f80760a03894 XSHA256 (poxy-0.4.zip) = 7ede0b651261caa1edd098c2017e58ac6e1d179d2b309ebab220512777fa86a5 XSIZE (poxy-0.4.zip) = 24739 END-of-phproxy/distinfo echo x - phproxy/pkg-descr sed 's/^X//' >phproxy/pkg-descr << 'END-of-phproxy/pkg-descr' XPHProxy is a web HTTP (for now; FTP is not supprted yet) Xproxy programmed in PHP designed to bypass firewalls and Xother proxy restrictions through a web interface very similar Xto the popular CGIProxy. X XThe server that this script runs on simply acts as a medium Xthat retrives resources for you. The only IP address shown Xwill be the server's IP address. So basically, it is indirect Xbrowsing. The only catch being that the server has to has access Xto those otherwise inaccessible resources. X XWWW: http://poxy.sf.net/ X X-- Babak Farrokhi Xbabak@farrokhi.net END-of-phproxy/pkg-descr echo x - phproxy/pkg-plist sed 's/^X//' >phproxy/pkg-plist << 'END-of-phproxy/pkg-plist' X%%DOCSDIR%%/ChangeLog.txt X%%DOCSDIR%%/FAQ.txt X%%DOCSDIR%%/LICENSE.txt X%%DOCSDIR%%/README.txt X%%DOCSDIR%%/TODO.txt X%%PHPROXY%%/PHProxy.class.php X%%PHPROXY%%/index.php X%%PHPROXY%%/javascript.js X%%PHPROXY%%/style.css X%%PHPROXY%%/url_form.inc X@dirrm %%PHPROXY%% X@dirrm %%DOCSDIR%% END-of-phproxy/pkg-plist echo x - phproxy/pkg-message sed 's/^X//' >phproxy/pkg-message << 'END-of-phproxy/pkg-message' X X------------------------------------------------------------ XNOTE: X X- safe_mode must be turned off in php.ini X- file_uploads turned On for HTTP file uploads. X- JavaScript turned on for the browser. Setting the flags and X encrypting the supplied URL initially requires the use of X JavaScript. X------------------------------------------------------------ END-of-phproxy/pkg-message exit --- phproxy.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: