summaryrefslogtreecommitdiff
path: root/mail/fastforward/patches/patch-ab
blob: ed49147e317bc62177abad668589284bcbdb6f23 (plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
$NetBSD: patch-ab,v 1.4 2017/01/02 03:43:03 schmonz Exp $

Install docs following hier(7), and don't install catpages.

--- hier.c.orig	1998-05-19 16:25:42.000000000 +0000
+++ hier.c
@@ -5,11 +5,12 @@ void hier()
   h(auto_qmail,-1,-1,0755);
 
   d(auto_qmail,"bin",-1,-1,0755);
-  d(auto_qmail,"doc",-1,-1,0755);
-  d(auto_qmail,"doc/fastforward",-1,-1,0755);
-  d(auto_qmail,"man",-1,-1,0755);
-  d(auto_qmail,"man/man1",-1,-1,0755);
-  d(auto_qmail,"man/cat1",-1,-1,0755);
+  d(auto_qmail,"share",-1,-1,0755);
+  d(auto_qmail,"share/doc",-1,-1,0755);
+  d(auto_qmail,"share/doc/qmail",-1,-1,0755);
+  d(auto_qmail,"share/doc/qmail/fastforward",-1,-1,0755);
+  d(auto_qmail,"@PKGMANDIR@",-1,-1,0755);
+  d(auto_qmail,"@PKGMANDIR@/man1",-1,-1,0755);
 
   c(auto_qmail,"bin","fastforward",-1,-1,0755);
   c(auto_qmail,"bin","printforward",-1,-1,0755);
@@ -19,21 +20,13 @@ void hier()
   c(auto_qmail,"bin","setmaillist",-1,-1,0755);
   c(auto_qmail,"bin","newinclude",-1,-1,0755);
 
-  c(auto_qmail,"doc/fastforward","ALIASES",-1,-1,0644);
+  c(auto_qmail,"share/doc/qmail/fastforward","ALIASES",-1,-1,0644);
 
-  c(auto_qmail,"man/man1","fastforward.1",-1,-1,0644);
-  c(auto_qmail,"man/man1","printforward.1",-1,-1,0644);
-  c(auto_qmail,"man/man1","setforward.1",-1,-1,0644);
-  c(auto_qmail,"man/man1","newaliases.1",-1,-1,0644);
-  c(auto_qmail,"man/man1","printmaillist.1",-1,-1,0644);
-  c(auto_qmail,"man/man1","setmaillist.1",-1,-1,0644);
-  c(auto_qmail,"man/man1","newinclude.1",-1,-1,0644);
-
-  c(auto_qmail,"man/cat1","fastforward.0",-1,-1,0644);
-  c(auto_qmail,"man/cat1","printforward.0",-1,-1,0644);
-  c(auto_qmail,"man/cat1","setforward.0",-1,-1,0644);
-  c(auto_qmail,"man/cat1","newaliases.0",-1,-1,0644);
-  c(auto_qmail,"man/cat1","printmaillist.0",-1,-1,0644);
-  c(auto_qmail,"man/cat1","setmaillist.0",-1,-1,0644);
-  c(auto_qmail,"man/cat1","newinclude.0",-1,-1,0644);
+  c(auto_qmail,"@PKGMANDIR@/man1","fastforward.1",-1,-1,0644);
+  c(auto_qmail,"@PKGMANDIR@/man1","printforward.1",-1,-1,0644);
+  c(auto_qmail,"@PKGMANDIR@/man1","setforward.1",-1,-1,0644);
+  c(auto_qmail,"@PKGMANDIR@/man1","newaliases.1",-1,-1,0644);
+  c(auto_qmail,"@PKGMANDIR@/man1","printmaillist.1",-1,-1,0644);
+  c(auto_qmail,"@PKGMANDIR@/man1","setmaillist.1",-1,-1,0644);
+  c(auto_qmail,"@PKGMANDIR@/man1","newinclude.1",-1,-1,0644);
 }