summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-editors/emacs/emacs-26.3-r7.ebuild2
-rw-r--r--dev-lang/ruby/ruby-2.6.10.ebuild2
-rw-r--r--dev-lang/ruby/ruby-2.7.6.ebuild2
-rw-r--r--dev-lua/luasocket/luasocket-3.0.0.ebuild2
-rw-r--r--dev-python/twisted/twisted-22.4.0.ebuild2
-rw-r--r--eclass/autotools.eclass2
-rw-r--r--media-gfx/plantuml/plantuml-1.2022.3.ebuild2
-rw-r--r--metadata/install-qa-check.d/60udev-eclass63
-rw-r--r--net-libs/libad9361-iio/libad9361-iio-0.2.ebuild4
-rw-r--r--net-libs/libiio/libiio-0.21.ebuild4
-rw-r--r--net-wireless/gr-osmosdr/gr-osmosdr-0.2.3.ebuild4
-rw-r--r--net-wireless/soapybladerf/soapybladerf-0.4.1.ebuild4
-rw-r--r--net-wireless/soapyhackrf/soapyhackrf-0.3.3-r1.ebuild4
-rw-r--r--net-wireless/soapyplutosdr/soapyplutosdr-0.2.1.ebuild4
-rw-r--r--net-wireless/soapyrtlsdr/soapyrtlsdr-0.3.2.ebuild4
-rw-r--r--net-wireless/soapysdr/soapysdr-0.7.2.ebuild4
-rw-r--r--net-wireless/soapyuhd/soapyuhd-0.4.1.ebuild4
-rw-r--r--profiles/arch/riscv/package.use.mask5
18 files changed, 93 insertions, 25 deletions
diff --git a/app-editors/emacs/emacs-26.3-r7.ebuild b/app-editors/emacs/emacs-26.3-r7.ebuild
index 144c1f63fbbc..ef47cdc50bde 100644
--- a/app-editors/emacs/emacs-26.3-r7.ebuild
+++ b/app-editors/emacs/emacs-26.3-r7.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/emacs/${P}.tar.xz
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
SLOT="26"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gfile gif gpm gsettings gtk gui gzip-el imagemagick +inotify jpeg kerberos lcms libxml2 livecd m17n-lib mailutils motif png selinux sound source ssl svg systemd +threads tiff toolkit-scroll-bars wide-int Xaw3d xft +xpm xwidgets zlib"
RDEPEND="app-emacs/emacs-common[games?,gui(-)?]
diff --git a/dev-lang/ruby/ruby-2.6.10.ebuild b/dev-lang/ruby/ruby-2.6.10.ebuild
index a8af3d34a265..8970a3c43c58 100644
--- a/dev-lang/ruby/ruby-2.6.10.ebuild
+++ b/dev-lang/ruby/ruby-2.6.10.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="https://www.ruby-lang.org/"
SRC_URI="https://cache.ruby-lang.org/pub/ruby/${SLOT}/${MY_P}.tar.xz"
LICENSE="|| ( Ruby-BSD BSD-2 )"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc jit +rdoc rubytests socks5 +ssl static-libs systemtap tk xemacs"
RDEPEND="
diff --git a/dev-lang/ruby/ruby-2.7.6.ebuild b/dev-lang/ruby/ruby-2.7.6.ebuild
index 75675773f5d2..017e865f9b1b 100644
--- a/dev-lang/ruby/ruby-2.7.6.ebuild
+++ b/dev-lang/ruby/ruby-2.7.6.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="https://www.ruby-lang.org/"
SRC_URI="https://cache.ruby-lang.org/pub/ruby/${SLOT}/${MY_P}.tar.xz"
LICENSE="|| ( Ruby-BSD BSD-2 )"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc jit +rdoc rubytests socks5 +ssl static-libs systemtap tk xemacs"
RDEPEND="
diff --git a/dev-lua/luasocket/luasocket-3.0.0.ebuild b/dev-lua/luasocket/luasocket-3.0.0.ebuild
index 0c96acb1a3ae..5669bee2a881 100644
--- a/dev-lua/luasocket/luasocket-3.0.0.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/lunarmodules/${PN}/archive/refs/tags/v${PV}.tar.gz -
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="test"
diff --git a/dev-python/twisted/twisted-22.4.0.ebuild b/dev-python/twisted/twisted-22.4.0.ebuild
index 249b215f2896..b776c0e9aee8 100644
--- a/dev-python/twisted/twisted-22.4.0.ebuild
+++ b/dev-python/twisted/twisted-22.4.0.ebuild
@@ -19,7 +19,7 @@ S=${WORKDIR}/${PN}-${P}
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
IUSE="conch crypt http2 serial test"
RESTRICT="!test? ( test )"
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index e6658e361318..b8eeb55fd8f2 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -523,7 +523,7 @@ autotools_env_setup() {
hv_args="-b"
;;
esac
- ROOT=/ has_version ${hv_args} "=sys-devel/automake-${pv}*" && export WANT_AUTOMAKE="${pv}" && break
+ has_version ${hv_args} "=sys-devel/automake-${pv}*" && export WANT_AUTOMAKE="${pv}" && break
done
[[ ${WANT_AUTOMAKE} == "latest" ]] && \
die "Cannot find the latest automake! Tried ${_LATEST_AUTOMAKE[*]}"
diff --git a/media-gfx/plantuml/plantuml-1.2022.3.ebuild b/media-gfx/plantuml/plantuml-1.2022.3.ebuild
index c1ad0e0aaa4f..8ba5d39fd289 100644
--- a/media-gfx/plantuml/plantuml-1.2022.3.ebuild
+++ b/media-gfx/plantuml/plantuml-1.2022.3.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://plantuml.com"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
DEPEND=">=virtual/jdk-1.8:*"
diff --git a/metadata/install-qa-check.d/60udev-eclass b/metadata/install-qa-check.d/60udev-eclass
new file mode 100644
index 000000000000..cf8e08e9971e
--- /dev/null
+++ b/metadata/install-qa-check.d/60udev-eclass
@@ -0,0 +1,63 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# QA check: ensure that packages installing udev rules inherit the eclass
+# Maintainer: Sam James <sam@gentoo.org>
+
+# Implements three checks:
+# 1) Installation to /etc/udev/rules.d (which is a user-customization location);
+# 2) Installation of any udev rules to /lib/udev/rules.d without inheriting the eclass
+# (needed for udev_reload in pkg_postinst);
+# 3) Check for installation of udev rules without calling udev_reload in
+# pkg_postinst.
+udev_rules_check() {
+ # Check 1
+ # Scan image for files in /etc/udev/rules.d which is a forbidden location
+ # (We use this glob to avoid triggering on keepdir)
+ shopt -s nullglob
+ local files=( "${ED}"/etc/udev/rules.d/* )
+ shopt -u nullglob
+
+ if [[ ${#files[@]} -gt 0 ]]; then
+ eqawarn "QA Notice: files installed to /etc/udev/rules.d found"
+ eqawarn "udev rules files supplied by ebuilds must be installed to /lib/udev/rules.d/"
+ fi
+
+ # Check 2
+ # We're now going to check for whether we install files to /lib/udev/rules.d/ without
+ # inheriting the eclass (weak catch for ebuilds not calling udev_reload in pkg_postinst)
+
+ if [[ -n ${UDEV_OPTIONAL} ]] ; then
+ # While imperfect, using ${UDEV_OPTIONAL} is good enough to allow opting out
+ # for e.g. sys-apps/portage, sys-apps/systemd, sys-libs/pam, etc. We may want
+ # a better/more standardised way to opt out from QA checks in future.
+ # It's okay for some packages to do this because of circular dependencies and such
+ # See: https://archives.gentoo.org/gentoo-dev/message/0a96793036a4fdd9ac311a46950d7e7b
+ return
+ fi
+
+ if [[ -d "${ED}"/lib/udev/rules.d/ ]] ; then
+ if ! has udev ${INHERITED} ; then
+ eqawarn "QA Notice: package is installing udev ruleswithout inheriting udev.eclass!"
+ eqawarn "Packages must inherit udev.eclass then call udev_reload in pkg_postinst."
+ return
+ fi
+
+ # Check 3
+ # Check whether we're installing udev rules without explicitly
+ # calling udev_reload in pkg_postinst, but we have inherited
+ # the eclass.
+ # Small risk of false positives if called indirectly.
+ # See: https://archives.gentoo.org/gentoo-dev/message/7bdfdc9a7560fd07436defd0253af0b8
+ local pkg_postinst_body="$(declare -fp pkg_postinst 2>&1)"
+ if [[ ! ${pkg_postinst_body} == *udev_reload* ]] ; then
+ eqawarn "QA Notice: package is installing udev rules without calling"
+ eqawarn "udev_reload in pkg_postinst phase"
+ fi
+ fi
+}
+
+udev_rules_check
+: # guarantee successful exit
+
+# vim:ft=sh
diff --git a/net-libs/libad9361-iio/libad9361-iio-0.2.ebuild b/net-libs/libad9361-iio/libad9361-iio-0.2.ebuild
index 630cb27fb6e9..50286e07793d 100644
--- a/net-libs/libad9361-iio/libad9361-iio-0.2.ebuild
+++ b/net-libs/libad9361-iio/libad9361-iio-0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -11,7 +11,7 @@ if [ "${PV}" = "9999" ]; then
inherit git-r3
else
SRC_URI="https://github.com/analogdevicesinc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="~amd64 ~riscv ~x86"
fi
LICENSE="LGPL-2.1"
diff --git a/net-libs/libiio/libiio-0.21.ebuild b/net-libs/libiio/libiio-0.21.ebuild
index 66f1603cbe68..bd8c312d30af 100644
--- a/net-libs/libiio/libiio-0.21.ebuild
+++ b/net-libs/libiio/libiio-0.21.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -12,7 +12,7 @@ if [ "${PV}" = "9999" ]; then
inherit git-r3
else
SRC_URI="https://github.com/analogdevicesinc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="~amd64 ~riscv ~x86"
fi
LICENSE="LGPL-2.1"
diff --git a/net-wireless/gr-osmosdr/gr-osmosdr-0.2.3.ebuild b/net-wireless/gr-osmosdr/gr-osmosdr-0.2.3.ebuild
index f7033fd6e361..700654075138 100644
--- a/net-wireless/gr-osmosdr/gr-osmosdr-0.2.3.ebuild
+++ b/net-wireless/gr-osmosdr/gr-osmosdr-0.2.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,7 +14,7 @@ if [[ ${PV} == 9999* ]]; then
EGIT_REPO_URI="https://github.com/osmocom/gr-osmosdr.git"
else
SRC_URI="https://github.com/osmocom/gr-osmosdr/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~x86"
+ KEYWORDS="~amd64 ~arm ~riscv ~x86"
fi
LICENSE="GPL-3"
diff --git a/net-wireless/soapybladerf/soapybladerf-0.4.1.ebuild b/net-wireless/soapybladerf/soapybladerf-0.4.1.ebuild
index 6d0f42506d10..cbaf30d96b39 100644
--- a/net-wireless/soapybladerf/soapybladerf-0.4.1.ebuild
+++ b/net-wireless/soapybladerf/soapybladerf-0.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -12,7 +12,7 @@ if [ "${PV}" = "9999" ]; then
EGIT_REPO_URI="https://github.com/pothosware/SoapyBladeRF.git"
inherit git-r3
else
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="~amd64 ~riscv ~x86"
SRC_URI="https://github.com/pothosware/SoapyBladeRF/archive/soapy-bladerf-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/SoapyBladeRF-soapy-bladerf-"${PV}"
fi
diff --git a/net-wireless/soapyhackrf/soapyhackrf-0.3.3-r1.ebuild b/net-wireless/soapyhackrf/soapyhackrf-0.3.3-r1.ebuild
index 7f6aa51fbd67..9b6e41d1c592 100644
--- a/net-wireless/soapyhackrf/soapyhackrf-0.3.3-r1.ebuild
+++ b/net-wireless/soapyhackrf/soapyhackrf-0.3.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -12,7 +12,7 @@ if [ "${PV}" = "9999" ]; then
EGIT_REPO_URI="https://github.com/pothosware/SoapyHackRF.git"
inherit git-r3
else
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="~amd64 ~riscv ~x86"
SRC_URI="https://github.com/pothosware/SoapyHackRF/archive/soapy-hackrf-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/SoapyHackRF-soapy-hackrf-"${PV}"
fi
diff --git a/net-wireless/soapyplutosdr/soapyplutosdr-0.2.1.ebuild b/net-wireless/soapyplutosdr/soapyplutosdr-0.2.1.ebuild
index 813d3574f115..25bda885c613 100644
--- a/net-wireless/soapyplutosdr/soapyplutosdr-0.2.1.ebuild
+++ b/net-wireless/soapyplutosdr/soapyplutosdr-0.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -12,7 +12,7 @@ if [ "${PV}" = "9999" ]; then
EGIT_REPO_URI="https://github.com/pothosware/SoapyPlutoSDR.git"
inherit git-r3
else
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="~amd64 ~riscv ~x86"
COMMIT="782650597b18f311cc97fbb7c6813539e6adef16"
SRC_URI="https://github.com/pothosware/SoapyPlutoSDR/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/SoapyPlutoSDR-${COMMIT}
diff --git a/net-wireless/soapyrtlsdr/soapyrtlsdr-0.3.2.ebuild b/net-wireless/soapyrtlsdr/soapyrtlsdr-0.3.2.ebuild
index c69214fbee0c..a7f4afddc332 100644
--- a/net-wireless/soapyrtlsdr/soapyrtlsdr-0.3.2.ebuild
+++ b/net-wireless/soapyrtlsdr/soapyrtlsdr-0.3.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -12,7 +12,7 @@ if [ "${PV}" = "9999" ]; then
EGIT_REPO_URI="https://github.com/pothosware/SoapyRTLSDR.git"
inherit git-r3
else
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="~amd64 ~riscv ~x86"
SRC_URI="https://github.com/pothosware/SoapyRTLSDR/archive/soapy-rtl-sdr-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/SoapyRTLSDR-soapy-rtl-sdr-"${PV}"
fi
diff --git a/net-wireless/soapysdr/soapysdr-0.7.2.ebuild b/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
index 0d446573c63d..f9ebcebd59f1 100644
--- a/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
+++ b/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -15,7 +15,7 @@ if [ "${PV}" = "9999" ]; then
EGIT_CLONE_TYPE="shallow"
inherit git-r3
else
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="~amd64 ~riscv ~x86"
SRC_URI="https://github.com/pothosware/SoapySDR/archive/soapy-sdr-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/SoapySDR-soapy-sdr-"${PV}"
fi
diff --git a/net-wireless/soapyuhd/soapyuhd-0.4.1.ebuild b/net-wireless/soapyuhd/soapyuhd-0.4.1.ebuild
index dba31a72d677..9e56c6865685 100644
--- a/net-wireless/soapyuhd/soapyuhd-0.4.1.ebuild
+++ b/net-wireless/soapyuhd/soapyuhd-0.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -12,7 +12,7 @@ if [ "${PV}" = "9999" ]; then
EGIT_REPO_URI="https://github.com/pothosware/SoapyUHD.git"
inherit git-r3
else
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="~amd64 ~riscv ~x86"
SRC_URI="https://github.com/pothosware/SoapyUHD/archive/soapy-uhd-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/SoapyUHD-soapy-uhd-"${PV}"
fi
diff --git a/profiles/arch/riscv/package.use.mask b/profiles/arch/riscv/package.use.mask
index 4cc691148857..52b6aa014de4 100644
--- a/profiles/arch/riscv/package.use.mask
+++ b/profiles/arch/riscv/package.use.mask
@@ -1,6 +1,11 @@
# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Marek Szuba <marecki@gmail.com> (2022-04-30)
+# net-wireless/sdrplay contains prebuilt binaries, currently available
+# upstream only for amd64/x86 and arm
+net-wireless/gr-osmosdr sdrplay
+
# Yixun Lan <dlan@gentoo.org> (2022-04-30)
# net-misc/memcached has test failure (bug #811477)
net-ftp/proftpd memcache