[arch-commits] Commit in yahoo-t/repos/community-any (6 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Fri Jan 25 21:40:41 UTC 2013
Date: Friday, January 25, 2013 @ 22:40:40
Author: spupykin
Revision: 82931
archrelease: copy trunk to community-any
Added:
yahoo-t/repos/community-any/PKGBUILD
(from rev 82930, yahoo-t/trunk/PKGBUILD)
yahoo-t/repos/community-any/yahoo-t.service
(from rev 82930, yahoo-t/trunk/yahoo-t.service)
yahoo-t/repos/community-any/yahoo.rc
(from rev 82930, yahoo-t/trunk/yahoo.rc)
Deleted:
yahoo-t/repos/community-any/PKGBUILD
yahoo-t/repos/community-any/yahoo-t.service
yahoo-t/repos/community-any/yahoo.rc
-----------------+
PKGBUILD | 72 ++++++++++++++++++------------------
yahoo-t.service | 24 ++++++------
yahoo.rc | 106 +++++++++++++++++++++++++++---------------------------
3 files changed, 101 insertions(+), 101 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-01-25 21:40:29 UTC (rev 82930)
+++ PKGBUILD 2013-01-25 21:40:40 UTC (rev 82931)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=yahoo-t
-pkgver=0.4
-pkgrel=5
-pkgdesc="jabber yahoo transport"
-arch=('any')
-url="http://xmpppy.sourceforge.net/yahoo/"
-license=('GPL')
-depends=('python2' 'xmpppy')
-backup=(etc/ejabberd/yahoo.xml)
-source=(http://downloads.sourceforge.net/xmpppy/yahoo-transport-$pkgver.tar.gz
- yahoo.rc
- yahoo-t.service)
-md5sums=('ce928c4e444b83f10fca57f77e40b558'
- 'b44e5dc83e0689c998858bf5284ecc0b'
- '1297f79c6859f0742cf8a346292ebcfa')
-
-build()
-{
- cd $srcdir
- rm -rf yahoo-transport-$pkgver/curphoo/CVS
- install -D -m0644 ./yahoo-transport-$pkgver/config_example.xml $pkgdir/etc/ejabberd/yahoo.xml
-
- install -d -m0755 $pkgdir/usr/lib
- cp -r yahoo-transport-$pkgver $pkgdir/usr/lib
-
- mv $pkgdir/usr/lib/yahoo-transport-$pkgver $pkgdir/usr/lib/yahoo-t
- ln -s ../../../etc/ejabberd/yahoo.xml $pkgdir/usr/lib/yahoo-t/config.xml
- install -D -m0755 yahoo.rc $pkgdir/etc/rc.d/yahoo-t
- find $pkgdir -type f -name \*.py -exec sed -i 's#/usr/bin/env python#/usr/bin/env python2#' {} \;
-
- install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
-}
Copied: yahoo-t/repos/community-any/PKGBUILD (from rev 82930, yahoo-t/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-01-25 21:40:40 UTC (rev 82931)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=yahoo-t
+pkgver=0.4
+pkgrel=6
+pkgdesc="jabber yahoo transport"
+arch=('any')
+url="http://xmpppy.sourceforge.net/yahoo/"
+license=('GPL')
+depends=('python2' 'xmpppy')
+backup=(etc/ejabberd/yahoo.xml)
+source=(http://downloads.sourceforge.net/xmpppy/yahoo-transport-$pkgver.tar.gz
+ yahoo.rc
+ yahoo-t.service)
+md5sums=('ce928c4e444b83f10fca57f77e40b558'
+ 'b44e5dc83e0689c998858bf5284ecc0b'
+ 'e093f7f45c1bd755b6b0f13e83ec3276')
+
+build()
+{
+ cd $srcdir
+ rm -rf yahoo-transport-$pkgver/curphoo/CVS
+ install -D -m0644 ./yahoo-transport-$pkgver/config_example.xml $pkgdir/etc/ejabberd/yahoo.xml
+
+ install -d -m0755 $pkgdir/usr/lib
+ cp -r yahoo-transport-$pkgver $pkgdir/usr/lib
+
+ mv $pkgdir/usr/lib/yahoo-transport-$pkgver $pkgdir/usr/lib/yahoo-t
+ ln -s ../../../etc/ejabberd/yahoo.xml $pkgdir/usr/lib/yahoo-t/config.xml
+ install -D -m0755 yahoo.rc $pkgdir/etc/rc.d/yahoo-t
+ find $pkgdir -type f -name \*.py -exec sed -i 's#/usr/bin/env python#/usr/bin/env python2#' {} \;
+
+ install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
+}
Deleted: yahoo-t.service
===================================================================
--- yahoo-t.service 2013-01-25 21:40:29 UTC (rev 82930)
+++ yahoo-t.service 2013-01-25 21:40:40 UTC (rev 82931)
@@ -1,12 +0,0 @@
-[Unit]
-Description=Yahoo jabber service
-After=network.target remote-fs.target nss-lookup.target
-
-[Service]
-Type=simple
-PIDFile=/var/run/yahoot.pid
-ExecStart=python2 yahoo.py
-WorkingDirectory=/usr/lib/yahoo-t
-
-[Install]
-WantedBy=multi-user.target
Copied: yahoo-t/repos/community-any/yahoo-t.service (from rev 82930, yahoo-t/trunk/yahoo-t.service)
===================================================================
--- yahoo-t.service (rev 0)
+++ yahoo-t.service 2013-01-25 21:40:40 UTC (rev 82931)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Yahoo jabber service
+After=network.target remote-fs.target nss-lookup.target
+
+[Service]
+Type=simple
+PIDFile=/var/run/yahoot.pid
+ExecStart=/usr/bin/python2 yahoo.py
+WorkingDirectory=/usr/lib/yahoo-t
+
+[Install]
+WantedBy=multi-user.target
Deleted: yahoo.rc
===================================================================
--- yahoo.rc 2013-01-25 21:40:29 UTC (rev 82930)
+++ yahoo.rc 2013-01-25 21:40:40 UTC (rev 82931)
@@ -1,53 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-get_pid() {
- echo `ps fax|egrep "python2 ./yahoo.py" | grep -v grep | awk -- "{print \\\$1}"`
-}
-
-case "$1" in
- start)
- stat_busy "Starting jabber Yahoo! transport daemon"
-
- [ -f /var/run/yahoot.pid ] && rm -f /var/run/yahoot.pid
- PID=`get_pid`
- if [ -z "$PID" ]; then
- cd /usr/lib/yahoo-t && exec python2 ./yahoo.py >>/var/log/ejabberd/yahoo1.log 2>>/var/log/ejabberd/yahoo2.log &
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- else
- add_daemon yahoo-t
- stat_done
- fi
- else
- stat_fail
- exit 1
- fi
- ;;
-
- stop)
- stat_busy "Stopping jabber Yahoo! transport daemon"
- PID=`get_pid`
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- else
- rm -f /var/run/yahoot.pid &> /dev/null
- rm_daemon yahoo-t
- stat_done
- fi
- ;;
-
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
Copied: yahoo-t/repos/community-any/yahoo.rc (from rev 82930, yahoo-t/trunk/yahoo.rc)
===================================================================
--- yahoo.rc (rev 0)
+++ yahoo.rc 2013-01-25 21:40:40 UTC (rev 82931)
@@ -0,0 +1,53 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+get_pid() {
+ echo `ps fax|egrep "python2 ./yahoo.py" | grep -v grep | awk -- "{print \\\$1}"`
+}
+
+case "$1" in
+ start)
+ stat_busy "Starting jabber Yahoo! transport daemon"
+
+ [ -f /var/run/yahoot.pid ] && rm -f /var/run/yahoot.pid
+ PID=`get_pid`
+ if [ -z "$PID" ]; then
+ cd /usr/lib/yahoo-t && exec python2 ./yahoo.py >>/var/log/ejabberd/yahoo1.log 2>>/var/log/ejabberd/yahoo2.log &
+ if [ $? -gt 0 ]; then
+ stat_fail
+ exit 1
+ else
+ add_daemon yahoo-t
+ stat_done
+ fi
+ else
+ stat_fail
+ exit 1
+ fi
+ ;;
+
+ stop)
+ stat_busy "Stopping jabber Yahoo! transport daemon"
+ PID=`get_pid`
+ [ ! -z "$PID" ] && kill $PID &> /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ exit 1
+ else
+ rm -f /var/run/yahoot.pid &> /dev/null
+ rm_daemon yahoo-t
+ 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