diff options
-rw-r--r-- | net-misc/usbip/Manifest | 1 | ||||
-rw-r--r-- | net-misc/usbip/files/usbip-4.13-fno-common.patch | 44 | ||||
-rw-r--r-- | net-misc/usbip/usbip-4.13-r2.ebuild | 59 |
3 files changed, 0 insertions, 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 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 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..000000000000 --- 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..000000000000 --- 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." -} |