From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BCB051396D1 for ; Sat, 7 Oct 2017 08:22:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0E8FCE0ED2; Sat, 7 Oct 2017 08:22:54 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D47EEE0ECC for ; Sat, 7 Oct 2017 08:22:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6203D34085A for ; Sat, 7 Oct 2017 08:22:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EFD679096 for ; Sat, 7 Oct 2017 08:22:50 +0000 (UTC) From: "Alon Bar-Lev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alon Bar-Lev" Message-ID: <1507364498.56e280599eeb59efbb7b5cc35571b100df511337.alonbl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libtasn1/files/, dev-libs/libtasn1/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libtasn1/Manifest dev-libs/libtasn1/files/libtasn1-4.10-asn1_find_node.patch dev-libs/libtasn1/libtasn1-4.10-r1.ebuild dev-libs/libtasn1/libtasn1-4.10-r2.ebuild dev-libs/libtasn1/libtasn1-4.12.ebuild X-VCS-Directories: dev-libs/libtasn1/ dev-libs/libtasn1/files/ X-VCS-Committer: alonbl X-VCS-Committer-Name: Alon Bar-Lev X-VCS-Revision: 56e280599eeb59efbb7b5cc35571b100df511337 X-VCS-Branch: master Date: Sat, 7 Oct 2017 08:22:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7701ee20-da47-4d6b-967b-dbabb1721d9d X-Archives-Hash: 71c51bf13428957623dba34986eac196 commit: 56e280599eeb59efbb7b5cc35571b100df511337 Author: Alon Bar-Lev gentoo org> AuthorDate: Sat Oct 7 07:36:46 2017 +0000 Commit: Alon Bar-Lev gentoo org> CommitDate: Sat Oct 7 08:21:38 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56e28059 dev-libs/libtasn1: cleanup Package-Manager: Portage-2.3.8, Repoman-2.3.3 dev-libs/libtasn1/Manifest | 1 - .../files/libtasn1-4.10-asn1_find_node.patch | 43 ----------------- dev-libs/libtasn1/libtasn1-4.10-r1.ebuild | 50 -------------------- dev-libs/libtasn1/libtasn1-4.10-r2.ebuild | 54 ---------------------- dev-libs/libtasn1/libtasn1-4.12.ebuild | 50 -------------------- 5 files changed, 198 deletions(-) diff --git a/dev-libs/libtasn1/Manifest b/dev-libs/libtasn1/Manifest index fa2afc43972..fcab671419a 100644 --- a/dev-libs/libtasn1/Manifest +++ b/dev-libs/libtasn1/Manifest @@ -1,2 +1 @@ -DIST libtasn1-4.10.tar.gz 1887057 SHA256 681a4d9a0d259f2125713f2e5766c5809f151b3a1392fd91390f780b4b8f5a02 SHA512 614e93128e6be8f46a2ad46e2a515e2edfb1f5a2e90c9e5da02d3afc0a882dc956632dd2b1eddd6b0e258e7b58a82d5d745d8ccd23120d94bb0af48132ed1a18 WHIRLPOOL 3f7bf6ba72006b22d126546e5f683d5bb8e758e4a919deac5d319d520175f7805a0c922561967bc7708ac1838ae1ccfa0da829b818705434eb46406e8a0ff1f1 DIST libtasn1-4.12.tar.gz 1888450 SHA256 6753da2e621257f33f5b051cc114d417e5206a0818fe0b1ecfd6153f70934753 SHA512 6c551670949881193e39122f72948e4999ff1ba377f9ee5963d0a4ad1b84256e4fe42e9f6d6a2aa9f7d4ef7acc0e5174fb5cc3df5298524cdeda92f4b8c104f7 WHIRLPOOL a2f29dbfb59bb2cbe5d533647028c9418b2b4871b67f7367757ebf4c706eab2b1bac8d5645784899bb85e9611a28f693655c1ff857c984109c0719a6f5dd78a5 diff --git a/dev-libs/libtasn1/files/libtasn1-4.10-asn1_find_node.patch b/dev-libs/libtasn1/files/libtasn1-4.10-asn1_find_node.patch deleted file mode 100644 index b57eb2f25a2..00000000000 --- a/dev-libs/libtasn1/files/libtasn1-4.10-asn1_find_node.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 5520704d075802df25ce4ffccc010ba1641bd484 Mon Sep 17 00:00:00 2001 -From: Nikos Mavrogiannopoulos -Date: Thu, 18 May 2017 18:03:34 +0200 -Subject: [PATCH] asn1_find_node: added safety check on asn1_find_node() - -This prevents a stack overflow in asn1_find_node() which -is triggered by too long variable names in the definitions -files. That means that applications have to deliberately -pass a too long 'name' constant to asn1_write_value() -and friends. Reported by Jakub Jirasek. - -Signed-off-by: Nikos Mavrogiannopoulos ---- - lib/parser_aux.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/lib/parser_aux.c b/lib/parser_aux.c -index b4a7370..976ab38 100644 ---- a/lib/parser_aux.c -+++ b/lib/parser_aux.c -@@ -120,6 +120,9 @@ asn1_find_node (asn1_node pointer, const char *name) - if (n_end) - { - nsize = n_end - n_start; -+ if (nsize >= sizeof(n)) -+ return NULL; -+ - memcpy (n, n_start, nsize); - n[nsize] = 0; - n_start = n_end; -@@ -158,6 +161,9 @@ asn1_find_node (asn1_node pointer, const char *name) - if (n_end) - { - nsize = n_end - n_start; -+ if (nsize >= sizeof(n)) -+ return NULL; -+ - memcpy (n, n_start, nsize); - n[nsize] = 0; - n_start = n_end; --- -libgit2 0.25.0 - diff --git a/dev-libs/libtasn1/libtasn1-4.10-r1.ebuild b/dev-libs/libtasn1/libtasn1-4.10-r1.ebuild deleted file mode 100644 index 722fc677010..00000000000 --- a/dev-libs/libtasn1/libtasn1-4.10-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit multilib-minimal libtool - -DESCRIPTION="ASN.1 library" -HOMEPAGE="https://www.gnu.org/software/libtasn1/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" - -LICENSE="GPL-3 LGPL-2.1" -SLOT="0/6" # subslot = libtasn1 soname version -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc static-libs valgrind" - -DEPEND=">=dev-lang/perl-5.6 - sys-apps/help2man - virtual/yacc" -RDEPEND=" - valgrind? ( dev-util/valgrind ) - abi_x86_32? ( - !<=app-emulation/emul-linux-x86-baselibs-20131008-r16 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] - )" - -DOCS=( AUTHORS ChangeLog NEWS README THANKS ) - -pkg_setup() { - if use doc; then - DOCS+=( doc/libtasn1.pdf ) - HTML_DOCS=( doc/reference/html/. ) - fi -} - -src_prepare() { - default - elibtoolize # for Solaris shared library -} - -multilib_src_configure() { - ECONF_SOURCE="${S}" econf \ - $(use_enable static-libs static) \ - $(multilib_native_use_enable valgrind valgrind-tests) -} - -multilib_src_install_all() { - einstalldocs - use static-libs || find "${ED}" -name '*.la' -delete -} diff --git a/dev-libs/libtasn1/libtasn1-4.10-r2.ebuild b/dev-libs/libtasn1/libtasn1-4.10-r2.ebuild deleted file mode 100644 index 8745880e30d..00000000000 --- a/dev-libs/libtasn1/libtasn1-4.10-r2.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit multilib-minimal libtool - -DESCRIPTION="ASN.1 library" -HOMEPAGE="https://www.gnu.org/software/libtasn1/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" - -LICENSE="GPL-3 LGPL-2.1" -SLOT="0/6" # subslot = libtasn1 soname version -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc static-libs valgrind" - -DEPEND=">=dev-lang/perl-5.6 - sys-apps/help2man - virtual/yacc" -RDEPEND=" - valgrind? ( dev-util/valgrind ) - abi_x86_32? ( - !<=app-emulation/emul-linux-x86-baselibs-20131008-r16 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] - )" - -DOCS=( AUTHORS ChangeLog NEWS README THANKS ) - -PATCHES=( - "${FILESDIR}/${P}-asn1_find_node.patch" -) - -pkg_setup() { - if use doc; then - DOCS+=( doc/libtasn1.pdf ) - HTML_DOCS=( doc/reference/html/. ) - fi -} - -src_prepare() { - default - elibtoolize # for Solaris shared library -} - -multilib_src_configure() { - ECONF_SOURCE="${S}" econf \ - $(use_enable static-libs static) \ - $(multilib_native_use_enable valgrind valgrind-tests) -} - -multilib_src_install_all() { - einstalldocs - use static-libs || find "${ED}" -name '*.la' -delete -} diff --git a/dev-libs/libtasn1/libtasn1-4.12.ebuild b/dev-libs/libtasn1/libtasn1-4.12.ebuild deleted file mode 100644 index 24aca51c0e8..00000000000 --- a/dev-libs/libtasn1/libtasn1-4.12.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit multilib-minimal libtool - -DESCRIPTION="ASN.1 library" -HOMEPAGE="https://www.gnu.org/software/libtasn1/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" - -LICENSE="GPL-3 LGPL-2.1" -SLOT="0/6" # subslot = libtasn1 soname version -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc static-libs valgrind" - -DEPEND=">=dev-lang/perl-5.6 - sys-apps/help2man - virtual/yacc" -RDEPEND=" - valgrind? ( dev-util/valgrind ) - abi_x86_32? ( - !<=app-emulation/emul-linux-x86-baselibs-20131008-r16 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] - )" - -DOCS=( AUTHORS ChangeLog NEWS README THANKS ) - -pkg_setup() { - if use doc; then - DOCS+=( doc/libtasn1.pdf ) - HTML_DOCS=( doc/reference/html/. ) - fi -} - -src_prepare() { - default - elibtoolize # for Solaris shared library -} - -multilib_src_configure() { - ECONF_SOURCE="${S}" econf \ - $(use_enable static-libs static) \ - $(multilib_native_use_enable valgrind valgrind-tests) -} - -multilib_src_install_all() { - einstalldocs - use static-libs || find "${ED}" -name '*.la' -delete -}