7 |
|
|
8 |
%define name rkhunter |
%define name rkhunter |
9 |
%define ver 1.3.0 |
%define ver 1.3.0 |
10 |
%define rel 1 |
%define rel 2 |
11 |
%define epoch 0 |
%define epoch 0 |
12 |
|
|
13 |
# Don't change this define or also: |
# Don't change this define or also: |
61 |
sh ./installer.sh --layout RPM --install |
sh ./installer.sh --layout RPM --install |
62 |
|
|
63 |
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 |
64 |
|
sed -i 's_#ALLOWPROCLISTEN=/usr/sbin/pppoe_ALLOWPROCLISTEN=/usr/sbin/pppoe_' ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}.conf |
65 |
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 |
66 |
|
sed -i '/#ALLOWPROCLISTEN=\/usr\/bin\/dhcpcd/iALLOWPROCLISTEN=\/usr\/sbin\/dhcpd' ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}.conf |
67 |
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 |
68 |
|
|
69 |
# Make a cron.daily file to mail us the reports |
# Make a cron.daily file to mail us the reports |
123 |
|
|
124 |
|
|
125 |
%changelog |
%changelog |
126 |
|
* Mon Dec 17 2007 Shad L. Lords <slords@mail.com> 1.3.0-2 |
127 |
|
- Add a few more services for sme tests |
128 |
|
|
129 |
* Mon Dec 17 2007 Shad L. Lords <slords@mail.com> 1.3.0-1 |
* Mon Dec 17 2007 Shad L. Lords <slords@mail.com> 1.3.0-1 |
130 |
- Fix installer to not install in local |
- Fix installer to not install in local |
131 |
- Set parameters for sme specific tests |
- Set parameters for sme specific tests |