summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Boeck <hanno@gentoo.org>2009-06-27 12:25:16 +0000
committerHanno Boeck <hanno@gentoo.org>2009-06-27 12:25:16 +0000
commitea207b8cbd133051dab32abe14e47d4487279208 (patch)
tree423db558c229f8320802f8c7c657e82f0aa00bdc /sys-apps/usb_modeswitch
parentversion bump (diff)
downloadhistorical-ea207b8cbd133051dab32abe14e47d4487279208.tar.gz
historical-ea207b8cbd133051dab32abe14e47d4487279208.tar.bz2
historical-ea207b8cbd133051dab32abe14e47d4487279208.zip
usb_modeswitch bump
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/usb_modeswitch')
-rw-r--r--sys-apps/usb_modeswitch/ChangeLog7
-rw-r--r--sys-apps/usb_modeswitch/Manifest12
-rw-r--r--sys-apps/usb_modeswitch/usb_modeswitch-1.0.2.ebuild40
3 files changed, 53 insertions, 6 deletions
diff --git a/sys-apps/usb_modeswitch/ChangeLog b/sys-apps/usb_modeswitch/ChangeLog
index a41ceddd41db..8eae6c169189 100644
--- a/sys-apps/usb_modeswitch/ChangeLog
+++ b/sys-apps/usb_modeswitch/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/usb_modeswitch
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/usb_modeswitch/ChangeLog,v 1.2 2009/02/23 09:43:14 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/usb_modeswitch/ChangeLog,v 1.3 2009/06/27 12:25:16 hanno Exp $
+
+*usb_modeswitch-1.0.2 (27 Jun 2009)
+
+ 27 Jun 2009; Hanno Boeck <hanno@gentoo.org> +usb_modeswitch-1.0.2.ebuild:
+ Version bump.
23 Feb 2009; Diego E. Pettenò <flameeyes@gentoo.org>
usb_modeswitch-0.9.4.ebuild:
diff --git a/sys-apps/usb_modeswitch/Manifest b/sys-apps/usb_modeswitch/Manifest
index 8537fbc692a7..1ead325baade 100644
--- a/sys-apps/usb_modeswitch/Manifest
+++ b/sys-apps/usb_modeswitch/Manifest
@@ -4,13 +4,15 @@ Hash: SHA1
AUX 91-usb_modeswitch.rules.udev-ge-106 103 RMD160 8f8e937275ea9a20a04706367c4a88c8fcc3fced SHA1 ac1abd61fe39e4e4c06a30d36b91b92675570343 SHA256 59780e741b77e9c607337788ecfd649d1e15d685775c4bde054bebd6db475507
AUX 91-usb_modeswitch.rules.udev-lt-106 102 RMD160 7087efbe9bf0036d0667ad3d4da0519fb8bf69e1 SHA1 be900037f59f229b8d701230ef2bcc56a1546e6f SHA256 6e3c63255665389c40f8a3bd665fdfdfa81992c45475f5cdde434f90a1a6c51e
DIST usb_modeswitch-0.9.4.tar.bz2 22498 RMD160 ee2c890e29da356dca7a4cee1e4d2ddca167f536 SHA1 358ef293f841f419720445ab2c109cc5c81b3978 SHA256 ffed8af4865753c845c67e0b0787dcdbcf4038e80f528805fdc04dea24fa7ee2
+DIST usb_modeswitch-1.0.2.tar.bz2 32162 RMD160 4900624f44443add4104ca073f2c61c2fb8df801 SHA1 c5adddeaa317b2aa58122ae82a474f81b8b2255a SHA256 f1b9388f4507185a4ac30bae3383d9e9bbb95075a14dd188c904cacdd8cf4e66
EBUILD usb_modeswitch-0.9.4.ebuild 1501 RMD160 8b3b7915c5929367e42a518774becc57e1bf283f SHA1 2e9bf01c38d7c480b43eb379265aa96b3828b992 SHA256 b19612dc322240bb71678fa94db784ab0b6787b99759189d2cde0414d72eaac0
-MISC ChangeLog 664 RMD160 d35857f9bd95ad7703f9235d3c212f5223089e94 SHA1 683700eec635f69d07d479ba6a509658299df16c SHA256 5421da29254718ecc5a87fc3e8b9d39cc2b753952e61bec11fcf37c7ab2b3b1d
+EBUILD usb_modeswitch-1.0.2.ebuild 1222 RMD160 282d6341e7689e0736805f73e3a424eb7f51bd88 SHA1 fc035a26d9a71648571f88f71352d60061f3919e SHA256 f5f61a27b72044a31c088ed434b8ee76548916df38e2df6244dbeb786d4c9607
+MISC ChangeLog 790 RMD160 634d7b6283c0ab0ec5943d4b589772ae4fea6be8 SHA1 b5bdb4051ed637be5f543c9273cc766d86b4ca73 SHA256 ed88ae9dbe8057a023ef215ad034cb3d06b977d4ae0710be678881c07f3f295c
MISC metadata.xml 300 RMD160 3b9c1cd628f9d7ac94b68543ec737d5c2381a47e SHA1 33c5efd31a8aa789118535b921e211ffb5023ac3 SHA256 bc07a9aecce5770d1ace9af0a6c6af8ff6c7b16eb5e7947a1b178d1970855e43
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.10 (GNU/Linux)
+Version: GnuPG v2.0.12 (GNU/Linux)
-iEYEARECAAYFAkmib9cACgkQAiZjviIA2Xi7+gCfSeQSCIt/UD+8e9Wb5FRdj9U6
-jLgAoNlzKqX/o/qtRXNmqtbgHl/CpZDh
-=VuoD
+iEYEARECAAYFAkpGD6gACgkQr2QksT29OyDOEACghk5WqLk3//huMrzjgNCq1ASh
+7NQAoJK2FqKb5XJ2DWsr231I+gWUCoBC
+=8OA4
-----END PGP SIGNATURE-----
diff --git a/sys-apps/usb_modeswitch/usb_modeswitch-1.0.2.ebuild b/sys-apps/usb_modeswitch/usb_modeswitch-1.0.2.ebuild
new file mode 100644
index 000000000000..983dcd0d156a
--- /dev/null
+++ b/sys-apps/usb_modeswitch/usb_modeswitch-1.0.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/usb_modeswitch/usb_modeswitch-1.0.2.ebuild,v 1.1 2009/06/27 12:25:16 hanno Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="USB_ModeSwitch is a tool for controlling 'flip flop' (multiple devices) USB gear like UMTS sticks."
+HOMEPAGE="http://www.draisberghof.de/usb_modeswitch/"
+SRC_URI="http://www.draisberghof.de/usb_modeswitch/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND="dev-libs/libusb"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o usb_modeswitch usb_modeswitch.c -lusb \
+ || die 'failed to compile usb_modeswitch'
+}
+
+src_install() {
+ dosbin usb_modeswitch
+ insinto /etc
+ doins usb_modeswitch.conf
+ insinto /etc/udev/rules.d
+ newins "${FILESDIR}"/91-usb_modeswitch.rules.udev-ge-106 \
+ 91-usb_modeswitch.rules
+}
+
+pkg_postinst() {
+ einfo 'For automated mode switching via udev, use "lsusb"'
+ einfo 'to find the correct values for your device and modify'
+ einfo 'them in /etc/udev/rules.d/91-usb_modeswitch.rules'
+ einfo
+ einfo 'You should also read the documentation on'
+ einfo "${HOMEPAGE}"
+}