Hej, I happened to fix a glitch in mail/dcc. This was spotted by Petar after I found that dccifd would not start when it was called without modifications to it’s config and database files. The original patch file for fix-map was somehow never checked into our pkgsrc, so I made up my own. Please feel free to make use of it as you see fit. Cheers Oskar — cvs diff: Diffing . Index: distinfo =================================================================== RCS file: /cvsroot/pkgsrc/mail/dcc/distinfo,v retrieving revision 1.7 diff -u -r1.7 distinfo --- distinfo 28 May 2017 11:50:07 -0000 1.7 +++ distinfo 12 Apr 2020 11:07:27 -0000 @@ -7,4 +7,4 @@ SHA1 (patch-Makefile.inc.in) = a58beebf596bf4ef648a7f5e3202869b474d54a5 SHA1 (patch-configure) = 6510a44febf3004df88e0d67484f0a04d33694c0 SHA1 (patch-homedir_Makefile.in) = 6d01cb4fe1dd3412a50cc419045e3ffdbd3ec07c -SHA1 (patch-homedir_fix-map.in) = 620fe1a7e4d0abdac31f466c9d78f817c5424d17 +SHA1 (patch-homedir_fix-map.in) = ab59b8f0444ba7864eb4a0a946aecaf8f1f841ff cvs diff: Diffing files cvs diff: Diffing patches Index: patches/patch-homedir_fix-map.in =================================================================== RCS file: patches/patch-homedir_fix-map.in diff -N patches/patch-homedir_fix-map.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-homedir_fix-map.in 12 Apr 2020 11:07:27 -0000 @@ -0,0 +1,19 @@ +$NetBSD$ + +fix-map moved into rc-files as start_precmd check and is run as root, +so it is necessary to change the owner of the files created to "dcc". + +--- homedir/fix-map.in.orig 2020-04-12 10:32:38.891198922 +0000 ++++ homedir/fix-map.in +@@ -42,7 +42,10 @@ + set -e + + @NO_SUID@ +-@PKG_MAKE@ ++# ++# PKG_MAKE prevents fix-map from making the necessary permission changes when ++# running dcc* as user dcc and using NetBSD pkgsrc rc scripts. ++# @PKG_MAKE@ + + DCC_HOMEDIR=@prefix@ + CDCC=@bindir@/cdcc
Attachment:
smime.p7s
Description: S/MIME cryptographic signature