Search
j0ke.net Open Build Service
>
Projects
>
ha
:
firewall
>
barnyard2
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 6
[-]
[+]
Changed
barnyard2.spec
@@ -129,11 +129,12 @@ %{__install} -d -p $RPM_BUILD_ROOT%{_mandir}/man8 %{__install} -m 644 etc/barnyard2.conf $RPM_BUILD_ROOT%{_sysconfdir}/snort/ %if 0%{?suse_version} -%{__install} -D -m 644 %{S:2} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.barnyard2 -%{__install} -D -m 755 %{S:3} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/barnyard2 +%{__install} -D -m 644 %{S:2} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.%{name} +%{__install} -D -m 755 %{S:3} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/%{name} +ln -sf ../../etc/init.d/%{name} $RPM_BUILD_ROOT/usr/sbin/rc%{name} %else -%{__install} -D -m 644 %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/barnyard2 -%{__install} -D -m 755 %{S:3} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/barnyard2 +%{__install} -D -m 644 %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name} +%{__install} -D -m 755 %{S:3} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/%{name} %endif %{__install} -d -m 755 $RPM_BUILD_ROOT/var/log/%{name} @@ -167,6 +168,7 @@ %if 0%{?suse_version} %attr(755,root,root) %config %{_sysconfdir}/init.d/barnyard2 %attr(644,root,root) /var/adm/fillup-templates/sysconfig.barnyard2 +%attr(755,root,root) %{_sbindir}/rc%{name} %else %attr(755,root,root) %config %{_sysconfdir}/rc.d/init.d/barnyard2 %attr(644,root,root) %config %{_sysconfdir}/sysconfig/barnyard2