Commit graph

47 commits

Author SHA1 Message Date
lukem
3237cae1b5 Bump pkgrevision (to procmail-3.22nb1), for simonb's memory allocation
fix in patch-af.
Without that patch, the example procmail rules in spamprobe's manual
page will cause procmail to eat your mail, so we should make it obvious...
2004-01-20 03:24:44 +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
abs
99dc4f04cc UNLIMIT_RESOURCES=datasize to fix NetBSD/sparc 1.6ZG build 2004-01-06 18:56:50 +00:00
jlam
6ff48e076b bl3ify 2004-01-05 11:53:39 +00:00
kim
f1e225f085 Change maintainer to myself. 2003-11-03 22:43:37 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +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
jlam
c8c011ee63 Use ${PREFIX}, not ${LOCALBASE}, when referring to own installation prefix.
Also, use ${SH}, not /bin/sh, when invoking the shell from make.
2002-10-21 07:22:10 +00:00
wiz
e8817c9088 Complete standardization of messages according to latest pkglint. 2002-09-24 12:29:55 +00:00
tron
ff2e7b507d Add support for "${PKG_SYSCONFDIR}". The changes were contributed by
Julio Merino in PR pkg/16956.
2002-05-23 19:52:03 +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
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
wiz
1a716ffad8 Update to 3.21. Changes:
- Incorrect prototype broke compilation on Tru64 UNIX
   - INCLUDERC was broken by trying to be fancy and not fully
     succeeding when support for multiple -a options was added
Also set USE_BUILDLINK_ONLY.
2001-06-30 09:33:20 +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
wiz
565fc5f9cc Update to 3.15.1, from Martti Kuparinen via pkg/13257.
Some of the more interesting changes:
- 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
- Fixed a man page formatting problem
2001-06-20 14:08:41 +00:00
agc
b26a4eb88b Move to sha1 digests, and add distfile sizes. 2001-04-20 13:09:54 +00:00
agc
9e8d6c8b8d + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:33:31 +00:00
kim
79cd48683a Forgot to regenerate the patch sums. 2001-04-13 04:19:29 +00:00
kim
60636e9b09 Allow setting TRUSTED_IDS in procmail. 2001-04-13 04:18:33 +00:00
kim
1565b8fced Make the message tell the truth. 2001-04-07 02:01:26 +00:00
kim
00cae3ece0 Add optional setting for placing the default mailbox in the user home dir. 2001-04-07 01:53:23 +00:00
kim
f5c6ebd6fd Removed the post-patch target as it had no effect and just
confuses people (or at least me).
2001-04-06 22:53:15 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
wiz
b979f7222a Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @VARIABLE@, nor @@VARIABLE@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
2001-01-29 11:34:21 +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
veego
14164226af Use ${SH} to run ${WRKSRC}/suid.sh. 2000-08-03 14:42:29 +00:00
simonb
8c547b18d1 Upgrade to procmail 3.14.
Major changes are:
 - Some zero-length extractions using \/ could core dump
 - Missed a couple possible overflows
 - Support delivery to maildir mailboxes
 - Support all styles of mailbox for the mail spool
 - Avoid renaming over old messages in directory folders
 - fsync() mailboxes before closing them
 - Overflows at certain times would confuse procmail
 - Root owned lockfiles aren't bogus

Full list of changes are in procmail-3.14/HISTORY.
2000-07-21 14:10:15 +00:00
wiz
b1b6f049bc removed unnecessary PKGNAME (== DISTNAME) 2000-01-09 01:31:18 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
agc
a66a5e97f2 Add a do-install target for Solaris installations only. 1999-10-06 09:21:11 +00:00
agc
f4d5171de1 Add package patch checksum files. 1999-07-09 14:09:02 +00:00
cjs
487ed724ec Update procmail to 3.13.1. 1999-04-07 02:59:19 +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
hubertf
a5c27ab02e be conservative about SHELL setting, by drochner 1998-11-04 10:36:41 +00:00
agc
05b88260d7 Add NetBSD RCS Ids. 1998-08-07 13:16:49 +00:00
agc
41bfb30737 Add NetBSD RCS Ids. 1998-08-07 11:08:53 +00:00
frueauf
cf35782143 Inform the user where our procmail expects its rc files. 1998-07-25 23:08:24 +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
agc
b0ae9f3a28 Remove MAN<sect> and CAT<sect> definitions from package Makefiles - these
are unnecessary with automatic manual page handling.
1998-06-18 15:25:24 +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
bcf573a5d8 Add "IS_INTERACTIVE= yes" again. 1998-05-07 09:42:43 +00:00
frueauf
49e36ada0b Substitute all obvious FreeBSD ppl as MAINTAINER with packages@netbsd.org. 1998-04-20 11:56:17 +00:00
agc
258b808c9f Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree.
Remove redundant (and sometimes erroneous) comments.
1998-04-15 10:38:15 +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