svn commit: r433958 - in head/www/lighttpd: . files
Joseph Mingrone
jrm at FreeBSD.org
Sun Feb 12 18:28:32 UTC 2017
Author: jrm
Date: Sun Feb 12 18:28:30 2017
New Revision: 433958
URL: https://svnweb.freebsd.org/changeset/ports/433958
Log:
www/lighttpd: Add LUA to default options, switch to using kqueue in
level-triggered mode, and bump PORTREVISION.
PR: 217007
Submitted by: pkubaj at anongoth.pl (maintainer)
Approved by: swills (mentor, implicit)
Added:
head/www/lighttpd/files/patch-src_fdevent__freebsd__kqueue.c (contents, props changed)
Modified:
head/www/lighttpd/Makefile
Modified: head/www/lighttpd/Makefile
==============================================================================
--- head/www/lighttpd/Makefile Sun Feb 12 18:05:38 2017 (r433957)
+++ head/www/lighttpd/Makefile Sun Feb 12 18:28:30 2017 (r433958)
@@ -3,6 +3,7 @@
PORTNAME?= lighttpd
PORTVERSION= 1.4.45
+PORTREVISION= 1
CATEGORIES?= www
MASTER_SITES?= http://download.lighttpd.net/lighttpd/releases-1.4.x/
@@ -36,7 +37,7 @@ REQUIRE= DAEMON
OPTIONS_DEFINE= ATTR BZIP2 DOCS FAM GDBM GEOIP IPV6 KRB5 LIBEV LUA MEMCACHED \
MYSQL LDAP OPENSSL SPAWNFCGI VALGRIND WEBDAV
-OPTIONS_DEFAULT= OPENSSL
+OPTIONS_DEFAULT= LUA OPENSSL
OPTIONS_SUB= yes
ATTR_DESC= extended attributes support
Added: head/www/lighttpd/files/patch-src_fdevent__freebsd__kqueue.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/lighttpd/files/patch-src_fdevent__freebsd__kqueue.c Sun Feb 12 18:28:30 2017 (r433958)
@@ -0,0 +1,19 @@
+--- src/fdevent_freebsd_kqueue.c.orig 2017-02-11 19:44:05 UTC
++++ src/fdevent_freebsd_kqueue.c
+@@ -75,14 +75,14 @@ static int fdevent_freebsd_kqueue_event_
+ if (events == oevents) return fd;
+
+ if (addevents & FDEVENT_IN) {
+- EV_SET(&kev[n], fd, EVFILT_READ, EV_ADD|EV_CLEAR, 0, 0, NULL);
++ EV_SET(&kev[n], fd, EVFILT_READ, EV_ADD, 0, 0, NULL);
+ n++;
+ } else if (delevents & FDEVENT_IN) {
+ EV_SET(&kev[n], fd, EVFILT_READ, EV_DELETE, 0, 0, NULL);
+ n++;
+ }
+ if (addevents & FDEVENT_OUT) {
+- EV_SET(&kev[n], fd, EVFILT_WRITE, EV_ADD|EV_CLEAR, 0, 0, NULL);
++ EV_SET(&kev[n], fd, EVFILT_WRITE, EV_ADD, 0, 0, NULL);
+ n++;
+ } else if (delevents & FDEVENT_OUT) {
+ EV_SET(&kev[n], fd, EVFILT_WRITE, EV_DELETE, 0, 0, NULL);
More information about the svn-ports-all
mailing list