diff options
Diffstat (limited to 'psad.patch')
-rw-r--r-- | psad.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/psad.patch b/psad.patch new file mode 100644 index 000000000000..b9d3a532ea92 --- /dev/null +++ b/psad.patch @@ -0,0 +1,53 @@ +*** a/install.pl 2015-05-12 12:25:18.000000000 +0800 +--- b/install.pl 2015-11-03 09:33:36.851279706 +0800 +*************** +*** 754,759 **** +--- 754,761 ---- + $init_file = 'init-scripts/psad-init.redhat'; + } elsif ($distro eq 'fedora') { + $init_file = 'init-scripts/psad-init.fedora'; ++ } elsif ($distro eq 'archlinux') { ++ $init_file = 'init-scripts/psad-init.archlinux'; + } elsif ($distro eq 'gentoo') { + $init_file = 'init-scripts/psad-init.gentoo'; + } else { +*************** +*** 777,789 **** + if ($preserve_rv) { + &logr("\n[+] psad has been installed (with your original config merged).\n"); + } else { +- &logr("\n[+] psad has been installed.\n"); + } + if ($installed_init_script) { + if ($init_dir) { +- &logr("\n[+] To start psad, run \"${init_dir}/psad start\"\n"); + } else { +- &logr("\n[+] To start psad, run ${USRSBIN_DIR}/psad\"\n"); + } + } + +--- 779,792 ---- + if ($preserve_rv) { + &logr("\n[+] psad has been installed (with your original config merged).\n"); + } else { ++ &logr("\n[+] psad has been compiled.\n"); ++ &logr("\n[+] use pacman -U to install.\n"); + } + if ($installed_init_script) { + if ($init_dir) { ++ #&logr("\n[+] To start psad, run \"${init_dir}/psad start\"\n"); + } else { ++ #&logr("\n[+] To start psad, run ${USRSBIN_DIR}/psad\"\n"); + } + } + +*************** +*** 1752,1757 **** +--- 1755,1761 ---- + + sub get_distro() { + return 'gentoo' if -e '/etc/gentoo-release'; ++ return 'archlinux' if -e '/etc/arch-release'; + if (-e '/etc/issue') { + ### Red Hat Linux release 6.2 (Zoot) + open ISSUE, '< /etc/issue' or |