From e8f81810baa21f490d6910e8e2d424546b72a333 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 15 Sep 2019 09:01:56 +0100 Subject: gentoo resync : 15.09.2019 --- net-libs/ngtcp2/Manifest | 4 +++ net-libs/ngtcp2/metadata.xml | 11 ++++++++ net-libs/ngtcp2/ngtcp2-0_pre20190912.ebuild | 42 +++++++++++++++++++++++++++++ net-libs/ngtcp2/ngtcp2-9999.ebuild | 40 +++++++++++++++++++++++++++ 4 files changed, 97 insertions(+) create mode 100644 net-libs/ngtcp2/Manifest create mode 100644 net-libs/ngtcp2/metadata.xml create mode 100644 net-libs/ngtcp2/ngtcp2-0_pre20190912.ebuild create mode 100644 net-libs/ngtcp2/ngtcp2-9999.ebuild (limited to 'net-libs/ngtcp2') diff --git a/net-libs/ngtcp2/Manifest b/net-libs/ngtcp2/Manifest new file mode 100644 index 000000000000..d1dd40c2aa62 --- /dev/null +++ b/net-libs/ngtcp2/Manifest @@ -0,0 +1,4 @@ +DIST ngtcp2-0_pre20190912.tar.gz 302984 BLAKE2B 906b248b0c19395288ed2c5ad55c8d42a9df9d76458104785c1013b9ebfaf1b92a4b87ced8755377fcb627018cf8854be0e4687e4c8a23ae994e5a21f466f739 SHA512 91b93575143960af421e8bd37d686602905fa3093750cfbbe3af1b20d743318281d22162676dc451562768ca08b6d0767b1dc28f3f8f6733235ebd76015a05bb +EBUILD ngtcp2-0_pre20190912.ebuild 1056 BLAKE2B f26a338ea86bf6a50780417f0379f7c3e1b8fe0e80121e490bef727ae7cd2c3a76d922ec4f02ace4fea7ad239fd8e34927e2ba625106df8aed51433b4d7bc59b SHA512 8322128cfdb22291cf6cec2da0d87cbf31feae7eedf25957f670193a97481d308f68bab1e9ebf862e2221c8c896381a73631bfff6017368efa56a1d41ade1a3a +EBUILD ngtcp2-9999.ebuild 958 BLAKE2B b6860dc5cd22d05281418439391bad7e216ceb68831c8559ae650f9a99547ee4f07e95a5f571311d954303c275b267fb9b8b1dc1c9c126452c4081b9f5248f7e SHA512 48be9152f47e4d8f9d72ea18fce6c9e147417ef8f9b61062fa986689344fdab91a443e8bc2d2d5685359f9baa44e1043a2b88c02e406c8d828f72fa1a223faae +MISC metadata.xml 326 BLAKE2B 04521fe96f519c53e0a95a6a720be2e9828cb12ca5b51c6895d23e01e99d88d6b9970a5b01cdc9fc158444c01fd77e192a9071445f389df300e0fe9ec5c0d7f4 SHA512 02b24b1a01a3682c089affbba8f49eb19e1751362aa51306b9fd73e1050d465cf98511be57374321eb9b4fbb99db6c867995b9dcc1cc511b96d7286c039270bf diff --git a/net-libs/ngtcp2/metadata.xml b/net-libs/ngtcp2/metadata.xml new file mode 100644 index 000000000000..c31617286fee --- /dev/null +++ b/net-libs/ngtcp2/metadata.xml @@ -0,0 +1,11 @@ + + + + + candrews@gentoo.org + Craig Andrews + + + ngtcp2/ngtcp2 + + diff --git a/net-libs/ngtcp2/ngtcp2-0_pre20190912.ebuild b/net-libs/ngtcp2/ngtcp2-0_pre20190912.ebuild new file mode 100644 index 000000000000..a66018291013 --- /dev/null +++ b/net-libs/ngtcp2/ngtcp2-0_pre20190912.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-multilib + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/ngtcp2/ngtcp2.git" + inherit autotools git-r3 +else + GIT_COMMIT="5122d9e5e1e91c718ebc3933252ee42522c6e942" + SRC_URI="https://github.com/ngtcp2/ngtcp2/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${GIT_COMMIT}" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Implementation of the IETF QUIC Protocol" +HOMEPAGE="https://github.com/ngtcp2/ngtcp2/" + +LICENSE="MIT" +SLOT="0/0" +IUSE="ssl test" + +BDEPEND="virtual/pkgconfig" +DEPEND="ssl? ( >=dev-libs/openssl-1.1.1:0= ) + test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )" +RDEPEND="" + +multilib_src_configure() { + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_OpenSSL=$(usex !ssl) + -DCMAKE_DISABLE_FIND_PACKAGE_Libev=ON + -DCMAKE_DISABLE_FIND_PACKAGE_Libnghttp3=ON + -DCMAKE_DISABLE_FIND_PACKAGE_CUnit=$(usex !test) + ) + cmake-utils_src_configure +} + +multilib_src_test() { + cmake-utils_src_make check +} diff --git a/net-libs/ngtcp2/ngtcp2-9999.ebuild b/net-libs/ngtcp2/ngtcp2-9999.ebuild new file mode 100644 index 000000000000..32d61da3932e --- /dev/null +++ b/net-libs/ngtcp2/ngtcp2-9999.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-multilib + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/ngtcp2/ngtcp2.git" + inherit autotools git-r3 +else + SRC_URI="https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Implementation of the IETF QUIC Protocol" +HOMEPAGE="https://github.com/ngtcp2/ngtcp2/" + +LICENSE="MIT" +SLOT="0/0" +IUSE="ssl test" + +BDEPEND="virtual/pkgconfig" +DEPEND="ssl? ( >=dev-libs/openssl-1.1.1:0= ) + test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )" +RDEPEND="" + +multilib_src_configure() { + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_OpenSSL=$(usex !ssl) + -DCMAKE_DISABLE_FIND_PACKAGE_Libev=ON + -DCMAKE_DISABLE_FIND_PACKAGE_Libnghttp3=ON + -DCMAKE_DISABLE_FIND_PACKAGE_CUnit=$(usex !test) + ) + cmake-utils_src_configure +} + +multilib_src_test() { + cmake-utils_src_make check +} -- cgit v1.2.3