Message info
 
To:arch-commits@archlinux.org From:Tobias Powalowski Subject:[arch-commits] Commit in misdnuser/trunk (PKGBUILD mISDNcapid.conf mISDNcapid.service) Date:Mon, 14 May 2012 01:41:02 -0400 (EDT)
 

Date: Monday, May 14, 2012 @ 01:41:02
Author: tpowa
Revision: 158984

upgpkg: misdnuser 2.0.13_20120513-1

bump to latest snapshot

Added:
misdnuser/trunk/mISDNcapid.conf
misdnuser/trunk/mISDNcapid.service
Modified:
misdnuser/trunk/PKGBUILD

--------------------+
PKGBUILD | 22 ++++++++++++++++------
mISDNcapid.conf | 1 +
mISDNcapid.service | 10 ++++++++++
3 files changed, 27 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-05-14 05:40:02 UTC (rev 158983)
+++ PKGBUILD 2012-05-14 05:41:02 UTC (rev 158984)
@@ -2,19 +2,24 @@
# 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 @@
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')

Added: mISDNcapid.conf
===================================================================
--- mISDNcapid.conf (rev 0)
+++ mISDNcapid.conf 2012-05-14 05:41:02 UTC (rev 158984)
@@ -0,0 +1 @@
+D /var/run/mISDNcapid 0755 root root -

Added: mISDNcapid.service
===================================================================
--- mISDNcapid.service (rev 0)
+++ mISDNcapid.service 2012-05-14 05:41:02 UTC (rev 158984)
@@ -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