ports/104239: [PATCH] www/lighttpd: update to 1.4.13
Gea-Suan Lin
gslin at gslin.org
Tue Oct 10 01:20:23 UTC 2006
>Number: 104239
>Category: ports
>Synopsis: [PATCH] www/lighttpd: update to 1.4.13
>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: Tue Oct 10 01:20:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Gea-Suan Lin
>Release: FreeBSD 6.1-RELEASE-p8 i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE-p8 FreeBSD 6.1-RELEASE-p8 #0: Fri Sep 29 03:41:50 CST 2006
>Description:
- Update to 1.4.13
- Add options for bzip2, fam, gdbm, memcache, and valgrind
Port maintainer (hendrik at scholz.net) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- lighttpd-1.4.13.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/lighttpd/Makefile /home/staff/gslin/work/ports/lighttpd/Makefile
--- /usr/ports/www/lighttpd/Makefile Wed Sep 27 03:25:51 2006
+++ /home/staff/gslin/work/ports/lighttpd/Makefile Tue Oct 10 09:13:24 2006
@@ -6,7 +6,7 @@
#
PORTNAME= lighttpd
-PORTVERSION= 1.4.12
+PORTVERSION= 1.4.13
CATEGORIES= www
MASTER_SITES= http://www.lighttpd.net/download/ \
http://mirrors.cat.pdx.edu/lighttpd/
@@ -29,11 +29,16 @@
MAN1= lighttpd.1 spawn-fcgi.1
-OPTIONS= OPENSSL "Enable SSL support" on \
- OPENLDAP "Enable LDAP support" off \
- MYSQL "Enable MYSQL support" off \
- IPV6 "Enable IPV6 support" on \
- CML "Enable Cache Meta Language support" off
+OPTIONS= BZIP2 "Enable Bzip2 support" off \
+ CML "Enable Cache Meta Language support" off \
+ FAM "Enable fam/gamin support" off \
+ GDBM "Enable gdbm storage support" off \
+ IPV6 "Enable IPV6 support" on \
+ MEMCACHE "Enable memcached storage support" off \
+ MYSQL "Enable MYSQL support" off \
+ OPENLDAP "Enable LDAP support" off \
+ OPENSSL "Enable SSL support" on \
+ VALGRIND "Enable valgrind support" off
.include <bsd.port.pre.mk>
@@ -47,26 +52,52 @@
--with-openssl-libs=${OPENSSLLIB}
.endif
-.if defined(WITH_OPENLDAP)
-USE_OPENLDAP= yes
-CONFIGURE_ARGS+= --with-ldap
-_REQUIRE+= slapd
+.if defined(WITH_BZIP2)
+LIB_DEPENDS+= bz2:${PORTSDIR}/archivers/bzip2
+CONFIGURE_ARGS+= --with-bzip2
+.endif
+
+.if defined(WITH_CML)
+USE_LUA= yes
+CONFIGURE_ARGS+= --with-lua
+CONFIGURE_ENV+= LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR}"
+.endif
+
+.if defined(WITH_FAM)
+LIB_DEPENDS+= fam:${PORTSDIR}/devel/fam
+CONFIGURE_ARGS+= --with-fam
+CONFIGURE_ENV+= FAM_CFLAGS="-I${LOCALBASE}/include" FAM_LIBS="-L${LOCALBASE}/lib"
+.endif
+
+.if defined(WITH_GDBM)
+LIB_DEPENDS+= gdbm:${PORTSDIR}/databases/gdbm
+CONFIGURE_ARGS+= --with-gdbm
+.endif
+
+.if defined(WITHOUT_IPV6)
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
+
+.if defined(WITH_MEMCACHE)
+CONFIGURE_ARGS+= --with-memcache
.endif
.if defined(WITH_MYSQL)
-USE_MYSQL= yes
+USE_MYSQL= yes
CONFIGURE_ARGS+= --with-mysql
_REQUIRE+= mysql
.endif
-.if defined(WITHOUT_IPV6)
-CONFIGURE_ARGS+= --disable-ipv6
+.if defined(WITH_OPENLDAP)
+USE_OPENLDAP= yes
+CONFIGURE_ARGS+= --with-ldap
+_REQUIRE+= slapd
.endif
-.if defined(WITH_CML)
-USE_LUA= 5.0
-CONFIGURE_ARGS+= --with-lua
-CONFIGURE_ENV+= CPPFLAGS="-I${LUA_INCDIR}" LDFLAGS="-L${LUA_LIBDIR}"
+.if defined(WITH_VALGRIND)
+BUILD_DEPENDS+= valgrind:${PORTSDIR}/devel/valgrind
+RUN_DEPENDS+= valgrind:${PORTSDIR}/devel/valgrind
+CONFIGURE_ARGS+= --with-valgrind
.endif
SUB_LIST+= REQUIRE="${_REQUIRE}"
diff -ruN --exclude=CVS /usr/ports/www/lighttpd/distinfo /home/staff/gslin/work/ports/lighttpd/distinfo
--- /usr/ports/www/lighttpd/distinfo Wed Sep 27 03:25:51 2006
+++ /home/staff/gslin/work/ports/lighttpd/distinfo Tue Oct 10 08:43:19 2006
@@ -1,3 +1,3 @@
-MD5 (lighttpd-1.4.12.tar.gz) = 8f6756452138f5da384251f849b329f2
-SHA256 (lighttpd-1.4.12.tar.gz) = 9f69b7fcf3868a9f27c687a4f091a2e7ac703238130b5bbec34e6630fa70b07a
-SIZE (lighttpd-1.4.12.tar.gz) = 796002
+MD5 (lighttpd-1.4.13.tar.gz) = d775d6478391b95d841a1018c8db0b95
+SHA256 (lighttpd-1.4.13.tar.gz) = 62d5997fdb41afa9400adcdb040d04a1f5fa950045df96e3e3f593e8f0de5739
+SIZE (lighttpd-1.4.13.tar.gz) = 797813
--- lighttpd-1.4.13.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list