pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/dcc mail/dcc: Add patch to deal with pkgsrc permi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8569de0324e1
branches:  trunk
changeset: 427157:8569de0324e1
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sun Apr 12 15:04:22 2020 +0000

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

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

diffstat:

 mail/dcc/Makefile                         |   5 +++--
 mail/dcc/distinfo                         |   4 ++--
 mail/dcc/patches/patch-homedir_fix-map.in |  19 +++++++++++++++++++
 3 files changed, 24 insertions(+), 4 deletions(-)

diffs (56 lines):

diff -r 5833c7adab46 -r 8569de0324e1 mail/dcc/Makefile
--- a/mail/dcc/Makefile Sun Apr 12 14:41:14 2020 +0000
+++ b/mail/dcc/Makefile Sun Apr 12 15:04:22 2020 +0000
@@ -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
diff -r 5833c7adab46 -r 8569de0324e1 mail/dcc/distinfo
--- a/mail/dcc/distinfo Sun Apr 12 14:41:14 2020 +0000
+++ b/mail/dcc/distinfo Sun Apr 12 15:04:22 2020 +0000
@@ -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 @@
 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 -r 5833c7adab46 -r 8569de0324e1 mail/dcc/patches/patch-homedir_fix-map.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/dcc/patches/patch-homedir_fix-map.in Sun Apr 12 15:04:22 2020 +0000
@@ -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