summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rw-r--r--debian/TODO.Debian1
-rw-r--r--debian/control11
-rw-r--r--debian/rapid-tunneling-gui.install1
-rw-r--r--debian/rapid-tunneling-gui.links1
-rwxr-xr-xdebian/rules2
6 files changed, 16 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9e28b44..892e796 100644
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,7 @@ deb: checkver
mkdir -p OUTPUT
mv ../rapid-tunneling_$(VER)* OUTPUT/
mv ../rapid-tunneling-server_$(VER)* OUTPUT/
+ mv ../rapid-tunneling-gui_$(VER)* OUTPUT/
SOURCES/$(PACKAGE)-$(VER).tar.gz: $(SOURCES)
mkdir -p SOURCES
diff --git a/debian/TODO.Debian b/debian/TODO.Debian
index 5453396..5514c78 100644
--- a/debian/TODO.Debian
+++ b/debian/TODO.Debian
@@ -6,3 +6,4 @@ adduser. The web interface only assumes that there's such a user.
* Do we delete users on purge?
+* A symlink under /var/www is only good as a quick hack.
diff --git a/debian/control b/debian/control
index 5ebd1b2..dd136da 100644
--- a/debian/control
+++ b/debian/control
@@ -24,3 +24,14 @@ Description: RapidTunneling (tm) server
and NAT routers via SSH port forwarding.
.
This package contains the server-side scripts.
+
+Package: rapid-tunneling-gui
+Architecture: all
+Depends: ${misc:Depends}, rapid-tunneling, sudo,
+ libapache2-mod-php5 | php5-cgi | libapache-mod-php5
+Description: Xorcom RapidTunneling (tm) web GUI
+ RapidTunneling (tm) allows remote access to machines behind firewalls
+ and NAT routers via SSH port forwarding.
+ .
+ This package contains the web-based user interface to initiate and
+ control tunnels to the server.
diff --git a/debian/rapid-tunneling-gui.install b/debian/rapid-tunneling-gui.install
new file mode 100644
index 0000000..b1e7840
--- /dev/null
+++ b/debian/rapid-tunneling-gui.install
@@ -0,0 +1 @@
+usr/share/rapid-tunneling/www
diff --git a/debian/rapid-tunneling-gui.links b/debian/rapid-tunneling-gui.links
new file mode 100644
index 0000000..a39ef14
--- /dev/null
+++ b/debian/rapid-tunneling-gui.links
@@ -0,0 +1 @@
+/usr/share/rapid-tunneling/www /var/www/support
diff --git a/debian/rules b/debian/rules
index 6c93afc..586998e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@ include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk
DEB_MAKE_BUILD_TARGET = dummy
-DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(DEB_DESTDIR)
+DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(DEB_DESTDIR) WWWHOME=/usr/share/rapid-tunneling/www
clean::
rm -f debian/rapid-tunneling-server.sshd_support.init