From 06a7b5647e11a8ddf69b1c3d3ded6a8ba28b923e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 2 Mar 2018 15:59:12 +0000 Subject: gentoo resync : 02.03.2018 --- net-libs/Manifest.gz | Bin 33404 -> 34053 bytes net-libs/libbloom/Manifest | 3 + net-libs/libbloom/libbloom-1.5.ebuild | 21 +++ net-libs/libbloom/metadata.xml | 11 ++ net-libs/libcork/Manifest | 3 + net-libs/libcork/libcork-0.15.0.ebuild | 16 ++ net-libs/libcork/metadata.xml | 11 ++ net-libs/libcorkipset/Manifest | 3 + .../libcorkipset-1.1.1.20150311_p8.ebuild | 39 ++++ net-libs/libcorkipset/metadata.xml | 11 ++ net-libs/libmicrodns/Manifest | 5 + .../files/libmicrodns-0.0.9-null-addr-fix.patch | 24 +++ net-libs/libmicrodns/libmicrodns-0.0.9.ebuild | 31 ++++ net-libs/libmicrodns/libmicrodns-9999.ebuild | 29 +++ net-libs/libmicrodns/metadata.xml | 14 ++ net-libs/libssh/Manifest | 2 +- net-libs/libssh/libssh-0.7.5-r1.ebuild | 4 +- net-libs/mbedtls/Manifest | 2 + net-libs/mbedtls/mbedtls-2.7.1.ebuild | 93 ++++++++++ net-libs/miniupnpc/Manifest | 2 + net-libs/miniupnpc/miniupnpc-2.0.20180222.ebuild | 56 ++++++ net-libs/nativebiginteger/Manifest | 7 +- .../files/nativebiginteger-0.6.4-asmfix.patch | 31 ---- .../files/nativebiginteger-0.6.4-ldflags.patch | 17 -- .../nativebiginteger-0.6.4-r3.ebuild | 35 ---- .../nativebiginteger/nativebiginteger-0.6.4.ebuild | 29 --- .../nativebiginteger/nativebiginteger-0.8.7.ebuild | 4 +- net-libs/nghttp2/Manifest | 2 + net-libs/nghttp2/nghttp2-1.31.0.ebuild | 68 +++++++ net-libs/nodejs/Manifest | 6 +- net-libs/nodejs/nodejs-6.12.3.ebuild | 199 -------------------- net-libs/nodejs/nodejs-9.5.0.ebuild | 201 --------------------- net-libs/nodejs/nodejs-9.7.1.ebuild | 200 ++++++++++++++++++++ net-libs/ntirpc/Manifest | 9 +- .../ntirpc/files/ntirpc-1.4.1-city-header.patch | 60 ------ net-libs/ntirpc/ntirpc-1.4.1.ebuild | 33 ---- net-libs/ntirpc/ntirpc-1.5.2.ebuild | 29 --- net-libs/ntirpc/ntirpc-1.5.3.ebuild | 32 ---- net-libs/ntirpc/ntirpc-1.6.1.ebuild | 30 +++ 39 files changed, 684 insertions(+), 688 deletions(-) create mode 100644 net-libs/libbloom/Manifest create mode 100644 net-libs/libbloom/libbloom-1.5.ebuild create mode 100644 net-libs/libbloom/metadata.xml create mode 100644 net-libs/libcork/Manifest create mode 100644 net-libs/libcork/libcork-0.15.0.ebuild create mode 100644 net-libs/libcork/metadata.xml create mode 100644 net-libs/libcorkipset/Manifest create mode 100644 net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild create mode 100644 net-libs/libcorkipset/metadata.xml create mode 100644 net-libs/libmicrodns/Manifest create mode 100644 net-libs/libmicrodns/files/libmicrodns-0.0.9-null-addr-fix.patch create mode 100644 net-libs/libmicrodns/libmicrodns-0.0.9.ebuild create mode 100644 net-libs/libmicrodns/libmicrodns-9999.ebuild create mode 100644 net-libs/libmicrodns/metadata.xml create mode 100644 net-libs/mbedtls/mbedtls-2.7.1.ebuild create mode 100644 net-libs/miniupnpc/miniupnpc-2.0.20180222.ebuild delete mode 100644 net-libs/nativebiginteger/files/nativebiginteger-0.6.4-asmfix.patch delete mode 100644 net-libs/nativebiginteger/files/nativebiginteger-0.6.4-ldflags.patch delete mode 100644 net-libs/nativebiginteger/nativebiginteger-0.6.4-r3.ebuild delete mode 100644 net-libs/nativebiginteger/nativebiginteger-0.6.4.ebuild create mode 100644 net-libs/nghttp2/nghttp2-1.31.0.ebuild delete mode 100644 net-libs/nodejs/nodejs-6.12.3.ebuild delete mode 100644 net-libs/nodejs/nodejs-9.5.0.ebuild create mode 100644 net-libs/nodejs/nodejs-9.7.1.ebuild delete mode 100644 net-libs/ntirpc/files/ntirpc-1.4.1-city-header.patch delete mode 100644 net-libs/ntirpc/ntirpc-1.4.1.ebuild delete mode 100644 net-libs/ntirpc/ntirpc-1.5.2.ebuild delete mode 100644 net-libs/ntirpc/ntirpc-1.5.3.ebuild create mode 100644 net-libs/ntirpc/ntirpc-1.6.1.ebuild (limited to 'net-libs') diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz index 0e7ce4587f91..d84be661bdc0 100644 Binary files a/net-libs/Manifest.gz and b/net-libs/Manifest.gz differ diff --git a/net-libs/libbloom/Manifest b/net-libs/libbloom/Manifest new file mode 100644 index 000000000000..2e361babc44d --- /dev/null +++ b/net-libs/libbloom/Manifest @@ -0,0 +1,3 @@ +DIST libbloom-1.5.tar.gz 1210081 BLAKE2B 8af463c487c2898c5a4cf3f7541490e2b069d4667ccda4b536f347535be5c7f5664c8ee17e0789ac5325feb8f325ae30a89e2de34323962e89378724cf130a84 SHA512 0dd69e3ee102e5808ba4350c71d212876db56235e263f8d5a66d6c3616d2e51cc18b5ca3a5a946d79c12751d9cc5667f7c633d77645c4b88a4d16ea344b51929 +EBUILD libbloom-1.5.ebuild 465 BLAKE2B ebabfdbbe91d970999ffc2d4d4e855a7fa99ebc940b5b0dd6a058726eb76190aa4ce32639eb7b5cfc61ddecadf9f3c136789c9e802b7cbde690e3455b1f3fd08 SHA512 26f81fa54486c1a0524305e5cfc57a22d1bc56b6049c58cf0a3b8b70bd3f879c737f004a935c633b6144d83ad4b35bf6086d2ce80a582574b8d6b1c1b2bf6bd0 +MISC metadata.xml 321 BLAKE2B b9276958b83d4101521b0946b8cd6db70acfc4e7257fe1773cf0e85a1f6d9434c2d27022f3628578aad4156fedafd635f89c273b09933918149491c96918d207 SHA512 c744f0f8c72f05d96c85a7dade513d5aae40413450902b66d30a0eff88c92e4f9bbf2a1f0ccfef29bef817115dd85ff7ce4386592a25ee9f5e492a398a9ff4f8 diff --git a/net-libs/libbloom/libbloom-1.5.ebuild b/net-libs/libbloom/libbloom-1.5.ebuild new file mode 100644 index 000000000000..665848c2f38d --- /dev/null +++ b/net-libs/libbloom/libbloom-1.5.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="A simple and small bloom filter implementation in plain C." +HOMEPAGE="https://github.com/jvirkki/libbloom" +SRC_URI="https://github.com/jvirkki/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_install() { + doheader bloom.h + dolib.so build/${PN}.so* +} diff --git a/net-libs/libbloom/metadata.xml b/net-libs/libbloom/metadata.xml new file mode 100644 index 000000000000..1cb3ccba0e35 --- /dev/null +++ b/net-libs/libbloom/metadata.xml @@ -0,0 +1,11 @@ + + + + + dlan@gentoo.org + Yixun Lan + + + jvirkki/libbloom + + diff --git a/net-libs/libcork/Manifest b/net-libs/libcork/Manifest new file mode 100644 index 000000000000..d6e996f5ada0 --- /dev/null +++ b/net-libs/libcork/Manifest @@ -0,0 +1,3 @@ +DIST libcork-0.15.0.tar.gz 182736 BLAKE2B cfabcf4b040d3d2796511b5d7dce005fcff9bc6704dfaf89ea9eac36617b0c544e932ab3e12c0b06e4e3e916c50da10ba26401527a8e83bde523b91b911fd6da SHA512 8f41cce2101b96707068a21e5bd0a43c23f996c3620e7dd36621ed4bdd3f92851a92ea56ed92db40d7d8fe55ddfbdfcdaac4d2c8b2fc6cb3b1abe3b0e74c6a75 +EBUILD libcork-0.15.0.ebuild 396 BLAKE2B 0750fdcd3319acdc99cf3b95a0104c99fd6a308eda8091811794ff891b8bd90ce81cb5a3a65fe5a4157f29ed2c6dd0676eca0882f32d83e46fac56a877c91b9f SHA512 7c7ca6983cc6859a4161ee6ab8d2d48c4b2a378d8dbbed1f548d53057848b96bf9204d67dd4dc22c84cd5eb2c9301ee5e9d7a5098e9ed5ce562ed172f9af38b9 +MISC metadata.xml 321 BLAKE2B 413fda934011eb441b90050b4b07cb32143b70be324588f93a2d34076f67e65dac26bbfac264155c62d03a8feccfa42e14e33f80dcbc3c92d9ca8606a57ee108 SHA512 b51116388b073e857b090b791063df90c082fb7268ae80b594362e84999e4f22de11636dbb8abc9d214f651799cf1385905706de5b875c9fefdcc3c9cbc09594 diff --git a/net-libs/libcork/libcork-0.15.0.ebuild b/net-libs/libcork/libcork-0.15.0.ebuild new file mode 100644 index 000000000000..3a4e572ad7ff --- /dev/null +++ b/net-libs/libcork/libcork-0.15.0.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="A simple, easily embeddable cross-platform C library" +HOMEPAGE="https://github.com/dcreager/libcork" +SRC_URI="https://github.com/dcreager/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" diff --git a/net-libs/libcork/metadata.xml b/net-libs/libcork/metadata.xml new file mode 100644 index 000000000000..683634c974c8 --- /dev/null +++ b/net-libs/libcork/metadata.xml @@ -0,0 +1,11 @@ + + + + + dlan@gentoo.org + Yixun Lan + + + dcreager/libcork + + diff --git a/net-libs/libcorkipset/Manifest b/net-libs/libcorkipset/Manifest new file mode 100644 index 000000000000..0be312d5faed --- /dev/null +++ b/net-libs/libcorkipset/Manifest @@ -0,0 +1,3 @@ +DIST libcorkipset-1.1.1.20150311_p8.tar.gz 78188 BLAKE2B cb32200a522c69b440963b11eb45e04a4ebc13a42e0067b51ffbbaa9ed15bc91e6dd4c58e6f11028f9cb309b63660e5a3bf33426157bedc6e4ddea626eb2450b SHA512 5bbce2727da1665e734981959ecb253b4052d8cc6c426fded7e1678b6e2505bc9f4c0ab3cd3b6a03f834f5e20bd1d670cc19f7491fe0ad5b7cb772e7309f5009 +EBUILD libcorkipset-1.1.1.20150311_p8.ebuild 939 BLAKE2B c71553ff16747dd727993c9f88a444a6c4397c7ba4eff2aa839b2fc53040d6aa7a367c2511661868673659025c317731480788d8e1071e1980846e7e37a659f9 SHA512 9e7ebba1a893828e01fd138c896f7dd2f03e9b9db9721eb8eead4e20659170dd846e5242ec8e082a43bc7236b7eb561fcf866fd5a7954b5ea921124e9006ecf8 +MISC metadata.xml 325 BLAKE2B 00a401def99d5194ebb97f6bfb763707aab6b7f53ad4f799af4f5f230de2ff17868f912ea2c728af2dc7c25060570af8824704107c6f2234524eb9b356387995 SHA512 6a8689c85274319b59094d6f31848c52de259f52905d1715024b70bbc96ce5f36ca88e5527bc9b3668bf9448e8233c2dca23233d0554c4af9315884bc14f6799 diff --git a/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild b/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild new file mode 100644 index 000000000000..fd8b1f855364 --- /dev/null +++ b/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-utils + +DATE=20150311 +MY_PV="${PV/.${DATE}_p/+${DATE}-}" +MY_PX="${PV/.${DATE}_p/-${DATE}-}" + +DESCRIPTION="A small C helper library for storing sets of IPv4 and IPv6 addresses" +HOMEPAGE="https://github.com/rogers0/libcorkipset" +SRC_URI="https://github.com/rogers0/${PN}/archive/debian/${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="net-libs/libcork" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-debian-${MY_PX}" + +src_prepare() { + rm -f "${S}"/debian/patches/0001*.patch || die + eapply "${S}"/debian/patches/*.patch + + sed -e 's%#include + + + + dlan@gentoo.org + Yixun Lan + + + rogers0/libcorkipset + + diff --git a/net-libs/libmicrodns/Manifest b/net-libs/libmicrodns/Manifest new file mode 100644 index 000000000000..5c4e819bcc7c --- /dev/null +++ b/net-libs/libmicrodns/Manifest @@ -0,0 +1,5 @@ +AUX libmicrodns-0.0.9-null-addr-fix.patch 945 BLAKE2B 40b777b9d0d1a781d1ee3ff82a2370d0ca414c687d665b0df1aa9750e9bde79c027e661c9ead963edb366858c46f6118139903f77d8d4ef99df99b8c28d28268 SHA512 83ef122e8192f34608965e9d6a479ce73abf98c28028f5749e0c53cc677225fae25f501573b671425754b14fb1b871a29caff6e116ed19700cae464b4b7b4236 +DIST libmicrodns-0.0.9.tar.gz 57333 BLAKE2B a9e1d099d4588863dee3c2735a2e3f9cd46212729c342e06cccad1a8e997e85964e7f917ce97f50c0cccd21c1662ef9baf7392333ea666ff65b0577f57bab692 SHA512 6f7dbf1a324fed847131745498895ab0773dfc3c7bb96a05bf0fd3df0c0ce19d7f607789f7a5350d34e91e7ba323ee57196eb37ce351f83a9faa82c5fc8d89a8 +EBUILD libmicrodns-0.0.9.ebuild 606 BLAKE2B 7ee827971ba1e7eed19bded10e3e2d14e46fe2ab7450441f66286c14e9a69ad1d0f2d661a8868394a972a3be5a6adfaa38c6052ee823bfab6641512addc590f3 SHA512 3e3fbdecebe3971f8c4dc459b14413fbdb0460ec9d80b2e2452097e178920a2f4749fcf9b9647e2d30c67ecdcb72590c6fac96e48cd93731e3aea4eeb5dfe2b0 +EBUILD libmicrodns-9999.ebuild 547 BLAKE2B 9e2f1b42a8bfdf1ff226c6ab31c69d4925b7257d1f8f63f3442b42bb3001acdd3c34d96f6f8078f426db8c7a687842524910efacbc2486f6da28619a847414bf SHA512 fcb52e9ec7308571d795fd4449e4ec05ee4ff46dc6b9a7d3f3c4509d5481c16d1240cce3fbe739cebc2a8f67bad3890dfa4b657047e3bc30f1aab9468fb14c9f +MISC metadata.xml 430 BLAKE2B 94c8e7b19ca9899428db5b67c33d492423ab83f354e878271bdc6ce9b6602c78892b5069ce38032e837e68285c2979bfb43ea11650d734ae6061089a3f2d1232 SHA512 7ca90565928898c788ac8b87abff3909c5d1c0947c57e4ba30b0929a794ac943c20f2002601d2614dca35c2e3b09432653378bd66eaa6f53881c8cc6f86b892c diff --git a/net-libs/libmicrodns/files/libmicrodns-0.0.9-null-addr-fix.patch b/net-libs/libmicrodns/files/libmicrodns-0.0.9-null-addr-fix.patch new file mode 100644 index 000000000000..e2bb711c7c10 --- /dev/null +++ b/net-libs/libmicrodns/files/libmicrodns-0.0.9-null-addr-fix.patch @@ -0,0 +1,24 @@ +From efdf2754f9f8b801048b8fdae2b269f091128193 Mon Sep 17 00:00:00 2001 +From: Jean-Baptiste Kempf +Date: Thu, 1 Mar 2018 02:58:13 +0100 +Subject: [PATCH] Fix more of the same crash + +--- + src/mdns.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/src/mdns.c b/src/mdns.c +index 132beef..55c5cb4 100644 +--- a/src/mdns.c ++++ b/src/mdns.c +@@ -117,7 +117,9 @@ mdns_list_interfaces(multicast_if** pp_intfs, size_t* p_nb_intf, int ai_family) + return (MDNS_ERROR); + } + for (c = ifs; c != NULL; c = c->ifa_next) { +- if (c->ifa_addr->sa_family != ai_family || !mdns_is_interface_valuable(c)) ++ if (c->ifa_addr == NULL || ++ c->ifa_addr->sa_family != ai_family || ++ !mdns_is_interface_valuable(c)) + continue; + memcpy(intfs, c->ifa_addr, sizeof(*intfs)); + intfs++; diff --git a/net-libs/libmicrodns/libmicrodns-0.0.9.ebuild b/net-libs/libmicrodns/libmicrodns-0.0.9.ebuild new file mode 100644 index 000000000000..bc70a4e7eb82 --- /dev/null +++ b/net-libs/libmicrodns/libmicrodns-0.0.9.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Minimal mDNS resolver (and announcer) library" +HOMEPAGE="https://videolabs.io" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/videolabs/${PN}" +else + SRC_URI="https://github.com/videolabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${PN}-0.0.9-null-addr-fix.patch" ) + +src_prepare(){ + default + eautoreconf +} diff --git a/net-libs/libmicrodns/libmicrodns-9999.ebuild b/net-libs/libmicrodns/libmicrodns-9999.ebuild new file mode 100644 index 000000000000..b6c7ba5a1eb3 --- /dev/null +++ b/net-libs/libmicrodns/libmicrodns-9999.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Minimal mDNS resolver (and announcer) library" +HOMEPAGE="https://videolabs.io" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/videolabs/${PN}" +else + SRC_URI="https://github.com/videolabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare(){ + default + eautoreconf +} diff --git a/net-libs/libmicrodns/metadata.xml b/net-libs/libmicrodns/metadata.xml new file mode 100644 index 000000000000..f6508cd87852 --- /dev/null +++ b/net-libs/libmicrodns/metadata.xml @@ -0,0 +1,14 @@ + + + + + NP-Hardass@gentoo.org + NP-Hardass + + + Minimal mDNS resolver (and announcer) library + + + videolabs/libmicrodns + + diff --git a/net-libs/libssh/Manifest b/net-libs/libssh/Manifest index 1529476b2894..47e5bb3d48ef 100644 --- a/net-libs/libssh/Manifest +++ b/net-libs/libssh/Manifest @@ -4,6 +4,6 @@ AUX libssh-0.7.5-fix-config-parsing.patch 1076 BLAKE2B f710d58d36ec529c9390647b1 DIST libssh-0.7.4.tar.xz 351892 BLAKE2B 5427faa04eac7b57f73909f113d933daf667f8311c30364bbf06d4f01121a58f5b560e0a1d9071655ce9b310fa3f3f801e11e880ca3eacde66efa0f49dc51b2b SHA512 94b8183e5c83e339303c1a160c92ccff6159471ac7d189ab66cf6d606d2e803fd616519f079aef1577c947d3a14e315332b05ea08e44d0ab550edbcb768dbea7 DIST libssh-0.7.5.tar.xz 351632 BLAKE2B b41cccb6215c5b7e66742171d91e1081d3c1bf44455b65a5992093d31b28db7a6375e815303e115e02b2458c734d9c61e4b1528ba905bf8a421ca2bbb7221ce6 SHA512 6c7f539899caaedf13d66fa2e0fac1a475ecdfe389131abcbdf908bdebc50a0b9e6b0d43e67e52aea85c32f6aa68e46ca2f50695992f82ded83489f445a8e775 EBUILD libssh-0.7.4.ebuild 2478 BLAKE2B 86cdd0d7445a37fbff25a82b79cd910645525a668e534abcf96a6e4ca9846d5d20fbe8c4891bd4878f0bfb315a283b3a970565963c59fe6a51d5d56d9382994a SHA512 1c7b902fd9dbd2e4826be08c9d326dd3bf858e8ebedfe489ddcef917c888f225742967b93cdf8d647bb42ff4e5938b463e3e7526afd76986b7561399ffb10079 -EBUILD libssh-0.7.5-r1.ebuild 2572 BLAKE2B 69e64c210aa7948dc9c8d04b1603768eb87cd5ef12ef79d8f7d41654f781476c6d7f2d06f5ec0e9517ecaa6387e9736d482c9facc10c8410b2d50baf47ec99fc SHA512 6653cd6ca61bea75ab815e219c8a8f4bf03d99a8b25c3d948f3bf6ecd363b0ffded197a57cef7bf392a4dd08069d58992155b5fef38121d9e4eb524459a703f4 +EBUILD libssh-0.7.5-r1.ebuild 2584 BLAKE2B 21ee1d5dcb7013d613bc1573ee2a0fd0f56e762cb85e382cfae0e8571fb6bd83d2b9c474245855e70db063644d6e0cf26d33cb32dac543d9ed877f8564208166 SHA512 5d6f02c98c35d7477a230fd9e1612c53deb410bc095e874df73ae2b58f67698cb1e22d8a321c56b3ab55be2fb0a6d993f52e073f27b4aa35dae3f2429d9d5b15 EBUILD libssh-9999.ebuild 2128 BLAKE2B 394967b5e90dbeddbfa8f2fc9fcf17afc0f2c282bf25c5efc8a0e3786573dd9750bcdc63732610bc87e9b779c29014753acc95d239d6b9c3b67a412f908d09a9 SHA512 49e17db7bce80cc8b70ac3ba51f874007e0f09b8407a7e2af3cde79c5d2ec713aed317d258b4cefb7b753b790219c882931cc06154187683dacc83e2a5ab7cb5 MISC metadata.xml 648 BLAKE2B bd4e4be029fdb3ef1e5ce2e16b6f5b922bf43c32ff4ecd50a67db98f9f7669022caf96d965fc85065b5ea8ac65b5547bc3d62d1da6bebdbc5a9a877be5a23c18 SHA512 4e99644645a43ccf7c479c6808ecb2dfe9f9aba69518ab1e2a1289732b926d853ff5554c69fff71e4bb572d12af298ebe19ecb1086da2e8675153b5c42faf589 diff --git a/net-libs/libssh/libssh-0.7.5-r1.ebuild b/net-libs/libssh/libssh-0.7.5-r1.ebuild index 6cf8db76a118..f6f7e67c1413 100644 --- a/net-libs/libssh/libssh-0.7.5-r1.ebuild +++ b/net-libs/libssh/libssh-0.7.5-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ HOMEPAGE="https://www.libssh.org/" SRC_URI="https://red.libssh.org/attachments/download/218/${MY_P}.tar.xz -> ${P}.tar.xz" LICENSE="LGPL-2.1" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux" SLOT="0/4" # subslot = soname major version IUSE="debug doc examples gcrypt gssapi libressl pcap server +sftp ssh1 static-libs test zlib" # Maintainer: check IUSE-defaults at DefineOptions.cmake diff --git a/net-libs/mbedtls/Manifest b/net-libs/mbedtls/Manifest index 27d2bdca323a..a0344542c8f1 100644 --- a/net-libs/mbedtls/Manifest +++ b/net-libs/mbedtls/Manifest @@ -1,7 +1,9 @@ DIST mbedtls-2.6.0.tar.gz 1912899 BLAKE2B 6477cfabc8f86e4ac9cfd3539c3645ebb1446de801f80c7dee8d6bae436a8de79d4eeb2f5d3a0bf7973119f9bc7370b1032feddeb344fb548100e32b719ece72 SHA512 d03c7adace6647d7d4700bf45becde9d31144bd2adf10cc7f2a73d19fd338c8b81ab8373a81400d74818fd99ce1661979bc5386760b7a68d263fb67406ee2641 DIST mbedtls-2.6.1.tar.gz 1912980 BLAKE2B 8ac29233edcd61fc2c440db86dd8359daa5fd6cf268f41748eb7d71d228739132ab22018ee636ac83e8bdb89917650103d9cea2b62ce28bf59a3a6d0cbe87f7e SHA512 06f8ba2a453164bac01d20ca6f5c80e691857977ef501d56685e81a0e90dddae1bedeab46c18c22f9a3b72894d45d7466f76a5c404417b6613ddae0ee4a881c8 DIST mbedtls-2.7.0.tar.gz 2038485 BLAKE2B 66f853eb3832b3b8e531fc31ab826d9d4a19dc78cebb64d6893ed6adfce8816f65d43dee28ce34212e507e08c9fcb5918819996e3f819c0d048a5916857348df SHA512 411ec25d2cd51abbbfa2312195c4e65aa578855f6f909b8668375e6f5ce5401a00153cb4790328daaf85cd2d0ce647dbcc9fa556331e2d14709ba64aff883867 +DIST mbedtls-2.7.1.tar.gz 2040225 BLAKE2B 5743f1bdc9af8dd4425c36907d4cfa4a07ab6dd0a092d0b7e4ecdd775e19396ae409a7f5438bbe9d87a9e8fec28e45ef9472baea752bd2b3c06b4c62487bec49 SHA512 ba4b7dfafc02a949ffa91fb73ee574b320fe64731c3880abe4dd9730384c28ee67c9788375cbd654d385e90aee1bb9265a873ddda5c21ee8385f02ff784db3fc EBUILD mbedtls-2.6.0.ebuild 2417 BLAKE2B 85efcdbf48b0dcf155598f0e6731f75ac351c1677798484d7d2456e55005dc0f0bf02d8708fc53d5af57a06c65f2b4ae0aa36f19bcb63145f8af8b640aadcd4e SHA512 3640d53989a58dd4731afe8050c73baa3880825b1c171c345451da4db76f6231c802ed6b21afe62d33b4111db295a4d29f5cc3737a34b0d955b2cea20979d5bb EBUILD mbedtls-2.6.1.ebuild 2426 BLAKE2B fa77e8b8060ef1cba7e0dea4ba0da72b1f731fffb4194eb1d3c1b88dcd9f475e5d77a9113b825549ce1cd39bf3b2f8fa6907b862cf5ed2cb53e5f4a65214918d SHA512 38486a58add1060c65a0f190cb7b9e7327da8dfa9a3c05f93ee149b5e68ea9bf02d0acff502264d0314986e00a18ca3247f39adf4c6272fc1f6c0dd0cc0248de EBUILD mbedtls-2.7.0.ebuild 2426 BLAKE2B 3876ca38f5c8df3b858f4430bcf45fa5453876378fadfae9b06e0af1418c7dfdc853b9b781c0f12af47a6c2bc518c48203ba0f1bcf5fd05209dd831a33e82688 SHA512 d47bd79f91aa75bac1c15d945a01bcb1fd1df02641831b5579d52185c92419b3fb4a438be0968c4995a53ae360fd04e425b1ecc700cae42f6b92b4bb258face8 +EBUILD mbedtls-2.7.1.ebuild 2426 BLAKE2B 3876ca38f5c8df3b858f4430bcf45fa5453876378fadfae9b06e0af1418c7dfdc853b9b781c0f12af47a6c2bc518c48203ba0f1bcf5fd05209dd831a33e82688 SHA512 d47bd79f91aa75bac1c15d945a01bcb1fd1df02641831b5579d52185c92419b3fb4a438be0968c4995a53ae360fd04e425b1ecc700cae42f6b92b4bb258face8 MISC metadata.xml 749 BLAKE2B ae622270ab3325ba6eb31b2699f2a470f348a4c7fa45dd1d11c7e022ded38bc57acb1357082fd57cf951b0422e0b5e08157acc6ebe841db9a5ef23ba9a3d9df9 SHA512 b1d9eb197d6c904a964bc21fadb939a2cdffaab0990c2254ed57e4dcf123353762c860ce36109072a192b3b31dec25b9c1236d209f42b2e95bcedb1e9342e3e5 diff --git a/net-libs/mbedtls/mbedtls-2.7.1.ebuild b/net-libs/mbedtls/mbedtls-2.7.1.ebuild new file mode 100644 index 000000000000..a992986693d0 --- /dev/null +++ b/net-libs/mbedtls/mbedtls-2.7.1.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils multilib-minimal + +DESCRIPTION="Cryptographic library for embedded systems" +HOMEPAGE="https://tls.mbed.org/" +SRC_URI="https://github.com/ARMmbed/mbedtls/archive/${P}.tar.gz" +S=${WORKDIR}/${PN}-${P} + +LICENSE="Apache-2.0" +SLOT="0/10" # slot for libmbedtls.so +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="cpu_flags_x86_sse2 doc havege libressl programs test threads zlib" + +RDEPEND=" + programs? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen media-gfx/graphviz ) + test? ( dev-lang/perl )" + +enable_mbedtls_option() { + local myopt="$@" + # check that config.h syntax is the same at version bump + sed -i \ + -e "s://#define ${myopt}:#define ${myopt}:" \ + include/mbedtls/config.h || die +} + +src_prepare() { + use cpu_flags_x86_sse2 && enable_mbedtls_option MBEDTLS_HAVE_SSE2 + use zlib && enable_mbedtls_option MBEDTLS_ZLIB_SUPPORT + use havege && enable_mbedtls_option MBEDTLS_HAVEGE_C + use threads && enable_mbedtls_option MBEDTLS_THREADING_C + use threads && enable_mbedtls_option MBEDTLS_THREADING_PTHREAD + + cmake-utils_src_prepare +} + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_PROGRAMS=$(multilib_native_usex programs) + -DENABLE_ZLIB_SUPPORT=$(usex zlib) + -DUSE_STATIC_MBEDTLS_LIBRARY=OFF + -DENABLE_TESTING=$(usex test) + -DUSE_SHARED_MBEDTLS_LIBRARY=ON + -DINSTALL_MBEDTLS_HEADERS=ON + -DLIB_INSTALL_DIR="/usr/$(get_libdir)" + ) + + cmake-utils_src_configure +} + +multilib_src_compile() { + cmake-utils_src_compile + use doc && multilib_is_native_abi && emake apidoc +} + +multilib_src_test() { + LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${BUILD_DIR}/library" \ + cmake-utils_src_test +} + +multilib_src_install() { + cmake-utils_src_install +} + +multilib_src_install_all() { + use doc && HTML_DOCS=( apidoc ) + + einstalldocs + + if use programs ; then + # avoid file collisions with sys-apps/coreutils + local p e + for p in "${ED%/}"/usr/bin/* ; do + if [[ -x "${p}" && ! -d "${p}" ]] ; then + mv "${p}" "${ED%/}"/usr/bin/mbedtls_${p##*/} || die + fi + done + for e in aes hash pkey ssl test ; do + docinto "${e}" + dodoc programs/"${e}"/*.c + dodoc programs/"${e}"/*.txt + done + fi +} diff --git a/net-libs/miniupnpc/Manifest b/net-libs/miniupnpc/Manifest index 0199bda770b4..1472aa783db3 100644 --- a/net-libs/miniupnpc/Manifest +++ b/net-libs/miniupnpc/Manifest @@ -1,7 +1,9 @@ DIST miniupnpc-2.0.20170509.tar.gz 86055 BLAKE2B 7da640c4baac58aa26965a670877953b4c2d27aff08b604366bad6913b30c152d52120099f37c6250eeed97396ff412a4dd6000179070a82eebd3c052596b0d0 SHA512 71ec052ef6c8ad0d529e467ddae6eae19a93b9816174eeac753aa90e036cc2f00cf7e8d1cdb188ef8280849a988fe2995e37b63f8e2a361e021c1d1b306bff6f DIST miniupnpc-2.0.20171212.tar.gz 86607 BLAKE2B fce582c4125192f74f6ffb174295020af1c9b574b2094f5565a5e49641820a2d9cef719de59cb94bfd207182505237c22cf58425e1a7b47f5dfe2eb84c07d3c5 SHA512 d25708f4e2ef7311878ba6d17cb506f4bfe5c9cc6b7a79e4168f143ca9da8b96beb018c42dd735f0b23806668eba2308b7de26d1b506d91c23f79c7ed77399a0 DIST miniupnpc-2.0.20180203.tar.gz 86772 BLAKE2B 6959d7033f12d3cbe52bbe1ec2178c068a448441d22501f44a7228b2050b53ff5e955d390ff03071e6f34df2a652040bf5ab23c59aca16dc4379e380dd46fea8 SHA512 b8ebf02ed01c5217a789397b7c224ba21d233cb544ccdfd907fb9c6f49adae6864eb17963b9b9f654ecf3fde864c191fd7d00c5cf614771a7137a030f341f226 +DIST miniupnpc-2.0.20180222.tar.gz 87018 BLAKE2B 656ae02ac6e462084252d95e579972d2bbaec24cf44b5910d4fc1a956723a8ed8fecaa428aea361a7ec8a3ff60b82e0d9468ac21d251c16ac8c2b52eafec6ab3 SHA512 0cceeedff6c584d2d7037ff91fbba0fe580fabfda810b9a9ed7c8d8495445339e3ff115d63d4429bcd3eff2b13b123e1bd5855ff1bc9dcd986b968a82c368591 EBUILD miniupnpc-2.0.20170509.ebuild 1266 BLAKE2B 275a77b2813007c8055df57d2e8d74c05c02e7f81af1b1ad766a4c9f274f955c7d56779184983a1e45962bbc38e9ff58f15f4bfc076ed86cc1400eabac4f2dcb SHA512 aeeaba172f38162342256afc17223e1efce42f149561ca0e19bcd8336d32dd74d51a55951f4df79663d1999702930eb4dcd6ceebeea9afe82d9f376432dd7271 EBUILD miniupnpc-2.0.20171212.ebuild 1270 BLAKE2B 42eab3cd40d4764a3c551cb4530ce4def1cf190b475db3dcd4da32b7e420384a20a05d33ae009e44736e75f2e65ed5a0b07207cbf8aa9d492d8b67c0c8aec25e SHA512 6bf4ca48552697b0d25988f7561e436e8cb6fb77ae8d4c45dafc45fa98f5e42482561cbd45ade92a8f218874b37925c6c9874f83a98e9d1a13d286202238d3d6 EBUILD miniupnpc-2.0.20180203.ebuild 1339 BLAKE2B be0965e64f83087fffb495b3c3de74d691b2575fd8d14b36c56284404e912b623baea93027c61d58d354ef00c8fb31f4581b01959606683e1d23563e75b72891 SHA512 af3b05b0af780f4b8707209b7d1bbd26c8952c0f9314f613569f6da6e03a5bac9961d19e16e6c0876abee7006401c909b02e5c058daba7e2dbd6922aba98110e +EBUILD miniupnpc-2.0.20180222.ebuild 1339 BLAKE2B be0965e64f83087fffb495b3c3de74d691b2575fd8d14b36c56284404e912b623baea93027c61d58d354ef00c8fb31f4581b01959606683e1d23563e75b72891 SHA512 af3b05b0af780f4b8707209b7d1bbd26c8952c0f9314f613569f6da6e03a5bac9961d19e16e6c0876abee7006401c909b02e5c058daba7e2dbd6922aba98110e MISC metadata.xml 243 BLAKE2B 997913e51bb9c2ba601c78673246d3845d1078f5be11ff209532c5afc9f433d4cfe7a0066ba23677d23ffe368d7ee718df71d28301d45c0473f50e931f674165 SHA512 ded2bb7e056d9081e11b0470aa2874fbe9b5e63f0178bec611291f639763a9bd85a076dbc526e01df1403dea4d0eb28913addb346b676084e690e063b68eca28 diff --git a/net-libs/miniupnpc/miniupnpc-2.0.20180222.ebuild b/net-libs/miniupnpc/miniupnpc-2.0.20180222.ebuild new file mode 100644 index 000000000000..3a1c24a1b100 --- /dev/null +++ b/net-libs/miniupnpc/miniupnpc-2.0.20180222.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="UPnP client library and a simple UPnP client" +HOMEPAGE="http://miniupnp.free.fr/" +SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/16" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="ipv6 kernel_linux static-libs" + +RDEPEND="" +DEPEND="kernel_linux? ( sys-apps/lsb-release sys-apps/which )" + +src_prepare() { + eapply_user + + # These bins are not installed, upnpc-static requires building static lib + sed -i -e '/EXECUTABLES =/s/ upnpc-static listdevices//' Makefile || die + # Prevent gzipping manpage. + sed -i -e '/gzip/d' Makefile || die + + if ! use static-libs; then + sed -i \ + -e '/FILESTOINSTALL =/s/ $(LIBRARY)//' \ + -e '/$(INSTALL) -m 644 $(LIBRARY) $(DESTDIR)$(INSTALLDIRLIB)/d' \ + Makefile || die + fi +} + +# Upstream cmake causes more trouble than it fixes, +# so we'll just stay with the Makefile for now. + +src_compile() { + tc-export CC AR + emake upnpc-shared $(usex static-libs upnpc-static '') +} + +src_test() { + emake -j1 HAVE_IPV6=$(usex ipv6) check +} + +src_install() { + emake \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}/usr" \ + INSTALLDIRLIB="${EPREFIX}/usr/$(get_libdir)" \ + install + + dodoc README Changelog.txt +} diff --git a/net-libs/nativebiginteger/Manifest b/net-libs/nativebiginteger/Manifest index 6ddde99d059f..b49909cf5d3c 100644 --- a/net-libs/nativebiginteger/Manifest +++ b/net-libs/nativebiginteger/Manifest @@ -1,13 +1,8 @@ -AUX nativebiginteger-0.6.4-asmfix.patch 586 BLAKE2B 23b1e66896c21f088933d7ec99ffb8cb42766d42113f8f01b37d42718a815ad3344a305e9060819ee8bc0213046e486c325610833a66c886b221cac5d52c90c2 SHA512 be49f71dadc0b371567e745f85966ee0088b05690506f155abf0f7b991527dbd30cc93ff1997ec80e7cfc06dd622b3ccaea1a8c6cd81d058866d3ed111ee3695 -AUX nativebiginteger-0.6.4-ldflags.patch 967 BLAKE2B 59ebf4b4f40fbb618f97bc0b1016abf3aeff456681d7e07f3081b150f4b643c72b6484b62d176d96d6c0c04e1feda5f48e584956993982b7cd818cd5ea23392c SHA512 4e473de37d56cb073fda0f0139525f217f168eb4ef2e09f9c443d003b8651c3e3eb1019842ed41a6cc7937ffcc9ee1f068e05e75d5117ebc28536d40c2b5ecb8 AUX nativebiginteger-0.8.7-asmfix.patch 590 BLAKE2B ca93b019518afe5e1af85c42d35435d34f3f7138e18cc23b8c5c49f953a9afe7dc663933699a45e5a301ab44c63b4328691723d6e85985e601fe72f27d8b4a40 SHA512 0efbf7f8e0767e2636bea21fd5020860bd6dc86bc6bb562b50bf40bd8ab0f83f9219fb031e93eedfa6d7f54027e5fdeb88aa64c283861963d1fd34e3dd4bbd05 AUX nativebiginteger-0.8.7-build-system.patch 907 BLAKE2B 1a50205946ef2327a5a00f651a180e605d7a4b92d43bda0f9ad8b8ae81dd3910bd34cf98d792b79a47bbc0a37389d74ff1750650aa8c0b70165c704bbfff792a SHA512 13b7e8d2764ee0b86924854ee99a0c220f9b213d868460a39ad448e510cf33d4d747bfebb0b7273d70ca1cb15151324fea446431d9301973c0f2a0bd381a5dc3 AUX nativebiginteger-0.8.7-debug-all.patch 1215 BLAKE2B a3aadec849708231f5fc773134d1b85ad915bf2f0e587daeeb11ce2308660dc80f173f0de718bc2dfdd4fee0ac111028aea95fe3bc833bc6857c7a128218e92e SHA512 0e9abda1d39a9b0a7c24f13bcc909d15940dd81f2d6b87b4ae39227c0191629ed7a3cfd6be50e3692423d91e0b2931324ba384e736c1c4eaec656df8ee0da9f2 AUX nativebiginteger-0.8.7-jcpuid-build-system.patch 761 BLAKE2B 7a7733e3179fd4b51d8fe40baf2e6112be223378eeb66b57be81a9f1f3d670bb8dcea427e78ef5578d7a3cd18967b063a9e9a6360c41b60cf0fa450ce64ad202 SHA512 9c2f0a458d4a240fc9998d28995a14742aa63873bb05479b296122a2a4f7f68caafe4df315f5ed709b4e1b92a12be22700cfe1792e7ad186feaf7cc1f97b6d86 AUX nativebiginteger-0.8.7-non-android-warnings.patch 533 BLAKE2B 28df0a4576b0e1c0cc0f71f67cf14e22d8fef04ca5445a5e0012ec672ed656821c8e69e39326e03590377a52336b45c8fd00646dcb65751aadff2e02260b2887 SHA512 e9844d0c7fc93ed9ae9a63eba2eb737f9955c37e26e2c27e9c8ea71e098a3242d7ccc26319cfce361003b90f9831da357004567e398f4cecca2d838dc75632d8 DIST i2psource_0.8.7.tar.bz2 18473515 BLAKE2B 9f79cd2e69f26ba0fadc24b6cad0ff43301c65fd640313688687895de908c6a0c6fd9d1be6c82a6d7478cd4ecf633ce3b8fd4d200cce644512a7b4fa275a0927 SHA512 32b4eb4bf8bc7d6bb692b3ecd6b0a34c4d3d7c94b0d09a4ff330151979ccdaca9a6c88fef9b7e7965a1bba8ef54dbb710d89e0bb19265ee177ce547ff50ca969 -DIST nativebiginteger-0.6.4.tar.bz2 10248 BLAKE2B aab73c107ab0efcafff123df7c24449ce92d29a1f766216efeebd2eab501978af83cd509419da2df0ad19d36a6c61cfeaed187a9aed72fb89fff104260b403cf SHA512 626f036fbde09e22f44b7d2fdf64c0e0ce8a86aabc3d68512f0bdd83fc909404a1a50b76633abaa3a4db69dcb1e913f6d5665812595eecadae6a7be24646e0cf -EBUILD nativebiginteger-0.6.4-r3.ebuild 735 BLAKE2B b9655963d29d6862eab3947ebf36c3940d5946bc4b02825b7762edefc77cc6d2016839c449d3cd29971f5f3a8360bcba4406ce82f27f0bb01a2e3bf5bdfaf601 SHA512 79bcd854a99252595891989a79728552ed96b8023a2501e7c894da13b3133faccaac7fa32117f7b36f14ff2ecdbeadaea6dac069a9739697aa5730294af7fb8a -EBUILD nativebiginteger-0.6.4.ebuild 656 BLAKE2B 2eb4bb3ef2eb919e30d23262cb735582ae4cd09391189d8d96803a356107ac873a6eadbd64135d76cb2344dacf32c5fd18ca9c7c151320889d04e250c088c5bb SHA512 cff056c3142a32c5310d5a32bdbeef02965e73a01c91d4675cd84e4689df3bd8741fd67ee6bb40fcf9c55df7647691a6bd7fd0458fb53376b46373151cbf43af -EBUILD nativebiginteger-0.8.7.ebuild 1762 BLAKE2B c773235214bd4ce724e77337540e778488637c393010ac82fddb7965f8be7731900b4727b648988a141630ce1a64d33e8c1e8f1f2afb2d192dd269a167548bc2 SHA512 ac3db2f92711d7f191556ddba481d426ba713da911bebe1a7ba96f66a42bf4718b12ed3e9529f9fd32564459e5c0b76f0e66410e8f9cae371b6b1f6abdee30f3 +EBUILD nativebiginteger-0.8.7.ebuild 1760 BLAKE2B 2b5d1d3bccc75e254674b87f53563279dc474165f48d567e4e467dbcdb24f02c17f073e88ce597ff4948054af5e0f7d256109b3e90cd40cc0b83745ba190e5a4 SHA512 b6ea041425c3a69962dce78836aa0b0ec08d25cbbe513ddc9a0cf44cfb62d6686baf2491e600abe213b672d2fa675b7d1939284dc00b5210c8432c63426968ae MISC metadata.xml 256 BLAKE2B d4cddf1e47808cc6fed0829aa4bfe16d930ee2e12bb3e7355ed4871b41e42dac196735be01fe9b38464183039f2df7f88cdd26750461dc9a3268f9844e3373fd SHA512 26e53ead25d8fef36a3759518b200c6a4ea0fc24d2c1f054ed85772cba5644118b231438d723ca25c22a55ed2fcf54e2c467279c9f3b49b6c1ced9997e3f098c diff --git a/net-libs/nativebiginteger/files/nativebiginteger-0.6.4-asmfix.patch b/net-libs/nativebiginteger/files/nativebiginteger-0.6.4-asmfix.patch deleted file mode 100644 index 04cfa599413a..000000000000 --- a/net-libs/nativebiginteger/files/nativebiginteger-0.6.4-asmfix.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- jcpuid/src/jcpuid.c 2008-10-06 09:44:53.000000000 -0400 -+++ jcpuid/src/jcpuid.c.new2 2010-12-27 09:41:53.000000000 -0500 -@@ -19,6 +19,7 @@ - mov d, edx - } - #else -+ #ifdef _LP64 - //Use GCC assembler notation - asm - ( -@@ -29,6 +30,20 @@ - "=d"(d) - :"a"(iFunction) - ); -+ #elif defined(__i386__) -+ asm -+ ( -+ "pushl %%ebx\n\t" -+ "cpuid\n\t" -+ "movl %%ebx, %%edi\n\t" -+ "popl %%ebx" -+ : "=a" (a), -+ "=D" (b), -+ "=c" (c), -+ "=d" (d) -+ :"a"(iFunction) -+ ); -+ #endif - #endif - return (*env)->NewObject(env, clsResult,constructor,a,b,c,d); - } diff --git a/net-libs/nativebiginteger/files/nativebiginteger-0.6.4-ldflags.patch b/net-libs/nativebiginteger/files/nativebiginteger-0.6.4-ldflags.patch deleted file mode 100644 index 5d3c84cd641e..000000000000 --- a/net-libs/nativebiginteger/files/nativebiginteger-0.6.4-ldflags.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- Makefile 2008-11-06 21:09:54.000000000 +0100 -+++ Makefile.new 2010-12-27 14:26:45.000000000 +0100 -@@ -1,11 +1,11 @@ - libjbigi: - cd jbigi && rm -f jbigi.o libjbigi.so && $(CC) $(CFLAGS) -c -I. -Ijbigi/include -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux \ -- jbigi/src/jbigi.c && $(CC) -shared -Wl,-soname,libjbigi.so -I. -Ijbigi/include -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux -lgmp \ -- -o libjbigi.so jbigi.o -+ jbigi/src/jbigi.c && $(CC) ${LDFLAGS} -shared -Wl,-soname,libjbigi.so jbigi.o -I. -Ijbigi/include -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux -lgmp \ -+ -o libjbigi.so - - - libjcpuid: -- cd jcpuid && $(CC) $(CFLAGS) -shared -Wl,-soname,libjbigi-x86-linux.so -I. -Iinclude -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux \ -+ cd jcpuid && $(CC) $(CFLAGS) ${LDFLAGS} -shared -Wl,-soname,libjbigi-x86-linux.so -I. -Iinclude -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux \ - src/*.c -o libjcpuid-x86-linux.so - - install: diff --git a/net-libs/nativebiginteger/nativebiginteger-0.6.4-r3.ebuild b/net-libs/nativebiginteger/nativebiginteger-0.6.4-r3.ebuild deleted file mode 100644 index 51dda3f1547b..000000000000 --- a/net-libs/nativebiginteger/nativebiginteger-0.6.4-r3.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=2 - -inherit flag-o-matic multilib toolchain-funcs java-pkg-2 - -DESCRIPTION="NativeBigInteger libs for Freenet taken from i2p" -HOMEPAGE="http://www.i2p2.de" -SRC_URI="mirror://gentoo/${P}.tar.bz2" - -LICENSE="|| ( public-domain BSD MIT )" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="dev-libs/gmp - >=virtual/jdk-1.4" -RDEPEND="dev-libs/gmp" - -src_prepare() { - epatch "${FILESDIR}"/${P}-{asmfix,ldflags}.patch -} - -src_compile() { - append-flags -fPIC - tc-export CC - emake libjbigi || die - use x86 && filter-flags -fPIC -nopie - emake libjcpuid || die -} - -src_install() { - emake DESTDIR="${D}" LIBDIR=$(get_libdir) install || die -} diff --git a/net-libs/nativebiginteger/nativebiginteger-0.6.4.ebuild b/net-libs/nativebiginteger/nativebiginteger-0.6.4.ebuild deleted file mode 100644 index f390ec4e68f9..000000000000 --- a/net-libs/nativebiginteger/nativebiginteger-0.6.4.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -inherit flag-o-matic multilib toolchain-funcs java-pkg-2 - -DESCRIPTION="NativeBigInteger libs for Freenet taken from i2p" -HOMEPAGE="http://www.i2p2.de" -SRC_URI="mirror://gentoo/${P}.tar.bz2" - -LICENSE="|| ( public-domain BSD MIT )" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND="dev-libs/gmp - >=virtual/jdk-1.4" -RDEPEND="dev-libs/gmp" - -src_compile() { - append-flags -fPIC - tc-export CC - emake libjbigi || die - use x86 && filter-flags -fPIC -nopie - emake libjcpuid || die -} - -src_install() { - emake DESTDIR="${D}" LIBDIR=$(get_libdir) install || die -} diff --git a/net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild b/net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild index 15616b668c43..243ce87fb2a1 100644 --- a/net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild +++ b/net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=4 @@ -11,7 +11,7 @@ SRC_URI="http://mirror.i2p2.de/i2psource_${PV}.tar.bz2" LICENSE="|| ( public-domain BSD MIT )" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="test" diff --git a/net-libs/nghttp2/Manifest b/net-libs/nghttp2/Manifest index bc7a789dae79..b22d94382cd3 100644 --- a/net-libs/nghttp2/Manifest +++ b/net-libs/nghttp2/Manifest @@ -1,8 +1,10 @@ DIST nghttp2-1.19.0.tar.gz 2159530 BLAKE2B 09e71408e527f5cd42ed224377042d4b68ff869e86c8727f63f2a4777253da9d03bd2cadfafd655b9984c7b71a52f928906db7b73d3adf74f36e69e28dba5618 SHA512 50f45082f725c237a0e1d25af57992b9cded6c9b68f0aa95c44c16eb4448e05b14e06c853032924d03034115286163de0ad684827cfa5d70896656868fdb4e01 DIST nghttp2-1.29.0.tar.xz 1544736 BLAKE2B 1708d2c787e27d722aec27890a21e752a9fe66cdcff481615ac0bd9dcc92099946d9e5563a70137029dec54f8cc4244ef22813e0c2010572cd070ff272120bdb SHA512 a518ff1dcc9ae93f8228f4fa9110b9cbc460260a794d455530218c66317c6b96a5b14971aff25428e37326b5ce9f4d8480eefe6fcba17af23efa4ebceb56f23e DIST nghttp2-1.30.0.tar.xz 1545352 BLAKE2B 0d52f973a63632dc1ad235f1b535c24053a8dde52dfbda957c3e40548b4de5db5975639140f207cd9ffe564b6151ed6d97de45ff070eb2cfa3d6b41f52254430 SHA512 4b79f46947777627f0a9e1384ec51ac70e273aef6d46d322aa448731726b8ca606e73dcb171170bbe91fce93c28170ff04e11da56ee90fa28d642e7bc37b50be +DIST nghttp2-1.31.0.tar.xz 1545800 BLAKE2B c0b8130abe7eb16e977cb8d480505d74c41986f15733da2005b1772b4030082c1c0c2e9a0576aae3e88922fc7b17ad9658e916641c3ddb816b45cc0e202b5bf4 SHA512 00342b0517eb9e1044eced4649488d7ad35694e0a1303c4cba2d2be897fb86c5c70f1a5a157799d5c0cf448a6b983f2a2a57ee2bdb5ec762876647f9303446ca EBUILD nghttp2-1.19.0.ebuild 1811 BLAKE2B 7931aa1b1477275b7efb6f174bbcd5a7c18ef6df4d69d4097d4b199d9debe43a9de9a4ef3ffee66d7bd7b7895289fddb69707a69e6eb3da49210109b5d87ea39 SHA512 5ed6ebd9d727a4803878bade7f3abd7fdf61b53ce7e04259e3c07290fd48f8a26a4b61d64aa533afa9eaaf37d4c7a7376e9f37b6bbc04637e61d6d07f603857b EBUILD nghttp2-1.29.0.ebuild 1856 BLAKE2B 3b641d9359e3a17c59ebc53d2739ae84fe7cafdb3fe096a9a1437c0a4178c9c6b35c8a3ef537e39afb815cadc287e85750f0b50172cd37ab6f6cbd9c2c1ef5d8 SHA512 434ad482b71560db4b3bfd07e0787600362d28a4a2aceed2685c1566cc50ea432b4d700ffedd2ece5e6b5c0c90543484a46ad5cb8b1b43c9fcd55b7ebff1870a EBUILD nghttp2-1.30.0.ebuild 1860 BLAKE2B 1921255023f5cf1ed11003ff073094c50427849fe965440ad361a86515f75d11825b04097d4c4728a7f3158f60b94a3cdf086297c2c54f68ba25699be7dca7d7 SHA512 b3a7e529a1c7d303e47d8440a673f5ec9a72f111c5473f3a7c5cb22610ca007d260d626a6f480ae1d9cbffece42cb7ecdb21535714ef74dd1f8d087e829026c1 +EBUILD nghttp2-1.31.0.ebuild 1872 BLAKE2B 775c3fabc17662def41332741827e2a67c1729c04fe6d8eb2752c1ac744066279103ac9b8dc7bfc95654004e72dfa159b2e005f99bbdbf8bcb75f87c1b0a7fc6 SHA512 995c72a6396a1620736db53995c56875f6b4a6370246a04a3b04caa0ed670343274909e8bd091f30ff3ba0a556f96f9db8054084308b2d150994b755bc6a5f74 EBUILD nghttp2-9999.ebuild 1934 BLAKE2B 091fa366b740f254c371d075bf24dc126f8d86f66315816b16b3c4c0177c9d2fff66d4ba916adbc203bb2d92ca6a070e80d58d6a4f30cea6bc8fa71eb3718616 SHA512 7e157bcc44e80ca78a85fe1b0e97b293646a30aedbfe7d918f5e16b96d061e9303636053675021af5ca97f84f38fabe0e54c63348f40fe9a52b00e20b0717c4d MISC metadata.xml 578 BLAKE2B a210790f12a0149240e59fee7702570c81a026851cfe8fdc2ce015bfb56c73150937a06e26dfabf896118a4d566b33d94ace7a622d751c0455629bf02061fcdb SHA512 a8948265c469d936a699b42978f7e8b2fdd6a7d016094242763730f75f285e6b8ed2a26d66ae8597f1c0ca9d45d47f3e2893005c0cd101e13fd4f62c6e937e28 diff --git a/net-libs/nghttp2/nghttp2-1.31.0.ebuild b/net-libs/nghttp2/nghttp2-1.31.0.ebuild new file mode 100644 index 000000000000..ffeb54eded23 --- /dev/null +++ b/net-libs/nghttp2/nghttp2-1.31.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# TODO: Add python support. + +EAPI=6 + +inherit multilib-minimal + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/nghttp2/nghttp2.git" + inherit git-r3 +else + SRC_URI="https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd" +fi + +DESCRIPTION="HTTP/2 C Library" +HOMEPAGE="https://nghttp2.org/" + +LICENSE="MIT" +SLOT="0/1.14" # . SONAMEs +IUSE="cxx debug hpack-tools jemalloc libressl static-libs test +threads utils xml" + +SSL_DEPEND=" + !libressl? ( >=dev-libs/openssl-1.0.2:0[-bindist,${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) +" +RDEPEND=" + cxx? ( + ${SSL_DEPEND} + dev-libs/boost:=[${MULTILIB_USEDEP},threads] + ) + hpack-tools? ( >=dev-libs/jansson-2.5 ) + jemalloc? ( dev-libs/jemalloc[${MULTILIB_USEDEP}] ) + utils? ( + ${SSL_DEPEND} + >=dev-libs/libev-4.15[${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.3[${MULTILIB_USEDEP}] + net-dns/c-ares:=[${MULTILIB_USEDEP}] + ) + xml? ( >=dev-libs/libxml2-2.7.7:2[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )" + +multilib_src_configure() { + local myeconfargs=( + --disable-examples + --disable-failmalloc + --disable-werror + --without-cython + --disable-python-bindings + $(use_enable cxx asio-lib) + $(use_enable debug) + $(multilib_native_use_enable hpack-tools) + $(use_enable static-libs static) + $(use_enable threads) + $(multilib_native_use_enable utils app) + $(multilib_native_use_with jemalloc) + $(multilib_native_use_with xml libxml2) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + use static-libs || find "${ED%/}"/usr -name '*.la' -delete +} diff --git a/net-libs/nodejs/Manifest b/net-libs/nodejs/Manifest index cbbd8b52a0bd..8db330692c0c 100644 --- a/net-libs/nodejs/Manifest +++ b/net-libs/nodejs/Manifest @@ -2,20 +2,18 @@ AUX gentoo-global-npm-config.patch 1511 BLAKE2B da2b127df9ac9babc87c1930272244e7 DIST node-v0.12.18.tar.gz 19842591 BLAKE2B f94f4de6e2875267be194580c645087a262b90da99f10d651a22838c041da07056df81204bb04ce8da083a080062509dcca4d1e3ac2250d651ead8a4cc025028 SHA512 6866608a43eb213f3b715ea0fcc28983fd959ab679c567a1b464f62acd936506f2bce88ea48a60209d8ef8d98259f4b47cd3434893eb4ff82a132775edb37b7b DIST node-v4.8.7.tar.xz 13370828 BLAKE2B b1ee93a586b66f8582783b1be50667547afe4bf48038ebc0b8148db55542cbc0520ac84ef88e4a7f453cabc245f484c32dbc238c1932bbc708791ceeb5c9d2ab SHA512 25837a31023747723b146c45984a5b2096b61c0aa43cbf45fc8ff50b4bd5079bd0bc9f1dfd3fb076817448dc5537eb93ffb2f345280b7756ba93b67ad757c696 DIST node-v6.11.5.tar.xz 15699404 BLAKE2B ba2df91bf5ef38cedb60b42919cf56f16807e619a81876fc92a5741e49da7ec91c4239d00f549c5e80d0bb8282bb9b396dd984507916cd18d61b403a3a7cef94 SHA512 62490725ef7957294c1bddf21ef0626c7472876791210168116501255ecee58457e9de9b044e10033706243299bbfd1495efeca169596fbf26f5eeba6d8fa4c9 -DIST node-v6.12.3.tar.xz 15767900 BLAKE2B 2a986c8099d14b199e33676e1a7d416919407558a42d14e526794baa29d8788c74a5ff47e8d2a8509a747682bea393b45e31965569a4b72976b7691f2a84e971 SHA512 dcf30bc221aa949e6ca3bd9321ac68adb05d93af0b06119b4b73bfd4cfa2c31897520d90247ac0f783946c1fc2efe77178f52225150dad4522ac9408d036a8e4 DIST node-v6.13.0.tar.xz 15843504 BLAKE2B 0fdbdf4ccd4b0953f786426aef0c7006972de125d9cd53c8d4ab797ceb5ad1ffad8c87cd271866405db372a871322039c8de865d736a16daec0e10c9a0a0305b SHA512 bcc757adc9ac9fd2d1cc8a575a1fb4b15b1ca893fffa134f5101278d72932c6b7e0cbd491e60fd0833854dfe507823251bd41e34d146a2be8176d46dccc8fb24 DIST node-v6.9.4.tar.xz 15519264 BLAKE2B 4dfad88b06b209272b8468501cc3c87c40425781fb55011ee93326555c2df88a166ffaff1877563668e06389703053849361739556f1bc87c1e2386d48b9542e SHA512 86d3e2889031c2b50c021bd3fd63194c2c22c44291d51dff1b5e1652b01853c09d2880c2f58fdad062e3e2a3f637a3f0d78dac66b835b676790cf272e64f8dce DIST node-v8.9.4.tar.xz 18338980 BLAKE2B 81180fc0c9b10cebc051a72649fb40650c89a05d427b826a6f3937e2b108b97edd27dd1c1521e57168e5a92b37e590429735c07c3198e4b912774c305ae61693 SHA512 9656b57145c2b3048ff9ad70f91dbff33a7349dca564efe3b2ff585e2ffad004ea8de920a7a049ff4c5487683986d78b5a578306c2c99f3b1a3de96d9ad1dece -DIST node-v9.5.0.tar.xz 18456216 BLAKE2B 8e0f00be0e03af50c8d84ec3f647f8946312f60e78a6a3762d09e918f1467fcb3239a8cb9d8cfab263b96749f307cead8c9e4a383378dca6538e85aea9aad576 SHA512 f2f4d78e7c70ab32357bd35af7afeb59feca8839fb7e652421c4ac4d0c55c1c1c78cf9a2e433f3ed714be45e658c9e04cf465e751eb5a40a67d2b1afdebae4a9 DIST node-v9.6.1.tar.xz 18501328 BLAKE2B f107f8cb01c9e4a4ba983798b0d613b8db3c2bf3bc0294d5ff85bd4bf31630f0df4c9b0ab7f8d75ad601633150a45980b8e47c2802016077f25428ab51869d9e SHA512 488d1a0ed28128e6db63be29ac575cf8899a00bf8972aee1f9d6b1b0224a29a34b3915d2b0106156fbdb82df61985ee998e4861475df1c0504789f51ec4c0711 +DIST node-v9.7.1.tar.xz 18503976 BLAKE2B 9648142590a73989efe08993c6c99447f66a92b67c43cd2ba3807ca5e31c63bd89fb7dfb8964632dee0aa02ceaea80bae908634cb5b498037e6870f45c053869 SHA512 618bd9f576182f72f18adc36469ef8785f458fddba8a0bfb02b2b388112ca6b0c25507dbb61f9211ca8427add8002ec25f0aa1fec081379e7e14980a88d4924a EBUILD nodejs-0.12.18.ebuild 3435 BLAKE2B 2fd0c799325e0def135f2618901aee64fd5d950aabe64b4ce52d3d525ce08a7581c68b60fe2e84773e04a0c101d873efe7cbfb08020a0b6f384649d0a265e182 SHA512 6d9a761e4fc8cd35899a10f57e47f00c1222c6573246756599c702e17885422a253b6906b1fc119d4298e562f6bc9994c89f59a405021bed1f6e03c4f53d88f0 EBUILD nodejs-4.8.7.ebuild 4431 BLAKE2B ebdf991fab56e0e40958ec1d08570a8d32732237115fa6b468e788d4d92245c553d4f0e6187a83bb5cf57ee1aee334002cbf255925cc5f3788d566d9204316a8 SHA512 dfd48068f1f246211a001fd9b180cbf5344b6948714f17eb6435be604e4138f8bcd72812b8d782c33d1569f25b907736ffd92b7852b2542f63f2dadf06ac1ca8 EBUILD nodejs-6.11.5.ebuild 6090 BLAKE2B c90aa71b89dab6ff99da43cdfeae4eabcbd28f4e865bcd4129a0978070f176a826bd81b7464453ea54f4a17a582667a1a2f4622eec5d76117d4c4b2af6ae15e0 SHA512 3b203a496f10605a816d5cd8ca9563b9d8ce6829dccf6b8934d9c63275e042aca2371bb5b9356ad88d299aa7336c94e074fa5e8d9ebe8259bd80c76205216486 -EBUILD nodejs-6.12.3.ebuild 6164 BLAKE2B 9efdc26dcdf8681d28913bdfd311d9242a58dcd69fe9c0ac65c1fba00e48424b45784b3f2abd0185e53ddbc346ae6b41810279529139a250119d206aed7e4ee7 SHA512 757b6b8bfe84d4f93ccdbde231f4bd32f5d45f1ae2a80c13c3fb5cd4f411d2611e704cd3d723acb4100731f39f4eb3b8443a8e96b1b61f806cc2d5c4ec53cc25 EBUILD nodejs-6.13.0.ebuild 6171 BLAKE2B 7946e4fcd461d071fcdb81c1642d0eb6d812e5660aa308ca3bf78501aaf9cc9430f9be3a806e371c9216774a545507759faefcb30ff4861a91fc05915b4d9601 SHA512 3e77ce77a4d9453d36eb252834ed056751c8805d4e89e47448bc1bdeeb41732a8d380eb8b4c1d13254ce14ff37bd586ecf381a5878901528b5a50de777056f6a EBUILD nodejs-6.9.4.ebuild 6073 BLAKE2B cf41081773527f8efb120d6d7ba8d21dc834fc47fbf1964fc235853d842321899c605f42e2799136a54f65e6140c89a05726ba49d86a5fcd78fa4c78114f1e96 SHA512 aefc407c057e7c660ed0be4adc5056c9130b95adb63b22bd55d06c4981d70d53d82a65350df4778684c597de5b5bf6b2f8cd28b0ce61de4914c4db02ac3461f7 EBUILD nodejs-8.9.4.ebuild 6349 BLAKE2B 7a090373ca9551e2853f5637206a69e7f2e55efedb65694defc39f7cd5530b7858bc2285f1a1ee622d72b7b4e940de7445f272ea37194db10527892f9a2272af SHA512 8fa17c50b027ef4439b465612dbb81bb848da88e18d531bcd18a520fe91962567d03638e9b8449d30725197625653b435e3d95771294bc61ec397dbf57a4755a -EBUILD nodejs-9.5.0.ebuild 6350 BLAKE2B af48c8403a97ebd33a2af3f853c2b6a333d54d4225c1ebd6cd8f94474e0dda00f778dcf093ad7b6f712b733dce0486e0906b4ddb0d31c386982d8f6b90bfdd28 SHA512 f429b0a8157bbc9ae1cae9c701eb06dc6e42be046bde8a616f96c246ff30e59876f30fd06ebfba9dc83d628194fb71fc6d1cc4f2decbc03bb8abd9959c6a4f35 EBUILD nodejs-9.6.1.ebuild 6334 BLAKE2B d9451d7f6b409b0b2e5ee2cedd99a95e707564e549ed5337a850a8b376748d3f045278a5052453899c6d21141b2989d570e8aa8ee863ad18584e9f23a2bf6365 SHA512 7f1fa09784d02ceab359db1c86b304b10295bb0a659cb4fb713eb545fcf40d866e96a00a278bc23b0663e49b91f0ec17e0395b5701eb4d68ca3809fce8eb92f7 +EBUILD nodejs-9.7.1.ebuild 6334 BLAKE2B a1e88e53bc3d50614f0addc037a5c981858dcf091776eacb8dc2e55af268640eb657fdc11703da9b22354b7349f8f639670307e8797dd182bdce0391339bb658 SHA512 4b2c9a6df410f34cce7c4d9288c04ee871f82c4d847dc3853ab752b9151dde81f2f3ca26ac0db23512b5fc72b77d4d79eccfa87de2350d9d09ebec8608354719 EBUILD nodejs-99999999.ebuild 6265 BLAKE2B 18838dacccdebaae807f9b95f60cd265b8b94779462cd5b6801a979d739f974e53ec5157076286e3395b2d3eb41c3f38b817d3463a07bd7e316725691ab514fe SHA512 32e7ef3c26cfc91eaecfd806edd141a26825eebd3e9a8e82f0a6981a0434532027b8fa76ecc60826f30a58c6b565705bbb42ef3f2ccba8da1ddd129abe1f9a03 MISC metadata.xml 573 BLAKE2B 89ced6a86cc67a80119e520991d1de3229be3a777ff4f7b49daa8854c470e3f7e3335681028ce3f18d3acfc8c01057dcf5d0597becd76ef95fcc50b3b214c277 SHA512 231bb23c3dd421ea5c618bfea3a70225e089e6c2eed74fc80ca3becf3f84072dfbfc02a100083ac533a0d95496ce2ba802e1ec65e64659afcf2e70e638b7a2bc diff --git a/net-libs/nodejs/nodejs-6.12.3.ebuild b/net-libs/nodejs/nodejs-6.12.3.ebuild deleted file mode 100644 index 04521bbfe559..000000000000 --- a/net-libs/nodejs/nodejs-6.12.3.ebuild +++ /dev/null @@ -1,199 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -RESTRICT="test" - -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="threads" - -inherit bash-completion-r1 eutils flag-o-matic pax-utils python-single-r1 toolchain-funcs - -DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" -HOMEPAGE="https://nodejs.org/" -SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz" - -LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x64-macos" -IUSE="cpu_flags_x86_sse2 debug doc icu inspector +npm +snapshot +ssl test" -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - inspector? ( icu ssl ) - -" - -RDEPEND=" - >=dev-libs/libuv-1.15.0:= - >=dev-libs/openssl-1.0.2n:0=[-bindist] - >=net-libs/http-parser-2.7.0:= - sys-libs/zlib - icu? ( >=dev-libs/icu-58.2:= ) -" -DEPEND=" - ${RDEPEND} - ${PYTHON_DEPS} - test? ( net-misc/curl ) -" -S="${WORKDIR}/node-v${PV}" -PATCHES=( - "${FILESDIR}"/gentoo-global-npm-config.patch -) - -pkg_pretend() { - (use x86 && ! use cpu_flags_x86_sse2) && \ - die "Your CPU doesn't support the required SSE2 instruction." - - ( [[ ${MERGE_TYPE} != "binary" ]] && ! test-flag-CXX -std=c++11 ) && \ - die "Your compiler doesn't support C++11. Use GCC 4.8, Clang 3.3 or newer." -} - -src_prepare() { - tc-export CC CXX PKG_CONFIG - export V=1 - export BUILDTYPE=Release - - # fix compilation on Darwin - # https://code.google.com/p/gyp/issues/detail?id=260 - sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || die - - # make sure we use python2.* while using gyp - sed -i -e "s/python/${EPYTHON}/" deps/npm/node_modules/node-gyp/gyp/gyp || die - sed -i -e "s/|| 'python'/|| '${EPYTHON}'/" deps/npm/node_modules/node-gyp/lib/configure.js || die - - # less verbose install output (stating the same as portage, basically) - sed -i -e "/print/d" tools/install.py || die - - # proper libdir, hat tip @ryanpcmcquen https://github.com/iojs/io.js/issues/504 - local LIBDIR=$(get_libdir) - sed -i -e "s|lib/|${LIBDIR}/|g" tools/install.py || die - sed -i -e "s/'lib'/'${LIBDIR}'/" lib/module.js || die - sed -i -e "s|\"lib\"|\"${LIBDIR}\"|" deps/npm/lib/npm.js || die - - # Avoid writing a depfile, not useful - sed -i -e "/DEPFLAGS =/d" tools/gyp/pylib/gyp/generator/make.py || die - - # Avoid a test that I've only been able to reproduce from emerge. It doesnt - # seem sandbox related either (invoking it from a sandbox works fine). - # The issue is that no stdin handle is openened when asked for one. - # It doesn't really belong upstream , so it'll just be removed until someone - # with more gentoo-knowledge than me (jbergstroem) figures it out. - rm test/parallel/test-stdout-close-unref.js || die - - # debug builds. change install path, remove optimisations and override buildtype - if use debug; then - sed -i -e "s|out/Release/|out/Debug/|g" tools/install.py || die - BUILDTYPE=Debug - fi - - default -} - -src_configure() { - local myarch="" - local myconf=( --shared-openssl --shared-libuv --shared-http-parser --shared-zlib ) - use debug && myconf+=( --debug ) - use icu && myconf+=( --with-intl=system-icu ) - use inspector || myconf+=( --without-inspector ) - use npm || myconf+=( --without-npm ) - use snapshot && myconf+=( --with-snapshot ) - use ssl || myconf+=( --without-ssl ) - - case ${ABI} in - amd64) myarch="x64";; - arm) myarch="arm";; - arm64) myarch="arm64";; - ppc64) myarch="ppc64";; - x32) myarch="x32";; - x86) myarch="ia32";; - *) myarch="${ABI}";; - esac - - GYP_DEFINES="linux_use_gold_flags=0 - linux_use_bundled_binutils=0 - linux_use_bundled_gold=0" \ - "${PYTHON}" configure \ - --prefix="${EPREFIX}"/usr \ - --dest-cpu=${myarch} \ - --without-dtrace \ - "${myconf[@]}" || die -} - -src_compile() { - emake -C out mksnapshot - pax-mark m "out/${BUILDTYPE}/mksnapshot" - emake -C out -} - -src_install() { - local LIBDIR="${ED}/usr/$(get_libdir)" - emake install DESTDIR="${D}" - pax-mark -m "${ED}"usr/bin/node - - # set up a symlink structure that node-gyp expects.. - dodir /usr/include/node/deps/{v8,uv} - dosym . /usr/include/node/src - for var in deps/{uv,v8}/include; do - dosym ../.. /usr/include/node/${var} - done - - if use doc; then - # Patch docs to make them offline readable - for i in `grep -rl 'fonts.googleapis.com' "${S}"/out/doc/api/*`; do - sed -i '/fonts.googleapis.com/ d' $i; - done - # Install docs! - dohtml -r "${S}"/doc/* - fi - - if use npm; then - dodir /etc/npm - - # Install bash completion for `npm` - # We need to temporarily replace default config path since - # npm otherwise tries to write outside of the sandbox - local npm_config="usr/$(get_libdir)/node_modules/npm/lib/config/core.js" - sed -i -e "s|'/etc'|'${ED}/etc'|g" "${ED}/${npm_config}" || die - local tmp_npm_completion_file="$(emktemp)" - "${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}" - newbashcomp "${tmp_npm_completion_file}" npm - sed -i -e "s|'${ED}/etc'|'/etc'|g" "${ED}/${npm_config}" || die - - # Move man pages - doman "${LIBDIR}"/node_modules/npm/man/man{1,5,7}/* - - # Clean up - rm "${LIBDIR}"/node_modules/npm/{.mailmap,.npmignore,Makefile} || die - rm -rf "${LIBDIR}"/node_modules/npm/{doc,html,man} || die - - local find_exp="-or -name" - local find_name=() - for match in "AUTHORS*" "CHANGELOG*" "CONTRIBUT*" "README*" \ - ".travis.yml" ".eslint*" ".wercker.yml" ".npmignore" \ - "*.md" "*.markdown" "*.bat" "*.cmd"; do - find_name+=( ${find_exp} "${match}" ) - done - - # Remove various development and/or inappropriate files and - # useless docs of dependend packages. - find "${LIBDIR}"/node_modules \ - \( -type d -name examples \) -or \( -type f \( \ - -iname "LICEN?E*" \ - "${find_name[@]}" \ - \) \) -exec rm -rf "{}" \; - fi -} - -src_test() { - out/${BUILDTYPE}/cctest || die - "${PYTHON}" tools/test.py --mode=${BUILDTYPE,,} -J message parallel sequential || die -} - -pkg_postinst() { - einfo "The global npm config lives in /etc/npm. This deviates slightly" - einfo "from upstream which otherwise would have it live in /usr/etc/." - einfo "" - einfo "Protip: When using node-gyp to install native modules, you can" - einfo "avoid having to download extras by doing the following:" - einfo "$ node-gyp --nodedir /usr/include/node " -} diff --git a/net-libs/nodejs/nodejs-9.5.0.ebuild b/net-libs/nodejs/nodejs-9.5.0.ebuild deleted file mode 100644 index b50e40671d39..000000000000 --- a/net-libs/nodejs/nodejs-9.5.0.ebuild +++ /dev/null @@ -1,201 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -RESTRICT="test" - -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="threads" - -inherit bash-completion-r1 eutils flag-o-matic pax-utils python-single-r1 toolchain-funcs - -DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" -HOMEPAGE="https://nodejs.org/" -SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz" - -LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x64-macos" -IUSE="cpu_flags_x86_sse2 debug doc icu inspector +npm +snapshot +ssl systemtap test" -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - inspector? ( icu ssl ) -" - -RDEPEND=" - >=dev-libs/libuv-1.18.0:= - >=net-libs/http-parser-2.7.0:= - >=net-libs/nghttp2-1.29.0 - sys-libs/zlib - icu? ( >=dev-libs/icu-60.1:= ) - ssl? ( >=dev-libs/openssl-1.0.2n:0=[-bindist] ) -" -DEPEND=" - ${RDEPEND} - ${PYTHON_DEPS} - systemtap? ( dev-util/systemtap ) - test? ( net-misc/curl ) -" -S="${WORKDIR}/node-v${PV}" -PATCHES=( - "${FILESDIR}"/gentoo-global-npm-config.patch -) - -pkg_pretend() { - (use x86 && ! use cpu_flags_x86_sse2) && \ - die "Your CPU doesn't support the required SSE2 instruction." - - ( [[ ${MERGE_TYPE} != "binary" ]] && ! test-flag-CXX -std=c++11 ) && \ - die "Your compiler doesn't support C++11. Use GCC 4.8, Clang 3.3 or newer." -} - -src_prepare() { - tc-export CC CXX PKG_CONFIG - export V=1 - export BUILDTYPE=Release - - # fix compilation on Darwin - # https://code.google.com/p/gyp/issues/detail?id=260 - sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || die - - # make sure we use python2.* while using gyp - sed -i -e "s/python/${EPYTHON}/" deps/npm/node_modules/node-gyp/gyp/gyp || die - sed -i -e "s/|| 'python2'/|| '${EPYTHON}'/" deps/npm/node_modules/node-gyp/lib/configure.js || die - - # less verbose install output (stating the same as portage, basically) - sed -i -e "/print/d" tools/install.py || die - - # proper libdir, hat tip @ryanpcmcquen https://github.com/iojs/io.js/issues/504 - local LIBDIR=$(get_libdir) - sed -i -e "s|lib/|${LIBDIR}/|g" tools/install.py || die - sed -i -e "s/'lib'/'${LIBDIR}'/" lib/module.js deps/npm/lib/npm.js || die - - # Avoid writing a depfile, not useful - sed -i -e "/DEPFLAGS =/d" tools/gyp/pylib/gyp/generator/make.py || die - - sed -i -e "/'-O3'/d" common.gypi deps/v8/gypfiles/toolchain.gypi || die - - # Avoid a test that I've only been able to reproduce from emerge. It doesnt - # seem sandbox related either (invoking it from a sandbox works fine). - # The issue is that no stdin handle is openened when asked for one. - # It doesn't really belong upstream , so it'll just be removed until someone - # with more gentoo-knowledge than me (jbergstroem) figures it out. - rm test/parallel/test-stdout-close-unref.js || die - - # debug builds. change install path, remove optimisations and override buildtype - if use debug; then - sed -i -e "s|out/Release/|out/Debug/|g" tools/install.py || die - BUILDTYPE=Debug - fi - - default -} - -src_configure() { - local myconf=( --shared-http-parser --shared-libuv --shared-nghttp2 --shared-zlib ) - use debug && myconf+=( --debug ) - use icu && myconf+=( --with-intl=system-icu ) || myconf+=( --with-intl=none ) - use inspector || myconf+=( --without-inspector ) - use npm || myconf+=( --without-npm ) - use snapshot && myconf+=( --with-snapshot ) - use ssl && myconf+=( --shared-openssl ) || myconf+=( --without-ssl ) - - local myarch="" - case ${ABI} in - amd64) myarch="x64";; - arm) myarch="arm";; - arm64) myarch="arm64";; - ppc64) myarch="ppc64";; - x32) myarch="x32";; - x86) myarch="ia32";; - *) myarch="${ABI}";; - esac - - GYP_DEFINES="linux_use_gold_flags=0 - linux_use_bundled_binutils=0 - linux_use_bundled_gold=0" \ - "${PYTHON}" configure \ - --prefix="${EPREFIX}"/usr \ - --dest-cpu=${myarch} \ - $(use_with systemtap dtrace) \ - "${myconf[@]}" || die -} - -src_compile() { - emake -C out mksnapshot - pax-mark m "out/${BUILDTYPE}/mksnapshot" - emake -C out -} - -src_install() { - local LIBDIR="${ED}/usr/$(get_libdir)" - emake install DESTDIR="${D}" - pax-mark -m "${ED}"usr/bin/node - - # set up a symlink structure that node-gyp expects.. - dodir /usr/include/node/deps/{v8,uv} - dosym . /usr/include/node/src - for var in deps/{uv,v8}/include; do - dosym ../.. /usr/include/node/${var} - done - - if use doc; then - # Patch docs to make them offline readable - for i in `grep -rl 'fonts.googleapis.com' "${S}"/out/doc/api/*`; do - sed -i '/fonts.googleapis.com/ d' $i; - done - # Install docs! - dohtml -r "${S}"/doc/* - fi - - if use npm; then - dodir /etc/npm - - # Install bash completion for `npm` - # We need to temporarily replace default config path since - # npm otherwise tries to write outside of the sandbox - local npm_config="usr/$(get_libdir)/node_modules/npm/lib/config/core.js" - sed -i -e "s|'/etc'|'${ED}/etc'|g" "${ED}/${npm_config}" || die - local tmp_npm_completion_file="$(emktemp)" - "${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}" - newbashcomp "${tmp_npm_completion_file}" npm - sed -i -e "s|'${ED}/etc'|'/etc'|g" "${ED}/${npm_config}" || die - - # Move man pages - doman "${LIBDIR}"/node_modules/npm/man/man{1,5,7}/* - - # Clean up - rm "${LIBDIR}"/node_modules/npm/{.mailmap,.npmignore,Makefile} || die - rm -rf "${LIBDIR}"/node_modules/npm/{doc,html,man} || die - - local find_exp="-or -name" - local find_name=() - for match in "AUTHORS*" "CHANGELOG*" "CONTRIBUT*" "README*" \ - ".travis.yml" ".eslint*" ".wercker.yml" ".npmignore" \ - "*.md" "*.markdown" "*.bat" "*.cmd"; do - find_name+=( ${find_exp} "${match}" ) - done - - # Remove various development and/or inappropriate files and - # useless docs of dependend packages. - find "${LIBDIR}"/node_modules \ - \( -type d -name examples \) -or \( -type f \( \ - -iname "LICEN?E*" \ - "${find_name[@]}" \ - \) \) -exec rm -rf "{}" \; - fi -} - -src_test() { - out/${BUILDTYPE}/cctest || die - "${PYTHON}" tools/test.py --mode=${BUILDTYPE,,} -J message parallel sequential || die -} - -pkg_postinst() { - einfo "The global npm config lives in /etc/npm. This deviates slightly" - einfo "from upstream which otherwise would have it live in /usr/etc/." - einfo "" - einfo "Protip: When using node-gyp to install native modules, you can" - einfo "avoid having to download extras by doing the following:" - einfo "$ node-gyp --nodedir /usr/include/node " -} diff --git a/net-libs/nodejs/nodejs-9.7.1.ebuild b/net-libs/nodejs/nodejs-9.7.1.ebuild new file mode 100644 index 000000000000..e73e3ad02511 --- /dev/null +++ b/net-libs/nodejs/nodejs-9.7.1.ebuild @@ -0,0 +1,200 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="threads" + +inherit bash-completion-r1 eutils flag-o-matic pax-utils python-single-r1 toolchain-funcs + +DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" +HOMEPAGE="https://nodejs.org/" +SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz" + +LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x64-macos" +IUSE="cpu_flags_x86_sse2 debug doc icu inspector +npm +snapshot +ssl systemtap test" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + inspector? ( icu ssl ) +" + +RDEPEND=" + >=dev-libs/libuv-1.19.2:= + >=net-libs/http-parser-2.7.0:= + >=net-libs/nghttp2-1.29.0 + sys-libs/zlib + icu? ( >=dev-libs/icu-60.1:= ) + ssl? ( >=dev-libs/openssl-1.0.2n:0=[-bindist] ) +" +DEPEND=" + ${RDEPEND} + ${PYTHON_DEPS} + systemtap? ( dev-util/systemtap ) + test? ( net-misc/curl ) +" +S="${WORKDIR}/node-v${PV}" +PATCHES=( + "${FILESDIR}"/gentoo-global-npm-config.patch +) + +pkg_pretend() { + (use x86 && ! use cpu_flags_x86_sse2) && \ + die "Your CPU doesn't support the required SSE2 instruction." + + ( [[ ${MERGE_TYPE} != "binary" ]] && ! test-flag-CXX -std=c++11 ) && \ + die "Your compiler doesn't support C++11. Use GCC 4.8, Clang 3.3 or newer." +} + +src_prepare() { + tc-export CC CXX PKG_CONFIG + export V=1 + export BUILDTYPE=Release + + # fix compilation on Darwin + # https://code.google.com/p/gyp/issues/detail?id=260 + sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || die + + # make sure we use python2.* while using gyp + sed -i -e "s/python/${EPYTHON}/" deps/npm/node_modules/node-gyp/gyp/gyp || die + sed -i -e "s/|| 'python2'/|| '${EPYTHON}'/" deps/npm/node_modules/node-gyp/lib/configure.js || die + + # less verbose install output (stating the same as portage, basically) + sed -i -e "/print/d" tools/install.py || die + + # proper libdir, hat tip @ryanpcmcquen https://github.com/iojs/io.js/issues/504 + local LIBDIR=$(get_libdir) + sed -i -e "s|lib/|${LIBDIR}/|g" tools/install.py || die + sed -i -e "s/'lib'/'${LIBDIR}'/" lib/module.js deps/npm/lib/npm.js || die + + # Avoid writing a depfile, not useful + sed -i -e "/DEPFLAGS =/d" tools/gyp/pylib/gyp/generator/make.py || die + + sed -i -e "/'-O3'/d" common.gypi deps/v8/gypfiles/toolchain.gypi || die + + # Avoid a test that I've only been able to reproduce from emerge. It doesnt + # seem sandbox related either (invoking it from a sandbox works fine). + # The issue is that no stdin handle is openened when asked for one. + # It doesn't really belong upstream , so it'll just be removed until someone + # with more gentoo-knowledge than me (jbergstroem) figures it out. + rm test/parallel/test-stdout-close-unref.js || die + + # debug builds. change install path, remove optimisations and override buildtype + if use debug; then + sed -i -e "s|out/Release/|out/Debug/|g" tools/install.py || die + BUILDTYPE=Debug + fi + + default +} + +src_configure() { + local myconf=( --shared-http-parser --shared-libuv --shared-nghttp2 --shared-zlib ) + use debug && myconf+=( --debug ) + use icu && myconf+=( --with-intl=system-icu ) || myconf+=( --with-intl=none ) + use inspector || myconf+=( --without-inspector ) + use npm || myconf+=( --without-npm ) + use snapshot && myconf+=( --with-snapshot ) + use ssl && myconf+=( --shared-openssl ) || myconf+=( --without-ssl ) + + local myarch="" + case ${ABI} in + amd64) myarch="x64";; + arm) myarch="arm";; + arm64) myarch="arm64";; + ppc64) myarch="ppc64";; + x32) myarch="x32";; + x86) myarch="ia32";; + *) myarch="${ABI}";; + esac + + GYP_DEFINES="linux_use_gold_flags=0 + linux_use_bundled_binutils=0 + linux_use_bundled_gold=0" \ + "${PYTHON}" configure \ + --prefix="${EPREFIX}"/usr \ + --dest-cpu=${myarch} \ + $(use_with systemtap dtrace) \ + "${myconf[@]}" || die +} + +src_compile() { + emake -C out mksnapshot + pax-mark m "out/${BUILDTYPE}/mksnapshot" + emake -C out +} + +src_install() { + local LIBDIR="${ED}/usr/$(get_libdir)" + emake install DESTDIR="${D}" + pax-mark -m "${ED}"usr/bin/node + + # set up a symlink structure that node-gyp expects.. + dodir /usr/include/node/deps/{v8,uv} + dosym . /usr/include/node/src + for var in deps/{uv,v8}/include; do + dosym ../.. /usr/include/node/${var} + done + + if use doc; then + # Patch docs to make them offline readable + for i in `grep -rl 'fonts.googleapis.com' "${S}"/out/doc/api/*`; do + sed -i '/fonts.googleapis.com/ d' $i; + done + # Install docs! + dohtml -r "${S}"/doc/* + fi + + if use npm; then + dodir /etc/npm + + # Install bash completion for `npm` + # We need to temporarily replace default config path since + # npm otherwise tries to write outside of the sandbox + local npm_config="usr/$(get_libdir)/node_modules/npm/lib/config/core.js" + sed -i -e "s|'/etc'|'${ED}/etc'|g" "${ED}/${npm_config}" || die + local tmp_npm_completion_file="$(emktemp)" + "${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}" + newbashcomp "${tmp_npm_completion_file}" npm + sed -i -e "s|'${ED}/etc'|'/etc'|g" "${ED}/${npm_config}" || die + + # Move man pages + doman "${LIBDIR}"/node_modules/npm/man/man{1,5,7}/* + + # Clean up + rm "${LIBDIR}"/node_modules/npm/{.mailmap,.npmignore,Makefile} || die + rm -rf "${LIBDIR}"/node_modules/npm/{doc,html,man} || die + + local find_exp="-or -name" + local find_name=() + for match in "AUTHORS*" "CHANGELOG*" "CONTRIBUT*" "README*" \ + ".travis.yml" ".eslint*" ".wercker.yml" ".npmignore" \ + "*.md" "*.markdown" "*.bat" "*.cmd"; do + find_name+=( ${find_exp} "${match}" ) + done + + # Remove various development and/or inappropriate files and + # useless docs of dependend packages. + find "${LIBDIR}"/node_modules \ + \( -type d -name examples \) -or \( -type f \( \ + -iname "LICEN?E*" \ + "${find_name[@]}" \ + \) \) -exec rm -rf "{}" \; + fi +} + +src_test() { + out/${BUILDTYPE}/cctest || die + "${PYTHON}" tools/test.py --mode=${BUILDTYPE,,} -J message parallel sequential || die +} + +pkg_postinst() { + einfo "The global npm config lives in /etc/npm. This deviates slightly" + einfo "from upstream which otherwise would have it live in /usr/etc/." + einfo "" + einfo "Protip: When using node-gyp to install native modules, you can" + einfo "avoid having to download extras by doing the following:" + einfo "$ node-gyp --nodedir /usr/include/node " +} diff --git a/net-libs/ntirpc/Manifest b/net-libs/ntirpc/Manifest index 674148225017..dcdd1c2447b2 100644 --- a/net-libs/ntirpc/Manifest +++ b/net-libs/ntirpc/Manifest @@ -1,8 +1,3 @@ -AUX ntirpc-1.4.1-city-header.patch 1703 BLAKE2B a43c14b57e2488d9a23ceb0bef8e9cd58601a5e3c9671eabb76ebf6bd5f4865dbc22d41dcccaaca155551c0b454c273c81e8f9d9eefc2c4e09570b4337a24e44 SHA512 568abe507aafacb5a3a80fa7aca09379ff89a08386027aba26664f6f4dfc4fd7423fea5b9eb19de79e2daf2c37bfa246a7dac82a9cdaa2433a9171ac611b15f3 -DIST ntirpc-1.4.1.tar.gz 446025 BLAKE2B 07966a9411b7919b14c318b5427c0f69b151a42c1e2137902bae9287be76dd681270b9e7baae415f4ce9acfda1007af490a6dabbd996dda0c6e7286278ea9418 SHA512 49a27dbd68b3e292437392acf2c010cc968b4d29b82b6e1a84e6c81a0c3979d3b38338212b391294b543ccd321073a33b16d7231ab68d797ead414d1b919137c -DIST ntirpc-1.5.2.tar.gz 433706 BLAKE2B ea531472f418d66fc1f530236eddef4c92ac1092150c68f19764af41e9b10e016b38073b98dc7b4a4991542977aa63b3b4330604ea5866f304fe41ac2fd85d12 SHA512 5bbc48ab5bf2aba7e4c473a6faf586c1aef27a2009bf92082495456c436c707dfdcfc5e16a56c3e31ba3fb68afc3d2d47e8d27ed03be5c0be44e22e24a0cb68e -DIST ntirpc-1.5.3.tar.gz 434096 BLAKE2B c39eaa48e4a9e648a8ce6c34e749f766bee0b9235747138a3d7535b9e07eb2dee5e85076b0dfc30907a931d8145c014938d40e65cb142ae3256eaf408b410bd2 SHA512 bc879e5cb9c16bf76b173f09fac50475ed7616837a625abd433175610cc16399abba2294a8657aadc71d4f45b4b53c97414a77bd52b1f81df3dd990407957363 -EBUILD ntirpc-1.4.1.ebuild 791 BLAKE2B ff3a10f8df2974fb3c1311cbd53462d5e634c04d501fca76c9e53f1b192c88b606e719dfed75185327fe2637805e35cc478dcc726d6250bcc4f9c5a0101a3db9 SHA512 b455cdefaad312a7bc1112a4fa5f1cdee295f4c29ff502d87b5da9a68a397340483f8d6cbb1ca58eb27c8681b95f662d08bae1fdb1b45a4b1c3d01ca29aaf3e6 -EBUILD ntirpc-1.5.2.ebuild 724 BLAKE2B 063506793365373f3d59648b6e9f2e704f61e502b18c1c0546d7e94c44e686645accd268b4ce2223ff865c5202c7d88506dfea5856f4adf6714040feac30802a SHA512 bd058c16d0b26ad849948f205b29c01f5380e402134784003a0e1c74b68de3d36c877d0cbd041b1179c3869fa16533782082a75d7de89ac340376d0e4684eccf -EBUILD ntirpc-1.5.3.ebuild 809 BLAKE2B c6187455848769896a1b77b9d00783dbccff78606f9fd941fd88ac7aef9a3f1ab823659f89c9a9b18d3ff6ee01c9304c960beca909acf4e6e84f8868a81e779d SHA512 925ee0874d29b8eed85c41d2162d1964f0e479583cad73cccadffb248826cf82ba4148eedadd839dd9134e622482a0233456d9594b3f1261e550704e0e1aa6fa +DIST ntirpc-1.6.1.tar.gz 397485 BLAKE2B 2dcc4c3a14eff55b4db52f297b65a48d5dff46ef4b1659912c65ca9104958cca02d542bb3b72f2ce63993414c5d53bb9716b1b1d4ce4b335735ee99da77f3770 SHA512 d176fbe71f1f66e5ee477c1ec2722b77742d36d67856eb4029f1b01474b08349171779a9943c0039d2a30e05debc9ab389d92ea137eabb4d7737fc91e47b0b24 +EBUILD ntirpc-1.6.1.ebuild 745 BLAKE2B 6e27521646f75937f2133353f0cee42c9197ce40691275ecb09f17f4807992318f16549bf0cea56af7bb6b37a793de213ef99921454aa0602cb6265d21c7523d SHA512 63fddc3d67d9ec404c9d3bb6f7187a61973558997e5e5cd81692b2516d32dbdf0705d530647748b671ccbf78004f0e761f93e8874d8a56509fcbb460cc671595 MISC metadata.xml 427 BLAKE2B ffd3f6c32d343557e17c17eb78cff8a0a14f93a2298cf607169ebbc1d618cbe30df849c6f3b8dc4b34d7e1a17920e9d0b1483523d4b2b2ff481068c0de5a8317 SHA512 99f5af46839fbf52e5217cf831a7a95fa3f5d501d61ff63488aa7989e0ec98151b2f94607a39f879e0e5b0ba79bc732ee7224a9e4196ff9a40fa13253ece0b0c diff --git a/net-libs/ntirpc/files/ntirpc-1.4.1-city-header.patch b/net-libs/ntirpc/files/ntirpc-1.4.1-city-header.patch deleted file mode 100644 index 25c10e393797..000000000000 --- a/net-libs/ntirpc/files/ntirpc-1.4.1-city-header.patch +++ /dev/null @@ -1,60 +0,0 @@ -From c2416e1996f694ea0cefb217f806e45931ef0b03 Mon Sep 17 00:00:00 2001 -From: Dylan Reid -Date: Wed, 15 Feb 2017 12:31:55 -0800 -Subject: [PATCH] Make city.h includes consistent - -Most of the code base already uses . Modify the places -that include "city.h" to follow that pattern. cmake doesn't add misc to -the include paths passed to the compiler. I ran into "can't find -city.h" errors when attempting to add an ebuild for gentoo. - -Change-Id: I1e07d82bbe58fbae4759263734ac22170220eeb7 -Signed-off-by: Dylan Reid ---- - ntirpc/misc/citycrc.h | 2 +- - src/city-test.c | 2 +- - src/citycrc.h | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/ntirpc/misc/citycrc.h b/ntirpc/misc/citycrc.h -index 57069344f1f8..d3620158a5ca 100644 ---- a/ntirpc/misc/citycrc.h -+++ b/ntirpc/misc/citycrc.h -@@ -34,7 +34,7 @@ - #ifndef CITY_HASH_CRC_H_ - #define CITY_HASH_CRC_H_ - --#include "city.h" -+#include - - /* Hash function for a byte array. */ - uint128 CityHashCrc128(const char *s, size_t len); -diff --git a/src/city-test.c b/src/city-test.c -index 03d98a2ba9ec..8b504dd5c57c 100644 ---- a/src/city-test.c -+++ b/src/city-test.c -@@ -27,7 +27,7 @@ - #include - #include - --#include "city.h" -+#include - #ifdef __SSE4_2__ - #include "citycrc.h" - #endif -diff --git a/src/citycrc.h b/src/citycrc.h -index f6cab94eff04..7998521b68cf 100644 ---- a/src/citycrc.h -+++ b/src/citycrc.h -@@ -33,7 +33,7 @@ - #ifndef CITY_HASH_CRC_H_ - #define CITY_HASH_CRC_H_ - --#include "city.h" -+#include - - /* Hash function for a byte array. */ - uint128 CityHashCrc128(const char *s, size_t len); --- -2.11.1 - diff --git a/net-libs/ntirpc/ntirpc-1.4.1.ebuild b/net-libs/ntirpc/ntirpc-1.4.1.ebuild deleted file mode 100644 index 61ddf68d5d6f..000000000000 --- a/net-libs/ntirpc/ntirpc-1.4.1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit cmake-multilib - -DESCRIPTION="Transport Independent RPC library for nfs-ganesha" -HOMEPAGE="https://github.com/linuxbox2/ntirpc" -SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="gssapi rdma" - -# Since the GSS option only controls some extra files to be enabled, -# there's nothing to list in the depend string for it. -RDEPEND="app-crypt/mit-krb5 - rdma? ( sys-fabric/librdmacm )" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-city-header.patch -) - -multilib_src_configure() { - local mycmakeargs=( - $(cmake-utils_use_use gssapi GSS) - $(cmake-utils_use_use rdma RPC_RDMA) - ) - cmake-utils_src_configure -} diff --git a/net-libs/ntirpc/ntirpc-1.5.2.ebuild b/net-libs/ntirpc/ntirpc-1.5.2.ebuild deleted file mode 100644 index 0f07315803a4..000000000000 --- a/net-libs/ntirpc/ntirpc-1.5.2.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-multilib - -DESCRIPTION="Transport Independent RPC library for nfs-ganesha" -HOMEPAGE="https://github.com/linuxbox2/ntirpc" -SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="gssapi rdma" - -# Since the GSS option only controls some extra files to be enabled, -# there's nothing to list in the depend string for it. -RDEPEND="app-crypt/mit-krb5 - rdma? ( sys-fabric/librdmacm )" -DEPEND="${RDEPEND}" - -multilib_src_configure() { - local mycmakeargs=( - -DUSE_GSS="$(usex gssapi)" - -DUSE_PRC_RDMA="$(usex rdma)" - ) - cmake-utils_src_configure -} diff --git a/net-libs/ntirpc/ntirpc-1.5.3.ebuild b/net-libs/ntirpc/ntirpc-1.5.3.ebuild deleted file mode 100644 index baba07b564de..000000000000 --- a/net-libs/ntirpc/ntirpc-1.5.3.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-multilib - -COMMIT="fadcbdedb65998925482b26c88964b4213b9e1ac" -DESCRIPTION="Transport Independent RPC library for nfs-ganesha" -HOMEPAGE="https://github.com/linuxbox2/ntirpc" -SRC_URI="${HOMEPAGE}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="gssapi rdma" - -# Since the GSS option only controls some extra files to be enabled, -# there's nothing to list in the depend string for it. -RDEPEND="app-crypt/mit-krb5 - rdma? ( sys-fabric/librdmacm )" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${PN}-${COMMIT}" - -multilib_src_configure() { - local mycmakeargs=( - -DUSE_GSS="$(usex gssapi)" - -DUSE_PRC_RDMA="$(usex rdma)" - ) - cmake-utils_src_configure -} diff --git a/net-libs/ntirpc/ntirpc-1.6.1.ebuild b/net-libs/ntirpc/ntirpc-1.6.1.ebuild new file mode 100644 index 000000000000..c78565d83635 --- /dev/null +++ b/net-libs/ntirpc/ntirpc-1.6.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit cmake-multilib + +DESCRIPTION="Transport Independent RPC library for nfs-ganesha" +HOMEPAGE="https://github.com/nfs-ganesha/ntirpc" +SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gssapi rdma" + +# Since the GSS option only controls some extra files to be enabled, +# there's nothing to list in the depend string for it. +RDEPEND="app-crypt/mit-krb5 + net-libs/libnsl + rdma? ( sys-fabric/librdmacm )" +DEPEND="${RDEPEND}" + +multilib_src_configure() { + local mycmakeargs=( + -DUSE_GSS="$(usex gssapi)" + -DUSE_RPC_RDMA="$(usex rdma)" + ) + cmake-utils_src_configure +} -- cgit v1.2.3