public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: naota@gentoo.org
To: constanze@gentoo.org, base-system@gentoo.org
Cc: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] [PATCH] fcaps.eclass: Group name portability
Date: Sun, 13 Apr 2014 09:18:35 +0900	[thread overview]
Message-ID: <87fvlit738.fsf@elisp.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 629 bytes --]

fcaps.eclass is using group name 'root' which is not available on BSD
system. Instead you can use "0", or $(id -g -n 0) if you'd prefer "group
name"

Index: fcaps.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/fcaps.eclass,v
retrieving revision 1.8
diff -u -r1.8 fcaps.eclass
--- fcaps.eclass	27 Jun 2013 01:18:57 -0000	1.8
+++ fcaps.eclass	13 Apr 2014 00:16:44 -0000
@@ -80,7 +80,7 @@
 
 	# Process the user options first.
 	local owner='root'
-	local group='root'
+	local group=$(id -g -n 0)
 	local mode='4711'
 	local caps_mode='711'
 

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

             reply	other threads:[~2014-04-13  0:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-13  0:18 naota [this message]
2014-04-13  0:40 ` [gentoo-dev] [PATCH] fcaps.eclass: Group name portability hasufell
2014-04-13  6:29   ` Diego Elio Pettenò
2014-04-15  2:11     ` Naohiro Aota
2014-04-15  7:48       ` Cyprien Nicolas
2014-04-15  8:06       ` Alexander Tsoy
2014-04-15  8:13         ` Alexander Tsoy
2014-04-15  2:10   ` Naohiro Aota
2014-07-31 10:21 ` [gentoo-dev] " Mike Frysinger

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=87fvlit738.fsf@elisp.net \
    --to=naota@gentoo.org \
    --cc=base-system@gentoo.org \
    --cc=constanze@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