1 |
flameeyes 13/12/26 18:46:01 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: hwids-20131226.ebuild |
5 |
Log: |
6 |
Long time no update. |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342) |
9 |
|
10 |
Revision Changes Path |
11 |
1.126 sys-apps/hwids/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?rev=1.126&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?rev=1.126&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?r1=1.125&r2=1.126 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v |
20 |
retrieving revision 1.125 |
21 |
retrieving revision 1.126 |
22 |
diff -u -r1.125 -r1.126 |
23 |
--- ChangeLog 8 Dec 2013 18:25:28 -0000 1.125 |
24 |
+++ ChangeLog 26 Dec 2013 18:46:01 -0000 1.126 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-apps/hwids |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.125 2013/12/08 18:25:28 maekke Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.126 2013/12/26 18:46:01 flameeyes Exp $ |
30 |
+ |
31 |
+*hwids-20131226 (26 Dec 2013) |
32 |
+ |
33 |
+ 26 Dec 2013; Diego E. Pettenò <flameeyes@g.o> +hwids-20131226.ebuild: |
34 |
+ Long time no update. |
35 |
|
36 |
08 Dec 2013; Markus Meier <maekke@g.o> hwids-20130915.1.ebuild: |
37 |
arm stable, bug #487342 |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-apps/hwids/hwids-20131226.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20131226.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20131226.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: hwids-20131226.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-20131226.ebuild,v 1.1 2013/12/26 18:46:01 flameeyes Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
inherit udev eutils |
54 |
|
55 |
DESCRIPTION="Hardware (PCI, USB, OUI, IAB) IDs databases" |
56 |
HOMEPAGE="https://github.com/gentoo/hwids" |
57 |
SRC_URI="https://github.com/gentoo/hwids/archive/${P}.tar.gz" |
58 |
|
59 |
LICENSE="|| ( GPL-2 BSD ) public-domain" |
60 |
SLOT="0" |
61 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux" |
62 |
IUSE="+udev" |
63 |
|
64 |
DEPEND="udev? ( |
65 |
dev-lang/perl |
66 |
>=virtual/udev-206 |
67 |
)" |
68 |
RDEPEND="!<sys-apps/pciutils-3.1.9-r2 |
69 |
!<sys-apps/usbutils-005-r1" |
70 |
|
71 |
S=${WORKDIR}/hwids-${P} |
72 |
|
73 |
src_prepare() { |
74 |
sed -i -e '/udevadm hwdb/d' Makefile || die |
75 |
} |
76 |
|
77 |
src_compile() { |
78 |
emake UDEV=$(usex udev) |
79 |
} |
80 |
|
81 |
src_install() { |
82 |
emake UDEV=$(usex udev) install \ |
83 |
DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \ |
84 |
MISCDIR="${EPREFIX}/usr/share/misc" \ |
85 |
HWDBDIR="${EPREFIX}$(get_udevdir)/hwdb.d" \ |
86 |
DESTDIR="${D}" |
87 |
} |
88 |
|
89 |
pkg_postinst() { |
90 |
if use udev; then |
91 |
udevadm hwdb --update --root="${ROOT%/}" |
92 |
# http://cgit.freedesktop.org/systemd/systemd/commit/?id=1fab57c209035f7e66198343074e9cee06718bda |
93 |
if [[ ${ROOT} != "" ]] && [[ ${ROOT} != "/" ]]; then |
94 |
return 0 |
95 |
fi |
96 |
udevadm control --reload |
97 |
fi |
98 |
} |