[-]
[+]
|
Changed |
dcc.changes
|
|
[-]
[+]
|
Changed |
dcc.spec
^
|
|
[-]
[+]
|
Changed |
dcc-chown.patch
^
|
@@ -1,31 +1,35 @@
---- homedir/make-dcc_conf.in.orig 2012-02-07 21:20:32.197578092 +0100
-+++ homedir/make-dcc_conf.in 2012-02-07 21:21:45.056987237 +0100
-@@ -85,7 +85,7 @@
- chmod 0644 $CUR$FORCE
- if test -n "@DCCSUID@" -a -z "$NO_SUID"; then
- set +e # do not die if the user name is not in the passwd file
-- chown @DCCSUID@ $CUR$FORCE
-+ #chown @DCCSUID@ $CUR$FORCE
- fi
- exit
- fi
---- homedir/fix-map.in.orig 2012-02-07 21:21:33.000755824 +0100
-+++ homedir/fix-map.in 2012-02-07 21:26:36.212986117 +0100
-@@ -193,11 +193,11 @@
+--- homedir/fix-map.in.orig 2019-06-05 14:20:55.000000000 +0200
++++ homedir/fix-map.in 2020-05-08 11:34:23.136792310 +0200
+@@ -169,12 +169,12 @@
+ # make the files private
chmod 0600 $MAPTXT $MAP $IDS
- if test -n "@DCCSUID@" -a -z "$NO_SUID"; then
- set +e # do not die if the user name is not in the passwd file
-- chown @DCCSUID@ $MAPTXT $MAP $IDS $DCC_HOMEDIR $DCC_HOMEDIR/log
+
+-if test -n "@DCCSUID@" -a -z "$NO_SUID$PKG_MAKE" \
+- && id "@DCCSUID@" >/dev/null 2>&1; then
+- chown "@DCCSUID@" $MAPTXT $MAP $IDS $DCC_HOMEDIR $DCC_HOMEDIR/log
- for F in $DCC_HOMEDIR/whiteclnt $DCC_HOMEDIR/dcc_db $DCC_HOMEDIR/grey_db; do
- if test -f $F; then
- chown @DCCSUID@ $F
- fi
- done
-+ #chown @DCCSUID@ $MAPTXT $MAP $IDS $DCC_HOMEDIR $DCC_HOMEDIR/log
+-fi
++#if test -n "@DCCSUID@" -a -z "$NO_SUID$PKG_MAKE" \
++# && id "@DCCSUID@" >/dev/null 2>&1; then
++ #chown "@DCCSUID@" $MAPTXT $MAP $IDS $DCC_HOMEDIR $DCC_HOMEDIR/log
+ #for F in $DCC_HOMEDIR/whiteclnt $DCC_HOMEDIR/dcc_db $DCC_HOMEDIR/grey_db; do
+ #if test -f $F; then
+ # chown @DCCSUID@ $F
+ #fi
+ #done
- set -e
++#fi
+--- homedir/make-dcc_conf.in.orig 2019-05-23 04:35:45.000000000 +0200
++++ homedir/make-dcc_conf.in 2020-05-08 11:31:18.620792658 +0200
+@@ -71,7 +71,7 @@
+ chmod 0644 $CUR$FORCE
+ if test -n "@DCCSUID@" -a -z "$NO_SUID" -a -z "$PKG_MAKE"; then
+ set +e # do not die if the user name is not in the passwd file
+- chown @DCCSUID@ $CUR$FORCE
++ #chown @DCCSUID@ $CUR$FORCE
+ fi
+ exit
fi
|
[-]
[+]
|
Added |
dcc-chown.patch.old
^
|
@@ -0,0 +1,31 @@
+--- homedir/make-dcc_conf.in.orig 2012-02-07 21:20:32.197578092 +0100
++++ homedir/make-dcc_conf.in 2012-02-07 21:21:45.056987237 +0100
+@@ -85,7 +85,7 @@
+ chmod 0644 $CUR$FORCE
+ if test -n "@DCCSUID@" -a -z "$NO_SUID"; then
+ set +e # do not die if the user name is not in the passwd file
+- chown @DCCSUID@ $CUR$FORCE
++ #chown @DCCSUID@ $CUR$FORCE
+ fi
+ exit
+ fi
+--- homedir/fix-map.in.orig 2012-02-07 21:21:33.000755824 +0100
++++ homedir/fix-map.in 2012-02-07 21:26:36.212986117 +0100
+@@ -193,11 +193,11 @@
+ chmod 0600 $MAPTXT $MAP $IDS
+ if test -n "@DCCSUID@" -a -z "$NO_SUID"; then
+ set +e # do not die if the user name is not in the passwd file
+- chown @DCCSUID@ $MAPTXT $MAP $IDS $DCC_HOMEDIR $DCC_HOMEDIR/log
+- for F in $DCC_HOMEDIR/whiteclnt $DCC_HOMEDIR/dcc_db $DCC_HOMEDIR/grey_db; do
+- if test -f $F; then
+- chown @DCCSUID@ $F
+- fi
+- done
++ #chown @DCCSUID@ $MAPTXT $MAP $IDS $DCC_HOMEDIR $DCC_HOMEDIR/log
++ #for F in $DCC_HOMEDIR/whiteclnt $DCC_HOMEDIR/dcc_db $DCC_HOMEDIR/grey_db; do
++ #if test -f $F; then
++ # chown @DCCSUID@ $F
++ #fi
++ #done
+ set -e
+ fi
|
|
Added |
dcc-2.3.167.tar.Z
^
|