diff options
author | edwin <edwin@FreeBSD.org> | 2006-01-07 02:12:36 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-01-07 02:12:36 +0000 |
commit | f4fedea49fe632d710e5d77fac57906ffc3151fd (patch) | |
tree | 3043287fa5a072fdcfe68918c6c9ef6e9c5c1536 /www | |
parent | 0e15d2f25a8a6a62a44e49e5ddcf0d771c212e11 (diff) | |
download | FreeBSD-ports-f4fedea49fe632d710e5d77fac57906ffc3151fd.zip FreeBSD-ports-f4fedea49fe632d710e5d77fac57906ffc3151fd.tar.gz |
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 <babak@farrokhi.net>
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/phproxy/Makefile | 44 | ||||
-rw-r--r-- | www/phproxy/distinfo | 3 | ||||
-rw-r--r-- | www/phproxy/pkg-descr | 15 | ||||
-rw-r--r-- | www/phproxy/pkg-message | 10 | ||||
-rw-r--r-- | www/phproxy/pkg-plist | 12 |
6 files changed, 85 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 4f12d8b..77368da 100644 --- a/www/Makefile +++ b/www/Makefile @@ -733,6 +733,7 @@ SUBDIR += phpbb SUBDIR += phpgedview SUBDIR += phpmyfaq + SUBDIR += phproxy SUBDIR += phpsurveyor SUBDIR += phpwebapp SUBDIR += phpwiki diff --git a/www/phproxy/Makefile b/www/phproxy/Makefile new file mode 100644 index 0000000..7d57362 --- /dev/null +++ b/www/phproxy/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: eventum +# Date created: 2006-01-06 +# Whom: Babak Farrokhi <babak@farrokhi.net> +# +# $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 <bsd.port.mk> diff --git a/www/phproxy/distinfo b/www/phproxy/distinfo new file mode 100644 index 0000000..f77e8c6 --- /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 0000000..c55c5e1 --- /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 0000000..48556ea --- /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 0000000..55c9a6a --- /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%% |