[140317] trunk/dports/www/nghttp2

ryandesign at macports.org ryandesign at macports.org
Thu Sep 17 01:30:04 PDT 2015


Revision: 140317
          https://trac.macports.org/changeset/140317
Author:   ryandesign at macports.org
Date:     2015-09-17 01:30:04 -0700 (Thu, 17 Sep 2015)
Log Message:
-----------
nghttp2: update to 1.3.1 (#48847; maintainer)

Modified Paths:
--------------
    trunk/dports/www/nghttp2/Portfile

Added Paths:
-----------
    trunk/dports/www/nghttp2/files/
    trunk/dports/www/nghttp2/files/patch-src-shrpx.cc.diff

Modified: trunk/dports/www/nghttp2/Portfile
===================================================================
--- trunk/dports/www/nghttp2/Portfile	2015-09-17 08:29:58 UTC (rev 140316)
+++ trunk/dports/www/nghttp2/Portfile	2015-09-17 08:30:04 UTC (rev 140317)
@@ -5,8 +5,9 @@
 PortGroup           cxx11 1.0
 PortGroup           github 1.0
 
-github.setup        tatsuhiro-t nghttp2 1.3.0 v
+github.setup        tatsuhiro-t nghttp2 1.3.1 v
 set PythonVersion   2.7
+set PythonBranch    [join [lrange [split ${PythonVersion} .] 0 1] ""]
 categories          www
 platforms           darwin
 maintainers         gmail.com:mschamschula openmaintainer
@@ -20,8 +21,8 @@
 github.tarball_from releases
 use_xz              yes
 
-checksums           rmd160 776f53c071ee5f0611f6195958007c11a1c39000 \
-                    sha256 85be1e859cf310bd13204c58d1e4539cfb1d74eb5ef6b0146063fa2907d7b3f2
+checksums           rmd160 07f3a86b6aa640a63653b726509148696108ad2a \
+                    sha256 2497ac04c04168cacab77626cf0d67a673ecec74b367a7619d911ff6add0e24e
 
 depends_build       port:pkgconfig
 
@@ -30,11 +31,13 @@
                     port:libevent \
                     port:libxml2 \
                     path:lib/libssl.dylib:openssl \
-                    port:py27-cython \
-                    port:py27-setuptools \
-                    port:python27 \
+                    port:py${PythonBranch}-cython \
+                    port:py${PythonBranch}-setuptools \
+                    port:python${PythonBranch} \
                     port:zlib
 
+patchfiles          patch-src-shrpx.cc.diff
+
 configure.args      --disable-silent-rules \
                     --disable-threads
 
@@ -47,7 +50,7 @@
                     PYTHON=${prefix}/bin/python${PythonVersion} \
                     PYTHON_EXTRA_LDFLAGS="-u _PyMac_Error ${frameworks_dir}/Python.framework/Versions/${PythonVersion}/Python"
 
-destroot.env        PYTHONPATH=${destroot}${prefix}/lib/python2.7/site-packages/
+destroot.env        PYTHONPATH=${destroot}${prefix}/lib/python${PythonVersion}/site-packages/
 
 pre-destroot {
     xinstall -d ${destroot}${prefix}/lib/python${PythonVersion}/site-packages/

Added: trunk/dports/www/nghttp2/files/patch-src-shrpx.cc.diff
===================================================================
--- trunk/dports/www/nghttp2/files/patch-src-shrpx.cc.diff	                        (rev 0)
+++ trunk/dports/www/nghttp2/files/patch-src-shrpx.cc.diff	2015-09-17 08:30:04 UTC (rev 140317)
@@ -0,0 +1,13 @@
+--- src/shrpx.cc.orig	2015-09-12 09:10:04.000000000 -0500
++++ src/shrpx.cc	2015-09-13 06:17:43.000000000 -0500
+@@ -912,8 +912,9 @@
+   // After that, we drop the root privileges if needed.
+   drop_privileges();
+ 
++int rv;
++
+ #ifndef NOTHREADS
+-  int rv;
+   sigset_t signals;
+   sigemptyset(&signals);
+   sigaddset(&signals, REOPEN_LOG_SIGNAL);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150917/2b808d43/attachment.html>


More information about the macports-changes mailing list