Commit Graph

221 Commits

Author SHA1 Message Date
heas
571ff43dba New files from 2.4.5 2007-08-02 08:29:04 +00:00
tls
4147a3c54a Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry.  RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros.  Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default.  Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
2007-05-28 12:06:17 +00:00
heas
6967b3455a Changes for PFIX 2.4.1 2007-05-19 18:39:11 +00:00
heas
2ad3ac5978 Changes for PFIX 2.4.1 2007-05-19 18:08:54 +00:00
christos
f6e9654266 add -Wno-stack-protector because of the CMSG macro lossage. 2006-11-09 21:40:20 +00:00
wiz
df07ad58a8 Install aliases(5) from postfix, since the sendmail one is gone,
but we refer to it from various other man pages.
2006-09-19 20:10:22 +00:00
rpaulo
2e90509055 Install postfix-manuals.html. 2006-08-14 21:35:38 +00:00
rpaulo
840793ef61 Enable Dovecot SASL support in smtpd.
Discussed with Perry.
2006-07-20 01:00:52 +00:00
rpaulo
a320656c9d Include libxsasl. 2006-07-19 23:53:11 +00:00
rpaulo
05fa0e9730 update for postfix 2.3.0 2006-07-19 17:43:23 +00:00
rpaulo
7c9edc22f1 framework for postfix 2.3.0 2006-07-19 02:04:43 +00:00
perry
713a76184e explain why the ordering of MAN= is like it is. 2006-05-31 13:51:48 +00:00
perry
567aeb1815 To make vdiffs for imports simpler, follow the pattern of the original
Makefile.in for listing the files to be installed.

No functional change at all.

Also, remove a spurious tab from after the MLINKS= line
2006-05-31 13:45:46 +00:00
tron
bc543810da Install mailq(1) and newaliases(1) as links to sendmail(1). 2006-05-31 03:06:47 +00:00
tron
a36ebd2187 Install manual pages mailq(1), newaliases(1) and sendmail(1) to replace
the removed sendmail manual pages.
2006-05-30 19:32:28 +00:00
christos
2cbaed172f Remove sendmail. 2006-05-30 00:42:29 +00:00
rpaulo
0f3bfedda4 Add AAAREADME and DB_README. Keep html files in sync. 2006-04-22 16:04:25 +00:00
christos
2aa11212e6 Remove qmqpd again. perry will fix postfix set-permissions 2006-04-17 19:18:59 +00:00
christos
f24c5c7519 Add qmqpd 2006-04-17 16:15:40 +00:00
christos
2ab3510195 Add qmqpd. 2006-04-17 16:11:20 +00:00
christos
cb5d0e69e7 Coverity CID 1199: Unchecked open. 2006-03-29 15:55:57 +00:00
christos
391f06d4af Coverity CID 2785: Fix memory leak. 2006-03-29 15:53:20 +00:00
christos
072667be1c Coverity CID 114: If we did not find any symbol table entries, return an
error.
2006-03-26 23:00:35 +00:00
christos
9a25d0519d Coverity CID 115: Don't leak memory 2006-03-26 22:58:44 +00:00
dbj
8000972bbe . Have dbsym explicitly suggest increasing SYMTAB_SPACE when
an overflow occurs.
   . Make this error a fatal build time error
   . Move the support for dbsym into the MI Makefile.kern.inc,
     conditional upon the SYMTAB_SPACE option being defined in
     the kernel config file.
2005-11-24 12:54:29 +00:00
jmc
16d1b947b8 Build ncdcs on everything. Allows better set sharing (and we don't exclude
other 'system specific' binaries from other builds ala sunlabel, etc)
2005-10-27 17:39:35 +00:00
rpaulo
53a26667ef Install /usr/share/doc/html/postfix/postfix-logo.jpg too since
HTML documentation needs it.

Discussed with Perry E. Metzger.
2005-10-10 15:34:30 +00:00
he
e0b1e3f66d As discussed on source-changes, fix the library specification:
o Add ${LIBSSL} to the DPADD list, it was missing
 o Use -lcrypto and not ${LIBCRYPTO} in LDADD+=
 o Reorder libraries so -lssl comes before -lcrypto
 o Let the postfix libraries and the system libraries have their own
   LDADD+= and DPADD+= lines (this one wasn't discussed)
2005-09-04 22:11:20 +00:00
he
26122ef59f Add libcrypto for the benefit of sun2. 2005-08-21 23:00:12 +00:00
he
1ad3b58c59 We need libcrypto here as well for the benefit of sun2. 2005-08-21 22:56:05 +00:00
he
802a809508 LIBCRYPTO is also needed, fixes build on sun2 (static link only, so far). 2005-08-21 20:26:39 +00:00
rpaulo
ff69469b26 Adapted to the new Postfix 2.2.5.
Reviewed by Perry E. Metzger.
2005-08-18 22:30:36 +00:00
lukem
5760da6393 appease gcc -Wuninitialized 2005-06-01 15:12:18 +00:00
atatat
bf9c8c87f6 resolve conflicts, pull 8.13.3 to head, make it build 2005-03-15 02:14:15 +00:00
christos
ceb0805a9b Add -lcrypt where -lcrypto is specified. 2005-03-09 03:11:21 +00:00
lukem
7157011597 Only compile in IPv6 support if ${USE_INET6} != "no"
MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2005-01-10 02:58:58 +00:00
lukem
9624ff4ee6 add postconf.5.html OVERVIEW.html 2004-09-07 23:56:08 +00:00
lukem
dce1aace09 Revert previous, per Perry's request (maintainer of postfix in NetBSD) 2004-09-07 23:53:22 +00:00
lukem
11e341bed2 add postconf(5) 2004-09-07 23:51:50 +00:00
lukem
a1e01ef943 Revert previous, per Perry's request (maintainer of postfix in NetBSD) 2004-09-07 23:50:32 +00:00
lukem
e58e6ec148 add postconf.5.html OVERVIEW.html. style cleanup 2004-09-04 22:53:35 +00:00
lukem
336311d0ad style cleanup (alpha sort list, reformat comments) 2004-09-04 22:28:26 +00:00
lukem
6be90f72e3 add postconf(5). style cleanup (alpha sort list, reformat comments) 2004-09-04 22:22:26 +00:00
lukem
ee7fcfe0f4 style cleanup (alpha sort list, reformat comments) 2004-09-04 22:16:48 +00:00
atatat
89fc8be761 Change the default settings for sendmail.
(1) The stock sendmail.cf will only listen on the loopback interface.
(2) The stock submit.cf specifally connects to "localhost." which
    should be less susceptible to being confused or looking confused.
(3) The smtp listener starts by default, if needed.  The setting in
    /etc/default/rc.conf is still "no", but rc.d/sendmail detects the
    default setting and will change it to yes if need is determined.

Need is defined as "nothing else seems to have been changed about the
mail configuration but we'd like locally originated and locally
destined mail to be delivered".  If you change, eg, mailer.conf to
point to postfix or some other MTA, sendmail will not start.
2004-07-15 03:47:18 +00:00
heas
f88c21e7a7 trace.8 duplicated in MAN variable, overriding the MLINK instance.
Pointed out by Denis Lagno.
2004-06-08 23:30:00 +00:00
heas
5d235dc495 Override a few config variables so postconf(1) has them correct. 2004-05-31 03:54:20 +00:00
lukem
b817247988 Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and
setting NOLINT, NOPIC, NOPROFILE (etc)
2004-05-23 02:24:50 +00:00
lukem
ee04d88971 Consistently use CONFIGFILES & CONFIGLINKS (which enable the 'configinstall'
target) instead of using home-grown 'distribution' targets or using
FILES with the 'install' target.
Add some etc/ subdir Makefiles where appropriate.

XXX: some of etc/Makefile install-etc-files could be converted to CONFIGFILES.
2004-05-16 09:53:09 +00:00
heas
58c6b4341a Add readmes &/ obsoletes that I missed.
Noted by Lubomir Sedlacik.
2004-04-27 15:35:55 +00:00