ports/78680: upgrade www/lighttpd to 1.3.13 and add LDAP support knob

Dick Davies rasputnik at hellooperator.net
Thu Mar 10 20:50:03 UTC 2005


>Number:         78680
>Category:       ports
>Synopsis:       upgrade www/lighttpd to 1.3.13 and add LDAP support knob
>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:   Thu Mar 10 20:50:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Dick Davies
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
n/a
>Environment:
System: FreeBSD eris 5.3-STABLE FreeBSD 5.3-STABLE #0: Sat Feb 5 18:54:35 GMT 2005 rasputnik at eris:/usr/obj/usr/src/sys/ERIS i386


	
>Description:
	The attached patch 

  * upgrades to the latest lighttpd
  * adds a build option to use ldap authentication
  * removes an obsolete patch

>How-To-Repeat:
	
diff -Naur www/lighttpd.1.3.12/Makefile www/lighttpd/Makefile
--- www/lighttpd.1.3.12/Makefile	Thu Mar  3 12:14:54 2005
+++ www/lighttpd/Makefile	Thu Mar 10 15:10:42 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	lighttpd
-PORTVERSION=	1.3.12
+PORTVERSION=	1.3.13
 CATEGORIES=	www
 MASTER_SITES=	http://www.lighttpd.net/download/ \
 				http://dl.fkb.wormulon.net/lighttpd/ \
@@ -33,12 +33,21 @@
 CONFIGURE_ARGS+=	--with-openssl
 .endif
 
+.if defined(WITH_OPENLDAP)
+USE_OPENLDAP=	yes
+CONFIGURE_ARGS+=	--with-ldap
+.endif
+
 MAN1=		lighttpd.1 spawn-fcgi.1
 
 pre-everything::
 .if !defined(WITHOUT_OPENSSL)
 	@${ECHO_MSG}
 	@${ECHO_MSG} "You can disable SSL support by defining WITHOUT_OPENSSL"
+.endif
+.if !defined(WITH_OPENLDAP)
+	@${ECHO_MSG}
+	@${ECHO_MSG} "You can enable LDAP support by defining WITH_OPENLDAP"
 .endif
 	@${ECHO_MSG}
 	@${ECHO_MSG} "If you want MySQL virtual host support install"
diff -Naur www/lighttpd.1.3.12/distinfo www/lighttpd/distinfo
--- www/lighttpd.1.3.12/distinfo	Thu Mar  3 12:14:54 2005
+++ www/lighttpd/distinfo	Thu Mar 10 14:59:25 2005
@@ -1,2 +1,2 @@
-MD5 (lighttpd-1.3.12.tar.gz) = ffd0bc5802646948e2724060031c05b5
-SIZE (lighttpd-1.3.12.tar.gz) = 677919
+MD5 (lighttpd-1.3.13.tar.gz) = 2f017b936be376ad6f6c2ee26db93467
+SIZE (lighttpd-1.3.13.tar.gz) = 680068
diff -Naur www/lighttpd.1.3.12/files/patch-src::server.c www/lighttpd/files/patch-src::server.c
--- www/lighttpd.1.3.12/files/patch-src::server.c	Thu Mar  3 13:30:48 2005
+++ www/lighttpd/files/patch-src::server.c	Thu Jan  1 01:00:00 1970
@@ -1,38 +0,0 @@
---- src/server.c.orig	Thu Mar  3 10:59:28 2005
-+++ src/server.c	Thu Mar  3 10:59:48 2005
-@@ -71,7 +71,7 @@
- 	case SIGTERM: srv_shutdown = 1; break;
- 	case SIGALRM: handle_sig_alarm = 1; break;
- 	case SIGHUP:  handle_sig_hup = 1; break;
--	case SIGCLD: break;
-+	case SIGCHLD: break;
- 	}
- }
- #elif defined(HAVE_SIGNAL) || defined(HAVE_SIGACTION)
-@@ -80,7 +80,7 @@
- 	case SIGTERM: srv_shutdown = 1; break;
- 	case SIGALRM: handle_sig_alarm = 1; break;
- 	case SIGHUP:  handle_sig_hup = 1; break;
--	case SIGCLD:  break;
-+	case SIGCHLD:  break;
- 	}
- }
- #endif
-@@ -686,7 +686,7 @@
- 	sigaction(SIGTERM, &act, NULL);
- 	sigaction(SIGHUP,  &act, NULL);
- 	sigaction(SIGALRM, &act, NULL);
--	sigaction(SIGCLD, &act, NULL);
-+	sigaction(SIGCHLD, &act, NULL);
- 	
- #elif defined(HAVE_SIGNAL)
- 	/* ignore the SIGPIPE from sendfile() */
-@@ -695,7 +695,7 @@
- 	signal(SIGALRM, signal_handler);
- 	signal(SIGTERM, signal_handler);
- 	signal(SIGHUP,  signal_handler);
--	signal(SIGCLD,  signal_handler);
-+	signal(SIGCHLD,  signal_handler);
- #endif
- 	
- #ifdef USE_ALARM

>Fix:

	See patch


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



More information about the freebsd-ports-bugs mailing list