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

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 13 10:17:14 EDT 2013


    Date: Monday, May 13, 2013 @ 16:17:13
  Author: spupykin
Revision: 90642

upgpkg: ajaxterm 0.11-8

upd

Modified:
  ajaxterm/trunk/PKGBUILD
Deleted:
  ajaxterm/trunk/ajaxterm.rc

-------------+
 PKGBUILD    |    5 +----
 ajaxterm.rc |   40 ----------------------------------------
 2 files changed, 1 insertion(+), 44 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-13 13:18:31 UTC (rev 90641)
+++ PKGBUILD	2013-05-13 14:17:13 UTC (rev 90642)
@@ -4,7 +4,7 @@
 
 pkgname=ajaxterm
 pkgver=0.11
-pkgrel=6
+pkgrel=8
 pkgdesc="A web based terminal"
 arch=('any')
 license=('GPL')
@@ -16,10 +16,8 @@
 _commit="2eaa3e989782d8259a12c8cb7d6204433ae19264"
 #source=("ajaxterm-$pkgver-${_commit}.tar.gz::http://git.kirya.net/?p=ajaxterm.git;a=snapshot;h=${_commit};sf=tgz"
 source=("ftp://ftp.archlinux.org/other/community/ajaxterm/ajaxterm-$pkgver-${_commit}.tar.gz"
-	ajaxterm.rc
 	ajaxterm.service)
 md5sums=('0d5c9896f4af8f82610c00cc303e0d62'
-         'a9c5ae6bb4bacf26ca2b728559311be5'
          '5e5aa6598aad99193738441556e06864')
 
 build() {
@@ -46,7 +44,6 @@
    install -m 0755 ajaxterm.bin $pkgdir/usr/bin/ajaxterm
    install -m 0644 ajaxterm.conf $pkgdir/etc/ajaxterm.conf
    ln -s -f /etc/ajaxterm.conf $pkgdir/usr/share/ajaxterm/ajaxterm_config.js
-   install -m 0755 $srcdir/ajaxterm.rc $pkgdir/etc/rc.d/ajaxterm
    install -m 0644 ajaxterm.css ajaxterm.html qweb.py *.js $pkgdir/usr/share/ajaxterm
    install -m 0755 ajaxterm.py $pkgdir/usr/share/ajaxterm
    install -m 0644 ajaxterm.1 $pkgdir/usr/share/man/man1

Deleted: ajaxterm.rc
===================================================================
--- ajaxterm.rc	2013-05-13 13:18:31 UTC (rev 90641)
+++ ajaxterm.rc	2013-05-13 14:17:13 UTC (rev 90642)
@@ -1,40 +0,0 @@
-#!/bin/bash
-
-# general config
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PORT=8022
-
-case "$1" in
-    start)
-        stat_busy "Starting ajaxterm on port $PORT"
-        /usr/bin/ajaxterm -p $PORT -d >/dev/null 2>/dev/null
-        if [ $? -gt 0 ]; then
-            stat_fail
-        else
-            add_daemon ajaxterm
-            stat_done
-        fi
-        ;;
-    stop)
-        stat_busy "Stopping ajaxterm"
-	[ -f /var/run/ajaxterm.pid ] && kill `cat /var/run/ajaxterm.pid`
-        if [ $? -gt 0 ]; then
-            stat_fail
-        else
-	    rm -f /var/run/ajaxterm.pid
-            rm_daemon ajaxterm
-            stat_done
-        fi
-        ;;
-    restart)
-        $0 stop
-	sleep 1
-        $0 start
-        ;;
-    *)
-        echo "usage: $0 {start|stop|restart}"
-	;;
-esac
-exit 0



More information about the arch-commits mailing list