aboutsummaryrefslogtreecommitdiffstats
path: root/README.packaging
blob: 50133b46d099db81dbd2be62af1066793a99391b (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
55
56
57
58
59
60
README.packaging
================

fetchmail 6.4 changes relevant for packagers
--------------------------------------------

Greetings, dear packager!

The bullet points below mention a few useful hints for package(r)s:

- Mind the license difficulties around GPL'd software mixing in 
  OpenSSL/SSLeay licensed or Apache licensed code! 
  You cannot use OpenSSL derivative works such as LibreSSL that incur the 
  OpenSSL or SSLeay licensing terms, see COPYING for details.

- Note OpenSSL's license changes between v1.1.1 and v3.0. See COPYING.

- Fetchmail requires OpenSSL or wolfSSL, for details, see README.SSL.
  Fetchmail 6.4 tolerates 1.0.2f for now but assumes the distributor backports
  security fixes for it.  Only link against SSL/TLS library versions

- Your configuration and examples MUST NOT encourage setups running
  fetchmail as the root user.  For system-wide setups, a separate user, 
  possibly in a dedicated group of its own, should be used.
  If you want to support --mda setups that impersonate other users,
  DO NOT suggest or endorse unmaintained software such as procmail.
  Instead, suggest maintained software that supports a "delivery mode",
  for instance, Sam Varshavchik's maildrop (which is part of the Courier-MTA
  and available separately) and which was designed to be installed set-uid.

- Fetchmail uses GNU automake/autoconf and supports all common targets and 
  overrides such as "make install-strip" or "DESTDIR=..." for staging areas.

- The fetchmailconf script is named fetchmailconf.py, automake will install it
  into Python's top-level site-packages directory and byte-compile it (so you
  need to package or remove fetchmailconf.pyc and fetchmailconf.pyo as well).

  > If you want to defeat Python byte-code compilation and would rather like to 
    install fetchmailconf.py yourself, you can add

      PYTHON=:

    to the ./configure command or pass this in the environment.  This pretends 
    to the configure script that no Python interpreter were installed.

- The Makefile generates a two-line "fetchmailconf" /bin/sh wrapper script that 
  executes the actual fetchmailconf.py with the python installation found at 
  configuration time, so that users can still type "fetchmailconf" rather than 
  "python fetchmailconf".

- Note that fetchmailconf.py supports a few command line arguments, so if you 
  use local wrapper scripts, be sure they pass on their own arguments properly. 
  Remember to use "$@" (with quotes) in shells, not $*.

- There is now a dummy fetchmailconf manual page which will just source (roff's 
  ".so" command) the fetchmail manual page for now. You can of course keep your 
  symlinks in place and ignore this dummy. IF you install the dummy and 
  compress your man pages, be sure to test "man fetchmailconf", on some 
  systems, you'll need to adjust the ".so" command to point to the compressed 
  version.