public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] fcaps.eclass: Group name portability
@ 2014-04-13  0:18 naota
  2014-04-13  0:40 ` hasufell
  2014-07-31 10:21 ` [gentoo-dev] " Mike Frysinger
  0 siblings, 2 replies; 9+ messages in thread
From: naota @ 2014-04-13  0:18 UTC (permalink / raw
  To: constanze, base-system; +Cc: gentoo-dev

[-- 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 --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-07-31 10:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-13  0:18 [gentoo-dev] [PATCH] fcaps.eclass: Group name portability naota
2014-04-13  0:40 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox