Logoj0ke.net Open Build Service > Projects > internetx > blocksshd > Changes
Sign Up | Log In

Changes of Revision 5

[-] Changed blocksshd.spec
x
 
1
@@ -8,6 +8,7 @@
2
 BuildArch: noarch
3
 Source:        http://downloads.sourgeforge.net/blocksshd/blocksshd-%{version}.tar.bz2
4
 Source1:   blocksshd-suse.init
5
+Source2:   blocksshd.sysconfig
6
 Patch0:        blocksshd-1.1.diff
7
 Patch1:        blocksshd-suse-config.diff
8
 
9
@@ -49,7 +50,12 @@
10
 
11
 %if 0%{?suse_version}
12
 install -D -m 755 -d %{buildroot}/etc/init.d/
13
+install -D -m 755 -d %{buildroot}/etc/sysconfig/
14
+instlal -D -m 755 -d %{buildroot}/usr/sbin
15
+cd %{buildroot}/usr/sbin
16
+ln -s ../../etc/init.d/blocksshd rcblocksshd
17
 install -m 755 %{S:1} %{buildroot}/etc/init.d/blocksshd
18
+install -m 644 %{S:2} %{buildroot}/etc/sysconfig/blocksshd
19
 %else
20
 %{__make} init DESTDIR="%{buildroot}" \
21
    INITRDDIR="%{_initrddir}"
22
@@ -62,10 +68,15 @@
23
 %defattr(-,root,root,-)
24
 %doc CHANGELOG README CREDITS INSTALL
25
 %{_bindir}/blocksshd
26
-%{_sysconfdir}/blocksshd.conf
27
+%if 0%{?suse_version}
28
+%{_sbindir}/rcblocksshd
29
+%endif
30
 %{_mandir}/man1/blocksshd.1*
31
 %{_initrddir}/blocksshd
32
 %config(noreplace) %{_sysconfdir}/blocksshd.conf
33
+%if 0%{?suse_version}
34
+%config(noreplace) %{_sysconfdir}/sysconfig/blocksshd
35
+%endif
36
 
37
 %post
38
 /sbin/chkconfig --add blocksshd
39
[+] Changed blocksshd-suse.init ^
[+] Added blocksshd.sysconfig ^