From cf0aabfe41935777fcf16811002e07eeed5ee828 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sat, 7 Jan 2006 02:12:36 +0000 Subject: new port www/phproxy 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. PR: ports/91375 Submitted by: Babak Farrokhi --- www/phproxy/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++ www/phproxy/distinfo | 3 +++ www/phproxy/pkg-descr | 15 +++++++++++++++ www/phproxy/pkg-message | 10 ++++++++++ www/phproxy/pkg-plist | 12 ++++++++++++ 5 files changed, 84 insertions(+) create mode 100644 www/phproxy/Makefile create mode 100644 www/phproxy/distinfo create mode 100644 www/phproxy/pkg-descr create mode 100644 www/phproxy/pkg-message create mode 100644 www/phproxy/pkg-plist (limited to 'www/phproxy') diff --git a/www/phproxy/Makefile b/www/phproxy/Makefile new file mode 100644 index 000000000000..7d573627e791 --- /dev/null +++ b/www/phproxy/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: eventum +# Date created: 2006-01-06 +# Whom: Babak Farrokhi +# +# $FreeBSD$ +# + +PORTNAME= phproxy +PORTVERSION= 0.4 +CATEGORIES= www +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= poxy +DISTNAME= poxy-${DISTVERSION} + +MAINTAINER= babak@farrokhi.net +COMMENT= PHP based web proxy + +NO_BUILD= YES +WANT_PHP_WEB= YES +USE_ZIP= YES +USE_PHP= YES +PLIST_SUB+= PHPROXY=${PHPROXY} +PHPROXY= www/${PORTNAME} +EXTRACT_AFTER_ARGS+= -d ${WRKSRC} + +DOCFILES= ChangeLog.txt FAQ.txt LICENSE.txt README.txt TODO.txt +ROOTFILES= PHProxy.class.php index.php javascript.js style.css url_form.inc + +do-install: + -${MKDIR} ${PREFIX}/${PHPROXY} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PHPROXY} + @(cd ${WRKSRC} && ${CP} ${ROOTFILES} ${PREFIX}/${PHPROXY}/) + @${CHMOD} 755 ${PREFIX}/${PHPROXY} +# @${CHMOD} 644 ${PREFIX}/${PHPROXY}/* + +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for i in ${DOCFILES} + @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i} +.endfor +.endif + @${CAT} ${PKGMESSAGE} + +.include diff --git a/www/phproxy/distinfo b/www/phproxy/distinfo new file mode 100644 index 000000000000..f77e8c61a9cd --- /dev/null +++ b/www/phproxy/distinfo @@ -0,0 +1,3 @@ +MD5 (poxy-0.4.zip) = 98280d87c197dcb2e244f80760a03894 +SHA256 (poxy-0.4.zip) = 7ede0b651261caa1edd098c2017e58ac6e1d179d2b309ebab220512777fa86a5 +SIZE (poxy-0.4.zip) = 24739 diff --git a/www/phproxy/pkg-descr b/www/phproxy/pkg-descr new file mode 100644 index 000000000000..c55c5e1a52e6 --- /dev/null +++ b/www/phproxy/pkg-descr @@ -0,0 +1,15 @@ +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. + +The server that this script runs on simply acts as a medium +that retrives resources for you. The only IP address shown +will be the server's IP address. So basically, it is indirect +browsing. The only catch being that the server has to has access +to those otherwise inaccessible resources. + +WWW: http://poxy.sf.net/ + +-- Babak Farrokhi +babak@farrokhi.net diff --git a/www/phproxy/pkg-message b/www/phproxy/pkg-message new file mode 100644 index 000000000000..48556ea85e78 --- /dev/null +++ b/www/phproxy/pkg-message @@ -0,0 +1,10 @@ + +------------------------------------------------------------ +NOTE: + +- safe_mode must be turned off in php.ini +- file_uploads turned On for HTTP file uploads. +- JavaScript turned on for the browser. Setting the flags and + encrypting the supplied URL initially requires the use of + JavaScript. +------------------------------------------------------------ diff --git a/www/phproxy/pkg-plist b/www/phproxy/pkg-plist new file mode 100644 index 000000000000..55c9a6a9abf4 --- /dev/null +++ b/www/phproxy/pkg-plist @@ -0,0 +1,12 @@ +%%DOCSDIR%%/ChangeLog.txt +%%DOCSDIR%%/FAQ.txt +%%DOCSDIR%%/LICENSE.txt +%%DOCSDIR%%/README.txt +%%DOCSDIR%%/TODO.txt +%%PHPROXY%%/PHProxy.class.php +%%PHPROXY%%/index.php +%%PHPROXY%%/javascript.js +%%PHPROXY%%/style.css +%%PHPROXY%%/url_form.inc +@dirrm %%PHPROXY%% +@dirrm %%DOCSDIR%% -- cgit v1.2.3