diff options
author | edwin <edwin@FreeBSD.org> | 2006-01-07 10:12:36 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-01-07 10:12:36 +0800 |
commit | f4fedea49fe632d710e5d77fac57906ffc3151fd (patch) | |
tree | 3043287fa5a072fdcfe68918c6c9ef6e9c5c1536 /www/phproxy | |
parent | 0e15d2f25a8a6a62a44e49e5ddcf0d771c212e11 (diff) | |
download | freebsd-ports-gnome-f4fedea49fe632d710e5d77fac57906ffc3151fd.tar.gz freebsd-ports-gnome-f4fedea49fe632d710e5d77fac57906ffc3151fd.tar.zst freebsd-ports-gnome-f4fedea49fe632d710e5d77fac57906ffc3151fd.zip |
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/phproxy')
-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 |
5 files changed, 84 insertions, 0 deletions
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 <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 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%% |