SPECS: freenx-server.spec - use nomachine keys by default

aredridel aredridel at pld-linux.org
Sun Aug 17 04:59:40 CEST 2008


Author: aredridel                    Date: Sun Aug 17 02:59:40 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use nomachine keys by default

---- Files affected:
SPECS:
   freenx-server.spec (1.42 -> 1.43) 

---- Diffs:

================================================================
Index: SPECS/freenx-server.spec
diff -u SPECS/freenx-server.spec:1.42 SPECS/freenx-server.spec:1.43
--- SPECS/freenx-server.spec:1.42	Sun Aug 17 04:04:45 2008
+++ SPECS/freenx-server.spec	Sun Aug 17 04:59:34 2008
@@ -12,6 +12,8 @@
 Source0:	http://download.berlios.de/freenx/%{name}-%{version}.tar.gz
 # Source0-md5:	961913bb82ee6e60d8df6f10e647bda9
 Source1:	%{name}.init
+Source2:	%{name}-nomachine.key.pub
+Source3:	%{name}-nomachine.key
 Patch0:		freenx-node-conf.patch
 Patch1:		%{name}-nx-3.2.0.patch
 URL:		http://freenx.berlios.de/
@@ -83,6 +85,10 @@
 install -d $RPM_BUILD_ROOT%{_bindir}
 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/nxserver
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/nxserver/.ssh
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/nxserver/nomachine.key.pub
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/nxserver/.ssh/authorized_keys
+install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/nxserver/nomachine.key
 install node.conf.sample $RPM_BUILD_ROOT%{_sysconfdir}/nxserver/node.conf
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/freenx
 
@@ -127,6 +133,9 @@
 %attr(755,root,root) %{_bindir}/*
 %dir %{_sysconfdir}/nxserver
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nxserver/node.conf
+%dir %{_sysconfdir}/nxserver/.ssh
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nxserver/.ssh/authorized_keys
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nxserver/nomachine.key*
 %attr(754,root,root) /etc/rc.d/init.d/freenx
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -135,6 +144,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.43  2008/08/17 02:59:34  aredridel
+- use nomachine keys by default
+
 Revision 1.42  2008/08/17 02:04:45  aredridel
 - add nxserver as a shell
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/freenx-server.spec?r1=1.42&r2=1.43&f=u



More information about the pld-cvs-commit mailing list