diff options
author | lioux <lioux@FreeBSD.org> | 2002-09-23 22:17:35 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-09-23 22:17:35 +0800 |
commit | f3637f7e4ac91559bdc2fe8eff2114ed1829cc4e (patch) | |
tree | 7b6d30bc2faad6cd896234d0b14968bb37f64e73 | |
parent | c02b6943bc09fa9e8efca50e2c464306855bf8aa (diff) | |
download | freebsd-ports-gnome-f3637f7e4ac91559bdc2fe8eff2114ed1829cc4e.tar.gz freebsd-ports-gnome-f3637f7e4ac91559bdc2fe8eff2114ed1829cc4e.tar.zst freebsd-ports-gnome-f3637f7e4ac91559bdc2fe8eff2114ed1829cc4e.zip |
distcc was not working with group id 0
PR: 42980
Noticed by: Juan Salaverria <rael@vectorstar.net>
Submitted by: maintainer
Obtained from: distcc CVS
-rw-r--r-- | devel/distcc/Makefile | 1 | ||||
-rw-r--r-- | devel/distcc/files/patch-src::daemon.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/devel/distcc/Makefile b/devel/distcc/Makefile index fa6e750c9c8a..d446f291d18a 100644 --- a/devel/distcc/Makefile +++ b/devel/distcc/Makefile @@ -7,6 +7,7 @@ PORTNAME= distcc PORTVERSION= 0.10.1 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://distcc.samba.org/ftp/distcc/ diff --git a/devel/distcc/files/patch-src::daemon.c b/devel/distcc/files/patch-src::daemon.c new file mode 100644 index 000000000000..e88efad2a8ae --- /dev/null +++ b/devel/distcc/files/patch-src::daemon.c @@ -0,0 +1,11 @@ +--- src/daemon.c.orig Mon Sep 23 11:15:29 2002 ++++ src/daemon.c Mon Sep 23 11:15:37 2002 +@@ -170,7 +170,7 @@ + int dcc_refuse_root(void) + { + /* Just be careful */ +- if (getuid() == 0 || geteuid() == 0 || getgid() == 0 || getegid() == 0) { ++ if (getuid() == 0 || geteuid() == 0) { + rs_log_crit("distccd must not be run as root!"); + return EXIT_DISTCC_FAILED; + } |