1 |
vapier 12/01/31 16:05:09 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: pciutils-3.1.9-r1.ebuild |
5 |
Log: |
6 |
Split logic between supporting a compressed db (USE=zlib) and using one (USE=compress-db) #360849 #397591 and some others. |
7 |
|
8 |
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.5 sys-apps/pciutils/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pciutils/metadata.xml?rev=1.5&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pciutils/metadata.xml?rev=1.5&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pciutils/metadata.xml?r1=1.4&r2=1.5 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/pciutils/metadata.xml,v |
20 |
retrieving revision 1.4 |
21 |
retrieving revision 1.5 |
22 |
diff -u -r1.4 -r1.5 |
23 |
--- metadata.xml 17 Aug 2008 20:37:20 -0000 1.4 |
24 |
+++ metadata.xml 31 Jan 2012 16:05:09 -0000 1.5 |
25 |
@@ -3,8 +3,8 @@ |
26 |
<pkgmetadata> |
27 |
<herd>base-system</herd> |
28 |
<use> |
29 |
- <flag name='network-cron'> |
30 |
- Monthly cronjob the update-pciids script |
31 |
- </flag> |
32 |
+ <flag name='compress-db'>Compress pci.ids database by default</flag> |
33 |
+ <flag name='network-cron'>Monthly cronjob the update-pciids script</flag> |
34 |
+ <flag name='zlib'>Support compressed pci.ids database</flag> |
35 |
</use> |
36 |
</pkgmetadata> |
37 |
|
38 |
|
39 |
|
40 |
1.187 sys-apps/pciutils/ChangeLog |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pciutils/ChangeLog?rev=1.187&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pciutils/ChangeLog?rev=1.187&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pciutils/ChangeLog?r1=1.186&r2=1.187 |
45 |
|
46 |
Index: ChangeLog |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v |
49 |
retrieving revision 1.186 |
50 |
retrieving revision 1.187 |
51 |
diff -u -r1.186 -r1.187 |
52 |
--- ChangeLog 20 Jan 2012 05:13:33 -0000 1.186 |
53 |
+++ ChangeLog 31 Jan 2012 16:05:09 -0000 1.187 |
54 |
@@ -1,6 +1,13 @@ |
55 |
# ChangeLog for sys-apps/pciutils |
56 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.186 2012/01/20 05:13:33 radhermit Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.187 2012/01/31 16:05:09 vapier Exp $ |
59 |
+ |
60 |
+*pciutils-3.1.9-r1 (31 Jan 2012) |
61 |
+ |
62 |
+ 31 Jan 2012; Mike Frysinger <vapier@g.o> +pciutils-3.1.9-r1.ebuild, |
63 |
+ metadata.xml: |
64 |
+ Split logic between supporting a compressed db (USE=zlib) and using one |
65 |
+ (USE=compress-db) #360849 #397591 and some others. |
66 |
|
67 |
*pciutils-3.1.9 (20 Jan 2012) |
68 |
|
69 |
|
70 |
|
71 |
|
72 |
1.1 sys-apps/pciutils/pciutils-3.1.9-r1.ebuild |
73 |
|
74 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pciutils/pciutils-3.1.9-r1.ebuild?rev=1.1&view=markup |
75 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pciutils/pciutils-3.1.9-r1.ebuild?rev=1.1&content-type=text/plain |
76 |
|
77 |
Index: pciutils-3.1.9-r1.ebuild |
78 |
=================================================================== |
79 |
# Copyright 1999-2012 Gentoo Foundation |
80 |
# Distributed under the terms of the GNU General Public License v2 |
81 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-3.1.9-r1.ebuild,v 1.1 2012/01/31 16:05:09 vapier Exp $ |
82 |
|
83 |
EAPI="4" |
84 |
|
85 |
inherit eutils multilib toolchain-funcs |
86 |
|
87 |
DESCRIPTION="Various utilities dealing with the PCI bus" |
88 |
HOMEPAGE="http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html" |
89 |
SRC_URI="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${P}.tar.gz" |
90 |
|
91 |
LICENSE="GPL-2" |
92 |
SLOT="0" |
93 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
94 |
IUSE="compress-db network-cron static-libs zlib" |
95 |
REQUIRED_USE="compress-db? ( zlib )" |
96 |
|
97 |
DEPEND="zlib? ( sys-libs/zlib )" |
98 |
RDEPEND="${DEPEND}" |
99 |
|
100 |
src_prepare() { |
101 |
epatch "${FILESDIR}"/${PN}-3.1.7-install-lib.patch #273489 |
102 |
epatch "${FILESDIR}"/${PN}-3.1.7-fbsd.patch #262321 |
103 |
|
104 |
if use static-libs ; then |
105 |
cp -pPR "${S}" "${S}.static" || die |
106 |
fi |
107 |
} |
108 |
|
109 |
pemake() { |
110 |
emake \ |
111 |
HOST="${CHOST}" \ |
112 |
CROSS_COMPILE="${CHOST}-" \ |
113 |
CC="$(tc-getCC)" \ |
114 |
DNS="yes" \ |
115 |
IDSDIR='$(SHAREDIR)/misc' \ |
116 |
MANDIR='$(SHAREDIR)/man' \ |
117 |
PREFIX="${EPREFIX}/usr" \ |
118 |
SHARED="yes" \ |
119 |
STRIP="" \ |
120 |
ZLIB=$(usex zlib) \ |
121 |
PCI_COMPRESSED_IDS=$(usex compress-db 1 0) \ |
122 |
PCI_IDS=$(usex compress-db pci.ids{.gz,}) \ |
123 |
LIBDIR="\${PREFIX}/$(get_libdir)" \ |
124 |
"$@" |
125 |
} |
126 |
|
127 |
src_compile() { |
128 |
pemake OPT="${CFLAGS}" all |
129 |
if use static-libs ; then |
130 |
pemake \ |
131 |
-C "${S}.static" \ |
132 |
OPT="${CFLAGS}" \ |
133 |
SHARED="no" \ |
134 |
lib/libpci.a |
135 |
fi |
136 |
} |
137 |
|
138 |
src_install() { |
139 |
pemake DESTDIR="${D}" install install-lib |
140 |
use static-libs && dolib.a "${S}.static/lib/libpci.a" |
141 |
dodoc ChangeLog README TODO |
142 |
|
143 |
if use network-cron ; then |
144 |
exeinto /etc/cron.monthly |
145 |
newexe "${FILESDIR}"/pciutils.cron update-pciids |
146 |
fi |
147 |
|
148 |
newinitd "${FILESDIR}"/init.d-pciparm pciparm |
149 |
newconfd "${FILESDIR}"/conf.d-pciparm pciparm |
150 |
} |
151 |
|
152 |
pkg_postinst() { |
153 |
elog "The 'pcimodules' program has been replaced by 'lspci -k'" |
154 |
} |