diff options
-rw-r--r-- | app-admin/ulogd/ChangeLog | 7 | ||||
-rw-r--r-- | app-admin/ulogd/ulogd-2.0.0_beta3.ebuild | 14 |
2 files changed, 19 insertions, 2 deletions
diff --git a/app-admin/ulogd/ChangeLog b/app-admin/ulogd/ChangeLog index 4b83bab08030..e704b9ba9f52 100644 --- a/app-admin/ulogd/ChangeLog +++ b/app-admin/ulogd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-admin/ulogd # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ChangeLog,v 1.59 2009/08/12 07:06:13 wormo Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ChangeLog,v 1.60 2009/10/26 06:24:15 wormo Exp $ + + 26 Oct 2009; Stephanie Lockwood-Childs <wormo@gentoo.org> + ulogd-2.0.0_beta3.ebuild: + Make sure ulogd user/group exist, and that ulogd.conf is readable + by ulogd group (bug #289638, reported by Emanuele A. Bagnaschi) *ulogd-1.24-r2 (12 Aug 2009) diff --git a/app-admin/ulogd/ulogd-2.0.0_beta3.ebuild b/app-admin/ulogd/ulogd-2.0.0_beta3.ebuild index b7c053f97d00..60398f89410a 100644 --- a/app-admin/ulogd/ulogd-2.0.0_beta3.ebuild +++ b/app-admin/ulogd/ulogd-2.0.0_beta3.ebuild @@ -1,9 +1,11 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-2.0.0_beta3.ebuild,v 1.3 2009/08/11 06:35:14 wormo Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-2.0.0_beta3.ebuild,v 1.4 2009/10/26 06:24:15 wormo Exp $ EAPI="1" +inherit eutils + MY_P=${P/_/} S="${WORKDIR}/${MY_P}" @@ -33,6 +35,11 @@ DEPEND="${RDEPEND} app-text/texlive-core )" +pkg_setup() { + enewgroup ulogd + enewuser ulogd -1 -1 /var/log/ulogd ulogd +} + src_compile() { econf \ $(use_with mysql) \ @@ -78,3 +85,8 @@ src_install() { doman ulogd.8 || die } + +pkg_postinst() { + chown root:ulogd "${ROOT}"/etc/ulogd.conf + chmod 640 "${ROOT}"/etc/ulogd.conf +} |