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-2.2.8.ebuild
Date: Fri, 02 Nov 2007 21:25:55
Message-Id: E1Io41V-0001VF-Sm@stork.gentoo.org
1 robbat2 07/11/02 21:25:49
2
3 Modified: ChangeLog
4 Added: pciutils-2.2.8.ebuild
5 Log:
6 Version bump. Contains an agreed-upon workaround for the HAL zlib issue, see the gentoo-dev list for the discussion.
7 (Portage version: 2.1.3.16)
8
9 Revision Changes Path
10 1.112 sys-apps/pciutils/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/ChangeLog?rev=1.112&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/ChangeLog?rev=1.112&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/ChangeLog?r1=1.111&r2=1.112
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v
19 retrieving revision 1.111
20 retrieving revision 1.112
21 diff -u -r1.111 -r1.112
22 --- ChangeLog 11 Oct 2007 05:53:27 -0000 1.111
23 +++ ChangeLog 2 Nov 2007 21:25:49 -0000 1.112
24 @@ -1,6 +1,14 @@
25 # ChangeLog for sys-apps/pciutils
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.111 2007/10/11 05:53:27 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.112 2007/11/02 21:25:49 robbat2 Exp $
29 +
30 +*pciutils-2.2.8 (02 Nov 2007)
31 +
32 + 02 Nov 2007; Robin H. Johnson <robbat2@g.o>
33 + +files/pciutils-2.2.7-update-pciids-both-forms.patch,
34 + +pciutils-2.2.8.ebuild:
35 + Version bump. Contains an agreed-upon workaround for the HAL zlib issue, see
36 + the gentoo-dev list for the discussion.
37
38 *pciutils-2.2.7 (11 Oct 2007)
39
40
41
42
43 1.1 sys-apps/pciutils/pciutils-2.2.8.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/pciutils-2.2.8.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/pciutils-2.2.8.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pciutils-2.2.8.ebuild
49 ===================================================================
50 # Copyright 1999-2007 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.2.8.ebuild,v 1.1 2007/11/02 21:25:49 robbat2 Exp $
53
54 inherit eutils flag-o-matic toolchain-funcs multilib
55
56 DESCRIPTION="Various utilities dealing with the PCI bus"
57 HOMEPAGE="http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html"
58 SRC_URI="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
63 IUSE="network-cron zlib"
64
65 DEPEND="zlib? ( sys-libs/zlib )"
66
67 src_unpack() {
68 unpack ${A}
69 cd "${S}"
70 epatch "${FILESDIR}"/${PN}-2.2.7-build.patch
71 epatch "${FILESDIR}"/pcimodules-${PN}-2.2.6.patch
72 epatch "${FILESDIR}"/${PN}-2.2.6-link.patch #160421
73 epatch "${FILESDIR}"/${PN}-2.2.4-update-pciids.patch
74 epatch "${FILESDIR}"/${PN}-2.2.7-update-pciids-both-forms.patch
75 sed -i "/^LIBDIR=/s:/lib:/$(get_libdir):" Makefile
76 }
77
78 src_compile() {
79 export ZLIB=$(use zlib && echo yes || echo no)
80 tc-export AR CC RANLIB
81 emake OPT="${CFLAGS}" || die "emake failed"
82 }
83
84 src_install() {
85 emake install install-lib DESTDIR="${D}" || die
86
87 if use network-cron; then
88 exeinto /etc/cron.monthly
89 newexe "${FILESDIR}"/pciutils.cron update-pciids \
90 || die "Failed to install update cronjob"
91 fi
92 # Install both forms until HAL has migrated
93 sharedir="${D}"/usr/share/misc
94 if use zlib; then
95 elog "Providing a backwards compatability non-compressed pci.ids"
96 gzip -d <"${sharedir}"/pci.ids.gz >"${sharedir}"/pci.ids
97 fi
98 }
99
100
101
102 --
103 gentoo-commits@g.o mailing list