[arch-commits] Commit in ajaxterm/repos/community-any (5 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 13 14:17:26 UTC 2013


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

archrelease: copy trunk to community-any

Added:
  ajaxterm/repos/community-any/PKGBUILD
    (from rev 90642, ajaxterm/trunk/PKGBUILD)
  ajaxterm/repos/community-any/ajaxterm.service
    (from rev 90642, ajaxterm/trunk/ajaxterm.service)
Deleted:
  ajaxterm/repos/community-any/PKGBUILD
  ajaxterm/repos/community-any/ajaxterm.rc
  ajaxterm/repos/community-any/ajaxterm.service

------------------+
 PKGBUILD         |  101 ++++++++++++++++++++++++++---------------------------
 ajaxterm.rc      |   40 --------------------
 ajaxterm.service |   22 +++++------
 3 files changed, 62 insertions(+), 101 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-13 14:17:13 UTC (rev 90642)
+++ PKGBUILD	2013-05-13 14:17:25 UTC (rev 90643)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Eric Le Bras <eric.lebras at gmail.com>
-
-pkgname=ajaxterm
-pkgver=0.11
-pkgrel=6
-pkgdesc="A web based terminal"
-arch=('any')
-license=('GPL')
-url="http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm"
-depends=('python2')
-replaces=('ajaxterm-utf8-svn')
-backup=('etc/ajaxterm.conf')
-#_commit="HEAD"
-_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() {
-   cd $srcdir/ajaxterm || cd $srcdir/ajaxterm-${_commit:0:7}
-
-   cat debian/patches/series | while read A; do [ -z $A ] || patch -p1 <debian/patches/$A; done
-
-   # python2 fix
-   for file in configure ajaxterm.py qweb.py; do
-      sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
-   done
-
-   ./configure --prefix=/usr
-
-   install -d $pkgdir/etc/rc.d
-   install -d $pkgdir/usr/bin
-   install -d $pkgdir/usr/share/man/man1
-   install -d $pkgdir/usr/share/ajaxterm
-
-   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
-   install -Dm0644 $srcdir/ajaxterm.service $pkgdir/usr/lib/systemd/system/ajaxterm.service
-}

Copied: ajaxterm/repos/community-any/PKGBUILD (from rev 90642, ajaxterm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-05-13 14:17:25 UTC (rev 90643)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Eric Le Bras <eric.lebras at gmail.com>
+
+pkgname=ajaxterm
+pkgver=0.11
+pkgrel=8
+pkgdesc="A web based terminal"
+arch=('any')
+license=('GPL')
+url="http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm"
+depends=('python2')
+replaces=('ajaxterm-utf8-svn')
+backup=('etc/ajaxterm.conf')
+#_commit="HEAD"
+_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.service)
+md5sums=('0d5c9896f4af8f82610c00cc303e0d62'
+         '5e5aa6598aad99193738441556e06864')
+
+build() {
+   cd $srcdir/ajaxterm || cd $srcdir/ajaxterm-${_commit:0:7}
+
+   cat debian/patches/series | while read A; do [ -z $A ] || patch -p1 <debian/patches/$A; done
+
+   # python2 fix
+   for file in configure ajaxterm.py qweb.py; do
+      sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
+   done
+
+   ./configure --prefix=/usr
+}
+
+package() {
+   cd $srcdir/ajaxterm || cd $srcdir/ajaxterm-${_commit:0:7}
+
+   install -d $pkgdir/etc/rc.d
+   install -d $pkgdir/usr/bin
+   install -d $pkgdir/usr/share/man/man1
+   install -d $pkgdir/usr/share/ajaxterm
+
+   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 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
+   install -Dm0644 $srcdir/ajaxterm.service $pkgdir/usr/lib/systemd/system/ajaxterm.service
+}

Deleted: ajaxterm.rc
===================================================================
--- ajaxterm.rc	2013-05-13 14:17:13 UTC (rev 90642)
+++ ajaxterm.rc	2013-05-13 14:17:25 UTC (rev 90643)
@@ -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

Deleted: ajaxterm.service
===================================================================
--- ajaxterm.service	2013-05-13 14:17:13 UTC (rev 90642)
+++ ajaxterm.service	2013-05-13 14:17:25 UTC (rev 90643)
@@ -1,11 +0,0 @@
-[Unit]
-Description=AJAX terminal
-After=network.target remote-fs.target nss-lookup.target
-
-[Service]
-Type=forking
-PIDFile=/var/run/ajaxterm.pid
-ExecStart=/usr/bin/ajaxterm -p 8022 -d
-
-[Install]
-WantedBy=multi-user.target

Copied: ajaxterm/repos/community-any/ajaxterm.service (from rev 90642, ajaxterm/trunk/ajaxterm.service)
===================================================================
--- ajaxterm.service	                        (rev 0)
+++ ajaxterm.service	2013-05-13 14:17:25 UTC (rev 90643)
@@ -0,0 +1,11 @@
+[Unit]
+Description=AJAX terminal
+After=network.target remote-fs.target nss-lookup.target
+
+[Service]
+Type=forking
+PIDFile=/var/run/ajaxterm.pid
+ExecStart=/usr/bin/ajaxterm -p 8022 -d
+
+[Install]
+WantedBy=multi-user.target




More information about the arch-commits mailing list