diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-08-26 11:34:05 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-08-26 11:34:05 +0000 |
commit | ffbb921081fadcdaeb104ac0ec35229c6c40518f (patch) | |
tree | 5fe62f39591373c35d47c38da9492e34da20aa3f /sys-apps | |
parent | Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo in bug... (diff) | |
download | historical-ffbb921081fadcdaeb104ac0ec35229c6c40518f.tar.gz historical-ffbb921081fadcdaeb104ac0ec35229c6c40518f.tar.bz2 historical-ffbb921081fadcdaeb104ac0ec35229c6c40518f.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha51/cvs/Linux x86_64
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/usbutils/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/usbutils/Manifest | 18 | ||||
-rw-r--r-- | sys-apps/usbutils/usbutils-004.ebuild | 56 |
3 files changed, 72 insertions, 9 deletions
diff --git a/sys-apps/usbutils/ChangeLog b/sys-apps/usbutils/ChangeLog index cc76a36ada61..9ad92358c94a 100644 --- a/sys-apps/usbutils/ChangeLog +++ b/sys-apps/usbutils/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/usbutils # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.123 2011/08/24 17:35:46 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.124 2011/08/26 11:34:05 radhermit Exp $ + +*usbutils-004 (26 Aug 2011) + + 26 Aug 2011; Tim Harder <radhermit@gentoo.org> +usbutils-004.ebuild: + Version bump. 24 Aug 2011; Tim Harder <radhermit@gentoo.org> usbutils-001.ebuild, usbutils-002.ebuild, usbutils-003.ebuild: diff --git a/sys-apps/usbutils/Manifest b/sys-apps/usbutils/Manifest index a7f3ba2ff720..b046a8da0e99 100644 --- a/sys-apps/usbutils/Manifest +++ b/sys-apps/usbutils/Manifest @@ -6,19 +6,21 @@ AUX usbutils.cron 42 RMD160 463be9cd3993b1abfc05be0d3f8f8deed30e83bd SHA1 d7c11c DIST usbutils-001.tar.gz 577495 RMD160 a72fd0fc3a5a508c5a0100ba4396c05791ec61f3 SHA1 4469a310cc1b90fd5464491a6c1535a48ecd2ab6 SHA256 82f7d0f70aec413856ea4471aaa25b09bad624d9bd78c6a5f4801180371f1cdb DIST usbutils-002.tar.gz 582920 RMD160 a6ded421dec0a3d90645376ed97e677ae5e2feeb SHA1 3da3a3f76823537b71342996a4b4b7a036c41f83 SHA256 4d407ad69e6114511bce16f76620f22b2ea62c5a122b81202439761203d3de5b DIST usbutils-003.tar.gz 582985 RMD160 b34b71d992e46c02aa6c108b0845b586c8804aa5 SHA1 f9a5c83e4e3e77065fdcca29db661e8cbaf3421c SHA256 a027fa4db278866b3163a8952e78d126c705c6c08a227be82864069f87d69100 +DIST usbutils-004.tar.gz 583444 RMD160 66275d34f38204e6f4c1ba6f26ddd178eb442950 SHA1 413f0a0ca12fb9ed86801363739b4d3754cd4c1f SHA256 0a16de4559d603beafbf893e255aa6cee2fb564a806640e1365dec3438749666 EBUILD usbutils-001.ebuild 1031 RMD160 2dcc87f2aeb25faab52045158df1dce9f7c0df91 SHA1 ac5940c9773e09b71feca5c180ee38d4d35169a8 SHA256 f4f2a8adefb55cb1d2c144b9df3af3679ecba6a1497649cdc0729c6b1b0d4149 EBUILD usbutils-002.ebuild 1382 RMD160 d9618b870e7ebeeea7ec85348a4a55b38060a3ba SHA1 466221ae53737d549e4cbe55aae977163396ebb8 SHA256 c2d4ff3804380838672a5d5800113b1a9bc4baa098f9f37d0a71d6208b504b6f EBUILD usbutils-003.ebuild 1382 RMD160 aee56018af5446481ce486801047ecf9792dfc0e SHA1 801b984b248fe2a5c04844ad16abc8a1f4f466d1 SHA256 07fed14ae1445fe3d3356731360c94c85011bb1fd6be1d034a4d99c83ea33033 -MISC ChangeLog 15849 RMD160 b5a9dcef41f9c32d0163c4576a5b44ee3a703527 SHA1 5d328c33c5930a4dbdb9a47eb42b337a104834ca SHA256 ac225a6e2cf5a005903d28692831fa2eb9ae9a0ff19608cf08e38ec0ba85d845 +EBUILD usbutils-004.ebuild 1382 RMD160 0e7006e742cd3de5d611124b0e5f20d056f7ad92 SHA1 cd0ef6f8e48d472d726f17b6bcf7935fc98bd213 SHA256 97f60a1f8b3c9f46c62df4e51250b4b5787c1ebe600ef2328849806cc7641fa7 +MISC ChangeLog 15966 RMD160 9ecb5b1995852769d065c257c8a718865149ee37 SHA1 6c42a6782bc2df36542faa3c624b95fd8eda286f SHA256 e4487e76ddd334c3fd99b2036c8ebef659a880729c08dc160c989b6011ec32c0 MISC metadata.xml 252 RMD160 cf5c2f72c68d4127a9eaa80c8c8a670dc5c141e6 SHA1 7289fac4ca3f1c6928224df39540dff5c8f0ddf4 SHA256 73bd60d4faf2d4cf923e02b80d531ced8e01c581fc8ae3d7271ae5abd6b14b91 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iQEcBAEBCgAGBQJOVTZ8AAoJEEqz6FtPBkyjwZIIAK21BlDCp6VPFoysVyNz5OYk -pc95Lk8cDlKmitwNmED2ZfwdsZ0cYG4Rc7HA3gyUDopx2UsAqU3Af3jF0DDXS0nn -K2QV9FXykI9Vx99kDhk5uo0pyTaIjKwAktjdLhYsTgaBJcF62kfMOFUVB27QoCba -B2msVSOfL0/wG6gujCcP3DMotL8xIw0tC9GypDXK65q3CGiRt7+e04/z6X4QKoLN -tgCgINq5UpD1RWBUdY0emzQ89czICccyUNRHGn8ZH0/1T7m4YDCzgt5yzUF0TaJq -o1i3uXBKS1ooUc/yuCtt3wzVW1Z7kt0kmLQ8c+36FKgHu9xLQ9+Kldzag/W/Ph0= -=F22O +iQEcBAEBCgAGBQJOV4SzAAoJEEqz6FtPBkyjdhoH/1gOZtUrE8T4ebOs/hFVSyk+ +3/ZyTv5WN979EgYc6ymslTJksTe+jV2wgeZ6BQO6oeA98XfmWxH8nan8GgEMt5jk +E/pY0vZ+fz0uD341v4OZD3xC0LyPEyErEI87Vsa6e33fM27/w8qT2qJfpPQzotlq +R+VHD3DKVXfeG5+TTfaxjSGwvp413XJ3ze5CkJPABOA3AOUGz3HUw2jYsv6xidkL +ylOmyvbROUEMOo2BUXSEYKGdFSubSqBatpYMTh6Avf6iYX61IHUFqXXMl9F2w7ob +/KYlUuEqzbZibyOme9w/79ZE8BdWOJeKp+YKLjauol8fjUDWqAxMrIRC+J4nX5M= +=OrZu -----END PGP SIGNATURE----- diff --git a/sys-apps/usbutils/usbutils-004.ebuild b/sys-apps/usbutils/usbutils-004.ebuild new file mode 100644 index 000000000000..95768b76385d --- /dev/null +++ b/sys-apps/usbutils/usbutils-004.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/usbutils-004.ebuild,v 1.1 2011/08/26 11:34:05 radhermit Exp $ + +EAPI="3" + +PYTHON_DEPEND="python? 2:2.6" + +inherit python + +DESCRIPTION="USB enumeration utilities" +HOMEPAGE="http://linux-usb.sourceforge.net/" +SRC_URI="mirror://kernel/linux/utils/usb/usbutils/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="network-cron python zlib" + +RDEPEND="virtual/libusb:1 + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +pkg_setup() { + if use python; then + python_set_active_version 2 + python_pkg_setup + fi +} + +src_prepare() { + if use python; then + python_convert_shebangs 2 lsusb.py + sed -i -e '/^usbids/s:/usr/share:/usr/share/misc:' lsusb.py || die + fi +} + +src_configure() { + econf \ + --datarootdir=/usr/share \ + --datadir=/usr/share/misc \ + $(use_enable zlib) +} + +src_install() { + emake DESTDIR="${D}" install || die + use python || rm -f "${D}"/usr/bin/lsusb.py + mv "${D}"/usr/sbin/update-usbids{.sh,} || die + newbin "${FILESDIR}"/usbmodules.sh usbmodules || die + dodoc AUTHORS ChangeLog NEWS README + + use network-cron || return 0 + exeinto /etc/cron.monthly + newexe "${FILESDIR}"/usbutils.cron update-usbids || die +} |