aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2017-03-21 20:50:43 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2017-03-21 20:50:43 +0000
commit13117c033cd3fd1a426b06c7f46df16c5c9fe80c (patch)
tree453b6b748bc3f44de6666fe7b96f1faf86f71357
parent8bdee165b4a5bbe984fff92e5e77f301b342e9e0 (diff)
downloadports-13117c033cd3fd1a426b06c7f46df16c5c9fe80c.tar.gz
ports-13117c033cd3fd1a426b06c7f46df16c5c9fe80c.zip
Update `www/mini_httpd' to version 1.27. Changes since 1.26:
Fixed bug that prevented binary CGI results from working. This bug was introduced in 1.23. Noticed and diagnosed by Qipeng Zhang. While here, wrap the lines that exceed 80-character limit. TIMESTAMP (mini_httpd-1.27.tar.gz) = 1488912725 PR: 217932 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=436653
-rw-r--r--www/mini_httpd/Makefile31
-rw-r--r--www/mini_httpd/distinfo6
2 files changed, 23 insertions, 14 deletions
diff --git a/www/mini_httpd/Makefile b/www/mini_httpd/Makefile
index c97b17f57985..4aef9ffa5223 100644
--- a/www/mini_httpd/Makefile
+++ b/www/mini_httpd/Makefile
@@ -1,8 +1,8 @@
-# Created by: se
+# Created by: Stefan Esser <se@FreeBSD.org>
# $FreeBSD$
PORTNAME= mini_httpd
-PORTVERSION= 1.26
+PORTVERSION= 1.27
CATEGORIES= www ipv6
MASTER_SITES= http://www.acme.com/software/mini_httpd/
@@ -15,18 +15,27 @@ USES= cpe ssl
CPE_VENDOR= acme
post-patch:
- @${REINPLACE_CMD} -e 's/htpasswd/${PORTNAME}-htpasswd/g' ${WRKSRC}/htpasswd.1
- @${REINPLACE_CMD} -e 's/\(htpasswd(1)\)/${PORTNAME}-\1/g' ${WRKSRC}/${PORTNAME}.8
+ @${REINPLACE_CMD} -e 's/htpasswd/${PORTNAME}-htpasswd/' \
+ ${WRKSRC}/htpasswd.1
+ @${REINPLACE_CMD} -e 's/\(htpasswd(1)\)/${PORTNAME}-\1/' \
+ ${WRKSRC}/${PORTNAME}.8
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
${INSTALL_PROGRAM} ${WRKSRC}/mini_httpd ${STAGEDIR}${PREFIX}/sbin
- ${INSTALL_PROGRAM} ${WRKSRC}/htpasswd ${STAGEDIR}${PREFIX}/sbin/${PORTNAME}-htpasswd
- ${INSTALL_SCRIPT} ${WRKSRC}/scripts/500.mini_httpd-rotate ${STAGEDIR}${PREFIX}/etc/periodic/daily
- ${INSTALL_SCRIPT} ${WRKSRC}/scripts/mini_httpd_wrapper ${STAGEDIR}${PREFIX}/sbin
- ${INSTALL_SCRIPT} ${WRKSRC}/scripts/mini_httpd.sh ${STAGEDIR}${PREFIX}/etc/rc.d/mini_httpd
- ${INSTALL_MAN} ${WRKSRC}/htpasswd.1 ${STAGEDIR}${MANPREFIX}/man/man1/${PORTNAME}-htpasswd.1
- ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8
- ${INSTALL_DATA} ${WRKSRC}/mini_httpd.cnf ${STAGEDIR}${PREFIX}/etc/mini_httpd.cnf.sample
+ ${INSTALL_PROGRAM} ${WRKSRC}/htpasswd \
+ ${STAGEDIR}${PREFIX}/sbin/${PORTNAME}-htpasswd
+ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/500.mini_httpd-rotate \
+ ${STAGEDIR}${PREFIX}/etc/periodic/daily
+ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/mini_httpd_wrapper \
+ ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/mini_httpd.sh \
+ ${STAGEDIR}${PREFIX}/etc/rc.d/mini_httpd
+ ${INSTALL_MAN} ${WRKSRC}/htpasswd.1 \
+ ${STAGEDIR}${MANPREFIX}/man/man1/${PORTNAME}-htpasswd.1
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 \
+ ${STAGEDIR}${MANPREFIX}/man/man8
+ ${INSTALL_DATA} ${WRKSRC}/mini_httpd.cnf \
+ ${STAGEDIR}${PREFIX}/etc/mini_httpd.cnf.sample
.include <bsd.port.mk>
diff --git a/www/mini_httpd/distinfo b/www/mini_httpd/distinfo
index 88fcad27c1e5..e9146100edf6 100644
--- a/www/mini_httpd/distinfo
+++ b/www/mini_httpd/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1480691505
-SHA256 (mini_httpd-1.26.tar.gz) = 86d56c3e2400d4a2dc004f2a2b1f3b9f7a416b02d414d8e84ab3045cc9a64054
-SIZE (mini_httpd-1.26.tar.gz) = 43390
+TIMESTAMP = 1488912725
+SHA256 (mini_httpd-1.27.tar.gz) = e5d6041f2906f4099284e004d7641b8f06414fe54901e554bebe777e6d889d37
+SIZE (mini_httpd-1.27.tar.gz) = 43473