bump(sys-libs/binutils-libs): sync with upstream

This commit is contained in:
Nick Owens 2016-05-03 16:52:07 -07:00
parent 2c295e6a95
commit 62d999dc27
5 changed files with 221 additions and 0 deletions

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=compile configure install prepare test
DEPEND=zlib? ( sys-libs/zlib[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) nls? ( sys-devel/gettext )
DESCRIPTION=Core binutils libraries (libbfd, libopcodes, libiberty) for external packages
EAPI=5
HOMEPAGE=https://sourceware.org/binutils/
IUSE=64-bit-bfd multitarget nls static-libs zlib abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd -sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=|| ( GPL-3 LGPL-3 )
RDEPEND=zlib? ( sys-libs/zlib[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) >=sys-devel/binutils-config-5 nls? ( !<sys-devel/gdb-7.10-r1[nls] )
SLOT=0/2.25.1
SRC_URI=mirror://gnu/binutils/binutils-2.25.1.tar.bz2 mirror://gentoo/binutils-2.25.1-patches-1.1.tar.xz
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
_md5_=2a2bb9a977fb2d30efbda50cac3269d2

View File

@ -0,0 +1,96 @@
# ChangeLog for sys-libs/binutils-libs
# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
# (auto-generated from git log)
*binutils-libs-2.25.1 (26 Sep 2015)
26 Sep 2015; Mike Frysinger <vapier@gentoo.org>
+binutils-libs-2.25.1.ebuild, +metadata.xml:
new package #528088
Since packages want to link against binutils libs (bfd/opcodes) and
properly track updates when the binutils SONAMEs change, split the
libs out into a dedicated package. This way we can continue with
the multi-SLOT-ed binutils package w/out making the library users
go crazy.
*binutils-libs-2.25.1-r1 (29 Sep 2015)
29 Sep 2015; Mike Frysinger <vapier@gentoo.org>
-binutils-libs-2.25.1.ebuild, +binutils-libs-2.25.1-r1.ebuild:
add multilib support #558902
29 Sep 2015; Mike Frysinger <vapier@gentoo.org>
binutils-libs-2.25.1-r1.ebuild:
add MULTILIB_USEDEP to zlib dep
01 Oct 2015; Michał Górny <mgorny@gentoo.org>
binutils-libs-2.25.1-r1.ebuild:
Fix cross-ABI header mismatch
Fixes: https://bugs.gentoo.org/show_bug.cgi?id=561918
Package-Manager: portage-2.2.20
*binutils-libs-2.25.1-r2 (23 Nov 2015)
23 Nov 2015; Mike Frysinger <vapier@gentoo.org>
-binutils-libs-2.25.1-r1.ebuild, +binutils-libs-2.25.1-r2.ebuild,
metadata.xml:
sys-devel/binutils-libs: add multitarget & 64-bit bfd support
Some tools might want multitarget/64-bit bfd support,
so add flags to control support for these options.
23 Nov 2015; Mike Frysinger <vapier@gentoo.org> metadata.xml:
clarify USE=64-bit-bfd behavior on 64-bit hosts #566636
15 Dec 2015; Fabian Groffen <grobian@gentoo.org>
binutils-libs-2.25.1-r2.ebuild:
marked *-macos, *-solaris
Package-Manager: portage-2.2.20-prefix
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
Unify quoting in metadata.xml files for machine processing
Force unified quoting in all metadata.xml files since lxml does not
preserve original use of single and double quotes. Ensuring unified
quoting before the process allows distinguishing the GLEP 67-related
metadata.xml changes from unrelated quoting changes.
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
Replace all herds with appropriate projects (GLEP 67)
Replace all uses of herd with appropriate project maintainers, or no
maintainers in case of herds requested to be disbanded.
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
Set appropriate maintainer types in metadata.xml (GLEP 67)
15 Mar 2016; Agostino Sarubbo <ago@gentoo.org>
binutils-libs-2.25.1-r2.ebuild:
amd64 stable wrt bug #564174
Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
24 Mar 2016; Markus Meier <maekke@gentoo.org>
binutils-libs-2.25.1-r2.ebuild:
arm stable, bug #564174
Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="arm"
03 Apr 2016; Mike Frysinger <vapier@gentoo.org>
binutils-libs-2.25.1-r2.ebuild:
mark 2.25.1-r2 alpha/arm64/hppa/ia64/m68k/ppc/ppc64/s390/sh/sparc/x86 stable
#564174
03 Apr 2016; Alexey Shvetsov <alexxy@gentoo.org>
binutils-libs-2.25.1-r2.ebuild:
works on prefix
Package-Manager: portage-2.2.28

View File

@ -0,0 +1,5 @@
DIST binutils-2.25.1-patches-1.1.tar.xz 18724 SHA256 3d4c0ab2d45d3a952f60246fa5a4353f057c03110130b50e3b2103bd49c345fa SHA512 209c55bf26b51d8c513b40abd2d95f687159c4e964a6c732924f277d04c97323c427fe452c63d5ec6962dcd8892d6d5d807ba88826739425bce6812a31f573dd WHIRLPOOL 2b650af352183d2b58abaee955b223606d63bd5f22a73360e79af1d3b575c5ea385f90be92348ec850534d96f7b6632b1e494f314ec1655eedc26108e849aab7
DIST binutils-2.25.1.tar.bz2 24163561 SHA256 b5b14added7d78a8d1ca70b5cb75fef57ce2197264f4f5835326b0df22ac9f22 SHA512 0b36dda0e6d32cd25613c0e64b56b28312515c54d6a159efd3db9a86717f114ab0a0a1f69d08975084d55713ebaeab64e4085c9b3d1c3fa86712869f80eb954d WHIRLPOOL daa804331ee880296c2fe29fd9b8a52cc695629d4bbe0b9889d96ffc54d330f00fac3f3cb12b3aaf6b7505521ef499c53760912cd7c9bb54f2d5e288224bd1eb
EBUILD binutils-libs-2.25.1-r2.ebuild 2744 SHA256 fbe252a0652635aa6ea1be59964b7f9631193dd31da846d70656c5a25626bbf9 SHA512 143e343bc3b84acc2cde0c2d7b6f457d50d037c4c2a5d909f8cf6d9f7063c3a43824db7efde170d65c0eba9da4cb29070f66f906a934b55f819866d86277403d WHIRLPOOL ab635a5e063b80d077a3811d151cad9679b60ec47e4b4d3e8efe4379e13a48cca75bfbe1bc0a8b7d521a4da8119f8f248ddbf5f53812d641e32686a40c237c4f
MISC ChangeLog 3244 SHA256 14742245da6390b1a107f152089eecb829bef841e0fedb627623b80921757c1c SHA512 3692b67c9f620038cce9f6a849791310d93b6ed0719d5f9a24e84f8be6c7294736f78ac8466214dfd77759303517eff52313723957531244e23b19aa79c9a00d WHIRLPOOL 6db45aea19a9889c3f3a6a3272576688fa922932205be88837102a02e5726e289813e1e17a2ca7c27773033cc8fd8bb78d1eab552baee3e79d7f49668aebc707
MISC metadata.xml 524 SHA256 03d92323b98033273689c9031e2a364b893f3796b4089ae6fe4ec9a96d958d7c SHA512 9db7c7a3082ee848ec4963831da06cced596d543e53660747fb56ac33998c219e1d7252892ffc32132d7db3c99ce9746fb6d9e85f866c3cba97552c31948342c WHIRLPOOL af84fdd4aca89713c10a087507e30631ddeea5b6002005db7c198588890df38573229618499eb0e7f4bb87782aaa38589c556d5fa4348a1e636561a1595309b0

View File

@ -0,0 +1,92 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
PATCHVER="1.1"
inherit eutils toolchain-funcs multilib-minimal
MY_PN="binutils"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Core binutils libraries (libbfd, libopcodes, libiberty) for external packages"
HOMEPAGE="https://sourceware.org/binutils/"
SRC_URI="mirror://gnu/binutils/${MY_P}.tar.bz2
mirror://gentoo/${MY_P}-patches-${PATCHVER}.tar.xz"
LICENSE="|| ( GPL-3 LGPL-3 )"
# The shared lib SONAMEs use the ${PV} in them.
SLOT="0/${PV}"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd -sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="64-bit-bfd multitarget nls static-libs zlib"
COMMON_DEPEND="zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )"
DEPEND="${COMMON_DEPEND}
nls? ( sys-devel/gettext )"
# Need a newer binutils-config that'll reset include/lib symlinks for us.
RDEPEND="${COMMON_DEPEND}
>=sys-devel/binutils-config-5
nls? ( !<sys-devel/gdb-7.10-r1[nls] )"
S="${WORKDIR}/${MY_P}"
MULTILIB_WRAPPED_HEADERS=(
/usr/include/bfd.h
)
src_prepare() {
EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
}
pkgversion() {
printf "Gentoo ${PVR}"
[[ -n ${PATCHVER} ]] && printf " p${PATCHVER}"
}
multilib_src_configure() {
local myconf=(
$(use_with zlib)
--enable-obsolete
--enable-shared
--enable-threads
# Newer versions (>=2.24) make this an explicit option. #497268
--enable-install-libiberty
--disable-werror
--with-bugurl="https://bugs.gentoo.org/"
--with-pkgversion="$(pkgversion)"
$(use_enable static-libs static)
# The binutils eclass enables this flag for all bi-arch builds,
# but other tools often don't care about that support. Put it
# beyond a flag if people really want it, but otherwise leave
# it disabled as it can slow things down on 32bit arches. #438522
$(use_enable 64-bit-bfd)
# We only care about the libs, so disable programs. #528088
--disable-{binutils,etc,ld,gas,gold,gprof}
# Disable modules that are in a combined binutils/gdb tree. #490566
--disable-{gdb,libdecnumber,readline,sim}
# Strip out broken static link flags.
# https://gcc.gnu.org/PR56750
--without-stage1-ldflags
)
use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd )
use nls \
&& myconf+=( --without-included-gettext ) \
|| myconf+=( --disable-nls )
ECONF_SOURCE=${S} \
econf "${myconf[@]}"
}
multilib_src_install() {
default
# Provide libiberty.h directly.
dosym libiberty/libiberty.h /usr/include/libiberty.h
}
multilib_src_install_all() {
use static-libs || find "${ED}"/usr -name '*.la' -delete
}

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>toolchain@gentoo.org</email>
<name>Gentoo Toolchain Project</name>
</maintainer>
<use>
<flag name="64-bit-bfd">Support 64-bit targets even on 32-bit hosts (is ignored on 64-bit hosts)</flag>
<flag name="multitarget">Enable all possible targets in libbfd</flag>
</use>
<upstream>
<remote-id type="cpe">cpe:/a:gnu:binutils</remote-id>
</upstream>
</pkgmetadata>