diff options
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/Manifest.gz | bin | 33921 -> 33903 bytes | |||
-rw-r--r-- | net-libs/axtls/Manifest | 2 | ||||
-rw-r--r-- | net-libs/axtls/axtls-2.1.3.ebuild | 4 | ||||
-rw-r--r-- | net-libs/enet/Manifest | 3 | ||||
-rw-r--r-- | net-libs/enet/enet-1.2.2-r1.ebuild | 10 | ||||
-rw-r--r-- | net-libs/enet/enet-1.2.2.ebuild | 22 | ||||
-rw-r--r-- | net-libs/gsoap/Manifest | 2 | ||||
-rw-r--r-- | net-libs/gsoap/gsoap-2.8.59.ebuild | 83 | ||||
-rw-r--r-- | net-libs/libnftnl/Manifest | 2 | ||||
-rw-r--r-- | net-libs/libnftnl/libnftnl-1.0.9.ebuild | 61 | ||||
-rw-r--r-- | net-libs/nodejs/Manifest | 16 | ||||
-rw-r--r-- | net-libs/nodejs/files/nodejs-8.9.0-shared-nghttp2.patch | 100 | ||||
-rw-r--r-- | net-libs/nodejs/files/nodejs-9.2.0-shared-nghttp2.patch | 100 | ||||
-rw-r--r-- | net-libs/nodejs/nodejs-0.12.18.ebuild | 124 | ||||
-rw-r--r-- | net-libs/nodejs/nodejs-4.8.7.ebuild | 143 | ||||
-rw-r--r-- | net-libs/nodejs/nodejs-6.12.3.ebuild (renamed from net-libs/nodejs/nodejs-6.12.2.ebuild) | 2 | ||||
-rw-r--r-- | net-libs/nodejs/nodejs-8.9.4.ebuild (renamed from net-libs/nodejs/nodejs-8.9.3.ebuild) | 3 | ||||
-rw-r--r-- | net-libs/nodejs/nodejs-9.2.1.ebuild | 203 |
18 files changed, 433 insertions, 447 deletions
diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz Binary files differindex 7f93bea5f5ca..f8e09a0c41bf 100644 --- a/net-libs/Manifest.gz +++ b/net-libs/Manifest.gz diff --git a/net-libs/axtls/Manifest b/net-libs/axtls/Manifest index 03809b08797e..0bd430aa182f 100644 --- a/net-libs/axtls/Manifest +++ b/net-libs/axtls/Manifest @@ -10,6 +10,6 @@ DIST axTLS-2.1.4.tar.gz 1316768 BLAKE2B 3ff302c59313ee80d18a0d5390c591e6259625e6 EBUILD axtls-1.5.3.ebuild 4658 BLAKE2B f58494ccce35e2d488d9a85b9f92c44be6845a474eb2ee6fb6c7bec5b06976510e39ff2da6f2bbbd72c46e7013325f24a1a974e9945a8d241e9e6bce4a957e7a SHA512 49d2cd35f692d828e16b56bb6eb0ed2cdc45329fdbf1641fbab53418e237141ad233121e3d1aa663df146ab13cecfefa6c2318457cbcd6f2cd8db1aa9046b2f9 EBUILD axtls-2.1.1.ebuild 4666 BLAKE2B aeb07ee2ba416c4d71a7e6276408415c5434c1b26700385cf749ec7ff514dc3d81bf82aa5e0423d1eac226ea2ec3fd009957b7ea864967656c178ebf4d5c8f6c SHA512 433b2d36a5e0b0e4b32d7b4724c6dbd7dcc243e5888a51c51cc2da435c908f472ba09cfc5a059cf4a8eb2a721128a3e3bc2ec160b905454b1001d3507adb5a7a EBUILD axtls-2.1.2.ebuild 4666 BLAKE2B aeb07ee2ba416c4d71a7e6276408415c5434c1b26700385cf749ec7ff514dc3d81bf82aa5e0423d1eac226ea2ec3fd009957b7ea864967656c178ebf4d5c8f6c SHA512 433b2d36a5e0b0e4b32d7b4724c6dbd7dcc243e5888a51c51cc2da435c908f472ba09cfc5a059cf4a8eb2a721128a3e3bc2ec160b905454b1001d3507adb5a7a -EBUILD axtls-2.1.3.ebuild 4682 BLAKE2B d56893bf21b023b366583064ae7d9e93e1c3dc33ab528f9caebb15bfde3826791a7d2be332572f12fc3f5718a823933c011692995da12a669dbded76b510a9ad SHA512 c41e249e8f39c37f1fb89d0f9bdaf5b9c8e7596d3154eb6c32f50b47b5c9f46353221e3f8ed6d8092019e0bde5ab2a4d1da049be2d756aabe40a4c1b1c6c536a +EBUILD axtls-2.1.3.ebuild 4681 BLAKE2B d6d20d8b9835925d35872f1b341be69a383b8c26e24ff518e99ea5a708da645c30cc4c6fc8fd4820750fdf5b4bbc14a87a22e6fa7d4e5fbdee928842f54c317c SHA512 f3a065bdaa32eb84bf590cf0aac2d9a67017a556450b4a79211e60a72b11a599ac0ebf0ee8803fd19f36e6820e5599d6fc2d1d4609f76472039a04c9065b0c85 EBUILD axtls-2.1.4.ebuild 4687 BLAKE2B a530f9d57e16f65587028a293f0f1ddcb9efa96493ad8d6082b1217a43f1b3645629b2b2910075b6b5ffad4a380a0403b1358f171d352b2d0cf9f470e42939f7 SHA512 e266f60307098635db515eca0e6dc4aaed14d6c0ebd9b11184afe8bb34a20a1eee9367e8ee8e44ce843811d13c39ea7ba8b114657cdeeaa9c74656175ed33dda MISC metadata.xml 632 BLAKE2B b83cd23e97a4fdd09ea7354c1245dd65e54c50b418538c2ef71ae9054626861b6516268fcd37485ba19d1981024c47d869cdce00b276473200a7352c29072b1a SHA512 bfd387d998bcf2a457ff01752b553307b0de430cb9372115b366ab80a10866ede54b8ee149c726aba6f12c8cc3c5ea089dc5b25083e95594d8912e181a8626b0 diff --git a/net-libs/axtls/axtls-2.1.3.ebuild b/net-libs/axtls/axtls-2.1.3.ebuild index 48eafc5ea5bd..28715dc93e1b 100644 --- a/net-libs/axtls/axtls-2.1.3.ebuild +++ b/net-libs/axtls/axtls-2.1.3.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" @@ -40,7 +40,7 @@ S="${WORKDIR}/${PN}-code" LICENSE="BSD GPL-2" SLOT="0/1" -KEYWORDS="~amd64 arm ~arm64 hppa ~mips ppc ppc64 ~s390 ~sparc x86" +KEYWORDS="amd64 arm ~arm64 hppa ~mips ppc ppc64 ~s390 ~sparc x86" IUSE="httpd cgi-lua cgi-php static static-libs doc" diff --git a/net-libs/enet/Manifest b/net-libs/enet/Manifest index ddcb26353145..3efd29dfb243 100644 --- a/net-libs/enet/Manifest +++ b/net-libs/enet/Manifest @@ -1,8 +1,7 @@ DIST enet-1.2.2.tar.gz 413454 BLAKE2B 3d13ae43a3ce361cf19d7b79c8ec92f76b7c1066659bf4e531a3144b03aac4e7b3738c102eff12bc0748a4a798e7be77473a6b386d29bb416998057f71ffe9d9 SHA512 2c28ab4b650dd4165ee5913c1bc80dc47e43f2363a5fdd7f3aa9be8fb3afbc8aff7a6bce731f7dac45eb930fc6338cd811c07e8dedca5554a7dd32293685062d DIST enet-1.3.13.tar.gz 669090 BLAKE2B 3041e9b2fe431dda2eae3464417d79b80664ff2c303222607991db28328e8eca2357fbf66248f40344bf93a26e0d1ffdad4698f9fe58939224b830700acee501 SHA512 82501c0248330a3a6bcac907907760e59b18cb662ebb42fe2c91e1557f1bc8ab452bf3fe7477dc01fa7a6e3b6124e1eb8eac46382d5bbebb2394879f9568b5df DIST enet-1.3.7.tar.gz 522150 BLAKE2B 8a2efee0aec375dc4f9e3594c81ce7d6b8ba846ac75ed9e9e03175db39c6b1bce6ad62782d4bb5a0fc0dfdf4574d6e8c52b45cf2a84d72aaca16fc40787fb111 SHA512 b715347d94d8c5361033002e366f2cd7b8dd263faf7e84bd3d120de770f85025749fed4325c08f12d27875a112fb534a0464f8776bea6c3df2f048b57e5623f0 -EBUILD enet-1.2.2-r1.ebuild 475 BLAKE2B 48f3a59fa1a150c46323b3744aa9920e06211842e32cc652854a2827e4e2d56610d50050147bebcfe24db08b706da2d649e063db157e8e39d17b4f1bbbcd21de SHA512 b98ce3a416cc76050dcb6a34f7096ee4347ff02b0e6c1e2b93a91a3d8a1b5bc031cf6f709a893d5dcf76c3297764778c5901c9c8e48bf901b02264436ea7ff76 -EBUILD enet-1.2.2.ebuild 514 BLAKE2B bd75eb838ff34568ad3b31cdd6c46617b518acc68533ef1221910e0b410d648818a19d2fd2d66c24bbbc4da1507b811e13278fb3d93cee7e5d91c22e6657a321 SHA512 31e3c60c7374bb2c0b150b82484b04bcd5ddc1ac1d45749acec2e520489ddd9f485939153b6c6272e408db86eed89eb8e91654344636007d5ca5f892c396a0fa +EBUILD enet-1.2.2-r1.ebuild 432 BLAKE2B 0ecff244e19cf28f3d10ccda1dffaa128de330313e8926dd53a0fd0bf2832da3738d4e74b5ad6925ded4fdd52aa09b24a8d6dec7dc6819de25c814255ee0f8eb SHA512 5d8df97625fa840418aeb15a9a804042ca714cf4bcbb0b2d68d7c8b3c5da9747e1b4859cd549f23ae979cf974316ad72ba7e347951b9486d181a4dd74f7fa819 EBUILD enet-1.3.13.ebuild 534 BLAKE2B fec01d1aa98b343cf7627f7eadb07ec29e750e74b83b0796a43d5088ee094a4cb47749c2b92a8ed804bb2e0658612413214d61b302e73cf751df5aa42196f3c7 SHA512 7ac184be6f2044d08ffcc7ec58596711d1aaf4fb406b8896eb0dd05a62ccec33bdf157ced6992d5d5683d6f87af3b0a1d1a6d81f72af9739c4201e15feca5429 EBUILD enet-1.3.7.ebuild 680 BLAKE2B e261b7f92064353aeabb521b2e444d4f2b1fbc937ae2b3d66ccd0b4322f8b3094ed0faa780c9945e37372f5bda4dd41723948873fb67853ad382c79ad0388a88 SHA512 65280725be46ef84c6ffc5035352fbb37e3038a5abd39b294ee8b05d155393bf11711ab8e947d91dba2ab90b540de884c3d2857983578a5bd9e6145a4bcba858 MISC metadata.xml 237 BLAKE2B f22c3926ba75c18fce7667217807f3710a315b12b1341622c949e7bc0056cd1cb403ea6c66d838675f3cb5dcd53d2fc4ec71425ec3f96aaffb94b70b73e99320 SHA512 ae2360aa6b1b00c67e0acea4935c02b64585b9a15e126fec9d5d99637021c542c0a495e5116205f3da287def46fa5b19cb1a7f3042c12c5f7a78d66d92fcb03f diff --git a/net-libs/enet/enet-1.2.2-r1.ebuild b/net-libs/enet/enet-1.2.2-r1.ebuild index 574384dac15f..b38533678dda 100644 --- a/net-libs/enet/enet-1.2.2-r1.ebuild +++ b/net-libs/enet/enet-1.2.2-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=6 DESCRIPTION="relatively thin, simple and robust network communication layer on top of UDP" HOMEPAGE="http://enet.bespin.org/" @@ -9,11 +9,9 @@ SRC_URI="http://enet.bespin.org/download/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ppc ~ppc64 x86" IUSE="static-libs" src_configure() { - econf \ - --disable-dependency-tracking \ - $(use_enable static-libs static) + econf $(use_enable static-libs static) } diff --git a/net-libs/enet/enet-1.2.2.ebuild b/net-libs/enet/enet-1.2.2.ebuild deleted file mode 100644 index 6d020d098e73..000000000000 --- a/net-libs/enet/enet-1.2.2.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=3 -inherit base - -DESCRIPTION="relatively thin, simple and robust network communication layer on top of UDP" -HOMEPAGE="http://enet.bespin.org/" -SRC_URI="http://enet.bespin.org/download/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ppc ~ppc64 x86" -IUSE="static-libs" - -DOCS=( "ChangeLog" "README" ) - -src_configure() { - econf \ - --disable-dependency-tracking \ - $(use_enable static-libs static) -} diff --git a/net-libs/gsoap/Manifest b/net-libs/gsoap/Manifest index 05b8ccf67ea0..e3f5bfc6cbcb 100644 --- a/net-libs/gsoap/Manifest +++ b/net-libs/gsoap/Manifest @@ -4,7 +4,9 @@ AUX gsoap-2.8.52-shared_libs.patch 6582 BLAKE2B beb15d19f782edd0fd0ac518001001f1 DIST gsoap_2.8.51.zip 34505931 BLAKE2B 6f2d6ee2bd405054dc75105f42f6edeaa2300f1e7e6bea15f9e8f0dfcc2df56b36cddfc8f0a038b029f36a6dd1fd63f39eadb8d7f363335344eb142ec27be726 SHA512 491e31ce6be02c577b6184335672a0805e2287418a7e26d9b0f009aab8af462ddef7d7a1893dc867db5362c5f2a1e0022d0a45865d81e43286ce16c649da6910 DIST gsoap_2.8.55.zip 32571850 BLAKE2B 6f262c0b65c7704fbf6c0973d766c0cff788745d0f6331afdffc6bbabbbeeea38222f8038d7a96eae63453a721f2b52b1623f4691e7c677489fb8a3c49d80bae SHA512 e0cb6809d5b8e4a068ed937f253844f88d8275e58f7590ca0dd52bede1ea74d5781d35664586f9e29f2e22c508167df8044d45101f0773c9b8d79b80aa188935 DIST gsoap_2.8.58.zip 32931913 BLAKE2B ab6e1b9f1e3b866199236b471e638a80c3542ce709e5cca75df9b3d5cd06fc498d09e768078a6863c549e721f657723d50bf53274c7d6603da23f1ea7a887879 SHA512 019c428aee0309ac952af349738a062d4e6deae28f2c5d38178bcd2aa3ead76a7a43faf952ca61f15e8928600a46f1a865b7996ded1c32e1749d1036c5354e2b +DIST gsoap_2.8.59.zip 33109898 BLAKE2B d05ddf0c1e24afc03a33592cf8abef6f0bb6c8a8a216aee9ce7614720a8e3cd015f1e03429113ac8bdc05e6b916fee022914db22d0c29b5c9c4d0fb60c549168 SHA512 d43320e6965c3f17d122ea7aeeecbc0b608dac52204e630c3254d32eadd3c93aaca446c92bb439b98207f8560b2ad6bff220c0502b75ebd18b99e37402570624 EBUILD gsoap-2.8.51.ebuild 1636 BLAKE2B 45be6a22238369d019f5b8e8efe2c11c9db8e38171fbf90000fdd730648d2d1343c11b2eb9aded9fec714ea961248eb715e102bb720932cc9a65490339bd57e2 SHA512 b7dd63458a2ba950a066cb2ad498bd0c7def67b0bde38e90a20ab89bc71a17e8d39f7edb27cd21d721a0646cb351b26aed241b624e1718fb565e1d71d51d3b36 EBUILD gsoap-2.8.55.ebuild 1635 BLAKE2B 274bb41081cd7b6a7f9ab784be172b58bedba873f66f2a0896e86e353b72f9ec3c5e5eea3109cdbf2a26ad8cb02a8b7380220de365fe2ee6656f0cf039a737ce SHA512 9b7161fb76128c0ac50c29b8f3675e423bd24f5ca3e28d6923ab833594a8c13fe8fabc431ae7c9a00dd25f1222f6a50d7b50c411dae2d7e02dc5fb67e59fc4e2 EBUILD gsoap-2.8.58.ebuild 1635 BLAKE2B 274bb41081cd7b6a7f9ab784be172b58bedba873f66f2a0896e86e353b72f9ec3c5e5eea3109cdbf2a26ad8cb02a8b7380220de365fe2ee6656f0cf039a737ce SHA512 9b7161fb76128c0ac50c29b8f3675e423bd24f5ca3e28d6923ab833594a8c13fe8fabc431ae7c9a00dd25f1222f6a50d7b50c411dae2d7e02dc5fb67e59fc4e2 +EBUILD gsoap-2.8.59.ebuild 1635 BLAKE2B 108f7d24270342c82c34c3ef000814a2af1de429230744aba9a819a988bc16619e79b3a59efd72939c57503698d3921b8ab8339a3c9ea7c2f1a5242c43ac8b7a SHA512 786bbd285e707c55acba1b1a357d51583cea9e1040673ebf35264d0d5d2ae8af1eb65e61123ce1b36865c57f20a942ed0e9deeab7c98ad2603a3bf7f730a9bc3 MISC metadata.xml 451 BLAKE2B e3d387b04ad001e38538f12cace5f97f2f3b9311ecbb212d018a481945b593b07236a828181709a4c8c1aa7dc8a679ff1ae37c46d1d2ec213603a0db5080edfa SHA512 ec9e11f668d654db228da6e81da0ac048df98a45f35ec3bf73b7f6b6c050c99f7f064c264e3dc79fa07fc7a713f715ad8836eef6a4984e3786be52c448822ba1 diff --git a/net-libs/gsoap/gsoap-2.8.59.ebuild b/net-libs/gsoap/gsoap-2.8.59.ebuild new file mode 100644 index 000000000000..84b2601d54ef --- /dev/null +++ b/net-libs/gsoap/gsoap-2.8.59.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools eutils + +MY_P="${PN}-2.8" + +DESCRIPTION="A cross-platform open source C and C++ SDK for SOAP/XML Web services" +HOMEPAGE="http://gsoap2.sourceforge.net" +SRC_URI="mirror://sourceforge/gsoap2/gsoap_${PV}.zip" + +LICENSE="GPL-2 gSOAP" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc debug examples ipv6 libressl gnutls +ssl" + +RDEPEND=" + sys-libs/zlib + gnutls? ( net-libs/gnutls ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl ) + ) +" +DEPEND="${RDEPEND} + app-arch/unzip + sys-devel/flex + sys-devel/bison +" + +PATCHES=( + # Fix Pre-ISO headers + "${FILESDIR}/${PN}-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch" + + # enable shared libs https://bugs.gentoo.org/583398 + "${FILESDIR}/${PN}-2.8.52-shared_libs.patch" +) + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myconf=() + use ssl || myconf+=( --disable-ssl ) + use gnutls && myconf+=( --enable-gnutls ) + use ipv6 && myconf+=( --enable-ipv6 ) + econf \ + ${myconf[@]} \ + $(use_enable debug) \ + $(use_enable examples samples) +} + +src_compile() { + emake -j1 +} + +src_install() { + emake DESTDIR="${D}" install + + # yes, we also install the license-file since + # it contains info about how to apply the licenses + dodoc *.txt + + dohtml changelog.md + + prune_libtool_files --all + + if use examples; then + rm -rf gsoap/samples/Makefile* gsoap/samples/*/Makefile* gsoap/samples/*/*.o || die + insinto /usr/share/doc/${PF}/examples + doins -r gsoap/samples/* + fi + + if use doc; then + dohtml -r gsoap/doc/* + fi +} diff --git a/net-libs/libnftnl/Manifest b/net-libs/libnftnl/Manifest index 9e191b467edd..3b7b894ac09a 100644 --- a/net-libs/libnftnl/Manifest +++ b/net-libs/libnftnl/Manifest @@ -1,7 +1,9 @@ DIST libnftnl-1.0.6.tar.bz2 381897 BLAKE2B 9811c3a3faac0323ba3126bc4e4e1c81e3a29f2b5456f516a431581099678aa821ca822387b4e84e768b254ff21b57456bb31fdf0f1dd5583d937b4b67fa3252 SHA512 d813c9d0dbdeaffc30695fb0b5dbf987849339d119774c4f0e219db835f2ad9111a7436fd474ffa96b07e288d537cb4a1be153afcca23dabce0c264e1c4a3c62 DIST libnftnl-1.0.7.tar.bz2 384969 BLAKE2B 9817fac76e2e29c7fef44a83ec454eced1a435045a47171506d264a6175011b09a9b4d02c4934e7fba86bfe6f8560f4ea7452cef193287de7e88f211f4e9a241 SHA512 a220c6a2857b4ff7325bfa4fbf537c5afeb66232a7e190b50c3077f01b86f0fb1842055ccc719280b36820ac7103cbe8168944ffe10c55444830ff77449fa6a5 DIST libnftnl-1.0.8.tar.bz2 400496 BLAKE2B d2563f707ceb40b8cd7c4b4fdede64943fabcc8a639eb61c844f7b941786a49b1c029e375977759717e5cb8f8dc2019ddcbf48223347f868713d1a077d51d8a8 SHA512 df9f5967908ce5e6a6a85fe4328bdf6e7501ce6b0e42239b750782aeb76c30b1aae80dd07f73a06fb077d072b1269c4e0c5fd525feed1055400201567d215ef9 +DIST libnftnl-1.0.9.tar.bz2 402296 BLAKE2B 87d1fe9543c1451bf90bd8b2dd442d783649940f38cf10081acac46cd985bd0826f5d2eaab2af65b80ebd4b0a9bfd7dba53ff420fa0f6b901296aa02c746e3ca SHA512 ca4a9402fba8b1354314aed45637026afa4faf880991baf93b2b7e01ca7f44e75ffedc624728bd5a7aa1b30bcbb83b849d2f9aea55be7a18f49036653c08151b EBUILD libnftnl-1.0.6.ebuild 1302 BLAKE2B fa3c4d010895f5caf34d442cf18bdd5126835603c9dea570882a45e3940b0a073a60a06ae746ebf0aaa7668f88fc99642f3463d3a5f685d0b6c3593a8b1cdd38 SHA512 11a9d9694a2a01e539d6d81651828efaa4972c6fcfcdfa541ceed13cb4b553f4d9cdc07d23ffdb5c86f239840f970994d1af9c1f742374b0abf998f2e4d4294f EBUILD libnftnl-1.0.7.ebuild 1305 BLAKE2B cbe5b1a82d23af02f376c13bae75a58f903bdb26561644a6b0563df97750d952d0423cd332d9d6339f6580cb19563ad514cbee5cc309d75303f685ebdc50e2c7 SHA512 06aee62633e1b83ec9f1a7f484657901f93fac559cea7e7cc7cd53b617615392a63bbdc7989b2f197215c986fca67c7dabde7f12fa494b23f0e7b0788ed35cd1 EBUILD libnftnl-1.0.8-r1.ebuild 1367 BLAKE2B 074a26d1ba072eb1788863becf804f0d3c6c7abef785a254c209917819506a2c12454b8acd3bdc4b0a3b9e86dff443320d5dd2e3a06c42b2bc94344a265a4a2c SHA512 88308c1f030dd462b33d1e25d8ee1e4a3fd431fe791819e2f1884b89794e0b61a019506973860c37648a762b9115a329ef7f084a67c1b6e998ac664406e9e1c3 +EBUILD libnftnl-1.0.9.ebuild 1369 BLAKE2B f04bebcfa121fe3c146be95a50e0d3e64fe0fc6b840ab0e5011d2fcaf08d34687dafcbb87a2f18d757deb69c62028f227ad12cda43301a67928cf4a80e3ffed3 SHA512 c4e8d80ee251f78a9c03e692eb8aaa807b944c5246c97a4cc96c00a4439a377f6adb28072a799d184a45286a449ba875a08ffc22e5a81482f44f2418bf952c9f MISC metadata.xml 317 BLAKE2B ec8bdc87d1d0694e81566b611db8e455e851b86a2403ca8ac0c36f774f23b89fb9ee4e55dbc818efba807aec0487dd1956f2fb17393b327500dbe69118d5030b SHA512 bfdf498de4ccd1d1a4f78c7e94a90b2bf203e16b8ddec5949bb88c953279026f95da956ef94b39140d44bbcd8cb4008f9f4b777fd895576da8414051c4487beb diff --git a/net-libs/libnftnl/libnftnl-1.0.9.ebuild b/net-libs/libnftnl/libnftnl-1.0.9.ebuild new file mode 100644 index 000000000000..ba796364c64a --- /dev/null +++ b/net-libs/libnftnl/libnftnl-1.0.9.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools linux-info toolchain-funcs + +DESCRIPTION="Netlink API to the in-kernel nf_tables subsystem" +HOMEPAGE="https://netfilter.org/projects/nftables/" +SRC_URI="https://netfilter.org/projects/${PN}/files/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0/7" # libnftnl.so version +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" +IUSE="examples json static-libs test threads" + +RDEPEND=">=net-libs/libmnl-1.0.0 + json? ( >=dev-libs/jansson-2.3 )" +DEPEND="virtual/pkgconfig + ${RDEPEND}" + +REQUIRED_USE="test? ( json )" + +pkg_setup() { + if kernel_is ge 3 13; then + CONFIG_CHECK="~NF_TABLES" + linux-info_pkg_setup + else + eerror "This package requires kernel version 3.13 or newer to work properly." + fi +} +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable static-libs static) + $(use_with json json-parsing) + ) + econf "${myeconfargs[@]}" +} + +src_test() { + default + cd tests || die + ./test-script.sh || die +} + +src_install() { + default + gen_usr_ldscript -a nftnl + find "${D}" -name '*.la' -delete || die "Could not rm libtool files" + + if use examples; then + find examples/ -name 'Makefile*' -delete || die "Could not rm examples" + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/net-libs/nodejs/Manifest b/net-libs/nodejs/Manifest index 23dbca57fdfa..acd83c147711 100644 --- a/net-libs/nodejs/Manifest +++ b/net-libs/nodejs/Manifest @@ -1,21 +1,21 @@ AUX gentoo-global-npm-config.patch 1511 BLAKE2B da2b127df9ac9babc87c1930272244e7f89ac1931543fa524e13fb3c53d2b5a9cbdf0d93dc0cae207822dee3c8f71e2a12fca3d608f6de8589ad2c0064f0855b SHA512 b6c8bf88bd44d5461cbad0354273a6f964429d1cde48ab4c8bef9f50452de22bfc5d15707c5c9adc2a0d8000a6b1be4cffdee039618b627fb0d291886309cc3f -AUX nodejs-8.9.0-shared-nghttp2.patch 3094 BLAKE2B 6736390b0f8fb8d5d68b517bf3b2e93c1beca921288ffc9f0c80c382206431579b42e1927f042e9cce72c55ac75bda97c5a6710b7bb2e38e810fe5eec7c9ca27 SHA512 e833e75521c222ab5742b8be020661d6fb82935983e87504c2fb6d4ec6ff42d44ab7323c984c4d07d0c29989c90575d50c57a1974555a5705eba74c140a6eb45 -AUX nodejs-9.2.0-shared-nghttp2.patch 3166 BLAKE2B 2dfdc5b79ce5c2bb55c016ae78922208b0a269c278f54f98e2e5e17f48d84463c3dd15ae6e674bdc8361dbcf238e31941d54296b8a000028eea4428ac009de2f SHA512 8e08599fd896f24388b7e70fdee87692c0e4c327230b20ce929c3cde529187c2cd94e6fadaa0421aad3e54bff63936ad81d8c4b6cbd27c97bbee7346423eecac DIST node-v0.12.17.tar.gz 19938029 BLAKE2B 0118fb016c70afc9940c3b9e2fbed9fd3a56ae7fd8bff6f2ec69320f1e3a71868f7e882783871e842d163b5195628040736e679ca715ebddc6eb6a76fff1288f SHA512 86c22b17f57018083b07096beeca10e6dfa7569b3d1a25a3b12dd82796db3c9536e6136e0dd0ff62b4de116413f3722b36ce396faa46d8640f80ab09ccfcbca7 +DIST node-v0.12.18.tar.gz 19842591 BLAKE2B f94f4de6e2875267be194580c645087a262b90da99f10d651a22838c041da07056df81204bb04ce8da083a080062509dcca4d1e3ac2250d651ead8a4cc025028 SHA512 6866608a43eb213f3b715ea0fcc28983fd959ab679c567a1b464f62acd936506f2bce88ea48a60209d8ef8d98259f4b47cd3434893eb4ff82a132775edb37b7b DIST node-v4.8.5.tar.xz 13316060 BLAKE2B fb32f176b9d4add3e9695f0bee7ebd0bba66770d479b1fade572de4694566603f08875da6ff97a1904edd1156708b58670fb1c4717e213aab6ad44ae5d470f40 SHA512 64d936ca14648b5648dedb41f2ee8d39466788762d335fbfc9ce4cb7484d05b6c24ad912fb4b1579a08f466be50b129a96be700fd89cbca5e1de84baa63ddd12 +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.2.tar.xz 15760164 BLAKE2B 89daf5d52a430a729f9c55f10483805a6b802abdffa2a3bbcaa8ce71c78321eadedaabe1b28cd781c6b894923821bbb1743754cbabafda0a0e9abb7b6b11fa78 SHA512 914eea968dacb086f5083ee0845a982969a5c56ab183c8da17812d8386095db1e9c2d07dee4f6186091d64cde605d1ffc15d17025ea28d1c3ee3bceefff6c399 +DIST node-v6.12.3.tar.xz 15767900 BLAKE2B 2a986c8099d14b199e33676e1a7d416919407558a42d14e526794baa29d8788c74a5ff47e8d2a8509a747682bea393b45e31965569a4b72976b7691f2a84e971 SHA512 dcf30bc221aa949e6ca3bd9321ac68adb05d93af0b06119b4b73bfd4cfa2c31897520d90247ac0f783946c1fc2efe77178f52225150dad4522ac9408d036a8e4 DIST node-v6.9.4.tar.xz 15519264 BLAKE2B 4dfad88b06b209272b8468501cc3c87c40425781fb55011ee93326555c2df88a166ffaff1877563668e06389703053849361739556f1bc87c1e2386d48b9542e SHA512 86d3e2889031c2b50c021bd3fd63194c2c22c44291d51dff1b5e1652b01853c09d2880c2f58fdad062e3e2a3f637a3f0d78dac66b835b676790cf272e64f8dce -DIST node-v8.9.3.tar.xz 18298212 BLAKE2B 7d19fcb77c496fb3aa717d426a3db4630e382738f0fe3273bba3137814470a5fe5e9593c18934cfd62816a0ac33d195eb241c810f4756d84eaa8f974606a485b SHA512 7bd037189925387bfd1339eef5be9af10af0a063914b4cdb2a1f3befec2e76eb566f7d14874b8c70a02172ebeb4d1c1fdbb0715ca8f18b0b5711a38b30214bc8 -DIST node-v9.2.1.tar.xz 18346796 BLAKE2B 8fe82a9b50636fef21f9bba05e89381f6785f18599adb5183d4276df4d0e5b2a4d1bb3d8137143fb87d8638ce82f6812ff237764f7b76f1bee65199a93c91e88 SHA512 379a340186c8299df02a90dce730250d46b502ef58ca4720ede48a5053d0f1e6ee958003dd9e3c0b76f4575980217d9dc5a9cd93a2a4e58da324d04d6d5edc7e +DIST node-v8.9.4.tar.xz 18338980 BLAKE2B 81180fc0c9b10cebc051a72649fb40650c89a05d427b826a6f3937e2b108b97edd27dd1c1521e57168e5a92b37e590429735c07c3198e4b912774c305ae61693 SHA512 9656b57145c2b3048ff9ad70f91dbff33a7349dca564efe3b2ff585e2ffad004ea8de920a7a049ff4c5487683986d78b5a578306c2c99f3b1a3de96d9ad1dece DIST node-v9.3.0.tar.xz 18385364 BLAKE2B 825fd8786b68020f7bb2735e519cd5ecb49552766646425613780736e7c20f555007e90048abd3e985d27656a39da6737ced5c905f113b0e531549312751e2d8 SHA512 bafc3bbd01ce0cc00f13e6f34b8ed361cff337c71b90836132c8188b1103ba2d6aab145258b6afafafc2455fa8a5de54be265435a553793946fd6d308095ae3e EBUILD nodejs-0.12.17.ebuild 3425 BLAKE2B b1c8ea2a39ee873c2d46a68af2e6050ae6e879ae9a80d20543e4486fda5885385b702394b4af1284883cc0685541ae7184e3b0c9b97866190d28e66a3d508534 SHA512 5507119d2bf420f8096c15258dded17cd5bc5470aa36d8ca1ef4324c183536580965b5c0b8022f22ebce509621d84ab2423d768e2c5d8e2268a40f622ead8075 +EBUILD nodejs-0.12.18.ebuild 3437 BLAKE2B 7e4f091b468b62780e479360c9a1afda0eb792d475aed7bef93fee9631f9beb7f883cdea83dc0c21cb4b638c0cb60d7dd07051c36aac4f52d13bc7ffff3d89f5 SHA512 3fe9bbcb88764aa3f143d28eb8749f2d8daa8750979196b6b307cb8d820e43e9d91eda620c914c9c843cab542c5d3051fc081f4f5ba9dba35e75708be72331ba EBUILD nodejs-4.8.5.ebuild 4435 BLAKE2B 0a226e511e27eef347c542d1830e86208636159384983d1be76f08b220008e5e999e303a78feeff58beb52d6f3f18382804b9114cd1d73a4b1aaab329f676406 SHA512 66f3bfae15bef4755f9ec630c4bc50a44ae0b63102c3568bf6ca41caea66bca09cd67eb8dc314a27b0a571f2672e93f3937b9f14e3b19a0eaf36221c36c07d66 +EBUILD nodejs-4.8.7.ebuild 4433 BLAKE2B c5c073d61215f80b3a80d150f867e8392d053b6480df209c9486ba4f9f081d4120cfccc0a179c606dd5a96d909f19ff4198351d800d10bb262b7e9981cc87c3c SHA512 c037bc483828db1ea11ac0ad379da5453a9f263fb3298d20b897346ea18bd54f8820365846cf092a4fde1bfb1e8b86360b4d45e0b467cb58193f4f556beda342 EBUILD nodejs-6.11.5.ebuild 6090 BLAKE2B c90aa71b89dab6ff99da43cdfeae4eabcbd28f4e865bcd4129a0978070f176a826bd81b7464453ea54f4a17a582667a1a2f4622eec5d76117d4c4b2af6ae15e0 SHA512 3b203a496f10605a816d5cd8ca9563b9d8ce6829dccf6b8934d9c63275e042aca2371bb5b9356ad88d299aa7336c94e074fa5e8d9ebe8259bd80c76205216486 -EBUILD nodejs-6.12.2.ebuild 6179 BLAKE2B 6dfcc4acf5977db1fb003583e194158ba2d5cd5f01873822c17368afe152959bb84fe40587f585a06ba5590bed19b669cbf7816b48d7154d7585e925935dd1a7 SHA512 a5f364c27a4c90be5580329b209f68bbe480626b79bb5f8d0299db1cc6a87f76bd5e80244d6a3b5d4ef10232537e9aa9f82475d5182a8083bda499cdbdbc7bc1 +EBUILD nodejs-6.12.3.ebuild 6179 BLAKE2B f7343d5fcf848e46790ef98f63e9fa96b3f9635383f4a3ccfc35547d2a0f59a5f3419aaae2cbab88b58d889db87588597bbb347fcbcd065cc2eef53dabc92fde SHA512 3bfbd565dc0f29d2a286b54e3f355d8960f8cab40d04caa693ff02d6c185cdb224195e603ab8cb178f3ce9dabd6313751367185b43b1f7c58e21335862132964 EBUILD nodejs-6.9.4.ebuild 6073 BLAKE2B cf41081773527f8efb120d6d7ba8d21dc834fc47fbf1964fc235853d842321899c605f42e2799136a54f65e6140c89a05726ba49d86a5fcd78fa4c78114f1e96 SHA512 aefc407c057e7c660ed0be4adc5056c9130b95adb63b22bd55d06c4981d70d53d82a65350df4778684c597de5b5bf6b2f8cd28b0ce61de4914c4db02ac3461f7 -EBUILD nodejs-8.9.3.ebuild 6398 BLAKE2B d5a432f78b1613d30fbcf3552665530b1db8f7401e60c858f9160517ce19fbdae99071d41c7cd0c018969b419bb3b54fd11d571f6ff8fc7ba5dfa48efbba1e00 SHA512 7f6ac6b6ba793a09eadde6e7fde3c6787157d60a40d51ba873a85917f72679ee40d57fdbd8b91d93aa7049196abdd2c5faf13a318498dae303fa512a71c16531 -EBUILD nodejs-9.2.1.ebuild 6421 BLAKE2B 8373da68cf051d055edfe47e737ecd091dce243430efb25cd9ce2b04213a16364aac0613ff793ef7e44dde94a1c28bfa7b0711c7bfa02a80c01097fb6dfcb546 SHA512 25d09d0fed3bf63d67edfc98699388b8fdd33812577417704f2a242f9e8290dce509c6c90b335020960a387999e35c0343256e5a85003b9a253bcd14ba805eb1 +EBUILD nodejs-8.9.4.ebuild 6349 BLAKE2B 7a090373ca9551e2853f5637206a69e7f2e55efedb65694defc39f7cd5530b7858bc2285f1a1ee622d72b7b4e940de7445f272ea37194db10527892f9a2272af SHA512 8fa17c50b027ef4439b465612dbb81bb848da88e18d531bcd18a520fe91962567d03638e9b8449d30725197625653b435e3d95771294bc61ec397dbf57a4755a EBUILD nodejs-9.3.0.ebuild 6350 BLAKE2B 1b8b2ed276c850a2065804e19e79b5a32eb2d768a52f169794732075663cf6ab8d5133cc3b5b5f41f58547745455a0b189af440473db5157539fed6f698afa7d SHA512 dc75843801d5075d8e6b627b85a5272d21e5f7e0a622044578aba30d326b657291b1d9630b0ed293a6b8dda09722edc0b97c037abcd5ea7ad1701d7a0f66a763 EBUILD nodejs-99999999.ebuild 6281 BLAKE2B a994bcf6c89d23f551c9b16bdcc85633b91f27f3317c929470350413ecbd16bfc3c22a3d506cd77b6960be3810919092eb7d48025b1614e93099071abfb8ea8b SHA512 d1871476fb4ce74d921bfc35b36fa1e7e59d7a8c8a9fb660e61e3a4b0d5b8536c5ef0667e6079a68d0feef798ea62a74cfa85caf86b00e2483265ad8e94ca269 MISC metadata.xml 502 BLAKE2B 8640b71810454f7c091026e02910563ee44866ed666fc18be431415054ce38e6dab45f8e1890161d5b39e6eafe0279caed936046b803e619880a7ddeb3e4e428 SHA512 bc6fd0a671ad96d8c3f190514932ccc19319c895829136cd04d99b4123666380ed84502d7dea711dfb1d0ba7f0c6edb88afdc95ff24fbca4a6ad636062b5c32a diff --git a/net-libs/nodejs/files/nodejs-8.9.0-shared-nghttp2.patch b/net-libs/nodejs/files/nodejs-8.9.0-shared-nghttp2.patch deleted file mode 100644 index c5e0d837f306..000000000000 --- a/net-libs/nodejs/files/nodejs-8.9.0-shared-nghttp2.patch +++ /dev/null @@ -1,100 +0,0 @@ -diff --git a/configure b/configure -index 5703a70cb2d..3b6fc7347db 100755 ---- a/configure -+++ b/configure -@@ -220,6 +220,27 @@ shared_optgroup.add_option('--shared-libuv-libpath', - dest='shared_libuv_libpath', - help='a directory to search for the shared libuv DLL') - -+shared_optgroup.add_option('--shared-nghttp2', -+ action='store_true', -+ dest='shared_nghttp2', -+ help='link to a shared nghttp2 DLL instead of static linking') -+ -+shared_optgroup.add_option('--shared-nghttp2-includes', -+ action='store', -+ dest='shared_nghttp2_includes', -+ help='directory containing nghttp2 header files') -+ -+shared_optgroup.add_option('--shared-nghttp2-libname', -+ action='store', -+ dest='shared_nghttp2_libname', -+ default='nghttp2', -+ help='alternative lib name to link to [default: %default]') -+ -+shared_optgroup.add_option('--shared-nghttp2-libpath', -+ action='store', -+ dest='shared_nghttp2_libpath', -+ help='a directory to search for the shared nghttp2 DLLs') -+ - shared_optgroup.add_option('--shared-openssl', - action='store_true', - dest='shared_openssl', -@@ -1415,6 +1436,7 @@ configure_library('zlib', output) - configure_library('http_parser', output) - configure_library('libuv', output) - configure_library('libcares', output) -+configure_library('nghttp2', output) - # stay backwards compatible with shared cares builds - output['variables']['node_shared_cares'] = \ - output['variables'].pop('node_shared_libcares') -diff --git a/node.gyp b/node.gyp -index 86a4331a4ed..38241302e26 100644 ---- a/node.gyp -+++ b/node.gyp -@@ -16,6 +16,7 @@ - 'node_shared_http_parser%': 'false', - 'node_shared_cares%': 'false', - 'node_shared_libuv%': 'false', -+ 'node_shared_nghttp2%': 'false', - 'node_use_openssl%': 'true', - 'node_shared_openssl%': 'false', - 'node_v8_options%': '', -@@ -177,7 +178,6 @@ - - 'dependencies': [ - 'node_js2c#host', -- 'deps/nghttp2/nghttp2.gyp:nghttp2' - ], - - 'includes': [ -@@ -187,8 +187,7 @@ - 'include_dirs': [ - 'src', - 'tools/msvs/genfiles', -- '<(SHARED_INTERMEDIATE_DIR)', # for node_natives.h -- 'deps/nghttp2/lib/includes' -+ '<(SHARED_INTERMEDIATE_DIR)' # for node_natives.h - ], - - 'sources': [ -@@ -930,6 +929,14 @@ - 'deps/uv/uv.gyp:libuv' - ] - }], -+ [ 'node_shared_nghttp2=="false"', { -+ 'dependencies': [ -+ 'deps/nghttp2/nghttp2.gyp:nghttp2' -+ ], -+ 'include_dirs': [ -+ 'deps/nghttp2/lib/includes' -+ ] -+ }], - [ 'node_use_v8_platform=="true"', { - 'dependencies': [ - 'deps/v8/src/v8.gyp:v8_libplatform', -diff --git a/node.gypi b/node.gypi -index ec78df2a339..3990c59ef98 100644 ---- a/node.gypi -+++ b/node.gypi -@@ -259,6 +259,10 @@ - [ 'node_shared_libuv=="false"', { - 'dependencies': [ 'deps/uv/uv.gyp:libuv' ], - }], -+ -+ [ 'node_shared_nghttp2=="false"', { -+ 'dependencies': [ 'deps/nghttp2/nghttp2.gyp:nghttp2' ], -+ }], - - [ 'OS=="win"', { - 'sources': [ diff --git a/net-libs/nodejs/files/nodejs-9.2.0-shared-nghttp2.patch b/net-libs/nodejs/files/nodejs-9.2.0-shared-nghttp2.patch deleted file mode 100644 index e8483ab279fb..000000000000 --- a/net-libs/nodejs/files/nodejs-9.2.0-shared-nghttp2.patch +++ /dev/null @@ -1,100 +0,0 @@ -diff --git a/configure b/configure -index 5703a70cb2d..3b6fc7347db 100755 ---- a/configure -+++ b/configure -@@ -220,6 +220,27 @@ shared_optgroup.add_option('--shared-libuv-libpath', - dest='shared_libuv_libpath', - help='a directory to search for the shared libuv DLL') - -+shared_optgroup.add_option('--shared-nghttp2', -+ action='store_true', -+ dest='shared_nghttp2', -+ help='link to a shared nghttp2 DLL instead of static linking') -+ -+shared_optgroup.add_option('--shared-nghttp2-includes', -+ action='store', -+ dest='shared_nghttp2_includes', -+ help='directory containing nghttp2 header files') -+ -+shared_optgroup.add_option('--shared-nghttp2-libname', -+ action='store', -+ dest='shared_nghttp2_libname', -+ default='nghttp2', -+ help='alternative lib name to link to [default: %default]') -+ -+shared_optgroup.add_option('--shared-nghttp2-libpath', -+ action='store', -+ dest='shared_nghttp2_libpath', -+ help='a directory to search for the shared nghttp2 DLLs') -+ - shared_optgroup.add_option('--shared-openssl', - action='store_true', - dest='shared_openssl', -@@ -1415,6 +1436,7 @@ configure_library('zlib', output) - configure_library('http_parser', output) - configure_library('libuv', output) - configure_library('libcares', output) -+configure_library('nghttp2', output) - # stay backwards compatible with shared cares builds - output['variables']['node_shared_cares'] = \ - output['variables'].pop('node_shared_libcares') -diff --git a/node.gyp b/node.gyp -index 43a6576206d..c8ba6759246 100644 ---- a/node.gyp -+++ b/node.gyp -@@ -16,6 +16,7 @@ - 'node_shared_http_parser%': 'false', - 'node_shared_cares%': 'false', - 'node_shared_libuv%': 'false', -+ 'node_shared_nghttp2%': 'false', - 'node_use_openssl%': 'true', - 'node_shared_openssl%': 'false', - 'node_v8_options%': '', -@@ -176,7 +177,6 @@ - - 'dependencies': [ - 'node_js2c#host', -- 'deps/nghttp2/nghttp2.gyp:nghttp2' - ], - - 'includes': [ -@@ -186,8 +186,7 @@ - 'include_dirs': [ - 'src', - 'tools/msvs/genfiles', -- '<(SHARED_INTERMEDIATE_DIR)', # for node_natives.h -- 'deps/nghttp2/lib/includes' -+ '<(SHARED_INTERMEDIATE_DIR)' # for node_natives.h - ], - - 'sources': [ -@@ -929,6 +928,14 @@ - 'deps/uv/uv.gyp:libuv' - ] - }], -+ [ 'node_shared_nghttp2=="false"', { -+ 'dependencies': [ -+ 'deps/nghttp2/nghttp2.gyp:nghttp2' -+ ], -+ 'include_dirs': [ -+ 'deps/nghttp2/lib/includes' -+ ] -+ }], - [ 'node_use_v8_platform=="true"', { - 'dependencies': [ - 'deps/v8/src/v8.gyp:v8_libplatform', -diff --git a/node.gypi b/node.gypi -index ec78df2a339..3990c59ef98 100644 ---- a/node.gypi -+++ b/node.gypi -@@ -133,6 +133,10 @@ - 'dependencies': [ 'deps/uv/uv.gyp:libuv' ], - }], - -+ [ 'node_shared_nghttp2=="false"', { -+ 'dependencies': [ 'deps/nghttp2/nghttp2.gyp:nghttp2' ], -+ }], -+ - [ 'OS=="mac"', { - # linking Corefoundation is needed since certain OSX debugging tools - # like Instruments require it for some features diff --git a/net-libs/nodejs/nodejs-0.12.18.ebuild b/net-libs/nodejs/nodejs-0.12.18.ebuild new file mode 100644 index 000000000000..2b8a1d203454 --- /dev/null +++ b/net-libs/nodejs/nodejs-0.12.18.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# has known failures. sigh. +RESTRICT="test" + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="threads" + +inherit pax-utils python-single-r1 toolchain-funcs + +DESCRIPTION="Evented IO for V8 Javascript" +HOMEPAGE="http://nodejs.org/" +SRC_URI="http://nodejs.org/dist/v${PV}/node-v${PV}.tar.gz" + +LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86 ~x64-macos" +IUSE="debug icu +npm +snapshot +ssl" + +RDEPEND="icu? ( dev-libs/icu ) + ${PYTHON_DEPS} + ssl? ( dev-libs/openssl:0=[-bindist] ) + >=net-libs/http-parser-2.6.1 + >=dev-libs/libuv-1.4.2" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/node-v${PV}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_prepare() { + tc-export CC CXX PKG_CONFIG + export V=1 # Verbose build + 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 + + # 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=() + local myarch="" + use debug && myconf+=( --debug ) + use icu && myconf+=( --with-intl=system-icu ) + use npm || myconf+=( --without-npm ) + use snapshot || myconf+=( --without-snapshot ) + use ssl || myconf+=( --without-ssl ) + + case ${ABI} in + x86) myarch="ia32";; + amd64) myarch="x64";; + arm) myarch="arm";; + *) die "Unrecognized ARCH ${ARCH}";; + esac + + "${PYTHON}" configure \ + --prefix="${EPREFIX}"/usr \ + --dest-cpu=${myarch} \ + --shared-openssl \ + --shared-libuv \ + --shared-http-parser \ + --shared-zlib \ + --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="${ED}" PREFIX=/usr + use npm && dodoc -r "${LIBDIR}"/node_modules/npm/html + rm -rf "${LIBDIR}"/node_modules/npm/{doc,html} || die + find "${LIBDIR}"/node_modules -type f -name "LICENSE*" -or -name "LICENCE*" -delete + + # set up a symlink structure that npm 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 + + pax-mark -m "${ED}"/usr/bin/node +} + +src_test() { + declare -xl TESTTYPE="${BUILDTYPE}" + "${PYTHON}" tools/test.py --mode=${TESTTYPE} -J message simple || die +} + +pkg_postinst() { + einfo "When using node-gyp to install native modules, you can avoid" + einfo "having to download the full tarball by doing the following:" + einfo "" + einfo "node-gyp --nodedir /usr/include/node <command>" +} diff --git a/net-libs/nodejs/nodejs-4.8.7.ebuild b/net-libs/nodejs/nodejs-4.8.7.ebuild new file mode 100644 index 000000000000..2d8146e4c393 --- /dev/null +++ b/net-libs/nodejs/nodejs-4.8.7.ebuild @@ -0,0 +1,143 @@ +# 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 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 ~ppc64 ~x86 ~x64-macos" +IUSE="cpu_flags_x86_sse2 debug icu +npm snapshot +ssl test" + +RDEPEND="icu? ( >=dev-libs/icu-55:= ) + npm? ( ${PYTHON_DEPS} ) + >=net-libs/http-parser-2.5.2:= + >=dev-libs/libuv-1.8.0:= + >=dev-libs/openssl-1.0.2g:0=[-bindist] + sys-libs/zlib" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + test? ( net-misc/curl )" + +S="${WORKDIR}/node-v${PV}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +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 # Verbose build + 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 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 npm || myconf+=( --without-npm ) + use icu && myconf+=( --with-intl=system-icu ) + use snapshot && myconf+=( --with-snapshot ) + use ssl || myconf+=( --without-ssl ) + use debug && myconf+=( --debug ) + + case ${ABI} in + amd64) myarch="x64";; + arm) myarch="arm";; + arm64) myarch="arm64";; + ppc64) myarch="ppc64";; + x32) myarch="x32";; + x86) myarch="ia32";; + *) die "Unrecognized ARCH ${ARCH}";; + 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="${ED}" PREFIX=/usr + if use npm; then + dodoc -r "${LIBDIR}"/node_modules/npm/html + rm -rf "${LIBDIR}"/node_modules/npm/{doc,html} || die + find "${LIBDIR}"/node_modules -type f -name "LICENSE*" -or -name "LICENCE*" -delete || die + fi + + # set up a symlink structure that npm 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 + + pax-mark -m "${ED}"/usr/bin/node +} + +src_test() { + out/${BUILDTYPE}/cctest || die + "${PYTHON}" tools/test.py --mode=${BUILDTYPE,,} -J message parallel sequential || die +} + +pkg_postinst() { + einfo "When using node-gyp to install native modules, you can avoid" + einfo "having to download the full tarball by doing the following:" + einfo "" + einfo "node-gyp --nodedir /usr/include/node <command>" +} diff --git a/net-libs/nodejs/nodejs-6.12.2.ebuild b/net-libs/nodejs/nodejs-6.12.3.ebuild index d4deaf929b2d..ab8e2550ebd3 100644 --- a/net-libs/nodejs/nodejs-6.12.2.ebuild +++ b/net-libs/nodejs/nodejs-6.12.3.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 diff --git a/net-libs/nodejs/nodejs-8.9.3.ebuild b/net-libs/nodejs/nodejs-8.9.4.ebuild index dac3eab7cd80..8adc5609710a 100644 --- a/net-libs/nodejs/nodejs-8.9.3.ebuild +++ b/net-libs/nodejs/nodejs-8.9.4.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 @@ -39,7 +39,6 @@ S="${WORKDIR}/node-v${PV}" PATCHES=( "${FILESDIR}"/gentoo-global-npm-config.patch - "${FILESDIR}"/nodejs-8.9.0-shared-nghttp2.patch ) pkg_pretend() { diff --git a/net-libs/nodejs/nodejs-9.2.1.ebuild b/net-libs/nodejs/nodejs-9.2.1.ebuild deleted file mode 100644 index 782c12252046..000000000000 --- a/net-libs/nodejs/nodejs-9.2.1.ebuild +++ /dev/null @@ -1,203 +0,0 @@ -# Copyright 1999-2017 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.16.1:= - >=net-libs/http-parser-2.7.0:= - >=net-libs/nghttp2-1.25.0 - sys-libs/zlib - icu? ( >=dev-libs/icu-59:= ) - npm? ( ${PYTHON_DEPS} ) - ssl? ( >=dev-libs/openssl-1.0.2g: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 - "${FILESDIR}"/nodejs-9.2.0-shared-nghttp2.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 <command>" -} |