File: 10_config2etc.patch

package info (click to toggle)
alpine 2.26%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 37,288 kB
  • sloc: ansic: 362,764; tcl: 26,297; sh: 4,910; javascript: 3,789; makefile: 1,933; perl: 159; python: 119; xml: 93; exp: 69; sed: 16; cpp: 7
file content (54 lines) | stat: -rw-r--r-- 1,730 bytes parent folder | download | duplicates (3)
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
Description: Updates code and manpage to move pine.conf from /usr/local/lib to /etc.
Forwarded: not-needed

---
 doc/man1/alpine.1 |    6 +++---
 pith/filter.c     |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

--- a/pith/filter.c	2022-06-09 01:10:33.467777255 -0400
+++ b/pith/filter.c	2022-06-09 01:10:33.415777438 -0400
@@ -3144,7 +3144,7 @@
 #endif
 
 #ifndef SYSTEM_PINE_INFO_PATH
-#define SYSTEM_PINE_INFO_PATH "/usr/local/lib/pine.info"
+#define SYSTEM_PINE_INFO_PATH "/etc/pine.info"
 #endif
 #define CHTML_VAR_EXPAND(S) (!strcmp(S, "PINE_INFO_PATH")   \
 			     ? SYSTEM_PINE_INFO_PATH : S)
@@ -7771,7 +7771,7 @@
 		}
 		else if(!strcmp(s, "PINE_CONF_PATH")){
 #if defined(_WINDOWS) || !defined(SYSTEM_PINERC)
-		    p = "/usr/local/lib/pine.conf";
+		    p = "/etc/pine.conf";
 #else
 		    p = SYSTEM_PINERC;
 #endif
@@ -7780,7 +7780,7 @@
 #ifdef SYSTEM_PINERC_FIXED
 		    p = SYSTEM_PINERC_FIXED;
 #else
-		    p = "/usr/local/lib/pine.conf.fixed";
+		    p = "/etc/pine.conf.fixed";
 #endif
 		}
 		else if(!strcmp(s, "PINE_INFO_PATH")){
--- a/doc/man1/alpine.1	2022-06-09 01:10:33.467777255 -0400
+++ b/doc/man1/alpine.1	2022-06-09 01:10:33.415777438 -0400
@@ -342,11 +342,11 @@
 .br
 /etc/mime.types	System-wide file ext. to MIME type mapping
 .br
-/usr/local/lib/pine.info	Local pointer to system administrator.
+/etc/pine.info	Local pointer to system administrator.
 .br
-/usr/local/lib/pine.conf	System-wide configuration file.
+/etc/pine.conf	System-wide configuration file.
 .br
-/usr/local/lib/pine.conf.fixed	 Non-overridable configuration file.
+/etc/pine.conf.fixed	 Non-overridable configuration file.
 .br
 ~/.alpine-smime/ca	Directory that contains Certificate Authority files.
 .br