pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/lighttpd



Module Name:    pkgsrc
Committed By:   he
Date:           Sat Feb 11 21:13:08 UTC 2017

Modified Files:
        pkgsrc/www/lighttpd: Makefile distinfo
Added Files:
        pkgsrc/www/lighttpd/patches: patch-src_fdevent__freebsd__kqueue.c

Log Message:
Apply fix from https://redmine.lighttpd.net/issues/2788,
per message to pkgsrc-users@ from Glenn Strauss.
Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 pkgsrc/www/lighttpd/Makefile
cvs rdiff -u -r1.37 -r1.38 pkgsrc/www/lighttpd/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/lighttpd/patches/patch-src_fdevent__freebsd__kqueue.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/lighttpd/Makefile
diff -u pkgsrc/www/lighttpd/Makefile:1.59 pkgsrc/www/lighttpd/Makefile:1.60
--- pkgsrc/www/lighttpd/Makefile:1.59   Mon Jan 16 00:30:46 2017
+++ pkgsrc/www/lighttpd/Makefile        Sat Feb 11 21:13:08 2017
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.59 2017/01/16 00:30:46 schmonz Exp $
+# $NetBSD: Makefile,v 1.60 2017/02/11 21:13:08 he Exp $
 
 DISTNAME=      lighttpd-1.4.45
 CATEGORIES=    www
 MASTER_SITES=  http://download.lighttpd.net/lighttpd/releases-1.4.x/
 EXTRACT_SUFX=  .tar.xz
+PKGREVISION=   1
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://www.lighttpd.net/

Index: pkgsrc/www/lighttpd/distinfo
diff -u pkgsrc/www/lighttpd/distinfo:1.37 pkgsrc/www/lighttpd/distinfo:1.38
--- pkgsrc/www/lighttpd/distinfo:1.37   Mon Jan 16 00:30:46 2017
+++ pkgsrc/www/lighttpd/distinfo        Sat Feb 11 21:13:08 2017
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.37 2017/01/16 00:30:46 schmonz Exp $
+$NetBSD: distinfo,v 1.38 2017/02/11 21:13:08 he Exp $
 
 SHA1 (lighttpd-1.4.45.tar.xz) = 03e516f8be59396bc148218fe7b993219dacaf5d
 RMD160 (lighttpd-1.4.45.tar.xz) = 114d047df0aadb0decd5a25357ddb6a9d7e4188e
 SHA512 (lighttpd-1.4.45.tar.xz) = d030674a8c55aab12d32ac75f8df2628ba2332a5263c8bd2dd4f39342530080edc6ba2a6fee749c1301d601ab766a265d3c630b04d38bb26bba3cf045935573d
 Size (lighttpd-1.4.45.tar.xz) = 660432 bytes
 SHA1 (patch-doc_config_lighttpd.conf) = de14fd0aa0ed2cac5846d810b5c89af4036f1b70
+SHA1 (patch-src_fdevent__freebsd__kqueue.c) = d244910413125ff0e697538b9d1b3c21a19f4cd2

Added files:

Index: pkgsrc/www/lighttpd/patches/patch-src_fdevent__freebsd__kqueue.c
diff -u /dev/null pkgsrc/www/lighttpd/patches/patch-src_fdevent__freebsd__kqueue.c:1.1
--- /dev/null   Sat Feb 11 21:13:08 2017
+++ pkgsrc/www/lighttpd/patches/patch-src_fdevent__freebsd__kqueue.c    Sat Feb 11 21:13:08 2017
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_fdevent__freebsd__kqueue.c,v 1.1 2017/02/11 21:13:08 he Exp $
+
+Apply fix from https://redmine.lighttpd.net/issues/2788,
+ref. request from Glenn Strauss.
+
+--- src/fdevent_freebsd_kqueue.c.orig  2017-01-14 05:05:17.000000000 +0000
++++ 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);



Home | Main Index | Thread Index | Old Index