Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 101387 | Differences between
and this patch

Collapse All | Expand All

(-)syslog-ng-1.6.11.ebuild (-1 / +7 lines)
Lines 11-17 Link Here
11
LICENSE="GPL-2"
11
LICENSE="GPL-2"
12
SLOT="0"
12
SLOT="0"
13
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
13
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
14
IUSE="hardened selinux static tcpd"
14
IUSE="hardened selinux static tcpd chroot"
15
15
16
RDEPEND=">=dev-libs/libol-0.3.16
16
RDEPEND=">=dev-libs/libol-0.3.16
17
	tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
17
	tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
Lines 51-58 Link Here
51
		doc/sgml/syslog-ng.txt contrib/syslog2ng "${FILESDIR}/syslog-ng.conf."*
51
		doc/sgml/syslog-ng.txt contrib/syslog2ng "${FILESDIR}/syslog-ng.conf."*
52
	dohtml doc/sgml/syslog-ng.html/*
52
	dohtml doc/sgml/syslog-ng.html/*
53
53
54
	enewuser syslog -1 /bin/false /dev/null nobody "added by portage for syslog"
54
	# Install default configuration
55
	# Install default configuration
55
	insinto /etc/syslog-ng
56
	insinto /etc/syslog-ng
57
	insopts -u syslog -g root -m0640
56
	if use hardened || use selinux ; then
58
	if use hardened || use selinux ; then
57
		newins "${FILESDIR}/syslog-ng.conf.gentoo.hardened" syslog-ng.conf
59
		newins "${FILESDIR}/syslog-ng.conf.gentoo.hardened" syslog-ng.conf
58
	else
60
	else
Lines 64-67 Link Here
64
	newins "${FILESDIR}/syslog-ng.logrotate" syslog-ng
66
	newins "${FILESDIR}/syslog-ng.logrotate" syslog-ng
65
67
66
	newinitd "${FILESDIR}/syslog-ng.rc6" syslog-ng
68
	newinitd "${FILESDIR}/syslog-ng.rc6" syslog-ng
69
	if use hardened || use chroot ; then
70
		newconfd "${FILESDIR}/syslog-ng.confd.hardened" syslog-ng
71
	else
72
		newconfd "${FILESDIR}/syslog-ng.confd" syslog-ng
67
}
73
}

Return to bug 101387