[arch-commits] Commit in mediaproxy/trunk (PKGBUILD mediaproxy.init)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon May 13 14:28:18 UTC 2013
Date: Monday, May 13, 2013 @ 16:28:18
Author: spupykin
Revision: 90684
upgpkg: mediaproxy 2.5.2-5
upd
Modified:
mediaproxy/trunk/PKGBUILD
Deleted:
mediaproxy/trunk/mediaproxy.init
-----------------+
PKGBUILD | 5 +----
mediaproxy.init | 32 --------------------------------
2 files changed, 1 insertion(+), 36 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-13 14:28:13 UTC (rev 90683)
+++ PKGBUILD 2013-05-13 14:28:18 UTC (rev 90684)
@@ -4,7 +4,7 @@
pkgname=mediaproxy
pkgver=2.5.2
-pkgrel=4
+pkgrel=5
pkgdesc="Open-source media proxy for OpenSER"
url="http://mediaproxy.ag-projects.com/"
arch=('i686' 'x86_64')
@@ -13,12 +13,10 @@
'python2-application' 'python2-cjson' 'python2-gnutls')
#backup=('opt/mediaproxy/config.ini')
source=("http://download.ag-projects.com/MediaProxy/mediaproxy-$pkgver.tar.gz"
- "mediaproxy.init"
"mediaproxy-dispatcher.service"
"mediaproxy-relay.service"
"mediaproxy.tmpfiles")
md5sums=('840de8f52e656991be728c15ec30bb5e'
- '66f4417f40dda0dfa31569ee4ccc32c7'
'4a1fa0b6ce0a8bd44bf0f1d9d36a6154'
'23c1a584835de00a958ef963cdd40040'
'60a25f2cb6429a0a7d62d45d0c75a0ea')
@@ -33,7 +31,6 @@
python2 setup.py install --root=$pkgdir
- install -D -m0755 $srcdir/mediaproxy.init $pkgdir/etc/rc.d/mediaproxy
install -Dm0644 $srcdir/$pkgname-dispatcher.service $pkgdir/usr/lib/systemd/system/$pkgname-dispatcher.service
install -Dm0644 $srcdir/$pkgname-relay.service $pkgdir/usr/lib/systemd/system/$pkgname-relay.service
install -Dm0644 $srcdir/$pkgname.tmpfiles $pkgdir/usr/lib/tmpfiles.d/$pkgname.conf
Deleted: mediaproxy.init
===================================================================
--- mediaproxy.init 2013-05-13 14:28:13 UTC (rev 90683)
+++ mediaproxy.init 2013-05-13 14:28:18 UTC (rev 90684)
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-# mediaproxy starts and stops the SER MediaProxy server
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy "Starting mediaproxy"
- media-dispatcher && media-relay
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping mediaproxy"
- kill `cat /var/run/mediaproxy/relay.pid`
- kill `cat /var/run/mediaproxy/dispatcher.pid`
- stat_done
- ;;
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
- ;;
-esac
More information about the arch-commits
mailing list