diff options
Diffstat (limited to 'comms/usbmuxd')
-rw-r--r-- | comms/usbmuxd/Makefile | 5 | ||||
-rw-r--r-- | comms/usbmuxd/distinfo | 6 | ||||
-rw-r--r-- | comms/usbmuxd/files/patch-configure.ac | 14 | ||||
-rw-r--r-- | comms/usbmuxd/files/patch-src_usb.c | 20 | ||||
-rw-r--r-- | comms/usbmuxd/files/usbmuxd.conf.in | 4 |
5 files changed, 29 insertions, 20 deletions
diff --git a/comms/usbmuxd/Makefile b/comms/usbmuxd/Makefile index 2abcb6960e76..320987cae542 100644 --- a/comms/usbmuxd/Makefile +++ b/comms/usbmuxd/Makefile @@ -1,7 +1,6 @@ PORTNAME= usbmuxd -DISTVERSION= 1.1.1-58 -PORTREVISION= 1 -DISTVERSIONSUFFIX= -gbc0b91c +DISTVERSION= 1.1.1-69 +DISTVERSIONSUFFIX= -g523f700 CATEGORIES= comms #MASTER_SITES= https://github.com/libimobiledevice/${PORTNAME}/releases/download/${DISTVERSION}/ diff --git a/comms/usbmuxd/distinfo b/comms/usbmuxd/distinfo index 532706a3035e..b9c10b331399 100644 --- a/comms/usbmuxd/distinfo +++ b/comms/usbmuxd/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1720421685 -SHA256 (libimobiledevice-usbmuxd-1.1.1-58-gbc0b91c_GH0.tar.gz) = 2a88c8a27ba43cf00e9aed5b09791a5ce651758a87dc802954c73b0690ddacab -SIZE (libimobiledevice-usbmuxd-1.1.1-58-gbc0b91c_GH0.tar.gz) = 65593 +TIMESTAMP = 1751596899 +SHA256 (libimobiledevice-usbmuxd-1.1.1-69-g523f700_GH0.tar.gz) = 1f04ae56c26c34f3ee7c36617dedc3d444c078c3d0f87b600b97e8526ff224ec +SIZE (libimobiledevice-usbmuxd-1.1.1-69-g523f700_GH0.tar.gz) = 65623 diff --git a/comms/usbmuxd/files/patch-configure.ac b/comms/usbmuxd/files/patch-configure.ac index 40c76ce88439..6a870ed7697e 100644 --- a/comms/usbmuxd/files/patch-configure.ac +++ b/comms/usbmuxd/files/patch-configure.ac @@ -1,19 +1,9 @@ -Remove bash-ism from configure script. Disable udev/systemd detection for *BSD as the catch-all assumes a Linux system. A configuration file for devd(8) is provided by this port instead. ---- configure.ac.orig 2020-06-09 02:57:16 UTC +--- configure.ac.orig 2025-02-01 20:07:39 UTC +++ configure.ac -@@ -36,7 +36,7 @@ if test "x$have_limd" = "xyes"; then - AC_SUBST(libimobiledevice_CFLAGS) - AC_SUBST(libimobiledevice_LIBS) - CACHED_CFLAGS="$CFLAGS" -- CFLAGS+=" $libimobiledevice_CFLAGS" -+ CFLAGS="$CFLAGS $libimobiledevice_CFLAGS" - AC_CACHE_CHECK(for enum idevice_connection_type, ac_cv_enum_idevice_connection_type, - AC_TRY_COMPILE([ - #include <libimobiledevice/libimobiledevice.h> -@@ -125,7 +125,7 @@ case ${host_os} in +@@ -126,7 +126,7 @@ case ${host_os} in AC_SUBST(WINDRES) activation_method="manual" ;; diff --git a/comms/usbmuxd/files/patch-src_usb.c b/comms/usbmuxd/files/patch-src_usb.c new file mode 100644 index 000000000000..3f27871966e8 --- /dev/null +++ b/comms/usbmuxd/files/patch-src_usb.c @@ -0,0 +1,20 @@ +The LIBUSB_SPEED_SUPER_PLUS emum was added in libusb 1.0.24 (December +10, 2020). Support for the LIBUSB_SPEED_SUPER_PLUS enum was much more +recently added to our implementation in [1]. + +[1] https://cgit.freebsd.org/src/commit/?id=f938c0a90313125a9518307e80ca92d4c71f7745 + +--- src/usb.c.orig 2025-02-01 20:07:39 UTC ++++ src/usb.c +@@ -625,9 +625,11 @@ static void device_complete_initialization(struct mode + case LIBUSB_SPEED_SUPER: + usbdev->speed = 5000000000; + break; ++#if defined(__FreeBSD__) && __FreeBSD_version >= 1500044 + case LIBUSB_SPEED_SUPER_PLUS: + usbdev->speed = 10000000000; + break; ++#endif + case LIBUSB_SPEED_HIGH: + case LIBUSB_SPEED_UNKNOWN: + default: diff --git a/comms/usbmuxd/files/usbmuxd.conf.in b/comms/usbmuxd/files/usbmuxd.conf.in index 62b79de65440..18a7a8a11b54 100644 --- a/comms/usbmuxd/files/usbmuxd.conf.in +++ b/comms/usbmuxd/files/usbmuxd.conf.in @@ -10,7 +10,7 @@ notify 100 { match "subsystem" "DEVICE"; match "type" "ATTACH"; match "vendor" "0x05ac"; - match "product" "(0x12[9a][0-9a-f]|0x8600)"; + match "product" "(0x12[9a][0-9a-f]|0x190[1-5]|0x8600)"; action "chgrp %%GROUPS%% /dev/$cdev; chmod g+rw /dev/$cdev"; action "%%PREFIX%%/sbin/usbmuxd -U %%USERS%% -z"; }; @@ -20,7 +20,7 @@ notify 100 { match "subsystem" "DEVICE"; match "type" "DETACH"; match "vendor" "0x05ac"; - match "product" "(0x12[9a][0-9a-f]|0x8600)"; + match "product" "(0x12[9a][0-9a-f]|0x190[1-5]|0x8600)"; action "%%PREFIX%%/sbin/usbmuxd -x"; action "sleep 5"; }; |