[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/files/

2024-07-27 Thread Mike Gilbert
commit: 12ec26086c33c4f620a9b8a2819b1953c986a8f6
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Jul 27 14:48:21 2024 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Jul 27 14:49:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12ec2608

sys-apps/pciutils: remove dead link

Closes: https://bugs.gentoo.org/936679
Signed-off-by: Mike Gilbert  gentoo.org>

 sys-apps/pciutils/files/conf.d-pciparm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sys-apps/pciutils/files/conf.d-pciparm 
b/sys-apps/pciutils/files/conf.d-pciparm
index f036b15ad20c..a1b08764187a 100644
--- a/sys-apps/pciutils/files/conf.d-pciparm
+++ b/sys-apps/pciutils/files/conf.d-pciparm
@@ -1,6 +1,3 @@
-# PCI tweaking article:
-# http://www.gentoo.org/doc/en/articles/hardware-stability-p2.xml
-#
 # Apply to all devices:
 # PCIPARM_ALL=""
 # Cards also can be addressed by vid:pid or by bus:slot.func



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2024-07-16 Thread Sam James
commit: a9c967d42b3cce5e72dafbda8caf471f90e8f680
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 17 04:59:02 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 17 04:59:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9c967d4

sys-apps/pciutils: Stabilize 3.13.0 x86, #936183

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.13.0.ebuild 
b/sys-apps/pciutils/pciutils-3.13.0.ebuild
index 0f02078eb466..57b9f333b119 100644
--- a/sys-apps/pciutils/pciutils-3.13.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.13.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2024-07-16 Thread Sam James
commit: 73e75c7a15063ee6d13306745cc26079fadd3a6a
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 17 04:55:04 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 17 04:55:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73e75c7a

sys-apps/pciutils: Stabilize 3.13.0 arm64, #936183

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.13.0.ebuild 
b/sys-apps/pciutils/pciutils-3.13.0.ebuild
index bfdf8f275866..0f02078eb466 100644
--- a/sys-apps/pciutils/pciutils-3.13.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.13.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2024-07-16 Thread Sam James
commit: 2c37f0a4a3666e0a79cb67d18902d612a3ee8cba
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 17 04:55:03 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 17 04:55:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c37f0a4

sys-apps/pciutils: Stabilize 3.13.0 sparc, #936183

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.13.0.ebuild 
b/sys-apps/pciutils/pciutils-3.13.0.ebuild
index 0933157f7cab..bfdf8f275866 100644
--- a/sys-apps/pciutils/pciutils-3.13.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.13.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2024-07-16 Thread Sam James
commit: bca8ac2dd632ae7e19fde4422a1b1dcc594c6c1d
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 17 04:43:49 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 17 04:43:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bca8ac2d

sys-apps/pciutils: Stabilize 3.13.0 arm, #936183

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.13.0.ebuild 
b/sys-apps/pciutils/pciutils-3.13.0.ebuild
index e0a748f1e159..0933157f7cab 100644
--- a/sys-apps/pciutils/pciutils-3.13.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.13.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2024-07-16 Thread Sam James
commit: 6d1384d08e8e00885951991f366fde46094c2110
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 17 04:43:47 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 17 04:43:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d1384d0

sys-apps/pciutils: Stabilize 3.13.0 ppc64, #936183

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.13.0.ebuild 
b/sys-apps/pciutils/pciutils-3.13.0.ebuild
index 6d1a770fcfb8..65b29c5a109a 100644
--- a/sys-apps/pciutils/pciutils-3.13.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.13.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2024-07-16 Thread Sam James
commit: aeed9444cecba89cfba9edc421869f16345630b9
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 17 04:43:48 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 17 04:43:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeed9444

sys-apps/pciutils: Stabilize 3.13.0 ppc, #936183

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.13.0.ebuild 
b/sys-apps/pciutils/pciutils-3.13.0.ebuild
index 65b29c5a109a..e0a748f1e159 100644
--- a/sys-apps/pciutils/pciutils-3.13.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.13.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2024-07-16 Thread Sam James
commit: 1553d267ecd1a9bc06b23e8b8e3bbab1d75d532a
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 17 04:36:17 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 17 04:36:17 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1553d267

sys-apps/pciutils: Stabilize 3.13.0 amd64, #936183

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.13.0.ebuild 
b/sys-apps/pciutils/pciutils-3.13.0.ebuild
index dd3c7a05627e..6d1a770fcfb8 100644
--- a/sys-apps/pciutils/pciutils-3.13.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.13.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2024-06-11 Thread Sam James
commit: 70e6b1f5c899438bf42723122462f98986902785
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun 12 05:02:21 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 12 05:02:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70e6b1f5

sys-apps/pciutils: add 3.13.0

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/Manifest   |   1 +
 sys-apps/pciutils/pciutils-3.13.0.ebuild | 173 +++
 2 files changed, 174 insertions(+)

diff --git a/sys-apps/pciutils/Manifest b/sys-apps/pciutils/Manifest
index 9fa3e0d36361..8621ab558ac2 100644
--- a/sys-apps/pciutils/Manifest
+++ b/sys-apps/pciutils/Manifest
@@ -1,2 +1,3 @@
 DIST pciutils-3.10.0.tar.gz 931711 BLAKE2B 
2e1255eb5508c9d1339f5bc772c2592a03cae4d8d097e8939748c9bb5d5d949be53d705d1b7d903f7ea88b2abeea91e39de16e39d2f46f0a1f62f8a9e32c6faa
 SHA512 
3da1af4af8b0fa3cf4d3f06095524e25dc292182beec10aa2c16c5c6ba751fe469d0e7f54e43413b6f3f5bcdbd1fba3c66df1d8e39d2e1962ae36a2d9c06238e
 DIST pciutils-3.12.0.tar.gz 668358 BLAKE2B 
6d57b0654a26e959d2a953a102fd616ba0a0a183ec6d40f65a1274ad0df9c81b95d4b2274edc240cbcf576ce93a0b61252bae0b6348a29df659b3fc219eb
 SHA512 
b1efd3e24efad4f80e1a942d23d6ea12acec9642714e47d24bff7f7c53ff475b0252c6f75c0053b7ec64635037e72b150b3e313229b36479dc0cbf96902096c5
+DIST pciutils-3.13.0.tar.gz 672999 BLAKE2B 
d779ca0fd8c96a54bf81f6234d6a38eae2882d39dd1a52a508246bc46b5f4ac9318bbca20266378ec3917e72fe6ec30c47b1b5e9df4e86d3f59cbe860e2ac70e
 SHA512 
73f99b5c2251676368738e0dc9d82529f3516966f1658a96149768b9775a0e177d630512dc7ea33087a7fcb960a3498f0c4c1a9f7233ec1cf242b9ab087fa0d1

diff --git a/sys-apps/pciutils/pciutils-3.13.0.ebuild 
b/sys-apps/pciutils/pciutils-3.13.0.ebuild
new file mode 100644
index ..dd3c7a05627e
--- /dev/null
+++ b/sys-apps/pciutils/pciutils-3.13.0.ebuild
@@ -0,0 +1,173 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs multilib-minimal flag-o-matic
+
+DESCRIPTION="Various utilities dealing with the PCI bus"
+HOMEPAGE="https://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
+SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="dns +kmod static-libs +udev zlib"
+REQUIRED_USE="static-libs? ( !udev )"
+
+# Have the sub-libs in RDEPEND with [static-libs] since, logically,
+# our libpci.a depends on libz.a/etc... at runtime.
+LIB_DEPEND="zlib? ( 
>=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )"
+DEPEND="
+   kmod? ( sys-apps/kmod )
+   udev? ( >=virtual/libudev-208[${MULTILIB_USEDEP}] )
+   static-libs? ( ${LIB_DEPEND} )
+   !static-libs? ( ${LIB_DEPEND//static-libs([+-]),} )
+"
+RDEPEND="
+   ${DEPEND}
+   sys-apps/hwdata
+"
+# See bug #847133 re binutils check
+BDEPEND="
+   || ( >=sys-devel/binutils-2.37:* sys-devel/lld sys-devel/native-cctools 
)
+   kmod? ( virtual/pkgconfig )
+"
+
+MULTILIB_WRAPPED_HEADERS=( /usr/include/pci/config.h )
+
+switch_config() {
+   [[ $# -ne 2 ]] && return 1
+   local opt=$1 val=$2
+
+   sed "s@^\(${opt}=\).*\$@\1${val}@" -i Makefile || die
+   return 0
+}
+
+check_binutils_version() {
+   if [[ -z ${I_KNOW_WHAT_I_AM_DOING} ]] && ! tc-ld-is-gold && ! 
tc-ld-is-lld ; then
+   # Okay, hopefully it's Binutils' bfd.
+   # bug #847133
+
+   # Convert this:
+   # ```
+   # GNU ld (Gentoo 2.38 p4) 2.38
+   # Copyright (C) 2022 Free Software Foundation, Inc.
+   # This program is free software; you may redistribute it under 
the terms of
+   # the GNU General Public License version 3 or (at your option) 
a later version.
+   # This program has absolutely no warranty.
+   # ```
+   #
+   # into...
+   # ```
+   # 2.38
+   # ```
+   local ver=$($(tc-getLD) --version 2>&1 | head -n 1 | rev | cut 
-d' ' -f1 | rev)
+
+   if ! [[ ${ver} =~ [0-9].[0-9][0-9] ]] ; then
+   # Skip if unrecognised format so we don't pass something
+   # odd into ver_cut.
+   return
+   fi
+
+   ver_major=$(ver_cut 1 "${ver}")
+   ver_minor=$(ver_cut 2 "${ver}")
+
+   # We use 2.37 here, not 2.35, as 
https://github.com/pciutils/pciutils/issues/98 mentions
+   # because we've had other miscompiles with older Binutils (not 
just build failures!)
+   # and we don't want people running any unsupported versions of 
Binutils. An example
+   # of this is where glibc is completely broken with old 
binutils: bug #802036. It's
+   # 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2024-06-01 Thread Sam James
commit: dff35fae5c4d6d59e32b51fc57bc5c388e361ec7
Author: Sam James  gentoo  org>
AuthorDate: Sun Jun  2 05:25:21 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jun  2 05:25:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dff35fae

sys-apps/pciutils: drop 3.11.1

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/Manifest   |   1 -
 sys-apps/pciutils/pciutils-3.11.1.ebuild | 173 ---
 2 files changed, 174 deletions(-)

diff --git a/sys-apps/pciutils/Manifest b/sys-apps/pciutils/Manifest
index fd3bc9a2159c..9fa3e0d36361 100644
--- a/sys-apps/pciutils/Manifest
+++ b/sys-apps/pciutils/Manifest
@@ -1,3 +1,2 @@
 DIST pciutils-3.10.0.tar.gz 931711 BLAKE2B 
2e1255eb5508c9d1339f5bc772c2592a03cae4d8d097e8939748c9bb5d5d949be53d705d1b7d903f7ea88b2abeea91e39de16e39d2f46f0a1f62f8a9e32c6faa
 SHA512 
3da1af4af8b0fa3cf4d3f06095524e25dc292182beec10aa2c16c5c6ba751fe469d0e7f54e43413b6f3f5bcdbd1fba3c66df1d8e39d2e1962ae36a2d9c06238e
-DIST pciutils-3.11.1.tar.gz 660457 BLAKE2B 
447d0e3fa209d2d27a0310a5824a75b543b539c459caed23e9218f4ff3f9a3c2a99c65dd5ddf92a56c2b880ecfaeff6f3edc458c3e5973a1a4937325740915ac
 SHA512 
6bbb248364831a384a2f521d7300cc53b046ce3765c3f7aca08c9e839174b02687543ee697b8ffc24258bcd39ac625d1ce53d6ca02fdc718eea86a50c95a33de
 DIST pciutils-3.12.0.tar.gz 668358 BLAKE2B 
6d57b0654a26e959d2a953a102fd616ba0a0a183ec6d40f65a1274ad0df9c81b95d4b2274edc240cbcf576ce93a0b61252bae0b6348a29df659b3fc219eb
 SHA512 
b1efd3e24efad4f80e1a942d23d6ea12acec9642714e47d24bff7f7c53ff475b0252c6f75c0053b7ec64635037e72b150b3e313229b36479dc0cbf96902096c5

diff --git a/sys-apps/pciutils/pciutils-3.11.1.ebuild 
b/sys-apps/pciutils/pciutils-3.11.1.ebuild
deleted file mode 100644
index dd3c7a05627e..
--- a/sys-apps/pciutils/pciutils-3.11.1.ebuild
+++ /dev/null
@@ -1,173 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs multilib-minimal flag-o-matic
-
-DESCRIPTION="Various utilities dealing with the PCI bus"
-HOMEPAGE="https://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
-SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="dns +kmod static-libs +udev zlib"
-REQUIRED_USE="static-libs? ( !udev )"
-
-# Have the sub-libs in RDEPEND with [static-libs] since, logically,
-# our libpci.a depends on libz.a/etc... at runtime.
-LIB_DEPEND="zlib? ( 
>=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )"
-DEPEND="
-   kmod? ( sys-apps/kmod )
-   udev? ( >=virtual/libudev-208[${MULTILIB_USEDEP}] )
-   static-libs? ( ${LIB_DEPEND} )
-   !static-libs? ( ${LIB_DEPEND//static-libs([+-]),} )
-"
-RDEPEND="
-   ${DEPEND}
-   sys-apps/hwdata
-"
-# See bug #847133 re binutils check
-BDEPEND="
-   || ( >=sys-devel/binutils-2.37:* sys-devel/lld sys-devel/native-cctools 
)
-   kmod? ( virtual/pkgconfig )
-"
-
-MULTILIB_WRAPPED_HEADERS=( /usr/include/pci/config.h )
-
-switch_config() {
-   [[ $# -ne 2 ]] && return 1
-   local opt=$1 val=$2
-
-   sed "s@^\(${opt}=\).*\$@\1${val}@" -i Makefile || die
-   return 0
-}
-
-check_binutils_version() {
-   if [[ -z ${I_KNOW_WHAT_I_AM_DOING} ]] && ! tc-ld-is-gold && ! 
tc-ld-is-lld ; then
-   # Okay, hopefully it's Binutils' bfd.
-   # bug #847133
-
-   # Convert this:
-   # ```
-   # GNU ld (Gentoo 2.38 p4) 2.38
-   # Copyright (C) 2022 Free Software Foundation, Inc.
-   # This program is free software; you may redistribute it under 
the terms of
-   # the GNU General Public License version 3 or (at your option) 
a later version.
-   # This program has absolutely no warranty.
-   # ```
-   #
-   # into...
-   # ```
-   # 2.38
-   # ```
-   local ver=$($(tc-getLD) --version 2>&1 | head -n 1 | rev | cut 
-d' ' -f1 | rev)
-
-   if ! [[ ${ver} =~ [0-9].[0-9][0-9] ]] ; then
-   # Skip if unrecognised format so we don't pass something
-   # odd into ver_cut.
-   return
-   fi
-
-   ver_major=$(ver_cut 1 "${ver}")
-   ver_minor=$(ver_cut 2 "${ver}")
-
-   # We use 2.37 here, not 2.35, as 
https://github.com/pciutils/pciutils/issues/98 mentions
-   # because we've had other miscompiles with older Binutils (not 
just build failures!)
-   # and we don't want people running any unsupported versions of 
Binutils. An example
-   # of this is where glibc is completely broken with old 
binutils: bug #802036. It's
-  

[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2024-05-29 Thread Sam James
commit: 3b9bfcf4a21069e51558cc3ebc513e8b0e144553
Author: Sam James  gentoo  org>
AuthorDate: Thu May 30 03:23:17 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 30 03:23:17 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b9bfcf4

sys-apps/pciutils: Stabilize 3.12.0 arm, #933155

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.12.0.ebuild 
b/sys-apps/pciutils/pciutils-3.12.0.ebuild
index 3941d72ecf3c..deaa6fa628a3 100644
--- a/sys-apps/pciutils/pciutils-3.12.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.12.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2024-05-29 Thread Sam James
commit: 36beeae55006c034598e1a37282f10aa84a79fb7
Author: Sam James  gentoo  org>
AuthorDate: Thu May 30 03:23:20 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 30 03:23:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36beeae5

sys-apps/pciutils: Stabilize 3.12.0 amd64, #933155

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.12.0.ebuild 
b/sys-apps/pciutils/pciutils-3.12.0.ebuild
index 551097174222..8502626c2eb7 100644
--- a/sys-apps/pciutils/pciutils-3.12.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.12.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2024-05-29 Thread Sam James
commit: 01a1046c794f8bd2746f8e562fe2e7af79261335
Author: Sam James  gentoo  org>
AuthorDate: Thu May 30 03:23:21 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 30 03:23:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01a1046c

sys-apps/pciutils: Stabilize 3.12.0 ppc, #933155

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.12.0.ebuild 
b/sys-apps/pciutils/pciutils-3.12.0.ebuild
index 8502626c2eb7..57b9f333b119 100644
--- a/sys-apps/pciutils/pciutils-3.12.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.12.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2024-05-29 Thread Sam James
commit: 0e4071b74124e18b2689dfb246bb6051dc51a524
Author: Sam James  gentoo  org>
AuthorDate: Thu May 30 03:23:15 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 30 03:23:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e4071b7

sys-apps/pciutils: Stabilize 3.12.0 sparc, #933155

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.12.0.ebuild 
b/sys-apps/pciutils/pciutils-3.12.0.ebuild
index e3b3ed98d0ea..339b9c49c0ef 100644
--- a/sys-apps/pciutils/pciutils-3.12.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.12.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2024-05-29 Thread Sam James
commit: 652a95304efb5c1f497a85addd73174e42bdba80
Author: Sam James  gentoo  org>
AuthorDate: Thu May 30 03:23:19 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 30 03:23:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=652a9530

sys-apps/pciutils: Stabilize 3.12.0 x86, #933155

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.12.0.ebuild 
b/sys-apps/pciutils/pciutils-3.12.0.ebuild
index deaa6fa628a3..551097174222 100644
--- a/sys-apps/pciutils/pciutils-3.12.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.12.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2024-05-29 Thread Sam James
commit: 34e20107938086d0c81b08e42714481d83e97bb6
Author: Sam James  gentoo  org>
AuthorDate: Thu May 30 03:23:16 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 30 03:23:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34e20107

sys-apps/pciutils: Stabilize 3.12.0 arm64, #933155

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.12.0.ebuild 
b/sys-apps/pciutils/pciutils-3.12.0.ebuild
index 339b9c49c0ef..3941d72ecf3c 100644
--- a/sys-apps/pciutils/pciutils-3.12.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.12.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2024-05-29 Thread Sam James
commit: b8aa8ac8912c9b42e9869e5662f77d66a31fbacc
Author: Sam James  gentoo  org>
AuthorDate: Thu May 30 03:23:14 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 30 03:23:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8aa8ac8

sys-apps/pciutils: Stabilize 3.12.0 ppc64, #933155

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.12.0.ebuild 
b/sys-apps/pciutils/pciutils-3.12.0.ebuild
index dd3c7a05627e..e3b3ed98d0ea 100644
--- a/sys-apps/pciutils/pciutils-3.12.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.12.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2024-04-08 Thread Sam James
commit: cbe9dcd7cf925bae8cb3060592ac6031cc4d6e30
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr  8 06:17:39 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr  8 06:17:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbe9dcd7

sys-apps/pciutils: add 3.12.0

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/Manifest   |   1 +
 sys-apps/pciutils/pciutils-3.12.0.ebuild | 173 +++
 2 files changed, 174 insertions(+)

diff --git a/sys-apps/pciutils/Manifest b/sys-apps/pciutils/Manifest
index 5b772d6a1115..fd3bc9a2159c 100644
--- a/sys-apps/pciutils/Manifest
+++ b/sys-apps/pciutils/Manifest
@@ -1,2 +1,3 @@
 DIST pciutils-3.10.0.tar.gz 931711 BLAKE2B 
2e1255eb5508c9d1339f5bc772c2592a03cae4d8d097e8939748c9bb5d5d949be53d705d1b7d903f7ea88b2abeea91e39de16e39d2f46f0a1f62f8a9e32c6faa
 SHA512 
3da1af4af8b0fa3cf4d3f06095524e25dc292182beec10aa2c16c5c6ba751fe469d0e7f54e43413b6f3f5bcdbd1fba3c66df1d8e39d2e1962ae36a2d9c06238e
 DIST pciutils-3.11.1.tar.gz 660457 BLAKE2B 
447d0e3fa209d2d27a0310a5824a75b543b539c459caed23e9218f4ff3f9a3c2a99c65dd5ddf92a56c2b880ecfaeff6f3edc458c3e5973a1a4937325740915ac
 SHA512 
6bbb248364831a384a2f521d7300cc53b046ce3765c3f7aca08c9e839174b02687543ee697b8ffc24258bcd39ac625d1ce53d6ca02fdc718eea86a50c95a33de
+DIST pciutils-3.12.0.tar.gz 668358 BLAKE2B 
6d57b0654a26e959d2a953a102fd616ba0a0a183ec6d40f65a1274ad0df9c81b95d4b2274edc240cbcf576ce93a0b61252bae0b6348a29df659b3fc219eb
 SHA512 
b1efd3e24efad4f80e1a942d23d6ea12acec9642714e47d24bff7f7c53ff475b0252c6f75c0053b7ec64635037e72b150b3e313229b36479dc0cbf96902096c5

diff --git a/sys-apps/pciutils/pciutils-3.12.0.ebuild 
b/sys-apps/pciutils/pciutils-3.12.0.ebuild
new file mode 100644
index ..dd3c7a05627e
--- /dev/null
+++ b/sys-apps/pciutils/pciutils-3.12.0.ebuild
@@ -0,0 +1,173 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs multilib-minimal flag-o-matic
+
+DESCRIPTION="Various utilities dealing with the PCI bus"
+HOMEPAGE="https://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
+SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="dns +kmod static-libs +udev zlib"
+REQUIRED_USE="static-libs? ( !udev )"
+
+# Have the sub-libs in RDEPEND with [static-libs] since, logically,
+# our libpci.a depends on libz.a/etc... at runtime.
+LIB_DEPEND="zlib? ( 
>=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )"
+DEPEND="
+   kmod? ( sys-apps/kmod )
+   udev? ( >=virtual/libudev-208[${MULTILIB_USEDEP}] )
+   static-libs? ( ${LIB_DEPEND} )
+   !static-libs? ( ${LIB_DEPEND//static-libs([+-]),} )
+"
+RDEPEND="
+   ${DEPEND}
+   sys-apps/hwdata
+"
+# See bug #847133 re binutils check
+BDEPEND="
+   || ( >=sys-devel/binutils-2.37:* sys-devel/lld sys-devel/native-cctools 
)
+   kmod? ( virtual/pkgconfig )
+"
+
+MULTILIB_WRAPPED_HEADERS=( /usr/include/pci/config.h )
+
+switch_config() {
+   [[ $# -ne 2 ]] && return 1
+   local opt=$1 val=$2
+
+   sed "s@^\(${opt}=\).*\$@\1${val}@" -i Makefile || die
+   return 0
+}
+
+check_binutils_version() {
+   if [[ -z ${I_KNOW_WHAT_I_AM_DOING} ]] && ! tc-ld-is-gold && ! 
tc-ld-is-lld ; then
+   # Okay, hopefully it's Binutils' bfd.
+   # bug #847133
+
+   # Convert this:
+   # ```
+   # GNU ld (Gentoo 2.38 p4) 2.38
+   # Copyright (C) 2022 Free Software Foundation, Inc.
+   # This program is free software; you may redistribute it under 
the terms of
+   # the GNU General Public License version 3 or (at your option) 
a later version.
+   # This program has absolutely no warranty.
+   # ```
+   #
+   # into...
+   # ```
+   # 2.38
+   # ```
+   local ver=$($(tc-getLD) --version 2>&1 | head -n 1 | rev | cut 
-d' ' -f1 | rev)
+
+   if ! [[ ${ver} =~ [0-9].[0-9][0-9] ]] ; then
+   # Skip if unrecognised format so we don't pass something
+   # odd into ver_cut.
+   return
+   fi
+
+   ver_major=$(ver_cut 1 "${ver}")
+   ver_minor=$(ver_cut 2 "${ver}")
+
+   # We use 2.37 here, not 2.35, as 
https://github.com/pciutils/pciutils/issues/98 mentions
+   # because we've had other miscompiles with older Binutils (not 
just build failures!)
+   # and we don't want people running any unsupported versions of 
Binutils. An example
+   # of this is where glibc is completely broken with old 
binutils: bug #802036. It's
+   # 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2024-02-28 Thread Sam James
commit: bc50a4e30d88683460928aa37bd0e1d420c1cbd3
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 29 04:25:10 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 29 04:25:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc50a4e3

sys-apps/pciutils: add 3.11.1

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/Manifest   |   1 +
 sys-apps/pciutils/pciutils-3.11.1.ebuild | 173 +++
 2 files changed, 174 insertions(+)

diff --git a/sys-apps/pciutils/Manifest b/sys-apps/pciutils/Manifest
index bde6a201ae41..5b772d6a1115 100644
--- a/sys-apps/pciutils/Manifest
+++ b/sys-apps/pciutils/Manifest
@@ -1 +1,2 @@
 DIST pciutils-3.10.0.tar.gz 931711 BLAKE2B 
2e1255eb5508c9d1339f5bc772c2592a03cae4d8d097e8939748c9bb5d5d949be53d705d1b7d903f7ea88b2abeea91e39de16e39d2f46f0a1f62f8a9e32c6faa
 SHA512 
3da1af4af8b0fa3cf4d3f06095524e25dc292182beec10aa2c16c5c6ba751fe469d0e7f54e43413b6f3f5bcdbd1fba3c66df1d8e39d2e1962ae36a2d9c06238e
+DIST pciutils-3.11.1.tar.gz 660457 BLAKE2B 
447d0e3fa209d2d27a0310a5824a75b543b539c459caed23e9218f4ff3f9a3c2a99c65dd5ddf92a56c2b880ecfaeff6f3edc458c3e5973a1a4937325740915ac
 SHA512 
6bbb248364831a384a2f521d7300cc53b046ce3765c3f7aca08c9e839174b02687543ee697b8ffc24258bcd39ac625d1ce53d6ca02fdc718eea86a50c95a33de

diff --git a/sys-apps/pciutils/pciutils-3.11.1.ebuild 
b/sys-apps/pciutils/pciutils-3.11.1.ebuild
new file mode 100644
index ..dd3c7a05627e
--- /dev/null
+++ b/sys-apps/pciutils/pciutils-3.11.1.ebuild
@@ -0,0 +1,173 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs multilib-minimal flag-o-matic
+
+DESCRIPTION="Various utilities dealing with the PCI bus"
+HOMEPAGE="https://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
+SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="dns +kmod static-libs +udev zlib"
+REQUIRED_USE="static-libs? ( !udev )"
+
+# Have the sub-libs in RDEPEND with [static-libs] since, logically,
+# our libpci.a depends on libz.a/etc... at runtime.
+LIB_DEPEND="zlib? ( 
>=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )"
+DEPEND="
+   kmod? ( sys-apps/kmod )
+   udev? ( >=virtual/libudev-208[${MULTILIB_USEDEP}] )
+   static-libs? ( ${LIB_DEPEND} )
+   !static-libs? ( ${LIB_DEPEND//static-libs([+-]),} )
+"
+RDEPEND="
+   ${DEPEND}
+   sys-apps/hwdata
+"
+# See bug #847133 re binutils check
+BDEPEND="
+   || ( >=sys-devel/binutils-2.37:* sys-devel/lld sys-devel/native-cctools 
)
+   kmod? ( virtual/pkgconfig )
+"
+
+MULTILIB_WRAPPED_HEADERS=( /usr/include/pci/config.h )
+
+switch_config() {
+   [[ $# -ne 2 ]] && return 1
+   local opt=$1 val=$2
+
+   sed "s@^\(${opt}=\).*\$@\1${val}@" -i Makefile || die
+   return 0
+}
+
+check_binutils_version() {
+   if [[ -z ${I_KNOW_WHAT_I_AM_DOING} ]] && ! tc-ld-is-gold && ! 
tc-ld-is-lld ; then
+   # Okay, hopefully it's Binutils' bfd.
+   # bug #847133
+
+   # Convert this:
+   # ```
+   # GNU ld (Gentoo 2.38 p4) 2.38
+   # Copyright (C) 2022 Free Software Foundation, Inc.
+   # This program is free software; you may redistribute it under 
the terms of
+   # the GNU General Public License version 3 or (at your option) 
a later version.
+   # This program has absolutely no warranty.
+   # ```
+   #
+   # into...
+   # ```
+   # 2.38
+   # ```
+   local ver=$($(tc-getLD) --version 2>&1 | head -n 1 | rev | cut 
-d' ' -f1 | rev)
+
+   if ! [[ ${ver} =~ [0-9].[0-9][0-9] ]] ; then
+   # Skip if unrecognised format so we don't pass something
+   # odd into ver_cut.
+   return
+   fi
+
+   ver_major=$(ver_cut 1 "${ver}")
+   ver_minor=$(ver_cut 2 "${ver}")
+
+   # We use 2.37 here, not 2.35, as 
https://github.com/pciutils/pciutils/issues/98 mentions
+   # because we've had other miscompiles with older Binutils (not 
just build failures!)
+   # and we don't want people running any unsupported versions of 
Binutils. An example
+   # of this is where glibc is completely broken with old 
binutils: bug #802036. It's
+   # just not sustainable to support.
+   if [[ ${ver_major} -eq 2 && ${ver_minor} -lt 37 ]] ; then
+   eerror "Old version of binutils activated! ${P} cannot 
be built with an old version."
+   eerror "Please follow these steps:"
+   eerror "1. 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/, sys-apps/pciutils/files/

2023-12-27 Thread Sam James
commit: 15eb777aaa7f3d2c9d0b99f371f757e372b75ea9
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 28 04:17:59 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 28 04:17:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15eb777a

sys-apps/pciutils: drop 3.8.0-r1, 3.9.0

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/Manifest |   2 -
 .../pciutils/files/pciutils-3.8.0-no-which.patch   |  34 
 .../pciutils/files/pciutils-3.8.0-pkg-config.patch |  19 ---
 sys-apps/pciutils/pciutils-3.8.0-r1.ebuild | 171 -
 sys-apps/pciutils/pciutils-3.9.0.ebuild| 166 
 5 files changed, 392 deletions(-)

diff --git a/sys-apps/pciutils/Manifest b/sys-apps/pciutils/Manifest
index c0806c45dfaf..bde6a201ae41 100644
--- a/sys-apps/pciutils/Manifest
+++ b/sys-apps/pciutils/Manifest
@@ -1,3 +1 @@
 DIST pciutils-3.10.0.tar.gz 931711 BLAKE2B 
2e1255eb5508c9d1339f5bc772c2592a03cae4d8d097e8939748c9bb5d5d949be53d705d1b7d903f7ea88b2abeea91e39de16e39d2f46f0a1f62f8a9e32c6faa
 SHA512 
3da1af4af8b0fa3cf4d3f06095524e25dc292182beec10aa2c16c5c6ba751fe469d0e7f54e43413b6f3f5bcdbd1fba3c66df1d8e39d2e1962ae36a2d9c06238e
-DIST pciutils-3.8.0.tar.gz 575255 BLAKE2B 
7339189f7115af31ccc19663d54e12ef966fbcd75c6b6b4c28c8ddcaafa3e233313ca14300ef70100edb00f5f2e1e767af9d6527a9d836edd07b598f0a40f4f4
 SHA512 
4b0de02a54c6ed19d5ea85a01d89a62386000bc0f816498872479aba26fb007a8c394cba3f95e77a7ffe52d36ad2726169b7b83bda5ab0647f00e49d8a34bf15
-DIST pciutils-3.9.0.tar.gz 908219 BLAKE2B 
59d2a151b114691980b8f0a0bfdf8e48b9e1a0a9976df6dbc94962c251d8bfc61e7bd3b0f3c47a4295f52b5df67ad0e44ed6f2e6a87728e213e4ef0b8a55c028
 SHA512 
e17225c2adcc21c9ff4253998aec5805ae5e031888fa01841a1ff680796f7515f9dd6e5c2e0588edba854f66f1268ba8e28ae1a2f794574e715fec8a8c8def4f

diff --git a/sys-apps/pciutils/files/pciutils-3.8.0-no-which.patch 
b/sys-apps/pciutils/files/pciutils-3.8.0-no-which.patch
deleted file mode 100644
index 3024d73555d3..
--- a/sys-apps/pciutils/files/pciutils-3.8.0-no-which.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-https://github.com/pciutils/pciutils/pull/105
-
-From 91bf24dd3c91f826377548b7e164b49cfed56f9a Mon Sep 17 00:00:00 2001
-From: Sam James 
-Date: Sun, 19 Jun 2022 23:52:22 +0100
-Subject: [PATCH 1/2] lib/configure: drop usage of which
-
-'which' is not required by POSIX and is an external command which may not be
-available, and 'command -v' does the job just fine.
-
-Debian and Gentoo at least are both making efforts to drop which from
-their base system package list.
-
-Signed-off-by: Sam James 
 a/lib/configure
-+++ b/lib/configure
-@@ -238,7 +238,7 @@ if [ "$sys" = linux ] ; then
-   PKG_CONFIG=pkg-config
-   fi
-   if [ "$LIBKMOD" != no ] ; then
--  if ! which $PKG_CONFIG >/dev/null ; then
-+  if ! command -v $PKG_CONFIG >/dev/null ; then
-   echo_n "($PKG_CONFIG not found) "
-   elif $PKG_CONFIG libkmod ; then
-   LIBKMOD_DETECTED=1
-@@ -268,7 +268,7 @@ if [ "$sys" = linux ] ; then
-   if [ "$HWDB" = yes -o "$HWDB" = no ] ; then
-   echo "$HWDB (set manually)"
-   else
--  if `which pkg-config >/dev/null && pkg-config 
--atleast-version=196 libudev` ; then
-+  if `command -v pkg-config >/dev/null && pkg-config 
--atleast-version=196 libudev` ; then
-   HWDB=yes
-   else
-   HWDB=no

diff --git a/sys-apps/pciutils/files/pciutils-3.8.0-pkg-config.patch 
b/sys-apps/pciutils/files/pciutils-3.8.0-pkg-config.patch
deleted file mode 100644
index 4630609bad24..
--- a/sys-apps/pciutils/files/pciutils-3.8.0-pkg-config.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-https://github.com/pciutils/pciutils/pull/105
-
-From a74832198ab36683a867c79b3d6ef2cac9baad55 Mon Sep 17 00:00:00 2001
-From: Sam James 
-Date: Sun, 19 Jun 2022 23:53:42 +0100
-Subject: [PATCH 2/2] lib/configure: respect $PKG_CONFIG completely
-
-Signed-off-by: Sam James 
 a/lib/configure
-+++ b/lib/configure
-@@ -268,7 +268,7 @@ if [ "$sys" = linux ] ; then
-   if [ "$HWDB" = yes -o "$HWDB" = no ] ; then
-   echo "$HWDB (set manually)"
-   else
--  if `command -v pkg-config >/dev/null && pkg-config 
--atleast-version=196 libudev` ; then
-+  if `command -v $PKG_CONFIG >/dev/null && $PKG_CONFIG 
--atleast-version=196 libudev` ; then
-   HWDB=yes
-   else
-   HWDB=no

diff --git a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
deleted file mode 100644
index f12dcda2ba1f..
--- a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
+++ /dev/null
@@ -1,171 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2023-06-11 Thread Sam James
commit: 61452f5cca7c880842782fb1594ef0f22e511859
Author: Sam James  gentoo  org>
AuthorDate: Sun Jun 11 20:43:35 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jun 11 20:44:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61452f5c

sys-apps/pciutils: put back filter-lto

Naib and username234 pointed this out a while ago but I forgot to restore the 
filter.

Bug: https://bugs.gentoo.org/640836
Bug: https://bugs.gentoo.org/852929
Bug: https://github.com/pciutils/pciutils/pull/144
Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.10.0.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sys-apps/pciutils/pciutils-3.10.0.ebuild 
b/sys-apps/pciutils/pciutils-3.10.0.ebuild
index 1cfefccbdd24..41764a0c3806 100644
--- a/sys-apps/pciutils/pciutils-3.10.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.10.0.ebuild
@@ -114,9 +114,8 @@ src_prepare() {
 
 multilib_src_configure() {
# bug #640836, bug #852929
-   # Seems to be fixed in 3.10.0:
-   # 
https://github.com/pciutils/pciutils/commit/2d16e3a7875a9cb5abd60713bb2e39b536a7dec4
-   #filter-lto
+   # Still broken in 3.10.0, see 
https://github.com/pciutils/pciutils/pull/144.
+   filter-lto
 
# bug #471102
append-lfs-flags



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2023-06-09 Thread Arthur Zamarin
commit: 46dee14acbb6ee1ba856cb1eb456099467a1aff2
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 19:08:27 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 19:08:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46dee14a

sys-apps/pciutils: Stabilize 3.10.0 hppa, #908122

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/pciutils/pciutils-3.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.10.0.ebuild 
b/sys-apps/pciutils/pciutils-3.10.0.ebuild
index 9b4854b765a3..4accb4887bd9 100644
--- a/sys-apps/pciutils/pciutils-3.10.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.10.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2023-06-09 Thread Arthur Zamarin
commit: c36a2ccfb093e74ca4fdf769ba79f258127b493e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 16:13:11 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 16:13:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c36a2ccf

sys-apps/pciutils: Stabilize 3.10.0 ppc64, #908122

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/pciutils/pciutils-3.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.10.0.ebuild 
b/sys-apps/pciutils/pciutils-3.10.0.ebuild
index ff3ca5261510..9b4854b765a3 100644
--- a/sys-apps/pciutils/pciutils-3.10.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.10.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2023-06-09 Thread Sam James
commit: da77249288a0958b67afdaee940c8e6f4cdb4f3a
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun  9 14:16:50 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun  9 14:16:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da772492

sys-apps/pciutils: Stabilize 3.10.0 x86, #908122

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.10.0.ebuild 
b/sys-apps/pciutils/pciutils-3.10.0.ebuild
index 273cc9669f25..ff3ca5261510 100644
--- a/sys-apps/pciutils/pciutils-3.10.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.10.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2023-06-09 Thread Arthur Zamarin
commit: 0b2ddb65d1b7f268a7bb347f6d772527b183659b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 13:50:59 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 13:50:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b2ddb65

sys-apps/pciutils: Stabilize 3.10.0 sparc, #908122

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/pciutils/pciutils-3.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.10.0.ebuild 
b/sys-apps/pciutils/pciutils-3.10.0.ebuild
index 387da57b6312..d86ae27fb8d8 100644
--- a/sys-apps/pciutils/pciutils-3.10.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.10.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2023-06-09 Thread Arthur Zamarin
commit: 0d664597eb8c286fbb5f832a18446e263829216c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 13:50:59 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 13:50:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d664597

sys-apps/pciutils: Stabilize 3.10.0 arm64, #908122

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/pciutils/pciutils-3.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.10.0.ebuild 
b/sys-apps/pciutils/pciutils-3.10.0.ebuild
index d86ae27fb8d8..273cc9669f25 100644
--- a/sys-apps/pciutils/pciutils-3.10.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.10.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2023-06-09 Thread Sam James
commit: 36859cfa3740ecc43eb87600b5c249ccadc4c767
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun  9 13:49:49 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun  9 13:49:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36859cfa

sys-apps/pciutils: Stabilize 3.10.0 arm, #908122

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.10.0.ebuild 
b/sys-apps/pciutils/pciutils-3.10.0.ebuild
index 9d6c83fe7437..387da57b6312 100644
--- a/sys-apps/pciutils/pciutils-3.10.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.10.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2023-06-09 Thread Sam James
commit: 862579534adfc69f1b3dac06fa4a16c68f9ce076
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun  9 13:47:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun  9 13:47:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86257953

sys-apps/pciutils: Stabilize 3.10.0 amd64, #908122

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.10.0.ebuild 
b/sys-apps/pciutils/pciutils-3.10.0.ebuild
index 5e89fcabdfd5..9d6c83fe7437 100644
--- a/sys-apps/pciutils/pciutils-3.10.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.10.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2023-05-01 Thread Sam James
commit: 1f6e00fbb2e1491e868b5b10472023fe8854a75b
Author: Sam James  gentoo  org>
AuthorDate: Mon May  1 18:18:48 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  1 18:19:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f6e00fb

sys-apps/pciutils: add 3.10.0

Drops filtering LTO as 
https://github.com/pciutils/pciutils/commit/2d16e3a7875a9cb5abd60713bb2e39b536a7dec4
seems to fix it.

Bug: https://bugs.gentoo.org/640836
Bug: https://bugs.gentoo.org/852929
Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/Manifest   |   1 +
 sys-apps/pciutils/pciutils-3.10.0.ebuild | 174 +++
 2 files changed, 175 insertions(+)

diff --git a/sys-apps/pciutils/Manifest b/sys-apps/pciutils/Manifest
index a276781e291b..c0806c45dfaf 100644
--- a/sys-apps/pciutils/Manifest
+++ b/sys-apps/pciutils/Manifest
@@ -1,2 +1,3 @@
+DIST pciutils-3.10.0.tar.gz 931711 BLAKE2B 
2e1255eb5508c9d1339f5bc772c2592a03cae4d8d097e8939748c9bb5d5d949be53d705d1b7d903f7ea88b2abeea91e39de16e39d2f46f0a1f62f8a9e32c6faa
 SHA512 
3da1af4af8b0fa3cf4d3f06095524e25dc292182beec10aa2c16c5c6ba751fe469d0e7f54e43413b6f3f5bcdbd1fba3c66df1d8e39d2e1962ae36a2d9c06238e
 DIST pciutils-3.8.0.tar.gz 575255 BLAKE2B 
7339189f7115af31ccc19663d54e12ef966fbcd75c6b6b4c28c8ddcaafa3e233313ca14300ef70100edb00f5f2e1e767af9d6527a9d836edd07b598f0a40f4f4
 SHA512 
4b0de02a54c6ed19d5ea85a01d89a62386000bc0f816498872479aba26fb007a8c394cba3f95e77a7ffe52d36ad2726169b7b83bda5ab0647f00e49d8a34bf15
 DIST pciutils-3.9.0.tar.gz 908219 BLAKE2B 
59d2a151b114691980b8f0a0bfdf8e48b9e1a0a9976df6dbc94962c251d8bfc61e7bd3b0f3c47a4295f52b5df67ad0e44ed6f2e6a87728e213e4ef0b8a55c028
 SHA512 
e17225c2adcc21c9ff4253998aec5805ae5e031888fa01841a1ff680796f7515f9dd6e5c2e0588edba854f66f1268ba8e28ae1a2f794574e715fec8a8c8def4f

diff --git a/sys-apps/pciutils/pciutils-3.10.0.ebuild 
b/sys-apps/pciutils/pciutils-3.10.0.ebuild
new file mode 100644
index ..5e89fcabdfd5
--- /dev/null
+++ b/sys-apps/pciutils/pciutils-3.10.0.ebuild
@@ -0,0 +1,174 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs multilib-minimal flag-o-matic
+
+DESCRIPTION="Various utilities dealing with the PCI bus"
+HOMEPAGE="https://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
+SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="dns +kmod static-libs +udev zlib"
+REQUIRED_USE="static-libs? ( !udev )"
+
+# Have the sub-libs in RDEPEND with [static-libs] since, logically,
+# our libpci.a depends on libz.a/etc... at runtime.
+LIB_DEPEND="zlib? ( 
>=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )"
+DEPEND="
+   kmod? ( sys-apps/kmod )
+   udev? ( >=virtual/libudev-208[${MULTILIB_USEDEP}] )
+   static-libs? ( ${LIB_DEPEND} )
+   !static-libs? ( ${LIB_DEPEND//static-libs([+-]),} )
+"
+RDEPEND="
+   ${DEPEND}
+   sys-apps/hwdata
+"
+# See bug #847133 re binutils check
+BDEPEND="
+   || ( >=sys-devel/binutils-2.37:* sys-devel/lld sys-devel/native-cctools 
)
+   kmod? ( virtual/pkgconfig )
+"
+
+MULTILIB_WRAPPED_HEADERS=( /usr/include/pci/config.h )
+
+switch_config() {
+   [[ $# -ne 2 ]] && return 1
+   local opt=$1 val=$2
+
+   sed "s@^\(${opt}=\).*\$@\1${val}@" -i Makefile || die
+   return 0
+}
+
+check_binutils_version() {
+   if [[ -z ${I_KNOW_WHAT_I_AM_DOING} ]] && ! tc-ld-is-gold && ! 
tc-ld-is-lld ; then
+   # Okay, hopefully it's Binutils' bfd.
+   # bug #847133
+
+   # Convert this:
+   # ```
+   # GNU ld (Gentoo 2.38 p4) 2.38
+   # Copyright (C) 2022 Free Software Foundation, Inc.
+   # This program is free software; you may redistribute it under 
the terms of
+   # the GNU General Public License version 3 or (at your option) 
a later version.
+   # This program has absolutely no warranty.
+   # ```
+   #
+   # into...
+   # ```
+   # 2.38
+   # ```
+   local ver=$($(tc-getLD) --version 2>&1 | head -n 1 | rev | cut 
-d' ' -f1 | rev)
+
+   if ! [[ ${ver} =~ [0-9].[0-9][0-9] ]] ; then
+   # Skip if unrecognised format so we don't pass something
+   # odd into ver_cut.
+   return
+   fi
+
+   ver_major=$(ver_cut 1 "${ver}")
+   ver_minor=$(ver_cut 2 "${ver}")
+
+   # We use 2.37 here, not 2.35, as 
https://github.com/pciutils/pciutils/issues/98 mentions
+   # because we've had other miscompiles with older Binutils (not 
just build failures!)
+   # and 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2023-01-13 Thread Arthur Zamarin
commit: c2582522e2db8f2e04c6ff96cbd6537971294737
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jan 13 12:17:38 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jan 13 12:17:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2582522

sys-apps/pciutils: Stabilize 3.9.0 sparc, #888451

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/pciutils/pciutils-3.9.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/pciutils/pciutils-3.9.0.ebuild 
b/sys-apps/pciutils/pciutils-3.9.0.ebuild
index c6e7c3201bc7..3c3f5665 100644
--- a/sys-apps/pciutils/pciutils-3.9.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.9.0.ebuild
@@ -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=8
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-12-25 Thread Sam James
commit: e406c75e7993cabdbeaefbc7bfd84139e61e61f1
Author: Sam James  gentoo  org>
AuthorDate: Mon Dec 26 03:19:37 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec 26 03:19:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e406c75e

sys-apps/pciutils: Stabilize 3.9.0 hppa, #888451

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.9.0.ebuild 
b/sys-apps/pciutils/pciutils-3.9.0.ebuild
index c3bdc6c139aa..c6e7c3201bc7 100644
--- a/sys-apps/pciutils/pciutils-3.9.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.9.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-12-25 Thread Sam James
commit: 4ddbd9e8a9fa4b8513b8c8f1db67078ed6dd48b5
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 25 21:23:53 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 25 21:24:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ddbd9e8

sys-apps/pciutils: Stabilize 3.9.0 amd64, #888451

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.9.0.ebuild 
b/sys-apps/pciutils/pciutils-3.9.0.ebuild
index b08a04a91918..c3bdc6c139aa 100644
--- a/sys-apps/pciutils/pciutils-3.9.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.9.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-12-25 Thread Arthur Zamarin
commit: 5152c97f380043afbf56de812cfae86407bc1ea4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Dec 25 20:32:40 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Dec 25 20:32:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5152c97f

sys-apps/pciutils: Stabilize 3.9.0 ppc64, #888451

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/pciutils/pciutils-3.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.9.0.ebuild 
b/sys-apps/pciutils/pciutils-3.9.0.ebuild
index 48e35a92d4ab..b08a04a91918 100644
--- a/sys-apps/pciutils/pciutils-3.9.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.9.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-12-25 Thread Arthur Zamarin
commit: 061e85074432ebb2dd7b59f9a81f26cf45dccbbb
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Dec 25 20:14:59 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Dec 25 20:14:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=061e8507

sys-apps/pciutils: Stabilize 3.9.0 arm, #888451

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/pciutils/pciutils-3.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.9.0.ebuild 
b/sys-apps/pciutils/pciutils-3.9.0.ebuild
index f8b3f4751fdd..48e35a92d4ab 100644
--- a/sys-apps/pciutils/pciutils-3.9.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.9.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-12-25 Thread Sam James
commit: ec18e13594861b39bc8da21c8ad5fc311d49cf35
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 25 20:13:25 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 25 20:13:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec18e135

sys-apps/pciutils: Stabilize 3.9.0 ppc, #888451

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.9.0.ebuild 
b/sys-apps/pciutils/pciutils-3.9.0.ebuild
index f66a9e1e294c..f8b3f4751fdd 100644
--- a/sys-apps/pciutils/pciutils-3.9.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.9.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-12-25 Thread Sam James
commit: d25f1fa1a23f7fe1334390ba84f9c714e8446c37
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 25 20:10:25 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 25 20:10:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d25f1fa1

sys-apps/pciutils: Stabilize 3.9.0 x86, #888451

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.9.0.ebuild 
b/sys-apps/pciutils/pciutils-3.9.0.ebuild
index 0825ef9377a3..f66a9e1e294c 100644
--- a/sys-apps/pciutils/pciutils-3.9.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.9.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-12-25 Thread Arthur Zamarin
commit: 2792622b51f7050194f0fe1210f893ae71d67b59
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Dec 25 20:08:08 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Dec 25 20:08:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2792622b

sys-apps/pciutils: Stabilize 3.9.0 arm64, #888451

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/pciutils/pciutils-3.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.9.0.ebuild 
b/sys-apps/pciutils/pciutils-3.9.0.ebuild
index 43f9e6d798f4..0825ef9377a3 100644
--- a/sys-apps/pciutils/pciutils-3.9.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.9.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-11-21 Thread Sam James
commit: e51265f34bd7639c66ea99dfeb82b682c6e81987
Author: Sam James  gentoo  org>
AuthorDate: Mon Nov 21 07:35:07 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Nov 21 08:08:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e51265f3

sys-apps/pciutils: add 3.9.0

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/Manifest  |   1 +
 sys-apps/pciutils/pciutils-3.9.0.ebuild | 166 
 2 files changed, 167 insertions(+)

diff --git a/sys-apps/pciutils/Manifest b/sys-apps/pciutils/Manifest
index 79bcc5d9677d..a276781e291b 100644
--- a/sys-apps/pciutils/Manifest
+++ b/sys-apps/pciutils/Manifest
@@ -1 +1,2 @@
 DIST pciutils-3.8.0.tar.gz 575255 BLAKE2B 
7339189f7115af31ccc19663d54e12ef966fbcd75c6b6b4c28c8ddcaafa3e233313ca14300ef70100edb00f5f2e1e767af9d6527a9d836edd07b598f0a40f4f4
 SHA512 
4b0de02a54c6ed19d5ea85a01d89a62386000bc0f816498872479aba26fb007a8c394cba3f95e77a7ffe52d36ad2726169b7b83bda5ab0647f00e49d8a34bf15
+DIST pciutils-3.9.0.tar.gz 908219 BLAKE2B 
59d2a151b114691980b8f0a0bfdf8e48b9e1a0a9976df6dbc94962c251d8bfc61e7bd3b0f3c47a4295f52b5df67ad0e44ed6f2e6a87728e213e4ef0b8a55c028
 SHA512 
e17225c2adcc21c9ff4253998aec5805ae5e031888fa01841a1ff680796f7515f9dd6e5c2e0588edba854f66f1268ba8e28ae1a2f794574e715fec8a8c8def4f

diff --git a/sys-apps/pciutils/pciutils-3.9.0.ebuild 
b/sys-apps/pciutils/pciutils-3.9.0.ebuild
new file mode 100644
index ..43f9e6d798f4
--- /dev/null
+++ b/sys-apps/pciutils/pciutils-3.9.0.ebuild
@@ -0,0 +1,166 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs multilib-minimal flag-o-matic
+
+DESCRIPTION="Various utilities dealing with the PCI bus"
+HOMEPAGE="https://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
+SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="dns +kmod static-libs +udev zlib"
+REQUIRED_USE="static-libs? ( !udev )"
+
+# Have the sub-libs in RDEPEND with [static-libs] since, logically,
+# our libpci.a depends on libz.a/etc... at runtime.
+LIB_DEPEND="zlib? ( 
>=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )"
+DEPEND="kmod? ( sys-apps/kmod )
+   udev? ( >=virtual/libudev-208[${MULTILIB_USEDEP}] )
+   static-libs? ( ${LIB_DEPEND} )
+   !static-libs? ( ${LIB_DEPEND//static-libs([+-]),} )"
+RDEPEND="${DEPEND}
+   sys-apps/hwdata"
+# See bug #847133 re binutils check
+BDEPEND="|| ( >=sys-devel/binutils-2.37:* sys-devel/lld 
sys-devel/native-cctools )
+   kmod? ( virtual/pkgconfig )"
+
+MULTILIB_WRAPPED_HEADERS=( /usr/include/pci/config.h )
+
+switch_config() {
+   [[ $# -ne 2 ]] && return 1
+   local opt=$1 val=$2
+
+   sed "s@^\(${opt}=\).*\$@\1${val}@" -i Makefile || die
+   return 0
+}
+
+check_binutils_version() {
+   if [[ -z ${I_KNOW_WHAT_I_AM_DOING} ]] && ! tc-ld-is-gold && ! 
tc-ld-is-lld ; then
+   # Okay, hopefully it's Binutils' bfd.
+   # bug #847133
+
+   # Convert this:
+   # ```
+   # GNU ld (Gentoo 2.38 p4) 2.38
+   # Copyright (C) 2022 Free Software Foundation, Inc.
+   # This program is free software; you may redistribute it under 
the terms of
+   # the GNU General Public License version 3 or (at your option) 
a later version.
+   # This program has absolutely no warranty.
+   # ```
+   #
+   # into...
+   # ```
+   # 2.38
+   # ```
+   local ver=$($(tc-getLD) --version 2>&1 | head -n 1 | rev | cut 
-d' ' -f1 | rev)
+
+   if ! [[ ${ver} =~ [0-9].[0-9][0-9] ]] ; then
+   # Skip if unrecognised format so we don't pass something
+   # odd into ver_cut.
+   return
+   fi
+
+   ver_major=$(ver_cut 1 "${ver}")
+   ver_minor=$(ver_cut 2 "${ver}")
+
+   # We use 2.37 here, not 2.35, as 
https://github.com/pciutils/pciutils/issues/98 mentions
+   # because we've had other miscompiles with older Binutils (not 
just build failures!)
+   # and we don't want people running any unsupported versions of 
Binutils. An example
+   # of this is where glibc is completely broken with old 
binutils: bug #802036. It's
+   # just not sustainable to support.
+   if [[ ${ver_major} -eq 2 && ${ver_minor} -lt 37 ]] ; then
+   eerror "Old version of binutils activated! ${P} cannot 
be built with an old version."
+   eerror "Please follow these steps:"
+   eerror "1. Select a newer binutils (>= 2.37) using 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-09-22 Thread Sam James
commit: c80f00fbb8953cfd8dbf746841a844baca8ec10e
Author: Sam James  gentoo  org>
AuthorDate: Fri Sep 23 02:08:32 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep 23 02:08:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c80f00fb

sys-apps/pciutils: drop 3.8.0

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0.ebuild | 163 
 1 file changed, 163 deletions(-)

diff --git a/sys-apps/pciutils/pciutils-3.8.0.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0.ebuild
deleted file mode 100644
index 53e69aa143eb..
--- a/sys-apps/pciutils/pciutils-3.8.0.ebuild
+++ /dev/null
@@ -1,163 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs multilib-minimal flag-o-matic
-
-DESCRIPTION="Various utilities dealing with the PCI bus"
-HOMEPAGE="https://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
-SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
-IUSE="dns +kmod static-libs +udev zlib"
-REQUIRED_USE="static-libs? ( !udev )"
-
-# Have the sub-libs in RDEPEND with [static-libs] since, logically,
-# our libpci.a depends on libz.a/etc... at runtime.
-LIB_DEPEND="zlib? ( 
>=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )"
-DEPEND="kmod? ( sys-apps/kmod )
-   udev? ( >=virtual/libudev-208[${MULTILIB_USEDEP}] )
-   static-libs? ( ${LIB_DEPEND} )
-   !static-libs? ( ${LIB_DEPEND//static-libs([+-]),} )"
-RDEPEND="${DEPEND}
-   sys-apps/hwdata"
-# See bug #847133 re binutils check
-BDEPEND="sys-apps/which
-   || ( >=sys-devel/binutils-2.37:* sys-devel/lld sys-devel/native-cctools 
)
-   kmod? ( virtual/pkgconfig )"
-
-MULTILIB_WRAPPED_HEADERS=( /usr/include/pci/config.h )
-
-switch_config() {
-   [[ $# -ne 2 ]] && return 1
-   local opt=$1 val=$2
-
-   sed "s@^\(${opt}=\).*\$@\1${val}@" -i Makefile || die
-   return 0
-}
-
-check_binutils_version() {
-   if [[ -z ${I_KNOW_WHAT_I_AM_DOING} ]] && ! tc-ld-is-gold && ! 
tc-ld-is-lld ; then
-   # Okay, hopefully it's Binutils' bfd.
-   # bug #847133
-
-   # Convert this:
-   # ```
-   # GNU ld (Gentoo 2.38 p4) 2.38
-   # Copyright (C) 2022 Free Software Foundation, Inc.
-   # This program is free software; you may redistribute it under 
the terms of
-   # the GNU General Public License version 3 or (at your option) 
a later version.
-   # This program has absolutely no warranty.
-   # ```
-   #
-   # into...
-   # ```
-   # 2.38
-   # ```
-   local ver=$($(tc-getLD) --version 2>&1 | head -1 | rev | cut 
-d' ' -f1 | rev)
-
-   if ! [[ ${ver} =~ [0-9].[0-9][0-9] ]] ; then
-   # Skip if unrecognised format so we don't pass something
-   # odd into ver_cut.
-   return
-   fi
-
-   ver_major=$(ver_cut 1 "${ver}")
-   ver_minor=$(ver_cut 2 "${ver}")
-
-   # We use 2.37 here, not 2.35, as 
https://github.com/pciutils/pciutils/issues/98 mentions
-   # because we've had other miscompiles with older Binutils (not 
just build failures!)
-   # and we don't want people running any unsupported versions of 
Binutils. An example
-   # of this is where glibc is completely broken with old 
binutils: bug #802036. It's
-   # just not sustainable to support.
-   if [[ ${ver_major} -eq 2 && ${ver_minor} -lt 37 ]] ; then
-   eerror "Old version of binutils activated! ${P} cannot 
be built with an old version."
-   eerror "Please follow these steps:"
-   eerror "1. Select a newer binutils (>= 2.37) using 
binutils-config"
-   eerror "2. Run: . /etc/profile"
-   eerror "3. Try emerging again with: emerge -v1 
${CATEGORY}/${P}"
-   eerror "4. Complete your world upgrade if you were 
performing one."
-   eerror "4. Perform a depclean (emerge -acv)"
-   eerror "\tYou MUST depclean after every world upgrade 
in future!"
-   die "Old binutils found! Change to a newer ld using 
binutils-config (bug #847133)."
-   fi
-   fi
-}
-
-pkg_pretend() {
-   [[ ${MERGE_TYPE} != binary ]] && check_binutils_version
-}
-
-pkg_setup() {
-   [[ ${MERGE_TYPE} != binary ]] && check_binutils_version
-}
-
-src_prepare() {
-   default
-
-   if use static-libs ; then
-   cp -pPR "${S}" "${S}.static" 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-07-28 Thread Sam James
commit: 2673f417d174ba2682e4ad940788cbc8b4576c73
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 28 12:54:26 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul 28 13:19:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2673f417

sys-apps/pciutils: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/metadata.xml | 21 -
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/sys-apps/pciutils/metadata.xml b/sys-apps/pciutils/metadata.xml
index c6961f232f5d..708b18c7834c 100644
--- a/sys-apps/pciutils/metadata.xml
+++ b/sys-apps/pciutils/metadata.xml
@@ -1,13 +1,16 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-
-   base-sys...@gentoo.org
-   Gentoo Base System
-
-
-   Enable support for querying the central database of 
PCI IDs using DNS
-   Enable sys-apps/kmod support for the -k 
switch in lspci command
-   Support compressed pci.ids database
-
+   
+   base-sys...@gentoo.org
+   Gentoo Base System
+   
+   
+   Enable support for querying the central 
database of PCI IDs using DNS
+   Enable sys-apps/kmod support for 
the -k switch in lspci command
+   Support compressed pci.ids database
+   
+   
+   pciutils/pciutils
+   
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-07-17 Thread Sam James
commit: 590037827fb0b839373745692ca239609c56562e
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 17 15:23:38 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 17 15:23:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59003782

sys-apps/pciutils: filter LTO

Similar logic to the alsa-lib commit (31c929441087eb65c4cdcfc61b29acb3a50cb954).

If it works with LTO and not thin LTO, it seems to me it's
still seriously broken and there may be other issues lurking.

It's a warning sign and we shouldn't ignore it, hence filter
LTO entirely.

Closes: https://bugs.gentoo.org/852929
Closes: https://bugs.gentoo.org/640836
See: 31c929441087eb65c4cdcfc61b29acb3a50cb954
Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0-r1.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
index e5301455cd23..f12dcda2ba1f 100644
--- a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
@@ -112,6 +112,9 @@ src_prepare() {
 }
 
 multilib_src_configure() {
+   # bug #640836, bug #852929
+   filter-lto
+
# bug #471102
append-lfs-flags
 }



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-07-12 Thread Arthur Zamarin
commit: 90517fa54c66013237eff2d910488d7fb8c7550d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Jul 12 17:20:18 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jul 12 17:20:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90517fa5

sys-apps/pciutils: Stabilize 3.8.0-r1 hppa, #857717

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
index 8b0c3f037b74..e5301455cd23 100644
--- a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-07-12 Thread Agostino Sarubbo
commit: 4901cd553b6d9ab55264790faedf816f452a6c9e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jul 12 06:47:16 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jul 12 06:47:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4901cd55

sys-apps/pciutils: sparc stable wrt bug #857717

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
index 6b40daf2a6f7..8b0c3f037b74 100644
--- a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-07-12 Thread Agostino Sarubbo
commit: 19a171abe0ebdce98233f7093b7bfa59fe38a667
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jul 12 06:47:03 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jul 12 06:47:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19a171ab

sys-apps/pciutils: ppc64 stable wrt bug #857717

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
index 000f88d46695..6b40daf2a6f7 100644
--- a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-07-12 Thread Agostino Sarubbo
commit: bdf17cb04c7da153405cbba5dced98729f5ad862
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jul 12 06:46:48 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jul 12 06:46:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdf17cb0

sys-apps/pciutils: ppc stable wrt bug #857717

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
index 87921d3e3950..000f88d46695 100644
--- a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-07-11 Thread Sam James
commit: 47ef0e7a2efba23c77866a54b0f8cb5ccdf979f0
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 12 02:42:23 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 12 02:42:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47ef0e7a

sys-apps/pciutils: Stabilize 3.8.0-r1 arm, #857717

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
index 8c487cdf7778..1a73f04cca4c 100644
--- a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-07-11 Thread Sam James
commit: 44a05b1a4d64b214ada6b1636e65524f4d58edbc
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 12 02:42:24 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 12 02:42:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44a05b1a

sys-apps/pciutils: Stabilize 3.8.0-r1 arm64, #857717

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
index 1a73f04cca4c..87921d3e3950 100644
--- a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-07-11 Thread Sam James
commit: 3591bfa2a7664c1695b9b449a5c2c8fa087f4214
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 12 01:16:24 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 12 01:16:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3591bfa2

sys-apps/pciutils: Stabilize 3.8.0-r1 x86, #857717

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
index 7952e10d8a82..8c487cdf7778 100644
--- a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-07-11 Thread Sam James
commit: f8112a0d9487e32ff99725cdb1cb2a2bdd46be4b
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 12 01:16:11 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 12 01:16:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8112a0d

sys-apps/pciutils: Stabilize 3.8.0-r1 amd64, #857717

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
index 29d646cac79f..7952e10d8a82 100644
--- a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-07-06 Thread Sam James
commit: a4e6a7adfa355e7537586231887db4c7dfb2b627
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul  7 03:13:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul  7 03:13:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4e6a7ad

sys-apps/pciutils: fix number of instructions

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
index 1bf858cd8fbf..29d646cac79f 100644
--- a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
@@ -85,7 +85,7 @@ check_binutils_version() {
eerror "2. Run: . /etc/profile"
eerror "3. Try emerging again with: emerge -v1 
${CATEGORY}/${P}"
eerror "4. Complete your world upgrade if you were 
performing one."
-   eerror "4. Perform a depclean (emerge -acv)"
+   eerror "5. Perform a depclean (emerge -acv)"
eerror "\tYou MUST depclean after every world upgrade 
in future!"
die "Old binutils found! Change to a newer ld using 
binutils-config (bug #847133)."
fi



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-06-23 Thread Sam James
commit: dfac39adb859df0e3f86c7b1fc939e3500e6f398
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun 24 05:17:17 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun 24 05:26:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfac39ad

sys-apps/pciutils: add note re emerge -v1 binutils

Was pointed out on IRC that you may indeed just not have a newer
Binutils if upgrading an older system.

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
index 59f4aa0192a4..1bf858cd8fbf 100644
--- a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
@@ -81,6 +81,7 @@ check_binutils_version() {
eerror "Old version of binutils activated! ${P} cannot 
be built with an old version."
eerror "Please follow these steps:"
eerror "1. Select a newer binutils (>= 2.37) using 
binutils-config"
+   eerror " (If no such version is installed, run emerge 
-v1 sys-devel/binutils)"
eerror "2. Run: . /etc/profile"
eerror "3. Try emerging again with: emerge -v1 
${CATEGORY}/${P}"
eerror "4. Complete your world upgrade if you were 
performing one."



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/, sys-apps/pciutils/files/

2022-06-21 Thread David Seifert
commit: 5d34758ac0987fdaa7130983e8021f443162fe23
Author: David Seifert  gentoo  org>
AuthorDate: Tue Jun 21 09:40:43 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Jun 21 09:40:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d34758a

sys-apps/pciutils: drop 3.7.0-r2

Signed-off-by: David Seifert  gentoo.org>

 sys-apps/pciutils/Manifest |   1 -
 .../pciutils/files/pciutils-3.1.9-static-pc.patch  |  13 ---
 sys-apps/pciutils/pciutils-3.7.0-r2.ebuild | 112 -
 3 files changed, 126 deletions(-)

diff --git a/sys-apps/pciutils/Manifest b/sys-apps/pciutils/Manifest
index d50cebb4e33e..79bcc5d9677d 100644
--- a/sys-apps/pciutils/Manifest
+++ b/sys-apps/pciutils/Manifest
@@ -1,2 +1 @@
-DIST pciutils-3.7.0.tar.gz 516418 BLAKE2B 
fca6720cff73ec20559c666c76fdcd3b59cdf0e33e2c3894a82590d77c5d51cf22e667fe65d9f66a248a624c2b9c868f6e9b69f45f4b6d704b637afe55041e6a
 SHA512 
8a8fb9dc44a8dd31f80e45a48f6693452c11d343b9dfed87dd5cea6846f38d001f294e4010cd7c0545e238fde45b0e9a8e88c67a43d80676a585336e3665a631
 DIST pciutils-3.8.0.tar.gz 575255 BLAKE2B 
7339189f7115af31ccc19663d54e12ef966fbcd75c6b6b4c28c8ddcaafa3e233313ca14300ef70100edb00f5f2e1e767af9d6527a9d836edd07b598f0a40f4f4
 SHA512 
4b0de02a54c6ed19d5ea85a01d89a62386000bc0f816498872479aba26fb007a8c394cba3f95e77a7ffe52d36ad2726169b7b83bda5ab0647f00e49d8a34bf15

diff --git a/sys-apps/pciutils/files/pciutils-3.1.9-static-pc.patch 
b/sys-apps/pciutils/files/pciutils-3.1.9-static-pc.patch
deleted file mode 100644
index 9e63b7ecd661..
--- a/sys-apps/pciutils/files/pciutils-3.1.9-static-pc.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-make sure all lib entries get into libs.private in the .pc file
-
 a/lib/Makefile
-+++ b/lib/Makefile
-@@ -61,7 +61,7 @@ $(PCILIBPC): libpci.pc.in
-   -e 's,@LIBDIR@,$(LIBDIR),' \
-   -e 's,@IDSDIR@,$(IDSDIR),' \
-   -e 's,@VERSION@,$(VERSION),' \
--  -e 's,@LDLIBS@,$(LDLIBS),'
-+  -e 's,@LDLIBS@,$(LDLIBS) $(LIB_LDLIBS),'
- 
- init.o: init.c $(INCL)
- access.o: access.c $(INCL)

diff --git a/sys-apps/pciutils/pciutils-3.7.0-r2.ebuild 
b/sys-apps/pciutils/pciutils-3.7.0-r2.ebuild
deleted file mode 100644
index e456279c71ec..
--- a/sys-apps/pciutils/pciutils-3.7.0-r2.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit multilib toolchain-funcs multilib-minimal flag-o-matic
-
-DESCRIPTION="Various utilities dealing with the PCI bus"
-HOMEPAGE="https://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
-SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
-IUSE="dns +kmod static-libs +udev zlib"
-REQUIRED_USE="static-libs? ( !udev )"
-
-# Have the sub-libs in RDEPEND with [static-libs] since, logically,
-# our libpci.a depends on libz.a/etc... at runtime.
-LIB_DEPEND="
-   zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )
-"
-DEPEND="
-   kmod? ( sys-apps/kmod )
-   udev? ( >=virtual/libudev-208[${MULTILIB_USEDEP}] )
-   static-libs? ( ${LIB_DEPEND} )
-   !static-libs? ( ${LIB_DEPEND//static-libs([+-]),} )
-"
-RDEPEND="
-   ${DEPEND}
-   sys-apps/hwdata
-"
-BDEPEND="sys-apps/which
-   kmod? ( virtual/pkgconfig )"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-3.1.9-static-pc.patch
-)
-
-MULTILIB_WRAPPED_HEADERS=( /usr/include/pci/config.h )
-
-switch_config() {
-   [[ $# -ne 2 ]] && return 1
-   local opt=$1 val=$2
-
-   sed "s@^\(${opt}=\).*\$@\1${val}@" -i Makefile || die
-   return 0
-}
-
-src_prepare() {
-   default
-
-   if use static-libs ; then
-   cp -pPR "${S}" "${S}.static" || die
-   mv "${S}.static" "${S}/static" || die
-   fi
-
-   multilib_copy_sources
-}
-
-multilib_src_configure() {
-   append-lfs-flags #471102
-}
-
-pemake() {
-   emake \
-   HOST="${CHOST}" \
-   CROSS_COMPILE="${CHOST}-" \
-   CC="$(tc-getCC)" \
-   AR="$(tc-getAR)" \
-   PKG_CONFIG="$(tc-getPKG_CONFIG)" \
-   RANLIB="$(tc-getRANLIB)" \
-   DNS=$(usex dns) \
-   IDSDIR='$(SHAREDIR)/hwdata' \
-   MANDIR='$(SHAREDIR)/man' \
-   PREFIX="${EPREFIX}/usr" \
-   SHARED="yes" \
-   STRIP="" \
-   ZLIB=$(usex zlib) \
-   PCI_COMPRESSED_IDS=0 \
-   PCI_IDS=pci.ids \
-   LIBDIR="\${PREFIX}/$(get_libdir)" \
-   LIBKMOD=$(multilib_native_usex kmod) \
-   HWDB=$(usex udev) \
-   "$@"
-}
-
-multilib_src_compile() {
-   pemake OPT="${CFLAGS}" all
-   if use static-libs ; 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/files/, sys-apps/pciutils/

2022-06-19 Thread Sam James
commit: 7050083e912dd60a7e917807bbd8218e1018cfbb
Author: Sam James  gentoo  org>
AuthorDate: Sun Jun 19 23:10:50 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jun 19 23:26:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7050083e

sys-apps/pciutils: update EAPI 7 -> 8; drop which

Signed-off-by: Sam James  gentoo.org>

 .../pciutils/files/pciutils-3.8.0-no-which.patch   |  34 +
 .../pciutils/files/pciutils-3.8.0-pkg-config.patch |  19 +++
 sys-apps/pciutils/pciutils-3.8.0-r1.ebuild | 167 +
 3 files changed, 220 insertions(+)

diff --git a/sys-apps/pciutils/files/pciutils-3.8.0-no-which.patch 
b/sys-apps/pciutils/files/pciutils-3.8.0-no-which.patch
new file mode 100644
index ..3024d73555d3
--- /dev/null
+++ b/sys-apps/pciutils/files/pciutils-3.8.0-no-which.patch
@@ -0,0 +1,34 @@
+https://github.com/pciutils/pciutils/pull/105
+
+From 91bf24dd3c91f826377548b7e164b49cfed56f9a Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Sun, 19 Jun 2022 23:52:22 +0100
+Subject: [PATCH 1/2] lib/configure: drop usage of which
+
+'which' is not required by POSIX and is an external command which may not be
+available, and 'command -v' does the job just fine.
+
+Debian and Gentoo at least are both making efforts to drop which from
+their base system package list.
+
+Signed-off-by: Sam James 
+--- a/lib/configure
 b/lib/configure
+@@ -238,7 +238,7 @@ if [ "$sys" = linux ] ; then
+   PKG_CONFIG=pkg-config
+   fi
+   if [ "$LIBKMOD" != no ] ; then
+-  if ! which $PKG_CONFIG >/dev/null ; then
++  if ! command -v $PKG_CONFIG >/dev/null ; then
+   echo_n "($PKG_CONFIG not found) "
+   elif $PKG_CONFIG libkmod ; then
+   LIBKMOD_DETECTED=1
+@@ -268,7 +268,7 @@ if [ "$sys" = linux ] ; then
+   if [ "$HWDB" = yes -o "$HWDB" = no ] ; then
+   echo "$HWDB (set manually)"
+   else
+-  if `which pkg-config >/dev/null && pkg-config 
--atleast-version=196 libudev` ; then
++  if `command -v pkg-config >/dev/null && pkg-config 
--atleast-version=196 libudev` ; then
+   HWDB=yes
+   else
+   HWDB=no

diff --git a/sys-apps/pciutils/files/pciutils-3.8.0-pkg-config.patch 
b/sys-apps/pciutils/files/pciutils-3.8.0-pkg-config.patch
new file mode 100644
index ..4630609bad24
--- /dev/null
+++ b/sys-apps/pciutils/files/pciutils-3.8.0-pkg-config.patch
@@ -0,0 +1,19 @@
+https://github.com/pciutils/pciutils/pull/105
+
+From a74832198ab36683a867c79b3d6ef2cac9baad55 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Sun, 19 Jun 2022 23:53:42 +0100
+Subject: [PATCH 2/2] lib/configure: respect $PKG_CONFIG completely
+
+Signed-off-by: Sam James 
+--- a/lib/configure
 b/lib/configure
+@@ -268,7 +268,7 @@ if [ "$sys" = linux ] ; then
+   if [ "$HWDB" = yes -o "$HWDB" = no ] ; then
+   echo "$HWDB (set manually)"
+   else
+-  if `command -v pkg-config >/dev/null && pkg-config 
--atleast-version=196 libudev` ; then
++  if `command -v $PKG_CONFIG >/dev/null && $PKG_CONFIG 
--atleast-version=196 libudev` ; then
+   HWDB=yes
+   else
+   HWDB=no

diff --git a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
new file mode 100644
index ..59f4aa0192a4
--- /dev/null
+++ b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
@@ -0,0 +1,167 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs multilib-minimal flag-o-matic
+
+DESCRIPTION="Various utilities dealing with the PCI bus"
+HOMEPAGE="https://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
+SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="dns +kmod static-libs +udev zlib"
+REQUIRED_USE="static-libs? ( !udev )"
+
+# Have the sub-libs in RDEPEND with [static-libs] since, logically,
+# our libpci.a depends on libz.a/etc... at runtime.
+LIB_DEPEND="zlib? ( 
>=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )"
+DEPEND="kmod? ( sys-apps/kmod )
+   udev? ( >=virtual/libudev-208[${MULTILIB_USEDEP}] )
+   static-libs? ( ${LIB_DEPEND} )
+   !static-libs? ( ${LIB_DEPEND//static-libs([+-]),} )"
+RDEPEND="${DEPEND}
+   sys-apps/hwdata"
+# See bug #847133 re binutils check
+BDEPEND="|| ( >=sys-devel/binutils-2.37:* sys-devel/lld 
sys-devel/native-cctools )
+   kmod? ( virtual/pkgconfig )"
+
+MULTILIB_WRAPPED_HEADERS=( /usr/include/pci/config.h )
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.8.0-no-which.patch
+   "${FILESDIR}"/${PN}-3.8.0-pkg-config.patch
+)
+

[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-05-24 Thread Sam James
commit: 7f296ba04cc9c825875b4d9fe5df8dbfd2971cd9
Author: Sam James  gentoo  org>
AuthorDate: Tue May 24 21:26:02 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 24 21:26:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f296ba0

sys-apps/pciutils: mention why 2.37 check

It's to prevent catastrophies from people running with an older Binutils
in general, even if 2.35 is strictly enough (probably, not tried myself)
to build this package, given older binutils can cause all sorts of problems,
it should be considered a wake-up call for people running such an old one,
rather than just encouraging them to bump to the lowest possible version
which will work (< 2.37 is masked in Gentoo and has been for a while,
and we're not backporting any fixes for it.)

Bug: https://bugs.gentoo.org/802036
Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0.ebuild | 5 +
 1 file changed, 5 insertions(+)

diff --git a/sys-apps/pciutils/pciutils-3.8.0.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0.ebuild
index e92c695e88d3..53e69aa143eb 100644
--- a/sys-apps/pciutils/pciutils-3.8.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0.ebuild
@@ -68,6 +68,11 @@ check_binutils_version() {
ver_major=$(ver_cut 1 "${ver}")
ver_minor=$(ver_cut 2 "${ver}")
 
+   # We use 2.37 here, not 2.35, as 
https://github.com/pciutils/pciutils/issues/98 mentions
+   # because we've had other miscompiles with older Binutils (not 
just build failures!)
+   # and we don't want people running any unsupported versions of 
Binutils. An example
+   # of this is where glibc is completely broken with old 
binutils: bug #802036. It's
+   # just not sustainable to support.
if [[ ${ver_major} -eq 2 && ${ver_minor} -lt 37 ]] ; then
eerror "Old version of binutils activated! ${P} cannot 
be built with an old version."
eerror "Please follow these steps:"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-05-24 Thread Sam James
commit: 6b049d6c5c65706a11c321f7a73ba02cddba6d5e
Author: Sam James  gentoo  org>
AuthorDate: Tue May 24 21:19:55 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 24 21:19:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b049d6c

sys-apps/pciutils: add regex for LD version to be safe

To avoid ver_cut dying if something odd gets in there.

Bug: https://bugs.gentoo.org/847133
Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0.ebuild | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/sys-apps/pciutils/pciutils-3.8.0.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0.ebuild
index 9cc012fc6893..e92c695e88d3 100644
--- a/sys-apps/pciutils/pciutils-3.8.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0.ebuild
@@ -58,6 +58,13 @@ check_binutils_version() {
# 2.38
# ```
local ver=$($(tc-getLD) --version 2>&1 | head -1 | rev | cut 
-d' ' -f1 | rev)
+
+   if ! [[ ${ver} =~ [0-9].[0-9][0-9] ]] ; then
+   # Skip if unrecognised format so we don't pass something
+   # odd into ver_cut.
+   return
+   fi
+
ver_major=$(ver_cut 1 "${ver}")
ver_minor=$(ver_cut 2 "${ver}")
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-05-24 Thread Sam James
commit: 58b2477705c84cccbf830d077d2fcbb38486b0b9
Author: Sam James  gentoo  org>
AuthorDate: Tue May 24 21:09:42 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 24 21:09:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58b24777

sys-apps/pciutils: add I_KNOW_WHAT_I_AM_DOING bypass for Binutils check

Bug: https://bugs.gentoo.org/847133
Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.8.0.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0.ebuild
index 94b7ab8f4246..4d7fb6ed74e8 100644
--- a/sys-apps/pciutils/pciutils-3.8.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0.ebuild
@@ -38,7 +38,7 @@ switch_config() {
 }
 
 check_binutils_version() {
-   if ! tc-ld-is-gold && ! tc-ld-is-lld ; then
+   if [[ -z ${I_KNOW_WHAT_I_AM_DOING} ]] && ! tc-ld-is-gold && ! 
tc-ld-is-lld ; then
# Okay, hopefully it's Binutils' bfd.
# bug #847133
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-05-24 Thread Sam James
commit: e8c86f8ca460504482aa9c4ea2b82736d7dc203e
Author: Sam James  gentoo  org>
AuthorDate: Tue May 24 21:13:54 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 24 21:14:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8c86f8c

sys-apps/pciutils: add min BDEPEND on linker too

Bug: https://bugs.gentoo.org/847133
Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-apps/pciutils/pciutils-3.8.0.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0.ebuild
index 4d7fb6ed74e8..9cc012fc6893 100644
--- a/sys-apps/pciutils/pciutils-3.8.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0.ebuild
@@ -24,7 +24,9 @@ DEPEND="kmod? ( sys-apps/kmod )
!static-libs? ( ${LIB_DEPEND//static-libs([+-]),} )"
 RDEPEND="${DEPEND}
sys-apps/hwdata"
+# See bug #847133 re binutils check
 BDEPEND="sys-apps/which
+   || ( >=sys-devel/binutils-2.37:* sys-devel/lld sys-devel/native-cctools 
)
kmod? ( virtual/pkgconfig )"
 
 MULTILIB_WRAPPED_HEADERS=( /usr/include/pci/config.h )



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-05-24 Thread Sam James
commit: 3d4a4be10e3d21bf996d9cda8dc5a4b0d5a5299b
Author: Sam James  gentoo  org>
AuthorDate: Tue May 24 21:04:02 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 24 21:05:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d4a4be1

sys-apps/pciutils: bail out on too stale binutils for 3.8.0+

Bug: https://bugs.gentoo.org/847133
Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0.ebuild | 44 +
 1 file changed, 44 insertions(+)

diff --git a/sys-apps/pciutils/pciutils-3.8.0.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0.ebuild
index 33df18d07893..94b7ab8f4246 100644
--- a/sys-apps/pciutils/pciutils-3.8.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0.ebuild
@@ -37,6 +37,50 @@ switch_config() {
return 0
 }
 
+check_binutils_version() {
+   if ! tc-ld-is-gold && ! tc-ld-is-lld ; then
+   # Okay, hopefully it's Binutils' bfd.
+   # bug #847133
+
+   # Convert this:
+   # ```
+   # GNU ld (Gentoo 2.38 p4) 2.38
+   # Copyright (C) 2022 Free Software Foundation, Inc.
+   # This program is free software; you may redistribute it under 
the terms of
+   # the GNU General Public License version 3 or (at your option) 
a later version.
+   # This program has absolutely no warranty.
+   # ```
+   #
+   # into...
+   # ```
+   # 2.38
+   # ```
+   local ver=$($(tc-getLD) --version 2>&1 | head -1 | rev | cut 
-d' ' -f1 | rev)
+   ver_major=$(ver_cut 1 "${ver}")
+   ver_minor=$(ver_cut 2 "${ver}")
+
+   if [[ ${ver_major} -eq 2 && ${ver_minor} -lt 37 ]] ; then
+   eerror "Old version of binutils activated! ${P} cannot 
be built with an old version."
+   eerror "Please follow these steps:"
+   eerror "1. Select a newer binutils (>= 2.37) using 
binutils-config"
+   eerror "2. Run: . /etc/profile"
+   eerror "3. Try emerging again with: emerge -v1 
${CATEGORY}/${P}"
+   eerror "4. Complete your world upgrade if you were 
performing one."
+   eerror "4. Perform a depclean (emerge -acv)"
+   eerror "\tYou MUST depclean after every world upgrade 
in future!"
+   die "Old binutils found! Change to a newer ld using 
binutils-config (bug #847133)."
+   fi
+   fi
+}
+
+pkg_pretend() {
+   [[ ${MERGE_TYPE} != binary ]] && check_binutils_version
+}
+
+pkg_setup() {
+   [[ ${MERGE_TYPE} != binary ]] && check_binutils_version
+}
+
 src_prepare() {
default
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-05-22 Thread Jakov Smolić
commit: 9afe78448abd09e71d8525cbfbd508067e8843f3
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sun May 22 11:27:07 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun May 22 11:27:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9afe7844

sys-apps/pciutils: Stabilize 3.8.0 hppa, #846836

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.8.0.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0.ebuild
index f4f621d85158..33df18d07893 100644
--- a/sys-apps/pciutils/pciutils-3.8.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-05-22 Thread Agostino Sarubbo
commit: 3d6648f9c2f1545016c99b1bdfa5d81abbd2f715
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun May 22 06:21:40 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun May 22 06:21:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d6648f9

sys-apps/pciutils: sparc stable wrt bug #846836

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.8.0.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0.ebuild
index 52f2d8bb30f2..f4f621d85158 100644
--- a/sys-apps/pciutils/pciutils-3.8.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-05-22 Thread Agostino Sarubbo
commit: cc6493cd7022bba68febf7dd351b9232edc24710
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun May 22 06:19:31 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun May 22 06:19:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc6493cd

sys-apps/pciutils: arm64 stable wrt bug #846836

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="arm64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.8.0.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0.ebuild
index 0cc0a9de89c6..52f2d8bb30f2 100644
--- a/sys-apps/pciutils/pciutils-3.8.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-05-22 Thread Agostino Sarubbo
commit: 949e4ed5328fcae25676aa4c787f630901b8e554
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun May 22 06:17:30 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun May 22 06:17:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=949e4ed5

sys-apps/pciutils: arm stable wrt bug #846836

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.8.0.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0.ebuild
index 988196780330..0cc0a9de89c6 100644
--- a/sys-apps/pciutils/pciutils-3.8.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-05-21 Thread Sam James
commit: 02669fee78c5c2fd1c024d8815bce3b62fa8c08a
Author: Sam James  gentoo  org>
AuthorDate: Sun May 22 03:25:31 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May 22 03:25:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02669fee

sys-apps/pciutils: Stabilize 3.8.0 ppc64, #846836

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.8.0.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0.ebuild
index 61c65e129346..988196780330 100644
--- a/sys-apps/pciutils/pciutils-3.8.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-05-21 Thread Sam James
commit: 688c7ff0d9ddf9017d69ac958b2a73f1f13195f9
Author: Sam James  gentoo  org>
AuthorDate: Sun May 22 03:20:44 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May 22 03:20:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=688c7ff0

sys-apps/pciutils: Stabilize 3.8.0 x86, #846836

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.8.0.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0.ebuild
index 7ce22ed361b0..61c65e129346 100644
--- a/sys-apps/pciutils/pciutils-3.8.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-05-21 Thread Sam James
commit: eb222a6a9e184ba61c262bf8187d860f0cd96417
Author: Sam James  gentoo  org>
AuthorDate: Sun May 22 03:19:10 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May 22 03:19:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb222a6a

sys-apps/pciutils: Stabilize 3.8.0 amd64, #846836

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.8.0.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0.ebuild
index 9c1f249ef101..7ce22ed361b0 100644
--- a/sys-apps/pciutils/pciutils-3.8.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-05-21 Thread Sam James
commit: 03e0756752a40cdd5e21a4860b0a9e6016d0d9d5
Author: Sam James  gentoo  org>
AuthorDate: Sun May 22 03:17:07 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May 22 03:17:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03e07567

sys-apps/pciutils: Stabilize 3.8.0 ppc, #846836

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.8.0.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0.ebuild
index 63502a540c44..9c1f249ef101 100644
--- a/sys-apps/pciutils/pciutils-3.8.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-05-19 Thread WANG Xuerui
commit: d5782e1bb75a58a2f028976f01a556b2f9b14cb7
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu May 19 10:35:25 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu May 19 10:35:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5782e1b

sys-apps/pciutils: keyword 3.8.0 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.8.0.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0.ebuild
index c1fd857add3f..63502a540c44 100644
--- a/sys-apps/pciutils/pciutils-3.8.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-05-15 Thread Mike Gilbert
commit: fc38560331313358745aa2c672fc29e795a0db2c
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun May 15 15:42:40 2022 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun May 15 15:42:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc385603

sys-apps/pciutils: add sys-apps/which to BDEPEND

Used in lib/configure.

Closes: https://bugs.gentoo.org/844109
Signed-off-by: Mike Gilbert  gentoo.org>

 sys-apps/pciutils/pciutils-3.7.0-r2.ebuild | 5 +++--
 sys-apps/pciutils/pciutils-3.8.0.ebuild| 3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/sys-apps/pciutils/pciutils-3.7.0-r2.ebuild 
b/sys-apps/pciutils/pciutils-3.7.0-r2.ebuild
index 9f9b0b41e67e..e456279c71ec 100644
--- a/sys-apps/pciutils/pciutils-3.7.0-r2.ebuild
+++ b/sys-apps/pciutils/pciutils-3.7.0-r2.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
@@ -30,7 +30,8 @@ RDEPEND="
${DEPEND}
sys-apps/hwdata
 "
-BDEPEND="kmod? ( virtual/pkgconfig )"
+BDEPEND="sys-apps/which
+   kmod? ( virtual/pkgconfig )"
 
 PATCHES=(
"${FILESDIR}"/${PN}-3.1.9-static-pc.patch

diff --git a/sys-apps/pciutils/pciutils-3.8.0.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0.ebuild
index 311aa06502b2..c1fd857add3f 100644
--- a/sys-apps/pciutils/pciutils-3.8.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0.ebuild
@@ -24,7 +24,8 @@ DEPEND="kmod? ( sys-apps/kmod )
!static-libs? ( ${LIB_DEPEND//static-libs([+-]),} )"
 RDEPEND="${DEPEND}
sys-apps/hwdata"
-BDEPEND="kmod? ( virtual/pkgconfig )"
+BDEPEND="sys-apps/which
+   kmod? ( virtual/pkgconfig )"
 
 MULTILIB_WRAPPED_HEADERS=( /usr/include/pci/config.h )
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-04-19 Thread Sam James
commit: 7d68d9819a293fc21ca2c8f45c00ec993368d4e2
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 19 21:47:29 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 19 21:47:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d68d981

sys-apps/pciutils: drop unused multilib inherit

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.8.0.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0.ebuild
index cf307c37323f..311aa06502b2 100644
--- a/sys-apps/pciutils/pciutils-3.8.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit multilib toolchain-funcs multilib-minimal flag-o-matic
+inherit toolchain-funcs multilib-minimal flag-o-matic
 
 DESCRIPTION="Various utilities dealing with the PCI bus"
 HOMEPAGE="https://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2022-04-19 Thread Sam James
commit: e5bd42e7f830c19b6bdb4f9b37703bad0d8781cd
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 19 21:45:19 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 19 21:47:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5bd42e7

sys-apps/pciutils: add 3.8.0

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/Manifest  |   1 +
 sys-apps/pciutils/pciutils-3.8.0.ebuild | 104 
 2 files changed, 105 insertions(+)

diff --git a/sys-apps/pciutils/Manifest b/sys-apps/pciutils/Manifest
index af496acdd65b..d50cebb4e33e 100644
--- a/sys-apps/pciutils/Manifest
+++ b/sys-apps/pciutils/Manifest
@@ -1 +1,2 @@
 DIST pciutils-3.7.0.tar.gz 516418 BLAKE2B 
fca6720cff73ec20559c666c76fdcd3b59cdf0e33e2c3894a82590d77c5d51cf22e667fe65d9f66a248a624c2b9c868f6e9b69f45f4b6d704b637afe55041e6a
 SHA512 
8a8fb9dc44a8dd31f80e45a48f6693452c11d343b9dfed87dd5cea6846f38d001f294e4010cd7c0545e238fde45b0e9a8e88c67a43d80676a585336e3665a631
+DIST pciutils-3.8.0.tar.gz 575255 BLAKE2B 
7339189f7115af31ccc19663d54e12ef966fbcd75c6b6b4c28c8ddcaafa3e233313ca14300ef70100edb00f5f2e1e767af9d6527a9d836edd07b598f0a40f4f4
 SHA512 
4b0de02a54c6ed19d5ea85a01d89a62386000bc0f816498872479aba26fb007a8c394cba3f95e77a7ffe52d36ad2726169b7b83bda5ab0647f00e49d8a34bf15

diff --git a/sys-apps/pciutils/pciutils-3.8.0.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0.ebuild
new file mode 100644
index ..cf307c37323f
--- /dev/null
+++ b/sys-apps/pciutils/pciutils-3.8.0.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib toolchain-funcs multilib-minimal flag-o-matic
+
+DESCRIPTION="Various utilities dealing with the PCI bus"
+HOMEPAGE="https://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
+SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="dns +kmod static-libs +udev zlib"
+REQUIRED_USE="static-libs? ( !udev )"
+
+# Have the sub-libs in RDEPEND with [static-libs] since, logically,
+# our libpci.a depends on libz.a/etc... at runtime.
+LIB_DEPEND="zlib? ( 
>=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )"
+DEPEND="kmod? ( sys-apps/kmod )
+   udev? ( >=virtual/libudev-208[${MULTILIB_USEDEP}] )
+   static-libs? ( ${LIB_DEPEND} )
+   !static-libs? ( ${LIB_DEPEND//static-libs([+-]),} )"
+RDEPEND="${DEPEND}
+   sys-apps/hwdata"
+BDEPEND="kmod? ( virtual/pkgconfig )"
+
+MULTILIB_WRAPPED_HEADERS=( /usr/include/pci/config.h )
+
+switch_config() {
+   [[ $# -ne 2 ]] && return 1
+   local opt=$1 val=$2
+
+   sed "s@^\(${opt}=\).*\$@\1${val}@" -i Makefile || die
+   return 0
+}
+
+src_prepare() {
+   default
+
+   if use static-libs ; then
+   cp -pPR "${S}" "${S}.static" || die
+   mv "${S}.static" "${S}/static" || die
+   fi
+
+   multilib_copy_sources
+}
+
+multilib_src_configure() {
+   # bug #471102
+   append-lfs-flags
+}
+
+pemake() {
+   emake \
+   HOST="${CHOST}" \
+   CROSS_COMPILE="${CHOST}-" \
+   CC="$(tc-getCC)" \
+   AR="$(tc-getAR)" \
+   PKG_CONFIG="$(tc-getPKG_CONFIG)" \
+   RANLIB="$(tc-getRANLIB)" \
+   DNS=$(usex dns) \
+   IDSDIR='$(SHAREDIR)/hwdata' \
+   MANDIR='$(SHAREDIR)/man' \
+   PREFIX="${EPREFIX}/usr" \
+   SHARED="yes" \
+   STRIP="" \
+   ZLIB=$(usex zlib) \
+   PCI_COMPRESSED_IDS=0 \
+   PCI_IDS=pci.ids \
+   LIBDIR="\${PREFIX}/$(get_libdir)" \
+   LIBKMOD=$(multilib_native_usex kmod) \
+   HWDB=$(usex udev) \
+   "$@"
+}
+
+multilib_src_compile() {
+   pemake OPT="${CFLAGS}" all
+
+   if use static-libs ; then
+   pemake \
+   -C "${BUILD_DIR}"/static \
+   OPT="${CFLAGS}" \
+   SHARED="no" \
+   lib/libpci.a
+   fi
+}
+
+multilib_src_install() {
+   pemake DESTDIR="${D}" install install-lib
+
+   use static-libs && dolib.a "${BUILD_DIR}"/static/lib/libpci.a
+}
+
+multilib_src_install_all() {
+   dodoc ChangeLog README TODO
+
+   rm "${ED}"/usr/sbin/update-pciids 
"${ED}"/usr/share/man/man8/update-pciids.8* || die
+   rm -r "${ED}"/usr/share/hwdata || die
+
+   newinitd "${FILESDIR}"/init.d-pciparm pciparm
+   newconfd "${FILESDIR}"/conf.d-pciparm pciparm
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2021-12-24 Thread Mike Gilbert
commit: bb4fcefc0f4830a3349a46a3a4601f3e57572ec7
Author: Mike Gilbert  gentoo  org>
AuthorDate: Fri Dec 24 21:46:24 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Dec 25 00:02:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb4fcefc

sys-apps/pciutils: drop 3.7.0-r1

Signed-off-by: Mike Gilbert  gentoo.org>

 sys-apps/pciutils/pciutils-3.7.0-r1.ebuild | 118 -
 1 file changed, 118 deletions(-)

diff --git a/sys-apps/pciutils/pciutils-3.7.0-r1.ebuild 
b/sys-apps/pciutils/pciutils-3.7.0-r1.ebuild
deleted file mode 100644
index 56a6825079f8..
--- a/sys-apps/pciutils/pciutils-3.7.0-r1.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit multilib toolchain-funcs multilib-minimal flag-o-matic
-
-DESCRIPTION="Various utilities dealing with the PCI bus"
-HOMEPAGE="https://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
-SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
-IUSE="dns +kmod static-libs +udev zlib"
-REQUIRED_USE="static-libs? ( !udev )"
-
-# Have the sub-libs in RDEPEND with [static-libs] since, logically,
-# our libpci.a depends on libz.a/etc... at runtime.
-LIB_DEPEND="
-   zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )
-"
-DEPEND="
-   kmod? ( sys-apps/kmod )
-   udev? ( >=virtual/libudev-208[${MULTILIB_USEDEP}] )
-   static-libs? ( ${LIB_DEPEND} )
-   !static-libs? ( ${LIB_DEPEND//static-libs([+-]),} )
-"
-RDEPEND="
-   ${DEPEND}
-   sys-apps/hwids
-"
-BDEPEND="kmod? ( virtual/pkgconfig )"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-3.1.9-static-pc.patch
-)
-
-MULTILIB_WRAPPED_HEADERS=( /usr/include/pci/config.h )
-
-switch_config() {
-   [[ $# -ne 2 ]] && return 1
-   local opt=$1 val=$2
-
-   sed "s@^\(${opt}=\).*\$@\1${val}@" -i Makefile || die
-   return 0
-}
-
-src_prepare() {
-   default
-
-   if use static-libs ; then
-   cp -pPR "${S}" "${S}.static" || die
-   mv "${S}.static" "${S}/static" || die
-   fi
-
-   multilib_copy_sources
-}
-
-multilib_src_configure() {
-   append-lfs-flags #471102
-}
-
-pemake() {
-   emake \
-   HOST="${CHOST}" \
-   CROSS_COMPILE="${CHOST}-" \
-   CC="$(tc-getCC)" \
-   AR="$(tc-getAR)" \
-   PKG_CONFIG="$(tc-getPKG_CONFIG)" \
-   RANLIB="$(tc-getRANLIB)" \
-   DNS=$(usex dns) \
-   IDSDIR='$(SHAREDIR)/misc' \
-   MANDIR='$(SHAREDIR)/man' \
-   PREFIX="${EPREFIX}/usr" \
-   SHARED="yes" \
-   STRIP="" \
-   ZLIB=$(usex zlib) \
-   PCI_COMPRESSED_IDS=0 \
-   PCI_IDS=pci.ids \
-   LIBDIR="\${PREFIX}/$(get_libdir)" \
-   LIBKMOD=$(multilib_native_usex kmod) \
-   HWDB=$(usex udev) \
-   "$@"
-}
-
-multilib_src_compile() {
-   pemake OPT="${CFLAGS}" all
-   if use static-libs ; then
-   pemake \
-   -C "${BUILD_DIR}/static" \
-   OPT="${CFLAGS}" \
-   SHARED="no" \
-   lib/libpci.a
-   fi
-}
-
-multilib_src_install() {
-   pemake DESTDIR="${D}" install install-lib
-   use static-libs && dolib.a "${BUILD_DIR}/static/lib/libpci.a"
-}
-
-multilib_src_install_all() {
-   dodoc ChangeLog README TODO
-
-   rm "${ED}"/usr/sbin/update-pciids "${ED}"/usr/share/misc/pci.ids \
-   "${ED}"/usr/share/man/man8/update-pciids.8*
-
-   newinitd "${FILESDIR}"/init.d-pciparm pciparm
-   newconfd "${FILESDIR}"/conf.d-pciparm pciparm
-}
-
-pkg_postinst() {
-   if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 
3.2.0 ; then
-   elog "The 'network-cron' USE flag is gone; if you want a more 
up-to-date"
-   elog "pci.ids file, you should use sys-apps/hwids- 
(live ebuild)."
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2021-12-07 Thread Sam James
commit: a025e5f0540d07f6e93443321577646c05110fea
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec  7 20:28:12 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec  7 20:28:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a025e5f0

sys-apps/pciutils: Stabilize 3.7.0-r2 ALLARCHES, #828474

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.7.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.7.0-r2.ebuild 
b/sys-apps/pciutils/pciutils-3.7.0-r2.ebuild
index 5c117edb478b..9f9b0b41e67e 100644
--- a/sys-apps/pciutils/pciutils-3.7.0-r2.ebuild
+++ b/sys-apps/pciutils/pciutils-3.7.0-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
 IUSE="dns +kmod static-libs +udev zlib"
 REQUIRED_USE="static-libs? ( !udev )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2021-11-28 Thread Mike Gilbert
commit: ddca2bf3c0f50b5e2aa248684e84251d21c682c8
Author: Mike Gilbert  gentoo  org>
AuthorDate: Thu Nov 25 00:40:07 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Nov 28 19:54:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddca2bf3

sys-apps/pciutils: migrate to hwdata

Signed-off-by: Mike Gilbert  gentoo.org>

 sys-apps/pciutils/pciutils-3.7.0-r2.ebuild | 111 +
 1 file changed, 111 insertions(+)

diff --git a/sys-apps/pciutils/pciutils-3.7.0-r2.ebuild 
b/sys-apps/pciutils/pciutils-3.7.0-r2.ebuild
new file mode 100644
index ..5c117edb478b
--- /dev/null
+++ b/sys-apps/pciutils/pciutils-3.7.0-r2.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib toolchain-funcs multilib-minimal flag-o-matic
+
+DESCRIPTION="Various utilities dealing with the PCI bus"
+HOMEPAGE="https://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
+SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="dns +kmod static-libs +udev zlib"
+REQUIRED_USE="static-libs? ( !udev )"
+
+# Have the sub-libs in RDEPEND with [static-libs] since, logically,
+# our libpci.a depends on libz.a/etc... at runtime.
+LIB_DEPEND="
+   zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )
+"
+DEPEND="
+   kmod? ( sys-apps/kmod )
+   udev? ( >=virtual/libudev-208[${MULTILIB_USEDEP}] )
+   static-libs? ( ${LIB_DEPEND} )
+   !static-libs? ( ${LIB_DEPEND//static-libs([+-]),} )
+"
+RDEPEND="
+   ${DEPEND}
+   sys-apps/hwdata
+"
+BDEPEND="kmod? ( virtual/pkgconfig )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.1.9-static-pc.patch
+)
+
+MULTILIB_WRAPPED_HEADERS=( /usr/include/pci/config.h )
+
+switch_config() {
+   [[ $# -ne 2 ]] && return 1
+   local opt=$1 val=$2
+
+   sed "s@^\(${opt}=\).*\$@\1${val}@" -i Makefile || die
+   return 0
+}
+
+src_prepare() {
+   default
+
+   if use static-libs ; then
+   cp -pPR "${S}" "${S}.static" || die
+   mv "${S}.static" "${S}/static" || die
+   fi
+
+   multilib_copy_sources
+}
+
+multilib_src_configure() {
+   append-lfs-flags #471102
+}
+
+pemake() {
+   emake \
+   HOST="${CHOST}" \
+   CROSS_COMPILE="${CHOST}-" \
+   CC="$(tc-getCC)" \
+   AR="$(tc-getAR)" \
+   PKG_CONFIG="$(tc-getPKG_CONFIG)" \
+   RANLIB="$(tc-getRANLIB)" \
+   DNS=$(usex dns) \
+   IDSDIR='$(SHAREDIR)/hwdata' \
+   MANDIR='$(SHAREDIR)/man' \
+   PREFIX="${EPREFIX}/usr" \
+   SHARED="yes" \
+   STRIP="" \
+   ZLIB=$(usex zlib) \
+   PCI_COMPRESSED_IDS=0 \
+   PCI_IDS=pci.ids \
+   LIBDIR="\${PREFIX}/$(get_libdir)" \
+   LIBKMOD=$(multilib_native_usex kmod) \
+   HWDB=$(usex udev) \
+   "$@"
+}
+
+multilib_src_compile() {
+   pemake OPT="${CFLAGS}" all
+   if use static-libs ; then
+   pemake \
+   -C "${BUILD_DIR}/static" \
+   OPT="${CFLAGS}" \
+   SHARED="no" \
+   lib/libpci.a
+   fi
+}
+
+multilib_src_install() {
+   pemake DESTDIR="${D}" install install-lib
+   use static-libs && dolib.a "${BUILD_DIR}/static/lib/libpci.a"
+}
+
+multilib_src_install_all() {
+   dodoc ChangeLog README TODO
+
+   rm "${ED}"/usr/sbin/update-pciids 
"${ED}"/usr/share/man/man8/update-pciids.8* || die
+   rm -r "${ED}"/usr/share/hwdata || die
+
+   newinitd "${FILESDIR}"/init.d-pciparm pciparm
+   newconfd "${FILESDIR}"/conf.d-pciparm pciparm
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2021-09-07 Thread Mike Gilbert
commit: ff6f1dffdf4489aab16697a6b43929472f7ec2ff
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Sep  5 00:33:08 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Tue Sep  7 17:36:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff6f1dff

sys-apps/pciutils: drop udev static libs

Signed-off-by: Mike Gilbert  gentoo.org>

 sys-apps/pciutils/{pciutils-3.7.0.ebuild => pciutils-3.7.0-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.7.0.ebuild 
b/sys-apps/pciutils/pciutils-3.7.0-r1.ebuild
similarity index 96%
rename from sys-apps/pciutils/pciutils-3.7.0.ebuild
rename to sys-apps/pciutils/pciutils-3.7.0-r1.ebuild
index b36f536b973..972c471fece 100644
--- a/sys-apps/pciutils/pciutils-3.7.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.7.0-r1.ebuild
@@ -13,15 +13,16 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux"
 IUSE="dns +kmod static-libs +udev zlib"
+REQUIRED_USE="static-libs? ( !udev )"
 
 # Have the sub-libs in RDEPEND with [static-libs] since, logically,
 # our libpci.a depends on libz.a/etc... at runtime.
 LIB_DEPEND="
zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )
-   udev? ( >=virtual/libudev-208[static-libs(-),${MULTILIB_USEDEP}] )
 "
 DEPEND="
kmod? ( sys-apps/kmod )
+   udev? ( >=virtual/libudev-208[${MULTILIB_USEDEP}] )
static-libs? ( ${LIB_DEPEND} )
!static-libs? ( ${LIB_DEPEND//static-libs([+-]),} )
 "



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2021-05-14 Thread David Seifert
commit: 0b84a4045ff86f18da82bffa5a7f016f71b6892d
Author: David Seifert  gentoo  org>
AuthorDate: Fri May 14 22:13:07 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri May 14 22:13:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b84a404

sys-apps/pciutils: drop 3.5.6-r1, 3.6.4

Signed-off-by: David Seifert  gentoo.org>

 sys-apps/pciutils/Manifest |   2 -
 sys-apps/pciutils/pciutils-3.5.6-r1.ebuild | 120 -
 sys-apps/pciutils/pciutils-3.6.4.ebuild| 117 
 3 files changed, 239 deletions(-)

diff --git a/sys-apps/pciutils/Manifest b/sys-apps/pciutils/Manifest
index 568417d5e94..af496acdd65 100644
--- a/sys-apps/pciutils/Manifest
+++ b/sys-apps/pciutils/Manifest
@@ -1,3 +1 @@
-DIST pciutils-3.5.6.tar.gz 442190 BLAKE2B 
9f1237828436f0566caa13e49a154b40fcc41ddd165268011012e55a33ea401e3b78ddffecc6f0ec36efb24b6d9338a691167ac094d0d26f855e42cd055701bb
 SHA512 
dcdca7e0bce69d1bee1fa5ea480a9f38534d66da576fdc710aefd8eeb0c18bf6ec5b39e63019d29d6bae0ec2d3881f5d07a4a105ca04c320d84c17821f7297e4
-DIST pciutils-3.6.4.tar.gz 497675 BLAKE2B 
45bbfafbf9ad6aea09fd17fe235bbb11bfe00fff2f31f1223d739eacf3db1a66ba0cd05f0df29349b01cc0a4fc598aeafb6fcf276e2edf2d557b9c21f25a0382
 SHA512 
001b2f722ee9f5fd57307aa4e8894c97ed3eee42f8b17caba2f29b191ab2fe98dcbfb76438f97dcaa343ea90011f6f6277ab367f361bc45e20d7ed848b439f86
 DIST pciutils-3.7.0.tar.gz 516418 BLAKE2B 
fca6720cff73ec20559c666c76fdcd3b59cdf0e33e2c3894a82590d77c5d51cf22e667fe65d9f66a248a624c2b9c868f6e9b69f45f4b6d704b637afe55041e6a
 SHA512 
8a8fb9dc44a8dd31f80e45a48f6693452c11d343b9dfed87dd5cea6846f38d001f294e4010cd7c0545e238fde45b0e9a8e88c67a43d80676a585336e3665a631

diff --git a/sys-apps/pciutils/pciutils-3.5.6-r1.ebuild 
b/sys-apps/pciutils/pciutils-3.5.6-r1.ebuild
deleted file mode 100644
index e40e798ccb3..000
--- a/sys-apps/pciutils/pciutils-3.5.6-r1.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eapi7-ver multilib toolchain-funcs multilib-minimal flag-o-matic
-
-DESCRIPTION="Various utilities dealing with the PCI bus"
-HOMEPAGE="https://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
-SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc 
x86 ~amd64-linux ~x86-linux"
-IUSE="dns +kmod static-libs +udev zlib"
-
-# Have the sub-libs in RDEPEND with [static-libs] since, logically,
-# our libpci.a depends on libz.a/etc... at runtime.
-LIB_DEPEND="
-   zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )
-   udev? ( >=virtual/libudev-208[static-libs(-),${MULTILIB_USEDEP}] )
-"
-DEPEND="
-   kmod? ( sys-apps/kmod )
-   static-libs? ( ${LIB_DEPEND} )
-   !static-libs? ( ${LIB_DEPEND//static-libs([+-]),} )
-"
-RDEPEND="
-   ${DEPEND}
-   sys-apps/hwids
-"
-DEPEND="
-   ${DEPEND}
-   kmod? ( virtual/pkgconfig )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-3.1.9-static-pc.patch
-)
-
-MULTILIB_WRAPPED_HEADERS=( /usr/include/pci/config.h )
-
-switch_config() {
-   [[ $# -ne 2 ]] && return 1
-   local opt=$1 val=$2
-
-   sed "s@^\(${opt}=\).*\$@\1${val}@" -i Makefile || die
-   return 0
-}
-
-src_prepare() {
-   default
-
-   if use static-libs ; then
-   cp -pPR "${S}" "${S}.static" || die
-   mv "${S}.static" "${S}/static" || die
-   fi
-
-   multilib_copy_sources
-}
-
-multilib_src_configure() {
-   append-lfs-flags #471102
-}
-
-pemake() {
-   emake \
-   HOST="${CHOST}" \
-   CROSS_COMPILE="${CHOST}-" \
-   CC="$(tc-getCC)" \
-   AR="$(tc-getAR)" \
-   PKG_CONFIG="$(tc-getPKG_CONFIG)" \
-   RANLIB="$(tc-getRANLIB)" \
-   DNS=$(usex dns) \
-   IDSDIR='$(SHAREDIR)/misc' \
-   MANDIR='$(SHAREDIR)/man' \
-   PREFIX="${EPREFIX}/usr" \
-   SHARED="yes" \
-   STRIP="" \
-   ZLIB=$(usex zlib) \
-   PCI_COMPRESSED_IDS=0 \
-   PCI_IDS=pci.ids \
-   LIBDIR="\${PREFIX}/$(get_libdir)" \
-   LIBKMOD=$(multilib_native_usex kmod) \
-   HWDB=$(usex udev) \
-   "$@"
-}
-
-multilib_src_compile() {
-   pemake OPT="${CFLAGS}" all
-   if use static-libs ; then
-   pemake \
-   -C "${BUILD_DIR}/static" \
-   OPT="${CFLAGS}" \
-   SHARED="no" \
-   lib/libpci.a
-   fi
-}
-
-multilib_src_install() {
-   pemake DESTDIR="${D}" install install-lib
-   use static-libs && dolib.a "${BUILD_DIR}/static/lib/libpci.a"
-}
-
-multilib_src_install_all() {
-   dodoc ChangeLog 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2021-03-31 Thread Sergei Trofimovich
commit: cdfda5e22df4785ef692ef196b218e4daccfcbe3
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Wed Mar 31 14:59:49 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Mar 31 15:25:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdfda5e2

sys-apps/pciutils: stable 3.7.0 for sparc, bug #774660

Package-Manager: Portage-3.0.17, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-apps/pciutils/pciutils-3.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.7.0.ebuild 
b/sys-apps/pciutils/pciutils-3.7.0.ebuild
index 2dbe46e68fa..36b179d35a6 100644
--- a/sys-apps/pciutils/pciutils-3.7.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.7.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 ~sparc 
x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc 
x86 ~amd64-linux ~x86-linux"
 IUSE="dns +kmod static-libs +udev zlib"
 
 # Have the sub-libs in RDEPEND with [static-libs] since, logically,



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2021-03-31 Thread Agostino Sarubbo
commit: 25b46153d6710a3f3395a2ae390017edfacd8d48
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Mar 31 14:07:39 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Mar 31 14:08:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25b46153

sys-apps/pciutils: s390 stable wrt bug #774660

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="s390"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/pciutils/pciutils-3.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.7.0.ebuild 
b/sys-apps/pciutils/pciutils-3.7.0.ebuild
index 25dcf5789f8..2dbe46e68fa 100644
--- a/sys-apps/pciutils/pciutils-3.7.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.7.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 ~sparc 
x86 ~amd64-linux ~x86-linux"
 IUSE="dns +kmod static-libs +udev zlib"
 
 # Have the sub-libs in RDEPEND with [static-libs] since, logically,



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2021-03-31 Thread Agostino Sarubbo
commit: 6c59aad48623949dea11dcb6866f0aa2e97ae1be
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Mar 31 14:05:34 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Mar 31 14:05:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c59aad4

sys-apps/pciutils: ppc64 stable wrt bug #774660

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/pciutils/pciutils-3.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.7.0.ebuild 
b/sys-apps/pciutils/pciutils-3.7.0.ebuild
index 94b0863ca10..25dcf5789f8 100644
--- a/sys-apps/pciutils/pciutils-3.7.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.7.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="dns +kmod static-libs +udev zlib"
 
 # Have the sub-libs in RDEPEND with [static-libs] since, logically,



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2021-03-31 Thread Agostino Sarubbo
commit: e84b84c5fb125516a6d85920ecab5e5b4b133fff
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Mar 31 13:53:30 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Mar 31 13:53:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e84b84c5

sys-apps/pciutils: ppc stable wrt bug #774660

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/pciutils/pciutils-3.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.7.0.ebuild 
b/sys-apps/pciutils/pciutils-3.7.0.ebuild
index 40d177a4c26..94b0863ca10 100644
--- a/sys-apps/pciutils/pciutils-3.7.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.7.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="dns +kmod static-libs +udev zlib"
 
 # Have the sub-libs in RDEPEND with [static-libs] since, logically,



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2021-03-30 Thread Sam James
commit: 38139cb70e1af1e5228ee31387d7fa9711769246
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 31 02:24:02 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 31 02:24:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38139cb7

sys-apps/pciutils: Stabilize 3.7.0 arm64, #774660

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.7.0.ebuild 
b/sys-apps/pciutils/pciutils-3.7.0.ebuild
index e33fe9417ed..40d177a4c26 100644
--- a/sys-apps/pciutils/pciutils-3.7.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.7.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="dns +kmod static-libs +udev zlib"
 
 # Have the sub-libs in RDEPEND with [static-libs] since, logically,



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2021-03-30 Thread Sam James
commit: 6dfcee606d3eed4f10e3eecc80337b91fee8f19f
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 31 02:23:37 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 31 02:23:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dfcee60

sys-apps/pciutils: Stabilize 3.7.0 arm, #774660

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.7.0.ebuild 
b/sys-apps/pciutils/pciutils-3.7.0.ebuild
index f1026ab519b..e33fe9417ed 100644
--- a/sys-apps/pciutils/pciutils-3.7.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.7.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="dns +kmod static-libs +udev zlib"
 
 # Have the sub-libs in RDEPEND with [static-libs] since, logically,



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2021-03-30 Thread Sam James
commit: d839bf3cc1f595d94247a1a707664d64ade3dbfd
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 31 02:21:42 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 31 02:21:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d839bf3c

sys-apps/pciutils: Stabilize 3.7.0 amd64, #774660

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.7.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/pciutils/pciutils-3.7.0.ebuild 
b/sys-apps/pciutils/pciutils-3.7.0.ebuild
index 5f2028a8600..666f298117e 100644
--- a/sys-apps/pciutils/pciutils-3.7.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="dns +kmod static-libs +udev zlib"
 
 # Have the sub-libs in RDEPEND with [static-libs] since, logically,



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2021-03-30 Thread Sam James
commit: ccb2194717c5ae2f82a8966a60d5a1055a60c5f4
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 31 02:22:23 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 31 02:22:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccb21947

sys-apps/pciutils: Stabilize 3.7.0 x86, #774660

Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.7.0.ebuild 
b/sys-apps/pciutils/pciutils-3.7.0.ebuild
index 666f298117e..f1026ab519b 100644
--- a/sys-apps/pciutils/pciutils-3.7.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.7.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="dns +kmod static-libs +udev zlib"
 
 # Have the sub-libs in RDEPEND with [static-libs] since, logically,



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2020-07-31 Thread Lars Wendler
commit: 8e30a7e97478e945bf2043c9d77f4d199236e9a4
Author: David Michael  gmail  com>
AuthorDate: Sat Aug  1 02:19:59 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat Aug  1 02:20:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e30a7e9

sys-apps/pciutils: Move virtual/pkgconfig to BDEPEND

Closes: https://bugs.gentoo.org/734996
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/pciutils/pciutils-3.6.4.ebuild | 5 +
 sys-apps/pciutils/pciutils-3.7.0.ebuild | 5 +
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/sys-apps/pciutils/pciutils-3.6.4.ebuild 
b/sys-apps/pciutils/pciutils-3.6.4.ebuild
index 14eca374e83..0669046026a 100644
--- a/sys-apps/pciutils/pciutils-3.6.4.ebuild
+++ b/sys-apps/pciutils/pciutils-3.6.4.ebuild
@@ -29,10 +29,7 @@ RDEPEND="
${DEPEND}
sys-apps/hwids
 "
-DEPEND="
-   ${DEPEND}
-   kmod? ( virtual/pkgconfig )
-"
+BDEPEND="kmod? ( virtual/pkgconfig )"
 
 PATCHES=(
"${FILESDIR}"/${PN}-3.1.9-static-pc.patch

diff --git a/sys-apps/pciutils/pciutils-3.7.0.ebuild 
b/sys-apps/pciutils/pciutils-3.7.0.ebuild
index cc2e5824111..5f2028a8600 100644
--- a/sys-apps/pciutils/pciutils-3.7.0.ebuild
+++ b/sys-apps/pciutils/pciutils-3.7.0.ebuild
@@ -29,10 +29,7 @@ RDEPEND="
${DEPEND}
sys-apps/hwids
 "
-DEPEND="
-   ${DEPEND}
-   kmod? ( virtual/pkgconfig )
-"
+BDEPEND="kmod? ( virtual/pkgconfig )"
 
 PATCHES=(
"${FILESDIR}"/${PN}-3.1.9-static-pc.patch



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2020-07-10 Thread Sam James
commit: fb05ac26ec3c51eae5a0bcdf3d6c1b72d8ee28ef
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 10 19:26:52 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 10 19:26:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb05ac26

sys-apps/pciutils: arm stable (bug #730504)

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.6.4.ebuild 
b/sys-apps/pciutils/pciutils-3.6.4.ebuild
index a2435f094c8..14eca374e83 100644
--- a/sys-apps/pciutils/pciutils-3.6.4.ebuild
+++ b/sys-apps/pciutils/pciutils-3.6.4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc 
x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc 
x86 ~amd64-linux ~x86-linux"
 IUSE="dns +kmod static-libs +udev zlib"
 
 # Have the sub-libs in RDEPEND with [static-libs] since, logically,



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2020-07-10 Thread Sam James
commit: ee8c91b193357fd4ead24ed20276c66fde91e728
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 10 11:05:02 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 10 11:05:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee8c91b1

sys-apps/pciutils: arm64 stable (bug #730504)

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 sys-apps/pciutils/pciutils-3.6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.6.4.ebuild 
b/sys-apps/pciutils/pciutils-3.6.4.ebuild
index ddf7d30e3d7..a2435f094c8 100644
--- a/sys-apps/pciutils/pciutils-3.6.4.ebuild
+++ b/sys-apps/pciutils/pciutils-3.6.4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc 
x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc 
x86 ~amd64-linux ~x86-linux"
 IUSE="dns +kmod static-libs +udev zlib"
 
 # Have the sub-libs in RDEPEND with [static-libs] since, logically,



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2020-07-09 Thread Agostino Sarubbo
commit: 39979022d0712cd7bc603354f3fae9b561cdd98d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jul  9 08:34:29 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jul  9 08:34:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39979022

sys-apps/pciutils: s390 stable wrt bug #730504

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="s390"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/pciutils/pciutils-3.6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.6.4.ebuild 
b/sys-apps/pciutils/pciutils-3.6.4.ebuild
index 57a4898d68e..c889283bea9 100644
--- a/sys-apps/pciutils/pciutils-3.6.4.ebuild
+++ b/sys-apps/pciutils/pciutils-3.6.4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 
sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="dns +kmod static-libs +udev zlib"
 
 # Have the sub-libs in RDEPEND with [static-libs] since, logically,



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2020-07-08 Thread Michał Górny
commit: 709262752db1df359d1630d00f40fad8fba2e8d9
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jul  8 12:22:30 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jul  8 12:23:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70926275

sys-apps/pciutils: Stabilize 3.6.4 amd64, #730504

Signed-off-by: Michał Górny  gentoo.org>

 sys-apps/pciutils/pciutils-3.6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.6.4.ebuild 
b/sys-apps/pciutils/pciutils-3.6.4.ebuild
index 8a039a0bd5a..57a4898d68e 100644
--- a/sys-apps/pciutils/pciutils-3.6.4.ebuild
+++ b/sys-apps/pciutils/pciutils-3.6.4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 
sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 
sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="dns +kmod static-libs +udev zlib"
 
 # Have the sub-libs in RDEPEND with [static-libs] since, logically,



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2020-07-07 Thread Sergei Trofimovich
commit: 3fc71b2dafd1250ea32dd4d0feec0ceb6ffc1872
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Tue Jul  7 05:12:49 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Jul  7 06:57:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fc71b2d

sys-apps/pciutils: stable 3.6.4 for hppa, bug #730504

Package-Manager: Portage-2.3.99, Repoman-2.3.23
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-apps/pciutils/pciutils-3.6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.6.4.ebuild 
b/sys-apps/pciutils/pciutils-3.6.4.ebuild
index d78c6226038..8a039a0bd5a 100644
--- a/sys-apps/pciutils/pciutils-3.6.4.ebuild
+++ b/sys-apps/pciutils/pciutils-3.6.4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 
sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 
sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="dns +kmod static-libs +udev zlib"
 
 # Have the sub-libs in RDEPEND with [static-libs] since, logically,



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2020-07-06 Thread Sergei Trofimovich
commit: 368fcc9cdf774c3f7c42921074719968de807d51
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Jul  6 15:05:08 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jul  6 16:43:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=368fcc9c

sys-apps/pciutils: stable 3.6.4 for sparc, bug #730504

Package-Manager: Portage-2.3.99, Repoman-2.3.23
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-apps/pciutils/pciutils-3.6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.6.4.ebuild 
b/sys-apps/pciutils/pciutils-3.6.4.ebuild
index b855fde4622..d78c6226038 100644
--- a/sys-apps/pciutils/pciutils-3.6.4.ebuild
+++ b/sys-apps/pciutils/pciutils-3.6.4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 
sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="dns +kmod static-libs +udev zlib"
 
 # Have the sub-libs in RDEPEND with [static-libs] since, logically,



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2020-07-06 Thread Sergei Trofimovich
commit: 408dbc16add0b9069a0428f428837b3c15f027f3
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Jul  6 07:17:31 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jul  6 07:17:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=408dbc16

sys-apps/pciutils: stable 3.6.4 for ppc64

stable wrt bug #730504

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-apps/pciutils/pciutils-3.6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.6.4.ebuild 
b/sys-apps/pciutils/pciutils-3.6.4.ebuild
index 50df983f542..b855fde4622 100644
--- a/sys-apps/pciutils/pciutils-3.6.4.ebuild
+++ b/sys-apps/pciutils/pciutils-3.6.4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="dns +kmod static-libs +udev zlib"
 
 # Have the sub-libs in RDEPEND with [static-libs] since, logically,



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2020-07-06 Thread Sergei Trofimovich
commit: 0e56c6c737b7e6df71c6c3deca76b1a653a57cea
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Jul  6 06:59:27 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jul  6 07:02:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e56c6c7

sys-apps/pciutils: stable 3.6.4 for ppc

stable wrt bug #730504

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-apps/pciutils/pciutils-3.6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.6.4.ebuild 
b/sys-apps/pciutils/pciutils-3.6.4.ebuild
index cc2e5824111..50df983f542 100644
--- a/sys-apps/pciutils/pciutils-3.6.4.ebuild
+++ b/sys-apps/pciutils/pciutils-3.6.4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="dns +kmod static-libs +udev zlib"
 
 # Have the sub-libs in RDEPEND with [static-libs] since, logically,



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2020-05-31 Thread Lars Wendler
commit: e461aa752395206e5df0bbb1d11538b0a660a393
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun May 31 09:13:24 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun May 31 09:13:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e461aa75

sys-apps/pciutils: Removed old

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/pciutils/Manifest |   2 -
 sys-apps/pciutils/pciutils-3.6.2-r1.ebuild | 120 -
 sys-apps/pciutils/pciutils-3.6.3.ebuild| 120 -
 3 files changed, 242 deletions(-)

diff --git a/sys-apps/pciutils/Manifest b/sys-apps/pciutils/Manifest
index 1df127df67d..568417d5e94 100644
--- a/sys-apps/pciutils/Manifest
+++ b/sys-apps/pciutils/Manifest
@@ -1,5 +1,3 @@
 DIST pciutils-3.5.6.tar.gz 442190 BLAKE2B 
9f1237828436f0566caa13e49a154b40fcc41ddd165268011012e55a33ea401e3b78ddffecc6f0ec36efb24b6d9338a691167ac094d0d26f855e42cd055701bb
 SHA512 
dcdca7e0bce69d1bee1fa5ea480a9f38534d66da576fdc710aefd8eeb0c18bf6ec5b39e63019d29d6bae0ec2d3881f5d07a4a105ca04c320d84c17821f7297e4
-DIST pciutils-3.6.2.tar.gz 473699 BLAKE2B 
ae7563f2d17334f54e6b055d135138e21d105fa5f5b71061a6de638ecf26c35d9de79cb67a691f936f42fcedb9a1f300e046dd892429195a9f54f9536e313110
 SHA512 
ab2bab26dd11f941286593135b751b811fa6199d4b5fb8a18e74f72709ea598ab0c0efa31ad6ca70949966dcf80cdfb16d53e5d339b773c69e0a12f132bb8577
-DIST pciutils-3.6.3.tar.gz 495316 BLAKE2B 
01dab2337dcde5dc436df6892ce7c54c9c875b7c619c8f8675027e82e1073ab9b4c603f61f9b03c27af90fecb60fd35199fdf0b62dc90b5d2d387bfde00408b3
 SHA512 
deaf265bae9149289c860eb47cf6b85ff300744a1e79bcd232819f56e6dcdddcda4e7d3639869c228a492237985298866eb2633938b00d880545594e3c02df05
 DIST pciutils-3.6.4.tar.gz 497675 BLAKE2B 
45bbfafbf9ad6aea09fd17fe235bbb11bfe00fff2f31f1223d739eacf3db1a66ba0cd05f0df29349b01cc0a4fc598aeafb6fcf276e2edf2d557b9c21f25a0382
 SHA512 
001b2f722ee9f5fd57307aa4e8894c97ed3eee42f8b17caba2f29b191ab2fe98dcbfb76438f97dcaa343ea90011f6f6277ab367f361bc45e20d7ed848b439f86
 DIST pciutils-3.7.0.tar.gz 516418 BLAKE2B 
fca6720cff73ec20559c666c76fdcd3b59cdf0e33e2c3894a82590d77c5d51cf22e667fe65d9f66a248a624c2b9c868f6e9b69f45f4b6d704b637afe55041e6a
 SHA512 
8a8fb9dc44a8dd31f80e45a48f6693452c11d343b9dfed87dd5cea6846f38d001f294e4010cd7c0545e238fde45b0e9a8e88c67a43d80676a585336e3665a631

diff --git a/sys-apps/pciutils/pciutils-3.6.2-r1.ebuild 
b/sys-apps/pciutils/pciutils-3.6.2-r1.ebuild
deleted file mode 100644
index bab8c6b3195..000
--- a/sys-apps/pciutils/pciutils-3.6.2-r1.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eapi7-ver multilib toolchain-funcs multilib-minimal flag-o-matic
-
-DESCRIPTION="Various utilities dealing with the PCI bus"
-HOMEPAGE="https://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
-SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="dns +kmod static-libs +udev zlib"
-
-# Have the sub-libs in RDEPEND with [static-libs] since, logically,
-# our libpci.a depends on libz.a/etc... at runtime.
-LIB_DEPEND="
-   zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )
-   udev? ( >=virtual/libudev-208[static-libs(-),${MULTILIB_USEDEP}] )
-"
-DEPEND="
-   kmod? ( sys-apps/kmod )
-   static-libs? ( ${LIB_DEPEND} )
-   !static-libs? ( ${LIB_DEPEND//static-libs([+-]),} )
-"
-RDEPEND="
-   ${DEPEND}
-   sys-apps/hwids
-"
-DEPEND="
-   ${DEPEND}
-   kmod? ( virtual/pkgconfig )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-3.1.9-static-pc.patch
-)
-
-MULTILIB_WRAPPED_HEADERS=( /usr/include/pci/config.h )
-
-switch_config() {
-   [[ $# -ne 2 ]] && return 1
-   local opt=$1 val=$2
-
-   sed "s@^\(${opt}=\).*\$@\1${val}@" -i Makefile || die
-   return 0
-}
-
-src_prepare() {
-   default
-
-   if use static-libs ; then
-   cp -pPR "${S}" "${S}.static" || die
-   mv "${S}.static" "${S}/static" || die
-   fi
-
-   multilib_copy_sources
-}
-
-multilib_src_configure() {
-   append-lfs-flags #471102
-}
-
-pemake() {
-   emake \
-   HOST="${CHOST}" \
-   CROSS_COMPILE="${CHOST}-" \
-   CC="$(tc-getCC)" \
-   AR="$(tc-getAR)" \
-   PKG_CONFIG="$(tc-getPKG_CONFIG)" \
-   RANLIB="$(tc-getRANLIB)" \
-   DNS=$(usex dns) \
-   IDSDIR='$(SHAREDIR)/misc' \
-   MANDIR='$(SHAREDIR)/man' \
-   PREFIX="${EPREFIX}/usr" \
-   SHARED="yes" \
-   STRIP="" \
-   ZLIB=$(usex zlib) \
-   PCI_COMPRESSED_IDS=0 \
-   PCI_IDS=pci.ids \
-   

[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2020-05-31 Thread Lars Wendler
commit: 9f2fe573ddf5716398bdf7c8580fed91ca3eced1
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun May 31 09:12:12 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun May 31 09:13:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f2fe573

sys-apps/pciutils: Bump to version 3.7.0

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/pciutils/Manifest  |   1 +
 sys-apps/pciutils/pciutils-3.7.0.ebuild | 120 
 2 files changed, 121 insertions(+)

diff --git a/sys-apps/pciutils/Manifest b/sys-apps/pciutils/Manifest
index 4581fff818e..1df127df67d 100644
--- a/sys-apps/pciutils/Manifest
+++ b/sys-apps/pciutils/Manifest
@@ -2,3 +2,4 @@ DIST pciutils-3.5.6.tar.gz 442190 BLAKE2B 
9f1237828436f0566caa13e49a154b40fcc41d
 DIST pciutils-3.6.2.tar.gz 473699 BLAKE2B 
ae7563f2d17334f54e6b055d135138e21d105fa5f5b71061a6de638ecf26c35d9de79cb67a691f936f42fcedb9a1f300e046dd892429195a9f54f9536e313110
 SHA512 
ab2bab26dd11f941286593135b751b811fa6199d4b5fb8a18e74f72709ea598ab0c0efa31ad6ca70949966dcf80cdfb16d53e5d339b773c69e0a12f132bb8577
 DIST pciutils-3.6.3.tar.gz 495316 BLAKE2B 
01dab2337dcde5dc436df6892ce7c54c9c875b7c619c8f8675027e82e1073ab9b4c603f61f9b03c27af90fecb60fd35199fdf0b62dc90b5d2d387bfde00408b3
 SHA512 
deaf265bae9149289c860eb47cf6b85ff300744a1e79bcd232819f56e6dcdddcda4e7d3639869c228a492237985298866eb2633938b00d880545594e3c02df05
 DIST pciutils-3.6.4.tar.gz 497675 BLAKE2B 
45bbfafbf9ad6aea09fd17fe235bbb11bfe00fff2f31f1223d739eacf3db1a66ba0cd05f0df29349b01cc0a4fc598aeafb6fcf276e2edf2d557b9c21f25a0382
 SHA512 
001b2f722ee9f5fd57307aa4e8894c97ed3eee42f8b17caba2f29b191ab2fe98dcbfb76438f97dcaa343ea90011f6f6277ab367f361bc45e20d7ed848b439f86
+DIST pciutils-3.7.0.tar.gz 516418 BLAKE2B 
fca6720cff73ec20559c666c76fdcd3b59cdf0e33e2c3894a82590d77c5d51cf22e667fe65d9f66a248a624c2b9c868f6e9b69f45f4b6d704b637afe55041e6a
 SHA512 
8a8fb9dc44a8dd31f80e45a48f6693452c11d343b9dfed87dd5cea6846f38d001f294e4010cd7c0545e238fde45b0e9a8e88c67a43d80676a585336e3665a631

diff --git a/sys-apps/pciutils/pciutils-3.7.0.ebuild 
b/sys-apps/pciutils/pciutils-3.7.0.ebuild
new file mode 100644
index 000..cc2e5824111
--- /dev/null
+++ b/sys-apps/pciutils/pciutils-3.7.0.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib toolchain-funcs multilib-minimal flag-o-matic
+
+DESCRIPTION="Various utilities dealing with the PCI bus"
+HOMEPAGE="https://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
+SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="dns +kmod static-libs +udev zlib"
+
+# Have the sub-libs in RDEPEND with [static-libs] since, logically,
+# our libpci.a depends on libz.a/etc... at runtime.
+LIB_DEPEND="
+   zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )
+   udev? ( >=virtual/libudev-208[static-libs(-),${MULTILIB_USEDEP}] )
+"
+DEPEND="
+   kmod? ( sys-apps/kmod )
+   static-libs? ( ${LIB_DEPEND} )
+   !static-libs? ( ${LIB_DEPEND//static-libs([+-]),} )
+"
+RDEPEND="
+   ${DEPEND}
+   sys-apps/hwids
+"
+DEPEND="
+   ${DEPEND}
+   kmod? ( virtual/pkgconfig )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.1.9-static-pc.patch
+)
+
+MULTILIB_WRAPPED_HEADERS=( /usr/include/pci/config.h )
+
+switch_config() {
+   [[ $# -ne 2 ]] && return 1
+   local opt=$1 val=$2
+
+   sed "s@^\(${opt}=\).*\$@\1${val}@" -i Makefile || die
+   return 0
+}
+
+src_prepare() {
+   default
+
+   if use static-libs ; then
+   cp -pPR "${S}" "${S}.static" || die
+   mv "${S}.static" "${S}/static" || die
+   fi
+
+   multilib_copy_sources
+}
+
+multilib_src_configure() {
+   append-lfs-flags #471102
+}
+
+pemake() {
+   emake \
+   HOST="${CHOST}" \
+   CROSS_COMPILE="${CHOST}-" \
+   CC="$(tc-getCC)" \
+   AR="$(tc-getAR)" \
+   PKG_CONFIG="$(tc-getPKG_CONFIG)" \
+   RANLIB="$(tc-getRANLIB)" \
+   DNS=$(usex dns) \
+   IDSDIR='$(SHAREDIR)/misc' \
+   MANDIR='$(SHAREDIR)/man' \
+   PREFIX="${EPREFIX}/usr" \
+   SHARED="yes" \
+   STRIP="" \
+   ZLIB=$(usex zlib) \
+   PCI_COMPRESSED_IDS=0 \
+   PCI_IDS=pci.ids \
+   LIBDIR="\${PREFIX}/$(get_libdir)" \
+   LIBKMOD=$(multilib_native_usex kmod) \
+   HWDB=$(usex udev) \
+   "$@"
+}
+
+multilib_src_compile() {
+   pemake OPT="${CFLAGS}" all
+   if use static-libs ; then
+   pemake \
+   -C 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2020-02-06 Thread Mike Gilbert
commit: 158d277322d90b15e6d627d192c11c27a558bf7b
Author: Mike Gilbert  gentoo  org>
AuthorDate: Thu Feb  6 22:00:17 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Thu Feb  6 22:00:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=158d2773

sys-apps/pciutils: update SRC_URI

Closes: https://bugs.gentoo.org/708482
Package-Manager: Portage-2.3.86_p1, Repoman-2.3.20_p43
Signed-off-by: Mike Gilbert  gentoo.org>

 sys-apps/pciutils/Manifest | 4 ++--
 sys-apps/pciutils/pciutils-3.5.6-r1.ebuild | 4 ++--
 sys-apps/pciutils/pciutils-3.6.2-r1.ebuild | 4 ++--
 sys-apps/pciutils/pciutils-3.6.3.ebuild| 4 ++--
 sys-apps/pciutils/pciutils-3.6.4.ebuild| 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/sys-apps/pciutils/Manifest b/sys-apps/pciutils/Manifest
index d06ad34b059..4581fff818e 100644
--- a/sys-apps/pciutils/Manifest
+++ b/sys-apps/pciutils/Manifest
@@ -1,4 +1,4 @@
 DIST pciutils-3.5.6.tar.gz 442190 BLAKE2B 
9f1237828436f0566caa13e49a154b40fcc41ddd165268011012e55a33ea401e3b78ddffecc6f0ec36efb24b6d9338a691167ac094d0d26f855e42cd055701bb
 SHA512 
dcdca7e0bce69d1bee1fa5ea480a9f38534d66da576fdc710aefd8eeb0c18bf6ec5b39e63019d29d6bae0ec2d3881f5d07a4a105ca04c320d84c17821f7297e4
 DIST pciutils-3.6.2.tar.gz 473699 BLAKE2B 
ae7563f2d17334f54e6b055d135138e21d105fa5f5b71061a6de638ecf26c35d9de79cb67a691f936f42fcedb9a1f300e046dd892429195a9f54f9536e313110
 SHA512 
ab2bab26dd11f941286593135b751b811fa6199d4b5fb8a18e74f72709ea598ab0c0efa31ad6ca70949966dcf80cdfb16d53e5d339b773c69e0a12f132bb8577
-DIST pciutils-3.6.3.tar.gz 488501 BLAKE2B 
77a1ad1e034dac0bfa67ae3a40c34fc394510bb61af1f929e8feb3eb12e9d44b48cfeee0ba786580531222c75c33613b423aa79e535316d2543ac1ba4224312c
 SHA512 
0f6b272cf83e0ff857e4d38c72935709826af054620cd8d70cf8765d5f547f32bdccf5c76a47c8b24d8081b48c16882132a3b503f6a329e73a66089877d5e47b
-DIST pciutils-3.6.4.tar.gz 491066 BLAKE2B 
bb63ac307f5a66ffb6505bbd7d030fdafcfea13e0b8f3b718c98ce693febbcb90ac7c511bf27d20688f83fd56994b2b246f94323386fd1cc16c79b1b8cab9ca3
 SHA512 
de36aef89a5269888b065df926fc91f24641e488492ad713f886efa4fb544a4e7f7609028d233fecf1755e15e08d4a41f2837f356f26c73d297a67b0b026e29f
+DIST pciutils-3.6.3.tar.gz 495316 BLAKE2B 
01dab2337dcde5dc436df6892ce7c54c9c875b7c619c8f8675027e82e1073ab9b4c603f61f9b03c27af90fecb60fd35199fdf0b62dc90b5d2d387bfde00408b3
 SHA512 
deaf265bae9149289c860eb47cf6b85ff300744a1e79bcd232819f56e6dcdddcda4e7d3639869c228a492237985298866eb2633938b00d880545594e3c02df05
+DIST pciutils-3.6.4.tar.gz 497675 BLAKE2B 
45bbfafbf9ad6aea09fd17fe235bbb11bfe00fff2f31f1223d739eacf3db1a66ba0cd05f0df29349b01cc0a4fc598aeafb6fcf276e2edf2d557b9c21f25a0382
 SHA512 
001b2f722ee9f5fd57307aa4e8894c97ed3eee42f8b17caba2f29b191ab2fe98dcbfb76438f97dcaa343ea90011f6f6277ab367f361bc45e20d7ed848b439f86

diff --git a/sys-apps/pciutils/pciutils-3.5.6-r1.ebuild 
b/sys-apps/pciutils/pciutils-3.5.6-r1.ebuild
index 419256b04b8..010634ababa 100644
--- a/sys-apps/pciutils/pciutils-3.5.6-r1.ebuild
+++ b/sys-apps/pciutils/pciutils-3.5.6-r1.ebuild
@@ -6,8 +6,8 @@ EAPI=6
 inherit eapi7-ver multilib toolchain-funcs multilib-minimal flag-o-matic
 
 DESCRIPTION="Various utilities dealing with the PCI bus"
-HOMEPAGE="http://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
-SRC_URI="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${P}.tar.gz;
+HOMEPAGE="https://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
+SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"

diff --git a/sys-apps/pciutils/pciutils-3.6.2-r1.ebuild 
b/sys-apps/pciutils/pciutils-3.6.2-r1.ebuild
index 587b417565a..6b4cfffa226 100644
--- a/sys-apps/pciutils/pciutils-3.6.2-r1.ebuild
+++ b/sys-apps/pciutils/pciutils-3.6.2-r1.ebuild
@@ -6,8 +6,8 @@ EAPI=6
 inherit eapi7-ver multilib toolchain-funcs multilib-minimal flag-o-matic
 
 DESCRIPTION="Various utilities dealing with the PCI bus"
-HOMEPAGE="http://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
-SRC_URI="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${P}.tar.gz;
+HOMEPAGE="https://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
+SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"

diff --git a/sys-apps/pciutils/pciutils-3.6.3.ebuild 
b/sys-apps/pciutils/pciutils-3.6.3.ebuild
index f3a83e518b7..d7349d7b867 100644
--- a/sys-apps/pciutils/pciutils-3.6.3.ebuild
+++ b/sys-apps/pciutils/pciutils-3.6.3.ebuild
@@ -6,8 +6,8 @@ EAPI=7
 inherit multilib toolchain-funcs multilib-minimal flag-o-matic
 
 DESCRIPTION="Various utilities dealing with the PCI bus"
-HOMEPAGE="http://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
-SRC_URI="https://git.kernel.org/pub/scm/utils/pciutils/pciutils.git/snapshot/${P}.tar.gz;
+HOMEPAGE="https://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;

[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2020-01-26 Thread Lars Wendler
commit: 8cbac4669c0c49554c0f796b1e7713dbd1581782
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Jan 26 14:40:17 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Jan 26 14:40:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cbac466

sys-apps/pciutils: Bump to version 3.6.4

Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/pciutils/Manifest  |   1 +
 sys-apps/pciutils/pciutils-3.6.4.ebuild | 120 
 2 files changed, 121 insertions(+)

diff --git a/sys-apps/pciutils/Manifest b/sys-apps/pciutils/Manifest
index 7d33cbea0a0..d06ad34b059 100644
--- a/sys-apps/pciutils/Manifest
+++ b/sys-apps/pciutils/Manifest
@@ -1,3 +1,4 @@
 DIST pciutils-3.5.6.tar.gz 442190 BLAKE2B 
9f1237828436f0566caa13e49a154b40fcc41ddd165268011012e55a33ea401e3b78ddffecc6f0ec36efb24b6d9338a691167ac094d0d26f855e42cd055701bb
 SHA512 
dcdca7e0bce69d1bee1fa5ea480a9f38534d66da576fdc710aefd8eeb0c18bf6ec5b39e63019d29d6bae0ec2d3881f5d07a4a105ca04c320d84c17821f7297e4
 DIST pciutils-3.6.2.tar.gz 473699 BLAKE2B 
ae7563f2d17334f54e6b055d135138e21d105fa5f5b71061a6de638ecf26c35d9de79cb67a691f936f42fcedb9a1f300e046dd892429195a9f54f9536e313110
 SHA512 
ab2bab26dd11f941286593135b751b811fa6199d4b5fb8a18e74f72709ea598ab0c0efa31ad6ca70949966dcf80cdfb16d53e5d339b773c69e0a12f132bb8577
 DIST pciutils-3.6.3.tar.gz 488501 BLAKE2B 
77a1ad1e034dac0bfa67ae3a40c34fc394510bb61af1f929e8feb3eb12e9d44b48cfeee0ba786580531222c75c33613b423aa79e535316d2543ac1ba4224312c
 SHA512 
0f6b272cf83e0ff857e4d38c72935709826af054620cd8d70cf8765d5f547f32bdccf5c76a47c8b24d8081b48c16882132a3b503f6a329e73a66089877d5e47b
+DIST pciutils-3.6.4.tar.gz 491066 BLAKE2B 
bb63ac307f5a66ffb6505bbd7d030fdafcfea13e0b8f3b718c98ce693febbcb90ac7c511bf27d20688f83fd56994b2b246f94323386fd1cc16c79b1b8cab9ca3
 SHA512 
de36aef89a5269888b065df926fc91f24641e488492ad713f886efa4fb544a4e7f7609028d233fecf1755e15e08d4a41f2837f356f26c73d297a67b0b026e29f

diff --git a/sys-apps/pciutils/pciutils-3.6.4.ebuild 
b/sys-apps/pciutils/pciutils-3.6.4.ebuild
new file mode 100644
index 000..f3a83e518b7
--- /dev/null
+++ b/sys-apps/pciutils/pciutils-3.6.4.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib toolchain-funcs multilib-minimal flag-o-matic
+
+DESCRIPTION="Various utilities dealing with the PCI bus"
+HOMEPAGE="http://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
+SRC_URI="https://git.kernel.org/pub/scm/utils/pciutils/pciutils.git/snapshot/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="dns +kmod static-libs +udev zlib"
+
+# Have the sub-libs in RDEPEND with [static-libs] since, logically,
+# our libpci.a depends on libz.a/etc... at runtime.
+LIB_DEPEND="
+   zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )
+   udev? ( >=virtual/libudev-208[static-libs(-),${MULTILIB_USEDEP}] )
+"
+DEPEND="
+   kmod? ( sys-apps/kmod )
+   static-libs? ( ${LIB_DEPEND} )
+   !static-libs? ( ${LIB_DEPEND//static-libs([+-]),} )
+"
+RDEPEND="
+   ${DEPEND}
+   sys-apps/hwids
+"
+DEPEND="
+   ${DEPEND}
+   kmod? ( virtual/pkgconfig )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.1.9-static-pc.patch
+)
+
+MULTILIB_WRAPPED_HEADERS=( /usr/include/pci/config.h )
+
+switch_config() {
+   [[ $# -ne 2 ]] && return 1
+   local opt=$1 val=$2
+
+   sed "s@^\(${opt}=\).*\$@\1${val}@" -i Makefile || die
+   return 0
+}
+
+src_prepare() {
+   default
+
+   if use static-libs ; then
+   cp -pPR "${S}" "${S}.static" || die
+   mv "${S}.static" "${S}/static" || die
+   fi
+
+   multilib_copy_sources
+}
+
+multilib_src_configure() {
+   append-lfs-flags #471102
+}
+
+pemake() {
+   emake \
+   HOST="${CHOST}" \
+   CROSS_COMPILE="${CHOST}-" \
+   CC="$(tc-getCC)" \
+   AR="$(tc-getAR)" \
+   PKG_CONFIG="$(tc-getPKG_CONFIG)" \
+   RANLIB="$(tc-getRANLIB)" \
+   DNS=$(usex dns) \
+   IDSDIR='$(SHAREDIR)/misc' \
+   MANDIR='$(SHAREDIR)/man' \
+   PREFIX="${EPREFIX}/usr" \
+   SHARED="yes" \
+   STRIP="" \
+   ZLIB=$(usex zlib) \
+   PCI_COMPRESSED_IDS=0 \
+   PCI_IDS=pci.ids \
+   LIBDIR="\${PREFIX}/$(get_libdir)" \
+   LIBKMOD=$(multilib_native_usex kmod) \
+   HWDB=$(usex udev) \
+   "$@"
+}
+
+multilib_src_compile() {
+   pemake OPT="${CFLAGS}" all
+   if use static-libs ; then
+   pemake \
+   -C "${BUILD_DIR}/static" \
+   OPT="${CFLAGS}" \
+  

[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2020-01-23 Thread Lars Wendler
commit: db799ded10ea27990c689cef226eb365703b33dc
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jan 23 08:44:53 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jan 23 08:44:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db799ded

sys-apps/pciutils: Removed old

Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/pciutils/Manifest  |   1 -
 sys-apps/pciutils/pciutils-3.6.1.ebuild | 120 
 2 files changed, 121 deletions(-)

diff --git a/sys-apps/pciutils/Manifest b/sys-apps/pciutils/Manifest
index dc16869a715..7d33cbea0a0 100644
--- a/sys-apps/pciutils/Manifest
+++ b/sys-apps/pciutils/Manifest
@@ -1,4 +1,3 @@
 DIST pciutils-3.5.6.tar.gz 442190 BLAKE2B 
9f1237828436f0566caa13e49a154b40fcc41ddd165268011012e55a33ea401e3b78ddffecc6f0ec36efb24b6d9338a691167ac094d0d26f855e42cd055701bb
 SHA512 
dcdca7e0bce69d1bee1fa5ea480a9f38534d66da576fdc710aefd8eeb0c18bf6ec5b39e63019d29d6bae0ec2d3881f5d07a4a105ca04c320d84c17821f7297e4
-DIST pciutils-3.6.1.tar.gz 455061 BLAKE2B 
a9dcce9a79aa66101a77d9299aa7c4f2ae3ab9d7ec597790de7396d65e9c700e4e866b5702412972abbf9ffc2996ebad52782a26d9206cc8d33d96566072fb90
 SHA512 
2a9c86d826932ac6242677bdd0c5288c264b964aa14314aa7eda5379e687822656081883a2a1c5f846037db9bdba616381f84104d0b3b62cd34acf653faf3990
 DIST pciutils-3.6.2.tar.gz 473699 BLAKE2B 
ae7563f2d17334f54e6b055d135138e21d105fa5f5b71061a6de638ecf26c35d9de79cb67a691f936f42fcedb9a1f300e046dd892429195a9f54f9536e313110
 SHA512 
ab2bab26dd11f941286593135b751b811fa6199d4b5fb8a18e74f72709ea598ab0c0efa31ad6ca70949966dcf80cdfb16d53e5d339b773c69e0a12f132bb8577
 DIST pciutils-3.6.3.tar.gz 488501 BLAKE2B 
77a1ad1e034dac0bfa67ae3a40c34fc394510bb61af1f929e8feb3eb12e9d44b48cfeee0ba786580531222c75c33613b423aa79e535316d2543ac1ba4224312c
 SHA512 
0f6b272cf83e0ff857e4d38c72935709826af054620cd8d70cf8765d5f547f32bdccf5c76a47c8b24d8081b48c16882132a3b503f6a329e73a66089877d5e47b

diff --git a/sys-apps/pciutils/pciutils-3.6.1.ebuild 
b/sys-apps/pciutils/pciutils-3.6.1.ebuild
deleted file mode 100644
index 587b417565a..000
--- a/sys-apps/pciutils/pciutils-3.6.1.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eapi7-ver multilib toolchain-funcs multilib-minimal flag-o-matic
-
-DESCRIPTION="Various utilities dealing with the PCI bus"
-HOMEPAGE="http://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
-SRC_URI="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${P}.tar.gz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="dns +kmod static-libs +udev zlib"
-
-# Have the sub-libs in RDEPEND with [static-libs] since, logically,
-# our libpci.a depends on libz.a/etc... at runtime.
-LIB_DEPEND="
-   zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )
-   udev? ( >=virtual/libudev-208[static-libs(-),${MULTILIB_USEDEP}] )
-"
-DEPEND="
-   kmod? ( sys-apps/kmod )
-   static-libs? ( ${LIB_DEPEND} )
-   !static-libs? ( ${LIB_DEPEND//static-libs([+-]),} )
-"
-RDEPEND="
-   ${DEPEND}
-   sys-apps/hwids
-"
-DEPEND="
-   ${DEPEND}
-   kmod? ( virtual/pkgconfig )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-3.1.9-static-pc.patch
-)
-
-MULTILIB_WRAPPED_HEADERS=( /usr/include/pci/config.h )
-
-switch_config() {
-   [[ $# -ne 2 ]] && return 1
-   local opt=$1 val=$2
-
-   sed "s@^\(${opt}=\).*\$@\1${val}@" -i Makefile || die
-   return 0
-}
-
-src_prepare() {
-   default
-
-   if use static-libs ; then
-   cp -pPR "${S}" "${S}.static" || die
-   mv "${S}.static" "${S}/static" || die
-   fi
-
-   multilib_copy_sources
-}
-
-multilib_src_configure() {
-   append-lfs-flags #471102
-}
-
-pemake() {
-   emake \
-   HOST="${CHOST}" \
-   CROSS_COMPILE="${CHOST}-" \
-   CC="$(tc-getCC)" \
-   AR="$(tc-getAR)" \
-   PKG_CONFIG="$(tc-getPKG_CONFIG)" \
-   RANLIB="$(tc-getRANLIB)" \
-   DNS=$(usex dns) \
-   IDSDIR='$(SHAREDIR)/misc' \
-   MANDIR='$(SHAREDIR)/man' \
-   PREFIX="${EPREFIX}/usr" \
-   SHARED="yes" \
-   STRIP="" \
-   ZLIB=$(usex zlib) \
-   PCI_COMPRESSED_IDS=0 \
-   PCI_IDS=pci.ids \
-   LIBDIR="\${PREFIX}/$(get_libdir)" \
-   LIBKMOD=$(multilib_native_usex kmod) \
-   HWDB=$(usex udev) \
-   "$@"
-}
-
-multilib_src_compile() {
-   pemake OPT="${CFLAGS}" all
-   if use static-libs ; then
-   pemake \
-   -C "${BUILD_DIR}/static" \
-   OPT="${CFLAGS}" \
-  

[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2020-01-22 Thread Thomas Deutschmann
commit: b8a8688cf0b041bc7fd65de8d08d6b854ff175d0
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Jan 23 01:37:19 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Jan 23 01:40:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8a8688c

sys-apps/pciutils: bump to v3.6.3

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-apps/pciutils/Manifest  |   1 +
 sys-apps/pciutils/pciutils-3.6.3.ebuild | 120 
 2 files changed, 121 insertions(+)

diff --git a/sys-apps/pciutils/Manifest b/sys-apps/pciutils/Manifest
index 1194244e3fd..dc16869a715 100644
--- a/sys-apps/pciutils/Manifest
+++ b/sys-apps/pciutils/Manifest
@@ -1,3 +1,4 @@
 DIST pciutils-3.5.6.tar.gz 442190 BLAKE2B 
9f1237828436f0566caa13e49a154b40fcc41ddd165268011012e55a33ea401e3b78ddffecc6f0ec36efb24b6d9338a691167ac094d0d26f855e42cd055701bb
 SHA512 
dcdca7e0bce69d1bee1fa5ea480a9f38534d66da576fdc710aefd8eeb0c18bf6ec5b39e63019d29d6bae0ec2d3881f5d07a4a105ca04c320d84c17821f7297e4
 DIST pciutils-3.6.1.tar.gz 455061 BLAKE2B 
a9dcce9a79aa66101a77d9299aa7c4f2ae3ab9d7ec597790de7396d65e9c700e4e866b5702412972abbf9ffc2996ebad52782a26d9206cc8d33d96566072fb90
 SHA512 
2a9c86d826932ac6242677bdd0c5288c264b964aa14314aa7eda5379e687822656081883a2a1c5f846037db9bdba616381f84104d0b3b62cd34acf653faf3990
 DIST pciutils-3.6.2.tar.gz 473699 BLAKE2B 
ae7563f2d17334f54e6b055d135138e21d105fa5f5b71061a6de638ecf26c35d9de79cb67a691f936f42fcedb9a1f300e046dd892429195a9f54f9536e313110
 SHA512 
ab2bab26dd11f941286593135b751b811fa6199d4b5fb8a18e74f72709ea598ab0c0efa31ad6ca70949966dcf80cdfb16d53e5d339b773c69e0a12f132bb8577
+DIST pciutils-3.6.3.tar.gz 488501 BLAKE2B 
77a1ad1e034dac0bfa67ae3a40c34fc394510bb61af1f929e8feb3eb12e9d44b48cfeee0ba786580531222c75c33613b423aa79e535316d2543ac1ba4224312c
 SHA512 
0f6b272cf83e0ff857e4d38c72935709826af054620cd8d70cf8765d5f547f32bdccf5c76a47c8b24d8081b48c16882132a3b503f6a329e73a66089877d5e47b

diff --git a/sys-apps/pciutils/pciutils-3.6.3.ebuild 
b/sys-apps/pciutils/pciutils-3.6.3.ebuild
new file mode 100644
index 000..f3a83e518b7
--- /dev/null
+++ b/sys-apps/pciutils/pciutils-3.6.3.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib toolchain-funcs multilib-minimal flag-o-matic
+
+DESCRIPTION="Various utilities dealing with the PCI bus"
+HOMEPAGE="http://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
+SRC_URI="https://git.kernel.org/pub/scm/utils/pciutils/pciutils.git/snapshot/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="dns +kmod static-libs +udev zlib"
+
+# Have the sub-libs in RDEPEND with [static-libs] since, logically,
+# our libpci.a depends on libz.a/etc... at runtime.
+LIB_DEPEND="
+   zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )
+   udev? ( >=virtual/libudev-208[static-libs(-),${MULTILIB_USEDEP}] )
+"
+DEPEND="
+   kmod? ( sys-apps/kmod )
+   static-libs? ( ${LIB_DEPEND} )
+   !static-libs? ( ${LIB_DEPEND//static-libs([+-]),} )
+"
+RDEPEND="
+   ${DEPEND}
+   sys-apps/hwids
+"
+DEPEND="
+   ${DEPEND}
+   kmod? ( virtual/pkgconfig )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.1.9-static-pc.patch
+)
+
+MULTILIB_WRAPPED_HEADERS=( /usr/include/pci/config.h )
+
+switch_config() {
+   [[ $# -ne 2 ]] && return 1
+   local opt=$1 val=$2
+
+   sed "s@^\(${opt}=\).*\$@\1${val}@" -i Makefile || die
+   return 0
+}
+
+src_prepare() {
+   default
+
+   if use static-libs ; then
+   cp -pPR "${S}" "${S}.static" || die
+   mv "${S}.static" "${S}/static" || die
+   fi
+
+   multilib_copy_sources
+}
+
+multilib_src_configure() {
+   append-lfs-flags #471102
+}
+
+pemake() {
+   emake \
+   HOST="${CHOST}" \
+   CROSS_COMPILE="${CHOST}-" \
+   CC="$(tc-getCC)" \
+   AR="$(tc-getAR)" \
+   PKG_CONFIG="$(tc-getPKG_CONFIG)" \
+   RANLIB="$(tc-getRANLIB)" \
+   DNS=$(usex dns) \
+   IDSDIR='$(SHAREDIR)/misc' \
+   MANDIR='$(SHAREDIR)/man' \
+   PREFIX="${EPREFIX}/usr" \
+   SHARED="yes" \
+   STRIP="" \
+   ZLIB=$(usex zlib) \
+   PCI_COMPRESSED_IDS=0 \
+   PCI_IDS=pci.ids \
+   LIBDIR="\${PREFIX}/$(get_libdir)" \
+   LIBKMOD=$(multilib_native_usex kmod) \
+   HWDB=$(usex udev) \
+   "$@"
+}
+
+multilib_src_compile() {
+   pemake OPT="${CFLAGS}" all
+   if use static-libs ; then
+   pemake \
+   -C "${BUILD_DIR}/static" \
+   

[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2020-01-12 Thread Lars Wendler
commit: 3947cb6565e006bd389aa2f3ca6a6e165111b36d
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Jan 12 15:12:14 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Jan 12 15:12:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3947cb65

sys-apps/pciutils: Don't use lexicographical version compare

Closes: https://bugs.gentoo.org/705274
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/pciutils/pciutils-3.5.6-r1.ebuild | 6 +++---
 sys-apps/pciutils/pciutils-3.6.1.ebuild| 6 +++---
 sys-apps/pciutils/pciutils-3.6.2-r1.ebuild | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/sys-apps/pciutils/pciutils-3.5.6-r1.ebuild 
b/sys-apps/pciutils/pciutils-3.5.6-r1.ebuild
index 6f9475350b3..972c45769c0 100644
--- a/sys-apps/pciutils/pciutils-3.5.6-r1.ebuild
+++ b/sys-apps/pciutils/pciutils-3.5.6-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit multilib toolchain-funcs multilib-minimal flag-o-matic
+inherit eapi7-ver multilib toolchain-funcs multilib-minimal flag-o-matic
 
 DESCRIPTION="Various utilities dealing with the PCI bus"
 HOMEPAGE="http://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
@@ -113,7 +113,7 @@ multilib_src_install_all() {
 }
 
 pkg_postinst() {
-   if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 3.2.0 ]]; 
then
+   if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 
3.2.0 ; then
elog "The 'network-cron' USE flag is gone; if you want a more 
up-to-date"
elog "pci.ids file, you should use sys-apps/hwids- 
(live ebuild)."
fi

diff --git a/sys-apps/pciutils/pciutils-3.6.1.ebuild 
b/sys-apps/pciutils/pciutils-3.6.1.ebuild
index 2a1f547edb3..587b417565a 100644
--- a/sys-apps/pciutils/pciutils-3.6.1.ebuild
+++ b/sys-apps/pciutils/pciutils-3.6.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit multilib toolchain-funcs multilib-minimal flag-o-matic
+inherit eapi7-ver multilib toolchain-funcs multilib-minimal flag-o-matic
 
 DESCRIPTION="Various utilities dealing with the PCI bus"
 HOMEPAGE="http://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
@@ -113,7 +113,7 @@ multilib_src_install_all() {
 }
 
 pkg_postinst() {
-   if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 3.2.0 ]]; 
then
+   if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 
3.2.0 ; then
elog "The 'network-cron' USE flag is gone; if you want a more 
up-to-date"
elog "pci.ids file, you should use sys-apps/hwids- 
(live ebuild)."
fi

diff --git a/sys-apps/pciutils/pciutils-3.6.2-r1.ebuild 
b/sys-apps/pciutils/pciutils-3.6.2-r1.ebuild
index 2a1f547edb3..587b417565a 100644
--- a/sys-apps/pciutils/pciutils-3.6.2-r1.ebuild
+++ b/sys-apps/pciutils/pciutils-3.6.2-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit multilib toolchain-funcs multilib-minimal flag-o-matic
+inherit eapi7-ver multilib toolchain-funcs multilib-minimal flag-o-matic
 
 DESCRIPTION="Various utilities dealing with the PCI bus"
 HOMEPAGE="http://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git;
@@ -113,7 +113,7 @@ multilib_src_install_all() {
 }
 
 pkg_postinst() {
-   if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 3.2.0 ]]; 
then
+   if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 
3.2.0 ; then
elog "The 'network-cron' USE flag is gone; if you want a more 
up-to-date"
elog "pci.ids file, you should use sys-apps/hwids- 
(live ebuild)."
fi



[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2019-10-27 Thread Michał Górny
commit: 12cd2cb13ed36bed0876e8ad4920c18d6077ec92
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Oct 26 15:33:11 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Oct 27 15:30:39 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12cd2cb1

sys-apps/pciutils: Use-default to static-libs(-) on libudev

Signed-off-by: Michał Górny  gentoo.org>

 .../pciutils/{pciutils-3.5.6.ebuild => pciutils-3.5.6-r1.ebuild}| 6 +++---
 sys-apps/pciutils/pciutils-3.6.1.ebuild | 6 +++---
 .../pciutils/{pciutils-3.6.2.ebuild => pciutils-3.6.2-r1.ebuild}| 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/sys-apps/pciutils/pciutils-3.5.6.ebuild 
b/sys-apps/pciutils/pciutils-3.5.6-r1.ebuild
similarity index 94%
rename from sys-apps/pciutils/pciutils-3.5.6.ebuild
rename to sys-apps/pciutils/pciutils-3.5.6-r1.ebuild
index 72b6fba2853..6f9475350b3 100644
--- a/sys-apps/pciutils/pciutils-3.5.6.ebuild
+++ b/sys-apps/pciutils/pciutils-3.5.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -18,12 +18,12 @@ IUSE="dns +kmod static-libs +udev zlib"
 # our libpci.a depends on libz.a/etc... at runtime.
 LIB_DEPEND="
zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )
-   udev? ( >=virtual/libudev-208[static-libs(+),${MULTILIB_USEDEP}] )
+   udev? ( >=virtual/libudev-208[static-libs(-),${MULTILIB_USEDEP}] )
 "
 DEPEND="
kmod? ( sys-apps/kmod )
static-libs? ( ${LIB_DEPEND} )
-   !static-libs? ( ${LIB_DEPEND//static-libs(+),} )
+   !static-libs? ( ${LIB_DEPEND//static-libs([+-]),} )
 "
 RDEPEND="
${DEPEND}

diff --git a/sys-apps/pciutils/pciutils-3.6.1.ebuild 
b/sys-apps/pciutils/pciutils-3.6.1.ebuild
index 45df9079e4d..2a1f547edb3 100644
--- a/sys-apps/pciutils/pciutils-3.6.1.ebuild
+++ b/sys-apps/pciutils/pciutils-3.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -18,12 +18,12 @@ IUSE="dns +kmod static-libs +udev zlib"
 # our libpci.a depends on libz.a/etc... at runtime.
 LIB_DEPEND="
zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )
-   udev? ( >=virtual/libudev-208[static-libs(+),${MULTILIB_USEDEP}] )
+   udev? ( >=virtual/libudev-208[static-libs(-),${MULTILIB_USEDEP}] )
 "
 DEPEND="
kmod? ( sys-apps/kmod )
static-libs? ( ${LIB_DEPEND} )
-   !static-libs? ( ${LIB_DEPEND//static-libs(+),} )
+   !static-libs? ( ${LIB_DEPEND//static-libs([+-]),} )
 "
 RDEPEND="
${DEPEND}

diff --git a/sys-apps/pciutils/pciutils-3.6.2.ebuild 
b/sys-apps/pciutils/pciutils-3.6.2-r1.ebuild
similarity index 94%
rename from sys-apps/pciutils/pciutils-3.6.2.ebuild
rename to sys-apps/pciutils/pciutils-3.6.2-r1.ebuild
index 45df9079e4d..2a1f547edb3 100644
--- a/sys-apps/pciutils/pciutils-3.6.2.ebuild
+++ b/sys-apps/pciutils/pciutils-3.6.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -18,12 +18,12 @@ IUSE="dns +kmod static-libs +udev zlib"
 # our libpci.a depends on libz.a/etc... at runtime.
 LIB_DEPEND="
zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )
-   udev? ( >=virtual/libudev-208[static-libs(+),${MULTILIB_USEDEP}] )
+   udev? ( >=virtual/libudev-208[static-libs(-),${MULTILIB_USEDEP}] )
 "
 DEPEND="
kmod? ( sys-apps/kmod )
static-libs? ( ${LIB_DEPEND} )
-   !static-libs? ( ${LIB_DEPEND//static-libs(+),} )
+   !static-libs? ( ${LIB_DEPEND//static-libs([+-]),} )
 "
 RDEPEND="
${DEPEND}



  1   2   >