[arch-commits] Commit in pyicqt/trunk (PKGBUILD pyicq.rc)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 13 14:35:15 UTC 2013


    Date: Monday, May 13, 2013 @ 16:35:15
  Author: spupykin
Revision: 90710

upgpkg: pyicqt 0.8.1.5-7

upd

Modified:
  pyicqt/trunk/PKGBUILD
Deleted:
  pyicqt/trunk/pyicq.rc

----------+
 PKGBUILD |    5 +----
 pyicq.rc |   53 -----------------------------------------------------
 2 files changed, 1 insertion(+), 57 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-13 14:35:10 UTC (rev 90709)
+++ PKGBUILD	2013-05-13 14:35:15 UTC (rev 90710)
@@ -4,7 +4,7 @@
 
 pkgname=pyicqt
 pkgver=0.8.1.5
-pkgrel=6
+pkgrel=7
 pkgdesc="jabber icq transport"
 arch=(any)
 url="http://code.google.com/p/pyicqt/"
@@ -12,12 +12,10 @@
 backup=(etc/ejabberd/pyicq.xml)
 depends=('python2' 'twisted')
 source=(http://pyicqt.googlecode.com/files/pyicqt-$pkgver.tar.gz
-	pyicq.rc
 	config.xml
 	pyicqt.service
 	pyicqt.tmpfiles)
 md5sums=('d1c544f82ed416bbe987a5e419820fa8'
-         'f5a7a999253286c0cd2bc6552ee885cd'
          '150501a11601763ce4ef12eb5649ef2a'
          'c3cc068a208b176bf088df9dda9650ac'
          '7a9bec0597576753f87093759cf2a7d8')
@@ -38,7 +36,6 @@
   install -D -m0644 ./config.xml $pkgdir/etc/ejabberd/pyicq.xml
   mv $pkgdir/usr/lib/$pkgname/config_example.xml $pkgdir/etc/ejabberd/pyicq_example.xml
   ln -s ../../../etc/ejabberd/pyicq.xml $pkgdir/usr/lib/$pkgname/config.xml
-  install -D -m0755 pyicq.rc $pkgdir/etc/rc.d/pyicqt
 
   install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
   install -Dm0644 $srcdir/$pkgname.tmpfiles $pkgdir/usr/lib/tmpfiles.d/$pkgname.conf

Deleted: pyicq.rc
===================================================================
--- pyicq.rc	2013-05-13 14:35:10 UTC (rev 90709)
+++ pyicq.rc	2013-05-13 14:35:15 UTC (rev 90710)
@@ -1,53 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-get_pid() {
-	[ -f /var/run/pyicqt.pid ] && echo `cat /var/run/pyicqt.pid`
-}
-
-case "$1" in
-  start)
-    stat_busy "Starting jabber ICQ transport daemon"
-
-    [ -f /var/run/pyicqt.pid ] && rm -f /var/run/pyicqt.pid
-    PID=`get_pid`
-    if [ -z "$PID" ]; then
-      cd /usr/lib/pyicqt && exec python2 ./PyICQt.py 1>/dev/null 2>/dev/null &
-      if [ $? -gt 0 ]; then
-        stat_fail
-        exit 1
-      else
-        add_daemon pyicqt
-        stat_done
-      fi
-    else
-      stat_fail
-      exit 1
-    fi
-    ;;
-
-  stop)
-    stat_busy "Stopping jabber ICQ transport daemon"
-    PID=`get_pid`
-    [ ! -z "$PID" ] && kill $PID &> /dev/null
-    if [ $? -gt 0 ]; then
-      stat_fail
-      exit 1
-    else
-      rm -f /var/run/pyicqt.pid &> /dev/null
-      rm_daemon pyicqt
-      stat_done
-    fi
-    ;;
-
-  restart)
-    $0 stop
-    sleep 3
-    $0 start
-    ;;
-  *)
-    echo "usage: $0 {start|stop|restart}"  
-esac
-exit 0




More information about the arch-commits mailing list