From 743a1a366401973b9d5d823b2addeb61d2e698ab Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Tue, 6 Jan 2009 14:28:14 +0000 Subject: A rapid-tunneling-gui deb package as well. Files are under /usr/share/rapid-tunneling/www . git-svn-id: svn+ssh://xorcom/home/svn/debs/components/rapid-tunneling@6562 283159da-0705-0410-b60c-f2062b4bb6ad --- Makefile | 1 + debian/TODO.Debian | 1 + debian/control | 11 +++++++++++ debian/rapid-tunneling-gui.install | 1 + debian/rapid-tunneling-gui.links | 1 + debian/rules | 2 +- 6 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 debian/rapid-tunneling-gui.install create mode 100644 debian/rapid-tunneling-gui.links 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 -- cgit v1.2.3