diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-02-20 19:53:32 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-02-20 19:53:32 +0000 |
commit | e7eb42dae5af1ad030e7c2160834e6b3cf1d1c7e (patch) | |
tree | e1c79ef9a89067b661df46158d3609f4318e9ddb /sys-devel | |
parent | Remove nethack from p.mask as vulnerable versions have been removed and fixed... (diff) | |
download | historical-e7eb42dae5af1ad030e7c2160834e6b3cf1d1c7e.tar.gz historical-e7eb42dae5af1ad030e7c2160834e6b3cf1d1c7e.tar.bz2 historical-e7eb42dae5af1ad030e7c2160834e6b3cf1d1c7e.zip |
Version bump.
Package-Manager: portage-2.2.17/cvs/Linux x86_64
Manifest-Sign-Key: 0xD2E96200
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gdb/ChangeLog | 7 | ||||
-rw-r--r-- | sys-devel/gdb/Manifest | 24 | ||||
-rw-r--r-- | sys-devel/gdb/gdb-7.9.ebuild | 214 |
3 files changed, 243 insertions, 2 deletions
diff --git a/sys-devel/gdb/ChangeLog b/sys-devel/gdb/ChangeLog index e9550deea9c6..0e76581e57d1 100644 --- a/sys-devel/gdb/ChangeLog +++ b/sys-devel/gdb/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-devel/gdb # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.288 2015/02/20 15:42:58 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.289 2015/02/20 19:53:30 vapier Exp $ + +*gdb-7.9 (20 Feb 2015) + + 20 Feb 2015; Mike Frysinger <vapier@gentoo.org> +gdb-7.9.ebuild: + Version bump. 20 Feb 2015; Mike Frysinger <vapier@gentoo.org> gdb-6.6-r2.ebuild, gdb-6.7.1-r3.ebuild, gdb-6.8-r1.ebuild, gdb-6.8-r2.ebuild, gdb-7.0.1.ebuild, diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest index f5c097e8512a..8d78e8da0a98 100644 --- a/sys-devel/gdb/Manifest +++ b/sys-devel/gdb/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST gdb-6.6-patches-1.3.tar.bz2 15697 SHA256 7911134ce63ede4e1a45488481cf7cdc1b69ab00c8b3a432983344ff95a0051e SHA512 05f479ad62b4a92ef888f760f07c77f69eeffabb3f8cadc17cd72774e3f3c7c59fd44821cff107639986e0af54626dd8bf0f4ed64bffc5fc0c1f4dd2ed83d186 WHIRLPOOL d2dfc5631e7367baaffdac15bf84af0f3087a95c1bb18ba71a8f7df8e3efb9bc5d4d657bd0ac258abd8e6bf139ee483437c309659fde5af3a68315231bb85634 DIST gdb-6.6.tar.bz2 14535755 SHA256 6e602987298db5ddb479bbb84ce653eabd9c304957a49552245f65cdc70d43bd SHA512 e3f75bd4fd788021564f09069c7872fe1c9f6fc4262f3b0b12829f55cb9e1df20ee1fb708efed01cfe4a069245ef3c3766dc6ddbb57bf43f5bc7d1fd7f38d10b WHIRLPOOL 97cdbf237f8d37a5394ea4e8b7707e4b6a3533d5da4230f26bfe58c7ff390631bbcd6a87c28f09b24eadae8e1f6226152b290e0d4efca4fee580b242dee8a0ae DIST gdb-6.7.1-patches-1.3.tar.bz2 109192 SHA256 8d614d6ecdb343310904e293bc86f154550829cb45c5b5bd3bff9c26543f9132 SHA512 dd7577a8a900ca35e0a8d1b16c900350dea63bff989529d01697917dc51065f4438ed77386e53c6deffebad8a7bf1acdde1b79eec63268e12223b82ef0a66c3e WHIRLPOOL bbc8bf4df2166d9296df79d4c919d8e42823305a20f59018023d2151605dd9b3e536a9d147ec747f30e8ac6535f5894a1073b0d2057e6c6c5f6330773c11a783 @@ -37,6 +40,7 @@ DIST gdb-7.7.tar.bz2 24846320 SHA256 0404d1c6ee6b3ddd811722b5197944758d37b4591c2 DIST gdb-7.8.1.tar.xz 17669136 SHA256 497722b58386f4428c3474281eb3ef1c872404998b6ace907edb3bba1fabdc35 SHA512 c40775e727a665300b45ec5d375424565671768cb73eee6793285a5b9a29db66072fc55d56bc1b4189cd38e0590573554e283661e4fbec23e4ad3d5b90542a87 WHIRLPOOL 845988be5a667eae2ca2f433399d51af3bf8219a692385477f6f7f37bae000a017f39db271f28cf101a0b92eb4b48fe79c7edd1da1b84a83f3a612e49b96e265 DIST gdb-7.8.2.tar.xz 17678568 SHA256 605954d5747d5f08ea4b7f48e958d1ebbf39265e18f7f36738deeabb83744485 SHA512 face5bf1b4ce144fc8604fc84620beed956177a11fd632b4e41906fc7f632910b2b43a50e6cfdfd6cbd876ee527c813bddab8df29dc560a6c36694cdb8edc4e4 WHIRLPOOL b0e5adc8e98c8363c25b86a8f47d07863a97f215c74b4fe2fcce4e72ce82867bafea60cb51d26f3814e895a93e047ca962b19fb2557e9c74a0ab3d88b1e6ee1d DIST gdb-7.8.tar.xz 17664316 SHA256 49c4abe174f79f54e1f9e75210ffb590d9b497d5b5200b5398c0e073a4ecb875 SHA512 e3977393c3a9bc2860d845928f457f4696a87106ccf30569cb69a82893deeab9b05fd1cffa4316cc5cfdfd3ad11a2d5660ed07a9965fa3d696a0ec604702557f WHIRLPOOL fb97f1fbee170fccf462d25fd6b4a218a8126b75465b59e21322ff2cacf2707d6b037d593663a4f52ae293c72d012a69a65377ee6827de18da80159c829b672d +DIST gdb-7.9.tar.xz 17859428 SHA256 9b315651a16528f7af8c7d8284699fb0c965df316cc7339bb0b7bae335848392 SHA512 850202a477b486a75dc8196efead79c95bc675e348064a5eefee2a50215d40f62e9e052e9b8df29f997f91430f6e7454883652c701f5b1e688d9e2c575876c83 WHIRLPOOL 597cbe8b8c9da7e2188f6d207738fd9679c3a841fec9483f67ff91156d7886636b1da61bf1255155115655d87648278a0670ad381afde931c7c6ab6e762a9ecd EBUILD gdb-6.6-r2.ebuild 1950 SHA256 0359eefcce2250acf529a48035c435e7d0478d6a18380bfe2dad36f001c62e35 SHA512 dc4cfdb00bf4be2a201ba071ce1757ea402850840e6926d53aa1deecdb8d6d9e409f32e1e7fc25db4e7c202fdbd672bc30ff2541c39ee18ff3fa785e4a0e6037 WHIRLPOOL 4ffed64c7db4689072c8694583157458f8afb0358cc31cedd28c4f53dbde05216eaa15283c3a66a71ffa72041a0fa72394665a86946b0f39c21dc4c73d8952a9 EBUILD gdb-6.7.1-r3.ebuild 2042 SHA256 ba940b8d4c17770b2f26a47079a8e4566be55a00bbe93907e2abb3a60ef4d39c SHA512 280831526c3f4f86945f527e6b6f9f72f93d30229953f65e54fd5f01c149ab5c091c8a60cd713b48387a34fcd877c921598a28002d1f81774b572d7c3309ca4b WHIRLPOOL 874cd17c2156b7cdb57c4e444ef158bd7229351cb4d0e85fc0f349ad8f6f1df1fb1c195033c3a8280a22ae79ec155bea3dda38d12cf90acf6aebb40f5a1d5699 EBUILD gdb-6.8-r1.ebuild 2201 SHA256 507258af3645f31d1334bb2d987b1a5165033ef7645877d0d2282ef8da4efb83 SHA512 3a1439b8327d6315aa06c65b2e0115d7232e3fea580ba60dcef2810f26620270840219864d414c7aa94984a12690e5ceaa0df8378849b6d0b07984f36f0ffd9b WHIRLPOOL e8e7eb473f91b5cd1b806c72625b5471cf7ec13e33ec4d9356fbdaae946619e3159244725d1b7da8c5737212b72fda58e3f75798dc08272df1a0e4762e270a9f @@ -60,6 +64,24 @@ EBUILD gdb-7.7.1.ebuild 6074 SHA256 116a43a5f1c468057a18346d0dee15062d02c5536ad2 EBUILD gdb-7.8.1.ebuild 5949 SHA256 c0dd4383acc2878eafad9c06c06a4e6e0c459d66e3d67eca9d15d9ea6da52eb6 SHA512 08a86ebda77c7729afb5f711fe2903542f6e466cd0b739042193c527e767a3022e9d09930c00f3bb309a0b792ab402ce84af479751b09237fef1f3409dba0fc2 WHIRLPOOL 1940f4f08e946c8de6e5f102c1d86853c93f9f78338ece9739ccf64b26fcd9fbb84f53f7d35c82d72d59241eb97349bfbb63d6a572293ae52e9ab7d307c0121d EBUILD gdb-7.8.2.ebuild 5949 SHA256 2132171e88505277f5e30a8e836b7a9dcb227d06dbf3d2a2039924a13b1f0b6c SHA512 d351a24dd4d3dde262d53c95913dd62aef09739e44690fcd133b0d58eccc84175ecb420a7e988b8306d3d15d567e6113c2b4fe4c38648bc507636f4f1c2dbe9d WHIRLPOOL 65a23f61d5e10b69cd1236d8d9b351c4127ac745debfcfa6191ff9bfff97019e86177279468c5f32be6dda669cbb7416018499c25e8ac89c47e5d3d69116395b EBUILD gdb-7.8.ebuild 5873 SHA256 763f7d1be1f82028fdcc76bb7b758efd6240aadcb8b185db03eb782695b994c2 SHA512 5ce51497cc34d6ea6f87fab59436a59becd301fdf41c569841b585346261094bd6458ec405dd53aeff5c0c6f7204d41013095001cdbb0eefe3cc9457e8e67ff4 WHIRLPOOL 9597a11864bfce5023fb360d00b37d996337f5c418bc3a46d043dcb66c2580acf7a7db21fb584edf034fa00ed692a74038bcf62e50cc98c39780e1b28b3fbd68 +EBUILD gdb-7.9.ebuild 5946 SHA256 04052c10dc42955c2b53fcfad828d4ba50b577cc412bc581bc9a0ce5c4ddaacd SHA512 ebc1a0f6060a6b26d9b392c1b8d7f4e4b8601b832fb55d32eb34724742a34e64730c9c237b08b61b16d3102f8ced2ca7b6d638db546191f13e8b920d93794a06 WHIRLPOOL b5484a3cb16a025c5eccbd5fcbefadef6e193ee711d4ab725776e7f8689ab1ac8b9b9f8ebc18f3f952c23c472b8750ec1ded3ffa76bf128f4d5fe8d40d1aa4b6 EBUILD gdb-9999.ebuild 5948 SHA256 d113155d244ebc6b62bfb4d55526547cbf1e581681c616d28477f0d3283814c2 SHA512 509d4a21c55af72460dd723726dc4e0055689d58a318badf4076fcc221220dae5a1d13f5e0190164fce4b6e8c6700c6bf201263aad46649651cb6ae1307beb75 WHIRLPOOL b9c57c11c36ee19ba3a907cdd88fe17ff54b21e8c8cdbd8394c98e42985e3984cb9ea295fa27fc5d97f10fb1a5451e10eaa97d490a085cf13c852166b1c37920 -MISC ChangeLog 38421 SHA256 5716d08d019b01cb2f4c95999fe67236647684e476bbe7f5704bfe7b6de49e8f SHA512 768fe40211eac1cd4c773d781b0030706b5bed5bafebdd2fa582354330dd527bcba9523ad97326aad121edd6721b01b2b6edea80cf082c59dba6c260a250c6f9 WHIRLPOOL 9d7e01d51711dd4cd07819ae100558795c98350abc1ebfe4fdf256eb53a4e5c8d3cc44603a991a30cc27901dcff63df6f6050b135b4a803ade9e6052a9989891 +MISC ChangeLog 38529 SHA256 25859bdcfa9c657d4618f9848ef7c2eaec66b84df4d01c956d60f8f3c17619ab SHA512 55214c1a1304fa203ba2b1701bfa0cb18384e87147e842eeee691751976829bca56a789b9681133088eafa74617ee64cd1d294c72feeb5e90aba28475abf7eaa WHIRLPOOL 94dc269d17cd4e2bcc760f22aa89036b29d0c9d60bc6d8e52488827cd5c33693a2f19cdb6159d6d1e10f15314f6ec313e932fb8ebc05bd2e0ecee00b07f38f71 MISC metadata.xml 694 SHA256 32f59a7ff4c58911e613a5cafeb79fa23d4cced2be2553ddd0eb6395f2853d21 SHA512 521fa566e1dcaaf5c363edf0643e9bbd9374559d01be24875451163bf4b72ec44341b5c390730727950d3af38782850c203da55248e22153d713e34eeed1a07e WHIRLPOOL 76a4ae0a5fb0efa769fb676b21c13fae274775a0bee3f95281e0f9df46d67652e2afe2e3ed1da88e64d3f39d77fb89c7fcf3c19535b6ce90290ff8d01b06ec5f +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQIcBAEBCAAGBQJU55FwAAoJEPGu1DbS6WIAydMP+wXKnTGiyAm0OB24AUO13F6b +vlmhprr8p9JNF8zKaBtRhbjDqPLrhhNSzY3hrPbcpgVeGOsW/KqWI/ULmNvHnzYV +ENthpTyGVyPThg33naF9Qqt7Nyi9b/gev2crF7zEYDhEY68o6kitdkfM+c2Uj8El +dOf92FC54V0/PJqhlfB6ex0Le9G6rJdCL33ie8vznSh87EaxI/hwZQltNourEX7c +LgEV8ejDHp9oB2uZiEny2Wu68ah18ajrnWPNxtuja3XVrN581ExIr5BuZF5hoTwg +lyy8LiMAtU70Mb1RnEWNrfzsfLEuqGrVPRngbB75pbyZ5g0F2L8EF2t9W5z0SEku +KOqCDMtRnSaAvzfOFz3P0cU4T220TTwuXKzcf8jatwLttx7efInybgmV27ZEbKXl +wmSh7K8REEnsDLFJB0pbCDrm4cB88ypZKj5kqllwR0w+1bNzsqN+JKO44HraHKrk ++WYrHctAlDNwyg+bxWBVYPTLyKXleYq4XaIhd9h5PvQ1e6wuuH03bpL05UkD6AAA +ZGzx6nWmGLAQt4hwPSg1eikEijPrmf+s7gdaXmchmuP+4YRfb8+kF9rjQZl3es4v +6Z3dpKE/YPXtnMg4+j+QiSYnQHRUlsKbYgcmOOnEyFTEiq12/OwYPbgz/dympGKl +zmHz+wi0pyJQ29pG+ap1 +=0qPM +-----END PGP SIGNATURE----- diff --git a/sys-devel/gdb/gdb-7.9.ebuild b/sys-devel/gdb/gdb-7.9.ebuild new file mode 100644 index 000000000000..c9196e5b1998 --- /dev/null +++ b/sys-devel/gdb/gdb-7.9.ebuild @@ -0,0 +1,214 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-7.9.ebuild,v 1.1 2015/02/20 19:53:30 vapier Exp $ + +EAPI="4" +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit flag-o-matic eutils python-single-r1 + +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then + export CTARGET=${CATEGORY/cross-} + fi +fi +is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } + +RPM= +MY_PV=${PV} +case ${PV} in +*.*.*.*.*.*) + # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm + inherit versionator rpm + gvcr() { get_version_component_range "$@"; } + MY_PV=$(gvcr 1-4) + RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" + SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" + ;; +*.*.50.*) + # weekly snapshots + SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz" + ;; +9999*) + # live git tree + EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" + inherit git-2 + SRC_URI="" + ;; +*) + # Normal upstream release + SRC_URI="mirror://gnu/gdb/${P}.tar.xz + ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz" + ;; +esac + +PATCH_VER="" +DESCRIPTION="GNU debugger" +HOMEPAGE="http://sourceware.org/gdb/" +SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +if [[ ${PV} != 9999* ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +fi +IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) + || ( client server ) +" + +RDEPEND="server? ( !dev-util/gdbserver ) + client? ( + >=sys-libs/ncurses-5.2-r2 + sys-libs/readline + expat? ( dev-libs/expat ) + lzma? ( app-arch/xz-utils ) + python? ( ${PYTHON_DEPS} ) + zlib? ( sys-libs/zlib ) + )" +DEPEND="${RDEPEND} + app-arch/xz-utils + client? ( + virtual/yacc + test? ( dev-util/dejagnu ) + nls? ( sys-devel/gettext ) + )" + +S=${WORKDIR}/${PN}-${MY_PV} + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec + ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch + epatch_user + strip-linguas -u bfd/po opcodes/po +} + +gdb_branding() { + printf "Gentoo ${PV} " + if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then + printf "p${PATCH_VER}" + else + printf "vanilla" + fi +} + +src_configure() { + strip-unsupported-flags + + local myconf=( + --with-pkgversion="$(gdb_branding)" + --with-bugurl='http://bugs.gentoo.org/' + --disable-werror + # Disable modules that are in a combined binutils/gdb tree. #490566 + --disable-{binutils,etc,gas,gold,gprof,ld} + ) + local sysroot="${EPREFIX}/usr/${CTARGET}" + is_cross && myconf+=( + --with-sysroot="${sysroot}" + --includedir="${sysroot}/usr/include" + --with-gdb-datadir="\${datadir}/gdb/${CTARGET}" + ) + + if use server && ! use client ; then + # just configure+build in the gdbserver subdir to speed things up + cd gdb/gdbserver + myconf+=( --program-transform-name='' ) + else + # gdbserver only works for native targets (CHOST==CTARGET). + # it also doesn't support all targets, so rather than duplicate + # the target list (which changes between versions), use the + # "auto" value when things are turned on. + is_cross \ + && myconf+=( --disable-gdbserver ) \ + || myconf+=( $(use_enable server gdbserver auto) ) + fi + + if ! ( use server && ! use client ) ; then + # if we are configuring in the top level, then use all + # the additional global options + myconf+=( + --enable-64-bit-bfd + --disable-install-libbfd + --disable-install-libiberty + # This only disables building in the readline subdir. + # For gdb itself, it'll use the system version. + --disable-readline + --with-system-readline + --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug + $(use_with expat) + $(use_with lzma) + $(use_enable nls) + $(use multitarget && echo --enable-targets=all) + $(use_with python python "${EPYTHON}") + $(use_with zlib) + ) + fi + + econf "${myconf[@]}" +} + +src_test() { + nonfatal emake check || ewarn "tests failed" +} + +src_install() { + use server && ! use client && cd gdb/gdbserver + default + use client && find "${ED}"/usr -name libiberty.a -delete + cd "${S}" + + # Don't install docs when building a cross-gdb + if [[ ${CTARGET} != ${CHOST} ]] ; then + rm -r "${ED}"/usr/share/{doc,info,locale} + local f + for f in "${ED}"/usr/share/man/*/* ; do + if [[ ${f##*/} != ${CTARGET}-* ]] ; then + mv "${f}" "${f%/*}/${CTARGET}-${f##*/}" || die + fi + done + return 0 + fi + # Install it by hand for now: + # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html + # Only install if it exists due to the twisted behavior (see + # notes in src_configure above). + [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay + + if use client ; then + docinto gdb + dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ + gdb/NEWS gdb/ChangeLog gdb/PROBLEMS + fi + docinto sim + dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} + if use server ; then + docinto gdbserver + dodoc gdb/gdbserver/{ChangeLog,README} + fi + + if [[ -n ${PATCH_VER} ]] ; then + dodoc "${WORKDIR}"/extra/gdbinit.sample + fi + + # Remove shared info pages + rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* +} + +pkg_postinst() { + # portage sucks and doesnt unmerge files in /etc + rm -vf "${EROOT}"/etc/skel/.gdbinit + + if use prefix && [[ ${CHOST} == *-darwin* ]] ; then + ewarn "gdb is unable to get a mach task port when installed by Prefix" + ewarn "Portage, unprivileged. To make gdb fully functional you'll" + ewarn "have to perform the following steps:" + ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" + ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" + fi +} |