From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/emacs:master commit in: app-emacs/emacs-common-gentoo/
Date: Thu, 19 Feb 2015 22:07:46 +0000 (UTC) [thread overview]
Message-ID: <1424383955.075711ddee821d79f2421fa2f7ef3422953cbcc5.ulm@gentoo> (raw)
commit: 075711ddee821d79f2421fa2f7ef3422953cbcc5
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 19 22:12:35 2015 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Feb 19 22:12:35 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/emacs.git;a=commit;h=075711dd
app-emacs/emacs-common-gentoo: Use "gamestat" group for shared score files, following QA tree policy.
Package-Manager: portage-2.2.17
---
app-emacs/emacs-common-gentoo/ChangeLog | 4 ++++
.../emacs-common-gentoo-9999-r1.ebuild | 16 +++++++++-------
2 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/app-emacs/emacs-common-gentoo/ChangeLog b/app-emacs/emacs-common-gentoo/ChangeLog
index 40b3c91..dd947e4 100644
--- a/app-emacs/emacs-common-gentoo/ChangeLog
+++ b/app-emacs/emacs-common-gentoo/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 19 Feb 2015; Ulrich Müller <ulm@gentoo.org>
+ emacs-common-gentoo-9999-r1.ebuild:
+ Use "gamestat" group for shared score files, following QA tree policy.
+
10 Feb 2015; Ulrich Müller <ulm@gentoo.org>
emacs-common-gentoo-9999-r1.ebuild:
Fix permissions of shared score dir in pkg_postinst.
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
index 564b4bf..2d872dd 100644
--- a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild
+++ b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild
@@ -22,7 +22,7 @@ PDEPEND="virtual/emacs"
S="${WORKDIR}/${PN}"
pkg_setup() {
- use games && enewgroup scores 36
+ use games && enewgroup gamestat 36
}
src_install() {
@@ -36,7 +36,7 @@ src_install() {
if use games; then
keepdir /var/games/emacs
- fowners root:scores /var/games/emacs
+ fowners root:gamestat /var/games/emacs
fperms g+w /var/games/emacs
fi
@@ -107,7 +107,7 @@ pkg_preinst() {
cp "${EROOT}/var/lib${f#/var}" "${ED}${f}" || die
fi
touch "${ED}${f}" || die
- chown root:scores "${ED}${f}" || die
+ chown root:gamestat "${ED}${f}" || die
chmod g+w "${ED}${f}" || die
done
fi
@@ -129,10 +129,12 @@ pkg_preinst() {
}
pkg_postinst() {
- # update permissions of shared score dir
- chmod 755 "${EROOT}"/var/games
- chown root:scores "${EROOT}"/var/games/emacs
- chmod 775 "${EROOT}"/var/games/emacs
+ if use games; then
+ # update permissions of shared score dir
+ chmod 755 "${EROOT}"/var/games
+ chown root:gamestat "${EROOT}"/var/games/emacs
+ chmod 775 "${EROOT}"/var/games/emacs
+ fi
if use X; then
fdo-mime_desktop_database_update
next reply other threads:[~2015-02-19 22:07 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-19 22:07 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-03-21 9:45 [gentoo-commits] proj/emacs:master commit in: app-emacs/emacs-common-gentoo/ Ulrich Müller
2015-07-12 6:53 Ulrich Müller
2015-02-22 18:34 Ulrich Müller
2015-02-22 18:26 Ulrich Müller
2015-02-21 12:03 Ulrich Müller
2015-02-20 11:12 Ulrich Müller
2015-02-10 14:12 Ulrich Müller
2015-02-09 12:09 Ulrich Müller
2015-01-23 6:10 Ulrich Müller
2015-01-21 22:13 Ulrich Müller
2015-01-21 21:43 Ulrich Müller
2015-01-21 21:43 Ulrich Müller
2013-11-16 12:41 Ulrich Müller
2013-11-15 13:42 Ulrich Müller
2013-11-13 9:47 Ulrich Müller
2013-10-31 15:07 Ulrich Müller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1424383955.075711ddee821d79f2421fa2f7ef3422953cbcc5.ulm@gentoo \
--to=ulm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox