Commit Graph

68 Commits

Author SHA1 Message Date
tron 21a040eb6c Provide a default for "TOOL_M4" so that a manual "make" in
"/usr/share/sendmail/cf" still works.
2003-08-06 17:09:26 +00:00
atatat ccf314363b Move the libmilter headers to where they belong. 2003-07-10 13:07:24 +00:00
lukem 001c68bd94 Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
atatat 3fe5d819ac Enable MILTER support in the in-tree sendmail. This entails
installing two new libraries (and two lint thingys, but no shared or
pic stuff) and two headers files (into /usr/include/milter).

Shared libraries (etc) could be built, but as I'm currently unsure of
the ABI/API stability, I'm going to examine it more closely before
enabling it, as opposed to finding out later that it's volatile and
disabling it.

NOTE!  We really ought to have a generic rc.d script to start the
milters (before sendmail or any other MTA that you have that uses
them), but I haven't finished it yet.  The milter support here is
being enabled to satisfy current popular demand.  I'll come up with a
script soon.  Unless someone feels like beating me to it.  So until
then, you're on your own.
2003-07-04 04:52:59 +00:00
christos 36b76d04a0 there is no need for the afterinstall stuff. 2003-04-03 19:13:31 +00:00
christos ffb515e2dc Don't use suffix rules while building, because the installed sources get
added to ${.ALLSRCS} confusing things.
2003-04-03 19:13:17 +00:00
atatat 1e7fee3c2f Include ../m4/cf.m4 here as well, since all the other mc files do so. 2003-04-01 03:19:19 +00:00
atatat 7bc42aaab1 Put the DIST and .PATH settings back where they were and separate out
the actual mc -> cf build machinery into a small Makefile that we can
(a) include and (b) install instead of the main Makefile (that really
shouldn't be installed in as it is).

Reviewed by lukem.
2003-04-01 03:16:53 +00:00
atatat 7da213dc5f Only set DIST and .PATH if we are actually in the source tree. This
solves the problem of trying to do a "make submit.cf" in the
/usr/share/sendmail/cf directory where make gets confused by the out
of date target in the .PATH, removes it (bad!) and then fails to make
a new submit.cf file.
2003-03-31 20:57:30 +00:00
tron b95a7206b1 Use "DOMAIN(NetBSD.org)" before "MAILER()" statements to activate features
before defining mailers.
2003-03-25 12:01:32 +00:00
tron 0676b7cc12 "confAUTO_REBUILD" is no longer valid, so don't try to define it. 2003-03-25 11:57:26 +00:00
tron a6df592f3f Install "submit.mc". 2003-03-25 11:51:29 +00:00
atatat 2b9ca9cfbe Fix the $NetBSD$ tag. 2003-03-25 03:55:38 +00:00
atatat 28da15dac4 Mail submission program config file template. 2003-03-24 15:15:13 +00:00
atatat da8968cc48 Pull sendmail 8.12.8 to the head, resolve the import conflicts, and
make it build.
2003-03-24 15:03:59 +00:00
pooka 732f4c9fa5 Add ${MACROS} to ${ROFF} usage to make output readable
from jbernard@mines.edu in misc/19685
2003-01-05 12:24:22 +00:00
grant 2f722d4d84 Include DOMAIN(generic) so that various standard configuration items are
included, notably enabling the use of /etc/mail/local-host-names.
2002-09-30 01:27:05 +00:00
lukem 0ac69ffac4 - use NETBSDSRCDIR as appropriate
- makefile lint (moving NOxx to top of file,
  include <bsd.own.mk> as necessary, ...)
2002-09-19 03:09:31 +00:00
lukem 2c1cfc8e8c - in <bsd.files.mk>, don't clear FILES after using it, as that prevents
make -V FILES
  from being useful (and given that every other variable can be
  extracted using make -V, the behaviour was unusually inconsistent
  given that the original reason for clearing it doesn't seem to be
  relevant anymore)
- use <bsd.prog.mk> instead of directly including <bsd.files.mk>
  (and possibly <bsd.man.mk> or <bsd.own.mk>)
- remove obsolete NOPROG
2002-04-24 08:18:45 +00:00
thorpej 2b0761b3c8 Obey USE_YP. 2002-04-10 22:05:47 +00:00
lukem e2311f6fa0 use ${INSTALL_FILE} as appropriate 2002-02-09 09:21:47 +00:00
tv 5b071d154b Conditionally define M4 so it can be used as a host tool. 2002-01-31 19:12:43 +00:00
lukem b0b0a32ad7 Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
Otherwise the appropriate MKxxx=no won't be defined .
2001-12-12 12:24:19 +00:00
tv 8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
tv d20ff568a2 Remove all traces of "aux.m4" so as not to conflict with Microsoft host OS's.
(Since we aren't A/UX, this is not much of a loss for a NetBSD host.)
2001-10-19 02:53:02 +00:00
itojun 731b8156e5 sync with 8.11.4. 2001-05-29 04:18:24 +00:00
itojun c82eaba9eb enable STARTTLS, gshapiro@sendmail says it works just fine on freebsd.
report if there's any problem.
2001-03-21 17:37:11 +00:00
itojun 5b8682b0d6 no longer need to replace relative path in netbsd-proto.mc 2001-02-28 04:16:04 +00:00
itojun b2ba60b861 no longer need to ship IPv4-only sendmail.cf. 2001-01-15 17:57:44 +00:00
itojun ef39bb4e09 pull DaemonPortOptions modifier for "optional address", from
8.12.x change (Modifiers=O).
this will let us use the same sendmail.cf file on IPv4/v6, and IPv4-only
kernels. (we do not really need netbsd-proto-IPv4only.cf any more)
2001-01-15 17:49:25 +00:00
enami 5d9e26fa5b - Use PRINTOBJDIR and .WAIT where appropriate.
- Define PARALLEL in gdb/Makefile since multiple yacc might run.
2001-01-09 08:52:56 +00:00
itojun c732fcc192 upgrade to sendmail 8.11.2. 2001-01-04 12:36:48 +00:00
itojun 752edea055 add STARTTLS handling - commented out for now. someone with knowledge
please test it.
2001-01-04 12:18:49 +00:00
itojun 107490d839 netbsd has strlcpy/strlcat 2000-12-26 13:11:20 +00:00
itojun c9d6668ebc run eqn. PR 11814 2000-12-25 22:39:21 +00:00
simonb 8d8f957b42 Use MKDOC to check for building in the doc subdirectory, not MKSHARE.
If MKSHARE=no, <bsd.own.mk> will set MKDOC=no automatically.
2000-10-23 04:38:38 +00:00
itojun 3e7ebe19d9 sync with sendmail 8.11.1.
added file: /usr/share/sendmail/ostype/solaris8.m4
2000-10-10 11:17:29 +00:00
simonb cd2e1c1e91 Use ${COPY} instead of -c for ${INSTALL} commands. 2000-09-23 13:53:41 +00:00
hubertf 2be9f0470d Fix the path to netbsd-proto-IPv4only.mc in the installed
netbsd-proto.mc file. Suggested by Frederick Bruckman <fb@enteract.com>
2000-08-26 04:24:58 +00:00
hubertf 273a01201a Enable some commonly used features: genericstable, mailertable, virtusertable,
domaintable, access_db and redirect.
2000-08-25 02:54:29 +00:00
hubertf 18e5216ace add that netbsd-proto.cf now depends on netbsd-proto-IPv4only.mc 2000-08-25 02:47:37 +00:00
hubertf 72640eaccd Rewrite: include netbsd-proto-IPv4only.mc, and enable handling of IPv6. 2000-08-25 02:36:23 +00:00
enami 293609abba Allow to override CFDIR from command line. 2000-08-23 10:43:06 +00:00
itojun 97c5ff842d NetBSD has setusercontext() since Feb 2000.
detect it by "1.4Q or more recent" (are there better ways? - it is
not about kernel API...)
2000-08-20 19:37:45 +00:00
itojun 229f25d14b install m4 file for darwin (added in 8.10.x -> 8.11.0) 2000-08-13 16:22:53 +00:00
cgd 988a36fab4 use FILES* rather than an explicit afterinstall target, so that
UNPRIVILEGED is handled correctly w/o local hacks.
2000-07-22 03:30:40 +00:00
cgd fc10dadbb6 use '${MAKE}', not 'make'. 2000-07-07 04:26:57 +00:00
enami 7316fa55ad Pass ${INSTPRIV} to ${INSTALL}. 2000-07-05 03:30:07 +00:00
enami b8df94bd38 - Simplify modifiers.
- Wrap long line.
2000-07-05 03:11:42 +00:00
itojun a7183f656a v4 only sendmail.cf source 2000-07-04 12:21:57 +00:00