Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weekly portage-stable package updates 2024-07-15 #2120

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
272 commits
Select commit Hold shift + click to select a range
6f38059
app-editors/nano: Sync with Gentoo
Jul 15, 2024
44d80d8
app-editors/vim: Sync with Gentoo
Jul 15, 2024
d786696
app-editors/vim-core: Sync with Gentoo
Jul 15, 2024
a593630
app-emulation/qemu: Sync with Gentoo
Jul 15, 2024
8f5beee
app-emulation/qemu-guest-agent: Sync with Gentoo
Jul 15, 2024
72a6c4a
app-eselect/eselect-pinentry: Sync with Gentoo
Jul 15, 2024
ac15706
app-portage/elt-patches: Sync with Gentoo
Jul 15, 2024
8993edc
app-portage/gentoolkit: Sync with Gentoo
Jul 15, 2024
91161e2
app-portage/getuto: Sync with Gentoo
Jul 15, 2024
63d69c9
app-shells/bash: Sync with Gentoo
Jul 15, 2024
b8cedd4
app-shells/bash-completion: Sync with Gentoo
Jul 15, 2024
8aa7777
app-shells/gentoo-bashcomp: Sync with Gentoo
Jul 15, 2024
f146d33
app-text/docbook-xsl-ns-stylesheets: Sync with Gentoo
Jul 15, 2024
5f9dd56
app-text/docbook-xsl-stylesheets: Sync with Gentoo
Jul 15, 2024
daaf8a2
dev-build/autoconf: Sync with Gentoo
Jul 15, 2024
d558078
dev-build/automake: Sync with Gentoo
Jul 15, 2024
1a20465
dev-build/automake-wrapper: Sync with Gentoo
Jul 15, 2024
87a2275
dev-build/cmake: Sync with Gentoo
Jul 15, 2024
3db77cf
dev-build/libtool: Sync with Gentoo
Jul 15, 2024
5a8d443
dev-build/make: Sync with Gentoo
Jul 15, 2024
9ffd233
dev-build/meson: Sync with Gentoo
Jul 15, 2024
e8f1fa8
dev-build/meson-format-array: Sync with Gentoo
Jul 15, 2024
1df7ec7
dev-build/ninja: Sync with Gentoo
Jul 15, 2024
4214cce
dev-cpp/gtest: Sync with Gentoo
Jul 15, 2024
080202e
dev-db/sqlite: Sync with Gentoo
Jul 15, 2024
0bf727c
dev-debug/gdb: Sync with Gentoo
Jul 15, 2024
d06e71c
dev-debug/strace: Sync with Gentoo
Jul 15, 2024
ecb0f3b
dev-lang/duktape: Sync with Gentoo
Jul 15, 2024
7f879a5
dev-lang/lua: Sync with Gentoo
Jul 15, 2024
310c6d5
dev-lang/perl: Sync with Gentoo
Jul 15, 2024
2aee9d4
dev-lang/python: Sync with Gentoo
Jul 15, 2024
ff62641
dev-lang/swig: Sync with Gentoo
Jul 15, 2024
c46043b
dev-libs/cJSON: Sync with Gentoo
Jul 15, 2024
79f634a
dev-libs/cyrus-sasl: Sync with Gentoo
Jul 15, 2024
f838549
dev-libs/elfutils: Sync with Gentoo
Jul 15, 2024
7f9a294
dev-libs/glib: Sync with Gentoo
Jul 15, 2024
3631787
dev-libs/gobject-introspection: Sync with Gentoo
Jul 15, 2024
172da5c
dev-libs/inih: Sync with Gentoo
Jul 15, 2024
9c5f514
dev-libs/json-c: Sync with Gentoo
Jul 15, 2024
4cb5901
dev-libs/libassuan: Sync with Gentoo
Jul 15, 2024
95de724
dev-libs/libdnet: Sync with Gentoo
Jul 15, 2024
a154a7f
dev-libs/libffi: Sync with Gentoo
Jul 15, 2024
0852601
dev-libs/libgcrypt: Sync with Gentoo
Jul 15, 2024
176b8c1
dev-libs/libgpg-error: Sync with Gentoo
Jul 15, 2024
c2a36b1
dev-libs/libgudev: Sync with Gentoo
Jul 15, 2024
a56171b
dev-libs/libksba: Sync with Gentoo
Jul 15, 2024
4b73b62
dev-libs/libltdl: Sync with Gentoo
Jul 15, 2024
7b175ef
dev-libs/libnl: Sync with Gentoo
Jul 15, 2024
7b8edae
dev-libs/libpcre: Sync with Gentoo
Jul 15, 2024
56644ec
dev-libs/libpcre2: Sync with Gentoo
Jul 15, 2024
e25cef2
dev-libs/libpwquality: Sync with Gentoo
Jul 15, 2024
135bb38
dev-libs/libsodium: Sync with Gentoo
Jul 15, 2024
9648cef
dev-libs/libtraceevent: Sync with Gentoo
Jul 15, 2024
eddd0a3
dev-libs/libtracefs: Sync with Gentoo
Jul 15, 2024
b281f50
dev-libs/libunistring: Sync with Gentoo
Jul 15, 2024
d437cbd
dev-libs/libusb: Sync with Gentoo
Jul 15, 2024
a94ac60
dev-libs/libxml2: Sync with Gentoo
Jul 15, 2024
074b41c
dev-libs/libxslt: Sync with Gentoo
Jul 15, 2024
aa0c0c3
dev-libs/nettle: Sync with Gentoo
Jul 15, 2024
8ea0b95
dev-libs/opensc: Sync with Gentoo
Jul 15, 2024
3b01a03
dev-libs/protobuf: Sync with Gentoo
Jul 15, 2024
a23f321
dev-libs/xmlsec: Sync with Gentoo
Jul 15, 2024
5909436
dev-python/autocommand: Sync with Gentoo
Jul 15, 2024
aae8e3d
dev-python/crcmod: Sync with Gentoo
Jul 15, 2024
664e0d2
dev-python/cython: Sync with Gentoo
Jul 15, 2024
bb29d42
dev-python/distro: Sync with Gentoo
Jul 15, 2024
30a16e5
dev-python/docutils: Sync with Gentoo
Jul 15, 2024
281f9a8
dev-python/editables: Sync with Gentoo
Jul 15, 2024
bb922d0
dev-python/ensurepip-pip: Sync with Gentoo
Jul 15, 2024
cbffa1d
dev-python/ensurepip-setuptools: Sync with Gentoo
Jul 15, 2024
ae91f02
dev-python/fasteners: Sync with Gentoo
Jul 15, 2024
d7b2960
dev-python/flit-core: Sync with Gentoo
Jul 15, 2024
fed64c1
dev-python/gpep517: Sync with Gentoo
Jul 15, 2024
1e927b2
dev-python/hatchling: Sync with Gentoo
Jul 15, 2024
10367df
dev-python/inflect: Sync with Gentoo
Jul 15, 2024
48967c0
dev-python/installer: Sync with Gentoo
Jul 15, 2024
69ed404
dev-python/jaraco-context: Sync with Gentoo
Jul 15, 2024
5e2d502
dev-python/jaraco-functools: Sync with Gentoo
Jul 15, 2024
9a0930b
dev-python/jaraco-text: Sync with Gentoo
Jul 15, 2024
84492f5
dev-python/jinja: Sync with Gentoo
Jul 15, 2024
cf6589a
dev-python/lazy-object-proxy: Sync with Gentoo
Jul 15, 2024
6437d4c
dev-python/lxml: Sync with Gentoo
Jul 15, 2024
0742e88
dev-python/markupsafe: Sync with Gentoo
Jul 15, 2024
59ebb7e
dev-python/more-itertools: Sync with Gentoo
Jul 15, 2024
b46b20c
dev-python/ordered-set: Sync with Gentoo
Jul 15, 2024
f5ea3f3
dev-python/packaging: Sync with Gentoo
Jul 15, 2024
ef0fed8
dev-python/pathspec: Sync with Gentoo
Jul 15, 2024
d7bbad2
dev-python/platformdirs: Sync with Gentoo
Jul 15, 2024
18b78e2
dev-python/pluggy: Sync with Gentoo
Jul 15, 2024
539928b
dev-python/pygments: Sync with Gentoo
Jul 15, 2024
5146969
dev-python/setuptools: Sync with Gentoo
Jul 15, 2024
9e74818
dev-python/setuptools-scm: Sync with Gentoo
Jul 15, 2024
89f1550
dev-python/six: Sync with Gentoo
Jul 15, 2024
bc6ffb3
dev-python/snakeoil: Sync with Gentoo
Jul 15, 2024
75dff36
dev-python/tomli: Sync with Gentoo
Jul 15, 2024
2f5cfb7
dev-python/trove-classifiers: Sync with Gentoo
Jul 15, 2024
71e9a28
dev-python/typing-extensions: Sync with Gentoo
Jul 15, 2024
056e769
dev-python/wheel: Sync with Gentoo
Jul 15, 2024
4aef01c
dev-util/bpftool: Sync with Gentoo
Jul 15, 2024
ac3e364
dev-util/catalyst: Sync with Gentoo
Jul 15, 2024
686bed8
dev-util/gdbus-codegen: Sync with Gentoo
Jul 15, 2024
ab065c7
dev-util/glib-utils: Sync with Gentoo
Jul 15, 2024
885f23e
dev-util/pahole: Sync with Gentoo
Jul 15, 2024
7c07756
dev-util/perf: Sync with Gentoo
Jul 15, 2024
bbb1fa0
dev-util/pkgconf: Sync with Gentoo
Jul 15, 2024
273e590
dev-util/re2c: Sync with Gentoo
Jul 15, 2024
74e7253
dev-vcs/git: Sync with Gentoo
Jul 15, 2024
812be63
eclass/acct-group: Sync with Gentoo
Jul 15, 2024
88eaa31
eclass/acct-user: Sync with Gentoo
Jul 15, 2024
846a5d5
eclass/alternatives: Sync with Gentoo
Jul 15, 2024
2db82fa
eclass/autotools: Sync with Gentoo
Jul 15, 2024
2367724
eclass/cmake: Sync with Gentoo
Jul 15, 2024
7d70a77
eclass/distutils-r1: Sync with Gentoo
Jul 15, 2024
2f6c25f
eclass/dist-kernel-utils: Sync with Gentoo
Jul 15, 2024
5d3c5c7
eclass/edo: Sync with Gentoo
Jul 15, 2024
5d3c696
eclass/elisp-common: Sync with Gentoo
Jul 15, 2024
3646b15
eclass/flag-o-matic: Sync with Gentoo
Jul 15, 2024
7076a55
eclass/git-r3: Sync with Gentoo
Jul 15, 2024
3bc13fb
eclass/gnuconfig: Sync with Gentoo
Jul 15, 2024
5aad097
eclass/java-utils-2: Sync with Gentoo
Jul 15, 2024
035b112
eclass/kernel-2: Sync with Gentoo
Jul 15, 2024
e6c6713
eclass/linux-info: Sync with Gentoo
Jul 15, 2024
025832c
eclass/ltprune: Sync with Gentoo
Jul 15, 2024
a35ac36
eclass/meson: Sync with Gentoo
Jul 15, 2024
864e32f
eclass/mount-boot: Sync with Gentoo
Jul 15, 2024
b45016d
eclass/python-r1: Sync with Gentoo
Jul 15, 2024
ca498f3
eclass/python-utils-r1: Sync with Gentoo
Jul 15, 2024
3940323
eclass/readme.gentoo-r1: Sync with Gentoo
Jul 15, 2024
618fb33
eclass/toolchain: Sync with Gentoo
Jul 15, 2024
f82d5b9
eclass/xorg-3: Sync with Gentoo
Jul 15, 2024
bbce31d
licenses: Sync with Gentoo
Jul 15, 2024
7d3e68b
media-libs/libpng: Sync with Gentoo
Jul 15, 2024
1aa8a39
net-analyzer/nmap: Sync with Gentoo
Jul 15, 2024
01124c1
net-analyzer/traceroute: Sync with Gentoo
Jul 15, 2024
820f7be
net-dns/bind-tools: Sync with Gentoo
Jul 15, 2024
ca1c2fa
net-dns/c-ares: Sync with Gentoo
Jul 15, 2024
c28e37d
net-dns/libidn2: Sync with Gentoo
Jul 15, 2024
aa587eb
net-firewall/ipset: Sync with Gentoo
Jul 15, 2024
0ad992b
net-libs/gnutls: Sync with Gentoo
Jul 15, 2024
facc868
net-libs/libmicrohttpd: Sync with Gentoo
Jul 15, 2024
8a01a06
net-libs/libpsl: Sync with Gentoo
Jul 15, 2024
a0e298e
net-libs/nghttp2: Sync with Gentoo
Jul 15, 2024
fb89383
net-misc/chrony: Sync with Gentoo
Jul 15, 2024
9cde0e3
net-misc/curl: Sync with Gentoo
Jul 15, 2024
0cc2a99
net-misc/iperf: Sync with Gentoo
Jul 15, 2024
fab5360
net-misc/iputils: Sync with Gentoo
Jul 15, 2024
67ce0ff
net-misc/ntp: Sync with Gentoo
Jul 15, 2024
6a89b7c
net-misc/openssh: Sync with Gentoo
Jul 15, 2024
f5f9723
net-misc/rsync: Sync with Gentoo
Jul 15, 2024
7e30b61
net-misc/wget: Sync with Gentoo
Jul 15, 2024
5ca120e
net-misc/whois: Sync with Gentoo
Jul 15, 2024
48b8cba
net-nds/openldap: Sync with Gentoo
Jul 15, 2024
8e0926e
net-nds/rpcbind: Sync with Gentoo
Jul 15, 2024
0a79693
perl-core/File-Temp: Sync with Gentoo
Jul 15, 2024
71dd15f
profiles: Sync with Gentoo
Jul 15, 2024
e6be639
sec-keys/openpgp-keys-gentoo-release: Sync with Gentoo
Jul 15, 2024
5b8e143
sec-policy/selinux-base: Sync with Gentoo
Jul 15, 2024
ef8f1c5
sec-policy/selinux-base-policy: Sync with Gentoo
Jul 15, 2024
a42a1d4
sec-policy/selinux-container: Sync with Gentoo
Jul 15, 2024
a2aebea
sec-policy/selinux-dbus: Sync with Gentoo
Jul 15, 2024
99f89e4
sec-policy/selinux-sssd: Sync with Gentoo
Jul 15, 2024
bce2f63
sec-policy/selinux-unconfined: Sync with Gentoo
Jul 15, 2024
ac34001
sys-apps/attr: Sync with Gentoo
Jul 15, 2024
e368a36
sys-apps/checkpolicy: Sync with Gentoo
Jul 15, 2024
221f1c2
sys-apps/coreutils: Sync with Gentoo
Jul 15, 2024
73f6396
sys-apps/dtc: Sync with Gentoo
Jul 15, 2024
36eb731
sys-apps/ethtool: Sync with Gentoo
Jul 15, 2024
7ed3dcc
sys-apps/file: Sync with Gentoo
Jul 15, 2024
af14c99
sys-apps/findutils: Sync with Gentoo
Jul 15, 2024
1a5f2b9
sys-apps/gentoo-functions: Sync with Gentoo
Jul 15, 2024
5224b89
sys-apps/gptfdisk: Sync with Gentoo
Jul 15, 2024
a86eac8
sys-apps/grep: Sync with Gentoo
Jul 15, 2024
101f3f4
sys-apps/hwdata: Sync with Gentoo
Jul 15, 2024
497cf7b
sys-apps/i2c-tools: Sync with Gentoo
Jul 15, 2024
6bacd1b
sys-apps/iproute2: Sync with Gentoo
Jul 15, 2024
4616cd2
sys-apps/kexec-tools: Sync with Gentoo
Jul 15, 2024
ace66ae
sys-apps/kmod: Sync with Gentoo
Jul 15, 2024
e508dcf
sys-apps/less: Sync with Gentoo
Jul 15, 2024
da3595a
sys-apps/lshw: Sync with Gentoo
Jul 15, 2024
c6ba152
sys-apps/man-db: Sync with Gentoo
Jul 15, 2024
49d1a98
sys-apps/man-pages: Sync with Gentoo
Jul 15, 2024
290adbe
sys-apps/miscfiles: Sync with Gentoo
Jul 15, 2024
71e5a8e
sys-apps/net-tools: Sync with Gentoo
Jul 15, 2024
3cf7787
sys-apps/nvme-cli: Sync with Gentoo
Jul 15, 2024
1c78c93
sys-apps/pciutils: Sync with Gentoo
Jul 15, 2024
406e91c
sys-apps/pcsc-lite: Sync with Gentoo
Jul 15, 2024
35eea9d
sys-apps/portage: Sync with Gentoo
Jul 15, 2024
f3a400f
sys-apps/pv: Sync with Gentoo
Jul 15, 2024
ab2562c
sys-apps/sandbox: Sync with Gentoo
Jul 15, 2024
aee3890
sys-apps/sed: Sync with Gentoo
Jul 15, 2024
e6e7efb
sys-apps/semodule-utils: Sync with Gentoo
Jul 15, 2024
da93949
sys-apps/smartmontools: Sync with Gentoo
Jul 15, 2024
626a3bd
sys-apps/texinfo: Sync with Gentoo
Jul 15, 2024
58c9c75
sys-apps/usbutils: Sync with Gentoo
Jul 15, 2024
bda65d6
sys-apps/util-linux: Sync with Gentoo
Jul 15, 2024
50d4cff
sys-block/parted: Sync with Gentoo
Jul 15, 2024
0e1505e
sys-block/thin-provisioning-tools: Sync with Gentoo
Jul 15, 2024
4de9bde
sys-devel/binutils: Sync with Gentoo
Jul 15, 2024
030b6c0
sys-devel/crossdev: Sync with Gentoo
Jul 15, 2024
6eff394
sys-devel/gcc: Sync with Gentoo
Jul 15, 2024
1964089
sys-devel/gnuconfig: Sync with Gentoo
Jul 15, 2024
fd5dfb4
sys-firmware/intel-microcode: Sync with Gentoo
Jul 15, 2024
29feea7
sys-firmware/ipxe: Sync with Gentoo
Jul 15, 2024
b3b9a18
sys-firmware/sgabios: Sync with Gentoo
Jul 15, 2024
d1c4d84
sys-fs/cryptsetup: Sync with Gentoo
Jul 15, 2024
c29a391
sys-fs/e2fsprogs: Sync with Gentoo
Jul 15, 2024
d1b6118
sys-fs/mtools: Sync with Gentoo
Jul 15, 2024
ad7b260
sys-fs/multipath-tools: Sync with Gentoo
Jul 15, 2024
360d6e5
sys-fs/quota: Sync with Gentoo
Jul 15, 2024
51b5fea
sys-fs/udisks: Sync with Gentoo
Jul 15, 2024
703273c
sys-fs/xfsprogs: Sync with Gentoo
Jul 15, 2024
a8c5f96
sys-fs/zfs: Sync with Gentoo
Jul 15, 2024
d7f10a2
sys-fs/zfs-kmod: Sync with Gentoo
Jul 15, 2024
987780b
app-containers/podman: Sync with Gentoo
Jul 15, 2024
e88ff27
net-misc/passt: Sync with Gentoo
Jul 15, 2024
19d6a37
sys-kernel/linux-headers: Sync with Gentoo
Jul 15, 2024
3c9086a
sys-libs/binutils-libs: Sync with Gentoo
Jul 15, 2024
79dff03
sys-libs/cracklib: Sync with Gentoo
Jul 15, 2024
18cedb8
sys-libs/gdbm: Sync with Gentoo
Jul 15, 2024
e30542f
sys-libs/ldb: Sync with Gentoo
Jul 15, 2024
14e11e2
sys-libs/libblockdev: Sync with Gentoo
Jul 15, 2024
209743b
sys-libs/libcap: Sync with Gentoo
Jul 15, 2024
d88b502
sys-libs/libcap-ng: Sync with Gentoo
Jul 15, 2024
2a1cda5
sys-libs/libnvme: Sync with Gentoo
Jul 15, 2024
c501baa
sys-libs/libseccomp: Sync with Gentoo
Jul 15, 2024
364ef4f
sys-libs/libselinux: Sync with Gentoo
Jul 15, 2024
ac56d0b
sys-libs/libsepol: Sync with Gentoo
Jul 15, 2024
9e3ce6c
sys-libs/libunwind: Sync with Gentoo
Jul 15, 2024
a342a6e
sys-libs/liburing: Sync with Gentoo
Jul 15, 2024
b38b3d5
sys-libs/ncurses: Sync with Gentoo
Jul 15, 2024
9490f70
sys-libs/readline: Sync with Gentoo
Jul 15, 2024
9acfbe7
sys-libs/talloc: Sync with Gentoo
Jul 15, 2024
783a7d3
sys-libs/tdb: Sync with Gentoo
Jul 15, 2024
214db64
sys-libs/tevent: Sync with Gentoo
Jul 15, 2024
4496691
sys-libs/zlib: Sync with Gentoo
Jul 15, 2024
37f9f56
sys-power/acpid: Sync with Gentoo
Jul 15, 2024
c3d431f
sys-process/audit: Sync with Gentoo
Jul 15, 2024
670d626
sys-process/procps: Sync with Gentoo
Jul 15, 2024
b3c3270
sys-process/psmisc: Sync with Gentoo
Jul 15, 2024
c13a4e0
virtual/perl-Carp: Sync with Gentoo
Jul 15, 2024
4ddc72b
virtual/perl-Data-Dumper: Sync with Gentoo
Jul 15, 2024
f1ba50e
virtual/perl-Encode: Sync with Gentoo
Jul 15, 2024
eb75f24
virtual/perl-Exporter: Sync with Gentoo
Jul 15, 2024
62dbbc1
virtual/perl-ExtUtils-MakeMaker: Sync with Gentoo
Jul 15, 2024
6505979
virtual/perl-File-Spec: Sync with Gentoo
Jul 15, 2024
d7055c0
virtual/perl-File-Temp: Sync with Gentoo
Jul 15, 2024
cb993c4
virtual/perl-Getopt-Long: Sync with Gentoo
Jul 15, 2024
577e9ea
virtual/perl-IO: Sync with Gentoo
Jul 15, 2024
b3f47f8
virtual/perl-Unicode-Collate: Sync with Gentoo
Jul 15, 2024
5a551e0
x11-base/xorg-proto: Sync with Gentoo
Jul 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit prefix

DESCRIPTION="User land tool for cleaning up old perl installs"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Perl"

if [[ "${PV}" == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/gentoo-perl/perl-cleaner.git"
else
SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.bz2"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
fi

LICENSE="GPL-2"
SLOT="0"
IUSE="pkgcore"

[[ "${PV}" == "9999" ]] && BDEPEND="sys-apps/help2man"

RDEPEND="
app-shells/bash
dev-lang/perl
pkgcore? ( sys-apps/pkgcore )
!pkgcore? (
app-portage/portage-utils
sys-apps/portage
)
"

src_prepare() {
default
eprefixify ${PN}
}

src_install() {
dosbin perl-cleaner
doman perl-cleaner.1
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gzip.asc
inherit flag-o-matic verify-sig

DESCRIPTION="Standard GNU compressor"
HOMEPAGE="https://www.gnu.org/software/gzip/"
if [[ ${PV} == *_p* ]] ; then
# Note: could put this in devspace, but if it's gone, we don't want
# it in tree anyway. It's just for testing.
MY_SNAPSHOT="$(ver_cut 1-2).31-7553"
SRC_URI="
https://meyering.net/gzip/gzip-${MY_SNAPSHOT}.tar.xz -> ${P}.tar.xz
verify-sig? (
https://meyering.net/gzip/gzip-${MY_SNAPSHOT}.tar.xz.sig -> ${P}.tar.xz.sig
)
"
S="${WORKDIR}"/${PN}-${MY_SNAPSHOT}
else
SRC_URI="
mirror://gnu/gzip/${P}.tar.xz
verify-sig? (
mirror://gnu/gzip/${P}.tar.xz.sig
)
"
fi

LICENSE="GPL-3+"
SLOT="0"
if [[ ${PV} != *_p* ]] ; then
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
fi
IUSE="pic static"

BDEPEND="verify-sig? ( sec-keys/openpgp-keys-gzip )"
RDEPEND="!app-arch/pigz[symlink(-)]"
PDEPEND="
app-alternatives/gzip
"

PATCHES=(
"${FILESDIR}/${PN}-1.3.8-install-symlinks.patch"
)

src_configure() {
use static && append-flags -static

# Avoid text relocation in gzip
use pic && export DEFS="NO_ASM"

# embeds the path to grep detected at build time into installed scripts;
# use the canonical USE="split-usr" agnostic path. bug #935721
export GREP="${EPREFIX}/bin/grep"

# bug #663928
econf --disable-gcc-warnings
}

src_install() {
default

docinto txt
dodoc algorithm.doc gzip.doc

# Avoid conflict with app-arch/ncompress
rm "${ED}"/usr/bin/uncompress || die

# keep most things in /usr, just the fun stuff in /
# also rename them to avoid conflict with app-alternatives/gzip
dodir /bin
local x
for x in gunzip gzip zcat; do
mv "${ED}/usr/bin/${x}" "${ED}/bin/${x}-reference" || die
done
mv "${ED}"/usr/share/man/man1/gzip{,-reference}.1 || die
rm "${ED}"/usr/share/man/man1/{gunzip,zcat}.1 || die
}

pkg_postinst() {
if [[ -n ${REPLACING_VERSIONS} ]]; then
local ver
for ver in ${REPLACING_VERSIONS}; do
if ver_test "${ver}" -lt "1.12-r2"; then
ewarn "This package no longer installs 'uncompress'."
ewarn "Please use 'gzip -d' to decompress .Z files."
fi
done
fi

# ensure to preserve the symlinks before app-alternatives/gzip
# is installed
local x
for x in gunzip gzip zcat; do
if [[ ! -h ${EROOT}/bin/${x} ]]; then
ln -s "${x}-reference" "${EROOT}/bin/${x}" || die
fi
done
}

This file was deleted.

Loading