Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/pciutils: ChangeLog pciutils-3.0.2.ebuild
Date: Tue, 07 Oct 2008 10:13:21
Message-Id: E1Kn9Z8-0007js-IB@stork.gentoo.org
1 robbat2 08/10/07 10:13:18
2
3 Modified: ChangeLog
4 Added: pciutils-3.0.2.ebuild
5 Log:
6 Bug #240292, version bump.
7 (Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc1-10246-gca5de40 x86_64)
8
9 Revision Changes Path
10 1.145 sys-apps/pciutils/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/ChangeLog?rev=1.145&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/ChangeLog?rev=1.145&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/ChangeLog?r1=1.144&r2=1.145
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v
19 retrieving revision 1.144
20 retrieving revision 1.145
21 diff -p -w -b -B -u -u -r1.144 -r1.145
22 --- ChangeLog 25 Aug 2008 13:10:06 -0000 1.144
23 +++ ChangeLog 7 Oct 2008 10:13:18 -0000 1.145
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sys-apps/pciutils
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.144 2008/08/25 13:10:06 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.145 2008/10/07 10:13:18 robbat2 Exp $
29 +
30 +*pciutils-3.0.2 (07 Oct 2008)
31 +
32 + 07 Oct 2008; Robin H. Johnson <robbat2@g.o>
33 + +files/pciutils-3.0.0-locale-happiness.patch, +pciutils-3.0.2.ebuild:
34 + Bug #240292, version bump.
35
36 25 Aug 2008; Raúl Porcel <armin76@g.o> pciutils-3.0.0.ebuild:
37 ia64 stable wrt #235028
38
39
40
41 1.1 sys-apps/pciutils/pciutils-3.0.2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/pciutils-3.0.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/pciutils-3.0.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pciutils-3.0.2.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-3.0.2.ebuild,v 1.1 2008/10/07 10:13:18 robbat2 Exp $
51
52 inherit eutils flag-o-matic toolchain-funcs multilib
53
54 DESCRIPTION="Various utilities dealing with the PCI bus"
55 HOMEPAGE="http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html"
56 SRC_URI="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${P}.tar.gz"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
61 IUSE="network-cron zlib"
62
63 DEPEND="zlib? ( sys-libs/zlib )"
64
65 src_unpack() {
66 unpack ${A}
67 cd "${S}"
68 epatch "${FILESDIR}"/${PN}-3.0.0-build.patch #233314
69 #epatch "${FILESDIR}"/${PN}-3.0.0-resolv.patch #218555 #Merged
70 epatch "${FILESDIR}"/pcimodules-${PN}-3.0.0.patch
71 epatch "${FILESDIR}"/${PN}-2.2.7-update-pciids-both-forms.patch
72 epatch "${FILESDIR}"/${PN}-3.0.0-locale-happiness.patch
73 sed -i -e "/^LIBDIR=/s:/lib:/$(get_libdir):" Makefile
74 }
75
76 uyesno() { use $1 && echo yes || echo no ; }
77 pemake() {
78 emake \
79 DNS="yes" \
80 IDSDIR="/usr/share/misc" \
81 MANDIR="/usr/share/man" \
82 PREFIX="/usr" \
83 SHARED="yes" \
84 STRIP="" \
85 ZLIB=$(uyesno zlib) \
86 "$@"
87 }
88
89 src_compile() {
90 tc-export AR CC RANLIB
91 pemake OPT="${CFLAGS}" all pcimodules || die "emake failed"
92 }
93
94 src_install() {
95 pemake DESTDIR="${D}" install install-lib || die
96 dosbin pcimodules || die
97 newman pcimodules.man pcimodules.8
98
99 if use network-cron ; then
100 exeinto /etc/cron.monthly
101 newexe "${FILESDIR}"/pciutils.cron update-pciids \
102 || die "Failed to install update cronjob"
103 fi
104
105 # Install both forms until HAL has migrated
106 if use zlib ; then
107 local sharedir="${D}/usr/share/misc"
108 elog "Providing a backwards compatibility non-compressed pci.ids"
109 gzip -d <"${sharedir}"/pci.ids.gz >"${sharedir}"/pci.ids
110 fi
111 }