public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/
Date: Sun, 31 May 2020 09:13:42 +0000 (UTC)	[thread overview]
Message-ID: <1590916418.9f2fe573ddf5716398bdf7c8580fed91ca3eced1.polynomial-c@gentoo> (raw)

commit:     9f2fe573ddf5716398bdf7c8580fed91ca3eced1
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sun May 31 09:12:12 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sun May 31 09:13:38 2020 +0000
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 <polynomial-c <AT> 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 00000000000..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 "${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-99999999 (live ebuild)."
+	fi
+}


             reply	other threads:[~2020-05-31  9:13 UTC|newest]

Thread overview: 149+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-31  9:13 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-06-21 16:24 [gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/ Sam James
2025-06-09  0:12 Sam James
2024-12-12 10:51 Sam James
2024-07-17  4:59 Sam James
2024-07-17  4:56 Sam James
2024-07-17  4:56 Sam James
2024-07-17  4:44 Sam James
2024-07-17  4:44 Sam James
2024-07-17  4:44 Sam James
2024-07-17  4:36 Sam James
2024-06-12  5:03 Sam James
2024-06-02  5:35 Sam James
2024-05-30  3:24 Sam James
2024-05-30  3:24 Sam James
2024-05-30  3:24 Sam James
2024-05-30  3:24 Sam James
2024-05-30  3:24 Sam James
2024-05-30  3:24 Sam James
2024-05-30  3:24 Sam James
2024-04-08  6:28 Sam James
2024-02-29  4:34 Sam James
2023-06-11 20:44 Sam James
2023-06-09 19:08 Arthur Zamarin
2023-06-09 16:13 Arthur Zamarin
2023-06-09 14:17 Sam James
2023-06-09 13:51 Arthur Zamarin
2023-06-09 13:51 Arthur Zamarin
2023-06-09 13:50 Sam James
2023-06-09 13:48 Sam James
2023-05-01 18:20 Sam James
2023-01-13 12:17 Arthur Zamarin
2022-12-26  3:20 Sam James
2022-12-25 21:24 Sam James
2022-12-25 20:32 Arthur Zamarin
2022-12-25 20:15 Arthur Zamarin
2022-12-25 20:13 Sam James
2022-12-25 20:11 Sam James
2022-12-25 20:08 Arthur Zamarin
2022-11-21  8:14 Sam James
2022-09-23  2:09 Sam James
2022-07-28 13:20 Sam James
2022-07-17 15:24 Sam James
2022-07-12 17:20 Arthur Zamarin
2022-07-12  6:47 Agostino Sarubbo
2022-07-12  6:47 Agostino Sarubbo
2022-07-12  6:46 Agostino Sarubbo
2022-07-12  2:42 Sam James
2022-07-12  2:42 Sam James
2022-07-12  1:16 Sam James
2022-07-12  1:16 Sam James
2022-07-07  3:13 Sam James
2022-06-24  5:26 Sam James
2022-05-24 21:27 Sam James
2022-05-24 21:20 Sam James
2022-05-24 21:14 Sam James
2022-05-24 21:14 Sam James
2022-05-24 21:06 Sam James
2022-05-22 11:27 Jakov Smolić
2022-05-22  6:22 Agostino Sarubbo
2022-05-22  6:19 Agostino Sarubbo
2022-05-22  6:17 Agostino Sarubbo
2022-05-22  3:25 Sam James
2022-05-22  3:21 Sam James
2022-05-22  3:20 Sam James
2022-05-22  3:18 Sam James
2022-05-19 10:35 WANG Xuerui
2022-05-15 15:44 Mike Gilbert
2022-04-19 22:09 Sam James
2022-04-19 21:47 Sam James
2021-12-25  0:02 Mike Gilbert
2021-12-07 20:29 Sam James
2021-11-28 20:08 Mike Gilbert
2021-09-07 17:37 Mike Gilbert
2021-05-14 22:14 David Seifert
2021-03-31 15:25 Sergei Trofimovich
2021-03-31 14:08 Agostino Sarubbo
2021-03-31 14:05 Agostino Sarubbo
2021-03-31 13:53 Agostino Sarubbo
2021-03-31  2:24 Sam James
2021-03-31  2:24 Sam James
2021-03-31  2:23 Sam James
2021-03-31  2:23 Sam James
2020-08-01  2:20 Lars Wendler
2020-07-10 19:30 Sam James
2020-07-10 11:05 Sam James
2020-07-09  8:34 Agostino Sarubbo
2020-07-08 12:23 Michał Górny
2020-07-07  6:58 Sergei Trofimovich
2020-07-06 16:43 Sergei Trofimovich
2020-07-06  7:22 Sergei Trofimovich
2020-07-06  7:02 Sergei Trofimovich
2020-05-31  9:13 Lars Wendler
2020-02-06 22:00 Mike Gilbert
2020-01-26 14:40 Lars Wendler
2020-01-23  8:45 Lars Wendler
2020-01-23  1:40 Thomas Deutschmann
2020-01-12 15:12 Lars Wendler
2019-10-27 15:31 Michał Górny
2018-09-03 14:31 Mikle Kolyada
2018-09-03 14:31 Mikle Kolyada
2018-08-30 20:07 Markus Meier
2018-08-21 10:06 Mart Raudsepp
2018-08-21  0:13 Sergei Trofimovich
2018-08-20  3:37 Mikle Kolyada
2018-08-18 22:24 Sergei Trofimovich
2018-08-18 22:18 Sergei Trofimovich
2018-08-16  0:39 Thomas Deutschmann
2018-08-14  0:41 Mikle Kolyada
2018-08-13 21:20 Sergei Trofimovich
2018-08-13 20:43 Sergei Trofimovich
2018-08-13  6:42 Lars Wendler
2018-08-13  6:42 Lars Wendler
2018-07-13 11:24 Lars Wendler
2018-07-01 13:54 Lars Wendler
2018-07-01 13:54 Lars Wendler
2017-11-22 16:02 Lars Wendler
2017-11-22 16:02 Lars Wendler
2017-07-05 21:46 Lars Wendler
2017-07-05 21:46 Lars Wendler
2017-02-26 13:04 Lars Wendler
2017-02-26 13:04 Lars Wendler
2017-02-15 23:59 Lars Wendler
2017-01-19 14:14 Mike Frysinger
2017-01-17 16:23 Lars Wendler
2016-10-04  8:16 Lars Wendler
2016-07-01  4:41 Jeroen Roovers
2016-06-20  4:22 Mike Frysinger
2016-06-01 12:25 Tobias Klausmann
2016-05-31 19:28 Markus Meier
2016-05-31  4:20 Jeroen Roovers
2016-05-27 12:46 Lars Wendler
2016-05-26 20:37 Lars Wendler
2016-05-22 16:02 Lars Wendler
2016-05-19 19:56 Lars Wendler
2016-05-19 19:56 Lars Wendler
2016-03-07 21:29 Mike Frysinger
2016-01-14  2:29 Mike Frysinger
2016-01-04  9:22 Lars Wendler
2015-09-15  7:12 Lars Wendler
2015-09-15  1:54 Mike Gilbert
2015-09-14 21:13 Lars Wendler
2015-09-14 21:13 Lars Wendler
2015-08-24  5:16 Jeroen Roovers
2015-08-21 16:41 Markus Meier
2015-08-18  4:32 Jeroen Roovers
2015-08-16 17:35 Mikle Kolyada
2015-08-12 12:56 Sergey Popov
2015-08-09 11:20 Mikle Kolyada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1590916418.9f2fe573ddf5716398bdf7c8580fed91ca3eced1.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox