Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Apr 2007 14:09:56 GMT
From:      Patrick Powell<papowell@astart.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/112272: Port update for www/shttpd
Message-ID:  <200704301409.l3UE9uZZ095166@www.freebsd.org>
Resent-Message-ID: <200704301420.l3UEK4Wu021851@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704301409.l3UE9uZZ095166>