pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mail/dcc



Module Name:    pkgsrc
Committed By:   gdt
Date:           Sun Apr 12 15:04:23 UTC 2020

Modified Files:
        pkgsrc/mail/dcc: Makefile distinfo
Added Files:
        pkgsrc/mail/dcc/patches: patch-homedir_fix-map.in

Log Message:
mail/dcc: Add patch to deal with pkgsrc permissions issued

>From Oskar Fessel, apparently with some coordination with Petar.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/mail/dcc/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/mail/dcc/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/dcc/patches/patch-homedir_fix-map.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/dcc/Makefile
diff -u pkgsrc/mail/dcc/Makefile:1.17 pkgsrc/mail/dcc/Makefile:1.18
--- pkgsrc/mail/dcc/Makefile:1.17       Sun Aug 11 13:21:26 2019
+++ pkgsrc/mail/dcc/Makefile    Sun Apr 12 15:04:22 2020
@@ -1,11 +1,12 @@
-# $NetBSD: Makefile,v 1.17 2019/08/11 13:21:26 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2020/04/12 15:04:22 gdt Exp $
 
 DISTNAME=              dcc-1.3.159
-PKGREVISION=           2
+PKGREVISION=           3
 CATEGORIES=            mail
 MASTER_SITES=          https://www.dcc-servers.net/src/dcc/old/
 EXTRACT_SUFX=          .tar.Z
 
+# OWNER_PROXY=         gdt
 OWNER=                 petar%smokva.net@localhost
 HOMEPAGE=              https://www.dcc-servers.net/dcc/
 COMMENT=               Anti-spam content filter

Index: pkgsrc/mail/dcc/distinfo
diff -u pkgsrc/mail/dcc/distinfo:1.7 pkgsrc/mail/dcc/distinfo:1.8
--- pkgsrc/mail/dcc/distinfo:1.7        Sun May 28 11:50:07 2017
+++ pkgsrc/mail/dcc/distinfo    Sun Apr 12 15:04:22 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2017/05/28 11:50:07 maya Exp $
+$NetBSD: distinfo,v 1.8 2020/04/12 15:04:22 gdt Exp $
 
 SHA1 (dcc-1.3.159.tar.Z) = 05be2fdca4484434f25afb7d23e0c17b3e074620
 RMD160 (dcc-1.3.159.tar.Z) = f98e75c224f3a5411e1552e2b6fbab7a80547cf9
@@ -7,4 +7,4 @@ Size (dcc-1.3.159.tar.Z) = 1606625 bytes
 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) = 96f893aa8a77227fd1dd31965999ca47418345a5

Added files:

Index: pkgsrc/mail/dcc/patches/patch-homedir_fix-map.in
diff -u /dev/null pkgsrc/mail/dcc/patches/patch-homedir_fix-map.in:1.1
--- /dev/null   Sun Apr 12 15:04:23 2020
+++ pkgsrc/mail/dcc/patches/patch-homedir_fix-map.in    Sun Apr 12 15:04:22 2020
@@ -0,0 +1,19 @@
+$NetBSD: patch-homedir_fix-map.in,v 1.1 2020/04/12 15:04:22 gdt Exp $
+
+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



Home | Main Index | Thread Index | Old Index