Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Nov 2004 13:04:03 +0100 (CET)
From:      Hendrik Scholz <hendrik@scholz.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        k@123.org
Subject:   ports/74196: port update: www/lighttpd (1.3.5 to 1.3.6 + SSL fix)
Message-ID:  <20041121120403.7462F53487@mail.wormulon.net>
Resent-Message-ID: <200411211220.iALCKTiq027001@freefall.freebsd.org>

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

>Number:         74196
>Category:       ports
>Synopsis:       port update: www/lighttpd (1.3.5 to 1.3.6 + SSL fix)
>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:   Sun Nov 21 12:20:28 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hendrik Scholz
>Release:        FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
Freenet Cityline GmbH
>Environment:
System: FreeBSD plant.wormulon.net 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #0: Fri Aug 13 11:32:22 CEST 2004 hscholz@h2012.ka.strato.de:/usr/src/sys/i386/compile/PLANT i386


	
>Description:

upgrade from 1.3.5 to 1.3.6 including a small fix allowing SSL to work

Changes:

 - add SSL fix in configure.in (provided by author)
 - rerun autconf (requires >= 257)
 - update pkg-plist
 - run libtool --finish

Kai (maintainer) cc'ed.

>How-To-Repeat:
	
>Fix:

	

--- lighttpd-1.3.6.diff begins here ---
diff -urP lighttpd-1.3.5/Makefile lighttpd/Makefile
--- lighttpd-1.3.5/Makefile	Sun Nov 21 12:34:17 2004
+++ lighttpd/Makefile	Sun Nov 21 12:57:38 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	lighttpd
-PORTVERSION=	1.3.5
+PORTVERSION=	1.3.6
 CATEGORIES=	www
 MASTER_SITES=	http://jan.kneschke.de/projects/lighttpd/download/
 
@@ -15,6 +15,7 @@
 
 LIB_DEPENDS=	pcre.0:${PORTSDIR}/devel/pcre
 
+USE_AUTOCONF_VER=	259
 USE_REINPLACE=	yes
 USE_RC_SUBR=	yes
 USE_LIBTOOL_VER=	15
@@ -31,5 +32,6 @@
 		${FILESDIR}/lighttpd.sh.tmpl > ${STARTUP_FILE}
 	@${CHMOD} 755 ${STARTUP_FILE}
 	@${INSTALL_DATA} ${FILESDIR}/lighttpd.conf.sample ${PREFIX}/etc/
+	@${LIBTOOL} --finish ${PREFIX}/lib
 
 .include <bsd.port.mk>
diff -urP lighttpd-1.3.5/distinfo lighttpd/distinfo
--- lighttpd-1.3.5/distinfo	Sun Nov 21 12:34:17 2004
+++ lighttpd/distinfo	Sun Nov 21 12:34:33 2004
@@ -1,2 +1,2 @@
-MD5 (lighttpd-1.3.5.tar.gz) = 15afeba95fa157e3bdedd9a1a22358a0
-SIZE (lighttpd-1.3.5.tar.gz) = 628719
+MD5 (lighttpd-1.3.6.tar.gz) = a8690596891be9119d9bf007088e0c8c
+SIZE (lighttpd-1.3.6.tar.gz) = 632670
diff -urP lighttpd-1.3.5/files/patch-configure.in lighttpd/files/patch-configure.in
--- lighttpd-1.3.5/files/patch-configure.in	Thu Jan  1 01:00:00 1970
+++ lighttpd/files/patch-configure.in	Sun Nov 21 12:40:01 2004
@@ -0,0 +1,11 @@
+--- configure.in.orig	Sun Nov 21 12:38:43 2004
++++ configure.in	Sun Nov 21 12:39:43 2004
+@@ -230,7 +230,7 @@
+     AC_CHECK_HEADERS([openssl/ssl.h])
+     OLDLIBS="$LIBS"
+     AC_CHECK_LIB(crypto, BIO_f_base64, [ 
+-      AC_CHECK_LIB(ssl, SSL_new, [ SSL_LIB="-lcrypto -lssl" ], [], [ -lcrypto ])
++      AC_CHECK_LIB(ssl, SSL_new, [ SSL_LIB="-lcrypto -lssl" AC_DEFINE(HAVE_LIBSSL, [], [Have libssl]) ], [], [ -lcrypto ])
+     ], [], [])
+     LIBS="$OLDLIBS"
+     AC_SUBST(SSL_LIB)
diff -urP lighttpd-1.3.5/pkg-plist lighttpd/pkg-plist
--- lighttpd-1.3.5/pkg-plist	Sun Nov 21 12:34:17 2004
+++ lighttpd/pkg-plist	Sun Nov 21 12:38:10 2004
@@ -20,4 +20,5 @@
 lib/lighttpd/mod_userdir.so
 lib/lighttpd/mod_usertrack.so
 sbin/lighttpd
+bin/spawn-fcgi
 @dirrm lib/lighttpd
--- lighttpd-1.3.6.diff ends here ---


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



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