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-06-19 #934

Merged
merged 104 commits into from
Jun 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
3da525b
acct-user/portage: Sync with Gentoo
Jun 19, 2023
ab91a2d
app-arch/cpio: Sync with Gentoo
Jun 19, 2023
3d977f1
app-arch/rpm2targz: Sync with Gentoo
Jun 19, 2023
a79d5c9
app-arch/xz-utils: Sync with Gentoo
Jun 19, 2023
16dcb79
app-crypt/libmd: Sync with Gentoo
Jun 19, 2023
4adc1c3
app-crypt/mit-krb5: Sync with Gentoo
Jun 19, 2023
f07fd25
app-editors/nano: Sync with Gentoo
Jun 19, 2023
bcbf06c
app-editors/vim: Sync with Gentoo
Jun 19, 2023
fb1ff2d
app-editors/vim-core: Sync with Gentoo
Jun 19, 2023
082128a
app-emulation/qemu: Sync with Gentoo
Jun 19, 2023
3175090
app-emulation/qemu-guest-agent: Sync with Gentoo
Jun 19, 2023
e4dee0a
app-shells/bash-completion: Sync with Gentoo
Jun 19, 2023
961c173
app-text/docbook-xsl-stylesheets: Sync with Gentoo
Jun 19, 2023
428a754
dev-db/sqlite: Sync with Gentoo
Jun 19, 2023
295fd03
dev-lang/perl: Sync with Gentoo
Jun 19, 2023
cdc0ce6
dev-lang/python: Sync with Gentoo
Jun 19, 2023
2b2094c
dev-libs/boost: Sync with Gentoo
Jun 19, 2023
27f6ab9
dev-libs/gobject-introspection-common: Sync with Gentoo
Jun 19, 2023
eee5951
dev-libs/libgpg-error: Sync with Gentoo
Jun 19, 2023
0139cb6
dev-libs/libksba: Sync with Gentoo
Jun 19, 2023
b4ab7c5
dev-libs/nettle: Sync with Gentoo
Jun 19, 2023
f922b4f
dev-libs/oniguruma: Sync with Gentoo
Jun 19, 2023
012e56b
dev-python/cython: Sync with Gentoo
Jun 19, 2023
6e58af4
dev-python/docutils: Sync with Gentoo
Jun 19, 2023
89f4add
dev-python/flit-core: Sync with Gentoo
Jun 19, 2023
c39965c
dev-python/lxml: Sync with Gentoo
Jun 19, 2023
629d953
dev-python/platformdirs: Sync with Gentoo
Jun 19, 2023
e701934
dev-python/pydantic: Sync with Gentoo
Jun 19, 2023
b301dbe
dev-python/pygments: Sync with Gentoo
Jun 19, 2023
a3d1e8b
dev-python/pyparsing: Sync with Gentoo
Jun 19, 2023
83d6fee
dev-util/bpftool: Sync with Gentoo
Jun 19, 2023
bb5afbb
dev-util/cmake: Sync with Gentoo
Jun 19, 2023
39dd69b
dev-util/desktop-file-utils: Sync with Gentoo
Jun 19, 2023
742f24a
dev-util/patchelf: Sync with Gentoo
Jun 19, 2023
120ffc6
dev-util/perf: Sync with Gentoo
Jun 19, 2023
2a31f9e
dev-util/re2c: Sync with Gentoo
Jun 19, 2023
5b713f2
dev-util/strace: Sync with Gentoo
Jun 19, 2023
b7f5b72
eclass/eapi8-dosym: Sync with Gentoo
Jun 19, 2023
7709567
eclass/estack: Sync with Gentoo
Jun 19, 2023
48df87d
eclass/flag-o-matic: Sync with Gentoo
Jun 19, 2023
b913283
eclass/linux-mod: Sync with Gentoo
Jun 19, 2023
5194042
eclass/llvm: Sync with Gentoo
Jun 19, 2023
2925992
eclass/meson: Sync with Gentoo
Jun 19, 2023
f528925
eclass/pypi: Sync with Gentoo
Jun 19, 2023
621ace0
eclass/python-utils-r1: Sync with Gentoo
Jun 19, 2023
bb47e62
eclass/toolchain-funcs: Sync with Gentoo
Jun 19, 2023
3ed40b2
eclass/toolchain: Sync with Gentoo
Jun 19, 2023
6368c7a
eclass/xorg-3: Sync with Gentoo
Jun 19, 2023
fc751ba
licenses: Sync with Gentoo
Jun 19, 2023
2679a7c
net-dns/bind-tools: Sync with Gentoo
Jun 19, 2023
13525b7
net-dns/c-ares: Sync with Gentoo
Jun 19, 2023
41a8747
net-firewall/ipset: Sync with Gentoo
Jun 19, 2023
d48fc89
net-libs/libpcap: Sync with Gentoo
Jun 19, 2023
bd90d2e
net-misc/curl: Sync with Gentoo
Jun 19, 2023
ff66fc9
net-misc/wget: Sync with Gentoo
Jun 19, 2023
623f2a5
net-misc/whois: Sync with Gentoo
Jun 19, 2023
6b88e14
profiles: Sync with Gentoo
Jun 19, 2023
7c0a62b
sys-apps/coreutils: Sync with Gentoo
Jun 19, 2023
8ea7b6a
sys-apps/debianutils: Sync with Gentoo
Jun 19, 2023
e11dc02
sys-apps/diffutils: Sync with Gentoo
Jun 19, 2023
cf7589a
sys-apps/dtc: Sync with Gentoo
Jun 19, 2023
d8c482c
sys-apps/ethtool: Sync with Gentoo
Jun 19, 2023
743bfde
sys-apps/gawk: Sync with Gentoo
Jun 19, 2023
02441a0
sys-apps/gentoo-functions: Sync with Gentoo
Jun 19, 2023
1832a41
sys-apps/gptfdisk: Sync with Gentoo
Jun 19, 2023
e38e86e
sys-apps/grep: Sync with Gentoo
Jun 19, 2023
9814347
sys-apps/groff: Sync with Gentoo
Jun 19, 2023
f867e88
sys-apps/hwdata: Sync with Gentoo
Jun 19, 2023
27a2a1d
sys-apps/iproute2: Sync with Gentoo
Jun 19, 2023
5a3263a
sys-apps/kbd: Sync with Gentoo
Jun 19, 2023
f90b7cc
sys-apps/kexec-tools: Sync with Gentoo
Jun 19, 2023
599210e
sys-apps/kmod: Sync with Gentoo
Jun 19, 2023
a9b7f36
sys-apps/less: Sync with Gentoo
Jun 19, 2023
bb48618
sys-apps/man-db: Sync with Gentoo
Jun 19, 2023
2a8dcf9
sys-apps/man-pages: Sync with Gentoo
Jun 19, 2023
ff1507c
sys-apps/man-pages-posix: Sync with Gentoo
Jun 19, 2023
f50ecbc
sys-apps/miscfiles: Sync with Gentoo
Jun 19, 2023
c2055c3
sys-apps/pciutils: Sync with Gentoo
Jun 19, 2023
468a2af
sys-apps/portage: Sync with Gentoo
Jun 19, 2023
70a6bee
sys-apps/pv: Sync with Gentoo
Jun 19, 2023
b67fcf4
sys-apps/sandbox: Sync with Gentoo
Jun 19, 2023
f540823
sys-apps/util-linux: Sync with Gentoo
Jun 19, 2023
ea8fe88
sys-apps/which: Sync with Gentoo
Jun 19, 2023
09263f7
sys-devel/autoconf: Sync with Gentoo
Jun 19, 2023
f38bfaf
sys-devel/autoconf-wrapper: Sync with Gentoo
Jun 19, 2023
2ca1918
sys-devel/gcc: Sync with Gentoo
Jun 19, 2023
db94016
sys-devel/gdb: Sync with Gentoo
Jun 19, 2023
d0ab300
sys-devel/gnuconfig: Sync with Gentoo
Jun 19, 2023
71ba8b5
sys-firmware/intel-microcode: Sync with Gentoo
Jun 19, 2023
d59597a
sys-firmware/ipxe: Sync with Gentoo
Jun 19, 2023
7f84e14
sys-fs/multipath-tools: Sync with Gentoo
Jun 19, 2023
2ee6298
profiles: keep version same on arches for bpftool
sayanchowdhury Jun 22, 2023
a7049d6
profiles: drop the keywords for c-ares
sayanchowdhury Jun 22, 2023
50427a2
profiles: update the version for curl
sayanchowdhury Jun 22, 2023
5087144
profiles: keep same version on both arches multipath-tools
sayanchowdhury Jun 22, 2023
759a6cf
overlay profiles: Add accept keywords for sys-apps/sandbox
Jun 27, 2023
3c8c20e
portage-stable sys-apps/man-pages-posix: Drop unused package
Jun 27, 2023
bf5c6b1
.github: Drop sys-apps/man-pages-posix from automation
Jun 27, 2023
0454b8c
overlay profiles: Add accept keywords for sys-apps/coreutils
Jun 27, 2023
1b47467
app-admin/eselect: Sync with Gentoo
Jun 27, 2023
6d8f913
overlay profiles: Unmask rust 1.70.0
Jun 27, 2023
997869f
overlay profiles: Add accept keywords for dev-lang/python
Jun 27, 2023
838e54c
overlay profiles: Force openssl provide in net-misc/curl
Jun 27, 2023
ff0f4a4
changelog: Add entries
Jun 29, 2023
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
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .github/workflows/portage-stable-packages-list
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,6 @@ sys-apps/lshw
sys-apps/makedev
sys-apps/man-db
sys-apps/man-pages
sys-apps/man-pages-posix
sys-apps/miscfiles
sys-apps/net-tools
sys-apps/nvme-cli
Expand Down
1 change: 1 addition & 0 deletions changelog/security/2023-06-29-weekly-updates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- vim ([CVE-2023-2426](https://nvd.nist.gov/vuln/detail/CVE-2023-2426))
25 changes: 25 additions & 0 deletions changelog/updates/2023-06-29-weekly-updates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
- XZ utils ([5.4.3](https://git.tukaani.org/?p=xz.git;a=blob;f=NEWS;h=2f4d35adca6198671434d2988803cc9316ad1ec8;hb=dbb3a536ed9873ffa0870321f6873e564c6a9da8))
- vim ([9.0.1503](https://github.com/vim/vim/commits/v9.0.1503))
- sqlite ([3.42.0](https://sqlite.org/releaselog/3_42_0.html))
- python ([3.10.12](https://www.python.org/downloads/release/python-31012/))
- libgpg-error ([1.47](https://dev.gnupg.org/T6231))
- bpftool ([6.3](https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/log/tools/bpf/bpftool?h=v6.3))
- strace ([6.3](https://github.com/strace/strace/releases/tag/v6.3))
- bind tools ([9.16.41](https://bind9.readthedocs.io/en/v9.16.41/notes.html#notes-for-bind-9-16-41))
- libpcap ([1.10.4](https://github.com/the-tcpdump-group/libpcap/blob/24832dd2728bd95ed9b9464ef27b47a943c38003/CHANGES#L51))
- curl ([8.1.2](https://curl.se/changes.html#8_1_2))
- wget ([1.21.4](https://lists.gnu.org/archive/html/info-gnu/2023-05/msg00003.html))
- whois ([5.5.17](https://github.com/rfc1036/whois/commit/bac7108b01cfd54c517444efa1239e10e6edd5a4))
- coreutils ([9.3](https://lists.gnu.org/archive/html/info-gnu/2023-04/msg00006.html))
- diffutils ([3.10](https://lists.gnu.org/archive/html/info-gnu/2023-05/msg00009.html))
- ethtool ([6.3](https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/commit/?id=7bdf78f0d2a9ae1571fe9444e552490130e573fd))
- gawk ([5.2.2](https://lists.gnu.org/archive/html/info-gnu/2023-05/msg00008.html))
- grep ([3.11](https://lists.gnu.org/archive/html/info-gnu/2023-05/msg00004.html))
- hwdata ([0.371](https://github.com/vcrhonek/hwdata/commits/v0.371))
- iproute ([6.3.0](https://lwn.net/Articles/930473/))
- less ([633](http://www.greenwoodsoftware.com/less/news.633.html))
- pciutils ([3.10.0](https://github.com/pciutils/pciutils/blob/v3.10.0/ChangeLog))
- portage ([3.0.46](https://gitweb.gentoo.org/proj/portage.git/tree/NEWS?h=portage-3.0.46))
- gdb ([13.2](https://lists.gnu.org/archive/html/info-gnu/2023-05/msg00011.html))
- intel-microcode ([20230512](https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/releases/tag/microcode-20230512))
- multipath-tools ([0.9.5](https://github.com/opensvc/multipath-tools/commits/0.9.5))
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
=dev-embedded/u-boot-tools-2021.04_rc2 ~arm64
=dev-lang/nasm-2.15.05 ~arm64

# Keep versions on both arches in sync.
=dev-lang/python-3.10.12 ~amd64

# Accept unstable host Rust compilers
=dev-lang/rust-1.70.0 ~amd64 ~arm64

Expand All @@ -31,11 +34,7 @@
# Keep versions on both arches in sync.
=dev-libs/ding-libs-0.6.1-r1 ~arm64
=dev-libs/libgcrypt-1.10.1-r3 ~arm64
=dev-util/bpftool-6.2.1 ~arm64

# Required for addressing CVE-2023-31124, CVE-2023-31130,
# CVE-2023-31147 and CVE-2023-32067.
=net-dns/c-ares-1.19.1 ~amd64 ~arm64
=dev-util/bpftool-6.3 ~arm64

# Keep versions on both arches in sync.
=net-firewall/conntrack-tools-1.4.6-r1 ~arm64
Expand All @@ -48,18 +47,18 @@
=net-libs/libnetfilter_cttimeout-1.0.0-r1 ~arm64

# Required for addressing CVE-2023-28319, CVE-2023-28320, CVE-2023-28321 and CVE-2023-28322.
=net-misc/curl-8.1.0-r1 ~amd64 ~arm64
=net-misc/curl-8.1.2 ~amd64 ~arm64

# Keep versions on both arches in sync.
=sec-policy/selinux-base-2.20200818-r2 ~arm64
=sec-policy/selinux-base-policy-2.20200818-r2 ~arm64
=sec-policy/selinux-unconfined-2.20200818-r2 ~arm64
=sec-policy/selinux-virt-2.20200818-r2 ~arm64
=sys-apps/checkpolicy-3.1 ~arm64

# Keep versions on both arches in sync.
=sys-apps/coreutils-9.3-r2 ~arm64
=sys-apps/kexec-tools-2.0.24 ~arm64
=sys-apps/policycoreutils-3.1-r3 ~arm64
=sys-apps/sandbox-2.30-r1 ~arm64
=sys-apps/semodule-utils-3.1 ~arm64

# Needed to force enable ipvsadm for arm64.
Expand All @@ -72,7 +71,7 @@
=sys-fs/cryptsetup-2.4.3-r1 ~amd64 ~arm64

# Keep versions on both arches in sync.
=sys-fs/multipath-tools-0.9.4-r1 ~amd64
=sys-fs/multipath-tools-0.9.5 ~amd64
=sys-libs/libselinux-3.1-r2 ~arm64
=sys-libs/libsemanage-3.1-r1 ~arm64
=sys-libs/libsepol-3.1 ~arm64
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@
# that results from the migration (python -> virtual/libcrypt ->
# libxcrypt -> glibc -> python).
=virtual/libcrypt-1-r1

# Overwrite portage-stable mask. We haven't seen LLVM related problems
# with rust so far, so keep using 1.70.0.
~dev-lang/rust-1.70.0
~dev-lang/rust-bin-1.70.0
~virtual/rust-1.70.0
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ sys-libs/glibc crypt

# Do not force this flag, we don't need XATTR_PAX
sys-apps/portage -xattr

# Force openssl provider for net-misc/curl
net-misc/curl ssl openssl curl_ssl_openssl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2020 Gentoo Authors
# Copyright 2020-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
DIST eselect-1.4.17.tar.xz 178980 BLAKE2B d905ac88bc009080912af75e64c7920d745788866fa3cb35466d68a652efbbd6984d6e1efeed76d9a344aed94705b74c85aa43e9c037d4d548d2e24afa69bd7a SHA512 35dc4c52f44c4f64db9c0dc2aec57b3055a6d36760b1bbbd094ad11b3f9e71a731444802632817b89c3b511f1dc9bb92046b59322d177e13fdc501ed767b591e
DIST eselect-1.4.20.tar.xz 180272 BLAKE2B 424653d00eda45335c3aaae50f6fbf2e89486da4529f657596516352f3b7fcb9859ceb2dc5b9762a34c44fb64e645fa27c46b86453bf50be6e8ae820664a4289 SHA512 9589ed89c4d5d31f71d535886eb50da67b84dec8a13a5df081e7569efee861dede4eaa43a0bfb9930c5b95d4f334e19245cb8820a73f7361527da262da1d1fb2
DIST eselect-1.4.22.tar.xz 183480 BLAKE2B 8f86bdddaf98bc075694bdf7283cbd366e0ef93635472b3bbac11fdd9765984cd82e493b16836bae66e4b2c42a9cb33ad0d2aacaaf8529b59e4898e11f172d26 SHA512 73a10278d604f462aefa099df398eec2b08aee33da69419351ff2faf1cf4c0f3de0f301d92015e52da63046fe7e2c1c388e11ac84b7deb3def505a59fa291dac
DIST eselect-1.4.25.tar.xz 184300 BLAKE2B 630fe27338bee0c921a2f90e42d0a8abbb60a141a82bc2c4e7cf43d37582c24b06986ae1cbd341f8d3e69d011edc6c29675bf91ceaf1dcbc2593086f451b8f5f SHA512 98f2752d61e2c31ff6d735d5df0e7d98c3cc51d51c26b71d796948b141ccbc017002185022e6e1e48660ae0012bfc9cd383dd5ac50f644b35bb0893b9271121b
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 @@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~ulm/eselect/${P}.tar.xz"

LICENSE="GPL-2+ || ( GPL-2+ CC-BY-SA-4.0 )"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-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="doc emacs vim-syntax"

DEPEND="sys-apps/sed
Expand All @@ -26,6 +26,8 @@ BDEPEND="doc? ( dev-python/docutils )"
PDEPEND="emacs? ( app-emacs/eselect-mode )
vim-syntax? ( app-vim/eselect-syntax )"

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

src_compile() {
emake
use doc && emake html
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
Expand All @@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~ulm/eselect/${P}.tar.xz"

LICENSE="GPL-2+ || ( GPL-2+ CC-BY-SA-4.0 )"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-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="doc emacs vim-syntax"

DEPEND="sys-apps/sed
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
env.eselect: More robust file type detection
https://bugs.gentoo.org/908401

--- a/modules/env.eselect
+++ b/modules/env.eselect
@@ -46,9 +46,10 @@ is_envfile() {
[[ -n ${envfile##*~} ]] || return 1
[[ ${envfile##*.} != bak ]] || return 1

- mime=$(POSIXLY_CORRECT=1 file -i "${envfile}" \
- | cut -d ' ' -f 2 | sed -e 's/;$//')
- if ! has ${mime} ${MIME_WHITELIST}; then
+ mime=$(POSIXLY_CORRECT=1 file -bi -e soft "${envfile}") \
+ || die "'file' command failed"
+ mime=${mime%%;*}
+ if ! has "${mime}" ${MIME_WHITELIST}; then
echo "Skipping non-text file ${envfile}."
return 1
fi
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@
<email>eselect@gentoo.org</email>
<name>eselect configuration and management tool</name>
</maintainer>
<upstream>
<remote-id type="gentoo">proj/eselect</remote-id>
</upstream>
</pkgmetadata>
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/cpio/${P}.tar.bz2"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~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="nls"

PDEPEND="
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz

LICENSE="BSD-1"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~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=""

DEPEND=""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ else
"

if [[ ${PV} != *_alpha* && ${PV} != *_beta* ]] ; 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

S="${WORKDIR}/${MY_P}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST libmd-1.0.4.tar.xz 264472 BLAKE2B ddc2da74635f5cc009c66a58ae82b83e6e0930e18af8a6b0ecec7cbf378246707b493a99fb97d3491d0d626a0d5ef068baea6a3ba2ec311c5a1516ba5b4e2fd5 SHA512 731553ecc5e0e1eb228cced8fccd531fe31fb5c7627ca30013d287e1aeb8222959cf7498fbb7414bbabb967b25d4e8b0edd54fc47f6ccf55fc91087db0725ce3
DIST libmd-1.1.0.tar.xz 271228 BLAKE2B a4dc72be4a46609d41453b19ba3110043e74fd0810d59f872e11151dbe87b0bdab203ef72c9d19255db32493b229bc0d33549e787979a42db08c838a810e1cdc SHA512 5d0da3337038e474fae7377bbc646d17214e72dc848a7aadc157f49333ce7b5ac1456e45d13674bd410ea08477c6115fc4282fed6c8e6a0bf63537a418c0df96
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit multilib-minimal

DESCRIPTION="Message Digest functions from BSD systems"
HOMEPAGE="https://www.hadrons.org/software/libmd/"
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"

multilib_src_configure() {
ECONF_SOURCE="${S}" econf
}

multilib_src_install_all() {
einstalldocs
find "${ED}" -type f -name '*.la' -delete || die
}
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST krb5-1.20.1.tar.gz 8661660 BLAKE2B ead16f8b1aec8bba3776628b74257c9aec891770c1fa6d5c5e66275db5f078ca59c9944cd2b017453b777ce080f8e5a322f735fab77691479cfad7b881b92830 SHA512 6f57479f13f107cd84f30de5c758eb6b9fc59171329c13e5da6073b806755f8d163eb7bd84767ea861ad6458ea0c9eeb00ee044d3bcad01ef136e9888564b6a2
DIST krb5-1.21.tar.gz 8622539 BLAKE2B 0f3a899dc1758ea013ebad3aae80605c14f0f6713919d005e799162a0c50a162f33d924c74a6f87ce225e1ab3847df2c0effb25b772fe259e7401531964b696f SHA512 8ee2366888f6d553a44fc642a89c69a57dbc1ec4c89a36b9ba8b00584a9a32c73a2b0566ba5f21852ad9617046666c276dac402393bf8eb19fbe0c07a838071a
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 "mit-krb5kpropd@.service"
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
Expand Up @@ -84,7 +84,7 @@ color magenta ":[^[:space:]]+([[:space:]]|$)"
color brightred "[[:space:]]+\+?[A-Za-z0-9+_@-]+"
color brightblue "[[:space:]]+-[A-Za-z0-9+_@-]+"
## Accepted arches:
color white "[~-]?\<(alpha|amd64|arm(64)?|hppa|ia64|loong|m68k|mips|ppc(64)?|riscv|s390|sparc|x86)(-(cygwin|linux|macos|solaris|winnt))?\>"
color white "[~-]?\<(alpha|amd64|arm(64)?|hppa|ia64|loong|m68k|mips|ppc(64)?|riscv|s390|sparc|x86)(-(linux|macos|solaris))?\>"
color white "[[:space:]][*~-]?\*"
## Categories:
color cyan "^[[:space:]]*[^/]*/"
Expand Down
Loading
Loading