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)
This commit is contained in:
parent
be794d684a
commit
473bd9cc2d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433958
@ -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
|
||||
|
19
www/lighttpd/files/patch-src_fdevent__freebsd__kqueue.c
Normal file
19
www/lighttpd/files/patch-src_fdevent__freebsd__kqueue.c
Normal file
@ -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);
|
Loading…
Reference in New Issue
Block a user