Received: from rage.so36.net (rage.so36.net [192.68.11.81]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 3D433781DC7 for ; Sat, 28 Sep 2019 18:05:29 +0000 (UTC) Received: from amavis.rage.so36.net (localhost [127.0.0.1]) by rage.so36.net (Postfix) with ESMTP id B54F14CA7A; Sat, 28 Sep 2019 19:59:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail36.net; s=1496709286; t=1569693544; bh=dDjNWT8qy6oMfsKnHArXG3tDVRBzdei04a96mx1xovg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nsdddU+JizI9C7VKU/ha+v0DYU7k0pP4MNuugIGZdwXbojdO53lgyz38VUj64Enpb 9PMg+bILJRl/5ImhTV2+VmC5vHJtvK3OqYE6i1/bN3l4l2Jx2jAdzcyKb4b87KQaM8 RIUswyAijzTclROWQRu9cWZ38/EiSjjsj9K5PiYSa/38CU9afk3+7jpwr9TBshiI+1 VL8wKmv8dZoiZtdJxNif+G+hICBXTflw2APcdZwm3IfilWRWFunmiwA51ivxdDqmOD qD/fgQQk8avTuH0bjer6auo1+/rrZ6SeePW+Xb0COkntFpb8k1IJS83M4x3lvaS409 C1DJxRE/D0qvw== X-Virus-Scanned: Debian amavisd-new at rage.so36.net Received: from rage.so36.net ([127.0.0.1]) by amavis.rage.so36.net (rage.so36.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id SFVTmqTo9kSJ; Sat, 28 Sep 2019 19:59:03 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: xrs@mail36.net) by rage.so36.net (Postfix) with ESMTPSA id 99AF14CA74; Sat, 28 Sep 2019 19:59:03 +0200 (CEST) From: "xrs =:-)" To: alpine-aports@lists.alpinelinux.org Cc: "xrs =:-)" Subject: [PATCH 2/4] testing/gnurl: new aport Date: Sat, 28 Sep 2019 19:57:27 +0200 Message-Id: <20190928175728.4614-2-xrs@mail36.net> In-Reply-To: <20190928175728.4614-1-xrs@mail36.net> References: <20190928175728.4614-1-xrs@mail36.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit https://gnunet.org/en/gnurl.html curl with only HTTP/HTTPS support and GnuTLS testing/ --- testing/gnurl/APKBUILD | 84 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 testing/gnurl/APKBUILD diff --git a/testing/gnurl/APKBUILD b/testing/gnurl/APKBUILD new file mode 100644 index 0000000000..f8ff73a916 --- /dev/null +++ b/testing/gnurl/APKBUILD @@ -0,0 +1,84 @@ +# Contributor: xrs +# Maintainer: xrs +pkgname=gnurl +pkgver=7.65.3 +pkgrel=0 +pkgdesc="curl with only HTTP/HTTPS support and GnuTLS" +url="https://gnunet.org/en/gnurl.html" +giturl="git://git.taler.net/gnurl.git" +arch="all" +license="MIT" +depends="ca-certificates gnutls libidn2 zlib" +depends_dev="gnutls-dev libidn2-dev zlib-dev" +makedepends="$depends_dev autoconf automake libtool perl pkgconf python3" +subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc libgnurl" +source="https://ftp.gnu.org/gnu/gnunet/$pkgname-$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + default_prepare + cd "$builddir" + autoreconf -vfi +} + +build() { + cd "$builddir" + + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \ + --prefix=/usr \ + --enable-ipv6 \ + --with-gnutls \ + --with-libidn2 \ + --without-libpsl \ + --without-libssh2 \ + --without-libmetalink \ + --without-winidn \ + --without-librtmp \ + --without-nghttp2 \ + --without-nss \ + --without-cyassl \ + --without-polarssl \ + --without-ssl \ + --without-winssl \ + --without-darwinssl \ + --disable-sspi \ + --disable-ntlm-wb \ + --disable-ldap \ + --disable-rtsp \ + --disable-dict \ + --disable-telnet \ + --disable-tftp \ + --disable-pop3 \ + --disable-imap \ + --disable-smtp \ + --disable-gopher \ + --disable-file \ + --disable-ftp \ + --disable-smb \ + --disable-ares + make +} + +check() { + cd "$builddir" + make -C tests nonflaky-test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + #install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} + +libgnurl() { + pkgdesc="curl library with only HTTP/HTTPS support and GnuTLS" + + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/lib "$subpkgdir"/usr +} + + +sha512sums="51aa71352dfe2e65dbcf542cb616af1eaa7e80fbc4ddb455a338e74eea245724ac1fa7ff226c418101e8ba298a8f85c2be9e7d9190a57c66e2e8c65d0c5186f8 gnurl-7.65.3.tar.gz" -- 2.22.0