head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.10 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.8 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.6 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.4 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.2 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.2.0.60 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.58 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.56 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.54 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.52 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.50 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.48 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.46 pkgsrc-2008Q1:1.2.0.44 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.42 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.40 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.38 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.36 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.34 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.32 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.30 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.28 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.26 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.24 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.22 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.20 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.18 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.16 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.14 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.12 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.10 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.2.0.6 netbsd-1-6-1-base:1.2 netbsd-1-6:1.2.0.8 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.4 pkgviews-base:1.2 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.2 netbsd-1-5-PATCH001:1.2 netbsd-1-5-RELEASE:1.2 netbsd-1-4-PATCH003:1.2 netbsd-1-4-PATCH002:1.1.1.1 comdex-fall-1999:1.1.1.1 netbsd-1-4-PATCH001:1.1.1.1 netbsd-1-4-RELEASE:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.3 date 2009.11.26.17.04.19; author joerg; state dead; branches; next 1.2; 1.2 date 2000.06.16.23.40.18; author wiz; state Exp; branches; next 1.1; 1.1 date 98.10.21.19.59.30; author garbled; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 98.10.21.19.59.30; author garbled; state Exp; branches; next ; desc @@ 1.3 log @Remove parallel/glunix. It fails in the patch phase on NetBSD 4 and later. After fixing that, it fails with C++ errors, so it couldn't have been build at least for 3 years. Assume noone cares. @ text @$NetBSD: patch-bo,v 1.2 2000/06/16 23:40:18 wiz Exp $ --- progs/glupart/glupart.c.orig Thu Sep 18 17:01:35 1997 +++ progs/glupart/glupart.c Tue Jun 13 14:44:12 2000 @@@@ -1,18 +1,40 @@@@ #include #include #include +#include #include #include #include #include +#if (defined(BSD) && BSD >= 199306) +#include +#include + +#define userId pwp->pw_uid +#define groupId grp->gr_gid +#else #define userId GLUNIX_ACCOUNT /* This is the glunix account */ #define groupId GLUNIX_GROUP /* The glunix group */ +#endif -#define progPath "/usr/now/bin/glupart_script" +#define progPath "%%%NOW_ROOT%%%/bin/glupart_script" int main(int argc, char **argv) { +#if (defined(BSD) && BSD >= 199306) + struct passwd *pwp; + struct group *grp; + + if ((pwp = getpwnam("glunix")) == (struct passwd *) NULL) { + (void) fprintf(stderr, "Error: can't get uid for `%s'\n", "glunix"); + exit(1); + } + if ((grp = getgrnam("glunix")) == (struct group *) NULL) { + (void) fprintf(stderr, "Error: can't get gid for `%s'\n", "glunix"); + exit(1); + } +#endif setegid(groupId); /* setgid(groupId); */ seteuid(userId); @ 1.2 log @Apply patches provided in pkg/10355 by Gabriel Rosenkoetter . Also fix compilation on -current machines after removal of vm/vm_swap.h, and silence a compile time warning. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Initial revision @ text @d3 2 a4 2 --- progs/glupart/glupart.c.orig Thu Sep 18 14:01:35 1997 +++ progs/glupart/glupart.c Thu Apr 9 11:37:35 1998 d27 1 a27 1 +#define progPath "%%%NOW_ROOT%%%/now/bin/glupart_script" @ 1.1.1.1 log @Initial import of glunix-1.0a Thanks to Ross for all the help, and Alistair for fixing some brain damage. A Global Layer Unix for NOW. (Network Of Workstations) @ text @@