summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/libusb1/.footprint12
-rw-r--r--base/libusb1/.md5sum1
-rw-r--r--base/libusb1/Pkgfile19
-rw-r--r--extra/libgpod/.footprint2
-rw-r--r--extra/libgpod/Pkgfile2
-rw-r--r--extra/libimobiledevice/.footprint39
-rw-r--r--extra/libimobiledevice/.md5sum1
-rw-r--r--extra/libimobiledevice/Pkgfile19
-rw-r--r--extra/usbmuxd/.footprint18
-rw-r--r--extra/usbmuxd/.md5sum2
-rw-r--r--extra/usbmuxd/Pkgfile22
-rw-r--r--extra/usbmuxd/usbmuxd-udevuser.patch11
-rw-r--r--extra/usbmuxd/usbmuxd.install21
13 files changed, 168 insertions, 1 deletions
diff --git a/base/libusb1/.footprint b/base/libusb1/.footprint
new file mode 100644
index 000000000..c21b80c7b
--- /dev/null
+++ b/base/libusb1/.footprint
@@ -0,0 +1,12 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/libusb-1.0/
+-rw-r--r-- root/root usr/include/libusb-1.0/libusb.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libusb-1.0.a
+-rwxr-xr-x root/root usr/lib/libusb-1.0.la
+lrwxrwxrwx root/root usr/lib/libusb-1.0.so -> libusb-1.0.so.0.0.0
+lrwxrwxrwx root/root usr/lib/libusb-1.0.so.0 -> libusb-1.0.so.0.0.0
+-rwxr-xr-x root/root usr/lib/libusb-1.0.so.0.0.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/libusb-1.0.pc
diff --git a/base/libusb1/.md5sum b/base/libusb1/.md5sum
new file mode 100644
index 000000000..dacfd8056
--- /dev/null
+++ b/base/libusb1/.md5sum
@@ -0,0 +1 @@
+37d34e6eaa69a4b645a19ff4ca63ceef libusb-1.0.8.tar.bz2
diff --git a/base/libusb1/Pkgfile b/base/libusb1/Pkgfile
new file mode 100644
index 000000000..cb5e3e242
--- /dev/null
+++ b/base/libusb1/Pkgfile
@@ -0,0 +1,19 @@
+# Description: Library to enable user space application programs to communicate with USB devices
+# URL: http://libusb.sourceforge.net/
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on:
+
+name=libusb1
+version=1.0.8
+release=1
+source=(http://downloads.sourceforge.net/libusb/libusb-$version.tar.bz2)
+
+
+build() {
+ cd libusb-$version
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
+}
+
diff --git a/extra/libgpod/.footprint b/extra/libgpod/.footprint
index f70c5d006..b27855ba1 100644
--- a/extra/libgpod/.footprint
+++ b/extra/libgpod/.footprint
@@ -1,5 +1,6 @@
drwxr-xr-x root/root lib/
drwxr-xr-x root/root lib/udev/
+-rwxr-xr-x root/root lib/udev/iphone-set-info
-rwxr-xr-x root/root lib/udev/ipod-set-info
drwxr-xr-x root/root lib/udev/rules.d/
-rw-r--r-- root/root lib/udev/rules.d/90-libgpod.rules
@@ -14,6 +15,7 @@ drwxr-xr-x root/root usr/include/gpod-1.0/gpod/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/hal/
drwxr-xr-x root/root usr/lib/hal/scripts/
+-rwxr-xr-x root/root usr/lib/hal/scripts/iphone-callout
-rwxr-xr-x root/root usr/lib/hal/scripts/libgpod-callout
-rw-r--r-- root/root usr/lib/libgpod.a
-rwxr-xr-x root/root usr/lib/libgpod.la
diff --git a/extra/libgpod/Pkgfile b/extra/libgpod/Pkgfile
index 6d8898aa3..bc4ce0f16 100644
--- a/extra/libgpod/Pkgfile
+++ b/extra/libgpod/Pkgfile
@@ -2,7 +2,7 @@
# URL: http://www.gtkpod.org/libgpod.html
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: hal, mutagen, libplist, intltool
+# Depends on: hal, mutagen, libplist, intltool, libimobiledevice
name=libgpod
version=0.7.93
diff --git a/extra/libimobiledevice/.footprint b/extra/libimobiledevice/.footprint
new file mode 100644
index 000000000..05f31d9ba
--- /dev/null
+++ b/extra/libimobiledevice/.footprint
@@ -0,0 +1,39 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/idevice_id
+-rwxr-xr-x root/root usr/bin/idevicebackup
+-rwxr-xr-x root/root usr/bin/ideviceimagemounter
+-rwxr-xr-x root/root usr/bin/ideviceinfo
+-rwxr-xr-x root/root usr/bin/idevicepair
+-rwxr-xr-x root/root usr/bin/idevicescreenshot
+-rwxr-xr-x root/root usr/bin/idevicesyslog
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/libimobiledevice/
+-rw-r--r-- root/root usr/include/libimobiledevice/afc.h
+-rw-r--r-- root/root usr/include/libimobiledevice/file_relay.h
+-rw-r--r-- root/root usr/include/libimobiledevice/installation_proxy.h
+-rw-r--r-- root/root usr/include/libimobiledevice/libimobiledevice.h
+-rw-r--r-- root/root usr/include/libimobiledevice/lockdown.h
+-rw-r--r-- root/root usr/include/libimobiledevice/mobile_image_mounter.h
+-rw-r--r-- root/root usr/include/libimobiledevice/mobilebackup.h
+-rw-r--r-- root/root usr/include/libimobiledevice/mobilesync.h
+-rw-r--r-- root/root usr/include/libimobiledevice/notification_proxy.h
+-rw-r--r-- root/root usr/include/libimobiledevice/sbservices.h
+-rw-r--r-- root/root usr/include/libimobiledevice/screenshotr.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libimobiledevice.a
+-rwxr-xr-x root/root usr/lib/libimobiledevice.la
+lrwxrwxrwx root/root usr/lib/libimobiledevice.so -> libimobiledevice.so.1.0.2
+lrwxrwxrwx root/root usr/lib/libimobiledevice.so.1 -> libimobiledevice.so.1.0.2
+-rwxr-xr-x root/root usr/lib/libimobiledevice.so.1.0.2
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/libimobiledevice-1.0.pc
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/idevice_id.1.gz
+-rw-r--r-- root/root usr/share/man/man1/idevicebackup.1.gz
+-rw-r--r-- root/root usr/share/man/man1/ideviceimagemounter.1.gz
+-rw-r--r-- root/root usr/share/man/man1/ideviceinfo.1.gz
+-rw-r--r-- root/root usr/share/man/man1/idevicescreenshot.1.gz
+-rw-r--r-- root/root usr/share/man/man1/idevicesyslog.1.gz
diff --git a/extra/libimobiledevice/.md5sum b/extra/libimobiledevice/.md5sum
new file mode 100644
index 000000000..7b2decc2c
--- /dev/null
+++ b/extra/libimobiledevice/.md5sum
@@ -0,0 +1 @@
+b83dd6f501e2ef199927c20866e9e113 libimobiledevice-1.0.2.tar.bz2
diff --git a/extra/libimobiledevice/Pkgfile b/extra/libimobiledevice/Pkgfile
new file mode 100644
index 000000000..1b542f9fa
--- /dev/null
+++ b/extra/libimobiledevice/Pkgfile
@@ -0,0 +1,19 @@
+# Description: Lib support de iPhone et iPod
+# URL: http://libimobiledevice.org/
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on: gnutls, libplist, usbmuxd
+
+name=libimobiledevice
+version=1.0.2
+release=1
+source=(http://libimobiledevice.org/downloads/$name-$version.tar.bz2)
+
+
+build() {
+ cd $name-$version
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
+}
+
diff --git a/extra/usbmuxd/.footprint b/extra/usbmuxd/.footprint
new file mode 100644
index 000000000..70d1f5a0a
--- /dev/null
+++ b/extra/usbmuxd/.footprint
@@ -0,0 +1,18 @@
+drwxr-xr-x root/root lib/
+drwxr-xr-x root/root lib/udev/
+drwxr-xr-x root/root lib/udev/rules.d/
+-rw-r--r-- root/root lib/udev/rules.d/85-usbmuxd.rules
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/iproxy
+drwxr-xr-x root/root usr/include/
+-rw-r--r-- root/root usr/include/usbmuxd-proto.h
+-rw-r--r-- root/root usr/include/usbmuxd.h
+drwxr-xr-x root/root usr/lib/
+lrwxrwxrwx root/root usr/lib/libusbmuxd.so -> libusbmuxd.so.1
+lrwxrwxrwx root/root usr/lib/libusbmuxd.so.1 -> libusbmuxd.so.1.0.4
+-rwxr-xr-x root/root usr/lib/libusbmuxd.so.1.0.4
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/libusbmuxd.pc
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/usbmuxd
diff --git a/extra/usbmuxd/.md5sum b/extra/usbmuxd/.md5sum
new file mode 100644
index 000000000..fa44e3b21
--- /dev/null
+++ b/extra/usbmuxd/.md5sum
@@ -0,0 +1,2 @@
+450c72273dd1dcc1d0fcfc7138122d54 usbmuxd-1.0.4.tar.bz2
+dbb0ab80ab70d571fc2113ee72592d5f usbmuxd-udevuser.patch
diff --git a/extra/usbmuxd/Pkgfile b/extra/usbmuxd/Pkgfile
new file mode 100644
index 000000000..49756ad0c
--- /dev/null
+++ b/extra/usbmuxd/Pkgfile
@@ -0,0 +1,22 @@
+# Description: Deamon multiplex USB
+# URL: http://marcansoft.com/blog/iphonelinux/usbmuxd/
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on: libusb1
+
+name=usbmuxd
+version=1.0.4
+release=1
+source=(http://marcansoft.com/uploads/$name/$name-$version.tar.bz2
+ usbmuxd-udevuser.patch)
+
+build() {
+ cd $name-$version
+ patch -Np1 -i $SRC/usbmuxd-udevuser.patch
+ mkdir build
+ cd build
+ cmake ../ -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLIB_SUFFIX=""
+ make
+ make DESTDIR=$PKG install
+}
+
diff --git a/extra/usbmuxd/usbmuxd-udevuser.patch b/extra/usbmuxd/usbmuxd-udevuser.patch
new file mode 100644
index 000000000..abcec3250
--- /dev/null
+++ b/extra/usbmuxd/usbmuxd-udevuser.patch
@@ -0,0 +1,11 @@
+--- 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
new file mode 100644
index 000000000..5b46db012
--- /dev/null
+++ b/extra/usbmuxd/usbmuxd.install
@@ -0,0 +1,21 @@
+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
+}