summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-01-05 19:42:10 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-01-05 19:42:10 +0000
commitf6c6fd27a4634464f7ace0c135699cce02c43817 (patch)
tree5b1903b655ad21ad6144436257ae272066f092ea /Makefile
parentd7b80cace5be8b0e263cec1e36f0553842a6e991 (diff)
GPG signature of tarball; path changes
* The tarball sent by the support user is now signed: an extra sig.asc gpg ascii-armoured signature of the contents of all the other file (alphabetical order). * Client verifies that before touching the data further. * Hence packages depend on gnupg. * Error code from gpg errors: 7. * Scripts used by the server are now in /usr/share/rapid-tunneling/bin . * Server support user sources /usr/share/rapid-tunneling/support_env . * Fixed purging for Debian -server package. * rtadm's config file is /etc/rapid-tunneling/rtadm . git-svn-id: svn+ssh://xorcom/home/svn/debs/components/rapid-tunneling@6550 283159da-0705-0410-b60c-f2062b4bb6ad
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 14 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 7e65f18..988aa0b 100644
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,11 @@ PACKAGE = rapid-tunneling
SPEC = rapid-tunneling.spec
SCRIPTS = rapid-tunneling rapid-tunneling-status rtadm rt-from-remote
-CONFIGS = rtadm.config sshd_support_config
+CONFIGS = rtadm.config sshd_support_config support_env
INIT_D = sshd_support
SOURCES = Makefile $(SPEC) $(SCRIPTS) $(CONFIGS) $(INIT_D)
+SBINDIR = /usr/sbin
+BINDIR = /usr/share/rapid-tunneling/bin
VER = $(shell awk '/^Version: / {print $$2}' $(SPEC)| head -n 1)
RPM_REL = $(shell awk '/^Release: / {print $$2}' $(SPEC)| head -n 1)
@@ -37,16 +39,18 @@ ifneq ($(VER),$(DEB_VER))
endif
install:
- install -m 755 -d $(DESTDIR)/usr/sbin
- install -m 755 rapid-tunneling $(DESTDIR)/usr/sbin
- install -m 755 rapid-tunneling-status $(DESTDIR)/usr/sbin
- install -m 755 -d $(DESTDIR)/var/lib/rapid-tunneling
- install -m 755 rtadm $(DESTDIR)/usr/sbin
- install -m 755 rt-from-remote $(DESTDIR)/usr/sbin
- install -m 755 -d $(DESTDIR)/etc/default
- install -m 644 rtadm.config $(DESTDIR)/etc/default/rtadm
+ install -m 755 -d $(DESTDIR)$(SBINDIR)
+ install -m 755 rapid-tunneling $(DESTDIR)$(SBINDIR)
+ install -m 755 rapid-tunneling-status $(DESTDIR)$(SBINDIR)
+ install -m 755 -d $(DESTDIR)/usr/share/rapid-tunneling
+ install -m 644 support_env $(DESTDIR)/usr/share/rapid-tunneling/
+ install -m 755 -d $(DESTDIR)$(BINDIR)
+ install -m 755 rtadm $(DESTDIR)$(BINDIR)
+ install -m 755 rt-from-remote $(DESTDIR)$(BINDIR)
+ install -m 755 -d $(DESTDIR)/etc/rapid-tunneling
+ install -m 644 rtadm.config $(DESTDIR)/etc/rapid-tunneling/rtadm
install -m 755 -d $(DESTDIR)/etc/ssh
- install -m 644 sshd_support_config $(DESTDIR)/etc/ssh
+ install -m 644 sshd_support_config $(DESTDIR)/etc/ssh/
.PHONY: clean dummy
dummy: