Commit graph

11 commits

Author SHA1 Message Date
jnemeth
04f01c205f Update to sendmail 8.14.9: this fixes a minor potential security issue
pkgsrc changes:

- consolidate several patches into site.config.m4
  - pkgsrc LDFLAGS should always be used
- don't bother specifying file owner/group anywhere except in Makefile
- create include/sm/os/sm_os_netbsd.h to fix warnings and OS specific stuff
- install mail.local and rmail
- convert to use res_n* functions
  - allows for linking against threaded libraries
- add a TODO file
- PR/35249 - Loren M. Lang
  - can't find libraries on Linux, this should be fixed by using pkgsrc LDFLAGS
- PR/46694 - Makoto Fujiwara
  - bring back netbsd-proto.mc from when sendmail was part of the base system
- PR/47207 - Richard Palo
  - let pkgsrc infrastructure handle file ownership and group
- PR/48566 - Emmanuel Dreyfus
  - always set _FFR_USE_GETPWNAM_ERRNO on NetBSD
  - roll ffr_tls_1 and the suggested ffr_tls_ec into one new ffr_tls option
    - not enabled by default because it changes behaviour

8.14.9/8.14.9   2014/05/21
        SECURITY: Properly set the close-on-exec flag for file descriptors
                (except stdin, stdout, and stderr) before executing mailers.
        Fix a misformed comment in conf.c: "/*" within comment
                which may cause a compilation error on some systems.
                Problem reported by John Beck of Oracle.
        DEVTOOLS: Fix regression in auto-detection of libraries when only
                shared libraries are available.  Problem reported by
                Bryan Costales.
2014-06-15 20:48:49 +00:00
jnemeth
c7d958e728 Change libmilter to use poll(2) instead of select(2)
unconditionally.  All supported systems should have poll(2).  If
one is found that doesn't then this can be revisited and some way
of making it conditional can be implemented.

     This resolves an issue with applications that have a large
number of open files and want to bump FD_SETSIZE.  Since libmilter
no longer uses select(2), the application is free to monkey with
FD_SETSIZE as it pleases.
2009-12-16 09:46:36 +00:00
jnemeth
cf8719c693 Setup BINOWN/BINGRP/SHAREOWN/SHAREGRP for mail/libmilter's benefit. 2008-03-14 03:02:45 +00:00
tv
be94bcce23 REPLACE_PERL works even if Perl is not registered as a dependency.
So, compile socketmap support in unconditionally (as the Perl scripts
are actually only examples of socketmap functionality; any language can be
used in reality).  Remove socketmap related OPTIONs completely.
2007-01-20 20:08:31 +00:00
tv
a15329a7df Fix thinko in previous that prevented compilation. 2006-10-13 13:58:11 +00:00
tv
bc5d806785 8.13.8nb2:
Don't install .cf files to /etc/mail directly at all; offer a message
about how to install them instead.  Don't create /etc/mail/statistics.
Create mqueue dirs at install via MAKE_DIRS.  Should fix PR pkg/20852.

Make sure SMRSH_CMDDIR gets to the compile defs.  Fixes PR pkg/34513.
2006-10-12 21:04:27 +00:00
jlam
dbc62d966c Fix names of installed manual pages. The PLIST expects that the pages
are named *.[1-9], so force the pkgsrc installation of sendmail to
always install the manual pages with those names on all platforms.
This fixes the problem noted in:

    http://mail-index.netbsd.org/pkgsrc-users/2006/06/07/0007.html
2006-06-08 02:26:32 +00:00
joerg
a2d78aa426 Prefer PATH_MAX over MAXPATHLEN.
Use a better boundary check, which doesn't depend on PATH_MAX >> NAME_MAX.
Both changes are from DragonFly and have been reported upstream.

Install only man pages, not the catpages. The installation was
inconsistent before.

Bump revision. OK from tv@.
2006-06-07 14:48:28 +00:00
markd
6b3f43045b Update to sendmail-8.12.6
Large number of bug fixes and feature enhancements, especially Milter
(Mail Filter) support and by default installation of sendmail does not use
set-user-ID root anymore.
2002-09-23 12:56:57 +00:00
tron
40cf685184 Improve buildlink support by adding the required "-I" and "-L" definitions
only once in "site.config.m4" and not in each configuration file.
2002-06-23 11:46:03 +00:00
itojun
3277c54472 add site.config.m4 files for various configurations 2000-07-24 04:23:02 +00:00