update to 1.6.4, from frantisek holop (taking MAINTAINER).

This commit is contained in:
sthen 2009-04-11 23:54:12 +00:00
parent a4cbf1baa2
commit 3cd037f926
4 changed files with 57 additions and 33 deletions

View File

@ -1,42 +1,37 @@
# $OpenBSD: Makefile,v 1.17 2009/02/02 12:29:16 martynas Exp $
# $OpenBSD: Makefile,v 1.18 2009/04/11 23:54:12 sthen Exp $
COMMENT= lightweight HTTP/SSL proxy
VERSION= 1.6.3
VERSION= 1.6.4
DISTNAME= tinyproxy-${VERSION}
PKGNAME= ${DISTNAME}p2
CATEGORIES= www net
HOMEPAGE= http://tinyproxy.sourceforge.net/
HOMEPAGE= https://www.banu.com/tinyproxy/
MASTER_SITES= https://www.banu.com/pub/tinyproxy/1.6/
MAINTAINER= frantisek holop <minusf@obiit.org>
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tinyproxy/}
# GPL
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
USE_LIBTOOL= Yes
CONFIGURE_STYLE= simple
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-config=${SYSCONFDIR}/tinyproxy/tinyproxy.conf
MAKE_FLAGS= CFLAGS="${CFLAGS}"
CFLAGS+= "-DNDEBUG"
DOCS= HT* RFC_INFO filter-howto.txt *.html
REGRESS_TARGET= check
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/tinyproxy ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKBUILD}/src/tinyproxy ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/doc/tinyproxy.8 ${PREFIX}/man/man8
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tinyproxy
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tinyproxy
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${DOCS} \
${PREFIX}/share/doc/tinyproxy
cd ${WRKSRC}/doc && ${INSTALL_DATA} tinyproxy.conf \
${PREFIX}/share/examples/tinyproxy
${INSTALL_DATA} ${WRKSRC}/doc/{debug,default,stats}.html \
${PREFIX}/share/doc/tinyproxy
${INSTALL_DATA} ${WRKSRC}/doc/tinyproxy.conf \
${PREFIX}/share/examples/tinyproxy
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (tinyproxy-1.6.3.tar.gz) = vRTQKbEmIbz9fucbL0iT2g==
RMD160 (tinyproxy-1.6.3.tar.gz) = pVA9A73+AP0jLGQ7UYvWw+A03DM=
SHA1 (tinyproxy-1.6.3.tar.gz) = TxAfKiTZuRf+4Dpl0nvbv8ifhfc=
SHA256 (tinyproxy-1.6.3.tar.gz) = z08gBfzWnxAIfFmDmMGhVtGCe5+xHHaatlh7ex6kotw=
SIZE (tinyproxy-1.6.3.tar.gz) = 467348
MD5 (tinyproxy-1.6.4.tar.gz) = MVe5FZqNAF9CSM9NTWxl4g==
RMD160 (tinyproxy-1.6.4.tar.gz) = CpFVkch/LTB1/nzyk0uYknZooXw=
SHA1 (tinyproxy-1.6.4.tar.gz) = Gv3WqY6LH4arK2Z8DRXBJp7ao1w=
SHA256 (tinyproxy-1.6.4.tar.gz) = 2a0jShscCA4qyTRJ5TGGEf/XJ3EzUrbqn/d9EKcbAkI=
SIZE (tinyproxy-1.6.4.tar.gz) = 316567

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-doc_tinyproxy_conf,v 1.1 2009/02/02 12:29:16 martynas Exp $
--- doc/tinyproxy.conf.orig Fri Aug 6 19:23:48 2004
+++ doc/tinyproxy.conf Mon Feb 2 06:41:40 2009
$OpenBSD: patch-doc_tinyproxy_conf,v 1.2 2009/04/11 23:54:12 sthen Exp $
--- doc/tinyproxy.conf.orig Sun Aug 24 06:58:43 2008
+++ doc/tinyproxy.conf Tue Mar 24 03:09:09 2009
@@ -6,8 +6,8 @@
# Name of the user the tinyproxy daemon should switch to after the port
# has been bound.
@ -12,3 +12,36 @@ $OpenBSD: patch-doc_tinyproxy_conf,v 1.1 2009/02/02 12:29:16 martynas Exp $
#
# Port to listen on.
@@ -40,25 +40,25 @@ Timeout 600
# /usr/share/tinyproxy
# /etc/tinyproxy
#
-# ErrorFile 404 "/usr/share/tinyproxy/404.html"
-# ErrorFile 400 "/usr/share/tinyproxy/400.html"
-# ErrorFile 503 "/usr/share/tinyproxy/503.html"
-# ErrorFile 403 "/usr/share/tinyproxy/403.html"
-# ErrorFile 408 "/usr/share/tinyproxy/408.html"
+# ErrorFile 404 "/usr/local/share/tinyproxy/404.html"
+# ErrorFile 400 "/usr/local/share/tinyproxy/400.html"
+# ErrorFile 503 "/usr/local/share/tinyproxy/503.html"
+# ErrorFile 403 "/usr/local/share/tinyproxy/403.html"
+# ErrorFile 408 "/usr/local/share/tinyproxy/408.html"
#
# DefaultErrorFile: The HTML file that gets sent if there is no
# HTML file defined with an ErrorFile keyword for the HTTP error
# that has occured.
#
-DefaultErrorFile "/usr/share/tinyproxy/default.html"
+DefaultErrorFile "/usr/local/share/tinyproxy/default.html"
#
# StatFile: The HTML file that gets sent when a request is made
# for the stathost. If this file doesn't exist a basic page is
# hardcoded in tinyproxy.
#
-StatFile "/usr/share/tinyproxy/stats.html"
+StatFile "/usr/local/share/tinyproxy/stats.html"
#
# Where to log the information. Either LogFile or Syslog should be set,

View File

@ -1,15 +1,11 @@
@comment $OpenBSD: PLIST,v 1.7 2009/02/02 12:29:16 martynas Exp $
@comment $OpenBSD: PLIST,v 1.8 2009/04/11 23:54:12 sthen Exp $
@newgroup _tinyproxy:617
@newuser _tinyproxy:617:_tinyproxy:daemon:tinyproxy:/nonexistent:/sbin/nologin
@man man/man8/tinyproxy.8
sbin/tinyproxy
@bin sbin/tinyproxy
share/doc/tinyproxy/
share/doc/tinyproxy/HTML_VARIABLES
share/doc/tinyproxy/HTTP_ERROR_CODES
share/doc/tinyproxy/RFC_INFO
share/doc/tinyproxy/debug.html
share/doc/tinyproxy/default.html
share/doc/tinyproxy/filter-howto.txt
share/doc/tinyproxy/stats.html
share/examples/tinyproxy/
@sample ${SYSCONFDIR}/tinyproxy/