Commit graph

68 commits

Author SHA1 Message Date
rillig
b381c6e2f3 Sort PLIST files.
Unsorted entries in PLIST files have generated a pkglint warning for at
least 12 years. Somewhat more recently, pkglint has learned to sort
PLIST files automatically. Since pkglint 5.4.23, the sorting is only
done in obvious, simple cases. These have been applied by running:

  pkglint -Cnone,PLIST -Wnone,plist-sort -r -F
2018-01-01 22:29:15 +00:00
snj
708dd5c260 procmail: Fix CVE-2017-16844
Patch from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876511

Bump PKGREVISION
2017-11-26 20:39:40 +00:00
agc
ddbf6ddecd Add SHA512 digests for distfiles for mail category
Problems found locating distfiles:
	Package mutt: missing distfile patch-1.5.24.rr.compressed.gz
	Package p5-Email-Valid: missing distfile Email-Valid-1.198.tar.gz
	Package pine: missing distfile fancy.patch.gz
	Package postgrey: missing distfile targrey-0.31-postgrey-1.34.patch
	Package qmail: missing distfile badrcptto.patch
	Package qmail: missing distfile outgoingip.patch
	Package qmail: missing distfile qmail-1.03-realrcptto-2006.12.10.patch
	Package qmail: missing distfile qmail-smtpd-viruscan-1.3.patch
	Package thunderbird24: missing distfile enigmail-1.7.2.tar.gz
	Package thunderbird31: missing distfile enigmail-1.7.2.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 23:27:00 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
wiz
2b1f9949b3 Fix CVE-2014-3618.
https://bugzilla.redhat.com/show_bug.cgi?id=1121299

While here:
Convert to user-destdir by using pkgsrc setuid framework.
Add comments to some patches.

Bump PKGREVISION.
2014-09-04 07:37:44 +00:00
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
sbd
8b1d1e04b8 The infinite loop noted in PR#30999 is cause by inlining functions on
any system, so inline functions should alway be disabled.
2011-10-31 22:58:45 +00:00
joerg
482f8d2fb5 Basic destdir support. From Steven Drake. 2010-01-27 18:14:05 +00:00
heinz
f63b157751 Added LICENSE information. 2010-01-21 17:41:06 +00:00
smb
b5a173675a Changet getline() to get_line() 2009-07-18 03:15:18 +00:00
rillig
61c7cf362d Removed redundant .gz suffix for man pages. 2009-06-12 19:09:35 +00:00
tnn
37934bb9a7 Support PKGMANDIR. 2008-03-16 22:05:01 +00:00
gdt
e972492b5c Add MAKE_JOBS_SAFE=no. 2008-02-08 03:14:18 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
rillig
2829e658f2 Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
2007-01-07 09:13:46 +00:00
joerg
c4101984e8 Fix errno. 2006-01-08 13:43:26 +00:00
jlam
fb9673b887 Apply hack noted in PR pkg/30999 -- turn off inline functions when
compiling in order to fix an infinite loop error on Solaris.

Bump the PKGREVISION to 2.
2005-12-23 04:36:45 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
jlam
81edaaa606 Create directories before installing files into them. 2005-06-16 06:57:37 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
8758983939 Add RMD160 digests. 2005-02-24 09:59:20 +00:00
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