From 57ac7731f0df42297d37767c0e245515c203078e Mon Sep 17 00:00:00 2001 From: aredridel Date: Sat, 16 Jul 2005 05:36:31 +0000 Subject: [PATCH] - added - NFY: login hangs from anygetty Changed files: anyterm.spec -> 1.1 --- anyterm.spec | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 anyterm.spec diff --git a/anyterm.spec b/anyterm.spec new file mode 100644 index 0000000..050d946 --- /dev/null +++ b/anyterm.spec @@ -0,0 +1,70 @@ +# +%define apxs /usr/sbin/apxs +Summary: Terminal emulator in a web browser +Name: anyterm +Version: 1.1.4 +Release: 1 +Epoch: 1 +License: GPL +Group: Networking/Daemons +Source0: http://anyterm.org/download/%{name}-%{version}.tbz2 +# Source0-md5: cf841703b7438866e573f5a33137ff6f +Patch0: %{name}-makefile.patch +URL: http://anyterm.org/ +BuildRequires: apache-devel >= 2.0.52-2 +BuildRequires: apr-devel +BuildRequires: rote-devel >= 0.2.8 +BuildRequires: %{apxs} +Requires: apache >= 2.0.52-2 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _httpdir /home/services/httpd +%define _pkglibdir %(%{apxs} -q LIBEXECDIR) +%define _sysconfdir /etc/httpd + +%description +An apache module plus scripts to make a terminal within a web browser. + +%prep +%setup -q +%patch0 -p1 + +%build +rm -rf $RPM_BUILD_ROOT +cd apachemod +%{__make} \ + INCLUDES='-I/usr/include/apr-util' \ + APXS2=apxs \ + APR_CONFIG=apr-1-config +cd .. +cd anygetty +%{__make} +cd .. + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir}/httpd.conf,%{_pkglibdir},%{_mandir}/man8,%{_httpdir}} + +cat > $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/70_anyterm.conf <