diff options
author | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2009-07-17 21:46:45 +0000 |
---|---|---|
committer | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2009-07-17 21:46:45 +0000 |
commit | 550d7e6fd8e1d8d59b5bb94dcde28face40be3fc (patch) | |
tree | 78097b6aab95270f255c5fbd43101538d1bfe4f5 /net-misc/usbip | |
parent | app-laptop/acerhdf: version bump (diff) | |
download | sunrise-550d7e6fd8e1d8d59b5bb94dcde28face40be3fc.tar.gz sunrise-550d7e6fd8e1d8d59b5bb94dcde28face40be3fc.tar.bz2 sunrise-550d7e6fd8e1d8d59b5bb94dcde28face40be3fc.zip |
net-misc/usbip: version bump, remove kernel parts
svn path=/sunrise/; revision=8845
Diffstat (limited to 'net-misc/usbip')
-rw-r--r-- | net-misc/usbip/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/usbip/Manifest | 6 | ||||
-rw-r--r-- | net-misc/usbip/usbip-0.1.6.ebuild | 72 | ||||
-rw-r--r-- | net-misc/usbip/usbip-0.1.7.ebuild | 39 |
4 files changed, 47 insertions, 76 deletions
diff --git a/net-misc/usbip/ChangeLog b/net-misc/usbip/ChangeLog index 45b4681da..db02ff8e0 100644 --- a/net-misc/usbip/ChangeLog +++ b/net-misc/usbip/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for net-misc/usbip -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 17 Jul 2009; Chi-Thanh Christopher Nguyen (chithead) + <chithanh@cs.tu-berlin.de> -usbip-0.1.6.ebuild, +usbip-0.1.7.ebuild: + version bump, remove kernel parts + 07 May 2008; Chi-Thanh Christopher Nguyen <chithanh@cs.tu-berlin.de> +usbip-0.1.6.ebuild, +metadata.xml: Add ebuild for usbip from bug 220771 diff --git a/net-misc/usbip/Manifest b/net-misc/usbip/Manifest index 4e76818ed..b76fed995 100644 --- a/net-misc/usbip/Manifest +++ b/net-misc/usbip/Manifest @@ -1,4 +1,4 @@ -DIST usbip-0.1.6.tar.gz 252083 RMD160 bb6d6a5cf6c1c3312a36d5b0461986c905bd0018 SHA1 40bc8e09e4167d44cfc1a8ad9df70e78debbb23d SHA256 272d2d0f787840b32634cfc91de4142db52b9a95a165d16d8b757e006f1abb32 -EBUILD usbip-0.1.6.ebuild 1749 RMD160 98e30d38e5f0c632d821994d9a1a2321f3e7d1e4 SHA1 4840405bf86167f6137477c9f64f8dc878eb383b SHA256 16e824b67a41e8fc536aa463f166b07f0f3262b38db9ff056be39004e7b71020 -MISC ChangeLog 264 RMD160 bed429ffb69751dd6fc81a130c9cda0c7970d02f SHA1 b4e9882111b3860f82089cee4c397adfa04410de SHA256 328ed9a77b9b17e86a82767744f964f54aa672ffadf7bf9209c2711ecd799e8a +DIST usbip-0.1.7.tar.gz 231215 RMD160 bbb2cfdc9ab6fc5fff7f0371c232cf584bdb8f9b SHA1 854dc66e70b5fc84c251512226043b545791743f SHA256 a2dfd3b8c6a3a0c72ddf0cf3f01ed20b4ed9eb97c3a859542b6932ee44deb628 +EBUILD usbip-0.1.7.ebuild 871 RMD160 83716caccdd73b86a81ee7eb988cc9ffec83f0fa SHA1 c33ee13f0dd157de909b9353d1fe3b533ca20aa2 SHA256 9a58ea02fcec609d93bb69d2aa495b9a147199305be011074e2e545b99b8aeb8 +MISC ChangeLog 427 RMD160 0e6a19b9a0d4496dfc8a82099884e2c27f533700 SHA1 5329ab17319bb8bb04dcdac0c82f21c3ba9d6794 SHA256 1c11b5cdee2161a153c07cd22f172c303eb8659dc7b769a701a864ef61d0aba0 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/net-misc/usbip/usbip-0.1.6.ebuild b/net-misc/usbip/usbip-0.1.6.ebuild deleted file mode 100644 index dfd0833fa..000000000 --- a/net-misc/usbip/usbip-0.1.6.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit autotools eutils linux-info linux-mod - -DESCRIPTION="A general USB device sharing system over IP networks" -HOMEPAGE="http://usbip.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug" - -RDEPEND=">=sys-fs/sysfsutils-2 - sys-apps/tcp-wrappers - dev-libs/glib" -DEPEND="${RDEPEND} - dev-util/pkgconfig - >=sys-devel/automake-1.9 - sys-devel/libtool" - -MODULE_NAMES="usbip(usbip:${S}/drivers/head:${S}/drivers/head) usbip_common_mod(usbip:${S}/drivers/head:${S}/drivers/head) vhci-hcd(usbip:${S}/drivers/head:${S}/drivers/head)" -BUILD_PARAMS="" - -pkg_setup() { - linux-mod_pkg_setup - if kernel_is lt 2 6 24 - then - eerror "You need at least kernel 2.6.24" - die "Kernel too old" - fi - - ebegin "Checking for CONFIG_USB enabled" - linux_chkconfig_present USB - eend $? - [[ $? -ne 0 ]] && die "USB is not enabled in the kernel." - - if use debug - then - ebegin "Checking for CONFIG_USB_DEBUG enabled" - linux_chkconfig_present USB_DEBUG - eend $? - [[ $? -ne 0 ]] && die "USE=debug requires that USB debugging is enabled in the kernel." - BUILD_PARAMS+="DEBUG=y" - fi -} - -src_unpack() { - unpack ${A} - cd "${S}"/src - eautoreconf -} - -src_compile() { - # compiling kernel modules - cd "${S}"/drivers/head - emake ARCH="$(tc-arch-kernel)" ${BUILD_PARAMS} || die "Compiling kernel modules failed" - - # compiling userspace tools - cd "${S}"/src - econf - emake KSOURCE="${KV_DIR}" || die "Compiling userspace tools failed" -} - -src_install() { - linux-mod_src_install - - cd "${S}"/src - emake DESTDIR="${D}" install || die "Installing userspace tools failed" - dodoc README* || die -} diff --git a/net-misc/usbip/usbip-0.1.7.ebuild b/net-misc/usbip/usbip-0.1.7.ebuild new file mode 100644 index 000000000..48c17148d --- /dev/null +++ b/net-misc/usbip/usbip-0.1.7.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit autotools + +DESCRIPTION="Userspace utilities for a general USB device sharing system over IP networks" +HOMEPAGE="http://usbip.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND="sys-fs/sysfsutils + sys-apps/tcp-wrappers + dev-libs/glib" +DEPEND="${RDEPEND} + dev-util/pkgconfig + >=sys-devel/automake-1.9 + sys-devel/libtool" + +S="${WORKDIR}/${P}/src" + +src_prepare() { + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die "Installing userspace tools failed" + dodoc README || die +} + +pkg_postinst() { + elog "For using USB/IP you need to enable USB_IP_VHCI_HCD in the client" + elog "machine's kernel config and USB_IP_HOST on the server." +} |