pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2016Q4]: pkgsrc/www/lighttpd Pullup ticket #5213 - requested b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b2c4af35d4f9
branches:  pkgsrc-2016Q4
changeset: 408750:b2c4af35d4f9
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sat Feb 25 09:18:10 2017 +0000

description:
Pullup ticket #5213 - requested by he
www/lighttpd: bugfix

Revisions pulled up:
- www/lighttpd/Makefile                                         1.60
- www/lighttpd/distinfo                                         1.38
- www/lighttpd/patches/patch-src_fdevent__freebsd__kqueue.c     1.1

---
   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.

diffstat:

 www/lighttpd/Makefile                                     |   3 +-
 www/lighttpd/distinfo                                     |   3 +-
 www/lighttpd/patches/patch-src_fdevent__freebsd__kqueue.c |  24 +++++++++++++++
 3 files changed, 28 insertions(+), 2 deletions(-)

diffs (57 lines):

diff -r cc3bcfcd71cd -r b2c4af35d4f9 www/lighttpd/Makefile
--- a/www/lighttpd/Makefile     Fri Feb 24 19:36:19 2017 +0000
+++ b/www/lighttpd/Makefile     Sat Feb 25 09:18:10 2017 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.57 2016/10/17 22:00:22 nros Exp $
+# $NetBSD: Makefile,v 1.57.2.1 2017/02/25 09:18:10 bsiegert Exp $
 
 DISTNAME=      lighttpd-1.4.42
 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/
diff -r cc3bcfcd71cd -r b2c4af35d4f9 www/lighttpd/distinfo
--- a/www/lighttpd/distinfo     Fri Feb 24 19:36:19 2017 +0000
+++ b/www/lighttpd/distinfo     Sat Feb 25 09:18:10 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.35 2016/10/17 22:00:22 nros Exp $
+$NetBSD: distinfo,v 1.35.2.1 2017/02/25 09:18:10 bsiegert Exp $
 
 SHA1 (lighttpd-1.4.42.tar.xz) = a434a92d5a2d6cb11922484cba59e684b2c94167
 RMD160 (lighttpd-1.4.42.tar.xz) = 6d8a21f6936c856a1217c7594426a31b77d0eb15
@@ -6,3 +6,4 @@
 Size (lighttpd-1.4.42.tar.xz) = 652140 bytes
 SHA1 (patch-doc_config_lighttpd.conf) = de14fd0aa0ed2cac5846d810b5c89af4036f1b70
 SHA1 (patch-src_connections.c) = 5f108e714903b68f11fff19a59ca4cf523a406de
+SHA1 (patch-src_fdevent__freebsd__kqueue.c) = d244910413125ff0e697538b9d1b3c21a19f4cd2
diff -r cc3bcfcd71cd -r b2c4af35d4f9 www/lighttpd/patches/patch-src_fdevent__freebsd__kqueue.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/lighttpd/patches/patch-src_fdevent__freebsd__kqueue.c Sat Feb 25 09:18:10 2017 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_fdevent__freebsd__kqueue.c,v 1.1.2.2 2017/02/25 09:18:10 bsiegert 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