Compare commits

...
This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

10 commits

Author SHA1 Message Date
Bill Nottingham
67e6949ec1 Retire Ajaxterm. 2011-07-25 17:15:25 -04:00
Dennis Gilmore
e96f1aa768 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-07 16:58:20 -06:00
Ruben
2d7ec9a185 - %ghost files in /var/run and /var/lock (#656543) 2010-11-24 16:53:44 +01:00
Ruben
03e70d2d3d Remove obsolete patch 2010-10-17 19:20:04 +02:00
Ruben
f1477239c3 - Apply patches from Debian (fixes #635238, #544033, enables UTF-8)
- Cleanup init script
- Add a sysconfig file
- Relocate pidfile to /var/run/ajaxterm/ajaxterm.pid
- Add a README.Fedora
- Add an example config for Apache
2010-10-17 19:11:01 +02:00
David Malcolm
36dfafebf3 recompiling .py files against Python 2.7 (rhbz#623267) 2010-08-11 17:08:22 -04:00
ruben
7d68266eb8 * Wed Aug 11 2010 Ruben Kerkhof <ruben@rubenkerkhof.com> 0.10-10
- Rebuild for python 2.7
2010-08-11 21:44:07 +02:00
Fedora Release Engineering
7a5b087db7 dist-git conversion 2010-07-28 08:45:57 +00:00
Bill Nottingham
b8100782cc Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 22:38:53 +00:00
Jesse Keating
23dc513882 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-24 14:59:29 +00:00
6 changed files with 1 additions and 191 deletions

View file

View file

@ -1,56 +0,0 @@
diff -up Ajaxterm-0.10/configure.initd.redhat.orig Ajaxterm-0.10/configure.initd.redhat
--- 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
# ajaxterm Startup script for ajaxterm
#
# chkconfig: - 99 99
-# description: Ajaxterm is a yadda yadda yadda
+# description: Ajaxterm is a web-based terminal
# processname: ajaxterm
# pidfile: /var/run/ajaxterm.pid
# version: 1.0 Kevin Reichhart - ajaxterminit at lastname dot org
@@ -14,18 +14,18 @@ if [ -f /etc/sysconfig/ajaxterm ]; then
. /etc/sysconfig/ajaxterm
fi
-ajaxterm=/usr/local/bin/ajaxterm
+ajaxterm=/usr/bin/ajaxterm
prog=ajaxterm
-pidfile=${PIDFILE-/var/run/ajaxterm.pid}
-lockfile=${LOCKFILE-/var/lock/subsys/ajaxterm}
+pidfile=/var/run/ajaxterm.pid
+lockfile=/var/lock/subsys/ajaxterm
port=${PORT-8022}
-user=${xUSER-nobody}
+user=${USER-ajaxterm}
RETVAL=0
start() {
echo -n $"Starting $prog: "
- daemon $ajaxterm --daemon --port=$port --uid=$user $OPTIONS
+ LANG=C daemon $ajaxterm --daemon --port=$port --uid=$user $OPTIONS
RETVAL=$?
echo
[ $RETVAL = 0 ] && touch ${lockfile}
@@ -54,7 +54,7 @@ case "$1" in
stop
;;
status)
- status python ajaxterm
+ status $prog
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

View file

@ -1,113 +0,0 @@
Name: Ajaxterm
Version: 0.10
Release: 8%{?dist}
Summary: A web-based terminal
Group: Development/Languages
License: Public Domain and LGPLv2+
URL: http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm
Source0: http://antony.lesuisse.org/qweb/files/%{name}-%{version}.tar.gz
Patch0: Ajaxterm-init.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python
Requires(pre): shadow-utils
Requires(post): chkconfig
Requires(preun): chkconfig, initscripts
Requires(postun): initscripts
%description
Ajaxterm is a web based terminal. It was totally inspired and works almost
exactly like http://anyterm.org/ except it's much easier to install.
%prep
%setup -q
%patch0 -p1 -b .orig
sed -i 's|\r||' README.txt # fix eol encoding
sed -i 's|bin/python2.3|bin/python|' qweb.py
%build
./configure --prefix=%{buildroot}%{_prefix} --confdir=%{buildroot}%{_sysconfdir}
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_sysconfdir}/init.d
mkdir -p %{buildroot}/%{_initrddir}
make install
mv %{buildroot}%{_sysconfdir}/init.d/ajaxterm %{buildroot}%{_initrddir}/ajaxterm
rmdir %{buildroot}/%{_sysconfdir}/init.d
chmod 0755 %{buildroot}%{_datadir}/ajaxterm/qweb.py
chmod 0644 %{buildroot}%{_mandir}/man1/ajaxterm.1.gz
cat <<EOF >%{buildroot}%{_bindir}/ajaxterm
#!/bin/sh
PYTHONPATH=/usr/share/ajaxterm exec /usr/share/ajaxterm/ajaxterm.py \$@
EOF
%clean
rm -rf %{buildroot}
%pre
getent group ajaxterm >/dev/null || groupadd -r ajaxterm
getent passwd ajaxterm >/dev/null || \
useradd -r -g ajaxterm -d %{_datadir}/ajaxterm -s /sbin/nologin \
-c "Ajaxterm user" ajaxterm
exit 0
%post
/sbin/chkconfig --add ajaxterm
%preun
if [ $1 = 0 ]; then
/sbin/service ajaxterm stop >/dev/null 2>&1 || :
/sbin/chkconfig --del ajaxterm
fi
%postun
if [ $1 -ge 1 ] ; then
/sbin/service ajaxterm condrestart > /dev/null 2>&1 || :
fi
%files
%defattr(-,root,root,-)
%doc README.txt
%{_initrddir}/ajaxterm
%{_bindir}/ajaxterm
%{_datadir}/ajaxterm
%{_mandir}/man1/ajaxterm.1.gz
%changelog
* Mon Apr 06 2009 Ruben Kerkhof <ruben@rubenkerkhof.com> 0.10-8
- Fix ajaxterm homedir
- Add status command to init script
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.10-6
- Rebuild for Python 2.6
* Sat Nov 22 2008 Ruben Kerkhof <ruben@rubenkerkhof.com> 0.10-5
- set LANG=C in initscript, Ajaxterm doesn't support UTF-8
- One last spec cleanup
* Sun Nov 09 2008 Ruben Kerkhof <ruben@rubenkerkhof.com> 0.10-4
- More review fixes (#470508)
* Sun Nov 09 2008 Ruben Kerkhof <ruben@rubenkerkhof.com> 0.10-3
- More review fixes (#470508)
* Sun Nov 09 2008 Ruben Kerkhof <ruben@rubenkerkhof.com> 0.10-2
- Review fixes (#470508)
* Fri Nov 07 2008 Ruben Kerkhof <ruben@rubenkerkhof.com> 0.10-1
- Initial import

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: Ajaxterm
# $Id$
NAME := Ajaxterm
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

1
dead.package Normal file
View file

@ -0,0 +1 @@
This package was retired on 2011-07-25 due to it being unable to build this package for multiple releases (FTBFS).

View file

@ -1 +0,0 @@
b10830a7a81d2a4c9f8815510dafb87a Ajaxterm-0.10.tar.gz