sys-apps/pacman: Bump to 5.2.2

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Manifest-Sign-Key: 00EFD31F1B60D5DBADB831C1C0ECE6960E54475B
Signed-off-by: Nils Freydank <holgersson@posteo.de>
This commit is contained in:
Nils Freydank 2020-08-02 16:39:49 +02:00
parent 58a10cf020
commit 6957e14447
No known key found for this signature in database
GPG Key ID: BC5DC2998AAD2B21
2 changed files with 134 additions and 0 deletions

View File

@ -1 +1,23 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
DIST pacman-5.2.1.tar.gz 3300123 BLAKE2B be5a11624eecfe6c5a54088ce8872a1f2e24f2ac3f5a32a848a115b873b8ac3ee2a3aae5ab9f706be4fc359ef5cbde374688f012f799ff7ecda8669797160a52 SHA512 7814420b8d71090313f1bc7d9a513138bda74c5cbcb43d9741acc27ea7b4d180a38848a7d7059969cc7afed1b108d26ba2622a16d8761566357c50a5da456981 DIST pacman-5.2.1.tar.gz 3300123 BLAKE2B be5a11624eecfe6c5a54088ce8872a1f2e24f2ac3f5a32a848a115b873b8ac3ee2a3aae5ab9f706be4fc359ef5cbde374688f012f799ff7ecda8669797160a52 SHA512 7814420b8d71090313f1bc7d9a513138bda74c5cbcb43d9741acc27ea7b4d180a38848a7d7059969cc7afed1b108d26ba2622a16d8761566357c50a5da456981
DIST pacman-5.2.2.tar.gz 3333766 BLAKE2B 14896b3911f851f66b93443fe29eca9ffe21a73698ce7844a7924450c0399ce71d038843d8a4acedb029d5444cd1b409776d482edff5e58928e248068acb68dd SHA512 1f9c569fb9cfe90afeeb7e3715bfa821ec4c57fdbbd7e09cd1e2519fad1a555b2f5378dedb2c2e551d2e92db92f1db9684969b472507f676c5bb932cdf436eda
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCAB9FiEEcg3s4uUa4XE72XWQvF3CmYqtKyEFAl8mzopfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDcy
MERFQ0UyRTUxQUUxNzEzQkQ5NzU5MEJDNURDMjk5OEFBRDJCMjEACgkQvF3CmYqt
KyHoPQ/+PaUELSo5wDkBrWmwixhK/rFKW/68Me/j1BfK/VzApmPCXT7BSFciwQVV
qkgkIL7V5JNE2HBgqOaWiYbv8NGA9XB47cTbxaCnVfQ8FKZrhSacP8jUiCskAq+D
LwgRtZcC502/ptHMoBdurHtyfmXwQznQC7aKvdFyhDxc+ZeGpECT8y6xGBBdb8dM
s7O3+hxLZ6lNqmHzTIRhMVagKq0mYIHy4irKGEs/88EoiyCEAtyMsBFyWCILlYq1
Y5J+62kH9gLzoOWxbZ5LyMP6S4aDHcucyAVZbg6izfqPkjawyUF5WYJ8RAHztk8B
Px/yS4Yq12NdomacZBe3h5k7hblBe/P2yH/429ZnJRja3EnQCwKQ9xLFMkLWgspO
ny5yhhNbNdlIEyt/yd3hDIsJxzu91cMcod8TxFxi8relELMK3kCBEh0UyYxqcEkA
wdHqhPIClK3hTLgQdKUOfFY0Kn0XobORQn7KgqMpfS9BeqBcEFxCPuMtrJpMJo6Z
xjiP9HAvK2LiP5FxTOPSVDs4mqcCPcTcf3uKFjGZ4stkMRakN8BJeIRfBzVpJAJm
v9+kNkjjgQdtQEjTbbYC3J/XY6rgzt71waOxofK9dvNUdjfYIkCYnV+aq432aUYE
szzYxaidxej9Q7g1Dl9LLslYbeDCSBljxzy2qGw2jSbvFNO4u1A=
=cqal
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,112 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit autotools
DESCRIPTION="Archlinux's binary package manager"
HOMEPAGE="https://archlinux.org/pacman https://wiki.archlinux.org/index.php/Pacman"
if [[ "${PV}" == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.archlinux.org/pacman.git"
else
SRC_URI="https://sources.archlinux.org/other/pacman/${P}.tar.gz"
# Do *not* re-add ~x86!
# https://www.archlinux.org/news/phasing-out-i686-support/
KEYWORDS="-* ~amd64"
fi
LICENSE="GPL-2"
SLOT="0/10"
IUSE="curl debug doc +gpg libressl test"
DEPEND="
app-crypt/archlinux-keyring
app-arch/libarchive:=[lzma]
gpg? ( >=app-crypt/gpgme-1.13.0:= )
curl? ( net-misc/curl )
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
virtual/libiconv
virtual/libintl
test? (
sys-apps/fakeroot
sys-apps/fakechroot
)
"
RDEPEND="
${DEPEND}
sys-apps/pacman-mirrorlist
"
BDEPEND="
app-text/asciidoc
doc? ( app-doc/doxygen )
"
# Plenty tests fail because we're actually not on a archlinux system.
RESTRICT="test"
src_prepare() {
# Remove a line that adds "-Werror" in ./configure when
# "--enable-debug" is passed:
sed -i -e '/-Werror/d' configure.ac || die
default
eautoreconf
}
src_configure() {
local myeconfargs=(
--disable-static
--localstatedir=/var
--disable-git-version
# Help protect users from shooting their
# Gentoo installation in its foot.
--with-root-dir="${EPREFIX}/var/chroot/archlinux"
$(use_enable debug)
# full doc with doxygen
$(use_enable doc doxygen)
$(use_with curl libcurl)
$(use_with gpg gpgme)
)
econf "${myeconfargs[@]}"
}
src_install() {
dodir /etc/pacman.d/
# see bug #631754
dodir /var/chroot/archlinux
keepdir /var/chroot/archlinux /var/lib/pacman
default
find "${D}" -name '*.la' -delete || die "Couldn't remove straying .la files"
# Avoid creating stuff inside /var/cache/,
# see bug #633742 for more information.
rm -r "${D}/var/cache/pacman"
rmdir "${D}/var/cache"
}
pkg_postinst() {
/usr/bin/pacman-key --init || die
/usr/bin/pacman-key --populate archlinux || die
einfo
einfo "The default root dir was set to ${EPREFIX}/var/chroot/archlinux"
einfo "to avoid breaking Gentoo systems due to oscitancy."
einfo "If you prefer another directory, take a look at"
einfo "pacman's parameter -r|--root."
einfo
einfo "You will need to setup at least one mirror in"
einfo " /etc/pacman.d/mirrorlist."
einfo "This list is installed by sys-apps/pacman-mirrorlist but can be"
einfo "updated manually by fetching from"
einfo "https://wiki.archlinux.org/index.php/Mirror"
einfo
einfo "With pacman 5.1 contrib packages were moved into a seprate package."
einfo
}