* [gentoo-commits] gentoo-x86 commit in sys-apps/hwids: hwids-99999999.ebuild hwids-20121208.ebuild ChangeLog
@ 2012-12-08 11:30 Diego Petteno (flameeyes)
0 siblings, 0 replies; only message in thread
From: Diego Petteno (flameeyes) @ 2012-12-08 11:30 UTC (permalink / raw
To: gentoo-commits
flameeyes 12/12/08 11:30:12
Modified: hwids-99999999.ebuild ChangeLog
Added: hwids-20121208.ebuild
Log:
Version bump; update live ebuild to use the git repository as a starting point, which makes it possible to share most of the ebuild between the two.
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key D4301342)
Revision Changes Path
1.11 sys-apps/hwids/hwids-99999999.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild?r1=1.10&r2=1.11
Index: hwids-99999999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- hwids-99999999.ebuild 2 Dec 2012 17:50:56 -0000 1.10
+++ hwids-99999999.ebuild 8 Dec 2012 11:30:12 -0000 1.11
@@ -1,48 +1,47 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild,v 1.10 2012/12/02 17:50:56 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild,v 1.11 2012/12/08 11:30:12 flameeyes Exp $
EAPI=5
-inherit udev
+inherit udev git-2
-DESCRIPTION="Hardware (PCI, USB) IDs databases"
+DESCRIPTION="Hardware (PCI, USB, OUI, IAB) IDs databases"
HOMEPAGE="https://github.com/gentoo/hwids"
+EGIT_REPO_URI="${HOMEPAGE}.git"
LICENSE="|| ( GPL-2 BSD ) public-domain"
SLOT="0"
KEYWORDS=""
IUSE="+udev"
-S=${WORKDIR}
-
-DEPEND="net-misc/wget
+DEPEND="net-misc/curl
udev? ( dev-lang/perl !=sys-fs/udev-196 )"
RDEPEND="!<sys-apps/pciutils-3.1.9-r2
!<sys-apps/usbutils-005-r1"
-src_compile() {
- 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
+src_prepare() {
+ emake fetch
+}
- local file
+src_compile() {
for file in {usb,pci}.ids; do
- zcat ${file}.gz > ${file} || die
+ gzip -c ${file} > ${file}.gz || die
done
if use udev; then
- local HWDB_URI="http://cgit.freedesktop.org/systemd/systemd/plain/hwdb"
- wget ${HWDB_URI}/20-acpi-vendor.hwdb || die
- wget ${HWDB_URI}/ids-update.pl -O ids-update-${PV}.pl || die
- perl ids-update-${PV}.pl &>/dev/null || die
+ emake udev-hwdb
fi
}
src_install() {
insinto /usr/share/misc
- doins {usb,pci}.ids{,.gz} oui.txt
+ doins {usb,pci}.ids{,.gz} oui.txt iab.txt
+
+ dodoc README.md
if use udev; then
insinto "$(udev_get_udevdir)"/hwdb.d
- doins *.hwdb
+ doins udev/*.hwdb
fi
}
1.51 sys-apps/hwids/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?rev=1.51&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?rev=1.51&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?r1=1.50&r2=1.51
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- ChangeLog 4 Dec 2012 03:15:37 -0000 1.50
+++ ChangeLog 8 Dec 2012 11:30:12 -0000 1.51
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/hwids
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.50 2012/12/04 03:15:37 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.51 2012/12/08 11:30:12 flameeyes Exp $
+
+*hwids-20121208 (08 Dec 2012)
+
+ 08 Dec 2012; Diego E. Pettenò <flameeyes@gentoo.org> +hwids-20121208.ebuild,
+ hwids-99999999.ebuild:
+ Version bump; update live ebuild to use the git repository as a starting
+ point, which makes it possible to share most of the ebuild between the two.
*hwids-20121203 (04 Dec 2012)
1.1 sys-apps/hwids/hwids-20121208.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20121208.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20121208.ebuild?rev=1.1&content-type=text/plain
Index: hwids-20121208.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-20121208.ebuild,v 1.1 2012/12/08 11:30:12 flameeyes Exp $
EAPI=5
inherit udev
DESCRIPTION="Hardware (PCI, USB, OUI, IAB) IDs databases"
HOMEPAGE="https://github.com/gentoo/hwids"
SRC_URI="https://github.com/gentoo/hwids/archive/${P}.tar.gz"
LICENSE="|| ( GPL-2 BSD ) public-domain"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE="+udev"
DEPEND="udev? ( dev-lang/perl !=sys-fs/udev-196 )"
RDEPEND="!<sys-apps/pciutils-3.1.9-r2
!<sys-apps/usbutils-005-r1"
src_compile() {
for file in {usb,pci}.ids; do
gzip -c ${file} > ${file}.gz || die
done
if use udev; then
emake udev-hwdb
fi
}
src_install() {
insinto /usr/share/misc
doins {usb,pci}.ids{,.gz} oui.txt iab.txt
dodoc README.md
if use udev; then
insinto "$(udev_get_udevdir)"/hwdb.d
doins udev/*.hwdb
fi
}
pkg_postinst() {
if use udev && [[ $(udevadm --help 2>&1) == *hwdb* ]]; then
udevadm hwdb --update
fi
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-12-08 11:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-08 11:30 [gentoo-commits] gentoo-x86 commit in sys-apps/hwids: hwids-99999999.ebuild hwids-20121208.ebuild ChangeLog Diego Petteno (flameeyes)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox