diff options
Diffstat (limited to 'extra/misdnuser')
-rw-r--r-- | extra/misdnuser/PKGBUILD | 24 | ||||
-rw-r--r-- | extra/misdnuser/mISDNcapid.conf | 1 | ||||
-rw-r--r-- | extra/misdnuser/mISDNcapid.service | 10 |
3 files changed, 28 insertions, 7 deletions
diff --git a/extra/misdnuser/PKGBUILD b/extra/misdnuser/PKGBUILD index a6475d25c..9de576e21 100644 --- a/extra/misdnuser/PKGBUILD +++ b/extra/misdnuser/PKGBUILD @@ -1,20 +1,25 @@ -# $Id: PKGBUILD 156006 2012-04-11 12:11:55Z tomegun $ +# $Id: PKGBUILD 159134 2012-05-16 12:27:20Z tpowa $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> pkgname=misdnuser -pkgver=2.0.11 -pkgrel=3 +pkgver=2.0.13_20120513 +pkgrel=1 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=('!libtool') +options=('!makeflags' '!libtool' '!strip') source=(ftp://ftp.archlinux.org/other/misdnuser/${pkgname}-${pkgver}.tar.gz - misdncapid.rc) + misdncapid.rc + mISDNcapid.service + mISDNcapid.conf) build() { + # only enable for debugging! + #export CFLAGS+=" -g -O0" + #export CXXFLAGS+=" -g -O0" cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr --enable-capi --enable-softdsp --with-mISDN_group=uucp make @@ -30,6 +35,11 @@ package() { rm -r ${pkgdir}/etc/udev/ # remove temporary dir /var/run/mISDNcapid rm -r ${pkgdir}/var + # add systemd files + install -D -m644 ${srcdir}/mISDNcapid.service ${pkgdir}/usr/lib/systemd/system/mISDNcapid.service + install -D -m644 ${srcdir}/mISDNcapid.conf ${pkgdir}/usr/lib/tmpfiles.d/mISDNcapid.conf } -md5sums=('1c8825afde76e290727240077bbd37ea' - '2009563b144de037ecb20f8d727a772e') +md5sums=('f61339c3a28a370cd971957e6ef07f5c' + '2009563b144de037ecb20f8d727a772e' + '638b399f7e0937639960c4dfb3d5138e' + '42c3b46880a68c3883ee1ed00af34b45') diff --git a/extra/misdnuser/mISDNcapid.conf b/extra/misdnuser/mISDNcapid.conf new file mode 100644 index 000000000..7607e262d --- /dev/null +++ b/extra/misdnuser/mISDNcapid.conf @@ -0,0 +1 @@ +D /var/run/mISDNcapid 0755 root root - diff --git a/extra/misdnuser/mISDNcapid.service b/extra/misdnuser/mISDNcapid.service new file mode 100644 index 000000000..b2b08a0a5 --- /dev/null +++ b/extra/misdnuser/mISDNcapid.service @@ -0,0 +1,10 @@ +[Unit] +Description=mISDN CAPI daemon + +[Service] +Type=forking +ExecStart=/usr/sbin/mISDNcapid +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target |