Gentoo Archives: gentoo-commits

From: "Nathan Phillip Brink (binki)" <binki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/pacman: ChangeLog pacman-4.0.1.ebuild pacman-4.0.0.ebuild pacman-3.5.4.ebuild
Date: Sat, 28 Jan 2012 18:53:12
Message-Id: 20120128185303.7C8552004B@flycatcher.gentoo.org
1 binki 12/01/28 18:53:03
2
3 Modified: ChangeLog
4 Added: pacman-4.0.1.ebuild
5 Removed: pacman-4.0.0.ebuild pacman-3.5.4.ebuild
6 Log:
7 Bump to pacman-4.0.1, dropping old pacmen. Fixes bug #400933 where pacman was incompatible with >=libarchive-3.
8
9 (Portage version: 2.2.0_alpha84-r1/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.9 sys-apps/pacman/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pacman/ChangeLog?rev=1.9&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pacman/ChangeLog?rev=1.9&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pacman/ChangeLog?r1=1.8&r2=1.9
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pacman/ChangeLog,v
21 retrieving revision 1.8
22 retrieving revision 1.9
23 diff -u -r1.8 -r1.9
24 --- ChangeLog 18 Oct 2011 00:58:32 -0000 1.8
25 +++ ChangeLog 28 Jan 2012 18:53:03 -0000 1.9
26 @@ -1,6 +1,13 @@
27 # ChangeLog for sys-apps/pacman
28 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pacman/ChangeLog,v 1.8 2011/10/18 00:58:32 binki Exp $
30 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pacman/ChangeLog,v 1.9 2012/01/28 18:53:03 binki Exp $
32 +
33 +*pacman-4.0.1 (28 Jan 2012)
34 +
35 + 28 Jan 2012; Nathan Phillip Brink <binki@g.o> -pacman-3.5.4.ebuild,
36 + -pacman-4.0.0.ebuild, +pacman-4.0.1.ebuild:
37 + Bump to pacman-4.0.1, dropping old pacmen. Fixes bug #400933 where pacman was
38 + incompatible with >=libarchive-3.
39
40 *pacman-4.0.0 (18 Oct 2011)
41
42
43
44
45 1.1 sys-apps/pacman/pacman-4.0.1.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pacman/pacman-4.0.1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pacman/pacman-4.0.1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: pacman-4.0.1.ebuild
51 ===================================================================
52 # Copyright 1999-2012 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/sys-apps/pacman/pacman-4.0.1.ebuild,v 1.1 2012/01/28 18:53:03 binki Exp $
55
56 EAPI=4
57
58 inherit autotools autotools-utils bash-completion-r1 eutils
59
60 DESCRIPTION="Archlinux's binary package manager"
61 HOMEPAGE="http://archlinux.org/pacman/"
62 SRC_URI="ftp://ftp.archlinux.org/other/${PN}/${P}.tar.gz"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64"
67 IUSE="curl debug doc gpg test"
68
69 COMMON_DEPEND="app-arch/libarchive
70 dev-libs/openssl
71 virtual/libiconv
72 virtual/libintl
73 sys-devel/gettext
74 curl? ( net-misc/curl )
75 gpg? ( app-crypt/gpgme )"
76 RDEPEND="${COMMON_DEPEND}
77 app-arch/xz-utils"
78 # autoconf macros from gpgme requied unconditionally
79 DEPEND="${COMMON_DEPEND}
80 app-crypt/gpgme
81 doc? ( app-doc/doxygen
82 app-text/asciidoc )
83 test? ( dev-lang/python )"
84
85 RESTRICT="test"
86
87 src_prepare() {
88 # Adds AM_GPGME_PATH call which requires app-crypt/gpgme to be
89 # DEPENDed on unconditionally:
90 epatch "${FILESDIR}"/${PN}-4.0.0-gpgme.patch
91
92 # Remove a line that adds -Werror in ./configure when --enable-debug
93 # is passed:
94 sed -i -e '/-Werror/d' configure.ac || die "-Werror"
95 eautoreconf
96 }
97
98 src_configure() {
99 local myeconfargs=(
100 --localstatedir=/var
101 --disable-git-version
102 --with-openssl
103 # Help protect user from shooting his/her Gentoo installation in
104 # its foot.
105 --with-root-dir="${EPREFIX}"/var/chroot/archlinux
106 $(use_enable debug)
107 $(use_enable doc)
108 $(use_enable doc doxygen)
109 $(use_with curl libcurl)
110 $(use_with gpg gpgme)
111 )
112 autotools-utils_src_configure
113 }
114
115 src_install() {
116 autotools-utils_src_install
117
118 dodir /etc/pacman.d
119 newbashcomp "${AUTOTOOLS_BUILD_DIR}"/contrib/bash_completion pacman
120 }
121
122 pkg_postinst() {
123 einfo "Please see http://ohnopub.net/~ohnobinki/gentoo/arch/ for information"
124 einfo "about setting up an archlinux chroot."
125 }