Commit graph

18 commits

Author SHA1 Message Date
fhajny
1297842c11 Fix the SunOS do-install target to be DESTDIR compatible.
Fix the patch files to contain proper RCS keywords.
2012-03-12 13:22:16 +00:00
joerg
482f8d2fb5 Basic destdir support. From Steven Drake. 2010-01-27 18:14:05 +00:00
smb
b5a173675a Changet getline() to get_line() 2009-07-18 03:15:18 +00:00
tnn
37934bb9a7 Support PKGMANDIR. 2008-03-16 22:05:01 +00:00
joerg
c4101984e8 Fix errno. 2006-01-08 13:43:26 +00:00
simonb
edd8c49bad Pass the size to be reallocated to realloc(), not the address of the
size(!).  Fixes "Out of memory as I tried to allocate N bytes" messages
that I've been seeing.
2004-01-11 06:55:00 +00:00
jschauma
f6220f76ca Make this use ${CHMOD} rather than 'chmod', which may be in different
locations (and thus not even in the PATH), depending on the platform.
This partly adresses PR pkg/19804.
2003-01-20 22:55:43 +00:00
bouyer
62355b0bfa Update to 3.22.
Changes to procmail:
               - Regression bugs from 3.20:
                  - Broke compilation with K&R compilers
                  - procmail -p -m was overridding PATH
                  - maildir delivery included garbage in filenames
                  - Mismatched HOST in last rcfile didn't discard the message
                  - COMSAT wasn't turned off by an rcfile on the command line
               - Catch overly long command line variable assignments
               - If a command expansion is truncated, set PROCMAIL_OVERFLOW
                 and don't trim trailing (really middle) newlines
               - If the comsat host can't be resolved, set COMSAT to "no"
            Some fixes to the man pages
            More paranoia: start to use strlcpy()
            Generate safe temp and maildir filenames when the hostname
               contains / or : by mapping them to \ooo

I've also seen corrupted From lines (missing F) when I upgraded to 3.21.
Someone reported in the Esd-l mailing list (see
http://www.spconnect.com/pipermail/esd-l/
for archives) that 3.22 solved the problem for him.
2001-11-08 12:05:58 +00:00
wiz
b748ce7f08 Update to 3.20. Changes since last version (3.15.1):
Changes to procmail:
   - SECURITY: don't do unsafe things from signal handlers:
      - ignore TRAP when terminating because of a signal
      - resolve the host and protocol of COMSAT when it is set
      - save the absolute path form of $LASTFOLDER for the comsat
        message when it is set
      - only use the log buffer if it's safe
   - Support LMTP for delivery mode (not enabled by default)
   - Preliminary support for using mmap() for `large' messages
     (this doesn't work yet)
   - SWITCHRC=zero-length-file didn't always abort the current
     rcfile
   - A race to create the mailspool would bounce one of the
     messages due to an internal error
   - LC_ in KEEPENV would preserve only the first LC_foo variable
   - Strip runtime linker variables (LD_*) from environment on
     all platforms
   - Drop duplicate and malformed environment entries
   - Multiple -a options will now set $2, $3, etc
   - Command line assignments to INCLUDERC and SWITCHRC no longer
     have any effect
   - Worked around AIX 4.3.3 xlc compiler (incorrect file-scope
     variable initialization)
   - When delivering to a maildir, don't force the message to end
     with an empty line
   - Be more paranoid about leaking information between recipients
   - Unset LOCKFILE if we can't actually lock it
   - Set MAILDIR to '.' if the chdir fails
   - LASTFOLDER was sometimes set by '?' conditions
   - Buffer the log more efficiently
   - Use the `standard' format for maildir filenames and retry
     on name collision
   - Rename by linking to prevent lossage
Changes to lockfile:
   - Include the system mailbox lockfile path in the -v output
   - Resist attempts to use a setuid lockfile command
   - Fix infinite loop on -l, -r, or -s flag with no value.
Documented formail's treatment of >From_ lines as continuations
   of the From_ line and warned of problems caused by non-RFC822
   field names like 'Old-From '
Clarified procmail's treatment of $@ and $#
Fixed a man page formatting problem
Use long, not off_t, with fseek()/ftell()
Increase our paranoia: start to use strlcat()
The default MAILDIR is now configurable separately from the
   default rcfile location
Include an RPM spec file in the examples directory for automated
   builds
Include and use mkinstalldirs
Called nice() when shouldn't have (this time for sure!)
2001-06-29 17:19:07 +00:00
kim
60636e9b09 Allow setting TRUSTED_IDS in procmail. 2001-04-13 04:18:33 +00:00
wiz
977bf50a02 Update to procmail-3.15, inspired by D'Arcy J.M. Cain.
Relevant changes:
- Rewrite folder type parsing: corrects handling of MH and maildir
  style spools
- v3.14 changed '!' actions too much: revert to v3.13 behavior but
  continue to split SENDMAILFLAGS
- Contents of skipped nested blocks could affect 'E', 'e', 'a', and
  'A' flags
- Prevent peeking into buffers on "Out of memory" errors
- Unquoted $\var expansions could alter the interpretation of the
  following whitespace
- Prevent attempts to set LINEBUF to really huge values
- Optimize SWITCHRC = $_
- Use a secure PATH when processing /etc/procmailrc
- Use 2^31-1 as the maximum score even when sizeof(long)>4
Changes to formail:
- Allow -n with -D and -s again -- corruption couldn't happen after
  all
- Don't strip pre-colon whitespace until header is identified
- Properly handle NULs in the body when generating an autoreply that
  keeps the body (could coredump)
General:
- Documented that $\var expansions are never split on whitespace
- Removed ':' and '@' from list of characters that can appear in
  tempfile names
- Called nice() when shouldn't have
2000-08-26 14:26:57 +00:00
cjs
c846125829 Upgrade procmail to 3.13. Move config dir from PREFIX/pkg/etc to /etc, so
that machines sharing /usr do not have to share procmail config file.
1999-04-06 11:48:07 +00:00
agc
41bfb30737 Add NetBSD RCS Ids. 1998-08-07 11:08:53 +00:00
frueauf
4e6f6f7a0f Adjust manpages to reflect where procmail expects the system wide
procmailrcs.
1998-07-09 11:18:53 +00:00
frueauf
1f1bdf4e1b Don't hardcode the etc dir to /usr/local/etc.
Fixes pr 5694 by Mason Loring Bliss.
1998-07-03 14:57:05 +00:00
tron
e1fd931ea6 Perform locking test automatically so that package will compile without
user interaction.
1998-05-07 13:23:14 +00:00
tron
224b9b5d26 Adapt this package to NetBSD. 1998-02-27 23:53:08 +00:00
tron
df3003768d Initial import of FreeBSD's "procmail" port. 1998-02-27 23:11:39 +00:00