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 2023-08-21 #1079

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
e5285ec
app-arch/gzip: Sync with Gentoo
Aug 21, 2023
62c3d3a
app-arch/libarchive: Sync with Gentoo
Aug 21, 2023
ff3b470
app-arch/pigz: Sync with Gentoo
Aug 21, 2023
d8f5655
app-arch/tar: Sync with Gentoo
Aug 21, 2023
be2f581
app-crypt/libmd: Sync with Gentoo
Aug 21, 2023
6f2152b
app-crypt/mit-krb5: Sync with Gentoo
Aug 21, 2023
b50c8c8
app-crypt/rhash: Sync with Gentoo
Aug 21, 2023
13babb9
app-eselect/eselect-iptables: Sync with Gentoo
Aug 21, 2023
bd54098
app-portage/portage-utils: Sync with Gentoo
Aug 21, 2023
4d58663
app-portage/gentoolkit: Sync with Gentoo
Aug 21, 2023
5f6a770
dev-lang/perl: Sync with Gentoo
Aug 21, 2023
21050d9
dev-lang/python: Sync with Gentoo
Aug 21, 2023
52d39ce
dev-libs/boost: Sync with Gentoo
Aug 21, 2023
e4f6de2
dev-libs/elfutils: Sync with Gentoo
Aug 21, 2023
1f7161f
dev-libs/glib: Sync with Gentoo
Aug 21, 2023
3868503
dev-libs/inih: Sync with Gentoo
Aug 21, 2023
66bc3d7
dev-libs/libxslt: Sync with Gentoo
Aug 21, 2023
b598a0c
dev-libs/nettle: Sync with Gentoo
Aug 21, 2023
1178cf9
dev-python/cython: Sync with Gentoo
Aug 21, 2023
fc505e2
dev-python/inflect: Sync with Gentoo
Aug 21, 2023
892ce3b
dev-python/jaraco-text: Sync with Gentoo
Aug 21, 2023
0a90009
dev-python/setuptools: Sync with Gentoo
Aug 21, 2023
16ec83d
dev-util/checkbashisms: Sync with Gentoo
Aug 21, 2023
0a9553f
dev-util/cmake: Sync with Gentoo
Aug 21, 2023
4848cba
dev-util/gdbus-codegen: Sync with Gentoo
Aug 21, 2023
db1dad5
dev-util/glib-utils: Sync with Gentoo
Aug 21, 2023
188954f
dev-util/meson: Sync with Gentoo
Aug 21, 2023
39c21c9
dev-util/pkgconf: Sync with Gentoo
Aug 21, 2023
d5995ca
dev-util/strace: Sync with Gentoo
Aug 21, 2023
acc4979
eclass/distutils-r1: Sync with Gentoo
Aug 21, 2023
938c88c
eclass/flag-o-matic: Sync with Gentoo
Aug 21, 2023
2618908
eclass/python-any-r1: Sync with Gentoo
Aug 21, 2023
f9a8e56
eclass/python-r1: Sync with Gentoo
Aug 21, 2023
5c19f2e
eclass/python-utils-r1: Sync with Gentoo
Aug 21, 2023
b53c6c4
eclass/toolchain-funcs: Sync with Gentoo
Aug 21, 2023
ddada4a
eclass/toolchain: Sync with Gentoo
Aug 21, 2023
a08b407
licenses: Sync with Gentoo
Aug 21, 2023
b68d76e
media-libs/libpng: Sync with Gentoo
Aug 21, 2023
61d50ae
net-dns/bind-tools: Sync with Gentoo
Aug 21, 2023
0a4353d
net-firewall/ipset: Sync with Gentoo
Aug 21, 2023
a58acaa
net-libs/libmicrohttpd: Sync with Gentoo
Aug 21, 2023
9d9d360
net-libs/libnftnl: Sync with Gentoo
Aug 21, 2023
15527ba
net-libs/libnsl: Sync with Gentoo
Aug 21, 2023
7b39397
net-misc/curl: Sync with Gentoo
Aug 21, 2023
da7d31e
profiles: Sync with Gentoo
Aug 21, 2023
bebbba5
sys-apps/debianutils: Sync with Gentoo
Aug 21, 2023
359d06e
sys-apps/ethtool: Sync with Gentoo
Aug 21, 2023
4eb08e0
sys-apps/findutils: Sync with Gentoo
Aug 21, 2023
a4c6f11
sys-apps/gptfdisk: Sync with Gentoo
Aug 21, 2023
573786b
sys-apps/hwdata: Sync with Gentoo
Aug 21, 2023
8bebffd
sys-apps/iproute2: Sync with Gentoo
Aug 21, 2023
2cd3d9e
sys-apps/kbd: Sync with Gentoo
Aug 21, 2023
537df57
sys-apps/portage: Sync with Gentoo
Aug 21, 2023
eb52795
sys-apps/texinfo: Sync with Gentoo
Aug 21, 2023
066272f
sys-apps/util-linux: Sync with Gentoo
Aug 21, 2023
a66cc05
sys-devel/binutils: Sync with Gentoo
Aug 21, 2023
f25c3fb
sys-devel/gcc: Sync with Gentoo
Aug 21, 2023
d6550b5
sys-devel/gdb: Sync with Gentoo
Aug 21, 2023
225fb8f
sys-firmware/edk2-ovmf-bin: Sync with Gentoo
Aug 21, 2023
2b88810
sys-firmware/ipxe: Sync with Gentoo
Aug 21, 2023
21a1882
sys-fs/xfsprogs: Sync with Gentoo
Aug 21, 2023
2d23e93
sys-libs/binutils-libs: Sync with Gentoo
Aug 21, 2023
ddfe564
sys-libs/libnvme: Sync with Gentoo
Aug 21, 2023
7730b58
sys-libs/zlib: Sync with Gentoo
Aug 21, 2023
a0af056
sys-process/lsof: Sync with Gentoo
Aug 21, 2023
23f509b
virtual/perl-Exporter: Sync with Gentoo
Aug 21, 2023
29d0dca
virtual/perl-ExtUtils-MakeMaker: Sync with Gentoo
Aug 21, 2023
c04e4e1
virtual/perl-File-Spec: Sync with Gentoo
Aug 21, 2023
c055ddd
virtual/perl-IO: Sync with Gentoo
Aug 21, 2023
2381146
x11-base/xorg-proto: Sync with Gentoo
Aug 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DIST gzip-1.12.tar.xz 825548 BLAKE2B 7e2d482c08555f5fb0ff5408c0afe48c61034e9779eed6e3dd8046c847234c0a8a6bc34d49a934a54db0d73033e12c71a228d373551384a4cd663315071637e0 SHA512 116326fe991828227de150336a0c016f4fe932dfbb728a16b4a84965256d9929574a4f5cfaf3cf6bb4154972ef0d110f26ab472c93e62ec9a5fd7a5d65abea24
DIST gzip-1.12.tar.xz.sig 833 BLAKE2B ab7b4a759ef163d67f20773607ba0408ea9f1f7c7c224f43635fc3752acc521b74dbea4ec9ebb58a2f4fa13ecae19e00779b4b56c2cb95976301445beff817aa SHA512 1f4702797f7c5f1873c2f9c2f6210ba23824455d17ee82f50f0bf24240ed5bdf0090cf85338ccf76ba82422f8b4ad3a329d8bbf1350cb094d7bd61aa45550397
DIST gzip-1.12_p20221228.tar.xz 806448 BLAKE2B 278eb44caca7ee16ca5d0210673726a1daebef6da7eaf0a87fc24590cb4c53d4ebe2decb6b8975440e1eb2c2cfebb69f091c658f9a7430a1717f0477fec279da SHA512 87d1fccb9603ec336c89689337e3cf3cfef70054ab4416bd8380fee011e9f517555d80a2a009bd312a58c34fdaf48778e5f0e9bea350ae280b440a325a837866
DIST gzip-1.12_p20221228.tar.xz.sig 833 BLAKE2B b59d4677d15e2461d5fa95b4d53e94914e14cad613a9766aa3e51bfcece84ec0c4dd752c0d124cb76cc2240f9460f809c5bbbab958522c795e94026c8d4206ef SHA512 09a3a6687c80d7ec7e97ebd4c679e4d162729232d77966352c2f7ddd45594d79039ff33a93592889137605412b18b7868ea19ba4f4d162a5912a3978b3d67dd2
DIST gzip-1.13.tar.xz 838248 BLAKE2B f0e3b4c28bafcd3b59b65ac2d71218dc58d81b52c6921c1be038757c99e99184178c5d0e9674caa5099713b8b64e8c85cf061f4abfa20b73b478288f121fb05d SHA512 e3d4d4aa4b2e53fdad980620307257c91dfbbc40bcec9baa8d4e85e8327f55e2ece552c9baf209df7b66a07103ab92d4954ac53c86c57fbde5e1dd461143f94c
DIST gzip-1.13.tar.xz.sig 833 BLAKE2B 42e38fa7b3a6b6d21a18308cf662844ed84e1a142a945f3f3142db0a14212c0e642de514abb1307ec12ee7bb9644472cc3aed40582d9c266ab24808acbca0215 SHA512 f95e016f61f4a67cb4cec6cede2510af6bb5567d72bbd3d70210a6d5cf3ee5fea8f0cbf8f7b612fa52f2ecfd9dba050d9cd4494075ce5ac4abac7b74eaa7ccbc
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 xattr zstd"
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/libarchive.org.asc

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
DIST pigz-2.7.tar.gz 108102 BLAKE2B d391522fd6f8eb6918d671fb1c9517034941f3ae8e05ffcd7bece141e6dae110cde1560bad02bd2bcca2f868cdba2a8a16b5606ad6637d40d5ced5ec9bfffcc8 SHA512 9f9f61de4a0307fc057dc4e31a98bd8d706d9e709ecde0be02a871534fddf6a1fe1321158aa72708603aaaece43f83d2423b127f7689b6219b23aea4f989e8f5
DIST pigz-2.8.tar.gz 121304 BLAKE2B 9f1ae8b5e0dd9d9b1f17bcdbc41d8a9d50fd9b9ba7c50eb0bc1b738105d05cc396d9ce8e01f58f6b2fa7247a7c7e9926c602a613b1bb3e3a117c8f5c919ce640 SHA512 ae3d9d593e1645d65f9ab77aa828600c9af4bb30d0a073da7ae3dd805e65b87efaf6a0efb980f2d0168e475ae506eba194547d6479956dabb9d88293a9078a7f
DIST pigz-2.8.tar.gz.asc 235 BLAKE2B eb204079597d3e958da3672ba7f92481848bb7824da12b9306ff180add107175bed7bdd435dbc270170769a489c34a033d6ff547e8203cf1d71df6564381b43d SHA512 cb1dbca21d8fed25049693de02abf7489f61407d85f9a52d566c14e0194c6c393aed3edd2fd716d0ecedf7eeead6ae89d0cecc236caacd98740d14bd71e078db
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
https://github.com/madler/pigz/issues/111
https://github.com/madler/pigz/commit/907ca0763be4547a9b0cce8c1057217488149744

From 907ca0763be4547a9b0cce8c1057217488149744 Mon Sep 17 00:00:00 2001
From: Mark Adler <[email protected]>
Date: Fri, 18 Aug 2023 03:27:12 -0700
Subject: [PATCH] Make pigz compatible with two-component zlib version numbers.

zlib 1.3 (not 1.3.0) broke the zlib_vernum() function in pigz.
This commit fixes that.
--- a/pigz.c
+++ b/pigz.c
@@ -1333,7 +1333,7 @@ local long zlib_vernum(void) {
}
ver++;
} while (left);
- return left < 2 ? num << (left << 2) : -1;
+ return left < 3 ? num << (left << 2) : -1;
}

// -- check value combination routines for parallel calculation --

Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390
IUSE="static test"
RESTRICT="!test? ( test )"

LIB_DEPEND="sys-libs/zlib[static-libs(+)]"
LIB_DEPEND=">=sys-libs/zlib-1.2.3[static-libs(+)]"
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
DEPEND="${RDEPEND}
static? ( ${LIB_DEPEND} )
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs flag-o-matic

DESCRIPTION="A parallel implementation of gzip"
HOMEPAGE="https://www.zlib.net/pigz/"
SRC_URI="https://www.zlib.net/pigz/${P}.tar.gz"

LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos"
IUSE="static test"
RESTRICT="!test? ( test )"

LIB_DEPEND=">=sys-libs/zlib-1.2.3[static-libs(+)]"
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
DEPEND="
${RDEPEND}
static? ( ${LIB_DEPEND} )
test? ( app-arch/ncompress )
"

PATCHES=(
"${FILESDIR}"/${P}-memcpy-ub.patch
"${FILESDIR}"/${P}-zlib-1.3.patch
)

src_compile() {
use static && append-ldflags -static
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
}

src_install() {
dobin ${PN}
dosym ${PN} /usr/bin/un${PN}
dodoc README
doman ${PN}.1
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
Expand All @@ -15,7 +15,7 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390
IUSE="static test"
RESTRICT="!test? ( test )"

LIB_DEPEND="sys-libs/zlib[static-libs(+)]"
LIB_DEPEND=">=sys-libs/zlib-1.2.3[static-libs(+)]"
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
DEPEND="${RDEPEND}
static? ( ${LIB_DEPEND} )
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/madler.asc
inherit toolchain-funcs flag-o-matic verify-sig

DESCRIPTION="A parallel implementation of gzip"
HOMEPAGE="https://www.zlib.net/pigz/"
SRC_URI="
https://www.zlib.net/pigz/${P}.tar.gz
verify-sig? ( https://www.zlib.net/pigz/${P}-sig.txt -> ${P}.tar.gz.asc )
"

LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos"
IUSE="static test"
RESTRICT="!test? ( test )"

LIB_DEPEND=">=sys-libs/zlib-1.2.3[static-libs(+)]"
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
DEPEND="
${RDEPEND}
static? ( ${LIB_DEPEND} )
test? ( app-arch/ncompress )
"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-madler )"

src_compile() {
use static && append-ldflags -static
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
}

src_install() {
dobin ${PN}
dosym ${PN} /usr/bin/un${PN}
dodoc README
doman ${PN}.1
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ SRC_URI="
LICENSE="GPL-3+"
SLOT="0"
if [[ -z "$(ver_cut 3)" || "$(ver_cut 3)" -lt 90 ]] ; 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"
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="acl minimal nls selinux xattr"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SRC_URI="https://archive.hadrons.org/software/libmd/${P}.tar.xz"

LICENSE="|| ( BSD BSD-2 ISC BEER-WARE public-domain )"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"

multilib_src_configure() {
ECONF_SOURCE="${S}" econf
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
DIST krb5-1.20.1.tar.gz 8661660 BLAKE2B ead16f8b1aec8bba3776628b74257c9aec891770c1fa6d5c5e66275db5f078ca59c9944cd2b017453b777ce080f8e5a322f735fab77691479cfad7b881b92830 SHA512 6f57479f13f107cd84f30de5c758eb6b9fc59171329c13e5da6073b806755f8d163eb7bd84767ea861ad6458ea0c9eeb00ee044d3bcad01ef136e9888564b6a2
DIST krb5-1.20.2.tar.gz 8662259 BLAKE2B 35f9e82390b5ba7227d0b5c40ab08f128ff27e7264d48585e2bfd08a443cb4b06415216190a3c35c6bc505f33483bcbe11430d9e40c3907f838798b2dc492416 SHA512 69e263ef74116a3332c632a2a243499bcc47b01b1e57d02fe35aa6c2ff655674b6cf2b815457145f788bceac4d466d3f55f8c20ec9ee4a6051128417e1e7e99e
DIST krb5-1.21.1.tar.gz 8623049 BLAKE2B d90a994b5d39dc88573e5cfca280565b0909b2e9aa8710a6d695e2c1faec37ea0c008d05894e8952dcf72348403f76fd8a124de8d8f34c70fad6de8866a92f0e SHA512 6f04216b0a151d6a9886bf009777bc95a7d3f9bcab30427cc8bbef3357e0130748c1d42b477be0eb2d469d9e0fb65bf5ac5ff05c22d6e1046795e161fe6afbcc
DIST krb5-1.21.2.tar.gz 8622513 BLAKE2B 2afb3ff962a343bc07182fdab0c0ffb221632ff38baab74278cfc721ae72deacc260221470de36e420584f00b780e13221d2e511d4831bca8e1270b7f3d9e824 SHA512 4e09296b412383d53872661718dbfaa90201e0d85f69db48e57a8d4bd73c95a90c7ec7b6f0f325f6bc967f8d203b256b071c0191facf080aca0e2caec5d0ac49
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<flag name="openldap">Enable support for ldap as a database backend</flag>
</use>
<upstream>
<remote-id type="cpe">cpe:/a:mit:kerberos</remote-id>
<remote-id type="cpe">cpe:/a:mit:kerberos_5</remote-id>
<remote-id type="github">krb5/krb5</remote-id>
</upstream>
</pkgmetadata>
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{10..12} )
inherit autotools python-any-r1 systemd toolchain-funcs multilib-minimal

MY_P="${P/mit-}"
P_DIR=$(ver_cut 1-2)
DESCRIPTION="MIT Kerberos V"
HOMEPAGE="https://web.mit.edu/kerberos/www/"
SRC_URI="https://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz"

LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="cpu_flags_x86_aes doc +keyutils lmdb nls openldap +pkinit selinux +threads test xinetd"

RESTRICT="!test? ( test )"

DEPEND="
!!app-crypt/heimdal
>=sys-fs/e2fsprogs-1.46.4-r51[${MULTILIB_USEDEP}]
|| (
>=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}]
>=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}]
)
keyutils? ( >=sys-apps/keyutils-1.5.8:=[${MULTILIB_USEDEP}] )
lmdb? ( dev-db/lmdb:= )
nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] )
openldap? ( >=net-nds/openldap-2.4.38-r1:=[${MULTILIB_USEDEP}] )
pkinit? ( >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] )
xinetd? ( sys-apps/xinetd )
"
BDEPEND="
${PYTHON_DEPS}
app-alternatives/yacc
cpu_flags_x86_aes? (
amd64? ( dev-lang/yasm )
x86? ( dev-lang/yasm )
)
doc? ( virtual/latex-base )
test? ( dev-util/cmocka )
"
RDEPEND="${DEPEND}
selinux? ( sec-policy/selinux-kerberos )"

S=${WORKDIR}/${MY_P}/src

PATCHES=(
"${FILESDIR}/${PN}-1.12_warn_cflags.patch"
"${FILESDIR}/${PN}_dont_create_rundir.patch"
"${FILESDIR}/${PN}-1.18.2-krb5-config.patch"
)

MULTILIB_CHOST_TOOLS=(
/usr/bin/krb5-config
)

src_prepare() {
default
# Make sure we always use the system copies.
rm -rf util/{et,ss,verto}
sed -i 's:^[[:space:]]*util/verto$::' configure.ac || die

eautoreconf
}

multilib_src_configure() {
ECONF_SOURCE=${S} \
AR="$(tc-getAR)" \
WARN_CFLAGS="set" \
econf \
$(use_with openldap ldap) \
$(use_enable nls) \
$(use_enable pkinit) \
$(use_enable threads thread-support) \
$(use_with lmdb) \
$(use_with keyutils) \
--without-hesiod \
--enable-shared \
--with-system-et \
--with-system-ss \
--enable-dns-for-realm \
--enable-kdc-lookaside-cache \
--with-system-verto \
--disable-rpath
}

multilib_src_compile() {
emake -j1
}

multilib_src_test() {
multilib_is_native_abi && emake -j1 check
}

multilib_src_install() {
emake \
DESTDIR="${D}" \
EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
install
}

multilib_src_install_all() {
# default database dir
keepdir /var/lib/krb5kdc

cd ..
dodoc README

if use doc; then
dodoc -r doc/html
docinto pdf
dodoc doc/pdf/*.pdf
fi

newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind
newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc
newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd
newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind
newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc
newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd

systemd_newunit "${FILESDIR}"/mit-krb5kadmind.service mit-krb5kadmind.service
systemd_newunit "${FILESDIR}"/mit-krb5kdc.service mit-krb5kdc.service
systemd_newunit "${FILESDIR}"/mit-krb5kpropd.service mit-krb5kpropd.service
systemd_newunit "${FILESDIR}"/mit-krb5kpropd_at.service "[email protected]"
systemd_newunit "${FILESDIR}"/mit-krb5kpropd.socket mit-krb5kpropd.socket

insinto /etc
newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
insinto /var/lib/krb5kdc
newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example

if use openldap ; then
insinto /etc/openldap/schema
doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema"
fi

if use xinetd ; then
insinto /etc/xinetd.d
newins "${FILESDIR}/kpropd.xinetd" kpropd
fi
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
From c804982d1b24c6533118b3068d2cfdca685076f3 Mon Sep 17 00:00:00 2001
From: Aleksey Kravchenko <[email protected]>
Date: Mon, 7 Aug 2023 01:00:37 +0300
Subject: [PATCH] Fix #243: Incorrect assigment in the configure script

---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 39ef8c1b..63cbd8d0 100755
--- a/configure
+++ b/configure
@@ -877,7 +877,7 @@ if test "$OPT_STATIC" = "no"; then
RHASH_TEST_OPTIONS=--shared
test "$INSTALL_LIB_SHARED" = "auto" && INSTALL_LIB_SHARED=yes
test "$INSTALL_LIB_STATIC" = "yes" && RHASH_BUILD_TARGETS="$RHASH_BUILD_TARGETS \$(LIBRHASH_STATIC)"
- RHASH_LDFLAGS=$RHASH_LDFLAGS $GETTEXT_LDFLAGS
+ RHASH_LDFLAGS=$(join_params $RHASH_LDFLAGS $GETTEXT_LDFLAGS)
else
LIBRHASH_TYPE=static
LIBRHASH_PATH="\$(LIBRHASH_STATIC)"
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ BDEPEND="

S="${WORKDIR}/RHash-${PV}"

PATCHES=(
"${FILESDIR}"/${P}-prefix.patch
)

src_prepare() {
default

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

EAPI=7
Expand All @@ -8,7 +8,7 @@ HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-iptables.git/"
SRC_URI="https://dev.gentoo.org/~chutzpah/dist/iptables/${P}.tar.xz
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz"

LICENSE="GPL-2"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,13 @@ SLOT="0"

# Need newer Portage for XML fix, bug #857537
DEPEND="
>=sys-apps/portage-3.0.32[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}
>=sys-apps/portage-3.0.52[${PYTHON_USEDEP}]
"
RDEPEND="
${DEPEND}
app-alternatives/awk
sys-apps/gentoo-functions"
sys-apps/gentoo-functions
"

distutils_enable_tests setup.py

Expand Down
Loading