From 7667f46485cad5ffcf388041f5108ccd870f7dad Mon Sep 17 00:00:00 2001 From: tnut Date: Thu, 14 Oct 2010 08:21:36 +0200 Subject: usbmuxd, patchs ds port supprimé MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extra/usbmuxd/Pkgfile | 2 +- extra/usbmuxd/usbmuxd-udevuser.patch | 11 ----------- extra/usbmuxd/usbmuxd.install | 21 --------------------- 3 files changed, 1 insertion(+), 33 deletions(-) delete mode 100644 extra/usbmuxd/usbmuxd-udevuser.patch delete mode 100644 extra/usbmuxd/usbmuxd.install diff --git a/extra/usbmuxd/Pkgfile b/extra/usbmuxd/Pkgfile index 1beb02ebe..dc87fc570 100644 --- a/extra/usbmuxd/Pkgfile +++ b/extra/usbmuxd/Pkgfile @@ -8,7 +8,7 @@ name=usbmuxd version=1.0.4 release=1 source=(http://marcansoft.com/uploads/$name/$name-$version.tar.bz2 - usbmuxd-udevuser.patch) + http://nutyx.meticul.eu/files/patchs/$name/usbmuxd-udevuser.patch) build() { cd $name-$version diff --git a/extra/usbmuxd/usbmuxd-udevuser.patch b/extra/usbmuxd/usbmuxd-udevuser.patch deleted file mode 100644 index abcec3250..000000000 --- a/extra/usbmuxd/usbmuxd-udevuser.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- usbmuxd-1.0.4/udev/85-usbmuxd.rules.in.orig 2010-05-11 15:36:08.000000000 +0100 -+++ usbmuxd-1.0.4/udev/85-usbmuxd.rules.in 2010-05-11 21:48:23.361733289 +0100 -@@ -1,7 +1,7 @@ - # usbmuxd (iPhone "Apple Mobile Device" MUXer listening on /var/run/usbmuxd) - - # Forces iPhone 1.0, 3G, 3GS, iPodTouch 1/2 and iPad to USB configuration 3 and run usbmuxd --ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="129[0-9a]", ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}!="$attr{bNumConfigurations}", ATTR{bConfigurationValue}="$attr{bNumConfigurations}", RUN+="@CMAKE_INSTALL_PREFIX@/sbin/usbmuxd -u -U usbmux" -+ACTION=="add", SUBSYSTEM=="usb", OWNER="usbmux", ATTR{idVendor}=="05ac", ATTR{idProduct}=="129[0-9a]", ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}!="$attr{bNumConfigurations}", ATTR{bConfigurationValue}="$attr{bNumConfigurations}", RUN+="@CMAKE_INSTALL_PREFIX@/sbin/usbmuxd -u -U usbmux" - - # Exit usbmuxd when the last device is removed - ACTION=="remove", SUBSYSTEM=="usb", ENV{PRODUCT}=="5ac/129[0-9a]/*", ENV{INTERFACE}=="255/*", RUN+="@CMAKE_INSTALL_PREFIX@/sbin/usbmuxd -x" diff --git a/extra/usbmuxd/usbmuxd.install b/extra/usbmuxd/usbmuxd.install deleted file mode 100644 index 5b46db012..000000000 --- a/extra/usbmuxd/usbmuxd.install +++ /dev/null @@ -1,21 +0,0 @@ -post_install() { - getent group usbmux >/dev/null 2>&1 || usr/sbin/groupadd -g 140 usbmux - getent passwd usbmux >/dev/null 2>&1 || usr/sbin/useradd -c 'usbmux user' -u 140 -g usbmux -d / -s /sbin/nologin usbmux - - usr/bin/passwd -l usbmux &>/dev/null -} - -pre_upgrade () { - if [ $2 == "1.0.4-1" ]; then - pre_remove $1 - fi -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - getent passwd usbmux >/dev/null 2>&1 && userdel usbmux - getent group usbmux >/dev/null 2>&1 && groupdel usbmux -} -- cgit v1.2.3-70-g09d2