dev-util/arch-install-scripts: Fix arch-install-scripts not working and bump to v24
This commit is contained in:
1 parent
31ab87e990
commit
1236e1fc51
12 files changed
+193
-4
No files matched your search
@@ -0,0 +1 @@
|
||||
DIST archlinux-keyring-20210616.tar.gz 1004639 BLAKE2B 7211b56b9ea714ae5ad56e5eaa1804abfc94edd629fbb9e74ac885547b9de3fc975d792576a15f583c266b318b617733d97be7a4b0ea4e844651547115e08225 SHA512 0f314136232183cc00cda53f9987148b8d40643bfd686643bd2085a20c405754ebc4f2912866b576937e8759358df4f571885137aa9548bbbdb82adb70eb6268
|
||||
@@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="GnuPG keyring of Archlinux developer keys"
|
||||
HOMEPAGE="https://gitlab.archlinux.org/archlinux/archlinux-keyring"
|
||||
SRC_URI="https://sources.archlinux.org/other/${PN}/${P}.tar.gz"
|
||||
LICENSE="GPL-2" # "GPL" for the Arch linux package
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
# bluntly remove the makefile.
|
||||
rm -f Makefile || die "Couldn't remove Makefile"
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Take the directory of sys-apps/pacman to have a sane default of
|
||||
# upstream respectivly Archlinux.
|
||||
insinto /usr/share/pacman/keyrings/
|
||||
doins archlinux{.gpg,-trusted,-revoked}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo ""
|
||||
einfo "This package only installs the keyring files while sys-apps/pacman"
|
||||
einfo "initializes these keyrings to actually use it. This is a different"
|
||||
einfo "behaviour from Archlinux, but is necessary to avoid circular deps."
|
||||
einfo ""
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>holgersson@posteo.de</email>
|
||||
<name>Nils Freydank</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -1 +1 @@
|
||||
DIST arch-install-scripts-20.tar.gz 15410 BLAKE2B b8912a592fc418f95fd57a33016ba10010a6b1dc2a23867b6bbcc073c9ebe19ab09d1721b00e8e5704c0c60862f57993f9c3719ecc992f860d58bba086fb0382
|
||||
DIST arch-install-scripts-24.tar.gz 17917 BLAKE2B 2d4ab5cce19fed999fa553cad93ed9bf291468338d444662a5ca2ee0c2268abf6c15bf73fc5c3a743487326652b5edd6528a3c614151f6d2b2a7896fbc754ce3
|
||||
+2
-2
@@ -5,11 +5,11 @@ EAPI=6
|
||||
|
||||
DESCRIPTION="Arch Linux install tools (pacstrap, genfstab, arch-chroot)"
|
||||
HOMEPAGE="https://projects.archlinux.org/arch-install-scripts.git/"
|
||||
SRC_URI="https://projects.archlinux.org/${PN}.git/snapshot/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/archlinux/arch-install-scripts/archive/refs/tags/v${PV}.tar.gz -> arch-install-scripts-${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
@@ -1,5 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<mantainer type="person">
|
||||
<email>hougelangley1987@gmail.com</email>
|
||||
<name>苏业钦</name>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1 @@
|
||||
DIST pacman-mirrorlist-20210509 38451 BLAKE2B fa924a08c389803bfb528cc29de03a974df6f75b0ea562fb025fa32e033c58a323600568e8e0665610a8f5a02b7b9e91d0677077e7779276c3af47631aa887c1 SHA512 2a83087870df34d6980177f9891e3317e1f3752e8e73918f74c7745280ecc85d8c6cc32c861de4f26a6bf860c00ba1c4bb98d21f32602cc406c7ef161ab55638
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>holgersson@posteo.de</email>
|
||||
<name>Nils Freydank</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
COMMIT_ID="eec6e21194eae9877e73c92ffdf211ebc4b260f3"
|
||||
|
||||
DESCRIPTION="Repository list for Archlinux's binary package manager"
|
||||
HOMEPAGE="https://archlinux.org/mirrorlist/"
|
||||
SRC_URI="https://raw.githubusercontent.com/archlinux/svntogit-packages/${COMMIT_ID}/trunk/mirrorlist -> ${P}"
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE="GPL-2"
|
||||
SLOT=0
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
cp "${DISTDIR}/${P}" mirrorlist
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto etc/pacman.d
|
||||
doins mirrorlist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo
|
||||
einfo "This packages installs only a plain list of mirrors for sys-apps/pacman."
|
||||
einfo
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
DIST pacman-6.0.0.tar.xz 860624 BLAKE2B 79443cbee5df7b367267c70da04d570455a42d9cfa2e623333fd30e640d3cd9f01da382134efcd1c84202331499fd134b23dde8788a89f6949f0eb40e0e7a38b SHA512 78fc5b70a2fc356746f8a4580ce7fd01b25b3463db1b9b008f02a97e22c236fdb1d09985769caf6ac675d9b1091ba0f71afa38ec5759cf7911f1b1a33586f563
|
||||
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<bugs-to>mailto:pacman-dev@archlinux.org</bugs-to>
|
||||
<changelog>https://git.archlinux.org/pacman.git/tree/NEWS</changelog>
|
||||
<doc>https://archlinux.org/pacman/</doc>
|
||||
</upstream>
|
||||
<maintainer type="person">
|
||||
<email>holgersson@posteo.de</email>
|
||||
<name>Nils Freydank</name>
|
||||
</maintainer>
|
||||
<slots>
|
||||
<subslots>Reflect major ABI of libalpm.so.</subslots>
|
||||
</slots>
|
||||
<use>
|
||||
<flag name="doc">Install extended documentation using <pkg>app-doc/doxygen</pkg>. (Man pages are included by default.)</flag>
|
||||
<flag name="gpg">Enable GPG signature verification using <pkg>app-crypt/gpgme</pkg></flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="Archlinux's binary package manager"
|
||||
HOMEPAGE="https://archlinux.org/pacman/ https://wiki.archlinux.org/title/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.xz"
|
||||
# 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 doc +gpg test"
|
||||
DEPEND="
|
||||
app-crypt/archlinux-keyring
|
||||
app-arch/libarchive:=[lzma]
|
||||
gpg? ( >=app-crypt/gpgme-1.13.0:= )
|
||||
curl? ( net-misc/curl )
|
||||
dev-libs/openssl:0=
|
||||
virtual/libiconv
|
||||
virtual/libintl
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
sys-apps/pacman-mirrorlist
|
||||
"
|
||||
BDEPEND="
|
||||
app-text/asciidoc
|
||||
doc? ( app-doc/doxygen )
|
||||
test? (
|
||||
sys-apps/fakeroot
|
||||
sys-apps/fakechroot
|
||||
)
|
||||
"
|
||||
|
||||
# Plenty tests fail because we're actually not on a archlinux system.
|
||||
RESTRICT="test"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dbuildstatic=false
|
||||
# Help protect Gentoo users from shooting into their feet.
|
||||
-Droot-dir="${EPREFIX}/var/chroot/archlinux"
|
||||
# full doc with doxygen
|
||||
$(meson_feature doc doxygen)
|
||||
$(meson_feature gpg gpgme)
|
||||
$(meson_use curl libcurl)
|
||||
)
|
||||
if [[ "${PV}" == *9999 ]]; then
|
||||
emesonargs+=( -Duse-git-version=true )
|
||||
fi
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
Reference in new issue
Block a user