summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-10-14 08:21:36 +0200
committertnut <thierryn1 at hispeed dot ch>2010-10-14 08:21:36 +0200
commit7667f46485cad5ffcf388041f5108ccd870f7dad (patch)
treed9d5af988cceb9d47f375c0bfe6e8d98117605a2
parent674d92881ec399da023f5575cca70ee634f07b00 (diff)
downloadnutyx-pakxe-7667f46485cad5ffcf388041f5108ccd870f7dad.tar.gz
nutyx-pakxe-7667f46485cad5ffcf388041f5108ccd870f7dad.tar.bz2
nutyx-pakxe-7667f46485cad5ffcf388041f5108ccd870f7dad.tar.xz
nutyx-pakxe-7667f46485cad5ffcf388041f5108ccd870f7dad.zip
usbmuxd, patchs ds port supprimé
-rw-r--r--extra/usbmuxd/Pkgfile2
-rw-r--r--extra/usbmuxd/usbmuxd-udevuser.patch11
-rw-r--r--extra/usbmuxd/usbmuxd.install21
3 files changed, 1 insertions, 33 deletions
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
-}