diff options
author | fjoe <fjoe@FreeBSD.org> | 2003-06-10 02:11:16 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2003-06-10 02:11:16 +0800 |
commit | 5011749a6ef4ddb8b3e14ff5be755f5681b01195 (patch) | |
tree | 586b02762c105b0fcea88c97db05155e98a9e24b /www/middleman/Makefile | |
parent | d5cb0f1508287862630967f5a6ea9f3d5a4beffa (diff) | |
download | freebsd-ports-gnome-5011749a6ef4ddb8b3e14ff5be755f5681b01195.tar.gz freebsd-ports-gnome-5011749a6ef4ddb8b3e14ff5be755f5681b01195.tar.zst freebsd-ports-gnome-5011749a6ef4ddb8b3e14ff5be755f5681b01195.zip |
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)
Diffstat (limited to 'www/middleman/Makefile')
-rw-r--r-- | www/middleman/Makefile | 27 |
1 files changed, 19 insertions, 8 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> |