Date: Fri, 6 Jan 2006 01:42:13 -0600 (CST) From: Babak Farrokhi <babak@farrokhi.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/91375: new port www/phproxy Message-ID: <20060106074213.B270656421@royalway.propagation.net> Resent-Message-ID: <200601060750.k067o3U8079621@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <babak@farrokhi.net> 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 <bsd.port.mk> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060106074213.B270656421>