diff options
author | Joseph Mingrone <jrm@FreeBSD.org> | 2017-02-12 18:28:30 +0000 |
---|---|---|
committer | Joseph Mingrone <jrm@FreeBSD.org> | 2017-02-12 18:28:30 +0000 |
commit | 473bd9cc2d78aeea5cd54577aee39ca9cf10f43b (patch) | |
tree | c7af9fc409e3ebe14bc531d7b3efce260efd6595 /www/lighttpd | |
parent | be794d684a48eb375abef7dd9298ea25d01a39dd (diff) | |
download | ports-473bd9cc2d78aeea5cd54577aee39ca9cf10f43b.tar.gz ports-473bd9cc2d78aeea5cd54577aee39ca9cf10f43b.zip |
www/lighttpd: Add LUA to default options, switch to using kqueue in
level-triggered mode, and bump PORTREVISION.
PR: 217007
Submitted by: pkubaj@anongoth.pl (maintainer)
Approved by: swills (mentor, implicit)
Notes
Notes:
svn path=/head/; revision=433958
Diffstat (limited to 'www/lighttpd')
-rw-r--r-- | www/lighttpd/Makefile | 3 | ||||
-rw-r--r-- | www/lighttpd/files/patch-src_fdevent__freebsd__kqueue.c | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/www/lighttpd/Makefile b/www/lighttpd/Makefile index b4e948717f95..ca9d51014b1f 100644 --- a/www/lighttpd/Makefile +++ b/www/lighttpd/Makefile @@ -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 diff --git a/www/lighttpd/files/patch-src_fdevent__freebsd__kqueue.c b/www/lighttpd/files/patch-src_fdevent__freebsd__kqueue.c new file mode 100644 index 000000000000..adfe27e8314f --- /dev/null +++ b/www/lighttpd/files/patch-src_fdevent__freebsd__kqueue.c @@ -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); |