Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Nov 2003 23:01:33 +0100
From:      Matthias Andree <matthias.andree@web.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jedgar@FreeBSD.org
Subject:   ports/58846: [PATCH] www/webfs: update to 1.20
Message-ID:  <E1AGQHt-000GLn-2w@libertas.emma.line.org>
Resent-Message-ID: <200311022210.hA2MAI0r098306@freefall.freebsd.org>

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

>Number:         58846
>Category:       ports
>Synopsis:       [PATCH] www/webfs: update to 1.20
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 02 14:10:17 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD libertas.emma.line.org 4.9-STABLE FreeBSD 4.9-STABLE #58: Wed Oct 29 14:05:40 CET 2003
>Description:
- SECURITY Update to 1.20, Author recommends not running any prior version
- Add WITHOUT_SSL port option now that the upstream knows SSL.

Port maintainer (jedgar@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- webfs-1.20.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/webfs/Makefile /root/webfs/Makefile
--- /usr/ports/www/webfs/Makefile	Fri Mar  7 07:12:56 2003
+++ /root/webfs/Makefile	Sun Nov  2 22:48:57 2003
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	webfs
-PORTVERSION=	1.16
+PORTVERSION=	1.20
 CATEGORIES=	www ipv6
 MASTER_SITES=	http://bytesex.org/misc/
 DISTNAME=	${PORTNAME}_${PORTVERSION}
@@ -16,6 +16,12 @@
 
 WRKSRC=		${WRKDIR}/${DISTNAME:S/_/-/}
 USE_REINPLACE=	yes
+USE_GMAKE=	yes
+MAKEFILE=	GNUmakefile
+.if !defined(WITHOUT_OPENSSL)
+MAKE_ENV=	USE_SSL=no
+.endif
+MAKE_ENV+=	LDLIBS="-lssl -lcrypto" USE_DIET=no
 
 MAN1=		webfsd.1
 MIMEFILE?=	${PREFIX}/etc/webfsd/mime.types
@@ -26,9 +32,21 @@
 BROKEN=		"Requires FreeBSD 4.x or greater due to ipv6 support"
 .endif
 
+pre-everything::
+	@${ECHO_CMD} ""
+	@${ECHO_CMD} "==========================================="
+	@${ECHO_CMD} "This package supports the following option:"
+	@${ECHO_CMD} ""
+	@${ECHO_CMD} " -DWITHOUT_SSL   - omit SSL support"
+	@${ECHO_CMD} "==========================================="
+	@${ECHO_CMD} ""
+
 do-configure:
-	@${REINPLACE_CMD} -e 's|/etc/mime.types|${MIMEFILE}|' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's|/etc/mime.types|${MIMEFILE}|' ${WRKSRC}/GNUmakefile
 	@${REINPLACE_CMD} -e 's|/etc/mime.types|${MIMEFILE}|' ${WRKSRC}/webfsd.man
+.if defined(WITHOUT_OPENSSL)
+	@${REINPLACE_CMD} -e 's|USE_SSL      := yes|USE_SSL      := no|' ${WRKSRC}/Make.config
+.endif
 
 do-install:
 	@${INSTALL_PROGRAM} ${WRKSRC}/webfsd ${PREFIX}/sbin
diff -ruN --exclude=CVS /usr/ports/www/webfs/distinfo /root/webfs/distinfo
--- /usr/ports/www/webfs/distinfo	Wed Jan 30 14:42:51 2002
+++ /root/webfs/distinfo	Sun Nov  2 22:25:57 2003
@@ -1 +1 @@
-MD5 (webfs_1.16.tar.gz) = 1f7b7682e8f98925a9aea0c90f8f9ada
+MD5 (webfs_1.20.tar.gz) = 90c54905e4312eb45ad38d010a127208
--- webfs-1.20.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1AGQHt-000GLn-2w>