pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

opensmtpd: Create /var/empty chroot directory



Module Name:	pkgsrc-wip
Committed By:	Juraj Lutter <otis%NetBSD.org@localhost>
Pushed By:	otis
Date:		Wed Sep 9 12:51:39 2020 +0000
Changeset:	e4096edd76710808e563a17a51e8d1becd34aa50

Modified Files:
	opensmtpd/Makefile

Log Message:
opensmtpd: Create /var/empty chroot directory

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e4096edd76710808e563a17a51e8d1becd34aa50

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 opensmtpd/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diffs:
diff --git a/opensmtpd/Makefile b/opensmtpd/Makefile
index 536335289d..279868fdf6 100644
--- a/opensmtpd/Makefile
+++ b/opensmtpd/Makefile
@@ -44,6 +44,8 @@ CFLAGS.SunOS+=		-D__EXTENSIONS__
 EXAMPLEDIR=	${PREFIX}/share/examples/opensmtpd
 CONF_FILES=	${EXAMPLEDIR}/smtpd.conf ${PKG_SYSCONFDIR}/smtpd.conf
 
+MAKE_DIRS+=     ${VARBASE}/empty ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0700
+
 RCD_SCRIPTS=	opensmtpd
 
 SUBST_CLASSES+=		paths


Home | Main Index | Thread Index | Old Index