summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2014-10-10 17:26:34 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2014-10-10 17:26:34 +0000
commitd3c6c05cea69a9475a5c3f35bb95a95ee882f996 (patch)
treeb9509f026353c79d14834c059f3c5b10fea14d78 /sys-apps/hwids
parentVersion bump. (diff)
downloadhistorical-d3c6c05cea69a9475a5c3f35bb95a95ee882f996.tar.gz
historical-d3c6c05cea69a9475a5c3f35bb95a95ee882f996.tar.bz2
historical-d3c6c05cea69a9475a5c3f35bb95a95ee882f996.zip
Version bump.
Package-Manager: portage-2.2.14_rc1/cvs/Linux x86_64 Manifest-Sign-Key: 0x1CD13C8AD4301342
Diffstat (limited to 'sys-apps/hwids')
-rw-r--r--sys-apps/hwids/ChangeLog7
-rw-r--r--sys-apps/hwids/Manifest4
-rw-r--r--sys-apps/hwids/hwids-20141010.ebuild65
3 files changed, 74 insertions, 2 deletions
diff --git a/sys-apps/hwids/ChangeLog b/sys-apps/hwids/ChangeLog
index d0540557528e..6a7ca241cfdd 100644
--- a/sys-apps/hwids/ChangeLog
+++ b/sys-apps/hwids/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/hwids
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.146 2014/09/27 13:02:12 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.147 2014/10/10 17:25:32 flameeyes Exp $
+
+*hwids-20141010 (10 Oct 2014)
+
+ 10 Oct 2014; Diego E. Pettenò <flameeyes@gentoo.org> +hwids-20141010.ebuild:
+ Version bump.
*hwids-20140927 (27 Sep 2014)
diff --git a/sys-apps/hwids/Manifest b/sys-apps/hwids/Manifest
index 7a03084c8342..34b5855ac7a8 100644
--- a/sys-apps/hwids/Manifest
+++ b/sys-apps/hwids/Manifest
@@ -1,9 +1,11 @@
DIST hwids-20140317.tar.gz 1622637 SHA256 1a728b0881005b08669b138efe791b970b9b855e03d1ed665598b72ef551afba SHA512 a4dbbc5c39bbf55645214f96ef5338224f273c6120b9c155919a3fd194477c2cc47c2651723ad425b955c284ee81391175d3e6626955968a5ebf406f8592f156 WHIRLPOOL b4a479b24008a7ac80262b524a90ed99411ef6c733eadbc35789596f44eb8d90956ec9775141839aeecd871908befbb05fa20181b2ef68c6ebf68e5726bb10b7
DIST hwids-20140627.tar.gz 1650936 SHA256 53386ddd0f58def3f6b578226d37313476d457d9a3f6651b9250452802a4af15 SHA512 495eb19e45b5f75e1c003043e1604c2f50efcc7b16d58208004412ef21a643f91bfc1ef0f035ee346fb7b6b5d5dbff4c446aea7b0f5161974a7c9d843ad02f2f WHIRLPOOL 680906049b4ac42856a3ee974e3171b0d3f2ee7a5791236e038e4b98026df65ed644484ce909438ae6c2e47b06f7d50bd94229b705313c6a6a0cb07c01a0869c
DIST hwids-20140927.tar.gz 1675469 SHA256 85f1e2017174d2099e2482da291fbbe62eb4532a8ac2e69b31f2d29b6677165b SHA512 7e847eea4a05cbe5bea935406e94274e7a194dfb7d5860f4489fa023677d442ada6c4df8280859aa4f0c5c06a319d1aa7a5daefcca0c5fb455f2cb012fa4ea6a WHIRLPOOL c81ac3354f51d3cd382cc20af457f0ecc9695bb62a9519c4b0a04dd60560fc3095b6fc461bfd7fedbf64685c1a362766700804c14bff60f5a5fd8135f14151fc
+DIST hwids-20141010.tar.gz 1678967 SHA256 2e8d45ef56a086d2e432c05ae348584325f87353c154d3ede294bad5aeba0f27 SHA512 992314a03a745b5766ccbd86c169c67c03f05ffd36188b0a19e6e7c16be2897da820bca471408a2e3834021fab4a995a5316f45b251bf5cff21003f9ffe2e23f WHIRLPOOL f3af13cf659fc5195d3eb167221d9bf04f1431fd19d071d37f7a8c30a1e020589b4e337174f7c3b6985a4869d60618da88226b47f185679a7ffc42ef270a5820
EBUILD hwids-20140317.ebuild 1367 SHA256 c5ac67f9095efbf7e99f302e4c0c78ac12398f6e66327f2d3bb3475c843d01a5 SHA512 50d798071ae92432619570726d19cc50f713946f800fdb78cb4c3eea1660d83a4559ff3da71fc79e0305a6076561bb364c1afdfd6e22983698acd6dda742a12f WHIRLPOOL 7cdf191342a8e1f82de2330cff2fb3975ffeaff60f15f385f2a753de35769a4a39c506f244642595b7ed3cede631f2c72c9a0d97302b54db44a65a6c19b3fce8
EBUILD hwids-20140627.ebuild 1610 SHA256 4d2bbdfd19e9242e8532e5b47316460610d3ff919002a743351789a1a59ff998 SHA512 af374e0f7748553d24e182ce7c8563d6cff7ce3680b929c701c6f47e2bfe0121b9c9aedaccc6a9db2b6dc41b3ff255ee2e650d1c7b758708432f6d3b1a70d09b WHIRLPOOL fcb171bd0c05ab8985d7d53183438652cf7e5e782e3088469e6e4101b4f662c9e46bbe089a69fe7fae5fc264c3cf195ecf28d11620151f6d8325aeb3142a9ec2
EBUILD hwids-20140927.ebuild 1610 SHA256 ce581361b572aabdcfd065824e4db33cb684ee0bd90723ea75b5df596d091733 SHA512 395a20752351eb071ff44db5a62a515cb6eaa94934db3311f7032b9135bb9fb17b88597e0b61f3fcaddebf3cc37adae74b91f35732370592c891bb10d90dd6db WHIRLPOOL 970379375a5b8ab5ea12a52bfdad2bd807b8f94fb1f2cc0adfac92ffa252b67f26fc4ee2be11a3818c3a8c819d9ef8527d84d4b90977b4cf4d3dde45435ccb3d
+EBUILD hwids-20141010.ebuild 1610 SHA256 652f8d554fc609fd524cb25450064057d6fecfffbbf25f7722439f3712663d1b SHA512 e9415bd3455da7f9804cabd47f3c2c2c7c2d9308b2a61bcfa20de16909a2587394701d1fc03a2eae383337b1cb73caa02458a113512d71bab57afa38417b475d WHIRLPOOL 0b3051cdd8713de90bd1b0dbac11f9fa183c722e4e43bd83506f5905d5779c2382fb95982749f7e04ad08beb92954a941491ac1ba470b0aa4b208e9608de345b
EBUILD hwids-99999999.ebuild 1608 SHA256 46cc39c3e80c4e6e890f0572060df9479dca5b9bc61d7497aa6a6023869d11fe SHA512 d0196f4ea43274318269bb62b6bb056c0442fe5b00922e83de38944a3e26921e781d8e5cbe71b2085c7c07e292038722175230ae3889b2c7ec99634253785098 WHIRLPOOL 0428e324f25319db208c67aa5128528fb0fe16b6f607114ad7ea0ea3412d00c9767955f1e339e01f95b0997dce0fef26d8c431d037747806fc32eb9f97dbe74d
-MISC ChangeLog 22046 SHA256 edf786daaf6f2e56088b3fc67387eba914eee5b287cd00570804f458745bae4f SHA512 744e296336b2ae4658efbaab1ad9cde4a69751e9d2f80d363bf755bdc468af02b5022a547d1d18d4a466b2eee7bb75d92d60cdb671caed784776165409752ee4 WHIRLPOOL 901d6d095405fa4ac8d5a3da0a238590f4e0a960fef9c33a185b6225a026a3374ebdf2bf995d7fe51bf89a0e45ced874ac60ef0f84d8bcd2e2fef0f4f810c776
+MISC ChangeLog 22174 SHA256 d670541bfd06327a26620e282366a79c332c90d60ef9f6908a668b3f0d8716c8 SHA512 a12bbed29c12b9bffdabb0c3fb0263d02f59a851cffe01a93a2e746cbb8fdf3405e7392ac6159c4f322d3d59ba1d014f8bc03848f45844242c141eb209a72b36 WHIRLPOOL 33a1f8911e32070dccf4575368805c6db6456fe2fe3c1c6dd964b220f31cf048f837e149018c06a1a4074f34a55fa7e56b56b1dc09a8d7fba7a8e6cb44fb5264
MISC metadata.xml 535 SHA256 4f40d8a522aed15ebd5f28f7f768c38332fa096b1d19a27c88003a042c69797e SHA512 d4c2a3334c6622739bf68dfefe3e3b8408c7c9e2ca32180d82466f507b1ecba460d76d33a5825e4a2de4710c6db0b32d21ace2fda1ad3590225dcb986a7ddf86 WHIRLPOOL f4368ca4eed4e8be9a0f32f7e8c723bd2bbe736a94f7565d27af2e23bffb04cafd1e59f5582d3ca860499c95e62c717de0b0ba44a42b259d82802255747b318f
diff --git a/sys-apps/hwids/hwids-20141010.ebuild b/sys-apps/hwids/hwids-20141010.ebuild
new file mode 100644
index 000000000000..ca273219db96
--- /dev/null
+++ b/sys-apps/hwids/hwids-20141010.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-20141010.ebuild,v 1.1 2014/10/10 17:25:32 flameeyes Exp $
+
+EAPI=5
+inherit udev eutils
+
+DESCRIPTION="Hardware (PCI, USB, OUI, IAB) IDs databases"
+HOMEPAGE="https://github.com/gentoo/hwids"
+if [[ ${PV} == "99999999" ]]; then
+ EGIT_REPO_URI="${HOMEPAGE}.git"
+ inherit git-2
+else
+ SRC_URI="${HOMEPAGE}/archive/${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux"
+fi
+
+LICENSE="|| ( GPL-2 BSD ) public-domain"
+SLOT="0"
+IUSE="+net +pci +udev +usb"
+
+DEPEND="udev? (
+ dev-lang/perl
+ >=virtual/udev-206
+)"
+[[ ${PV} == "99999999" ]] && DEPEND+=" udev? ( net-misc/curl )"
+RDEPEND="!<sys-apps/pciutils-3.1.9-r2
+ !<sys-apps/usbutils-005-r1"
+
+S=${WORKDIR}/hwids-${P}
+
+src_prepare() {
+ [[ ${PV} == "99999999" ]] && emake fetch
+
+ sed -i -e '/udevadm hwdb/d' Makefile || die
+}
+
+_emake() {
+ emake \
+ NET=$(usex net) \
+ PCI=$(usex pci) \
+ UDEV=$(usex udev) \
+ USB=$(usex usb) \
+ "$@"
+}
+
+src_compile() {
+ _emake
+}
+
+src_install() {
+ _emake install \
+ DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \
+ MISCDIR="${EPREFIX}/usr/share/misc" \
+ HWDBDIR="${EPREFIX}$(get_udevdir)/hwdb.d" \
+ DESTDIR="${D}"
+}
+
+pkg_postinst() {
+ if use udev; then
+ udevadm hwdb --update --root="${ROOT%/}"
+ # http://cgit.freedesktop.org/systemd/systemd/commit/?id=1fab57c209035f7e66198343074e9cee06718bda
+ [ "${ROOT:-/}" = "/" ] && udevadm control --reload
+ fi
+}