summaryrefslogtreecommitdiff
path: root/extra/misdnuser
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-07-10 18:23:51 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-07-10 18:23:51 -0300
commit38b5b952ddc3b86560fc02e98105bf5826d25354 (patch)
tree0e689740cb7cc4cf171a6c962e623dbe7e53fc64 /extra/misdnuser
parent1146fc0894bfda25180d63716029aabfa7ce017a (diff)
parent0615a909b089a81d068ae10517ceff31dabfece1 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-staging/performous/PKGBUILD community-testing/oss/PKGBUILD community-testing/picard/PKGBUILD community/deadbeef/PKGBUILD community/gnash/PKGBUILD community/mplayer2/PKGBUILD community/radvd/PKGBUILD community/tinc/PKGBUILD core/glibc/PKGBUILD core/lvm2/PKGBUILD core/util-linux/PKGBUILD extra/avidemux/PKGBUILD extra/boost/PKGBUILD extra/cppunit/PKGBUILD extra/ffmpeg/PKGBUILD extra/gstreamer0.10-ugly/PKGBUILD extra/kdemultimedia/PKGBUILD extra/kradio/PKGBUILD extra/opal/PKGBUILD extra/pidgin/PKGBUILD extra/postfix/PKGBUILD extra/ptlib/PKGBUILD extra/xine-lib/PKGBUILD kde-unstable/kdebase-workspace/PKGBUILD kde-unstable/kdebase-workspace/kdm.service kde-unstable/kdemultimedia-ffmpegthumbs/PKGBUILD libre/virtualbox-libre/PKGBUILD libre/virtualbox-modules-lts/PKGBUILD multilib-testing/lib32-glibc/PKGBUILD multilib/binutils-multilib/PKGBUILD multilib/gcc-multilib/PKGBUILD multilib/lib32-dbus-core/PKGBUILD multilib/lib32-e2fsprogs/PKGBUILD multilib/lib32-glibc/PKGBUILD multilib/lib32-glibc/glibc-2.15-revert-c5a0802a.patch multilib/lib32-gnutls/PKGBUILD multilib/lib32-libidn/PKGBUILD multilib/lib32-libjpeg-turbo/PKGBUILD multilib/lib32-pixman/PKGBUILD staging/ekiga/PKGBUILD staging/kdeedu-kig/PKGBUILD staging/kdeedu-rocs/PKGBUILD testing/glibc/PKGBUILD testing/kdebase-workspace/PKGBUILD testing/kdebase-workspace/kdm.service testing/nilfs-utils/PKGBUILD testing/systemd/PKGBUILD
Diffstat (limited to 'extra/misdnuser')
-rw-r--r--extra/misdnuser/PKGBUILD12
-rw-r--r--extra/misdnuser/c2faxrecv-mISDNcapid.service11
-rw-r--r--extra/misdnuser/mISDNcapid.service1
3 files changed, 21 insertions, 3 deletions
diff --git a/extra/misdnuser/PKGBUILD b/extra/misdnuser/PKGBUILD
index c21c99615..93dae37a5 100644
--- a/extra/misdnuser/PKGBUILD
+++ b/extra/misdnuser/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 162698 2012-06-28 13:43:33Z tpowa $
+# $Id: PKGBUILD 163040 2012-07-06 08:30:10Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=misdnuser
pkgver=2.0.13_20120607
-pkgrel=1
+pkgrel=2
pkgdesc="Tools and library for mISDN"
arch=('i686' 'x86_64')
url="http://www.misdn.org"
@@ -14,6 +14,7 @@ options=('!makeflags' '!libtool' '!strip')
source=(ftp://ftp.archlinux.org/other/misdnuser/${pkgname}-${pkgver}.tar.gz
misdncapid.rc
mISDNcapid.service
+ c2faxrecv-mISDNcapid.service
mISDNcapid.conf)
build() {
@@ -35,9 +36,14 @@ package() {
rm -r ${pkgdir}/etc/udev/
# add systemd files
install -D -m644 ${srcdir}/mISDNcapid.service ${pkgdir}/usr/lib/systemd/system/mISDNcapid.service
+ # mISDNcapid:
+ # tends to crash on avmfritz card, add an extra systemd file for
+ # restarting the services until segfaults are fixed!
+ install -D -m644 ${srcdir}/c2faxrecv-mISDNcapid.service ${pkgdir}/usr/lib/systemd/system/c2faxrecv-mISDNcapid.service
install -D -m644 ${srcdir}/mISDNcapid.conf ${pkgdir}/usr/lib/tmpfiles.d/mISDNcapid.conf
}
md5sums=('10b370c2010c9239161095e5d2a1cb3f'
'2009563b144de037ecb20f8d727a772e'
- '638b399f7e0937639960c4dfb3d5138e'
+ '8f305ee6e35fa12a8bec0632bfe7a076'
+ '32ead7f063e007c784aa883d441f33c2'
'42c3b46880a68c3883ee1ed00af34b45')
diff --git a/extra/misdnuser/c2faxrecv-mISDNcapid.service b/extra/misdnuser/c2faxrecv-mISDNcapid.service
new file mode 100644
index 000000000..7a98ca435
--- /dev/null
+++ b/extra/misdnuser/c2faxrecv-mISDNcapid.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=mISDN CAPI to fax receive
+Requires=faxq.service mISDNcapid.service
+After=faxq.service mISDNcapid.service
+
+[Service]
+ExecStart=/usr/bin/c2faxrecv
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target
diff --git a/extra/misdnuser/mISDNcapid.service b/extra/misdnuser/mISDNcapid.service
index b2b08a0a5..94f38478a 100644
--- a/extra/misdnuser/mISDNcapid.service
+++ b/extra/misdnuser/mISDNcapid.service
@@ -5,6 +5,7 @@ Description=mISDN CAPI daemon
Type=forking
ExecStart=/usr/sbin/mISDNcapid
ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
[Install]
WantedBy=multi-user.target