1 |
vapier 09/01/26 03:29:37 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pciutils-3.1.0.ebuild |
5 |
Log: |
6 |
Version bump #246497 by Arfrever Frehtes Taifersar Arahesis. |
7 |
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.151 sys-apps/pciutils/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/ChangeLog?rev=1.151&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/ChangeLog?rev=1.151&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/ChangeLog?r1=1.150&r2=1.151 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v |
19 |
retrieving revision 1.150 |
20 |
retrieving revision 1.151 |
21 |
diff -u -r1.150 -r1.151 |
22 |
--- ChangeLog 26 Jan 2009 03:29:10 -0000 1.150 |
23 |
+++ ChangeLog 26 Jan 2009 03:29:37 -0000 1.151 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for sys-apps/pciutils |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.150 2009/01/26 03:29:10 vapier Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.151 2009/01/26 03:29:37 vapier Exp $ |
29 |
+ |
30 |
+*pciutils-3.1.0 (26 Jan 2009) |
31 |
+ |
32 |
+ 26 Jan 2009; Mike Frysinger <vapier@g.o> |
33 |
+ +files/pcimodules-pciutils-3.1.0.patch, +pciutils-3.1.0.ebuild: |
34 |
+ Version bump #246497 by Arfrever Frehtes Taifersar Arahesis. |
35 |
|
36 |
26 Jan 2009; Mike Frysinger <vapier@g.o> +files/pcimodules.8, |
37 |
files/pcimodules-pciutils-3.0.0.patch, +files/pcimodules.c, |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-apps/pciutils/pciutils-3.1.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/pciutils-3.1.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/pciutils-3.1.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: pciutils-3.1.0.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 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.1.0.ebuild,v 1.1 2009/01/26 03:29:37 vapier Exp $ |
51 |
|
52 |
inherit eutils 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}"/pcimodules-${PN}-3.1.0.patch |
70 |
epatch "${FILESDIR}"/${PN}-2.2.7-update-pciids-both-forms.patch |
71 |
cp "${FILESDIR}"/pcimodules.c . || die |
72 |
sed -i -e 's|A-Z|:upper:|' -e 's|a-z|:lower:|' lib/configure |
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 |
HOST="${CHOST}" \ |
80 |
CROSS_COMPILE="${CHOST}-" \ |
81 |
DNS="yes" \ |
82 |
IDSDIR="/usr/share/misc" \ |
83 |
MANDIR="/usr/share/man" \ |
84 |
PREFIX="/usr" \ |
85 |
SHARED="yes" \ |
86 |
STRIP="" \ |
87 |
ZLIB=$(uyesno zlib) \ |
88 |
"$@" |
89 |
} |
90 |
|
91 |
src_compile() { |
92 |
pemake OPT="${CFLAGS}" all pcimodules || die "emake failed" |
93 |
} |
94 |
|
95 |
src_install() { |
96 |
pemake DESTDIR="${D}" install install-lib || die |
97 |
dosbin pcimodules || die |
98 |
newman pcimodules.man pcimodules.8 |
99 |
dodoc ChangeLog README TODO |
100 |
|
101 |
if use network-cron ; then |
102 |
exeinto /etc/cron.monthly |
103 |
newexe "${FILESDIR}"/pciutils.cron update-pciids \ |
104 |
|| die "Failed to install update cronjob" |
105 |
fi |
106 |
|
107 |
# Install both forms until HAL has migrated |
108 |
if use zlib ; then |
109 |
local sharedir="${D}/usr/share/misc" |
110 |
elog "Providing a backwards compatibility non-compressed pci.ids" |
111 |
gzip -d <"${sharedir}"/pci.ids.gz >"${sharedir}"/pci.ids |
112 |
fi |
113 |
|
114 |
newinitd "${FILESDIR}"/init.d-pciparm pciparm |
115 |
newconfd "${FILESDIR}"/conf.d-pciparm pciparm |
116 |
} |