pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/php-dmarc-srg



Module Name:    pkgsrc
Committed By:   taca
Date:           Tue Jun  4 04:18:18 UTC 2024

Modified Files:
        pkgsrc/mail/php-dmarc-srg: Makefile

Log Message:
mail/php-dmarc-srg: fix config file handling

Make sure to install config file to proper directory.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/mail/php-dmarc-srg/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/php-dmarc-srg/Makefile
diff -u pkgsrc/mail/php-dmarc-srg/Makefile:1.2 pkgsrc/mail/php-dmarc-srg/Makefile:1.3
--- pkgsrc/mail/php-dmarc-srg/Makefile:1.2      Tue Jun  4 01:05:07 2024
+++ pkgsrc/mail/php-dmarc-srg/Makefile  Tue Jun  4 04:18:18 2024
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2024/06/04 01:05:07 taca Exp $
+# $NetBSD: Makefile,v 1.3 2024/06/04 04:18:18 taca Exp $
 
 DISTNAME=      dmarc-srg-${GITHUB_RELEASE}
 PKGNAME=       ${PHP_PKG_PREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    mail
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=liuch/}
 GITHUB_PROJECT=        dmarc-srg
@@ -31,8 +32,8 @@ WEBDIR=               share/${PHP_PKG_PREFIX}/${WEBBA
 EGDIR=         share/examples/${PHP_PKG_PREFIX}/${WEBBASE}
 
 INSTALLATION_DIRS+=    ${WEBDIR}/config ${EGDIR}
-CONF_FILES_PERMS+=     ${EGDIR}/conf.php ${WEBDIR}/config/conf.php \
-                       ${BINOWN} ${APACHE_GROUP} 0640
+OWN_DIRS_PERMS+=       ${WEBDIR}/config ${REAL_ROOT_USER} ${APACHE_GROUP} 0750
+CONF_FILES+=           ${EGDIR}/conf.php ${WEBDIR}/config/conf.php
 PLIST_SUBST+=          EGDIR=${EGDIR} WEBDIR=${WEBDIR}
 PRINT_PLIST_AWK+=      /^${EGDIR:S|/|\\/|g}/ \
                        { gsub(/${EGDIR:S|/|\\/|g}/, "$${EGDIR}") }



Home | Main Index | Thread Index | Old Index