summaryrefslogtreecommitdiff
path: root/rapid-tunneling.spec
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 /rapid-tunneling.spec
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 'rapid-tunneling.spec')
-rw-r--r--rapid-tunneling.spec15
1 files changed, 7 insertions, 8 deletions
diff --git a/rapid-tunneling.spec b/rapid-tunneling.spec
index ff04056..8009508 100644
--- a/rapid-tunneling.spec
+++ b/rapid-tunneling.spec
@@ -6,7 +6,7 @@ License: GPLv2
Group: Applications/Internet
URL: http://www.xorcom.com/
Source: rapid-tunneling-%{version}.tar.gz
-Requires: openssh-clients busybox
+Requires: openssh-clients busybox gnupg
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
@@ -30,7 +30,6 @@ This package contains the server files needed to run RapidTunneling Server.
%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot}
-%{__mv} -f %{buildroot}/etc/default %{buildroot}/etc/sysconfig
%{__install} -m 755 -d %{buildroot}/etc/init.d
%{__install} -m 755 sshd_support %{buildroot}/etc/init.d
@@ -65,16 +64,16 @@ fi
%files
%defattr(-, root, root, 0755)
-/usr/sbin/rapid-tunneling
-/usr/sbin/rapid-tunneling-status
-/var/lib/rapid-tunneling
+%{_sbindir}/rapid-tunneling
+%{_sbindir}/rapid-tunneling-status
%files server
%defattr(-, root, root, 0755)
-%config(noreplace) /etc/sysconfig/rtadm
+%config(noreplace) /etc/rapid-tunneling/rtadm
%config(noreplace) /etc/ssh/sshd_support_config
-/usr/sbin/rtadm
-/usr/sbin/rt-from-remote
+%{_datadir}/rapid-tunneling/support_env
+%{_datadir}/rapid-tunneling/bin/rtadm
+%{_datadir}/rapid-tunneling/bin/rt-from-remote
/etc/init.d/sshd_support
%changelog