hi there,

here is another attempt at the tinyproxy update.

the biggest change is probably the license: gpl v3

-f
-- 
you're old when you forget how to start your rocking chair.
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/tinyproxy/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- Makefile    2 Feb 2009 12:29:16 -0000       1.17
+++ Makefile    11 Apr 2009 23:04:12 -0000
@@ -2,41 +2,36 @@
 
 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 <min...@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>
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/tinyproxy/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo    5 Apr 2007 17:26:26 -0000       1.7
+++ distinfo    11 Apr 2009 23:04:12 -0000
@@ -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
Index: patches/patch-doc_tinyproxy_conf
===================================================================
RCS file: /cvs/ports/www/tinyproxy/patches/patch-doc_tinyproxy_conf,v
retrieving revision 1.1
diff -u -r1.1 patch-doc_tinyproxy_conf
--- patches/patch-doc_tinyproxy_conf    2 Feb 2009 12:29:16 -0000       1.1
+++ patches/patch-doc_tinyproxy_conf    11 Apr 2009 23:04:12 -0000
@@ -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
+--- 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 @@
  
  #
  # 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,
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/tinyproxy/pkg/PLIST,v
retrieving revision 1.7
diff -u -r1.7 PLIST
--- pkg/PLIST   2 Feb 2009 12:29:16 -0000       1.7
+++ pkg/PLIST   11 Apr 2009 23:04:12 -0000
@@ -2,14 +2,10 @@
 @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/

Reply via email to