pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/opensmtpd



Module Name:    pkgsrc
Committed By:   vins
Date:           Tue Jan  7 05:24:43 UTC 2025

Modified Files:
        pkgsrc/mail/opensmtpd: Makefile

Log Message:
mail/opensmtpd: fix permissions on chroot dir

Bump revision


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/mail/opensmtpd/Makefile

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

Modified files:

Index: pkgsrc/mail/opensmtpd/Makefile
diff -u pkgsrc/mail/opensmtpd/Makefile:1.29 pkgsrc/mail/opensmtpd/Makefile:1.30
--- pkgsrc/mail/opensmtpd/Makefile:1.29 Thu Dec  5 00:42:34 2024
+++ pkgsrc/mail/opensmtpd/Makefile      Tue Jan  7 05:24:43 2025
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.29 2024/12/05 00:42:34 vins Exp $
+# $NetBSD: Makefile,v 1.30 2025/01/07 05:24:43 vins Exp $
 
 VERSION=       7.6.0p1
+PKGREVISION=   1
 DISTNAME=      opensmtpd-${VERSION}
 CATEGORIES=    mail net
 MASTER_SITES=  https://www.opensmtpd.org/archives/
@@ -12,6 +13,7 @@ LICENSE=      isc AND modified-bsd AND 2-clau
 
 BUILD_DEFS+=   VARBASE
 SMTPD_HOME=    ${VARBASE}/smtpd/empty
+SMTPD_QUEUE=   _smtpq
 
 GNU_CONFIGURE= yes
 USE_DB185=     yes
@@ -64,14 +66,15 @@ DOCDIR=                     ${PREFIX}/share/doc/opensmtpd
 CONF_FILES+=           ${EGDIR}/smtpd.conf ${PKG_SYSCONFDIR}/smtpd.conf
 CONF_FILES+=           ${EGDIR}/aliases ${PKG_SYSCONFDIR}/aliases
 
-OWN_DIRS+=     ${SMTPD_HOME} ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0700
+OWN_DIRS+=             ${SMTPD_HOME}
+OWN_DIRS_PERMS+=       ${SMTPD_HOME} ${REAL_ROOT_USER} ${SMTPD_QUEUE} 0755
 
 INSTALLATION_DIRS+=    share/examples/${PKGBASE}
 INSTALLATION_DIRS+=    share/doc/${PKGBASE}
 
 RCD_SCRIPTS=   opensmtpd
 
-SETUID_ROOT_PERMS?=    ${REAL_ROOT_USER} _smtpq 2555
+SETUID_ROOT_PERMS?=    ${REAL_ROOT_USER} ${SMTPD_QUEUE} 2755
 SPECIAL_PERMS+=                sbin/smtpctl ${SETUID_ROOT_PERMS}
 
 SUBST_CLASSES+=                pkgsrc



Home | Main Index | Thread Index | Old Index