]> git.pld-linux.org Git - packages/fetchmail.git/commitdiff
- support for HOME_ETC
authorwitekfl <witekfl@pld-linux.org>
Wed, 5 Nov 2003 06:45:56 +0000 (06:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fetchmail-home_etc.patch -> 1.1

fetchmail-home_etc.patch [new file with mode: 0644]

diff --git a/fetchmail-home_etc.patch b/fetchmail-home_etc.patch
new file mode 100644 (file)
index 0000000..4c9a94b
--- /dev/null
@@ -0,0 +1,25 @@
+diff -Nru fetchmail-6.2.5.orig/env.c fetchmail-6.2.5/env.c
+--- fetchmail-6.2.5.orig/env.c Thu Jul 17 03:03:20 2003
++++ fetchmail-6.2.5/env.c      Mon Nov  3 07:51:10 2003
+@@ -107,6 +107,8 @@
+     }
+     /* compute user's home directory */
++              home = getenv("HOME_ETC");
++              if (!home)
+     if (!(home = getenv("HOME")))
+       home = pwp->pw_dir;
+diff -Nru fetchmail-6.2.5.orig/fetchmail.man fetchmail-6.2.5/fetchmail.man
+--- fetchmail-6.2.5.orig/fetchmail.man Wed Oct 15 21:22:31 2003
++++ fetchmail-6.2.5/fetchmail.man      Mon Nov  3 07:57:46 2003
+@@ -2167,6 +2167,9 @@
+ \&.netrc file is looked for in the the invoking user's home directory
+ regardless of FETCHMAILHOME's setting.
++If the HOME_ETC variable is set, file $HOME_ETC/.fetchmailrc is used
++instead of ~/.fetchmailrc.
++
+ .SH SIGNALS
+ If a
+ .I fetchmail
This page took 0.077167 seconds and 4 git commands to generate.