Skip to content
New issue

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

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

Already on GitHub? # to your account

Weekly portage-stable package updates 2024-05-06 #1980

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
126 commits
Select commit Hold shift + click to select a range
2d248be
app-arch/libarchive: Sync with Gentoo
May 6, 2024
648c84b
app-arch/unzip: Sync with Gentoo
May 6, 2024
50cf4f1
app-arch/xz-utils: Sync with Gentoo
May 6, 2024
5b9c87d
app-arch/zip: Sync with Gentoo
May 6, 2024
2dea588
app-arch/zstd: Sync with Gentoo
May 6, 2024
a6b56fa
app-cdr/cdrtools: Sync with Gentoo
May 6, 2024
7f85409
app-containers/docker: Sync with Gentoo
May 6, 2024
83d8e56
app-containers/docker-cli: Sync with Gentoo
May 6, 2024
8b34d61
app-crypt/gnupg: Sync with Gentoo
May 6, 2024
b314944
app-crypt/mhash: Sync with Gentoo
May 6, 2024
c3b2d33
app-crypt/rhash: Sync with Gentoo
May 6, 2024
2f1ad14
app-crypt/tpm2-tools: Sync with Gentoo
May 6, 2024
3f6f311
app-crypt/tpm2-tss: Sync with Gentoo
May 6, 2024
c6b8a04
app-doc/eclass-manpages: Sync with Gentoo
May 6, 2024
82c06d1
app-editors/nano: Sync with Gentoo
May 6, 2024
ef5e3d2
app-editors/vim: Sync with Gentoo
May 6, 2024
9e75bb6
app-editors/vim-core: Sync with Gentoo
May 6, 2024
98a1156
app-emulation/qemu: Sync with Gentoo
May 6, 2024
ad737e1
app-emulation/qemu-guest-agent: Sync with Gentoo
May 6, 2024
df66776
app-portage/elt-patches: Sync with Gentoo
May 6, 2024
f173251
app-portage/gentoolkit: Sync with Gentoo
May 6, 2024
54385c8
app-shells/bash: Sync with Gentoo
May 6, 2024
5f649db
app-shells/bash-completion: Sync with Gentoo
May 6, 2024
e444342
app-text/docbook-xsl-ns-stylesheets: Sync with Gentoo
May 6, 2024
58191e0
app-text/docbook-xsl-stylesheets: Sync with Gentoo
May 6, 2024
c99760d
dev-build/autoconf: Sync with Gentoo
May 6, 2024
eba8e95
dev-build/make: Sync with Gentoo
May 6, 2024
aaf60a8
dev-build/meson: Sync with Gentoo
May 6, 2024
1f0bba1
dev-db/sqlite: Sync with Gentoo
May 6, 2024
45e7bcf
dev-debug/gdb: Sync with Gentoo
May 6, 2024
dc15a20
dev-debug/strace: Sync with Gentoo
May 6, 2024
7cb49cc
dev-lang/python: Sync with Gentoo
May 6, 2024
c23327c
dev-lang/swig: Sync with Gentoo
May 6, 2024
1abd972
dev-libs/cyrus-sasl: Sync with Gentoo
May 6, 2024
f3e311c
dev-libs/glib: Sync with Gentoo
May 6, 2024
e4e4179
dev-libs/libassuan: Sync with Gentoo
May 6, 2024
039bcad
dev-libs/libdnet: Sync with Gentoo
May 6, 2024
f952ae1
dev-libs/libgpg-error: Sync with Gentoo
May 6, 2024
29a27f5
dev-libs/libgudev: Sync with Gentoo
May 6, 2024
c4b4215
dev-libs/libksba: Sync with Gentoo
May 6, 2024
bc4b9e7
dev-libs/libpcre: Sync with Gentoo
May 6, 2024
69e9375
dev-libs/libpcre2: Sync with Gentoo
May 6, 2024
47464c4
dev-libs/libpwquality: Sync with Gentoo
May 6, 2024
d3c7f15
dev-libs/libsodium: Sync with Gentoo
May 6, 2024
189b5d2
dev-libs/libusb: Sync with Gentoo
May 6, 2024
255b93c
dev-libs/libxml2: Sync with Gentoo
May 6, 2024
9a02586
dev-libs/opensc: Sync with Gentoo
May 6, 2024
b7f3d5b
dev-python/docutils: Sync with Gentoo
May 6, 2024
899a18a
dev-python/hatchling: Sync with Gentoo
May 6, 2024
e483c84
dev-python/inflect: Sync with Gentoo
May 6, 2024
df52aee
dev-python/jaraco-context: Sync with Gentoo
May 6, 2024
423e212
dev-python/jaraco-functools: Sync with Gentoo
May 6, 2024
12c9cb3
dev-python/jinja: Sync with Gentoo
May 6, 2024
6d6122e
dev-python/lxml: Sync with Gentoo
May 6, 2024
ab4260c
dev-python/platformdirs: Sync with Gentoo
May 6, 2024
06f1841
dev-python/pygments: Sync with Gentoo
May 6, 2024
9ac7c5f
dev-python/setuptools: Sync with Gentoo
May 6, 2024
dfd2528
dev-python/trove-classifiers: Sync with Gentoo
May 6, 2024
70c24be
dev-util/bpftool: Sync with Gentoo
May 6, 2024
a51a4b4
dev-util/pkgconf: Sync with Gentoo
May 6, 2024
b48606e
dev-vcs/git: Sync with Gentoo
May 6, 2024
5700222
eclass/autotools: Sync with Gentoo
May 6, 2024
e3c7c91
eclass/eutils: Sync with Gentoo
May 6, 2024
5b776e8
eclass/gnuconfig: Sync with Gentoo
May 6, 2024
4fcdefa
eclass/toolchain: Sync with Gentoo
May 6, 2024
71d3038
eclass/xorg-3: Sync with Gentoo
May 6, 2024
514ce93
licenses: Sync with Gentoo
May 6, 2024
92fd5a1
media-libs/libpng: Sync with Gentoo
May 6, 2024
d1fbc6e
net-analyzer/nmap: Sync with Gentoo
May 6, 2024
c6f76c5
net-analyzer/traceroute: Sync with Gentoo
May 6, 2024
33766dd
net-dns/bind-tools: Sync with Gentoo
May 6, 2024
9aab3e3
net-firewall/ipset: Sync with Gentoo
May 6, 2024
a22523e
net-libs/gnutls: Sync with Gentoo
May 6, 2024
511611d
net-libs/libmicrohttpd: Sync with Gentoo
May 6, 2024
ab46119
net-libs/nghttp2: Sync with Gentoo
May 6, 2024
d6ed3bf
net-misc/curl: Sync with Gentoo
May 6, 2024
0eeb59b
net-misc/iperf: Sync with Gentoo
May 6, 2024
ae4f543
net-misc/rsync: Sync with Gentoo
May 6, 2024
759718e
net-misc/whois: Sync with Gentoo
May 6, 2024
9e1bc11
net-nds/rpcbind: Sync with Gentoo
May 6, 2024
aee5ec7
perl-core/File-Temp: Sync with Gentoo
May 6, 2024
ef99d81
profiles: Sync with Gentoo
May 6, 2024
cdba338
sys-apps/attr: Sync with Gentoo
May 6, 2024
8e1aa12
sys-apps/gptfdisk: Sync with Gentoo
May 6, 2024
582a77f
sys-apps/grep: Sync with Gentoo
May 6, 2024
24d37cc
sys-apps/hwdata: Sync with Gentoo
May 6, 2024
d226d1b
sys-apps/i2c-tools: Sync with Gentoo
May 6, 2024
5f1bf4e
sys-apps/kexec-tools: Sync with Gentoo
May 6, 2024
9c3fd69
sys-apps/kmod: Sync with Gentoo
May 6, 2024
6c83b6f
sys-apps/less: Sync with Gentoo
May 6, 2024
a7f2821
sys-apps/net-tools: Sync with Gentoo
May 6, 2024
c26a43c
sys-apps/nvme-cli: Sync with Gentoo
May 6, 2024
5d0e3ea
sys-apps/portage: Sync with Gentoo
May 6, 2024
559de46
sys-apps/pv: Sync with Gentoo
May 6, 2024
f43948d
sys-apps/smartmontools: Sync with Gentoo
May 6, 2024
5f25417
sys-apps/usbutils: Sync with Gentoo
May 6, 2024
28eb6ad
sys-apps/util-linux: Sync with Gentoo
May 6, 2024
1fec6c1
sys-devel/binutils: Sync with Gentoo
May 6, 2024
83535d5
sys-devel/crossdev: Sync with Gentoo
May 6, 2024
1f05730
sys-devel/gcc: Sync with Gentoo
May 6, 2024
d916919
sys-firmware/intel-microcode: Sync with Gentoo
May 6, 2024
e7763b6
sys-fs/multipath-tools: Sync with Gentoo
May 6, 2024
755bf74
sys-fs/quota: Sync with Gentoo
May 6, 2024
fb5eed0
sys-fs/udisks: Sync with Gentoo
May 6, 2024
8f8bc13
sys-fs/xfsprogs: Sync with Gentoo
May 6, 2024
4ff4051
sys-fs/zfs: Sync with Gentoo
May 6, 2024
da6f915
sys-fs/zfs-kmod: Sync with Gentoo
May 6, 2024
eec01c0
app-containers/podman: Sync with Gentoo
May 6, 2024
797d687
net-misc/passt: Sync with Gentoo
May 6, 2024
aa7e488
sys-libs/binutils-libs: Sync with Gentoo
May 6, 2024
9a4206e
sys-libs/ldb: Sync with Gentoo
May 6, 2024
30eb1ec
sys-libs/libcap: Sync with Gentoo
May 6, 2024
6cfbc94
sys-libs/libcap-ng: Sync with Gentoo
May 6, 2024
0854c84
sys-libs/libnvme: Sync with Gentoo
May 6, 2024
94cbe43
sys-libs/libseccomp: Sync with Gentoo
May 6, 2024
69df8a5
sys-libs/libunwind: Sync with Gentoo
May 6, 2024
6f85e44
sys-libs/ncurses: Sync with Gentoo
May 6, 2024
f0f6aca
sys-libs/readline: Sync with Gentoo
May 6, 2024
6a1065f
sys-libs/tevent: Sync with Gentoo
May 6, 2024
3dfd4b4
sys-libs/zlib: Sync with Gentoo
May 6, 2024
92b72ec
sys-power/acpid: Sync with Gentoo
May 6, 2024
e7dfd09
sys-process/procps: Sync with Gentoo
May 6, 2024
83fb6a9
sys-process/psmisc: Sync with Gentoo
May 6, 2024
55280bf
virtual/perl-Encode: Sync with Gentoo
May 6, 2024
8e41325
virtual/perl-Getopt-Long: Sync with Gentoo
May 6, 2024
83636d4
x11-base/xorg-proto: Sync with Gentoo
May 6, 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
Expand Up @@ -2,3 +2,5 @@ DIST libarchive-3.7.2.tar.xz 5237056 BLAKE2B 7221db4811a965ee61d879a260348036362
DIST libarchive-3.7.2.tar.xz.asc 659 BLAKE2B 7141baf007b89b7ee38ec817b648cef5efb4d694953fcd49f6ed2dc95cf4da2d9259262b9eb4f01ff5d4ecee1257b266a8c6687a8e8ef8790121048229f1ad22 SHA512 c2ce850088245d7723720737d74d1cc1819984d01b3f9e4ed96b0757f4c6d6d511b78792181a12400c563632d74edcd0c2c3a4b7527cba40ada7ef74488078fc
DIST libarchive-3.7.3.tar.xz 5428992 BLAKE2B c53672c8cdbe8f406f00bf4fc6b36e4dffcd23a33909dbec6ef06b86dceefc6062840eff629ba3bd19c36121720e16a8ba10dfa1a35ebed186cc92eb144f55d0 SHA512 984e7c61010b9555bafe54d5f52ff2d089e28afe5cea3a14615e2aca8539075293789d18f17f8915882ec328bcbdca7b3d1536d6dc19620ca226e8b6d802ef63
DIST libarchive-3.7.3.tar.xz.asc 659 BLAKE2B bfe18e36ef2e96ad46ab2cd1236701b4b80f41ebb840681c1baf7eac72f38444cc0619645fac17d3acdda6553b294483d87f0a92d9575138d117934e838d85d2 SHA512 9f340b41fc9db34f1c4e0823d559b666196d3031249e05981cfb43a401aa8a85710f14ba1cc784ab3ca367439e4c485668dffe7020f38f50b3ed35810df504a1
DIST libarchive-3.7.4.tar.xz 5417660 BLAKE2B 128f72235da61e112201046c0cfe62a8c580cf73b426c4cfe270ae913356f6ad430ba33a663dcd617b082c7baf45ada8d1c9928c45fea16fd57e8020693a60bc SHA512 84bc346ba15861ab10aa54a3d687de955178e4efbe12bf3a49a467181e7f819673949f131f4c8338de8ed6e319a8565af376e5a540380bda08e60dffbc7c8686
DIST libarchive-3.7.4.tar.xz.asc 659 BLAKE2B 77e705194f6e9a9f97da0ac43c9b3157e1a8a490d26da34079e4ef3f2bcf98d6f6e95567e110287fab0ec26d3fc27e5bbeff7569c9ca138de2caf47af737c6d0 SHA512 82caa18a78661ea717ce93cdcb0806eed48450c20fb4d45cb4c33001f2d4d0fb5a791552acbb24ad8c41772e1d0b66c76c9cb86946bc862109721a0c986f5331
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ SRC_URI="

LICENSE="BSD BSD-2 BSD-4 public-domain"
SLOT="0/13"
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"
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"
IUSE="
acl blake2 +bzip2 +e2fsprogs expat +iconv lz4 +lzma lzo nettle
static-libs test xattr +zstd
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit libtool multilib-minimal toolchain-funcs verify-sig

DESCRIPTION="Multi-format archive and compression library"
HOMEPAGE="
https://www.libarchive.org/
https://github.com/libarchive/libarchive/
"
SRC_URI="
https://www.libarchive.de/downloads/${P}.tar.xz
verify-sig? ( https://www.libarchive.de/downloads/${P}.tar.xz.asc )
"

LICENSE="BSD BSD-2 BSD-4 public-domain"
SLOT="0/13"
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"
IUSE="
acl blake2 +bzip2 +e2fsprogs expat +iconv lz4 +lzma lzo nettle
static-libs test xattr +zstd
"
RESTRICT="!test? ( test )"

RDEPEND="
sys-libs/zlib[${MULTILIB_USEDEP}]
acl? ( virtual/acl[${MULTILIB_USEDEP}] )
blake2? ( app-crypt/libb2[${MULTILIB_USEDEP}] )
bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] )
expat? ( dev-libs/expat[${MULTILIB_USEDEP}] )
!expat? ( dev-libs/libxml2[${MULTILIB_USEDEP}] )
iconv? ( virtual/libiconv[${MULTILIB_USEDEP}] )
kernel_linux? (
xattr? ( sys-apps/attr[${MULTILIB_USEDEP}] )
)
dev-libs/openssl:0=[${MULTILIB_USEDEP}]
lz4? ( >=app-arch/lz4-0_p131:0=[${MULTILIB_USEDEP}] )
lzma? ( >=app-arch/xz-utils-5.2.5-r1[${MULTILIB_USEDEP}] )
lzo? ( >=dev-libs/lzo-2[${MULTILIB_USEDEP}] )
nettle? ( dev-libs/nettle:0=[${MULTILIB_USEDEP}] )
zstd? ( app-arch/zstd[${MULTILIB_USEDEP}] )
"
DEPEND="${RDEPEND}
kernel_linux? (
virtual/os-headers
e2fsprogs? ( sys-fs/e2fsprogs[${MULTILIB_USEDEP}] )
)
test? (
app-arch/lrzip
app-arch/lz4
app-arch/lzip
app-arch/lzop
app-arch/xz-utils
app-arch/zstd
lzma? ( app-arch/xz-utils[extra-filters(+)] )
)
"
BDEPEND="
verify-sig? ( >=sec-keys/openpgp-keys-libarchive-20221209 )
elibc_musl? ( sys-libs/queue-standalone )
"

VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libarchive.org.asc

# false positives (checks for libc-defined hash functions)
QA_CONFIG_IMPL_DECL_SKIP=(
SHA256_Init SHA256_Update SHA256_Final
SHA384_Init SHA384_Update SHA384_Final
SHA512_Init SHA512_Update SHA512_Final
)

PATCHES=(
# https://github.com/libarchive/libarchive/issues/2069
# (we can simply update the command since we don't support old lrzip)
"${FILESDIR}/${PN}-3.7.2-lrzip.patch"
)

src_prepare() {
default

# Needed for flags to be respected w/ LTO
elibtoolize
}

multilib_src_configure() {
export ac_cv_header_ext2fs_ext2_fs_h=$(usex e2fsprogs) #354923

local myconf=(
$(use_enable acl)
$(use_enable static-libs static)
$(use_enable xattr)
$(use_with blake2 libb2)
$(use_with bzip2 bz2lib)
$(use_with expat)
$(use_with !expat xml2)
$(use_with iconv)
$(use_with lz4)
$(use_with lzma)
$(use_with lzo lzo2)
$(use_with nettle)
--with-zlib
$(use_with zstd)

# Windows-specific
--without-cng
)
if multilib_is_native_abi ; then
myconf+=(
--enable-bsdcat="$(tc-is-static-only && echo static || echo shared)"
--enable-bsdcpio="$(tc-is-static-only && echo static || echo shared)"
--enable-bsdtar="$(tc-is-static-only && echo static || echo shared)"
--enable-bsdunzip="$(tc-is-static-only && echo static || echo shared)"
)
else
myconf+=(
--disable-bsdcat
--disable-bsdcpio
--disable-bsdtar
--disable-bsdunzip
)
fi

ECONF_SOURCE="${S}" econf "${myconf[@]}"
}

multilib_src_compile() {
if multilib_is_native_abi ; then
emake
else
emake libarchive.la
fi
}

src_test() {
mkdir -p "${T}"/bin || die
# tests fail when lbzip2[symlink] is used in place of ref bunzip2
ln -s "${BROOT}/bin/bunzip2" "${T}"/bin || die
# workaround lrzip broken on 32-bit arches with >= 10 threads
# https://bugs.gentoo.org/927766
cat > "${T}"/bin/lrzip <<-EOF || die
#!/bin/sh
exec "$(type -P lrzip)" -p1 "\${@}"
EOF
chmod +x "${T}/bin/lrzip" || die
local -x PATH=${T}/bin:${PATH}
multilib-minimal_src_test
}

multilib_src_test() {
# sandbox is breaking long symlink behavior
local -x SANDBOX_ON=0
local -x LD_PRELOAD=
# some locales trigger different output that breaks tests
local -x LC_ALL=C.UTF-8
emake check
}

multilib_src_install() {
if multilib_is_native_abi ; then
emake DESTDIR="${D}" install
else
local install_targets=(
install-includeHEADERS
install-libLTLIBRARIES
install-pkgconfigDATA
)
emake DESTDIR="${D}" "${install_targets[@]}"
fi

# Libs.private: should be used from libarchive.pc instead
find "${ED}" -type f -name "*.la" -delete || die
# https://github.com/libarchive/libarchive/issues/1766
sed -e '/Requires\.private/s:iconv::' \
-i "${ED}/usr/$(get_libdir)/pkgconfig/libarchive.pc" || die
}
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 All @@ -11,7 +11,7 @@ MY_P="${PN}${MY_PV}"

DESCRIPTION="unzipper for pkzip-compressed files"
HOMEPAGE="https://infozip.sourceforge.net/UnZip.html"
SRC_URI="mirror://sourceforge/infozip/${MY_P}.tar.gz
SRC_URI="https://downloads.sourceforge.net/infozip/${MY_P}.tar.gz
mirror://debian/pool/main/u/${PN}/${PN}_${PV/_p/-}.debian.tar.xz"

LICENSE="Info-ZIP"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ else
MY_P="${PN/-utils}-${PV/_}"
SRC_URI="
https://github.com/tukaani-project/xz/releases/download/v${PV/_}/${MY_P}.tar.gz
mirror://sourceforge/lzmautils/${MY_P}.tar.gz
https://downloads.sourceforge.net/lzmautils/${MY_P}.tar.gz
https://tukaani.org/xz/${MY_P}.tar.gz
verify-sig? (
https://github.com/tukaani-project/xz/releases/download/v${PV/_}/${MY_P}.tar.gz.sig
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ else
MY_P="${PN/-utils}-${PV/_}"
SRC_URI="
https://github.com/tukaani-project/xz/releases/download/v${PV/_}/${MY_P}.tar.gz
mirror://sourceforge/lzmautils/${MY_P}.tar.gz
https://downloads.sourceforge.net/lzmautils/${MY_P}.tar.gz
https://tukaani.org/xz/${MY_P}.tar.gz
verify-sig? (
https://github.com/tukaani-project/xz/releases/download/v${PV/_}/${MY_P}.tar.gz.sig
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ else
MY_P="${PN/-utils}-${PV/_}"
SRC_URI="
https://github.com/tukaani-project/xz/releases/download/v${PV/_}/${MY_P}.tar.gz
mirror://sourceforge/lzmautils/${MY_P}.tar.gz
https://downloads.sourceforge.net/lzmautils/${MY_P}.tar.gz
https://tukaani.org/xz/${MY_P}.tar.gz
verify-sig? (
https://github.com/tukaani-project/xz/releases/download/v${PV/_}/${MY_P}.tar.gz.sig
Expand Down
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 All @@ -8,7 +8,7 @@ inherit edo toolchain-funcs flag-o-matic
MY_P="${PN}${PV//.}"
DESCRIPTION="Info ZIP (encryption support)"
HOMEPAGE="https://infozip.sourceforge.net/Zip.html"
SRC_URI="mirror://sourceforge/infozip/${MY_P}.zip"
SRC_URI="https://downloads.sourceforge.net/infozip/${MY_P}.zip"
S="${WORKDIR}"/${MY_P}

LICENSE="Info-ZIP"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ S="${WORKDIR}"/${P}/build/meson

LICENSE="|| ( BSD GPL-2 )"
SLOT="0/1"
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"
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"
IUSE="+lzma lz4 static-libs test zlib"
RESTRICT="!test? ( test )"

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

EAPI=7
Expand All @@ -9,7 +9,9 @@ MY_P="${P/_alpha/a}"

DESCRIPTION="A set of tools for CD/DVD reading and recording, including cdrecord"
HOMEPAGE="https://sourceforge.net/projects/cdrtools/"
SRC_URI="mirror://sourceforge/${PN}/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha')/${MY_P}.tar.bz2"
SRC_URI="https://downloads.sourceforge.net/${PN}/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha')/${MY_P}.tar.bz2"

S=${WORKDIR}/${P/_alpha[0-9][0-9]}

LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
SLOT="0"
Expand All @@ -30,8 +32,6 @@ DEPEND="
${RDEPEND}
"

S=${WORKDIR}/${P/_alpha[0-9][0-9]}

FILECAPS=(
cap_sys_resource,cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_ipc_lock,cap_sys_rawio+ep usr/bin/cdrecord --
cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_sys_rawio+ep usr/bin/cdda2wav --
Expand Down
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=7
Expand All @@ -9,7 +9,9 @@ MY_P="${P/_alpha/a}"

DESCRIPTION="A set of tools for CD/DVD reading and recording, including cdrecord"
HOMEPAGE="https://sourceforge.net/projects/cdrtools/"
SRC_URI="mirror://sourceforge/${PN}/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha')/${MY_P}.tar.bz2"
SRC_URI="https://downloads.sourceforge.net/${PN}/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha')/${MY_P}.tar.bz2"

S=${WORKDIR}/${P/_alpha[0-9][0-9]}

LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
SLOT="0"
Expand All @@ -30,8 +32,6 @@ DEPEND="
${RDEPEND}
"

S=${WORKDIR}/${P/_alpha[0-9][0-9]}

FILECAPS=(
cap_sys_resource,cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_ipc_lock,cap_sys_rawio+ep usr/bin/cdrecord --
cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_sys_rawio+ep usr/bin/cdda2wav --
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ DIST docker-cli-25.0.1-man.tar.xz 78920 BLAKE2B a4b483e7d3b5c5a70d834a49ca04cd94
DIST docker-cli-25.0.1.tar.gz 6860093 BLAKE2B c0745afe7f009b692c91029e9a0a447a1179c2a865b6021f6d48aa2f44e3405084244ca6802c15eb389151fc46fa194efb535ca4c824bfcd92c1ad51371ff1fe SHA512 6443f3184313acf34292f44b60b0de48c4cb141c607be81988aaacca36a6e4b6c862b249a5fba1c7f22b11523b42f3d38939f695e12f64eca305218add92d65f
DIST docker-cli-25.0.4-man.tar.xz 78952 BLAKE2B 91315d341c9a6eb42e039dee3ab0b683a2abb2bb3ce44d64fe7b662f03966bfd29ee16a8700368b88a2052df79b5863648df95cf1ddd1ffe9cfe6fb076db8ed8 SHA512 d7d942ee7b979056e0008261d83945be69e837c055b2392b9aa41850b8b003d304df66b06c83d3ff0f4d24b4c7135a370502623e844973768ffb699aab195f19
DIST docker-cli-25.0.4.tar.gz 6862436 BLAKE2B 6045e7080ca87971904e5a50057f420bc1e6ce9cc3038d5110ae067da259375eff17834e250d61c011aebc117034b892063fab2d131b5b8a9e5168602dc7fe83 SHA512 214984791ab67ca3da4bd5308d73a16218a0210da367d380bbe2a3f56eae131e252080aa2ebc3343df642007c9d91de6c0e0200122be9833866e58c87549db0d
DIST docker-cli-26.1.0-man.tar.xz 79004 BLAKE2B 36dcf969c6567680990420d6d177101bf457f7fc1c24dff195ce8b478268335419fba5ff51a7b77bb8c0a6e0e6077d83ddb50f2ecf08bf069be89fc4849afd6e SHA512 36297ee3cbf096112ec41db2cd1d06796ddd27a57c4323e71a727e17d3930102710f643a77df9e68cd9b3294a6bb0fdf5565379e9fae7331e25afcd147b0084f
DIST docker-cli-26.1.0.tar.gz 7213165 BLAKE2B 302236467f2b6f3f46b0f0c75e89c2cef0cd251d36e12f78a67c906cfb85b842b998fd3b07f4a2dfc0a04825a9b105d90f11d176055ded397f2d4e9145639d5d SHA512 1a1e9af1a836765ffa91f7f2e1b27911e2b6b373c308a7db332a7cd1825459ab1c04a93d03c9947b631bead0af21d9f03e06c3a60855cc56ca7039e50e38ba87
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

GIT_COMMIT=9714adc6c797755f63053726c56bc1c17c0c9204

EGO_PN="github.com/docker/cli"
MY_PV=${PV/_/-}
inherit bash-completion-r1 golang-vcs-snapshot

DESCRIPTION="the command line binary for docker"
HOMEPAGE="https://www.docker.com/"
SRC_URI="https://github.com/docker/cli/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-man.tar.xz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE="hardened selinux"

RDEPEND="!<app-containers/docker-20.10.1
selinux? ( sec-policy/selinux-docker )"
BDEPEND="
>=dev-lang/go-1.16.6"

RESTRICT="installsources strip test"

S="${WORKDIR}/${P}/src/${EGO_PN}"

src_unpack() {
golang-vcs-snapshot_src_unpack
set -- ${A}
unpack ${2}
}

src_prepare() {
default
sed -i 's@dockerd\?\.exe@@g' contrib/completion/bash/docker || die
}

src_compile() {
export DISABLE_WARN_OUTSIDE_CONTAINER=1
export GOPATH="${WORKDIR}/${P}"
# setup CFLAGS and LDFLAGS for separate build target
# see https://github.com/tianon/docker-overlay/pull/10
export CGO_CFLAGS="-I${ESYSROOT}/usr/include"
export CGO_LDFLAGS="-L${ESYSROOT}/usr/$(get_libdir)"
emake \
LDFLAGS="$(usex hardened '-extldflags -fno-PIC' '')" \
VERSION="${PV}" \
GITCOMMIT="${GIT_COMMIT}" \
dynbinary
}

src_install() {
dobin build/docker
doman "${WORKDIR}"/man/man?/*
dobashcomp contrib/completion/bash/*
bashcomp_alias docker dockerd
insinto /usr/share/fish/vendor_completions.d/
doins contrib/completion/fish/docker.fish
insinto /usr/share/zsh/site-functions
doins contrib/completion/zsh/_*
}

pkg_postinst() {
has_version "app-containers/docker-buildx" && return
ewarn "the 'docker build' command is deprecated and will be removed in a"
ewarn "future release. If you need this functionality, install"
ewarn "app-containers/docker-buildx."
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ DIST docker-24.0.6.tar.gz 14462378 BLAKE2B bced8e687abac59254a9969df46f323a83562
DIST docker-24.0.7.tar.gz 14658649 BLAKE2B 73bad494640ef8cad2b9b991f94414d8bec4dd88b120b0f8238f74d01269c445270f45410ac2c78af074356c3ba60a7c550ab28f5da5924bdc6d8b99e85a1360 SHA512 08f22fcbce163c3ba8eb21302fd38ff04fd3f27067f5715a3c527ba2efe67f694fac80bfe6d6b5e22d06d98917e1685a9d3d9b58991f221354f637f4a8bdc526
DIST docker-25.0.1.tar.gz 15936052 BLAKE2B 32b24893c9b098b218b16548be074588ad98ed31c8b87ab3fa467f79e33e96ce94f694b86f2920b1166e64c153b1c2482cb602117f673d23f0fc5ccc9b28ae92 SHA512 816c888925cf609e7caa6e491b45614f69fdd7df5ed4f783d8a77cf86d9f46f4f457a95a943aa75ecddf99d080daf78bc0dba55e9648960dc539b1ae62052361
DIST docker-25.0.4.tar.gz 15953567 BLAKE2B 85398de80b14f21d611822a1714ac987d919cf6a2a8059d8a6d41c9b63fd63a04013e47e01021eccdbd107f1a3f8ee55dc1ecbc4b6c9cc20ff2854434e3b6af7 SHA512 07e724de305def32a1e32a724a8041be193745c4f0d549708723cf5d14b840f74648e83e790fd526e00a6c6fdb7e487ee4e5ed0752fbe172d673ab86fe8819d2
DIST docker-26.1.0.tar.gz 16390376 BLAKE2B 6703e9b153c430bc28aed2e7de7bada0203353d61f0a2ce3d49ddbd017eab196a685dd1ab1e719a6b287813eb5fa4f2c612e2cf1ab95789d6e79ebe5dac7ace3 SHA512 47b6b9af9947016884614b6bc25977e1db281da95c9b8b34c753c21c664a737a893f9fa65d92cbb897735aae3893567e106e6bababb5507e069b1e0981e48d50
Loading