summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-11-06 11:12:52 +0100
committerJeroen Roovers <jer@gentoo.org>2016-11-06 11:13:52 +0100
commit7a347494a25213beecb881dda7c7c7d0b0f1a38b (patch)
tree05bc1e360402ac46fa9c3f65acb2632eb1a36b77 /app-arch/dpkg
parentwww-apache/passenger: amd64 stable, bug 580636 (diff)
downloadgentoo-7a347494a25213beecb881dda7c7c7d0b0f1a38b.tar.gz
gentoo-7a347494a25213beecb881dda7c7c7d0b0f1a38b.tar.bz2
gentoo-7a347494a25213beecb881dda7c7c7d0b0f1a38b.zip
app-arch/dpkg: Version bump.
Package-Manager: portage-2.3.2
Diffstat (limited to 'app-arch/dpkg')
-rw-r--r--app-arch/dpkg/Manifest1
-rw-r--r--app-arch/dpkg/dpkg-1.18.12.ebuild105
-rw-r--r--app-arch/dpkg/files/dpkg-1.18.12-flags.patch11
3 files changed, 117 insertions, 0 deletions
diff --git a/app-arch/dpkg/Manifest b/app-arch/dpkg/Manifest
index ca7bd9f2c0b1..c5dccf2301af 100644
--- a/app-arch/dpkg/Manifest
+++ b/app-arch/dpkg/Manifest
@@ -1,4 +1,5 @@
DIST dpkg_1.17.26.tar.xz 4410860 SHA256 aa4e758752cdfd7ecb118d7a7d31139a0c090c92aa494aa2e46603006deb1ec8 SHA512 4d2f2a7691dd34d47b62ec1f602d9bab612b151f05362607ec8e31037c4ba0baf5d609c46352240e9806e5781db8df9781e8a0ee9fd24faf54f8b43244a7e538 WHIRLPOOL 56decf0774f2d4405fb0934415c50749230c06fe9112e0ebb4458a8917538c83644eadb885d24350bbf713a6250dd5687956b70d47e22c06cf39ff87cb2d5a23
DIST dpkg_1.17.27.tar.xz 4413092 SHA256 90749c31b9f1fceb46dd9fab5b50de34272efef333cc16d9e144f514fd944bb6 SHA512 6f0229bf6c6b76be22d0baf4af21b1175b5397c4a84eb47f0d02bb93173207cc087015a53a2ed9feb7195d313d447d71a0d7361eb1238377c38f8be4465f8bbd WHIRLPOOL cc8525d391bbb42e399e4a1ecb526db1071122272f7eb1b23bdbbad361dfa0f7af8f1fac867f5fb2028d74171ecd3b175b813b2370b2982b17c1d05b39921455
DIST dpkg_1.18.10.tar.xz 4645448 SHA256 025524da41ba18b183ff11e388eb8686f7cc58ee835ed7d48bd159c46a8b6dc5 SHA512 83188277a703b57fa3b5570765db849f9b20f592237fa9a9f3a7e0b24c292c8cfc5528a049f6ecd85f2598c89521727599b406cd3924b2b8c56f9295b560e279 WHIRLPOOL 8bfb17cbc6598482b27502088a6c878b127edeb4dfe54631f776f0db1a6ea32c776929ca15d2251bfb1be1921f775a49f142bcc9c5689c2c374c383df04744d8
+DIST dpkg_1.18.12.tar.xz 4486092 SHA256 090be9eb714cb0c942b0e3f2b86763f402d736149521080cc1214c70c9c18c49 SHA512 995d9da0d58c2a8317d1e78cf93dd014e32a4d5dc89d8a0f4a0a8b7e8f116fd108ae7d0bf7ab3526f33a594762e95b937a70f5168479522bc50e7fddd51e1f74 WHIRLPOOL f5f057038c7896d54d4a3a42f5d48fb7130a52591023ce4aae3492ab95ad5374197ed00859b713ca1f0d44cea0e1e24a052b13396b9c7654bb783c2427acb763
DIST dpkg_1.18.9.tar.xz 4632900 SHA256 86ac4af917e9e75eb9b6c947a0a11439d1de32f72237413f7ddab17f77082093 SHA512 d1253734f7949c6e486920b6b67a4412142747be419d8be83792e2fba1fc9e803e6d0988ae028da9d7d1885176659d5e61b9e69f814a9080ea30c36482a17dd5 WHIRLPOOL 6dbc4aaf3d88741c87a7e99637caae83e4ee314f6dc762782c9f83bba4167e34dd0ee5ffdac0f4ef5944981e6d3e091180935961bf1cb66fc7b825f46cbb8051
diff --git a/app-arch/dpkg/dpkg-1.18.12.ebuild b/app-arch/dpkg/dpkg-1.18.12.ebuild
new file mode 100644
index 000000000000..f647cdb31028
--- /dev/null
+++ b/app-arch/dpkg/dpkg-1.18.12.ebuild
@@ -0,0 +1,105 @@
+# 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
+)
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.18.9-strerror.patch
+ "${FILESDIR}"/${PN}-1.18.12-flags.patch
+)
+
+src_prepare() {
+ # 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
+
+ default
+
+ 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}
+
+ prune_libtool_files
+}
diff --git a/app-arch/dpkg/files/dpkg-1.18.12-flags.patch b/app-arch/dpkg/files/dpkg-1.18.12-flags.patch
new file mode 100644
index 000000000000..bee7dd729941
--- /dev/null
+++ b/app-arch/dpkg/files/dpkg-1.18.12-flags.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -182,8 +182,6 @@
+ # Checks for the build machinery.
+ AC_DEFINE([LIBDPKG_VOLATILE_API], [1], [Acknowledge the volatility of the API.])
+ DPKG_COMPILER_WARNINGS
+-DPKG_COMPILER_OPTIMIZATIONS
+-DPKG_LINKER_OPTIMIZATIONS
+ DPKG_ARCHITECTURE
+ AC_DEFINE([PACKAGE_RELEASE], [PACKAGE_VERSION " (" ARCHITECTURE ")"],
+ [Define the project release information, version and architecture])