Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/hwids: hwids-99999999.ebuild ChangeLog hwids-20121202.2.ebuild
Date: Sun, 02 Dec 2012 09:29:22
Message-Id: 20121202092903.A14A72171D@flycatcher.gentoo.org
1 ssuominen 12/12/02 09:29:03
2
3 Modified: hwids-99999999.ebuild ChangeLog
4 hwids-20121202.2.ebuild
5 Log:
6 Install missing 20-acpi-vendor.hwdb which seems to be a table of approved ACPI PNP vendors (as per internet search)
7
8 (Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
9
10 Revision Changes Path
11 1.7 sys-apps/hwids/hwids-99999999.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild?rev=1.7&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild?rev=1.7&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild?r1=1.6&r2=1.7
16
17 Index: hwids-99999999.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild,v
20 retrieving revision 1.6
21 retrieving revision 1.7
22 diff -u -r1.6 -r1.7
23 --- hwids-99999999.ebuild 2 Dec 2012 08:13:23 -0000 1.6
24 +++ hwids-99999999.ebuild 2 Dec 2012 09:29:03 -0000 1.7
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2012 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild,v 1.6 2012/12/02 08:13:23 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild,v 1.7 2012/12/02 09:29:03 ssuominen Exp $
30
31 EAPI=5
32 inherit udev
33 @@ -24,12 +24,15 @@
34 src_compile() {
35 wget http://pci-ids.ucw.cz/v2.2/pci.ids.gz http://www.linux-usb.org/usb.ids.gz http://standards.ieee.org/develop/regauth/oui/oui.txt || die
36
37 + local file
38 for file in {usb,pci}.ids; do
39 zcat ${file}.gz > ${file} || die
40 done
41
42 if use udev; then
43 - wget http://cgit.freedesktop.org/systemd/systemd/plain/hwdb/ids-update.pl -O ids-update-${PV}.pl || die
44 + local HWDB_URI="http://cgit.freedesktop.org/systemd/systemd/plain/hwdb"
45 + wget ${HWDB_URI}/20-acpi-vendor.hwdb || die
46 + wget ${HWDB_URI}/ids-update.pl -O ids-update-${PV}.pl || die
47 perl ids-update-${PV}.pl &>/dev/null || die
48 fi
49 }
50
51
52
53 1.47 sys-apps/hwids/ChangeLog
54
55 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?rev=1.47&view=markup
56 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?rev=1.47&content-type=text/plain
57 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?r1=1.46&r2=1.47
58
59 Index: ChangeLog
60 ===================================================================
61 RCS file: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v
62 retrieving revision 1.46
63 retrieving revision 1.47
64 diff -u -r1.46 -r1.47
65 --- ChangeLog 2 Dec 2012 07:21:00 -0000 1.46
66 +++ ChangeLog 2 Dec 2012 09:29:03 -0000 1.47
67 @@ -1,6 +1,11 @@
68 # ChangeLog for sys-apps/hwids
69 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
70 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.46 2012/12/02 07:21:00 ssuominen Exp $
71 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.47 2012/12/02 09:29:03 ssuominen Exp $
72 +
73 + 02 Dec 2012; Samuli Suominen <ssuominen@g.o> hwids-20121202.2.ebuild,
74 + hwids-99999999.ebuild:
75 + Install missing 20-acpi-vendor.hwdb which seems to be a table of approved
76 + ACPI PNP vendors (as per internet search)
77
78 02 Dec 2012; Samuli Suominen <ssuominen@g.o> hwids-20121202.2.ebuild,
79 hwids-99999999.ebuild:
80
81
82
83 1.4 sys-apps/hwids/hwids-20121202.2.ebuild
84
85 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20121202.2.ebuild?rev=1.4&view=markup
86 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20121202.2.ebuild?rev=1.4&content-type=text/plain
87 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20121202.2.ebuild?r1=1.3&r2=1.4
88
89 Index: hwids-20121202.2.ebuild
90 ===================================================================
91 RCS file: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-20121202.2.ebuild,v
92 retrieving revision 1.3
93 retrieving revision 1.4
94 diff -u -r1.3 -r1.4
95 --- hwids-20121202.2.ebuild 2 Dec 2012 07:21:00 -0000 1.3
96 +++ hwids-20121202.2.ebuild 2 Dec 2012 09:29:03 -0000 1.4
97 @@ -1,14 +1,18 @@
98 # Copyright 1999-2012 Gentoo Foundation
99 # Distributed under the terms of the GNU General Public License v2
100 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-20121202.2.ebuild,v 1.3 2012/12/02 07:21:00 ssuominen Exp $
101 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-20121202.2.ebuild,v 1.4 2012/12/02 09:29:03 ssuominen Exp $
102
103 EAPI=5
104 inherit udev
105
106 DESCRIPTION="Hardware (PCI, USB, OUI) IDs databases"
107 HOMEPAGE="https://github.com/gentoo/hwids"
108 +HWDB_URI="http://cgit.freedesktop.org/systemd/systemd/plain/hwdb"
109 SRC_URI="https://github.com/gentoo/hwids/archive/${P}.tar.gz
110 - http://cgit.freedesktop.org/systemd/systemd/plain/hwdb/ids-update.pl -> ids-update-${PV}.pl"
111 + udev? (
112 + ${HWDB_URI}/20-acpi-vendor.hwdb -> 20-acpi-vendor-${PV}.hwdb
113 + ${HWDB_URI}/ids-update.pl -> ids-update-${PV}.pl
114 + )"
115
116 # freedist is for oui.txt, and it's mostly wishful thinking
117 LICENSE="|| ( GPL-2 BSD ) freedist"
118 @@ -43,6 +47,7 @@
119 if use udev; then
120 insinto "$(udev_get_udevdir)"/hwdb.d
121 doins *.hwdb
122 + newins "${DISTDIR}"/20-acpi-vendor-${PV}.hwdb 20-acpi-vendor.hwdb
123 fi
124 }