vmnotify package created

2.1
Jon Bonilla 15 years ago
parent 8ea51f87a3
commit 3062d48833

5
debian/changelog vendored

@ -0,0 +1,5 @@
sipwise-vmnotify (0.1.0) unstable; urgency=low
* Initial release.
-- Jon Bonilla <jbonilla@sipwise.com> Fri, 16 Apr 2010 12:03:01 +0200

1
debian/compat vendored

@ -0,0 +1 @@
5

13
debian/control vendored

@ -0,0 +1,13 @@
Source: sipwise-vmnotify
Section: utils
Priority: extra
Maintainer: Jon Bonilla <jbonilla@sipwise.com>
Build-Depends: debhelper (>= 5)
Standards-Version: 3.8.4
Homepage: http://sipwise.com/
Package: sipwise-vmnotify
Architecture: all
Depends: ${shlibs:Depends}, ${misc:Depends}, sipsak, bash, uuid-runtime
Description: mwi generator
Generates mwi notifications for the ngcp voicemail system.

7
debian/copyright vendored

@ -0,0 +1,7 @@
Upstream Author: The Sipwise Team - http://sipwise.com/
Copyright: Copyright (c) 2007-2010 Sipwise GmbH, Austria
License: All software included in this package is
Copyright (c) Sipwise GmbH, Austria.
All rights reserved. You may not copy, distribute
or modify without prior written permission from
Sipwise GmbH, Austria.

58
debian/rules vendored

@ -0,0 +1,58 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
build: build-stamp
build-stamp:
dh_testdir
#cd docs && make && cd ..
touch $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp
#cd docs && make clean && cd ..
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs usr/bin etc/sipwise-vmnotify
install -m 755 vmnotify debian/sipwise-vmnotify/usr/bin/vmnotify
install -m 644 vmnotify.conf debian/sipwise-vmnotify/etc/sipwise-vmnotify/vmnotify.conf
install -m 644 mwi.sip debian/sipwise-vmnotify/etc/sipwise-vmnotify/mwi.sip
# Build architecture-dependent files here.
binary-arch: build install
# We have nothing to do by default.
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_installexamples
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install

@ -1 +0,0 @@
SERVER="172.22.35.134:5060"

@ -10,16 +10,8 @@
#
########################################################################
FILE_DEBUG="1"
CONSOLE_DEBUG="1"
LOGFILE="/tmp/vmnotify.log"
VERBOSE=""
BASE=$(dirname $0)
SIPSAK="/usr/bin/sipsak"
UUIDGEN="/usr/bin/uuidgen"
SIPFILE="$BASE/../etc/mwi.sip"
CONFFILE="$BASE/../etc/vmnotify.conf"
CONFFILE="/etc/sipwise-vmnotify/vmnotify.conf"
function debug
@ -43,11 +35,13 @@ function error
exit 1
}
test -f $CONFFILE || error "Config file not found"
. $CONFFILE
test -f $SIPSAK || error "sipsak command not found"
test -f $UUIDGEN || error "uuidgen command not found"
. $CONFFILE
debug "Arguments: $@"

@ -0,0 +1,10 @@
SERVER="127.0.0.1:5060"
FILE_DEBUG="0"
CONSOLE_DEBUG="0"
LOGFILE="/tmp/vmnotify.log"
VERBOSE=""
SIPSAK=`which sipsak`
UUIDGEN=`which uuidgen`
SIPFILE="/etc/sipwise-vmnotify/mwi.sip"
Loading…
Cancel
Save