Upgrade to 1.4.3.

PR:		ports/36049
Submitted by:	maintainer
This commit is contained in:
Vanilla I. Shu 2002-03-22 07:32:13 +00:00
parent 8a24b5f58b
commit cbde27d2e2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56443
6 changed files with 56 additions and 11 deletions

View file

@ -6,19 +6,27 @@
#
PORTNAME= tinyproxy
PORTVERSION= 1.3.3b
PORTVERSION= 1.4.3
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= mitsuru@riken.go.jp
BUILD_DEPENDS= ${LOCALBASE}/lib/libadns.a:${PORTSDIR}/net/adns
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --bindir=${PREFIX}/sbin --with-log-file=/var/log/tinyproxy.log --with-port=8080 --with-user=nobody --with-adns-include=${LOCALBASE}/include --with-adns-lib=${LOCALBASE}/lib
CONFIGURE_ARGS= --bindir=${PREFIX}/sbin --with-config=${PREFIX}/etc/tinyproxy/tinyproxy.conf
MAN8= tinyproxy.8
post-patch:
@cd ${WRKSRC}/doc; f=tinyproxy.8; \
${MV} $$f $$f.orig; \
${SED} -e s:/etc/tinyproxy/tinyproxy.conf:${PREFIX}/etc/tinyproxy/tinyproxy.conf: \
< $$f.orig > $$f
post-install:
${MKDIR} ${PREFIX}/etc/tinyproxy
${INSTALL_DATA} ${WRKSRC}/doc/tinyproxy.conf ${PREFIX}/etc/tinyproxy/tinyproxy.conf.sample
.include <bsd.port.mk>

View file

@ -1 +1 @@
MD5 (tinyproxy-1.3.3b.tar.gz) = bd60ff82019c63abc67491c261e9d351
MD5 (tinyproxy-1.4.3.tar.gz) = d8b35d99e739023e8442ece2e3546398

View file

@ -0,0 +1,11 @@
--- src/sock.c.dist Tue Nov 13 06:10:29 2001
+++ src/sock.c Thu Feb 7 18:33:24 2002
@@ -259,7 +259,7 @@
for (n = 1; n < maxlen; n++) {
again:
- if ((rc = recv(fd, &c, 1, MSG_NOSIGNAL)) == 1) {
+ if ((rc = recv(fd, &c, 1, 0)) == 1) {
*ptr++ = c;
if (c == '\n')
break;

View file

@ -0,0 +1,22 @@
--- src/tinyproxy.h.dist Fri Oct 26 02:27:17 2001
+++ src/tinyproxy.h Thu Feb 7 18:34:32 2002
@@ -27,9 +27,6 @@
* Include standard headers which are used through-out tinyproxy
*/
#include <sys/types.h>
-#ifdef HAVE_SYS_RESOURCE_H
-# include <sys/resource.h>
-#endif
#ifdef HAVE_SYS_SELECT_H
# include <sys/select.h>
#endif
@@ -44,6 +41,9 @@
# else
# include <time.h>
# endif
+#endif
+#ifdef HAVE_SYS_RESOURCE_H
+# include <sys/resource.h>
#endif
#include <sys/uio.h>
#include <netinet/in.h>

View file

@ -1,10 +1,12 @@
Tinyproxy is a lightweight, non-caching,optionally anonymizing http proxy.
It is designed to consume a minimum of system resources.
It listens on a given TCP port and handles HTTP proxy requests.
tinyproxy is a GPLed, lightweight HTTP proxy. Designed from the ground up to be
fast and yet small, it is an ideal solution for sites where a full-featured
HTTP proxy is required, but the system resources required to run a more
demanding HTTP proxy are unavailable. tinyproxy is fully compatible with all
existing web browsers, and has a number of useful features including
anonymous mode.
Note that tinyproxy requires commandline arguments to run in anonymizing
mode. For most people, "/usr/local/sbin/tinyproxy -a Host: -a Authorization:"
is sufficient for an anonymizing proxy.
Note that tinyproxy requires configuration to run in anonymizing
mode. See tinyproxy.conf.sample for detail.
WWW: http://tinyproxy.sourceforge.net/

View file

@ -1 +1,3 @@
sbin/tinyproxy
etc/tinyproxy/tinyproxy.conf.sample
@dirrm etc/tinyproxy