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: Fri, 13 Jul 2018 11:24:32 +0000 (UTC)	[thread overview]
Message-ID: <1531481064.0df3a35d470dd82598877308ffa8195224262d8b.polynomial-c@gentoo> (raw)

commit:     0df3a35d470dd82598877308ffa8195224262d8b
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 13 11:16:45 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Jul 13 11:24:24 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0df3a35d

sys-apps/pciutils: Bump to versiom 3.6.1

Package-Manager: Portage-2.3.42, Repoman-2.3.9

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

diff --git a/sys-apps/pciutils/Manifest b/sys-apps/pciutils/Manifest
index cada1bdf19e..cd052f0b3fa 100644
--- a/sys-apps/pciutils/Manifest
+++ b/sys-apps/pciutils/Manifest
@@ -1,3 +1,4 @@
 DIST pciutils-3.4.1.tar.gz 404166 BLAKE2B 75c50e7b4469fe4fc3719ee3b58f94be98f113ce4cb36be3d3fb8e57aaefef039866d31a6acc90e6136b21883239c1c7db2b497776e0db8ce05f19c6336b55e1 SHA512 1394647d5e9d324d68bd8bdf4709a438ae06e6a83ded40b9e0026968c032f214073bc764fbf59e15da90b2e424d90dc430db5810d7ff5fbeab0f3e5c6250ee49
 DIST pciutils-3.5.6.tar.gz 442190 BLAKE2B 9f1237828436f0566caa13e49a154b40fcc41ddd165268011012e55a33ea401e3b78ddffecc6f0ec36efb24b6d9338a691167ac094d0d26f855e42cd055701bb SHA512 dcdca7e0bce69d1bee1fa5ea480a9f38534d66da576fdc710aefd8eeb0c18bf6ec5b39e63019d29d6bae0ec2d3881f5d07a4a105ca04c320d84c17821f7297e4
 DIST pciutils-3.6.0.tar.gz 454912 BLAKE2B 1f37307ba21085d5f49dd908781ce34dff98a1e4d818158800a1fbdc1fc689e1b868ee9c762378a8cd28ab17cbaaf1e9255da94c44029bfa2f4a8b5d9fd4b273 SHA512 e59cb5685f1dee2673368c90fdf1f5b7689de9fa45f249ce472258f278288da7a81644c76d1ecb7cc857f8029d3d70c367fe62190caf55328143b51017cc5c6f
+DIST pciutils-3.6.1.tar.gz 455061 BLAKE2B a9dcce9a79aa66101a77d9299aa7c4f2ae3ab9d7ec597790de7396d65e9c700e4e866b5702412972abbf9ffc2996ebad52782a26d9206cc8d33d96566072fb90 SHA512 2a9c86d826932ac6242677bdd0c5288c264b964aa14314aa7eda5379e687822656081883a2a1c5f846037db9bdba616381f84104d0b3b62cd34acf653faf3990

diff --git a/sys-apps/pciutils/pciutils-3.6.1.ebuild b/sys-apps/pciutils/pciutils-3.6.1.ebuild
new file mode 100644
index 00000000000..4fa617e1c48
--- /dev/null
+++ b/sys-apps/pciutils/pciutils-3.6.1.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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="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-fbsd ~x86-fbsd ~amd64-linux ~arm-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} ]] && [[ ${REPLACING_VERSIONS} < 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:[~2018-07-13 11:24 UTC|newest]

Thread overview: 146+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-13 11:24 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-17  4:59 [gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/ 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-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-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=1531481064.0df3a35d470dd82598877308ffa8195224262d8b.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