diff options
author | jlam <jlam@pkgsrc.org> | 2001-09-22 03:39:02 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-09-22 03:39:02 +0000 |
commit | 28e363a1fe7f9cad3dcd355511192dc40c3c8c45 (patch) | |
tree | fa1384e6113e6e6c94273cf9e2c701f29e3bc3c7 | |
parent | fe24267d90ef971b97ea1337acfd631cc5c59b43 (diff) | |
download | pkgsrc-28e363a1fe7f9cad3dcd355511192dc40c3c8c45.tar.gz |
Instead of "chown root ...; chgrp root ...", do "chown 0 ...; chgrp 0 ...".
UID/GID of 0 reliably points to the root user and group across NetBSD,
Solaris and Linux. This fixes the problem noted in pkg/14034 by
Sen Nagata <sen@eccosys.com>.
-rw-r--r-- | x11/gnome-libs/distinfo | 4 | ||||
-rw-r--r-- | x11/gnome-libs/patches/patch-ax | 13 |
2 files changed, 13 insertions, 4 deletions
diff --git a/x11/gnome-libs/distinfo b/x11/gnome-libs/distinfo index bc511e8269a..62cf05eb6a1 100644 --- a/x11/gnome-libs/distinfo +++ b/x11/gnome-libs/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2001/06/16 20:04:51 jlam Exp $ +$NetBSD: distinfo,v 1.4 2001/09/22 03:39:02 jlam Exp $ SHA1 (gnome-libs-1.2.13.tar.gz) = 21142d1afc826b7bca54be91a398c6f896d81696 Size (gnome-libs-1.2.13.tar.gz) = 3387481 bytes @@ -19,4 +19,4 @@ SHA1 (patch-at) = ce82e3f8090f3b00c8a8c8ac0809180d2febed70 SHA1 (patch-au) = d694b7105570fbe8ad8ce5a5079678db2cd2fc8e SHA1 (patch-av) = 7dfccc25c7f764106b61f62f11f92bed0161b4b8 SHA1 (patch-aw) = 03cf4cbeeaeb0f852c072dfb97bbd47c3d627a7c -SHA1 (patch-ax) = 4814683fc21c63c8dc282c8f30466ebbbc7ba349 +SHA1 (patch-ax) = 62ed2e13f8bbd6853d73b3b94bd20dc5690eeba5 diff --git a/x11/gnome-libs/patches/patch-ax b/x11/gnome-libs/patches/patch-ax index 45557de4b18..00364e58d4f 100644 --- a/x11/gnome-libs/patches/patch-ax +++ b/x11/gnome-libs/patches/patch-ax @@ -1,7 +1,7 @@ -$NetBSD: patch-ax,v 1.1 2001/06/16 20:04:52 jlam Exp $ +$NetBSD: patch-ax,v 1.2 2001/09/22 03:39:02 jlam Exp $ --- zvt/Makefile.in.orig Fri Mar 16 14:47:34 2001 -+++ zvt/Makefile.in Sat Jun 16 09:03:34 2001 ++++ zvt/Makefile.in @@ -150,7 +150,7 @@ libzvtincludedir = $(includedir)/zvt @@ -11,3 +11,12 @@ $NetBSD: patch-ax,v 1.1 2001/06/16 20:04:52 jlam Exp $ libzvt_la_SOURCES = gnome-login-support.h gnome-login-support.c lists.c subshell.h subshell.c subshell-includes.h update.c vt.c zvtterm.c +@@ -524,7 +524,7 @@ + + install-exec-local: + -file=$(DESTDIR)$(sbindir)/gnome-pty-helper; \ +- chown root $$file && chgrp root $$file && chmod u+s $$file ++ chown 0 $$file && chgrp 0 $$file && chmod u+s $$file + + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. |