[prev in list] [next in list] [prev in thread] [next in thread]
List: openbsd-ports
Subject: UPDATE: www/ajaxterm
From: Tom Doherty <tomd () singlesecond ! com>
Date: 2012-05-31 13:56:04
Message-ID: 20120531135604.GB10733 () vps ! usecs ! co ! uk
[Download RAW message or body]
Hi
Here's an update to the www/ajaxterm port. This is not a new version but I
have added an rcscript and I have updated the message to use 127.0.0.1 when
configuring httpd so this now works as expected with a default install in the
chroot.
Cheers
Tom
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/ajaxterm/Makefile,v
retrieving revision 1.13
diff -N -u Makefile
--- Makefile 16 Sep 2011 12:00:05 -0000 1.13
+++ Makefile 31 May 2012 13:53:06 -0000
@@ -4,7 +4,7 @@
DISTNAME = Ajaxterm-0.10
PKGNAME = ajaxterm-0.10
-REVISION = 6
+REVISION = 7
CATEGORIES = net security www
PKG_ARCH = *
Index: pkg/MESSAGE
===================================================================
RCS file: /cvs/ports/www/ajaxterm/pkg/MESSAGE,v
retrieving revision 1.2
diff -N -u pkg/MESSAGE
--- pkg/MESSAGE 6 Apr 2009 15:30:13 -0000 1.2
+++ pkg/MESSAGE 31 May 2012 13:53:06 -0000
@@ -1,6 +1,4 @@
Some specific installation is needed:
-- run the ajaxterm proxy from /etc/rc, e.g.,
-ajaxterm -d -u _ajaxterm
- modify your http config to redirect to it, only from ssl modes.
@@ -11,5 +9,5 @@
section <VirtualHost _default_:443>
add something like:
- ProxyPass /ajaxterm/ http://localhost:8022/
- ProxyPassReverse /ajaxterm http://localhost:8022/
+ ProxyPass /ajaxterm/ http://127.0.0.1:8022/
+ ProxyPassReverse /ajaxterm http://127.0.0.1:8022/
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/ajaxterm/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -N -u pkg/PLIST
--- pkg/PLIST 3 Feb 2009 10:52:36 -0000 1.1.1.1
+++ pkg/PLIST 31 May 2012 13:53:06 -0000
@@ -10,3 +10,4 @@
share/ajaxterm/qweb.py
share/ajaxterm/sarissa.js
share/ajaxterm/sarissa_dhtml.js
+@rcscript ${RCDIR}/ajaxterm
Index: pkg/ajaxterm.rc
===================================================================
RCS file: pkg/ajaxterm.rc
diff -N -u pkg/ajaxterm.rc
--- /dev/null 31 May 2012 07:53:06 -0000
+++ pkg/ajaxterm.rc 31 May 2012 13:53:06 -0000
@@ -0,0 +1,15 @@
+#!/bin/sh
+#
+# $OpenBSD$
+
+daemon="${TRUEPREFIX}/bin/ajaxterm"
+daemon_flags="-d -u _ajaxterm"
+
+. /etc/rc.d/rc.subr
+
+pexp="${MODPY_BIN} ${daemon}${daemon_flags:+ ${daemon_flags}}"
+
+rc_bg=YES
+rc_reload=NO
+
+rc_cmd $1
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic