[arch-commits] Commit in (7 files)

Tobias Powalowski tpowa at nymeria.archlinux.org
Mon May 20 03:27:56 EDT 2013


    Date: Monday, May 20, 2013 @ 09:27:56
  Author: tpowa
Revision: 185996

readd misdnuser, somehow it was removed as orphan

Added:
  misdnuser/
  misdnuser/repos/
  misdnuser/trunk/
  misdnuser/trunk/PKGBUILD
  misdnuser/trunk/c2faxrecv-mISDNcapid.service
  misdnuser/trunk/mISDNcapid.conf
  misdnuser/trunk/mISDNcapid.service

------------------------------+
 PKGBUILD                     |   43 +++++++++++++++++++++++++++++++++++++++++
 c2faxrecv-mISDNcapid.service |   11 ++++++++++
 mISDNcapid.conf              |    1 
 mISDNcapid.service           |   11 ++++++++++
 4 files changed, 66 insertions(+)

Added: misdnuser/trunk/PKGBUILD
===================================================================
--- misdnuser/trunk/PKGBUILD	                        (rev 0)
+++ misdnuser/trunk/PKGBUILD	2013-05-20 07:27:56 UTC (rev 185996)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=misdnuser
+pkgver=2.0.17_20120917
+pkgrel=2
+pkgdesc="Tools and library for mISDN"
+arch=('i686' 'x86_64')
+url="http://www.misdn.org"
+license=('GPL')
+depends=('isdn4k-utils' 'spandsp')
+backup=('etc/capi20.conf') 
+options=('!makeflags' '!libtool' '!strip')
+source=(ftp://ftp.archlinux.org/other/misdnuser/${pkgname}-${pkgver}.tar.gz
+        mISDNcapid.service
+        c2faxrecv-mISDNcapid.service
+        mISDNcapid.conf)
+
+build() {
+  # only enable for debugging!
+  #export CFLAGS+=" -g -O0"
+  #export CXXFLAGS+=" -g -O0"
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make
+  ./configure --prefix=/usr --sysconfdir=/etc --enable-capi --enable-softdsp --with-mISDN_group=uucp
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+  # fix udev rule
+  mkdir -p ${pkgdir}/usr/lib/udev/rules.d
+  mv ${pkgdir}/etc/udev/rules.d/45-misdn.rules ${pkgdir}/usr/lib/udev/rules.d
+  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
+}


Property changes on: misdnuser/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: misdnuser/trunk/c2faxrecv-mISDNcapid.service
===================================================================
--- misdnuser/trunk/c2faxrecv-mISDNcapid.service	                        (rev 0)
+++ misdnuser/trunk/c2faxrecv-mISDNcapid.service	2013-05-20 07:27:56 UTC (rev 185996)
@@ -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

Added: misdnuser/trunk/mISDNcapid.conf
===================================================================
--- misdnuser/trunk/mISDNcapid.conf	                        (rev 0)
+++ misdnuser/trunk/mISDNcapid.conf	2013-05-20 07:27:56 UTC (rev 185996)
@@ -0,0 +1 @@
+D /var/run/mISDNcapid 0755 root root -

Added: misdnuser/trunk/mISDNcapid.service
===================================================================
--- misdnuser/trunk/mISDNcapid.service	                        (rev 0)
+++ misdnuser/trunk/mISDNcapid.service	2013-05-20 07:27:56 UTC (rev 185996)
@@ -0,0 +1,11 @@
+[Unit]
+Description=mISDN CAPI daemon
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/mISDNcapid
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list