[arch-commits] Commit in (10 files)
Tobias Powalowski
tpowa at archlinux.org
Fri Mar 30 08:04:18 UTC 2012
Date: Friday, March 30, 2012 @ 04:04:17
Author: tpowa
Revision: 154550
newpkg: capi20 support for all passive avm cards
Added:
misdnuser/
misdnuser/repos/
misdnuser/trunk/
misdnuser/trunk/PKGBUILD
misdnuser/trunk/misdncapid.rc
misdnuser/trunk/misdnuser-2.0.11-1-i686.pkg.tar.xz
misdnuser/trunk/misdnuser-2.0.11-1-i686.pkg.tar.xz.sig
misdnuser/trunk/misdnuser-2.0.11-1-x86_64.pkg.tar.xz
misdnuser/trunk/misdnuser-2.0.11-1-x86_64.pkg.tar.xz.sig
misdnuser/trunk/misdnuser-2.0.11.tar.gz
------------------------------------------+
PKGBUILD | 33 +++++++++++++++++++++
misdncapid.rc | 45 +++++++++++++++++++++++++++++
misdnuser-2.0.11-1-i686.pkg.tar.xz | 1
misdnuser-2.0.11-1-i686.pkg.tar.xz.sig | 1
misdnuser-2.0.11-1-x86_64.pkg.tar.xz | 1
misdnuser-2.0.11-1-x86_64.pkg.tar.xz.sig | 1
misdnuser-2.0.11.tar.gz | 1
7 files changed, 83 insertions(+)
Added: misdnuser/trunk/PKGBUILD
===================================================================
--- misdnuser/trunk/PKGBUILD (rev 0)
+++ misdnuser/trunk/PKGBUILD 2012-03-30 08:04:17 UTC (rev 154550)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=misdnuser
+pkgver=2.0.11
+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')
+source=(ftp://ftp.archlinux.org/other/misdnuser/${pkgname}-${pkgver}.tar.gz
+ misdncapid.rc)
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr --enable-capi --enable-softdsp --with-mISDN_group=uucp
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ install -D -m 755 ${srcdir}/misdncapid.rc ${pkgdir}/etc/rc.d/misdncapid
+ # fix udev rule
+ mkdir -p ${pkgdir}/lib/udev/rules.d
+ mv ${pkgdir}/etc/udev/rules.d/45-misdn.rules ${pkgdir}/lib/udev/rules.d
+ rm -r ${pkgdir}/etc/udev/
+}
+md5sums=('1c8825afde76e290727240077bbd37ea'
+ '1e6068daa3a5bf70eb2cf62a2de53f81')
Property changes on: misdnuser/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
Added: misdnuser/trunk/misdncapid.rc
===================================================================
--- misdnuser/trunk/misdncapid.rc (rev 0)
+++ misdnuser/trunk/misdncapid.rc 2012-03-30 08:04:17 UTC (rev 154550)
@@ -0,0 +1,45 @@
+#!/bin/bash
+
+# general config
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+PID="$(pidof -o %PPID /usr/sbin/mISDNcapid)"
+case "$1" in
+ start)
+ stat_busy "Starting misdncapid"
+ if [ ! -x /var/run/mISDNcapid ] ; then
+ install -m755 /var/run/mISDNcapid
+ fi
+
+ [ -z "$PID" ] && /usr/sbin/mISDNcapid >/dev/null 2>&1
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ PID=$(pidof -o %PPID /usr/sbin/mISDNcapid)
+ echo $PID > /var/run/misdncapid.pid
+ add_daemon misdncapid
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping misdncapid"
+ [ -f /var/run/misdncapid.pid ] && kill `cat /var/run/misdncapid.pid` >/dev/null 2>&1
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm -f /var/run/misdncapid.pid
+ rm_daemon misdncapid
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+ ;;
+esac
+exit 0
Property changes on: misdnuser/trunk/misdncapid.rc
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
Added: misdnuser/trunk/misdnuser-2.0.11-1-i686.pkg.tar.xz
===================================================================
--- misdnuser/trunk/misdnuser-2.0.11-1-i686.pkg.tar.xz (rev 0)
+++ misdnuser/trunk/misdnuser-2.0.11-1-i686.pkg.tar.xz 2012-03-30 08:04:17 UTC (rev 154550)
@@ -0,0 +1 @@
+link /home/tobias/Arch/upload//misdnuser-2.0.11-1-i686.pkg.tar.xz
\ No newline at end of file
Property changes on: misdnuser/trunk/misdnuser-2.0.11-1-i686.pkg.tar.xz
___________________________________________________________________
Added: svn:special
## -0,0 +1 ##
+*
Added: misdnuser/trunk/misdnuser-2.0.11-1-i686.pkg.tar.xz.sig
===================================================================
--- misdnuser/trunk/misdnuser-2.0.11-1-i686.pkg.tar.xz.sig (rev 0)
+++ misdnuser/trunk/misdnuser-2.0.11-1-i686.pkg.tar.xz.sig 2012-03-30 08:04:17 UTC (rev 154550)
@@ -0,0 +1 @@
+link /home/tobias/Arch/upload//misdnuser-2.0.11-1-i686.pkg.tar.xz.sig
\ No newline at end of file
Property changes on: misdnuser/trunk/misdnuser-2.0.11-1-i686.pkg.tar.xz.sig
___________________________________________________________________
Added: svn:special
## -0,0 +1 ##
+*
Added: misdnuser/trunk/misdnuser-2.0.11-1-x86_64.pkg.tar.xz
===================================================================
--- misdnuser/trunk/misdnuser-2.0.11-1-x86_64.pkg.tar.xz (rev 0)
+++ misdnuser/trunk/misdnuser-2.0.11-1-x86_64.pkg.tar.xz 2012-03-30 08:04:17 UTC (rev 154550)
@@ -0,0 +1 @@
+link /home/tobias/Arch/upload//misdnuser-2.0.11-1-x86_64.pkg.tar.xz
\ No newline at end of file
Property changes on: misdnuser/trunk/misdnuser-2.0.11-1-x86_64.pkg.tar.xz
___________________________________________________________________
Added: svn:special
## -0,0 +1 ##
+*
Added: misdnuser/trunk/misdnuser-2.0.11-1-x86_64.pkg.tar.xz.sig
===================================================================
--- misdnuser/trunk/misdnuser-2.0.11-1-x86_64.pkg.tar.xz.sig (rev 0)
+++ misdnuser/trunk/misdnuser-2.0.11-1-x86_64.pkg.tar.xz.sig 2012-03-30 08:04:17 UTC (rev 154550)
@@ -0,0 +1 @@
+link /home/tobias/Arch/upload//misdnuser-2.0.11-1-x86_64.pkg.tar.xz.sig
\ No newline at end of file
Property changes on: misdnuser/trunk/misdnuser-2.0.11-1-x86_64.pkg.tar.xz.sig
___________________________________________________________________
Added: svn:special
## -0,0 +1 ##
+*
Added: misdnuser/trunk/misdnuser-2.0.11.tar.gz
===================================================================
(Binary files differ)
Index: misdnuser/trunk/misdnuser-2.0.11.tar.gz
===================================================================
--- misdnuser/trunk/misdnuser-2.0.11.tar.gz 2012-03-30 08:01:29 UTC (rev 154549)
+++ misdnuser/trunk/misdnuser-2.0.11.tar.gz 2012-03-30 08:04:17 UTC (rev 154550)
Property changes on: misdnuser/trunk/misdnuser-2.0.11.tar.gz
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/x-gzip
More information about the arch-commits
mailing list