summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2018-11-10 16:42:52 +0000
committerschmonz <schmonz@pkgsrc.org>2018-11-10 16:42:52 +0000
commit90935ce525c12d5487caa3097141528325bdae3b (patch)
tree7133f5701176094a73a7621ca5542ce6b9a67fb2 /mail
parent6c5842e69cfb4cdeaf0edac8bf368fef3ec58037 (diff)
downloadpkgsrc-90935ce525c12d5487caa3097141528325bdae3b.tar.gz
Move patches long since non-optional out of options.mk.
Diffstat (limited to 'mail')
-rw-r--r--mail/qmail/Makefile52
-rw-r--r--mail/qmail/options.mk52
2 files changed, 52 insertions, 52 deletions
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile
index 27440ecb743..37f7ea17026 100644
--- a/mail/qmail/Makefile
+++ b/mail/qmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.101 2018/11/10 15:29:01 schmonz Exp $
+# $NetBSD: Makefile,v 1.102 2018/11/10 16:42:52 schmonz Exp $
#
DISTNAME= netqmail-1.06
@@ -139,6 +139,56 @@ PKG_HOME.alias= ${QMAILDIR}/alias
READMES= README.pkgsrc
+# Record all patches applied, starting with the non-optional ones:
+QMAILPATCHES= netqmail:${DEFAULT_DISTFILES}
+
+QMAILPATCHES+= tls:${TLSREMOTE_PATCH}
+TLSREMOTE_PATCH= netqmail-1.06-tls-20160918-onlyremote-20181107.patch
+PATCHFILES+= ${TLSREMOTE_PATCH}
+SITES.${TLSREMOTE_PATCH}= https://schmonz.com/qmail/tlsonlyremote/
+
+QMAILPATCHES+= bigdns:${BIGDNS_PATCH}
+BIGDNS_PATCH= qmail-103.patch
+PATCHFILES+= ${BIGDNS_PATCH}
+SITES.${BIGDNS_PATCH}= http://www.ckdhr.com/ckd/
+SITES.${BIGDNS_PATCH}+= ${MASTER_SITE_LOCAL}
+PATCH_DIST_STRIP.${BIGDNS_PATCH}=-p1
+
+QMAILPATCHES+= destdir:${DESTDIR_PATCH}
+DESTDIR_PATCH= netqmail-1.06-destdir-20170716.patch
+PATCHFILES+= ${DESTDIR_PATCH}
+SITES.${DESTDIR_PATCH}= https://schmonz.com/qmail/destdir/
+
+QMAILPATCHES+= maildiruniq:${MAILDIRUNIQ_PATCH}
+MAILDIRUNIQ_PATCH= qmail-1.03-maildir-uniq.patch
+PATCHFILES+= ${MAILDIRUNIQ_PATCH}
+SITES.${MAILDIRUNIQ_PATCH}= http://www.memoryhole.net/qmail/
+PATCH_DIST_STRIP.${MAILDIRUNIQ_PATCH}=-p1
+
+QMAILPATCHES+= outgoingip:${OUTGOINGIP_PATCH}
+OUTGOINGIP_PATCH= outgoingip.patch
+PATCHFILES+= ${OUTGOINGIP_PATCH}
+SITES.${OUTGOINGIP_PATCH}= http://www.qmail.org/
+
+QMAILPATCHES+= qbiffutmpx:${QBIFFUTMPX_PATCH}
+QBIFFUTMPX_PATCH= netqmail-1.06-qbiffutmpx-20170820.patch
+PATCHFILES+= ${QBIFFUTMPX_PATCH}
+SITES.${QBIFFUTMPX_PATCH}= https://schmonz.com/qmail/qbiffutmpx/
+
+QMAILPATCHES+= remote:${REMOTE_PATCH}
+REMOTE_PATCH= netqmail-1.06-qmailremote-20170716.patch
+PATCHFILES+= ${REMOTE_PATCH}
+SITES.${REMOTE_PATCH}= https://schmonz.com/qmail/remote/
+
+QMAILPATCHES+= spp:${SPP_PATCH}
+SPP_PATCH= qmail-spp-0.42.tar.gz
+PATCHFILES+= ${SPP_PATCH}
+SITES.${SPP_PATCH}= ${MASTER_SITE_SOURCEFORGE:=qmail-spp/}
+PATCH_DIST_CAT.${SPP_PATCH}= ${TAR} -zxOf ${SPP_PATCH} ./qmail-spp-0.42/netqmail-spp.diff \
+ | ${SED} -e 's|sppfok \!= 1|sppfok == -1|'
+PATCH_DIST_STRIP.${SPP_PATCH}= -p1
+LICENSE+= AND gnu-gpl-v2
+
post-extract:
for i in ${READMES}; do \
${CP} ${FILESDIR}/$$i ${WRKSRC} || ${TRUE}; \
diff --git a/mail/qmail/options.mk b/mail/qmail/options.mk
index b2ea646eb0f..3ed35cb2684 100644
--- a/mail/qmail/options.mk
+++ b/mail/qmail/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.58 2018/11/10 16:27:18 schmonz Exp $
+# $NetBSD: options.mk,v 1.59 2018/11/10 16:42:52 schmonz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.qmail
PKG_SUPPORTED_OPTIONS+= eai inet6 pam syncdir tls
@@ -6,56 +6,6 @@ PKG_SUPPORTED_OPTIONS+= qmail-customerror qmail-srs
PKG_SUGGESTED_OPTIONS+= eai syncdir tls
PKG_SUGGESTED_OPTIONS+= qmail-customerror qmail-srs
-# Formerly optional patches, now unconditionally applied:
-QMAILPATCHES= netqmail:${DEFAULT_DISTFILES}
-
-QMAILPATCHES+= tls:${TLSREMOTE_PATCH}
-TLSREMOTE_PATCH= netqmail-1.06-tls-20160918-onlyremote-20181107.patch
-PATCHFILES+= ${TLSREMOTE_PATCH}
-SITES.${TLSREMOTE_PATCH}= https://schmonz.com/qmail/tlsonlyremote/
-
-QMAILPATCHES+= bigdns:${BIGDNS_PATCH}
-BIGDNS_PATCH= qmail-103.patch
-PATCHFILES+= ${BIGDNS_PATCH}
-SITES.${BIGDNS_PATCH}= http://www.ckdhr.com/ckd/
-SITES.${BIGDNS_PATCH}+= ${MASTER_SITE_LOCAL}
-PATCH_DIST_STRIP.${BIGDNS_PATCH}=-p1
-
-QMAILPATCHES+= destdir:${DESTDIR_PATCH}
-DESTDIR_PATCH= netqmail-1.06-destdir-20170716.patch
-PATCHFILES+= ${DESTDIR_PATCH}
-SITES.${DESTDIR_PATCH}= https://schmonz.com/qmail/destdir/
-
-QMAILPATCHES+= maildiruniq:${MAILDIRUNIQ_PATCH}
-MAILDIRUNIQ_PATCH= qmail-1.03-maildir-uniq.patch
-PATCHFILES+= ${MAILDIRUNIQ_PATCH}
-SITES.${MAILDIRUNIQ_PATCH}= http://www.memoryhole.net/qmail/
-PATCH_DIST_STRIP.${MAILDIRUNIQ_PATCH}=-p1
-
-QMAILPATCHES+= outgoingip:${OUTGOINGIP_PATCH}
-OUTGOINGIP_PATCH= outgoingip.patch
-PATCHFILES+= ${OUTGOINGIP_PATCH}
-SITES.${OUTGOINGIP_PATCH}= http://www.qmail.org/
-
-QMAILPATCHES+= qbiffutmpx:${QBIFFUTMPX_PATCH}
-QBIFFUTMPX_PATCH= netqmail-1.06-qbiffutmpx-20170820.patch
-PATCHFILES+= ${QBIFFUTMPX_PATCH}
-SITES.${QBIFFUTMPX_PATCH}= https://schmonz.com/qmail/qbiffutmpx/
-
-QMAILPATCHES+= remote:${REMOTE_PATCH}
-REMOTE_PATCH= netqmail-1.06-qmailremote-20170716.patch
-PATCHFILES+= ${REMOTE_PATCH}
-SITES.${REMOTE_PATCH}= https://schmonz.com/qmail/remote/
-
-QMAILPATCHES+= spp:${SPP_PATCH}
-SPP_PATCH= qmail-spp-0.42.tar.gz
-PATCHFILES+= ${SPP_PATCH}
-SITES.${SPP_PATCH}= ${MASTER_SITE_SOURCEFORGE:=qmail-spp/}
-PATCH_DIST_CAT.${SPP_PATCH}= ${TAR} -zxOf ${SPP_PATCH} ./qmail-spp-0.42/netqmail-spp.diff \
- | ${SED} -e 's|sppfok \!= 1|sppfok == -1|'
-PATCH_DIST_STRIP.${SPP_PATCH}= -p1
-LICENSE+= AND gnu-gpl-v2
-
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Meai)