diff options
author | Stephanie J. Lockwood-Childs <wormo@gentoo.org> | 2009-10-26 06:24:15 +0000 |
---|---|---|
committer | Stephanie J. Lockwood-Childs <wormo@gentoo.org> | 2009-10-26 06:24:15 +0000 |
commit | 5bfef58e7b4d7593bf2aab6e3e4736ad7f550858 (patch) | |
tree | eae8379d5186cf83b6119a2f322b39613ef516e8 /app-admin | |
parent | Digest the right jtag tarball for x86_64 #289456 by Marc Joliet. (diff) | |
download | gentoo-2-5bfef58e7b4d7593bf2aab6e3e4736ad7f550858.tar.gz gentoo-2-5bfef58e7b4d7593bf2aab6e3e4736ad7f550858.tar.bz2 gentoo-2-5bfef58e7b4d7593bf2aab6e3e4736ad7f550858.zip |
Make sure ulogd user/group exist, and that ulogd.conf is readable
by ulogd group (bug #289638, reported by Emanuele A. Bagnaschi)
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'app-admin')
-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 +} |