ports/53000: Update www/middleman (maintainer): 1.5.3 -> 1.6
Kirill Ponomarew
ponomarew at oberon.net
Fri Jun 6 19:20:24 UTC 2003
>Number: 53000
>Category: ports
>Synopsis: Update www/middleman (maintainer): 1.5.3 -> 1.6
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Fri Jun 06 12:20:20 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Kirill Ponomarew
>Release: FreeBSD 4.8-STABLE i386
>Organization:
Oberon.net
>Environment:
>Description:
Update www/middleman (maintainer): 1.5.3 -> 1.6
* A security flaw that would allow malicious
Web pages to change proxy settings was fixed.
* A new feature was added that allows
access to the proxy server to be restricted
based on date/time.
* Files that exceed the maximum buffer size can now
be partially buffered and processed.
>How-To-Repeat:
>Fix:
diff -urN middleman.orig/Makefile middleman/Makefile
--- middleman.orig/Makefile Sun May 18 09:43:29 2003
+++ middleman/Makefile Fri Jun 6 21:04:39 2003
@@ -6,7 +6,7 @@
#
PORTNAME= middleman
-PORTVERSION= 1.5.3
+PORTVERSION= 1.6
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= middle-man
@@ -30,24 +30,35 @@
CONFIGURE_ARGS+= --enable-debug
.endif
+.if defined(WITH_MTIME)
+CONFIGURE_ARGS+= --enable-mtime
+.endif
+
MMAN_CACHE= /var/cache/mman
PLIST_SUB+= MMAN_CACHE=${MMAN_CACHE}
post-patch:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|/usr/bin/mman|${PREFIX}/bin/mman|g' \
- -e 's|/etc/mman/config.xml|${PREFIX}/etc/mman.xml|g' \
+ @${REINPLACE_CMD} -e \
+ 's|-lpthread|${PTHREAD_LIBS}|g' \
+ ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e \
+ 's|/usr/bin/mman|${PREFIX}/bin/mman|g ; \
+ s|/etc/mman/config.xml|${PREFIX}/etc/mman.xml|g' \
${WRKSRC}/scripts/mman.init
do-install:
@${MKDIR} ${MMAN_CACHE}
${INSTALL_PROGRAM} ${WRKSRC}/mman ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/config.xml ${PREFIX}/etc/mman.xml
- ${INSTALL_DATA} ${WRKSRC}/scripts/mman.init ${PREFIX}/etc/rc.d/mman.sh.sample
+ ${INSTALL_DATA} ${WRKSRC}/config.xml \
+ ${PREFIX}/etc/mman.xml
+ ${INSTALL_DATA} ${WRKSRC}/scripts/mman.init \
+ ${PREFIX}/etc/rc.d/mman.sh.sample
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/middleman
- ${INSTALL_DATA} ${WRKSRC}/scripts/filter.pl ${PREFIX}/share/doc/middleman/
- ${INSTALL_DATA} ${WRKSRC}/README.html ${PREFIX}/share/doc/middleman/
+ ${INSTALL_DATA} ${WRKSRC}/scripts/filter.pl \
+ ${PREFIX}/share/doc/middleman/
+ ${INSTALL_DATA} ${WRKSRC}/README.html \
+ ${PREFIX}/share/doc/middleman/
.endif
.include <bsd.port.mk>
diff -urN middleman.orig/distinfo middleman/distinfo
--- middleman.orig/distinfo Thu May 8 20:54:58 2003
+++ middleman/distinfo Fri Jun 6 20:54:31 2003
@@ -1 +1 @@
-MD5 (middleman-1.5.3.tgz) = 12439bbf32192c6cf522d352d8a85b32
+MD5 (middleman-1.6.tgz) = 9708ee8d08baf3e7148293a3ea16ab02
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list