[gentoo-commits] repo/gentoo:master commit in: net-misc/usbip/files/, net-misc/usbip/

2022-03-20 Thread David Seifert
commit: 3168359fc74fb5c01fa341a502f57040fc124f1b
Author: David Seifert  gentoo  org>
AuthorDate: Sun Mar 20 17:32:06 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Mar 20 17:32:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3168359f

net-misc/usbip: drop 4.13-r2

Closes: https://bugs.gentoo.org/713982
Signed-off-by: David Seifert  gentoo.org>

 net-misc/usbip/Manifest  |  1 -
 net-misc/usbip/files/usbip-4.13-fno-common.patch | 44 --
 net-misc/usbip/usbip-4.13-r2.ebuild  | 59 
 3 files changed, 104 deletions(-)

diff --git a/net-misc/usbip/Manifest b/net-misc/usbip/Manifest
index 9d29974f4086..ece469b60024 100644
--- a/net-misc/usbip/Manifest
+++ b/net-misc/usbip/Manifest
@@ -1,2 +1 @@
-DIST linux-4.13.tar.xz 100579888 BLAKE2B 
2f8be07d403071b097b019c43fa332bc7d4805dee633a6fdffe5a99d5475015ca9e4881e7f4cbfd36f8c451bacf423436364ea3d9f25b8723a29a178dededb2b
 SHA512 
a557c2f0303ae618910b7106ff63d9978afddf470f03cb72aa748213e099a0ecd5f3119aea6cbd7b61df30ca6ef3ec57044d524b7babbaabddf8b08b8bafa7d2
 DIST linux-5.15.tar.xz 121913744 BLAKE2B 
3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b83a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83
 SHA512 
d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a

diff --git a/net-misc/usbip/files/usbip-4.13-fno-common.patch 
b/net-misc/usbip/files/usbip-4.13-fno-common.patch
deleted file mode 100644
index b8ffc40c4b9e..
--- a/net-misc/usbip/files/usbip-4.13-fno-common.patch
+++ /dev/null
@@ -1,44 +0,0 @@
 a/libsrc/usbip_common.c
-+++ b/libsrc/usbip_common.c
-@@ -14,7 +14,7 @@
- int usbip_use_stderr;
- int usbip_use_debug;
- 
--extern struct udev *udev_context;
-+struct udev *udev_context;
- 
- struct speed_string {
-   int num;
 alibsrc/usbip_common.h
-+++ b/libsrc/usbip_common.h
-@@ -53,6 +53,8 @@
- #define ST_NODEV  0x04
- #define ST_ERROR  0x05
- 
-+extern struct udev *udev_context;
-+
- extern int usbip_use_syslog;
- extern int usbip_use_stderr;
- extern int usbip_use_debug ;
 a/libsrc/usbip_host_common.c
-+++ b/libsrc/usbip_host_common.c
-@@ -23,8 +23,6 @@
- #include "list.h"
- #include "sysfs_utils.h"
- 
--struct udev *udev_context;
--
- static int32_t read_attr_usbip_status(struct usbip_usb_device *udev)
- {
-   char status_attr_path[SYSFS_PATH_MAX];
 a/libsrc/vhci_driver.c
-+++ b/libsrc/vhci_driver.c
-@@ -15,7 +15,6 @@
- #define PROGNAME "libusbip"
- 
- struct usbip_vhci_driver *vhci_driver;
--struct udev *udev_context;
- 
- static struct usbip_imported_device *
- imported_device_init(struct usbip_imported_device *idev, char *busid)
-

diff --git a/net-misc/usbip/usbip-4.13-r2.ebuild 
b/net-misc/usbip/usbip-4.13-r2.ebuild
deleted file mode 100644
index c8099fd53279..
--- a/net-misc/usbip/usbip-4.13-r2.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-ETYPE="sources"
-K_NOUSENAME=1
-inherit autotools kernel-2
-
-DESCRIPTION="Userspace utilities for a general USB device sharing system over 
IP networks"
-HOMEPAGE="https://www.kernel.org/;
-SRC_URI="${KERNEL_URI}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="tcpd"
-
-RDEPEND="
-   >=dev-libs/glib-2.6
-   sys-apps/hwdata
-   >=sys-kernel/linux-headers-3.17
-   virtual/libudev
-   tcpd? ( sys-apps/tcp-wrappers )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
-
-S="${WORKDIR}/linux-${PV}/tools/usb/${PN}"
-
-PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
-
-src_unpack() {
-   tar xJf "${DISTDIR}"/${A} linux-${PV}/tools/usb/${PN} || die
-}
-
-src_prepare() {
-   default
-   # remove -Werror from build, bug #545398
-   sed -i 's/-Werror[^ ]* //g' configure.ac || die
-
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   --disable-static \
-   $(use tcpd || echo --without-tcp-wrappers) \
-   --with-usbids-dir="${EPREFIX}"/usr/share/hwdata
-}
-
-src_install() {
-   default
-   find "${ED}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
-   elog "For using USB/IP you need to enable USBIP_VHCI_HCD in the client"
-   elog "machine's kernel config and USBIP_HOST on the server."
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/usbip/

2022-03-20 Thread David Seifert
commit: 9c77e2c11c11d10309ab1674d8a850ef48f3aab3
Author: David Seifert  gentoo  org>
AuthorDate: Sun Mar 20 17:32:05 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Mar 20 17:32:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c77e2c1

net-misc/usbip: [QA] EAPI 8 cleanup

Signed-off-by: David Seifert  gentoo.org>

 net-misc/usbip/usbip-5.15.ebuild | 12 +---
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/net-misc/usbip/usbip-5.15.ebuild b/net-misc/usbip/usbip-5.15.ebuild
index 3fcee65007b6..136f8e4e290d 100644
--- a/net-misc/usbip/usbip-5.15.ebuild
+++ b/net-misc/usbip/usbip-5.15.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -10,6 +10,7 @@ inherit autotools kernel-2
 DESCRIPTION="Userspace utilities for a general USB device sharing system over 
IP networks"
 HOMEPAGE="https://www.kernel.org/;
 SRC_URI="${KERNEL_URI}"
+S="${WORKDIR}/linux-${PV}/tools/usb/${PN}"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -22,10 +23,8 @@ RDEPEND="
>=sys-kernel/linux-headers-3.17
virtual/libudev
tcpd? ( sys-apps/tcp-wrappers )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
-
-S="${WORKDIR}/linux-${PV}/tools/usb/${PN}"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 src_unpack() {
tar xJf "${DISTDIR}"/${A} linux-${PV}/tools/usb/${PN} || die
@@ -41,8 +40,7 @@ src_prepare() {
 
 src_configure() {
econf \
-   --disable-static \
-   $(use tcpd || echo --without-tcp-wrappers) \
+   $(usev !tcpd --without-tcp-wrappers) \
--with-usbids-dir="${EPREFIX}"/usr/share/hwdata
 }
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/usbip/

2021-11-29 Thread Chí-Thanh Christopher Nguyễn
commit: 2583fe786439a55fd4f6517388a2eb4f0118870b
Author: Chí-Thanh Christopher Nguyễn  gentoo  org>
AuthorDate: Tue Nov 30 00:02:54 2021 +
Commit: Chí-Thanh Christopher Nguyễn  gentoo  org>
CommitDate: Tue Nov 30 00:20:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2583fe78

net-misc/usbip: bump to 5.15

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Chí-Thanh Christopher Nguyễn  gentoo.org>

 net-misc/usbip/Manifest  |  1 +
 net-misc/usbip/usbip-5.15.ebuild | 57 
 2 files changed, 58 insertions(+)

diff --git a/net-misc/usbip/Manifest b/net-misc/usbip/Manifest
index a25d0457052b..9d29974f4086 100644
--- a/net-misc/usbip/Manifest
+++ b/net-misc/usbip/Manifest
@@ -1 +1,2 @@
 DIST linux-4.13.tar.xz 100579888 BLAKE2B 
2f8be07d403071b097b019c43fa332bc7d4805dee633a6fdffe5a99d5475015ca9e4881e7f4cbfd36f8c451bacf423436364ea3d9f25b8723a29a178dededb2b
 SHA512 
a557c2f0303ae618910b7106ff63d9978afddf470f03cb72aa748213e099a0ecd5f3119aea6cbd7b61df30ca6ef3ec57044d524b7babbaabddf8b08b8bafa7d2
+DIST linux-5.15.tar.xz 121913744 BLAKE2B 
3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b83a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83
 SHA512 
d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a

diff --git a/net-misc/usbip/usbip-5.15.ebuild b/net-misc/usbip/usbip-5.15.ebuild
new file mode 100644
index ..3fcee65007b6
--- /dev/null
+++ b/net-misc/usbip/usbip-5.15.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ETYPE="sources"
+K_NOUSENAME=1
+inherit autotools kernel-2
+
+DESCRIPTION="Userspace utilities for a general USB device sharing system over 
IP networks"
+HOMEPAGE="https://www.kernel.org/;
+SRC_URI="${KERNEL_URI}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="tcpd"
+
+RDEPEND="
+   >=dev-libs/glib-2.6
+   sys-apps/hwdata
+   >=sys-kernel/linux-headers-3.17
+   virtual/libudev
+   tcpd? ( sys-apps/tcp-wrappers )"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig"
+
+S="${WORKDIR}/linux-${PV}/tools/usb/${PN}"
+
+src_unpack() {
+   tar xJf "${DISTDIR}"/${A} linux-${PV}/tools/usb/${PN} || die
+}
+
+src_prepare() {
+   default
+   # remove -Werror from build, bug #545398
+   sed -i 's/-Werror[^ ]* //g' configure.ac || die
+
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --disable-static \
+   $(use tcpd || echo --without-tcp-wrappers) \
+   --with-usbids-dir="${EPREFIX}"/usr/share/hwdata
+}
+
+src_install() {
+   default
+   find "${ED}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+   elog "For using USB/IP you need to enable USBIP_VHCI_HCD in the client"
+   elog "machine's kernel config and USBIP_HOST on the server."
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/usbip/

2021-11-28 Thread Mike Gilbert
commit: abe092163d833769b37c2aade6b71d3b58d03190
Author: Mike Gilbert  gentoo  org>
AuthorDate: Thu Nov 25 01:23:28 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Nov 28 19:54:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abe09216

net-misc/usbip: migrate to hwdata

Signed-off-by: Mike Gilbert  gentoo.org>

 net-misc/usbip/{usbip-4.13-r1.ebuild => usbip-4.13-r2.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-misc/usbip/usbip-4.13-r1.ebuild 
b/net-misc/usbip/usbip-4.13-r2.ebuild
similarity index 91%
rename from net-misc/usbip/usbip-4.13-r1.ebuild
rename to net-misc/usbip/usbip-4.13-r2.ebuild
index 453bd87fa8fd..c8099fd53279 100644
--- a/net-misc/usbip/usbip-4.13-r1.ebuild
+++ b/net-misc/usbip/usbip-4.13-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -18,7 +18,7 @@ IUSE="tcpd"
 
 RDEPEND="
>=dev-libs/glib-2.6
-   sys-apps/hwids
+   sys-apps/hwdata
>=sys-kernel/linux-headers-3.17
virtual/libudev
tcpd? ( sys-apps/tcp-wrappers )"
@@ -45,7 +45,7 @@ src_configure() {
econf \
--disable-static \
$(use tcpd || echo --without-tcp-wrappers) \
-   --with-usbids-dir="${EPREFIX}"/usr/share/misc
+   --with-usbids-dir="${EPREFIX}"/usr/share/hwdata
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: net-misc/usbip/

2020-11-28 Thread David Seifert
commit: f62465507f9cd0eb8529a52993f56253082b4f76
Author: David Seifert  gentoo  org>
AuthorDate: Sat Nov 28 23:09:00 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Nov 28 23:09:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6246550

net-misc/usbip: Remove old

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: David Seifert  gentoo.org>

 net-misc/usbip/Manifest  |  1 -
 net-misc/usbip/usbip-3.19.ebuild | 52 
 2 files changed, 53 deletions(-)

diff --git a/net-misc/usbip/Manifest b/net-misc/usbip/Manifest
index 97320827018..a25d0457052 100644
--- a/net-misc/usbip/Manifest
+++ b/net-misc/usbip/Manifest
@@ -1,2 +1 @@
-DIST linux-3.19.tar.xz 81688872 BLAKE2B 
0b89e34e62d6fe42f43144fe4f3070df2d9a23831b231918946c1f19a1a4b881095892635983ac7afad902f366b0c6001e46751ed2c96890ecbe9d4056154be6
 SHA512 
d77bfd9b1cd524ac50bb5a93808955be2f9bcd2ec0badcc8aa6a63401e212f891fd14bd27c6441174ba5d70ab875b9e76c7ebc95f046e31aff1d40790d30351c
 DIST linux-4.13.tar.xz 100579888 BLAKE2B 
2f8be07d403071b097b019c43fa332bc7d4805dee633a6fdffe5a99d5475015ca9e4881e7f4cbfd36f8c451bacf423436364ea3d9f25b8723a29a178dededb2b
 SHA512 
a557c2f0303ae618910b7106ff63d9978afddf470f03cb72aa748213e099a0ecd5f3119aea6cbd7b61df30ca6ef3ec57044d524b7babbaabddf8b08b8bafa7d2

diff --git a/net-misc/usbip/usbip-3.19.ebuild b/net-misc/usbip/usbip-3.19.ebuild
deleted file mode 100644
index dd1e0ccb381..000
--- a/net-misc/usbip/usbip-3.19.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-ETYPE="sources"
-K_NOUSENAME=1
-inherit autotools eutils kernel-2 ltprune
-
-DESCRIPTION="Userspace utilities for a general USB device sharing system over 
IP networks"
-HOMEPAGE="https://www.kernel.org/;
-SRC_URI="${KERNEL_URI}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="static-libs tcpd"
-RESTRICT=""
-
-RDEPEND=">=dev-libs/glib-2.6
-   sys-apps/hwids
-   >=sys-kernel/linux-headers-3.17
-   virtual/libudev
-   tcpd? ( sys-apps/tcp-wrappers )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
-
-DOCS="AUTHORS README ../../../drivers/usb/usbip/usbip_protocol.txt"
-
-S=${WORKDIR}/linux-${PV}/tools/usb/${PN}
-
-src_prepare() {
-   # remove -Werror from build, bug #545398
-   sed -i 's/-Werror[^ ]* //g' configure.ac || die
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   $(use_enable static-libs static) \
-   $(use tcpd || echo --without-tcp-wrappers) \
-   --with-usbids-dir=/usr/share/misc
-}
-
-src_install() {
-   default
-   prune_libtool_files
-}
-
-pkg_postinst() {
-   elog "For using USB/IP you need to enable USBIP_VHCI_HCD in the client"
-   elog "machine's kernel config and USBIP_HOST on the server."
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/usbip/, net-misc/usbip/files/

2020-11-28 Thread David Seifert
commit: 312fbb322f44b3023a33e93f7c5a2eda32636a5c
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sat Nov 28 23:08:57 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Nov 28 23:08:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=312fbb32

net-misc/usbip: fix build with gcc-10

* Unconditionally disable static-libs
* Thanks to Jeroen Roovers for submitting the patch

Closes: https://bugs.gentoo.org/707222
Package-Manager: Portage-3.0.9, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 net-misc/usbip/files/usbip-4.13-fno-common.patch   | 44 ++
 .../{usbip-4.13.ebuild => usbip-4.13-r1.ebuild}| 22 +--
 2 files changed, 55 insertions(+), 11 deletions(-)

diff --git a/net-misc/usbip/files/usbip-4.13-fno-common.patch 
b/net-misc/usbip/files/usbip-4.13-fno-common.patch
new file mode 100644
index 000..b8ffc40c4b9
--- /dev/null
+++ b/net-misc/usbip/files/usbip-4.13-fno-common.patch
@@ -0,0 +1,44 @@
+--- a/libsrc/usbip_common.c
 b/libsrc/usbip_common.c
+@@ -14,7 +14,7 @@
+ int usbip_use_stderr;
+ int usbip_use_debug;
+ 
+-extern struct udev *udev_context;
++struct udev *udev_context;
+ 
+ struct speed_string {
+   int num;
+--- alibsrc/usbip_common.h
 b/libsrc/usbip_common.h
+@@ -53,6 +53,8 @@
+ #define ST_NODEV  0x04
+ #define ST_ERROR  0x05
+ 
++extern struct udev *udev_context;
++
+ extern int usbip_use_syslog;
+ extern int usbip_use_stderr;
+ extern int usbip_use_debug ;
+--- a/libsrc/usbip_host_common.c
 b/libsrc/usbip_host_common.c
+@@ -23,8 +23,6 @@
+ #include "list.h"
+ #include "sysfs_utils.h"
+ 
+-struct udev *udev_context;
+-
+ static int32_t read_attr_usbip_status(struct usbip_usb_device *udev)
+ {
+   char status_attr_path[SYSFS_PATH_MAX];
+--- a/libsrc/vhci_driver.c
 b/libsrc/vhci_driver.c
+@@ -15,7 +15,6 @@
+ #define PROGNAME "libusbip"
+ 
+ struct usbip_vhci_driver *vhci_driver;
+-struct udev *udev_context;
+ 
+ static struct usbip_imported_device *
+ imported_device_init(struct usbip_imported_device *idev, char *busid)
+

diff --git a/net-misc/usbip/usbip-4.13.ebuild 
b/net-misc/usbip/usbip-4.13-r1.ebuild
similarity index 77%
rename from net-misc/usbip/usbip-4.13.ebuild
rename to net-misc/usbip/usbip-4.13-r1.ebuild
index bfb8473198b..453bd87fa8f 100644
--- a/net-misc/usbip/usbip-4.13.ebuild
+++ b/net-misc/usbip/usbip-4.13-r1.ebuild
@@ -2,9 +2,10 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
+
 ETYPE="sources"
 K_NOUSENAME=1
-inherit autotools eutils kernel-2 ltprune
+inherit autotools kernel-2
 
 DESCRIPTION="Userspace utilities for a general USB device sharing system over 
IP networks"
 HOMEPAGE="https://www.kernel.org/;
@@ -13,10 +14,10 @@ SRC_URI="${KERNEL_URI}"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="static-libs tcpd"
-RESTRICT=""
+IUSE="tcpd"
 
-RDEPEND=">=dev-libs/glib-2.6
+RDEPEND="
+   >=dev-libs/glib-2.6
sys-apps/hwids
>=sys-kernel/linux-headers-3.17
virtual/libudev
@@ -24,33 +25,32 @@ RDEPEND=">=dev-libs/glib-2.6
 DEPEND="${RDEPEND}
virtual/pkgconfig"
 
-DOCS="AUTHORS README"
+S="${WORKDIR}/linux-${PV}/tools/usb/${PN}"
 
-S=${WORKDIR}/linux-${PV}/tools/usb/${PN}
+PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
 
 src_unpack() {
tar xJf "${DISTDIR}"/${A} linux-${PV}/tools/usb/${PN} || die
 }
 
 src_prepare() {
+   default
# remove -Werror from build, bug #545398
sed -i 's/-Werror[^ ]* //g' configure.ac || die
 
-   default
-
eautoreconf
 }
 
 src_configure() {
econf \
-   $(use_enable static-libs static) \
+   --disable-static \
$(use tcpd || echo --without-tcp-wrappers) \
-   --with-usbids-dir=/usr/share/misc
+   --with-usbids-dir="${EPREFIX}"/usr/share/misc
 }
 
 src_install() {
default
-   prune_libtool_files
+   find "${ED}" -name '*.la' -delete || die
 }
 
 pkg_postinst() {



[gentoo-commits] repo/gentoo:master commit in: net-misc/usbip/

2017-10-21 Thread Jeroen Roovers
commit: c449a6de62497a9cf973b451ca278f0623f7d24d
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Oct 21 13:55:03 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Oct 21 13:55:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c449a6de

net-misc/usbip: Version bump (bug #634996 by Tomoatsu Shimada).

Package-Manager: Portage-2.3.12, Repoman-2.3.3

 net-misc/usbip/Manifest  |  1 +
 net-misc/usbip/usbip-4.13.ebuild | 59 
 2 files changed, 60 insertions(+)

diff --git a/net-misc/usbip/Manifest b/net-misc/usbip/Manifest
index 927fe54aec4..be0dc55321d 100644
--- a/net-misc/usbip/Manifest
+++ b/net-misc/usbip/Manifest
@@ -1 +1,2 @@
 DIST linux-3.19.tar.xz 81688872 SHA256 
be42511fe5321012bb4a2009167ce56a9e5fe362b4af43e8c371b3666859806c SHA512 
d77bfd9b1cd524ac50bb5a93808955be2f9bcd2ec0badcc8aa6a63401e212f891fd14bd27c6441174ba5d70ab875b9e76c7ebc95f046e31aff1d40790d30351c
 WHIRLPOOL 
76a17bb3d7c30cee19e135940f3607106efb2984061f946f0da9a2ddd602dc1bfc7e6f8970975cfb113d13f23a75415f39938204af266e2819e7a239b6f46778
+DIST linux-4.13.tar.xz 100579888 SHA256 
2db3d6066c3ad93eb25b973a3d2951e022a7e975ee2fa7cbe5bddf84d9a49a2c SHA512 
a557c2f0303ae618910b7106ff63d9978afddf470f03cb72aa748213e099a0ecd5f3119aea6cbd7b61df30ca6ef3ec57044d524b7babbaabddf8b08b8bafa7d2
 WHIRLPOOL 
d3d332e02cd3c5056c76c28cf1f81504c6f7b8f2caed7238e7dd7866747fb03154b88d8d7aec4d0eddf5760624bc7d6c5485fb52a3e32d098a2742eba96c0d05

diff --git a/net-misc/usbip/usbip-4.13.ebuild b/net-misc/usbip/usbip-4.13.ebuild
new file mode 100644
index 000..93bbe26b7c7
--- /dev/null
+++ b/net-misc/usbip/usbip-4.13.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+ETYPE="sources"
+K_NOUSENAME=1
+inherit autotools eutils kernel-2
+
+DESCRIPTION="Userspace utilities for a general USB device sharing system over 
IP networks"
+HOMEPAGE="https://www.kernel.org/;
+SRC_URI="${KERNEL_URI}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs tcpd"
+RESTRICT=""
+
+RDEPEND=">=dev-libs/glib-2.6
+   sys-apps/hwids
+   >=sys-kernel/linux-headers-3.17
+   virtual/libudev
+   tcpd? ( sys-apps/tcp-wrappers )"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig"
+
+DOCS="AUTHORS README"
+
+S=${WORKDIR}/linux-${PV}/tools/usb/${PN}
+
+src_unpack() {
+   tar xJf "${DISTDIR}"/${A} linux-${PV}/tools/usb/${PN} || die
+}
+
+src_prepare() {
+   # remove -Werror from build, bug #545398
+   sed -i 's/-Werror[^ ]* //g' configure.ac || die
+
+   default
+
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   $(use_enable static-libs static) \
+   $(use tcpd || echo --without-tcp-wrappers) \
+   --with-usbids-dir=/usr/share/misc
+}
+
+src_install() {
+   default
+   prune_libtool_files
+}
+
+pkg_postinst() {
+   elog "For using USB/IP you need to enable USBIP_VHCI_HCD in the client"
+   elog "machine's kernel config and USBIP_HOST on the server."
+}