summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2020-04-12 15:04:22 +0000
committergdt <gdt@pkgsrc.org>2020-04-12 15:04:22 +0000
commitcc00f8ba1e2f5aaec733c5103652b04cb35534c1 (patch)
tree28ce33254f41b3708982b0bfec18fc0ac8d713f2 /mail
parentc0e5320f1a300c161d269cefbc1c349083ea045c (diff)
downloadpkgsrc-cc00f8ba1e2f5aaec733c5103652b04cb35534c1.tar.gz
mail/dcc: Add patch to deal with pkgsrc permissions issued
From Oskar Fessel, apparently with some coordination with Petar.
Diffstat (limited to 'mail')
-rw-r--r--mail/dcc/Makefile5
-rw-r--r--mail/dcc/distinfo4
-rw-r--r--mail/dcc/patches/patch-homedir_fix-map.in19
3 files changed, 24 insertions, 4 deletions
diff --git a/mail/dcc/Makefile b/mail/dcc/Makefile
index c7ae8bca421..f66bbd05419 100644
--- a/mail/dcc/Makefile
+++ b/mail/dcc/Makefile
@@ -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
HOMEPAGE= https://www.dcc-servers.net/dcc/
COMMENT= Anti-spam content filter
diff --git a/mail/dcc/distinfo b/mail/dcc/distinfo
index 7b332ae5ddd..9dee2de8990 100644
--- a/mail/dcc/distinfo
+++ b/mail/dcc/distinfo
@@ -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
diff --git a/mail/dcc/patches/patch-homedir_fix-map.in b/mail/dcc/patches/patch-homedir_fix-map.in
new file mode 100644
index 00000000000..979755a259d
--- /dev/null
+++ b/mail/dcc/patches/patch-homedir_fix-map.in
@@ -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