From 4da6725820a05a0881fca6fb529a9bfc6d1dfc5b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 1 Oct 2009 03:37:35 +0000 Subject: Version bump by Tim Harder #287011. Fix by Aleksey Chernov for building on FreeBSD systems #275052. Package-Manager: portage-2.2_rc42/cvs/Linux x86_64 --- sys-apps/usbutils/ChangeLog | 9 +++++- sys-apps/usbutils/Manifest | 15 ++++++++- sys-apps/usbutils/files/usbutils-0.82-fbsd.patch | 14 ++++++++ sys-apps/usbutils/usbutils-0.86.ebuild | 41 ++++++++++++++++++++++++ 4 files changed, 77 insertions(+), 2 deletions(-) create mode 100644 sys-apps/usbutils/files/usbutils-0.82-fbsd.patch create mode 100644 sys-apps/usbutils/usbutils-0.86.ebuild (limited to 'sys-apps/usbutils') diff --git a/sys-apps/usbutils/ChangeLog b/sys-apps/usbutils/ChangeLog index f86b7fc9413f..27e26334c3e3 100644 --- a/sys-apps/usbutils/ChangeLog +++ b/sys-apps/usbutils/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-apps/usbutils # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.78 2009/05/15 10:10:04 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.79 2009/10/01 03:37:34 vapier Exp $ + +*usbutils-0.86 (01 Oct 2009) + + 01 Oct 2009; Mike Frysinger + +files/usbutils-0.82-fbsd.patch, +usbutils-0.86.ebuild: + Version bump by Tim Harder #287011. Fix by Aleksey Chernov for building on + FreeBSD systems #275052. 15 May 2009; Robin H. Johnson usbutils-0.73.ebuild, usbutils-0.80.ebuild, usbutils-0.82.ebuild: diff --git a/sys-apps/usbutils/Manifest b/sys-apps/usbutils/Manifest index 4f47c9d91394..a5b25d5d2a34 100644 --- a/sys-apps/usbutils/Manifest +++ b/sys-apps/usbutils/Manifest @@ -1,12 +1,25 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX usbmodules.sh 989 RMD160 6d5930b97b1ae2f87fe14c10ea72ab01625ab908 SHA1 19e08e37270a92650e2e7abf780239ae9a7b6908 SHA256 096271d45255f27836274ce92e89456644b6fc68e3a784b9dd251d28a407c630 AUX usbutils-0.72-update-usbids.patch 819 RMD160 6e57e8f77e8c6027bc5fe7a610b5fbc42b405f76 SHA1 8db70f90c7e20f41dbf0f06047e80454ac5c3155 SHA256 0baaf79aa09a5d61600ff2e4de34c3a209c9c5aed9af48d2d19b6543b4cc9cbf AUX usbutils-0.73-byteorder.patch 1374 RMD160 8292886de50ff6c8cac1202106721090c0026874 SHA1 9674dea58b843814ec750319ca30f5c8d26f2a3c SHA256 917f7b0a2f935e6de7721ad6e5cf875599173bf1f954894869b70c4b8d794b44 +AUX usbutils-0.82-fbsd.patch 254 RMD160 bc82734b6630170a746fb06c3482fa2d9b0bcc66 SHA1 8163571295867b995db44bc69d36d0725fd7d0c2 SHA256 7654349d6150841a141211a74b5252c615225805ff466364ac67d76fbeef3316 AUX usbutils.cron 42 RMD160 463be9cd3993b1abfc05be0d3f8f8deed30e83bd SHA1 d7c11c3f387f1faf9941b9e77f936558c447a6d5 SHA256 4e53150761fc4a00b2a3593edd72e61c8710d619b96f0ae88b3c73360fac15d2 DIST usbutils-0.73.tar.gz 173312 RMD160 be693e2b759b4b778b77a3afdd80d80d26e8105f SHA1 027d4815d36e12c4516163eba485355c3f20c85a SHA256 2edc7cc98fd217f6980d8ba0b3792beed4695d4e8429a11c7237faab04ab47f4 DIST usbutils-0.80.tar.gz 236386 RMD160 251789d48958b78fb4c525247e7bda8bbe382b1a SHA1 d8184d1eb7958cd37d9400c8e62636c1212f0708 SHA256 9429c74baab3472267c1422073d2ca3ee1095b259f9bc1ac53f14b271de96669 DIST usbutils-0.82.tar.gz 242308 RMD160 e58d91c576dd5b672833d214c34b07f6d9681580 SHA1 4199a658f48da270e2aa724aeaaf3cec865b588c SHA256 9876b0e45a1bd3899222b916ab1d423e9efa3ad9374d55a6a301d5716f2d8a2f +DIST usbutils-0.86.tar.gz 246623 RMD160 5f1152260190fac63960e0d4e9aa91b4fb67f38b SHA1 8789fe562a0c791cc1cdffd30af5908876efb6da SHA256 b3b2bea6d2cd87660c8201a47071bf2a9889d8ed90c7203cc768b597799c12f4 EBUILD usbutils-0.73.ebuild 1631 RMD160 392af2fa28c933933b837d5360d6b10ff68aa4cb SHA1 c15b3700ad9ba5d9468fe49dd2f80ff7767904b8 SHA256 f30ba28991b4fcf7e5ff9ec013bffcca1dc7551786eaaafd8056e74aca88bb34 EBUILD usbutils-0.80.ebuild 1503 RMD160 9777529af7a00d7a759258e008f6f0c2eaac5a0b SHA1 94b3f72d8d45ce20e9ff2f3a2929e340def956cb SHA256 17cd714db2685c99eb5a9696e35e729a3b3f9eb4d5b470f8f945f589d35c8647 EBUILD usbutils-0.82.ebuild 1191 RMD160 075ba3ab83c4b2eff30410580b05f71f94421d89 SHA1 ab4925af8908335e4b3af1e544d5f0a9a5175aa7 SHA256 cdcfacc37d314833d3f53bc64bdfd3a1d96b53aeb7bd208250c9b4f3f76989f4 -MISC ChangeLog 10396 RMD160 f0a9d6145d0b2b2196dac07a3915a9dc7084db2d SHA1 11b151b325b5652b5ef39b042c049ef52687dc4a SHA256 cae270cbcbc91f97117f4151fdf8679200a2305516d937fc3f7f14b900a035cf +EBUILD usbutils-0.86.ebuild 1107 RMD160 116150057f6f42635146989381d3aa7358f79af4 SHA1 6b2fe87c3eccacdf8d3df6d32697d257b3fefae0 SHA256 df71e86717605f913c42dae2c1524d260dfab27612b8d01ab38520240c45696d +MISC ChangeLog 10638 RMD160 4a19c73b74f4fc4f4a12a7a2912da2b61c8e660b SHA1 62deb5548e0c32d3a368516ce2378d1d33b51b42 SHA256 0a6ca6f68b67bf4f5128c0f8b6786115ece6ced9c8ae9067300c6d1cad0672fb MISC metadata.xml 252 RMD160 cf5c2f72c68d4127a9eaa80c8c8a670dc5c141e6 SHA1 7289fac4ca3f1c6928224df39540dff5c8f0ddf4 SHA256 73bd60d4faf2d4cf923e02b80d531ced8e01c581fc8ae3d7271ae5abd6b14b91 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.11 (GNU/Linux) + +iEYEARECAAYFAkrEJAQACgkQlPl3HsVfCDqs3gCfW96k1Yk9Mt0v92Oc7CWsbW7z +8/MAniH4bxWkXbLBJn/qI7XddqQqbTNs +=SG34 +-----END PGP SIGNATURE----- diff --git a/sys-apps/usbutils/files/usbutils-0.82-fbsd.patch b/sys-apps/usbutils/files/usbutils-0.82-fbsd.patch new file mode 100644 index 000000000000..4e46d0c3a3f6 --- /dev/null +++ b/sys-apps/usbutils/files/usbutils-0.82-fbsd.patch @@ -0,0 +1,14 @@ +http://bugs.gentoo.org/275052 + +--- usbutils-0.82/lsusb.c ++++ usbutils-0.82/lsusb.c +@@ -32,7 +32,9 @@ + #include + #include + #include ++#ifndef __FreeBSD__ + #include ++#endif + #include + + #include "names.h" diff --git a/sys-apps/usbutils/usbutils-0.86.ebuild b/sys-apps/usbutils/usbutils-0.86.ebuild new file mode 100644 index 000000000000..f789e54b9dda --- /dev/null +++ b/sys-apps/usbutils/usbutils-0.86.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/usbutils-0.86.ebuild,v 1.1 2009/10/01 03:37:34 vapier Exp $ + +EAPI="2" + +inherit eutils + +DESCRIPTION="USB enumeration utilities" +HOMEPAGE="http://linux-usb.sourceforge.net/" +SRC_URI="mirror://sourceforge/linux-usb/${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 zlib" + +DEPEND="virtual/libusb:0 + zlib? ( sys-libs/zlib )" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.82-fbsd.patch #275052 +} + +src_configure() { + econf \ + --datadir=/usr/share/misc \ + $(use_enable zlib) +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + newbin "${FILESDIR}"/usbmodules.sh usbmodules || die + newsbin update-usbids.sh update-usbids || die "update-usbids failed" + dodoc AUTHORS ChangeLog NEWS README + + use network-cron || return 0 + exeinto /etc/cron.monthly + newexe "${FILESDIR}"/usbutils.cron update-usbids || die +} -- cgit v1.2.3-65-gdbad