[crux-commits] ports/contrib (refs/remotes/origin/3.6): nghttp2-libs: HTTP/2 support library (for eg cURL)

crux at crux.nu crux at crux.nu
Sat Apr 10 19:05:54 UTC 2021


commit 8522477968a0a29df21abaac12008f2c1400baa5
Author: Steffen Nurpmeso <steffen at sdaoden.eu>
Date:   Thu Feb 4 23:17:06 2021 +0100

    nghttp2-libs: HTTP/2 support library (for eg cURL)

diff --git a/nghttp2-libs/.footprint b/nghttp2-libs/.footprint
new file mode 100644
index 000000000..6910531d5
--- /dev/null
+++ b/nghttp2-libs/.footprint
@@ -0,0 +1,17 @@
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/bin/
+drwxr-xr-x	root/root	usr/include/
+drwxr-xr-x	root/root	usr/include/nghttp2/
+-rw-r--r--	root/root	usr/include/nghttp2/nghttp2.h
+-rw-r--r--	root/root	usr/include/nghttp2/nghttp2ver.h
+drwxr-xr-x	root/root	usr/lib/
+-rw-r--r--	root/root	usr/lib/libnghttp2.a
+-rwxr-xr-x	root/root	usr/lib/libnghttp2.la
+lrwxrwxrwx	root/root	usr/lib/libnghttp2.so -> libnghttp2.so.14.20.1
+lrwxrwxrwx	root/root	usr/lib/libnghttp2.so.14 -> libnghttp2.so.14.20.1
+-rwxr-xr-x	root/root	usr/lib/libnghttp2.so.14.20.1
+drwxr-xr-x	root/root	usr/lib/pkgconfig/
+-rw-r--r--	root/root	usr/lib/pkgconfig/libnghttp2.pc
+drwxr-xr-x	root/root	usr/share/
+drwxr-xr-x	root/root	usr/share/nghttp2/
+-rwxr-xr-x	root/root	usr/share/nghttp2/fetch-ocsp-response
diff --git a/nghttp2-libs/.signature b/nghttp2-libs/.signature
new file mode 100644
index 000000000..09037af76
--- /dev/null
+++ b/nghttp2-libs/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF38qGKs3yQy4rW1LX/r24741OS6vcq8K+oEhohvdzOUixjLshajijuelAONsGWcvZ+n2fI2TO1LlElfU63KWtegw=
+SHA256 (Pkgfile) = 71ef72e08030eddccaa9d0e3055b3a2501934bb2c5dd06150ae0ce345e9274b9
+SHA256 (.footprint) = f3e07181c1980fb44875cc740e9a845161696505ca1fea636b80f3d62fe12f70
+SHA256 (nghttp2-1.43.0.tar.xz) = f7d54fa6f8aed29f695ca44612136fa2359013547394d5dffeffca9e01a26b0f
diff --git a/nghttp2-libs/Pkgfile b/nghttp2-libs/Pkgfile
new file mode 100644
index 000000000..0ed74bf3c
--- /dev/null
+++ b/nghttp2-libs/Pkgfile
@@ -0,0 +1,24 @@
+# Description: nghttp2-libs: HTTP/2 libraries (for eg cURL)
+# URL:         https://nghttp2.org
+# Maintainer:  Steffen Nurpmeso, steffen at sdaoden dot eu
+
+rname=nghttp2
+name=${rname}-libs
+version=1.43.0
+release=1
+source=(https://github.com/${rname}/${rname}/releases/download/v${version}/${rname}-${version}.tar.xz)
+
+build() {
+   cd ${rname}-${version}
+
+   ./configure --prefix=/usr --enable-lib-only \
+      --without-libxml2 --without-mruby --without-neverbleed \
+      --without-systemd --without-jemalloc
+
+   make
+   make DESTDIR="${PKG}" install
+
+   rm -rf "${PKG}"/usr/share/doc "${PKG}"/usr/share/man
+}
+
+# s-sh-mode


More information about the crux-commits mailing list