1 |
|
# $Id$ |
2 |
|
|
3 |
# No debuginfo: |
# No debuginfo: |
4 |
%define debug_package %{nil} |
%define debug_package %{nil} |
5 |
|
|
8 |
#%%dump |
#%%dump |
9 |
|
|
10 |
%define name rkhunter |
%define name rkhunter |
11 |
%define ver 1.3.0 |
%define ver 1.3.2 |
12 |
%define rel 5 |
%define rel 2 |
13 |
%define epoch 0 |
%define epoch 0 |
14 |
|
|
15 |
# Don't change this define or also: |
# Don't change this define or also: |
62 |
%build |
%build |
63 |
|
|
64 |
%install |
%install |
65 |
|
MANPATH="" |
66 |
|
export MANPATH |
67 |
|
|
68 |
sh ./installer.sh --layout RPM --install |
sh ./installer.sh --layout RPM --install |
69 |
|
|
70 |
sed -i 's_#ALLOWPROCLISTEN=/sbin/dhclient_ALLOWPROCLISTEN=/sbin/dhclient_' ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}.conf |
sed -i 's_#ALLOWPROCLISTEN=/sbin/dhclient_ALLOWPROCLISTEN=/sbin/dhclient_' ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}.conf |
72 |
sed -i 's_#ALLOWHIDDENFILE=/usr/share/man/man1/..1.gz_ALLOWHIDDENFILE=/usr/share/man/man1/..1.gz_' ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}.conf |
sed -i 's_#ALLOWHIDDENFILE=/usr/share/man/man1/..1.gz_ALLOWHIDDENFILE=/usr/share/man/man1/..1.gz_' ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}.conf |
73 |
sed -i '/#ALLOWPROCLISTEN=\/usr\/bin\/dhcpcd/iALLOWPROCLISTEN=\/usr\/sbin\/dhcpd' ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}.conf |
sed -i '/#ALLOWPROCLISTEN=\/usr\/bin\/dhcpcd/iALLOWPROCLISTEN=\/usr\/sbin\/dhcpd' ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}.conf |
74 |
sed -i '/#ALLOWPROCDELFILE=\/usr\/sbin\/mysqld/aALLOWPROCDELFILE=\/usr\/sbin\/httpd' ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}.conf |
sed -i '/#ALLOWPROCDELFILE=\/usr\/sbin\/mysqld/aALLOWPROCDELFILE=\/usr\/sbin\/httpd' ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}.conf |
75 |
sed -i '/#ALLOWPROCLISTEN=\/usr\/local\/bin\/wpa_supplicant/aALLOWPROCLISTEN=\/usr\/sbin\/asterisk' ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}.conf |
sed -i '/ALLOWPROCDELFILE=\/usr\/sbin\/httpd/aALLOWPROCDELFILE=\/usr\/sbin\/asterisk' ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}.conf |
76 |
|
sed -i '/ALLOWPROCDELFILE=\/usr\/sbin\/httpd/aALLOWPROCDELFILE=\/usr\/bin\/freshclam' ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}.conf |
77 |
|
|
78 |
# Make a cron.daily file to mail us the reports |
# Make a cron.daily file to mail us the reports |
79 |
%{__mkdir} -p "${RPM_BUILD_ROOT}/%{_sysconfdir}/cron.daily" |
%{__mkdir} -p "${RPM_BUILD_ROOT}/%{_sysconfdir}/cron.daily" |
132 |
|
|
133 |
|
|
134 |
%changelog |
%changelog |
135 |
|
* Sun Mar 2 2008 Shad L. Lords <slords@mail.com> 1.3.2-2 |
136 |
|
- Allow freshclam to use deleted files. [SME: 3876] |
137 |
|
|
138 |
|
* Fri Feb 29 2008 Shad L. Lords <slords@mail.com> 1.3.2-1 |
139 |
|
- Update to rkhunter v1.3.2 [SME: 4000] |
140 |
|
|
141 |
|
* Wed Jan 30 2008 Shad L. Lords <slords@mail.com> 1.3.0-6 |
142 |
|
- Fix asterisk to allow deleted files. [SME: 3795] |
143 |
|
|
144 |
* Tue Jan 29 2008 Shad L. Lords <slords@mail.com> 1.3.0-5 |
* Tue Jan 29 2008 Shad L. Lords <slords@mail.com> 1.3.0-5 |
145 |
- Correct pppoe binary location. |
- Correct pppoe binary location. |
146 |
- Add asterisk binary to allow deleted files. [SME: 3795] |
- Add asterisk binary to allow deleted files. [SME: 3795] |