After running chkconfig, run systemctl if it exists. Reason: systemctl
--system daemon-reload needs to be run for Sniffer to be started and stopped
under OpenSuse 12.3.
Revert to using /sbin/service to start/stop Sniffer.
Reason: /sbin/service works correctly if systemctl is run.
git-svn-id: https://svn.microneil.com/svn/PKG-SNF-CS-NIX/trunk@106 233e721a-07f6-49eb-a7da-05e0e16828fc
Require /usr/sbin/useradd instead of package shadow-utils.
Reason: useradd was moved from package shadow-utils to
package shadow in OpenSuse 12.3, and OpenSuse 12.3 doesn't
have package shadow-utils.
git-svn-id: https://svn.microneil.com/svn/PKG-SNF-CS-NIX/trunk@103 233e721a-07f6-49eb-a7da-05e0e16828fc
Remove installation of SNF4SA files. Reason: RedHat Package Manager
apparently detects that a perl file is installed (snf4sa.pm and snf4sa.cf),
and autonomously requires that spamassassin is a prerequisite to installing
the package. This would cause a problem for customers who do not wish
to install spamassasin.
git-svn-id: https://svn.microneil.com/svn/PKG-SNF-CS-NIX/trunk@101 233e721a-07f6-49eb-a7da-05e0e16828fc
snf-server.suse: Change Default-Start from 3 4 5 to 3 5. Reason: To
match the system default.
snf-server.spec.in: Remove requirement for chkconfig and initscripts.
Reason: This requirement is not met in OpenSuse 11.0 x64 (possibly due
to a bug in OpenSuse), and chkconfig and initscripts are part of the
core distribution.
git-svn-id: https://svn.microneil.com/svn/PKG-SNF-CS-NIX/trunk@80 233e721a-07f6-49eb-a7da-05e0e16828fc
Modified comments in OS startup script: Changed Default-Start from 3 4 5
to 2 3 4 5 and Default-Stop from 0 1 2 6 to 0 1 6, moved BEGIN INIT INFO
comment block to beginning of the file. Reason: So that update-rc.d
runs without error or warning.
git-svn-id: https://svn.microneil.com/svn/PKG-SNF-CS-NIX/trunk@79 233e721a-07f6-49eb-a7da-05e0e16828fc
Make share/snf-server directory 777 for testing snfSniffer script. The snfSniffer script creates temporary
files in share/snf-server, and is not able to delete the file created by SNFClient (that file is owned by snfuser).
Making the snf-server directory 777 should allow the snfSniffer script to delete the temporary files.
git-svn-id: https://svn.microneil.com/svn/PKG-SNF-CS-NIX/trunk@77 233e721a-07f6-49eb-a7da-05e0e16828fc
Added --enable-os-type=ArchLinux option to ./configure command. This
installs the ArchLinux startup script modifed from the one supplied by
nixadmins@eugenebiro.com (need to test on ArchLinux OSes).
Added testmode.snf, and modified installation to install it in the
same directory as GBUdbIgnoreList.txt.sample.
Incremented tarball version from 3.0.13 to 3.0.14.
Tested tarball with 'make dist; make distcheck'.
git-svn-id: https://svn.microneil.com/svn/PKG-SNF-CS-NIX/trunk@60 233e721a-07f6-49eb-a7da-05e0e16828fc
Corrected error in scan log settings where <xml../> had been changed to <classic../>. Changed it back to xml so now both classic and xml are represented and configured properly. Default logging is supposed to be XML. When classic is desired configure <xml mode='none'... and configure <classic mode='file'...
Tests done:
1) Build and install from snf-server-3.0.12.tar.gz.
2) 'SNFClient -status.second' gives expected response.
3) 'SNFClient junkmsg.txt' returned a status of 54.
4) 'SNFClient cleanmsg.txt' returned a status of 0.
git-svn-id: https://svn.microneil.com/svn/PKG-SNF-CS-NIX/trunk@53 233e721a-07f6-49eb-a7da-05e0e16828fc