summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2013-03-10 16:45:46 +0000
committerMike Gilbert <floppym@gentoo.org>2013-03-10 16:45:46 +0000
commit6fc82709ba8f0708fa7b66569b61e4cdf6966b53 (patch)
treeec7e13bb7c4352f6fdb9b2af53c62985bd25ee72 /sys-apps
parentFix /etc/udev/hwdb.bin generation with >=sys-fs/udev-198 (by moving hwdb.bin ... (diff)
downloadgentoo-2-6fc82709ba8f0708fa7b66569b61e4cdf6966b53.tar.gz
gentoo-2-6fc82709ba8f0708fa7b66569b61e4cdf6966b53.tar.bz2
gentoo-2-6fc82709ba8f0708fa7b66569b61e4cdf6966b53.zip
Create systemd-journal-gateway user/group if USE=http. Bug 461044 by Michał Bartoszkiewicz.
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/systemd/ChangeLog7
-rw-r--r--sys-apps/systemd/systemd-198.ebuild6
-rw-r--r--sys-apps/systemd/systemd-9999.ebuild6
3 files changed, 16 insertions, 3 deletions
diff --git a/sys-apps/systemd/ChangeLog b/sys-apps/systemd/ChangeLog
index 044881b8e75f..3f120d634649 100644
--- a/sys-apps/systemd/ChangeLog
+++ b/sys-apps/systemd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/systemd
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/ChangeLog,v 1.84 2013/03/10 15:14:56 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/ChangeLog,v 1.85 2013/03/10 16:45:46 floppym Exp $
+
+ 10 Mar 2013; Mike Gilbert <floppym@gentoo.org> systemd-198.ebuild,
+ systemd-9999.ebuild:
+ Create systemd-journal-gateway user/group if USE=http. Bug 461044 by Michał
+ Bartoszkiewicz.
10 Mar 2013; Michał Górny <mgorny@gentoo.org> systemd-198.ebuild,
systemd-9999.ebuild:
diff --git a/sys-apps/systemd/systemd-198.ebuild b/sys-apps/systemd/systemd-198.ebuild
index f13472965449..8c41a4afcd93 100644
--- a/sys-apps/systemd/systemd-198.ebuild
+++ b/sys-apps/systemd/systemd-198.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-198.ebuild,v 1.4 2013/03/10 15:14:56 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-198.ebuild,v 1.5 2013/03/10 16:45:46 floppym Exp $
EAPI=5
@@ -188,6 +188,10 @@ optfeature() {
pkg_postinst() {
enewgroup systemd-journal
+ if use http; then
+ enewgroup systemd-journal-gateway
+ enewuser systemd-journal-gateway -1 -1 -1 systemd-journal-gateway
+ fi
systemd_update_catalog
mkdir -p "${ROOT}"/run || ewarn "Unable to mkdir /run, this could mean trouble."
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild
index 7c7a0d588b68..1a95c500aa40 100644
--- a/sys-apps/systemd/systemd-9999.ebuild
+++ b/sys-apps/systemd/systemd-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-9999.ebuild,v 1.18 2013/03/10 15:14:56 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-9999.ebuild,v 1.19 2013/03/10 16:45:46 floppym Exp $
EAPI=5
@@ -211,6 +211,10 @@ optfeature() {
pkg_postinst() {
enewgroup systemd-journal
+ if use http; then
+ enewgroup systemd-journal-gateway
+ enewuser systemd-journal-gateway -1 -1 -1 systemd-journal-gateway
+ fi
systemd_update_catalog
mkdir -p "${ROOT}"/run || ewarn "Unable to mkdir /run, this could mean trouble."