~cypheon/pkgsrc-wip

pkgsrc-wip/mailman3/patches/patch-src_mailman_config_mailman.cfg -rw-r--r-- 777 bytes
5f1bf4f5 — Johann Rudloff Subst PLIST paths for platform specific files for other architectures 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$NetBSD$

Use pkgsrc FHS-like paths.

--- src/mailman/config/mailman.cfg.orig	2017-02-10 16:58:52.000000000 +0000
+++ src/mailman/config/mailman.cfg
@@ -34,14 +34,14 @@ var_dir: $cwd/var
 [paths.fhs]
 # Filesystem Hiearchy Standard 2.3
 # http://www.pathname.com/fhs/pub/fhs-2.3.html
-bin_dir: /sbin
-var_dir: /var/lib/mailman
-queue_dir: /var/spool/mailman
-log_dir: /var/log/mailman
-lock_dir: /var/lock/mailman
-etc_dir: /etc
-ext_dir: /etc/mailman.d
-pid_file: /var/run/mailman/master.pid
+bin_dir: @PREFIX@/bin
+var_dir: @VARBASE@/lib/mailman
+queue_dir: @VARBASE@/spool/mailman
+log_dir: @VARBASE@/log/mailman
+lock_dir: @VARBASE@/lock/mailman
+etc_dir: @PKG_SYSCONFDIR@
+ext_dir: @PKG_SYSCONFDIR@/mailman.d
+pid_file: @VARBASE@/run/mailman/master.pid
 
 [language.en]