pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/qgreylist



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Thu Sep 25 16:41:29 UTC 2025

Modified Files:
        pkgsrc/mail/qgreylist: Makefile PLIST
Added Files:
        pkgsrc/mail/qgreylist/files: README.pkgsrc
Removed Files:
        pkgsrc/mail/qgreylist: MESSAGE

Log Message:
qgreylist: move MESSAGE to README.pkgsrc. Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r0 pkgsrc/mail/qgreylist/MESSAGE
cvs rdiff -u -r1.26 -r1.27 pkgsrc/mail/qgreylist/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/mail/qgreylist/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/qgreylist/files/README.pkgsrc

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

Modified files:

Index: pkgsrc/mail/qgreylist/Makefile
diff -u pkgsrc/mail/qgreylist/Makefile:1.26 pkgsrc/mail/qgreylist/Makefile:1.27
--- pkgsrc/mail/qgreylist/Makefile:1.26 Tue Jun 28 11:34:33 2022
+++ pkgsrc/mail/qgreylist/Makefile      Thu Sep 25 16:41:29 2025
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.26 2022/06/28 11:34:33 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2025/09/25 16:41:29 schmonz Exp $
 
 DISTNAME=              qgreylist-0.3
-PKGREVISION=           12
+PKGREVISION=           13
 CATEGORIES=            mail
-#MASTER_SITES=         ${HOMEPAGE}
+MASTER_SITES=          ${HOMEPAGE}
 
 MAINTAINER=            schmonz%NetBSD.org@localhost
-#HOMEPAGE=             http://www.jonatkins.com/page/software/qgreylist
+HOMEPAGE=              https://web.archive.org/web/20170701214830/https://jonatkins.com/page/software/qgreylist/
 COMMENT=               Simple greylisting for qmail
 LICENSE=               mit
 
@@ -26,17 +26,26 @@ REPLACE_PERL=               greylist
 PKG_SYSCONFSUBDIR=     qmail
 
 SUBST_CLASSES+=                qmaildirs
-SUBST_STAGE.qmaildirs= do-configure
-SUBST_FILES.qmaildirs= greylist
+SUBST_STAGE.qmaildirs= pre-configure
+SUBST_FILES.qmaildirs= greylist README.pkgsrc
 SUBST_SED.qmaildirs=   -e 's|/var/qmail/greylist|${PKG_SYSCONFDIR}/greylist|g'
 SUBST_SED.qmaildirs+=  -e 's|/var/qmail/whitelist|${PKG_SYSCONFDIR}/whitelist|g'
 SUBST_SED.qmaildirs+=  -e 's|/var/qmail|${QMAILDIR}|g'
+SUBST_VARS.qmaildirs=  PREFIX RCD_SCRIPTS_DIR
 
-INSTALLATION_DIRS=     bin share/doc/qgreylist
+#SUBST_CLASSES+=               paths
+#SUBST_STAGE.paths=    pre-configure
+#SUBST
+
+INSTALLATION_DIRS=     bin share/doc/${PKGBASE}
 BUILD_DEFS+=           QMAILDIR
 
+post-extract:
+       ${CP} ${FILESDIR}/README.pkgsrc ${WRKSRC}/
+
 do-install:
-       ${INSTALL_SCRIPT} ${WRKSRC}/greylist ${DESTDIR}${PREFIX}/bin/qgreylist
-       ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/qgreylist
+       ${INSTALL_SCRIPT} ${WRKSRC}/greylist ${DESTDIR}${PREFIX}/bin/${PKGBASE}
+       ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/
+       ${INSTALL_DATA} ${WRKSRC}/README.pkgsrc ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/
 
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/mail/qgreylist/PLIST
diff -u pkgsrc/mail/qgreylist/PLIST:1.3 pkgsrc/mail/qgreylist/PLIST:1.4
--- pkgsrc/mail/qgreylist/PLIST:1.3     Sun Jun 14 18:04:40 2009
+++ pkgsrc/mail/qgreylist/PLIST Thu Sep 25 16:41:29 2025
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:04:40 joerg Exp $
+@comment $NetBSD: PLIST,v 1.4 2025/09/25 16:41:29 schmonz Exp $
 bin/qgreylist
 share/doc/qgreylist/README
+share/doc/qgreylist/README.pkgsrc

Added files:

Index: pkgsrc/mail/qgreylist/files/README.pkgsrc
diff -u /dev/null pkgsrc/mail/qgreylist/files/README.pkgsrc:1.1
--- /dev/null   Thu Sep 25 16:41:29 2025
+++ pkgsrc/mail/qgreylist/files/README.pkgsrc   Thu Sep 25 16:41:29 2025
@@ -0,0 +1,6 @@
+ Basic configuration
+ ===================
+
+To enable qgreylist:
+- Set qmailsmtpd_presmtpd="@PREFIX@/bin/qgreylist" in /etc/rc.conf.
+- Run "@RCD_SCRIPTS_DIR@/qmailsmtpd restart".



Home | Main Index | Thread Index | Old Index