summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2016-02-08 18:41:46 +0000
committergjb <gjb@FreeBSD.org>2016-02-08 18:41:46 +0000
commit9c4919c1d49f0bc1da343d16725ad0281a4ca878 (patch)
tree6840b98eb5095e86f34f28d965c83f984b003f94
parent769bb0eeec4aeacc42ae6c3059ef8bfe83547286 (diff)
downloadFreeBSD-src-9c4919c1d49f0bc1da343d16725ad0281a4ca878.zip
FreeBSD-src-9c4919c1d49f0bc1da343d16725ad0281a4ca878.tar.gz
Create a package for sendmail(8).
Sponsored by: The FreeBSD Foundation
-rw-r--r--etc/Makefile6
-rw-r--r--etc/rc.d/Makefile6
-rw-r--r--lib/libmilter/Makefile2
-rw-r--r--lib/libsm/Makefile2
-rw-r--r--libexec/mail.local/Makefile1
-rw-r--r--usr.sbin/sendmail/Makefile1
6 files changed, 14 insertions, 4 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 60dda7a..3de8f97 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -139,8 +139,12 @@ BIN1+= pf.os
.endif
.if ${MK_SENDMAIL} != "no"
-BIN1+= rc.sendmail
+FILESGROUPS+= SENDMAILRC
+SENDMAILRC= rc.sendmail
.endif
+SENDMAILRCDIR= /etc
+SENDMAILRCMODE= ${BINMODE}
+SENDMAILRCPACKAGE=sendmail
.if ${MK_TCSH} != "no"
BIN1+= csh.cshrc csh.login csh.logout
diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile
index 31cffcd..d0660fb8 100644
--- a/etc/rc.d/Makefile
+++ b/etc/rc.d/Makefile
@@ -296,8 +296,12 @@ FILES+= routed
.endif
.if ${MK_SENDMAIL} != "no"
-FILES+= sendmail
+FILESGROUPS+= SMRCD
+SMRCD= sendmail
.endif
+SMRCDDIR= /etc/rc.d
+SMRCDDIRMODE= ${BINMODE}
+SMRCDPACKAGE= sendmail
.if ${MK_TIMED} != "no"
FILES+= timed
diff --git a/lib/libmilter/Makefile b/lib/libmilter/Makefile
index 2cb2694..88a80b7 100644
--- a/lib/libmilter/Makefile
+++ b/lib/libmilter/Makefile
@@ -2,7 +2,7 @@
.include <src.opts.mk>
-PACKAGE=lib${LIB}
+PACKAGE=sendmail
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
.PATH: ${SENDMAIL_DIR}/libmilter ${SENDMAIL_DIR}/libsm
diff --git a/lib/libsm/Makefile b/lib/libsm/Makefile
index af28314..9840092 100644
--- a/lib/libsm/Makefile
+++ b/lib/libsm/Makefile
@@ -2,7 +2,7 @@
.include <src.opts.mk>
-PACKAGE=lib${LIB}
+PACKAGE=sendmail
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
.PATH: ${SENDMAIL_DIR}/libsm
diff --git a/libexec/mail.local/Makefile b/libexec/mail.local/Makefile
index 79844e8..6b4256f 100644
--- a/libexec/mail.local/Makefile
+++ b/libexec/mail.local/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 7/19/93
# $FreeBSD$
+PACKAGE=sendmail
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
.PATH: ${SENDMAIL_DIR}/mail.local
diff --git a/usr.sbin/sendmail/Makefile b/usr.sbin/sendmail/Makefile
index f9641c1..d7246cb 100644
--- a/usr.sbin/sendmail/Makefile
+++ b/usr.sbin/sendmail/Makefile
@@ -3,6 +3,7 @@
.include <src.opts.mk>
+PACKAGE=sendmail
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
SMDIR= ${SENDMAIL_DIR}/src
.PATH: ${SMDIR}
OpenPOWER on IntegriCloud