pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/queue-repair



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Tue Jul 24 08:23:00 UTC 2018

Modified Files:
        pkgsrc/mail/queue-repair: Makefile distinfo
Removed Files:
        pkgsrc/mail/queue-repair: MESSAGE

Log Message:
Don't remove top-level symlink to queue (as found in mail/qmail). Run
under Python 3. Honor mk.conf paths, users, and groups for qmail. Set
LICENSE. Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 pkgsrc/mail/queue-repair/MESSAGE
cvs rdiff -u -r1.10 -r1.11 pkgsrc/mail/queue-repair/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/mail/queue-repair/distinfo

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

Modified files:

Index: pkgsrc/mail/queue-repair/Makefile
diff -u pkgsrc/mail/queue-repair/Makefile:1.10 pkgsrc/mail/queue-repair/Makefile:1.11
--- pkgsrc/mail/queue-repair/Makefile:1.10      Sat May 17 16:10:46 2014
+++ pkgsrc/mail/queue-repair/Makefile   Tue Jul 24 08:23:00 2018
@@ -1,18 +1,51 @@
-# $NetBSD: Makefile,v 1.10 2014/05/17 16:10:46 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2018/07/24 08:23:00 schmonz Exp $
 #
 
 DISTNAME=              queue-repair-0.9.0
-PKGREVISION=           6
+PKGREVISION=           7
 CATEGORIES=            mail
 MASTER_SITES=          ${HOMEPAGE}
 
 MAINTAINER=            schmonz%NetBSD.org@localhost
 HOMEPAGE=              http://pyropus.ca/software/queue-repair/
 COMMENT=               Check or correct most corruptions of the queue in qmail
+LICENSE=               gnu-gpl-v2
+
+SYMLINK3_PATCH=                queue-repair-0.9.0-symlink3-20180724.patch
+PATCHFILES+=           ${SYMLINK3_PATCH}
+SITES.${SYMLINK3_PATCH}=https://schmonz.com/qmail/queuerepairsymlink3/
+
+REPLACE_PYTHON=                queue_repair.py
+
+SUBST_CLASSES+=                paths
+SUBST_STAGE.paths=     do-configure
+SUBST_FILES.paths=     queue_repair.py
+SUBST_SED.paths=       -e "s|'/var/qmail'|'${QMAILDIR}'|g"
+
+SUBST_CLASSES+=                users
+SUBST_STAGE.users=     do-configure
+SUBST_FILES.users=     queue_repair.py
+SUBST_SED.users=       -e "s|'alias'|'${QMAIL_ALIAS_USER}'|g"
+SUBST_SED.users+=      -e "s|'qmaild'|'${QMAIL_DAEMON_USER}'|g"
+SUBST_SED.users+=      -e "s|'qmaill'|'${QMAIL_LOG_USER}'|g"
+SUBST_SED.users+=      -e "s|'qmailp'|'${QMAIL_PASSWD_USER}'|g"
+SUBST_SED.users+=      -e "s|'qmailq'|'${QMAIL_QUEUE_USER}'|g"
+SUBST_SED.users+=      -e "s|'qmailr'|'${QMAIL_REMOTE_USER}'|g"
+SUBST_SED.users+=      -e "s|'qmails'|'${QMAIL_SEND_USER}'|g"
+
+SUBST_CLASSES+=                groups
+SUBST_STAGE.groups=    do-configure
+SUBST_FILES.groups=    queue_repair.py
+SUBST_SED.groups=      -e "s|'qmail'|'${QMAIL_QMAIL_GROUP}'|g"
+SUBST_SED.groups+=     -e "s|'nofiles'|'${QMAIL_NOFILES_GROUP}'|g"
+
+BUILD_DEFS+=           QMAILDIR QMAIL_ALIAS_USER QMAIL_DAEMON_USER
+BUILD_DEFS+=           QMAIL_LOG_USER QMAIL_PASSWD_USER QMAIL_QUEUE_USER
+BUILD_DEFS+=           QMAIL_REMOTE_USER QMAIL_SEND_USER
+BUILD_DEFS+=           QMAIL_QMAIL_GROUP QMAIL_NOFILES_GROUP
 
 NO_BUILD=              YES
 
-REPLACE_PYTHON=        queue_repair.py
 INSTALLATION_DIRS=     bin
 
 do-install:

Index: pkgsrc/mail/queue-repair/distinfo
diff -u pkgsrc/mail/queue-repair/distinfo:1.2 pkgsrc/mail/queue-repair/distinfo:1.3
--- pkgsrc/mail/queue-repair/distinfo:1.2       Tue Nov  3 23:27:18 2015
+++ pkgsrc/mail/queue-repair/distinfo   Tue Jul 24 08:23:00 2018
@@ -1,5 +1,9 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 23:27:18 agc Exp $
+$NetBSD: distinfo,v 1.3 2018/07/24 08:23:00 schmonz Exp $
 
+SHA1 (queue-repair-0.9.0-symlink3-20180724.patch) = 621db690a83497967e04631e6e1017b361c167bb
+RMD160 (queue-repair-0.9.0-symlink3-20180724.patch) = 39682df382ebbdd2a5a88a0422dbeb0f1604949e
+SHA512 (queue-repair-0.9.0-symlink3-20180724.patch) = 89277a341341a8dfe8f6c5a440f8414c68a5515d8134bf826acad38d84757285fd358be44ca311995bf3a388db0c5ddb48ed82c31084f24630e1045ca99b0ed1
+Size (queue-repair-0.9.0-symlink3-20180724.patch) = 10205 bytes
 SHA1 (queue-repair-0.9.0.tar.gz) = 123a9034c2fbbda7ca7c193153d67c4837909e56
 RMD160 (queue-repair-0.9.0.tar.gz) = 7634105825299e5d2314c819d7eb3260a3bdb2b3
 SHA512 (queue-repair-0.9.0.tar.gz) = b7c21de207c80c3f764eddae6e60b4d54869f2037f572f98ff4e0a1e34f55ae1feeab5162b4f0f902a5a3c9d631c687057cdfdc4f646d6843d845f31f5b7bf6f



Home | Main Index | Thread Index | Old Index