Commit 0fd025dd authored by Kasper K's avatar Kasper K
Browse files

testing/usbmuxd: add post-install script

parent 2ffc8e83
Pipeline #83971 passed with stages
in 1 minute and 54 seconds
--- a/configure.ac
+++ b/configure.ac
@@ -88,7 +88,7 @@
if test "x$with_systemd" = xyes; then
udev_activation_rule="ENV{SYSTEMD_WANTS}=\"usbmuxd.service\""
else
- udev_activation_rule="RUN+=\"@sbindir@/usbmuxd --user usbmux --udev\""
+ udev_activation_rule="RUN+=\"@sbindir@/usbmuxd --user usbmux --enable-exit\""
fi
AC_SUBST(udev_activation_rule)
......@@ -2,15 +2,17 @@
# Maintainer:
pkgname=usbmuxd
pkgver=1.1.1
pkgrel=1
pkgrel=2
pkgdesc="Socket Daemon to multiplex connections from iOS"
url="https://github.com/libimobiledevice/usbmuxd"
arch="all"
makedepends="automake autoconf libtool libusb-dev libplist-dev
libimobiledevice-dev"
license="GPL-2.0-or-later"
install="$pkgname.post-install"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/libimobiledevice/usbmuxd/archive/$pkgver.tar.gz"
source="$pkgname-$pkgver.tar.gz::https://github.com/libimobiledevice/usbmuxd/archive/$pkgver.tar.gz
001-confiure-no-udev.patch"
prepare() {
default_prepare
......@@ -37,4 +39,5 @@ package() {
make DESTDIR="$pkgdir" install
}
sha512sums="500e5f9a3500ad49bd8c195da71586db88964dd62dd716bb6a30827cc42bfdab38326b98204afdf606b1795d270d7f0261a59576558405de3540f6038a575856 usbmuxd-1.1.1.tar.gz"
sha512sums="500e5f9a3500ad49bd8c195da71586db88964dd62dd716bb6a30827cc42bfdab38326b98204afdf606b1795d270d7f0261a59576558405de3540f6038a575856 usbmuxd-1.1.1.tar.gz
a8a4ed6877c691a44b53b2c554149c90034cbed8d48e0daf682aa7afbfb8f12cb05e4d99bd05dccc2e814f6001ccf19d61e9bff8c2da5e44ede386ea3565661f 001-confiure-no-udev.patch"
#!/bin/sh
# creating default user required by usbmuxd
adduser --system --ingroup usb --no-create-home --gecos "usbmux daemon" usbmux 2>/dev/null
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment