Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/
Date: Mon, 03 Sep 2018 14:31:35
Message-Id: 1535985080.78ab850f154e3bb3abe3066e9213bf6d3c83dfe6.zlogene@gentoo
1 commit: 78ab850f154e3bb3abe3066e9213bf6d3c83dfe6
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 3 14:31:01 2018 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 3 14:31:20 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78ab850f
7
8 sys-apps/pciutils: Drop old
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 sys-apps/pciutils/Manifest | 1 -
13 sys-apps/pciutils/pciutils-3.4.1.ebuild | 108 --------------------------------
14 2 files changed, 109 deletions(-)
15
16 diff --git a/sys-apps/pciutils/Manifest b/sys-apps/pciutils/Manifest
17 index fbed82c3ed3..1194244e3fd 100644
18 --- a/sys-apps/pciutils/Manifest
19 +++ b/sys-apps/pciutils/Manifest
20 @@ -1,4 +1,3 @@
21 -DIST pciutils-3.4.1.tar.gz 404166 BLAKE2B 75c50e7b4469fe4fc3719ee3b58f94be98f113ce4cb36be3d3fb8e57aaefef039866d31a6acc90e6136b21883239c1c7db2b497776e0db8ce05f19c6336b55e1 SHA512 1394647d5e9d324d68bd8bdf4709a438ae06e6a83ded40b9e0026968c032f214073bc764fbf59e15da90b2e424d90dc430db5810d7ff5fbeab0f3e5c6250ee49
22 DIST pciutils-3.5.6.tar.gz 442190 BLAKE2B 9f1237828436f0566caa13e49a154b40fcc41ddd165268011012e55a33ea401e3b78ddffecc6f0ec36efb24b6d9338a691167ac094d0d26f855e42cd055701bb SHA512 dcdca7e0bce69d1bee1fa5ea480a9f38534d66da576fdc710aefd8eeb0c18bf6ec5b39e63019d29d6bae0ec2d3881f5d07a4a105ca04c320d84c17821f7297e4
23 DIST pciutils-3.6.1.tar.gz 455061 BLAKE2B a9dcce9a79aa66101a77d9299aa7c4f2ae3ab9d7ec597790de7396d65e9c700e4e866b5702412972abbf9ffc2996ebad52782a26d9206cc8d33d96566072fb90 SHA512 2a9c86d826932ac6242677bdd0c5288c264b964aa14314aa7eda5379e687822656081883a2a1c5f846037db9bdba616381f84104d0b3b62cd34acf653faf3990
24 DIST pciutils-3.6.2.tar.gz 473699 BLAKE2B ae7563f2d17334f54e6b055d135138e21d105fa5f5b71061a6de638ecf26c35d9de79cb67a691f936f42fcedb9a1f300e046dd892429195a9f54f9536e313110 SHA512 ab2bab26dd11f941286593135b751b811fa6199d4b5fb8a18e74f72709ea598ab0c0efa31ad6ca70949966dcf80cdfb16d53e5d339b773c69e0a12f132bb8577
25
26 diff --git a/sys-apps/pciutils/pciutils-3.4.1.ebuild b/sys-apps/pciutils/pciutils-3.4.1.ebuild
27 deleted file mode 100644
28 index 5856f602feb..00000000000
29 --- a/sys-apps/pciutils/pciutils-3.4.1.ebuild
30 +++ /dev/null
31 @@ -1,108 +0,0 @@
32 -# Copyright 1999-2017 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI="5"
36 -
37 -inherit eutils multilib toolchain-funcs multilib-minimal flag-o-matic
38 -
39 -DESCRIPTION="Various utilities dealing with the PCI bus"
40 -HOMEPAGE="http://mj.ucw.cz/sw/pciutils/ https://git.kernel.org/?p=utils/pciutils/pciutils.git"
41 -SRC_URI="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${P}.tar.gz"
42 -
43 -LICENSE="GPL-2"
44 -SLOT="0"
45 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
46 -IUSE="dns +kmod static-libs +udev zlib"
47 -
48 -# Have the sub-libs in RDEPEND with [static-libs] since, logically,
49 -# our libssl.a depends on libz.a/etc... at runtime.
50 -LIB_DEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )"
51 -DEPEND="kmod? ( sys-apps/kmod )
52 - static-libs? ( ${LIB_DEPEND} )
53 - !static-libs? ( ${LIB_DEPEND//static-libs(+),} )
54 - udev? ( >=virtual/libudev-208[${MULTILIB_USEDEP}] )"
55 -RDEPEND="${DEPEND}
56 - sys-apps/hwids"
57 -DEPEND="${DEPEND}
58 - kmod? ( virtual/pkgconfig )"
59 -
60 -MULTILIB_WRAPPED_HEADERS=( /usr/include/pci/config.h )
61 -
62 -switch_config() {
63 - [[ $# -ne 2 ]] && return 1
64 - local opt=$1 val=$2
65 -
66 - sed "s@^\(${opt}=\).*\$@\1${val}@" -i Makefile || die
67 - return 0
68 -}
69 -
70 -src_prepare() {
71 - epatch "${FILESDIR}"/${PN}-3.1.9-static-pc.patch
72 -
73 - if use static-libs ; then
74 - cp -pPR "${S}" "${S}.static" || die
75 - mv "${S}.static" "${S}/static" || die
76 - fi
77 -
78 - multilib_copy_sources
79 -}
80 -
81 -multilib_src_configure() {
82 - append-lfs-flags #471102
83 -}
84 -
85 -pemake() {
86 - emake \
87 - HOST="${CHOST}" \
88 - CROSS_COMPILE="${CHOST}-" \
89 - CC="$(tc-getCC)" \
90 - AR="$(tc-getAR)" \
91 - PKG_CONFIG="$(tc-getPKG_CONFIG)" \
92 - RANLIB="$(tc-getRANLIB)" \
93 - DNS=$(usex dns) \
94 - IDSDIR='$(SHAREDIR)/misc' \
95 - MANDIR='$(SHAREDIR)/man' \
96 - PREFIX="${EPREFIX}/usr" \
97 - SHARED="yes" \
98 - STRIP="" \
99 - ZLIB=$(usex zlib) \
100 - PCI_COMPRESSED_IDS=0 \
101 - PCI_IDS=pci.ids \
102 - LIBDIR="\${PREFIX}/$(get_libdir)" \
103 - LIBKMOD=$(multilib_native_usex kmod) \
104 - HWDB=$(usex udev) \
105 - "$@"
106 -}
107 -
108 -multilib_src_compile() {
109 - pemake OPT="${CFLAGS}" all
110 - if use static-libs ; then
111 - pemake \
112 - -C "${BUILD_DIR}/static" \
113 - OPT="${CFLAGS}" \
114 - SHARED="no" \
115 - lib/libpci.a
116 - fi
117 -}
118 -
119 -multilib_src_install() {
120 - pemake DESTDIR="${D}" install install-lib
121 - use static-libs && dolib.a "${BUILD_DIR}/static/lib/libpci.a"
122 -}
123 -
124 -multilib_src_install_all() {
125 - dodoc ChangeLog README TODO
126 -
127 - rm "${ED}"/usr/sbin/update-pciids "${ED}"/usr/share/misc/pci.ids \
128 - "${ED}"/usr/share/man/man8/update-pciids.8*
129 -
130 - newinitd "${FILESDIR}"/init.d-pciparm pciparm
131 - newconfd "${FILESDIR}"/conf.d-pciparm pciparm
132 -}
133 -
134 -pkg_postinst() {
135 - if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 3.2.0 ]]; then
136 - elog "The 'network-cron' USE flag is gone; if you want a more up-to-date"
137 - elog "pci.ids file, you should use sys-apps/hwids-99999999 (live ebuild)."
138 - fi
139 -}