diff options
author | Max Khon <fjoe@FreeBSD.org> | 2003-06-09 18:11:16 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2003-06-09 18:11:16 +0000 |
commit | b77d28bb4435606edf67e7d1c1b4bc377a477328 (patch) | |
tree | 3759f0cab3ab3258e5391109ecf8640282c96893 /www | |
parent | * Remove ghc's package.conf.old. (diff) |
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.
PR: 53000
Submitted by: Kirill Ponomarew (MAINTAINER)
Notes
Notes:
svn path=/head/; revision=82606
Diffstat (limited to 'www')
-rw-r--r-- | www/middleman/Makefile | 27 | ||||
-rw-r--r-- | www/middleman/distinfo | 2 |
2 files changed, 20 insertions, 9 deletions
diff --git a/www/middleman/Makefile b/www/middleman/Makefile index 212ca735b082..093262ff4381 100644 --- a/www/middleman/Makefile +++ b/www/middleman/Makefile @@ -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-syslog 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 --git a/www/middleman/distinfo b/www/middleman/distinfo index b1e99c004330..1860b6489ec0 100644 --- a/www/middleman/distinfo +++ b/www/middleman/distinfo @@ -1 +1 @@ -MD5 (middleman-1.5.3.tgz) = 12439bbf32192c6cf522d352d8a85b32 +MD5 (middleman-1.6.tgz) = 9708ee8d08baf3e7148293a3ea16ab02 |