diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-09 16:53:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-09 16:53:27 +0000 |
commit | 80208fb578cf92cc308906660ca6d7860c6b2a1f (patch) | |
tree | 6f06818031b553c506fc10dfe9908a835df288aa /dev-libs/nss | |
parent | 06a7b5647e11a8ddf69b1c3d3ded6a8ba28b923e (diff) |
gentoo resync : 09.03.2018
Diffstat (limited to 'dev-libs/nss')
-rw-r--r-- | dev-libs/nss/Manifest | 9 | ||||
-rw-r--r-- | dev-libs/nss/files/nss-3.35-Hacl_Poly1305_64-aarch64.patch | 36 | ||||
-rw-r--r-- | dev-libs/nss/nss-3.29.5.ebuild | 4 | ||||
-rw-r--r-- | dev-libs/nss/nss-3.35.ebuild | 3 | ||||
-rw-r--r-- | dev-libs/nss/nss-3.36.ebuild (renamed from dev-libs/nss/nss-3.34.1.ebuild) | 66 |
5 files changed, 94 insertions, 24 deletions
diff --git a/dev-libs/nss/Manifest b/dev-libs/nss/Manifest index 565af6fd6f3a..29bda8ccc8e2 100644 --- a/dev-libs/nss/Manifest +++ b/dev-libs/nss/Manifest @@ -3,12 +3,13 @@ AUX nss-3.21-gentoo-fixup-warnings.patch 178 BLAKE2B b51f80310db3db416d8aeaf9117 AUX nss-3.23-hppa-byte_order.patch 460 BLAKE2B 97358cc8fbea0b0d3beee0697833e48ef01039ceb08fd00792a7f7ef68409eb076022c03764ab079fdaa971a0358130002fa11c0c182ebeb33dcdf660be26408 SHA512 ad0097bb6cf409d61eb28202d7460c87e983d6db977aba38ff9ef2749b3f7bb8fdadce4174f5bf806350ae33733097a1f444792d31cc43574b28341893642e5a AUX nss-3.28-gentoo-fixups.patch 5310 BLAKE2B 5f173bc4bba374c8233945293e8e944c5fc9068c71d1242bcfbac37d0c020a09cb6a0ef3f54994003fc58364285f86f08017762c0c196aa6ab03fca91ea6c631 SHA512 22fe711d4e59c41f8208b4e85eb101eb6cdd4ad43d83438841b94a57219eeb182c527be1a97bf58df25672fe027aaebeab7458da2bebafef7254c68b94c7b98c AUX nss-3.32-gentoo-fixups.patch 6443 BLAKE2B cfe0380832776b7e51f95f800e70436622332d90f61b6b75fcd5474faaf722342ab157694be26881acfae3baceb6d2fdcfabc0c7673101abedfe1667d3821e6f SHA512 36a6db836ab9210e8201a3987229cf18a6b1fe5adeb0d82037f9641da72e6280807123b18fc74d344c680751b04f883bc402cd1c505783c77f00f9962338da03 +AUX nss-3.35-Hacl_Poly1305_64-aarch64.patch 1131 BLAKE2B b2d9513a71011e7498a01be654c2b43ebf466158c1cc9cbcc9d5f01a48c94023a8175285c312c228131517de28bb82f436b91f332ddf3911a2a2505790aa658e SHA512 2cdcfbc223e29fb9b68237ebd7112c8121b597bd6ba77ba19045afb771dce148a39b4acc2038e17f61268462dfa9852c007d110430b5eb759f3d7ac7f0700be8 DIST nss-3.29.5.tar.gz 7480246 BLAKE2B 9ab16cbbd95aa31358b5b686bee64cd81c8343524dad8aac084f7c86883f1eaead78912dc1021b0461d027b0085356c4b7156f1d80010c3a0ece29d542deef50 SHA512 ce18bc7e793d2b3698db412b2e5fcabbfd9862eca3def120d5e44bc67276526bff6b33ffa84b8128f8af6d35101000e6f7bb24194f63a55461b3c245fac11faa -DIST nss-3.34.1.tar.gz 9562876 BLAKE2B 645fe06435dffa1a0dec688c7c10854dbd664e719889b36027dc2e52c4f585c2ce7bdcd947dcf5d938013246405c04e1b9dbd802b229e0acc96fc07f321bb51a SHA512 6cc4826df4202e865e903a2ed05b49f708a047347b7b4d58f9b83ed097115a128239c4596a033ddeb9ee3fbfe6345a024e11eacb6149bce2d71fbe82c0a41c63 DIST nss-3.35.tar.gz 9620041 BLAKE2B a4115117ff017ce36f030d9f69c75111177166651968739353d112cc5d2c4732b33b8c684c5957a66bb969ecab1a15fb2cd6bb237d959d307cdee43ec638cd73 SHA512 8d466f4602427d278b6aa28af0e6bdb99326fc40c94ac6d517d1cbe7ce6b9332dadba52ea092762fac2fd6e72f17cb880cf81e1cf86bf6b4f7913a755419626d +DIST nss-3.36.tar.gz 23025578 BLAKE2B c8dd8a4c2bcda15bfeab4e7b49e790aaa2ecc3021ab014ca4e7b9253cad2ce140bf719cc336ce74d5074722c63d5a73d4a4e75792aa779b008d635a765e0c5b8 SHA512 e4d5cc475f1fcca9a42a139a890b70dbc3fadf5ed8a626c8d6bf929a97bb91ca9a42fe967df95784e5d997a3ec5c5a87684256ddf91b8dafa827103a98ad39ae DIST nss-cacert-class1-class3.patch 22950 BLAKE2B 9d5e60df5f161a3c27c41e5a9419440a54f888eda454e3cde5ebe626d4075b65cf9938b5144d0fb022377f4bd415bff5e5c67d104409860aa9391b3eb8872c68 SHA512 a5aa740bf110a3f0262e3f1ef2fc739ac2b44f042e220039d48aee8e97cd764d5c10718220364f4098aba955882bd02cadb5481512388971a8290312f88a7df0 DIST nss-pem-20160329.tar.xz 27732 BLAKE2B 7c23133a7bfb969d8eac98fb6311e76ab60c5d6601c7329f3c492da30c017e66d64a1f8bc827dd36e52e65c1a1ec02b58816442aaf410345c5ed759a02264b84 SHA512 5834b06e4c64205447573d4f4c8989e20986ae67ee00eebce3817eb73794a6355a404143ba1c676ec302ceefaf9df103cb879b1d4ff14ba4e3790dbee3e40eb2 -EBUILD nss-3.29.5.ebuild 9320 BLAKE2B 9efb861a612638641a9a763c122c64615f9df5111b36e00b93efb0956c3a06bff0a9506af25c2447f59dce52efd9d562cb69422af5e0ca97986fa3b25b2cd225 SHA512 d1a5b4fa05f1c16a04a6890bf9c4796e893d0b8772dd33fe6983a1ceed803efd06f4e260f43c29c58a19119693523bba7145b0ef60aced0a6652f6ad03b94b3d -EBUILD nss-3.34.1.ebuild 9309 BLAKE2B e52007beaa50881f42714e45fbd5abc15a4824a384589bdbf5866165e2447a453826159f4291e0bc07b19d26c53fbaa7b633f19bc484cf553b1f7cf9e66f7240 SHA512 3b5102b8d5be89d4f6ffb38876010408c9dafd81f47cf29fda6bbce431e29e719e952266c75a161ec742d242a3cb62ab89b837e3e2303e463dea73381e0edd7e -EBUILD nss-3.35.ebuild 9191 BLAKE2B a6a591105620b16bcfc6be59fc116b366545c16bac3d78594bc6fccffa121a9127404d08870c4043e744fcb9cdf7ba2d37ae3a8bcf848ee3dfc237e0467d1305 SHA512 cc3f1c7ef756fdc7d4b568a037c50764dbfd404dd91ce0e6399e75f6d9a904545280ddc523621eaf2a04ada06f476c33aa57c165ed2c4c8522b58fd2236a7dc9 +EBUILD nss-3.29.5.ebuild 9319 BLAKE2B ef47b459596ad30812bd5406f6018ababd27e60465694055e47eedaa15245cc1dd253dbdcfcfebd13b067b72dba269440dc17cecb95c64ccfe17f4b486611a47 SHA512 73baba97dffce92ac3ff095915a853e1990788a9708f146a6894b2b8af103b205a86a70faa8e33657103754a84f85fba3d33fb1629f8f236847f898cc4320383 +EBUILD nss-3.35.ebuild 9325 BLAKE2B 09feffcecd656a0bc5daf5fb82e7fc652395e7818dec87c16ca9168e12a4e518c07b57f415343b9851fe4f35fb7f5af00926ab2fe20d910ba0999cc3e7e72bd1 SHA512 bc0b18f5be63f4a962d718df4d33c473fbf26a42aef93fa7cf218da0f9af093687dd5f6e0a25cbc0ea473263be7aa251fb0dae62f78228932a8ab8efd19814c4 +EBUILD nss-3.36.ebuild 9409 BLAKE2B 1237a888c2963265d24ce55098f798b625c5001011e01e3a314d5d5e82731fab13d2f014151b2ea1ff72babe48bcf6421231fca4bfee09ae4d3acad65c7137cd SHA512 42bd45017652f77a52052cd06c871cc769b1d453c2720ec48c5b0474e498c48af7926e5c089ef5244ad3a1470050cc1872cbb714a6c63d66ba88a0470230bc7e MISC metadata.xml 571 BLAKE2B 8c1d2f92910d9170240f17b28ac806d3c083fce45637526d0846ddcf0e957483fc458a4de14f239c433990f91a8996ea0be51f445a54a1a1f6a14c1f711654a3 SHA512 f6a7de1614f3bdbdea2d5ae627d82519c59e3703f293daefd9dc4692f84c3f0bc3000654b6a4fe595de95b433e698aaf1d3358897e22da283eb63b74a48d95b0 diff --git a/dev-libs/nss/files/nss-3.35-Hacl_Poly1305_64-aarch64.patch b/dev-libs/nss/files/nss-3.35-Hacl_Poly1305_64-aarch64.patch new file mode 100644 index 000000000000..c05d103e25ba --- /dev/null +++ b/dev-libs/nss/files/nss-3.35-Hacl_Poly1305_64-aarch64.patch @@ -0,0 +1,36 @@ + +# HG changeset patch +# User Daiki Ueno <dueno@redhat.com> +# Date 1516710574 -3600 +# Node ID 74e679158d1bfe05c173e995ae7dc5a05ae02fe0 +# Parent b3feffd76f4714139f72369f82b28619a704dbd6 +Bug 1432455, Build Hacl_Poly1305_64.o on AArch64 even with make, r=fkiefer + +diff --git a/lib/freebl/Makefile b/lib/freebl/Makefile +--- a/lib/freebl/Makefile ++++ b/lib/freebl/Makefile +@@ -522,17 +522,22 @@ ifndef NSS_DISABLE_CHACHAPOLY + + ifneq (1,$(CC_IS_GCC)) + EXTRA_SRCS += chacha20.c + VERIFIED_SRCS += Hacl_Chacha20.c + else + EXTRA_SRCS += chacha20_vec.c + endif + else +- EXTRA_SRCS += poly1305.c ++ ifeq ($(CPU_ARCH),aarch64) ++ EXTRA_SRCS += Hacl_Poly1305_64.c ++ else ++ EXTRA_SRCS += poly1305.c ++ endif ++ + EXTRA_SRCS += chacha20.c + VERIFIED_SRCS += Hacl_Chacha20.c + endif # x86_64 + endif # NSS_DISABLE_CHACHAPOLY + + ifeq (,$(filter-out i386 x386 x86 x86_64 aarch64,$(CPU_ARCH))) + # All intel architectures get the 64 bit version + # With custom uint128 if necessary (faster than generic 32 bit version). + diff --git a/dev-libs/nss/nss-3.29.5.ebuild b/dev-libs/nss/nss-3.29.5.ebuild index fa3eb33292fb..f2e16e8523fe 100644 --- a/dev-libs/nss/nss-3.29.5.ebuild +++ b/dev-libs/nss/nss-3.29.5.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 @@ -19,7 +19,7 @@ SRC_URI="https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/$ LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )" SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cacert +nss-pem utils" CDEPEND=">=dev-db/sqlite-3.8.2[${MULTILIB_USEDEP}] >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]" diff --git a/dev-libs/nss/nss-3.35.ebuild b/dev-libs/nss/nss-3.35.ebuild index d21c8184ed40..dac240facdf1 100644 --- a/dev-libs/nss/nss-3.35.ebuild +++ b/dev-libs/nss/nss-3.35.ebuild @@ -63,6 +63,9 @@ src_prepare() { "${DISTDIR}/${PN}-cacert-class1-class3.patch" ) fi + # bug 646382 + # https://bugzilla.mozilla.org/show_bug.cgi?id=1432455 + PATCHES+=( "${FILESDIR}"/${P}-Hacl_Poly1305_64-aarch64.patch ) default diff --git a/dev-libs/nss/nss-3.34.1.ebuild b/dev-libs/nss/nss-3.36.ebuild index 2932e76b9fb3..e98eac88ca8c 100644 --- a/dev-libs/nss/nss-3.34.1.ebuild +++ b/dev-libs/nss/nss-3.36.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 @@ -28,10 +28,7 @@ DEPEND=">=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] ${CDEPEND}" RDEPEND=">=dev-libs/nspr-${NSPR_VER}[${MULTILIB_USEDEP}] ${CDEPEND} - abi_x86_32? ( - !<=app-emulation/emul-linux-x86-baselibs-20140508-r12 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] - )" +" RESTRICT="test" @@ -255,23 +252,23 @@ multilib_src_install() { pushd dist >/dev/null || die dodir /usr/$(get_libdir) - cp -L */lib/*$(get_libname) "${ED}"/usr/$(get_libdir) || die "copying shared libs failed" + cp -L */lib/*$(get_libname) "${ED%/}"/usr/$(get_libdir) || die "copying shared libs failed" local i for i in crmf freebl nssb nssckfw ; do - cp -L */lib/lib${i}.a "${ED}"/usr/$(get_libdir) || die "copying libs failed" + cp -L */lib/lib${i}.a "${ED%/}"/usr/$(get_libdir) || die "copying libs failed" done # Install nss-config and pkgconfig file dodir /usr/bin - cp -L */bin/nss-config "${ED}"/usr/bin || die + cp -L */bin/nss-config "${ED%/}"/usr/bin || die dodir /usr/$(get_libdir)/pkgconfig - cp -L */lib/pkgconfig/nss.pc "${ED}"/usr/$(get_libdir)/pkgconfig || die + cp -L */lib/pkgconfig/nss.pc "${ED%/}"/usr/$(get_libdir)/pkgconfig || die # create an nss-softokn.pc from nss.pc for libfreebl and some private headers # bug 517266 sed -e 's#Libs:#Libs: -lfreebl#' \ -e 's#Cflags:#Cflags: -I${includedir}/private#' \ - */lib/pkgconfig/nss.pc >"${ED}"/usr/$(get_libdir)/pkgconfig/nss-softokn.pc \ + */lib/pkgconfig/nss.pc >"${ED%/}"/usr/$(get_libdir)/pkgconfig/nss-softokn.pc \ || die "could not create nss-softokn.pc" # all the include files @@ -284,7 +281,7 @@ multilib_src_install() { local f nssutils # Always enabled because we need it for chk generation. - nssutils="shlibsign" + nssutils=( shlibsign ) if multilib_is_native_abi ; then if use utils; then @@ -294,16 +291,49 @@ multilib_src_install() { # checkcert utils has been removed in nss-3.22: # https://bugzilla.mozilla.org/show_bug.cgi?id=1187545 # https://hg.mozilla.org/projects/nss/rev/df1729d37870 - nssutils="addbuiltin atob baddbdir btoa certcgi certutil - cmsutil conflict crlutil derdump digest makepqg mangle modutil multinit - nonspr10 ocspclnt oidcalc p7content p7env p7sign p7verify pk11mode - pk12util pp rsaperf selfserv shlibsign signtool signver ssltap strsclnt - symkeyutil tstclnt vfychain vfyserv" + # certcgi has been removed in nss-3.36: + # https://bugzilla.mozilla.org/show_bug.cgi?id=1426602 + nssutils+=( + addbuiltin + atob + baddbdir + btoa + certutil + cmsutil + conflict + crlutil + derdump + digest + makepqg + mangle + modutil + multinit + nonspr10 + ocspclnt + oidcalc + p7content + p7env + p7sign + p7verify + pk11mode + pk12util + pp + rsaperf + selfserv + signtool + signver + ssltap + strsclnt + symkeyutil + tstclnt + vfychain + vfyserv + ) # install man-pages for utils (bug #516810) doman doc/nroff/*.1 fi pushd dist/*/bin >/dev/null || die - for f in ${nssutils}; do + for f in ${nssutils[@]}; do dobin ${f} done popd >/dev/null || die @@ -313,7 +343,7 @@ multilib_src_install() { # shlibsign after prelink. dodir /etc/prelink.conf.d printf -- "-b ${EPREFIX}/usr/$(get_libdir)/lib%s.so\n" ${NSS_CHK_SIGN_LIBS} \ - > "${ED}"/etc/prelink.conf.d/nss.conf + > "${ED%/}"/etc/prelink.conf.d/nss.conf } pkg_postinst() { |