mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
Merge updates from master
This commit is contained in:
@@ -19,8 +19,10 @@ KEYWORDS="~amd64 ~arm64"
|
||||
# tests don't work due to "missing files"
|
||||
RESTRICT+=" test"
|
||||
|
||||
BDEPEND="dev-util/promu"
|
||||
|
||||
BDEPEND="
|
||||
>=dev-lang/go-1.25.0
|
||||
dev-util/promu
|
||||
"
|
||||
DEPEND="
|
||||
acct-group/alertmanager
|
||||
acct-user/alertmanager
|
||||
|
||||
@@ -19,7 +19,10 @@ COMMON_DEPEND="acct-group/blackbox_exporter
|
||||
acct-user/blackbox_exporter"
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
BDEPEND="dev-util/promu"
|
||||
BDEPEND="
|
||||
>=dev-lang/go-1.25.0
|
||||
dev-util/promu
|
||||
"
|
||||
|
||||
FILECAPS=(
|
||||
cap_net_raw usr/bin/blackbox_exporter
|
||||
|
||||
@@ -15,7 +15,7 @@ S="${WORKDIR}"/${P}-source
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="archive barcode brotli +javascript +jpeg2k opengl ssl X"
|
||||
REQUIRED_USE="opengl? ( javascript )"
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2
|
||||
LICENSE="MIT"
|
||||
SLOT="0/10"
|
||||
if [[ $(ver_cut 3) -lt 900 ]] ; then
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
|
||||
fi
|
||||
IUSE="doc input_devices_wacom lua test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
PYTHON_COMPAT=( python3_{12..15} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@@ -25,6 +25,8 @@ SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE="examples"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/15-setup.patch )
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
# skip symlink meant for development
|
||||
|
||||
32
dev-python/btrfs/files/15-setup.patch
Normal file
32
dev-python/btrfs/files/15-setup.patch
Normal file
@@ -0,0 +1,32 @@
|
||||
https://github.com/knorrie/python-btrfs/issues/55
|
||||
https://github.com/knorrie/python-btrfs/commit/7d27aa6665bd38ad05b6eb990dd3bfd5394ee37f
|
||||
|
||||
From: Hans van Kranenburg <hans@knorrie.org>
|
||||
Date: Sun, 10 May 2026 10:59:27 +0200
|
||||
Subject: [PATCH] setup.py: convert license classifier to SPDX
|
||||
|
||||
setuptools >75.6.0 wants to see the license type specified differently.
|
||||
Use SPDX identifier instead of the now unused field in classifiers.
|
||||
|
||||
Thanks Holger Hoffstätte, for reporting.
|
||||
---
|
||||
setup.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 744bf26..25ca48a 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -56,11 +56,11 @@ def get_version():
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Intended Audience :: Developers',
|
||||
'Intended Audience :: System Administrators',
|
||||
- 'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
|
||||
'Programming Language :: Python :: 3 :: Only',
|
||||
'Programming Language :: Python :: Implementation :: CPython',
|
||||
'Operating System :: POSIX :: Linux',
|
||||
'Topic :: System :: Filesystems',
|
||||
'Topic :: System :: Systems Administration',
|
||||
],
|
||||
+ license='LGPL-3.0-or-later',
|
||||
)
|
||||
@@ -26,7 +26,7 @@ LICENSE+=" Apache-2.0"
|
||||
# admin icons, jquery, xregexp.js
|
||||
LICENSE+=" MIT"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86 ~x64-macos"
|
||||
IUSE="doc sqlite test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
DIST dnsmasq-2.92rel2.tar.xz 638020 BLAKE2B 4dd6b286c1f361673fea32ed3e0c3144fa3f873bfc0ec699c05c47da52371ee0f57abf15a851933c8967015bda3cd1f62e07c8ece875891c3660d02bb55677a5 SHA512 607abf33d6eac24eafdff9cd291d84b065354303d5e1d9514d79085b247fb3861ac57851ca1dfc4a5cddd314f8b970d17e93b987b1576e9f6ba1d6bffd42fff1
|
||||
DIST dnsmasq-2.92rel2.tar.xz.asc 833 BLAKE2B 0544e86f5c7eb3141a8d19a7b3234fb0e52f308462a0ccc3843d37af644d079e928fa53eb38672b78fd7fc067982c87b74adc848b3fc0055d91e314b5c31a88e SHA512 140161d89287ab46fe15f7b68264a166e1a1f1a019cc781b0013a6345790e3f75186a023b32e526e7b5c05584734dfaff7e3b76b3c01878c0d22d9f6a039fcde
|
||||
DIST dnsmasq-2.93.tar.xz 642764 BLAKE2B 19b4d434e2d98b9946a59dc8ffb9b67ff97731d8375d093652da59c830b84469c221ba587e479293bdc537175b9688474bda37091b2f075df5d7eea8e091cd9d SHA512 ee442c634c54f103e034ee5259f1802895f9e9d172891f14c644e260519da73f5dd6f28b75cb84c0b1cc5f9ec464ba8f40c87095fa96719cb0df831eae0887ee
|
||||
DIST dnsmasq-2.93.tar.xz.asc 833 BLAKE2B 880f4004dd41e5f80fa5f3c4b700e7f330d70973ec3b53210153ac64bd2362470d377d3d06ede7498381f7a6a841eee356a56ce1f3da32ebca62ea7172c0a8cb SHA512 13b34102d8593fab8c859ca839ec240478e2382c35251afb3d69b73124a4826031d8945fe33c92f9b5302e49b1789f3db5c0d7ae98118aeba4ee317767c46dd9
|
||||
|
||||
237
net-dns/dnsmasq/dnsmasq-2.93.ebuild
Normal file
237
net-dns/dnsmasq/dnsmasq-2.93.ebuild
Normal file
@@ -0,0 +1,237 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LUA_COMPAT=( lua5-{1..4} luajit )
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/simonkelley.asc
|
||||
inherit toolchain-funcs lua-single systemd verify-sig
|
||||
|
||||
MY_P="${P/_p/rel}"
|
||||
DESCRIPTION="Small forwarding DNS server"
|
||||
HOMEPAGE="https://thekelleys.org.uk/dnsmasq/doc.html"
|
||||
SRC_URI="
|
||||
https://thekelleys.org.uk/dnsmasq/${MY_P}.tar.xz
|
||||
verify-sig? ( https://thekelleys.org.uk/dnsmasq/${MY_P}.tar.xz.asc )
|
||||
"
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
IUSE="auth-dns conntrack dbus +dhcp dhcp-tools dnssec +dumpfile id idn libidn2"
|
||||
IUSE+=" +loop +inotify ipv6 lua nettlehash nls script selinux static tftp"
|
||||
|
||||
DM_LINGUAS=(de es fi fr id it no pl pt_BR ro)
|
||||
|
||||
BDEPEND="
|
||||
app-arch/xz-utils
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
verify-sig? ( sec-keys/openpgp-keys-simonkelley )
|
||||
"
|
||||
|
||||
COMMON_DEPEND="
|
||||
acct-group/dnsmasq
|
||||
acct-user/dnsmasq
|
||||
dbus? ( sys-apps/dbus:= )
|
||||
idn? (
|
||||
!libidn2? ( net-dns/libidn:0= )
|
||||
libidn2? ( >=net-dns/libidn2-2.0:= )
|
||||
)
|
||||
lua? ( ${LUA_DEPS} )
|
||||
conntrack? ( net-libs/libnetfilter_conntrack:= )
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dnssec? (
|
||||
dev-libs/nettle:=[gmp]
|
||||
static? ( >=dev-libs/nettle-3.4[static-libs(+)] )
|
||||
)
|
||||
nettlehash? (
|
||||
static? ( >=dev-libs/nettle-3.4[static-libs(+)] )
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
dnssec? (
|
||||
!static? ( >=dev-libs/nettle-3.4:=[gmp] )
|
||||
)
|
||||
nettlehash? (
|
||||
!static? ( dev-libs/nettle:=[gmp] )
|
||||
)
|
||||
selinux? ( sec-policy/selinux-dnsmasq )
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
dhcp-tools? ( dhcp )
|
||||
dnssec? ( !nettlehash )
|
||||
lua? (
|
||||
script
|
||||
${LUA_REQUIRED_USE}
|
||||
)
|
||||
libidn2? ( idn )
|
||||
"
|
||||
|
||||
use_have() {
|
||||
local no_only
|
||||
if [[ ${1} == '-n' ]]; then
|
||||
no_only=1
|
||||
shift
|
||||
fi
|
||||
local useflag="${1}"
|
||||
shift
|
||||
|
||||
local uword="${1:-${useflag}}"
|
||||
shift
|
||||
|
||||
while [[ ${uword} ]]; do
|
||||
uword="${uword^^}"
|
||||
|
||||
if ! use "${useflag}"; then
|
||||
printf -- " -DNO_%s" "${uword}"
|
||||
elif [[ -z "${no_only}" ]]; then
|
||||
printf -- " -DHAVE_%s" "${uword}"
|
||||
fi
|
||||
uword="${1}"
|
||||
shift
|
||||
done
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use lua && lua-single_pkg_setup
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if use static; then
|
||||
einfo "Only sys-libs/gmp and dev-libs/nettle are statically linked."
|
||||
use dnssec || einfo "Thus, ${P}[!dnssec,static] makes no sense;" \
|
||||
"in this case the static USE flag does nothing."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i "s:%%PREFIX%%:${EPREFIX}/usr:" \
|
||||
dnsmasq.conf.example || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
COPTS=(
|
||||
$(use_have -n auth-dns auth)
|
||||
$(use_have conntrack)
|
||||
$(use_have dbus)
|
||||
$(use libidn2 || use_have idn)
|
||||
$(use_have libidn2)
|
||||
$(use_have -n inotify)
|
||||
$(use_have -n dhcp dhcp dhcp6)
|
||||
$(use_have -n ipv6 ipv6 dhcp6)
|
||||
$(use_have -n id id)
|
||||
$(use_have -n loop)
|
||||
$(use_have lua luascript)
|
||||
$(use_have -n script)
|
||||
$(use_have -n tftp)
|
||||
$(use_have dnssec)
|
||||
$(use_have nettlehash)
|
||||
$(use_have static dnssec_static)
|
||||
$(use_have -n dumpfile)
|
||||
)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
PREFIX=/usr \
|
||||
MANDIR=/usr/share/man \
|
||||
CC="$(tc-getCC)" \
|
||||
PKG_CONFIG="$(tc-getPKG_CONFIG)" \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
COPTS="${COPTS[*]}" \
|
||||
CONFFILE="/etc/${PN}.conf" \
|
||||
all$(use nls && printf -- "-i18n\n")
|
||||
|
||||
use dhcp-tools && emake -C contrib/lease-tools \
|
||||
PREFIX=/usr \
|
||||
MANDIR=/usr/share/man \
|
||||
CC="$(tc-getCC)" \
|
||||
PKG_CONFIG="$(tc-getPKG_CONFIG)" \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local lingua puid
|
||||
emake \
|
||||
PREFIX=/usr \
|
||||
MANDIR=/usr/share/man \
|
||||
CC="$(tc-getCC)" \
|
||||
PKG_CONFIG="$(tc-getPKG_CONFIG)" \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
COPTS="${COPTS[*]}" \
|
||||
CONFFILE="/etc/${PN}.conf" \
|
||||
DESTDIR="${ED}" \
|
||||
install$(use nls && printf -- "-i18n\n")
|
||||
|
||||
for lingua in "${DM_LINGUAS[@]}"; do
|
||||
has ${lingua} ${LINGUAS-${lingua}} \
|
||||
|| rm -rf "${ED}"/usr/share/locale/${lingua}
|
||||
done
|
||||
[[ -d "${D}"/usr/share/locale/ ]] && \
|
||||
rmdir --ignore-fail-on-non-empty "${ED}"/usr/share/locale/
|
||||
|
||||
dodoc CHANGELOG CHANGELOG.archive FAQ dnsmasq.conf.example
|
||||
dodoc -r logo
|
||||
|
||||
docinto html/
|
||||
dodoc *.html
|
||||
|
||||
newinitd "${FILESDIR}"/dnsmasq-init-r4 ${PN}
|
||||
newconfd "${FILESDIR}"/dnsmasq.confd-r1 ${PN}
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/dnsmasq.logrotate ${PN}
|
||||
|
||||
insinto /etc
|
||||
newins dnsmasq.conf.example dnsmasq.conf
|
||||
|
||||
insinto /usr/share/dnsmasq
|
||||
doins trust-anchors.conf
|
||||
|
||||
if use dhcp; then
|
||||
keepdir /var/lib/misc
|
||||
newinitd "${FILESDIR}"/dnsmasq-init-dhcp-r3 ${PN}
|
||||
fi
|
||||
if use dbus; then
|
||||
insinto /etc/dbus-1/system.d
|
||||
doins dbus/dnsmasq.conf
|
||||
|
||||
docinto
|
||||
dodoc dbus/DBus-interface
|
||||
fi
|
||||
|
||||
if use dhcp-tools; then
|
||||
dosbin contrib/lease-tools/{dhcp_release,dhcp_lease_time}
|
||||
doman contrib/lease-tools/{dhcp_release,dhcp_lease_time}.1
|
||||
if use ipv6; then
|
||||
dosbin contrib/lease-tools/dhcp_release6
|
||||
doman contrib/lease-tools/dhcp_release6.1
|
||||
fi
|
||||
fi
|
||||
|
||||
systemd_newunit "${FILESDIR}"/${PN}.service-r1 ${PN}.service
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
[[ -f /var/lib/misc/dnsmasq.leases ]] && \
|
||||
cp /var/lib/misc/dnsmasq.leases "${T}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
[[ -f "${T}"/dnsmasq.leases ]] && \
|
||||
cp "${T}"/dnsmasq.leases /var/lib/misc/dnsmasq.leases
|
||||
}
|
||||
@@ -29,6 +29,8 @@ IUSE="symlink"
|
||||
|
||||
RDEPEND="symlink? ( !sys-process/parallel )"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
||||
|
||||
src_install() {
|
||||
dobin $(cargo_target_dir)/rust-parallel
|
||||
|
||||
|
||||
Reference in New Issue
Block a user