Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/emacs:master commit in: app-emacs/emacs-common-gentoo/
Date: Mon, 09 Feb 2015 12:09:26
Message-Id: 1423484043.d43fe141168cd70cd7c58468e419eb619e73f80d.ulm@gentoo
1 commit: d43fe141168cd70cd7c58468e419eb619e73f80d
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 9 12:14:03 2015 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 9 12:14:03 2015 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/emacs.git;a=commit;h=d43fe141
7
8 app-emacs/emacs-common-gentoo: Use group 'scores' instead of 'games' for shared score files.
9
10 Package-Manager: portage-2.2.16
11
12 ---
13 app-emacs/emacs-common-gentoo/ChangeLog | 4 ++++
14 app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild | 6 +++---
15 2 files changed, 7 insertions(+), 3 deletions(-)
16
17 diff --git a/app-emacs/emacs-common-gentoo/ChangeLog b/app-emacs/emacs-common-gentoo/ChangeLog
18 index 01bddd6..e44bb76 100644
19 --- a/app-emacs/emacs-common-gentoo/ChangeLog
20 +++ b/app-emacs/emacs-common-gentoo/ChangeLog
21 @@ -2,6 +2,10 @@
22 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
23 # $Header: $
24
25 + 09 Feb 2015; Ulrich Müller <ulm@g.o>
26 + emacs-common-gentoo-9999-r1.ebuild:
27 + Use group 'scores' instead of 'games' for shared score files.
28 +
29 23 Jan 2015; Ulrich Müller <ulm@g.o>
30 emacs-common-gentoo-9999-r1.ebuild:
31 Respect GAMES_GROUP variable.
32
33 diff --git a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild
34 index 0710b8c..04dc5ad 100644
35 --- a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild
36 +++ b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild
37 @@ -22,7 +22,7 @@ PDEPEND="virtual/emacs"
38 S="${WORKDIR}/${PN}"
39
40 pkg_setup() {
41 - use games && enewgroup "${GAMES_GROUP:-games}" 35
42 + use games && enewgroup scores 36
43 }
44
45 src_install() {
46 @@ -36,7 +36,7 @@ src_install() {
47
48 if use games; then
49 keepdir /var/games/emacs
50 - fowners "root:${GAMES_GROUP:-games}" /var/games/emacs
51 + fowners root:scores /var/games/emacs
52 fperms g+w /var/games/emacs
53 fi
54
55 @@ -107,7 +107,7 @@ pkg_preinst() {
56 cp "${EROOT}/var/lib${f#/var}" "${ED}${f}" || die
57 fi
58 touch "${ED}${f}" || die
59 - chown "root:${GAMES_GROUP:-games}" "${ED}${f}" || die
60 + chown root:scores "${ED}${f}" || die
61 chmod g+w "${ED}${f}" || die
62 done
63 fi