rpms/Ajaxterm/EL-4 Ajaxterm-init.patch, 1.1, 1.2 Ajaxterm.spec, 1.1, 1.2

Ruben Kerkhof ruben at fedoraproject.org
Tue Apr 7 16:20:32 UTC 2009


Author: ruben

Update of /cvs/pkgs/rpms/Ajaxterm/EL-4
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22604

Modified Files:
	Ajaxterm-init.patch Ajaxterm.spec 
Log Message:
* Tue Apr 07 2009 Ruben Kerkhof <ruben at rubenkerkhof.com> 0.10-8
- Fix ajaxterm homedir
- Add status command to init script


Ajaxterm-init.patch:

Index: Ajaxterm-init.patch
===================================================================
RCS file: /cvs/pkgs/rpms/Ajaxterm/EL-4/Ajaxterm-init.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Ajaxterm-init.patch	22 Nov 2008 15:29:19 -0000	1.1
+++ Ajaxterm-init.patch	7 Apr 2009 16:20:31 -0000	1.2
@@ -1,6 +1,6 @@
 diff -up Ajaxterm-0.10/configure.initd.redhat.orig Ajaxterm-0.10/configure.initd.redhat
---- Ajaxterm-0.10/configure.initd.redhat.orig	2008-11-22 13:45:35.000000000 +0100
-+++ Ajaxterm-0.10/configure.initd.redhat	2008-11-22 13:46:38.000000000 +0100
+--- Ajaxterm-0.10/configure.initd.redhat.orig	2006-10-29 03:52:39.000000000 +0100
++++ Ajaxterm-0.10/configure.initd.redhat	2009-04-06 14:51:15.000000000 +0200
 @@ -1,8 +1,8 @@
 -#
 +#!/bin/bash
@@ -45,3 +45,12 @@
          RETVAL=$?
          ;;
      restart)
+@@ -68,7 +68,7 @@ case "$1" in
+         fi
+         ;;
+     *)
+-    echo $"Usage: $prog {start|stop|restart|condrestart}"
++    echo $"Usage: $prog {start|stop|status|restart|condrestart}"
+     exit 1
+ esac
+ 


Index: Ajaxterm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/Ajaxterm/EL-4/Ajaxterm.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Ajaxterm.spec	22 Nov 2008 15:29:19 -0000	1.1
+++ Ajaxterm.spec	7 Apr 2009 16:20:31 -0000	1.2
@@ -1,6 +1,6 @@
 Name:           Ajaxterm
 Version:        0.10
-Release:        5%{?dist}
+Release:        8%{?dist}
 Summary:        A web-based terminal
 
 Group:          Development/Languages
@@ -55,7 +55,7 @@
 %pre
 getent group ajaxterm >/dev/null || groupadd -r ajaxterm
 getent passwd ajaxterm >/dev/null || \
-useradd -r -g ajaxterm -d ajaxterm -s /sbin/nologin \
+useradd -r -g ajaxterm -d %{_datadir}/ajaxterm -s /sbin/nologin \
 -c "Ajaxterm user" ajaxterm
 exit 0
 
@@ -85,6 +85,10 @@
 
 
 %changelog
+* Tue Apr 07 2009 Ruben Kerkhof <ruben at rubenkerkhof.com> 0.10-8
+- Fix ajaxterm homedir
+- Add status command to init script
+
 * Sat Nov 22 2008 Ruben Kerkhof <ruben at rubenkerkhof.com> 0.10-5
 - set LANG=C in initscript, Ajaxterm doesn't support UTF-8
 - One last spec cleanup




More information about the scm-commits mailing list