ports/105284: [PATCH] www/lighttpd: add mod_magnet support

Cheng-Lung Sung clsung at FreeBSD.org
Wed Nov 8 08:50:16 UTC 2006


>Number:         105284
>Category:       ports
>Synopsis:       [PATCH] www/lighttpd: add mod_magnet support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 08 08:50:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Cheng-Lung Sung
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD FreeBSD.csie.nctu.edu.tw 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #11: Thu Oct 26 10:15:43 CST 2006
>Description:
- add mog_magnet support
  - Ref: http://blog.lighttpd.net/articles/2006/09/16/a-new-power-magnet
- bump PORTREVISION

Port maintainer (hendrik at scholz.net) is cc'd.

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

--- lighttpd-1.4.13_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/lighttpd/Makefile,v
retrieving revision 1.43
diff -u -u -r1.43 Makefile
--- Makefile	31 Oct 2006 03:22:20 -0000	1.43
+++ Makefile	8 Nov 2006 08:49:03 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	lighttpd
 PORTVERSION=	1.4.13
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://www.lighttpd.net/download/ \
 		http://mirrors.cat.pdx.edu/lighttpd/
@@ -34,6 +35,7 @@
 		FAM		"Enable fam/gamin support" off \
 		GDBM		"Enable gdbm storage support" off \
 		IPV6		"Enable IPV6 support" on \
+		MAGNET		"Enable magnet support" off \
 		MEMCACHE	"Enable memcached storage support" off \
 		MYSQL		"Enable MYSQL support" off \
 		OPENLDAP	"Enable LDAP support" off \
@@ -78,6 +80,12 @@
 CONFIGURE_ARGS+=	--disable-ipv6
 .endif
 
+.if defined(WITH_MAGNET)
+USE_LUA=		5.1+
+CONFIGURE_ARGS+=	--with-lua
+CONFIGURE_ENV+=		LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua"
+.endif
+
 .if defined(WITH_MEMCACHE)
 CONFIGURE_ARGS+=	--with-memcache
 .endif
--- lighttpd-1.4.13_1.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list