diff options
author | Jeroen Roovers <jer@gentoo.org> | 2016-07-07 12:12:43 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2016-07-07 12:27:39 +0200 |
commit | 9d6dd3a496d322908591aa99e364bca59f677bea (patch) | |
tree | b4b6925b7541c689f7f5fa05c1649ffe50fdd97f /app-arch/dpkg | |
parent | media-gfx/graphite2: x86 stable wrt bug #585354 (diff) | |
download | gentoo-9d6dd3a496d322908591aa99e364bca59f677bea.tar.gz gentoo-9d6dd3a496d322908591aa99e364bca59f677bea.tar.bz2 gentoo-9d6dd3a496d322908591aa99e364bca59f677bea.zip |
app-arch/dpkg: Version bump.
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-arch/dpkg')
-rw-r--r-- | app-arch/dpkg/Manifest | 1 | ||||
-rw-r--r-- | app-arch/dpkg/dpkg-1.18.9.ebuild | 102 | ||||
-rw-r--r-- | app-arch/dpkg/files/dpkg-1.18.9-strerror.patch | 11 |
3 files changed, 114 insertions, 0 deletions
diff --git a/app-arch/dpkg/Manifest b/app-arch/dpkg/Manifest index 74030beb8c6d..f92206d941a8 100644 --- a/app-arch/dpkg/Manifest +++ b/app-arch/dpkg/Manifest @@ -2,3 +2,4 @@ DIST dpkg_1.17.26.tar.xz 4410860 SHA256 aa4e758752cdfd7ecb118d7a7d31139a0c090c92 DIST dpkg_1.17.27.tar.xz 4413092 SHA256 90749c31b9f1fceb46dd9fab5b50de34272efef333cc16d9e144f514fd944bb6 SHA512 6f0229bf6c6b76be22d0baf4af21b1175b5397c4a84eb47f0d02bb93173207cc087015a53a2ed9feb7195d313d447d71a0d7361eb1238377c38f8be4465f8bbd WHIRLPOOL cc8525d391bbb42e399e4a1ecb526db1071122272f7eb1b23bdbbad361dfa0f7af8f1fac867f5fb2028d74171ecd3b175b813b2370b2982b17c1d05b39921455 DIST dpkg_1.18.6.tar.xz 4617492 SHA256 dd0bc323baafe7aae1571a41d37ab92452171e7a2ce34429f77621fdc0e5dea2 SHA512 84bec49af80ca6e003413dcfbd8da6962f397c8319fbcd93a1c83ed613b4f9a5512ee51d01512203475e97e6570a802238515647cbd5aeab096c13104c50dd33 WHIRLPOOL a8ce16147f933ca6f1d902b7e25cbc34100b710429886eef5b2cfdb333d418d94c33bfd1a7b9bcd5f91e5729ebb70cb38398122d90e4d01304e6c3ce21825ffc DIST dpkg_1.18.7.tar.xz 4617284 SHA256 ace36d3a6dc750a42baf797f9e75ec580a21f92bb9ff96b482100755d6d9b87b SHA512 f5a0d35040338eecd303d2c39469f2cb38e8e135df2179c0ad6cbf67cb509303df528cb03db9fb26db82456171320ee2ba9b31f18c4b994af3fdcecb2e8a0a80 WHIRLPOOL fe7adc4f07ec239a3c09e3d7e237c007853b456875d1789b2ad9bae93ea35b1c008ec4bfcf28417241e4060af7913dadd2ab62cc620cd18bfa8644ee0523b02b +DIST dpkg_1.18.9.tar.xz 4632900 SHA256 86ac4af917e9e75eb9b6c947a0a11439d1de32f72237413f7ddab17f77082093 SHA512 d1253734f7949c6e486920b6b67a4412142747be419d8be83792e2fba1fc9e803e6d0988ae028da9d7d1885176659d5e61b9e69f814a9080ea30c36482a17dd5 WHIRLPOOL 6dbc4aaf3d88741c87a7e99637caae83e4ee314f6dc762782c9f83bba4167e34dd0ee5ffdac0f4ef5944981e6d3e091180935961bf1cb66fc7b825f46cbb8051 diff --git a/app-arch/dpkg/dpkg-1.18.9.ebuild b/app-arch/dpkg/dpkg-1.18.9.ebuild new file mode 100644 index 000000000000..b90321fa92e9 --- /dev/null +++ b/app-arch/dpkg/dpkg-1.18.9.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils multilib autotools toolchain-funcs + +DESCRIPTION="Package maintenance system for Debian" +HOMEPAGE="http://packages.qa.debian.org/dpkg" +SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris" +IUSE="+bzip2 +lzma nls selinux test unicode +update-alternatives +zlib" + +RDEPEND=" + >=dev-lang/perl-5.6.0:= + dev-perl/TimeDate + bzip2? ( app-arch/bzip2 ) + lzma? ( app-arch/xz-utils ) + selinux? ( sys-libs/libselinux ) + zlib? ( >=sys-libs/zlib-1.1.4 ) +" +DEPEND=" + ${RDEPEND} + app-arch/xz-utils + sys-devel/flex + virtual/pkgconfig + nls? ( + app-text/po4a + >=sys-devel/gettext-0.18.2 + ) + test? ( + dev-perl/DateTime-Format-DateParse + dev-perl/IO-String + dev-perl/Test-Pod + virtual/perl-Test-Harness + ) +" + +DOCS=( ChangeLog THANKS TODO ) + +src_prepare() { + # do not expect Debian's gzip --rsyncable extension + eapply "${FILESDIR}"/${PN}-1.17.0-gzip-rsyncable.patch + + eapply "${FILESDIR}"/${PN}-1.17.1-flags.patch + + eapply "${FILESDIR}"/${PN}-1.18.9-strerror.patch + + # Force the use of the running bash for get-version (this file is never + # installed, so no need to worry about hardcoding a temporary bash) + sed -i -e '1c\#!'"${BASH}" get-version || die + + if [[ ${CHOST} == mips64*-linux-gnu ]] ; then + # Debian targets use custom full tuples. Map the default one + # based on the ABI we're using. + local abi + if [[ ${ABI} == "n64" ]] ; then + abi="mips64" + else + abi="mipsn32" + fi + printf "gnu-linux-mips64 ${abi}\ngnu-linux-mips64el ${abi}el\n" >> triplettable + fi + + use nls && strip-linguas -i po + + eapply_user + + eautoreconf +} + +src_configure() { + tc-export CC + econf \ + $(use_enable nls) \ + $(use_enable unicode) \ + $(use_enable update-alternatives) \ + $(use_with bzip2 libbz2) \ + $(use_with lzma liblzma) \ + $(use_with selinux libselinux) \ + $(use_with zlib libz) \ + --disable-compiler-warnings \ + --disable-dselect \ + --disable-silent-rules \ + --disable-start-stop-daemon \ + --localstatedir="${EPREFIX}"/var \ + --without-libmd +} + +src_compile() { + emake AR=$(tc-getAR) +} + +src_install() { + default + + keepdir /usr/$(get_libdir)/db/methods/{mnt,floppy,disk} + keepdir /usr/$(get_libdir)/db/{alternatives,info,methods,parts,updates} +} diff --git a/app-arch/dpkg/files/dpkg-1.18.9-strerror.patch b/app-arch/dpkg/files/dpkg-1.18.9-strerror.patch new file mode 100644 index 000000000000..9cc0387fdbaf --- /dev/null +++ b/app-arch/dpkg/files/dpkg-1.18.9-strerror.patch @@ -0,0 +1,11 @@ +--- a/lib/dpkg/path-remove.c ++++ b/lib/dpkg/path-remove.c +@@ -28,6 +28,8 @@ + #include <errno.h> + #include <unistd.h> + ++#include <string.h> /* strerror() */ ++ + #include <dpkg/i18n.h> + #include <dpkg/dpkg.h> + #include <dpkg/path.h> |