ports/112272: Port update for www/shttpd
Patrick Powell
papowell at astart.com
Mon Apr 30 14:20:04 UTC 2007
>Number: 112272
>Category: ports
>Synopsis: Port update for www/shttpd
>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: Mon Apr 30 14:20:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Patrick Powell
>Release: FreeBSD 6.2
>Organization:
Astart Technologies
>Environment:
FreeBSD astart.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Mon Mar 12 13:59:28 PDT 2007 root at laptop.private:/usr/src/sys/i386/compile/SMP i386
>Description:
Update to port www/shttpd from version 1.27 to version 1.37
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
--- Makefile.orig Mon Apr 30 06:37:13 2007
+++ Makefile Mon Apr 30 06:48:22 2007
@@ -6,7 +6,7 @@
#
PORTNAME= shttpd
-PORTVERSION= 1.35
+PORTVERSION= 1.37
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= shttpd
@@ -19,12 +19,15 @@
PLIST_FILES= bin/shttpd
+CFLAGS+= -DCONFIG=\\\"${PREFIX}/etc/shttpd.conf\\\"
+
do-build:
- ${CC} ${CFLAGS} -DCONFIG=\"${PREFIX}/etc/shttpd.conf\" \
- ${WRKSRC}/shttpd.c -o ${WRKSRC}/shttpd
+ #${CC} ${CFLAGS} -DCONFIG=\"${PREFIX}/etc/shttpd.conf\" \
+ # ${WRKSRC}/shttpd.c -o ${WRKSRC}/shttpd
+ cd ${WRKSRC}/src && make unix CFLAGS="${CFLAGS}"
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/shttpd ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/shttpd.1 ${PREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/shttpd ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/src/shttpd.1 ${PREFIX}/man/man1
.include <bsd.port.mk>
--- distinfo Mon Apr 30 06:06:56 2007
+++ distinfo.orig Mon Apr 30 06:50:47 2007
@@ -1,3 +1,2 @@
-MD5 (shttpd-1.37.tar.gz) = 98783bf614a9279790850146a67409e8
-SHA256 (shttpd-1.37.tar.gz) = 93a5fdde76c816d58d63a09eb537b433d2d48f36bcc12b778429ece5f425a8ca
-SIZE (shttpd-1.37.tar.gz) = 71827
+MD5 (shttpd-1.27.tar.gz) = fd745d32adca6446c1db8c5a3b5841d1
+SIZE (shttpd-1.27.tar.gz) = 41855
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list