mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
Give users a way to alter the sendmail (and related utilities) build
environment so they can enable functionality such as SASL, LDAP, Hesiod.
This commit is contained in:
parent
18a73213ec
commit
cf1fec423a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65970
@ -19,6 +19,12 @@ LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a
|
||||
DPADD+= ${LIBSMUTIL}
|
||||
LDADD+= ${LIBSMUTIL}
|
||||
|
||||
# User customizations to the sendmail build environment
|
||||
CFLAGS+=${SENDMAIL_CFLAGS}
|
||||
LDFLAGS+=${SENDMAIL_LDFLAGS}
|
||||
LDADD+=${SENDMAIL_LDADD}
|
||||
DPADD+=${SENDMAIL_DPADD}
|
||||
|
||||
# If you want to have your rmail queuing the mail only, uncomment the
|
||||
# following:
|
||||
# CFLAGS+= -DQUEUE_ONLY
|
||||
|
@ -269,3 +269,18 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
|
||||
# The list of languages and encodings to build and install
|
||||
#
|
||||
#DOC_LANG= en_US.ISO_8859-1 ru_RU.KOI8-R
|
||||
#
|
||||
#
|
||||
# sendmail
|
||||
# Setting the following variables modifes the build environment for
|
||||
# sendmail and its related utilities. For example, SASL support can be
|
||||
# added with settings such as:
|
||||
#
|
||||
# SENDMAIL_CFLAGS=-I/usr/local/include -DSASL
|
||||
# SENDMAIL_LDFLAGS=-L/usr/local/lib
|
||||
# SENDMAIL_LDADD=-lsasl
|
||||
#
|
||||
#SENDMAIL_CFLAGS=
|
||||
#SENDMAIL_LDFLAGS=
|
||||
#SENDMAIL_LDADD=
|
||||
#SENDMAIL_DPADD=
|
||||
|
@ -6,6 +6,9 @@ SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
|
||||
CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include
|
||||
CFLAGS+=-DNEWDB -DNOT_SENDMAIL
|
||||
|
||||
# User customizations to the sendmail build environment
|
||||
CFLAGS+=${SENDMAIL_CFLAGS}
|
||||
|
||||
LIB= smdb
|
||||
|
||||
SRCS+= smdb.c smdb1.c smdb2.c smndbm.c
|
||||
|
@ -6,6 +6,9 @@ SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
|
||||
CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include
|
||||
CFLAGS+=-DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL
|
||||
|
||||
# User customizations to the sendmail build environment
|
||||
CFLAGS+=${SENDMAIL_CFLAGS}
|
||||
|
||||
LIB= smutil
|
||||
|
||||
SRCS+= debug.c errstring.c lockfile.c safefile.c snprintf.c strl.c
|
||||
|
@ -21,4 +21,10 @@ LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a
|
||||
DPADD+= ${LIBSMUTIL}
|
||||
LDADD+= ${LIBSMUTIL}
|
||||
|
||||
# User customizations to the sendmail build environment
|
||||
CFLAGS+=${SENDMAIL_CFLAGS}
|
||||
LDFLAGS+=${SENDMAIL_LDFLAGS}
|
||||
LDADD+=${SENDMAIL_LDADD}
|
||||
DPADD+=${SENDMAIL_DPADD}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -19,4 +19,10 @@ LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a
|
||||
DPADD+= ${LIBSMUTIL}
|
||||
LDADD+= ${LIBSMUTIL}
|
||||
|
||||
# User customizations to the sendmail build environment
|
||||
CFLAGS+=${SENDMAIL_CFLAGS}
|
||||
LDFLAGS+=${SENDMAIL_LDFLAGS}
|
||||
LDADD+=${SENDMAIL_LDADD}
|
||||
DPADD+=${SENDMAIL_DPADD}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -28,7 +28,7 @@ SRCS= alias.c arpadate.c bf_torek.c clock.c collect.c conf.c control.c \
|
||||
stab.c stats.c sysexits.c timers.c trace.c udb.c usersmtp.c util.c \
|
||||
version.c
|
||||
DPADD= ${LIBUTIL} ${LIBWRAP}
|
||||
LDADD+= -lutil -lwrap
|
||||
LDADD= -lutil -lwrap
|
||||
MAN1= mailq.1 newaliases.1
|
||||
MAN5= aliases.5
|
||||
MAN8= sendmail.8
|
||||
@ -44,6 +44,12 @@ LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a
|
||||
DPADD+= ${LIBSMUTIL}
|
||||
LDADD+= ${LIBSMUTIL}
|
||||
|
||||
# User customizations to the sendmail build environment
|
||||
CFLAGS+=${SENDMAIL_CFLAGS}
|
||||
LDFLAGS+=${SENDMAIL_LDFLAGS}
|
||||
LDADD+=${SENDMAIL_LDADD}
|
||||
DPADD+=${SENDMAIL_DPADD}
|
||||
|
||||
beforeinstall:
|
||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
|
||||
${DESTDIR}/var/log/sendmail.st
|
||||
|
@ -269,3 +269,18 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
|
||||
# The list of languages and encodings to build and install
|
||||
#
|
||||
#DOC_LANG= en_US.ISO_8859-1 ru_RU.KOI8-R
|
||||
#
|
||||
#
|
||||
# sendmail
|
||||
# Setting the following variables modifes the build environment for
|
||||
# sendmail and its related utilities. For example, SASL support can be
|
||||
# added with settings such as:
|
||||
#
|
||||
# SENDMAIL_CFLAGS=-I/usr/local/include -DSASL
|
||||
# SENDMAIL_LDFLAGS=-L/usr/local/lib
|
||||
# SENDMAIL_LDADD=-lsasl
|
||||
#
|
||||
#SENDMAIL_CFLAGS=
|
||||
#SENDMAIL_LDFLAGS=
|
||||
#SENDMAIL_LDADD=
|
||||
#SENDMAIL_DPADD=
|
||||
|
@ -19,4 +19,10 @@ LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a
|
||||
DPADD+= ${LIBSMUTIL}
|
||||
LDADD+= ${LIBSMUTIL}
|
||||
|
||||
# User customizations to the sendmail build environment
|
||||
CFLAGS+=${SENDMAIL_CFLAGS}
|
||||
LDFLAGS+=${SENDMAIL_LDFLAGS}
|
||||
LDADD+=${SENDMAIL_LDADD}
|
||||
DPADD+=${SENDMAIL_DPADD}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -27,4 +27,10 @@ LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a
|
||||
DPADD+= ${LIBSMDB} ${LIBSMUTIL}
|
||||
LDADD+= ${LIBSMDB} ${LIBSMUTIL}
|
||||
|
||||
# User customizations to the sendmail build environment
|
||||
CFLAGS+=${SENDMAIL_CFLAGS}
|
||||
LDFLAGS+=${SENDMAIL_LDFLAGS}
|
||||
LDADD+=${SENDMAIL_LDADD}
|
||||
DPADD+=${SENDMAIL_DPADD}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -27,4 +27,10 @@ LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a
|
||||
DPADD+= ${LIBSMDB} ${LIBSMUTIL}
|
||||
LDADD+= ${LIBSMDB} ${LIBSMUTIL}
|
||||
|
||||
# User customizations to the sendmail build environment
|
||||
CFLAGS+=${SENDMAIL_CFLAGS}
|
||||
LDFLAGS+=${SENDMAIL_LDFLAGS}
|
||||
LDADD+=${SENDMAIL_LDADD}
|
||||
DPADD+=${SENDMAIL_DPADD}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -28,7 +28,7 @@ SRCS= alias.c arpadate.c bf_torek.c clock.c collect.c conf.c control.c \
|
||||
stab.c stats.c sysexits.c timers.c trace.c udb.c usersmtp.c util.c \
|
||||
version.c
|
||||
DPADD= ${LIBUTIL} ${LIBWRAP}
|
||||
LDADD+= -lutil -lwrap
|
||||
LDADD= -lutil -lwrap
|
||||
MAN1= mailq.1 newaliases.1
|
||||
MAN5= aliases.5
|
||||
MAN8= sendmail.8
|
||||
@ -44,6 +44,12 @@ LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a
|
||||
DPADD+= ${LIBSMUTIL}
|
||||
LDADD+= ${LIBSMUTIL}
|
||||
|
||||
# User customizations to the sendmail build environment
|
||||
CFLAGS+=${SENDMAIL_CFLAGS}
|
||||
LDFLAGS+=${SENDMAIL_LDFLAGS}
|
||||
LDADD+=${SENDMAIL_LDADD}
|
||||
DPADD+=${SENDMAIL_DPADD}
|
||||
|
||||
beforeinstall:
|
||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
|
||||
${DESTDIR}/var/log/sendmail.st
|
||||
|
Loading…
Reference in New Issue
Block a user