diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-04-05 22:47:57 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-04-05 22:47:57 +0000 |
commit | 9d066ac9390c1cb59efd2e78c5102bdbe02bf14f (patch) | |
tree | 8d7d96934465926d773e32acfb4cdc1540904e0a /app-admin/syslog-ng | |
parent | Fix bug 87160 (diff) | |
download | gentoo-2-9d066ac9390c1cb59efd2e78c5102bdbe02bf14f.tar.gz gentoo-2-9d066ac9390c1cb59efd2e78c5102bdbe02bf14f.tar.bz2 gentoo-2-9d066ac9390c1cb59efd2e78c5102bdbe02bf14f.zip |
Add support for hardened-specified config file
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-admin/syslog-ng')
-rw-r--r-- | app-admin/syslog-ng/ChangeLog | 6 | ||||
-rw-r--r-- | app-admin/syslog-ng/syslog-ng-1.6.6.ebuild | 8 |
2 files changed, 11 insertions, 3 deletions
diff --git a/app-admin/syslog-ng/ChangeLog b/app-admin/syslog-ng/ChangeLog index 556b149dd8ad..b6b4661281e4 100644 --- a/app-admin/syslog-ng/ChangeLog +++ b/app-admin/syslog-ng/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-admin/syslog-ng # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.80 2005/04/05 22:17:38 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.81 2005/04/05 22:47:57 mr_bones_ Exp $ + + 05 Apr 2005; Michael Sterrett <mr_bones_@gentoo.org> + syslog-ng-1.6.6.ebuild: + Add support for hardened-specified config file 05 Apr 2005; <solar@gentoo.org> +files/syslog-ng.conf.gentoo.hardened: - added example hardened syslog-ng conf used by hardened profiles. diff --git a/app-admin/syslog-ng/syslog-ng-1.6.6.ebuild b/app-admin/syslog-ng/syslog-ng-1.6.6.ebuild index b35efab2f758..0d91269547dd 100644 --- a/app-admin/syslog-ng/syslog-ng-1.6.6.ebuild +++ b/app-admin/syslog-ng/syslog-ng-1.6.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-1.6.6.ebuild,v 1.1 2005/02/26 17:20:02 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-1.6.6.ebuild,v 1.2 2005/04/05 22:47:57 mr_bones_ Exp $ DESCRIPTION="syslog replacement with advanced filtering features" HOMEPAGE="http://www.balabit.com/products/syslog_ng/" @@ -45,7 +45,11 @@ src_install() { # Install default configuration insinto /etc/syslog-ng - newins "${FILESDIR}/syslog-ng.conf.gentoo" syslog-ng.conf + if use hardened || use selinux ; then + newins "${FILESDIR}/syslog-ng.conf.gentoo.hardened" syslog-ng.conf + else + newins "${FILESDIR}/syslog-ng.conf.gentoo" syslog-ng.conf + fi # Install snippet for logrotate, which may or may not be installed insinto /etc/logrotate.d |