head 1.32; access; symbols pkgsrc-2023Q4:1.32.0.16 pkgsrc-2023Q4-base:1.32 pkgsrc-2023Q3:1.32.0.14 pkgsrc-2023Q3-base:1.32 pkgsrc-2023Q2:1.32.0.12 pkgsrc-2023Q2-base:1.32 pkgsrc-2023Q1:1.32.0.10 pkgsrc-2023Q1-base:1.32 pkgsrc-2022Q4:1.32.0.8 pkgsrc-2022Q4-base:1.32 pkgsrc-2022Q3:1.32.0.6 pkgsrc-2022Q3-base:1.32 pkgsrc-2022Q2:1.32.0.4 pkgsrc-2022Q2-base:1.32 pkgsrc-2022Q1:1.32.0.2 pkgsrc-2022Q1-base:1.32 pkgsrc-2021Q4:1.31.0.8 pkgsrc-2021Q4-base:1.31 pkgsrc-2021Q3:1.31.0.6 pkgsrc-2021Q3-base:1.31 pkgsrc-2021Q2:1.31.0.4 pkgsrc-2021Q2-base:1.31 pkgsrc-2021Q1:1.31.0.2 pkgsrc-2021Q1-base:1.31 pkgsrc-2020Q4:1.30.0.2 pkgsrc-2020Q4-base:1.30 pkgsrc-2020Q3:1.29.0.4 pkgsrc-2020Q3-base:1.29 pkgsrc-2020Q2:1.29.0.2 pkgsrc-2020Q2-base:1.29 pkgsrc-2020Q1:1.27.0.2 pkgsrc-2020Q1-base:1.27 pkgsrc-2019Q4:1.26.0.20 pkgsrc-2019Q4-base:1.26 pkgsrc-2019Q3:1.26.0.16 pkgsrc-2019Q3-base:1.26 pkgsrc-2019Q2:1.26.0.14 pkgsrc-2019Q2-base:1.26 pkgsrc-2019Q1:1.26.0.12 pkgsrc-2019Q1-base:1.26 pkgsrc-2018Q4:1.26.0.10 pkgsrc-2018Q4-base:1.26 pkgsrc-2018Q3:1.26.0.8 pkgsrc-2018Q3-base:1.26 pkgsrc-2018Q2:1.26.0.6 pkgsrc-2018Q2-base:1.26 pkgsrc-2018Q1:1.26.0.4 pkgsrc-2018Q1-base:1.26 pkgsrc-2017Q4:1.26.0.2 pkgsrc-2017Q4-base:1.26 pkgsrc-2017Q3:1.25.0.6 pkgsrc-2017Q3-base:1.25 pkgsrc-2017Q2:1.25.0.2 pkgsrc-2017Q2-base:1.25 pkgsrc-2017Q1:1.24.0.2 pkgsrc-2017Q1-base:1.24 pkgsrc-2016Q4:1.23.0.6 pkgsrc-2016Q4-base:1.23 pkgsrc-2016Q3:1.23.0.4 pkgsrc-2016Q3-base:1.23 pkgsrc-2016Q2:1.23.0.2 pkgsrc-2016Q2-base:1.23 pkgsrc-2016Q1:1.22.0.12 pkgsrc-2016Q1-base:1.22 pkgsrc-2015Q4:1.22.0.10 pkgsrc-2015Q4-base:1.22 pkgsrc-2015Q3:1.22.0.8 pkgsrc-2015Q3-base:1.22 pkgsrc-2015Q2:1.22.0.6 pkgsrc-2015Q2-base:1.22 pkgsrc-2015Q1:1.22.0.4 pkgsrc-2015Q1-base:1.22 pkgsrc-2014Q4:1.22.0.2 pkgsrc-2014Q4-base:1.22 pkgsrc-2014Q3:1.20.0.38 pkgsrc-2014Q3-base:1.20 pkgsrc-2014Q2:1.20.0.36 pkgsrc-2014Q2-base:1.20 pkgsrc-2014Q1:1.20.0.34 pkgsrc-2014Q1-base:1.20 pkgsrc-2013Q4:1.20.0.32 pkgsrc-2013Q4-base:1.20 pkgsrc-2013Q3:1.20.0.30 pkgsrc-2013Q3-base:1.20 pkgsrc-2013Q2:1.20.0.28 pkgsrc-2013Q2-base:1.20 pkgsrc-2013Q1:1.20.0.26 pkgsrc-2013Q1-base:1.20 pkgsrc-2012Q4:1.20.0.24 pkgsrc-2012Q4-base:1.20 pkgsrc-2012Q3:1.20.0.22 pkgsrc-2012Q3-base:1.20 pkgsrc-2012Q2:1.20.0.20 pkgsrc-2012Q2-base:1.20 pkgsrc-2012Q1:1.20.0.18 pkgsrc-2012Q1-base:1.20 pkgsrc-2011Q4:1.20.0.16 pkgsrc-2011Q4-base:1.20 pkgsrc-2011Q3:1.20.0.14 pkgsrc-2011Q3-base:1.20 pkgsrc-2011Q2:1.20.0.12 pkgsrc-2011Q2-base:1.20 pkgsrc-2011Q1:1.20.0.10 pkgsrc-2011Q1-base:1.20 pkgsrc-2010Q4:1.20.0.8 pkgsrc-2010Q4-base:1.20 pkgsrc-2010Q3:1.20.0.6 pkgsrc-2010Q3-base:1.20 pkgsrc-2010Q2:1.20.0.4 pkgsrc-2010Q2-base:1.20 pkgsrc-2010Q1:1.20.0.2 pkgsrc-2010Q1-base:1.20 pkgsrc-2009Q4:1.19.0.28 pkgsrc-2009Q4-base:1.19 pkgsrc-2009Q3:1.19.0.26 pkgsrc-2009Q3-base:1.19 pkgsrc-2009Q2:1.19.0.24 pkgsrc-2009Q2-base:1.19 pkgsrc-2009Q1:1.19.0.22 pkgsrc-2009Q1-base:1.19 pkgsrc-2008Q4:1.19.0.20 pkgsrc-2008Q4-base:1.19 pkgsrc-2008Q3:1.19.0.18 pkgsrc-2008Q3-base:1.19 cube-native-xorg:1.19.0.16 cube-native-xorg-base:1.19 pkgsrc-2008Q2:1.19.0.14 pkgsrc-2008Q2-base:1.19 cwrapper:1.19.0.12 pkgsrc-2008Q1:1.19.0.10 pkgsrc-2008Q1-base:1.19 pkgsrc-2007Q4:1.19.0.8 pkgsrc-2007Q4-base:1.19 pkgsrc-2007Q3:1.19.0.6 pkgsrc-2007Q3-base:1.19 pkgsrc-2007Q2:1.19.0.4 pkgsrc-2007Q2-base:1.19 pkgsrc-2007Q1:1.19.0.2 pkgsrc-2007Q1-base:1.19 pkgsrc-2006Q4:1.17.0.4 pkgsrc-2006Q4-base:1.17 pkgsrc-2006Q3:1.17.0.2 pkgsrc-2006Q3-base:1.17 pkgsrc-2006Q2:1.16.0.2 pkgsrc-2006Q2-base:1.16 pkgsrc-2006Q1:1.15.0.2 pkgsrc-2006Q1-base:1.15 pkgsrc-2005Q4:1.14.0.4 pkgsrc-2005Q4-base:1.14 pkgsrc-2005Q3:1.14.0.2 pkgsrc-2005Q3-base:1.14 pkgsrc-2005Q2:1.11.0.2 pkgsrc-2005Q2-base:1.11 pkgsrc-2005Q1:1.9.0.2 pkgsrc-2005Q1-base:1.9 pkgsrc-2004Q4:1.7.0.4 pkgsrc-2004Q4-base:1.7 pkgsrc-2004Q3:1.7.0.2 pkgsrc-2004Q3-base:1.7 pkgsrc-2004Q2:1.3.0.2 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.32 date 2022.03.01.19.15.38; author schmonz; state Exp; branches; next 1.31; commitid ez50CHOg8xmJZxuD; 1.31 date 2021.01.01.15.07.59; author schmonz; state Exp; branches; next 1.30; commitid xZXZPAwnnKIKf2CC; 1.30 date 2020.11.19.09.35.40; author schmonz; state Exp; branches; next 1.29; commitid iAKfOyec2NWiNtwC; 1.29 date 2020.06.25.05.42.37; author schmonz; state Exp; branches; next 1.28; commitid xPBN1QptNF4rezdC; 1.28 date 2020.05.16.15.25.11; author rillig; state Exp; branches; next 1.27; commitid 1cIknTrdH0BZJt8C; 1.27 date 2020.01.26.17.31.36; author rillig; state Exp; branches; next 1.26; commitid 4fBBvoSLJaGd0eUB; 1.26 date 2017.10.28.15.56.06; author schmonz; state Exp; branches; next 1.25; commitid QCcnGdbr6El1QPcA; 1.25 date 2017.04.27.20.04.22; author schmonz; state Exp; branches; next 1.24; commitid qiTr8ug09zAS7dPz; 1.24 date 2017.01.02.02.19.26; author schmonz; state Exp; branches; next 1.23; commitid 3cNL0VvaXtzJVkAz; 1.23 date 2016.05.17.10.32.07; author fhajny; state Exp; branches; next 1.22; commitid 6I4MSY4qjd2M1P6z; 1.22 date 2014.11.17.02.56.04; author schmonz; state Exp; branches; next 1.21; commitid X1aQq7LxggLM6uYx; 1.21 date 2014.10.09.14.06.40; author wiz; state Exp; branches; next 1.20; commitid fBDATFVmQ3454xTx; 1.20 date 2010.03.15.02.33.28; author schmonz; state Exp; branches; next 1.19; 1.19 date 2007.03.24.07.06.43; author schmonz; state Exp; branches; next 1.18; 1.18 date 2007.01.07.09.13.59; author rillig; state Exp; branches; next 1.17; 1.17 date 2006.08.02.02.36.17; author schmonz; state Exp; branches; next 1.16; 1.16 date 2006.04.22.09.22.11; author rillig; state Exp; branches; next 1.15; 1.15 date 2005.12.29.06.21.53; author jlam; state Exp; branches; next 1.14; 1.14 date 2005.08.24.04.47.10; author schmonz; state Exp; branches; next 1.13; 1.13 date 2005.08.15.12.58.21; author schmonz; state Exp; branches; next 1.12; 1.12 date 2005.07.18.18.28.23; author schmonz; state Exp; branches; next 1.11; 1.11 date 2005.04.11.21.46.23; author tv; state Exp; branches; next 1.10; 1.10 date 2005.03.23.00.51.10; author schmonz; state Exp; branches; next 1.9; 1.9 date 2005.03.13.03.25.44; author schmonz; state Exp; branches; next 1.8; 1.8 date 2004.12.21.00.14.13; author schmonz; state Exp; branches; next 1.7; 1.7 date 2004.08.23.03.30.20; author schmonz; state Exp; branches; next 1.6; 1.6 date 2004.08.22.13.47.28; author schmonz; state Exp; branches; next 1.5; 1.5 date 2004.08.22.13.46.32; author schmonz; state Exp; branches; next 1.4; 1.4 date 2004.07.21.22.53.36; author schmonz; state Exp; branches; next 1.3; 1.3 date 2004.04.21.04.56.25; author snj; state Exp; branches; next 1.2; 1.2 date 2003.08.14.12.20.01; author zuntum; state Exp; branches; next 1.1; 1.1 date 2003.08.14.11.51.02; author zuntum; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2003.08.14.11.51.02; author zuntum; state Exp; branches; next ; desc @@ 1.32 log @Update to the latest upstream git. From the changelog: - Set QMAILPPID for filters to know grandparent PID. Filters can log this information to help sysadmins correlate rejections with qmail-smtpd sessions. - qmail-qfilter.1: Fix typo regarding file descriptor 5, and some spellings and phrasings. - README: Drop the stanza about setting TMPDIR, no longer relevant. - Relicense from gnu-gpl-v2 to unlicense. @ text @# $NetBSD: Makefile,v 1.31 2021/01/01 15:07:59 schmonz Exp $ # DISTNAME= qmail-qfilter-2.1 PKGREVISION= 7 CATEGORIES= mail MASTER_SITES= ${HOMEPAGE} MAINTAINER= schmonz@@NetBSD.org HOMEPAGE= https://untroubled.org/qmail-qfilter/ COMMENT= Multi-filter front end for qmail-queue LICENSE= unlicense DEPENDS+= qmail>=1.03nb9:../../mail/qmail REPLACE_PERL= samples/block-long-dates \ samples/deny-filetypes \ samples/rename-filetypes SUBST_CLASSES+= paths SUBST_STAGE.paths= do-configure SUBST_FILES.paths= qmail-qfilter.c SUBST_SED.paths+= -e 's|/var/qmail|${QMAILDIR}|g' SUBST_MESSAGE.paths= Fixing paths. INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/qmail-qfilter BUILD_DEFS+= QMAILDIR DJB_MAKE_TARGETS= NO BUILD_TARGET= programs .include "../../mk/bsd.prefs.mk" post-extract: ${RM} -f ${WRKSRC}/COPYING do-install: ${INSTALL_PROGRAM} ${WRKSRC}/qmail-qfilter \ ${DESTDIR}${PREFIX}/bin for i in ${REPLACE_PERL}; do \ ${INSTALL_SCRIPT} ${WRKSRC}/$${i} \ ${DESTDIR}${PREFIX}/share/examples/qmail-qfilter; \ done ${INSTALL_MAN} ${WRKSRC}/qmail-qfilter.1 \ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/djbware.mk" .include "../../mk/bsd.pkg.mk" @ 1.31 log @Remove unneeded bglibs dependency. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2020/11/19 09:35:40 schmonz Exp $ d5 1 a5 1 PKGREVISION= 6 d12 1 a12 1 LICENSE= gnu-gpl-v2 d30 1 d34 3 @ 1.30 log @Remove DJB_RESTRICTED, no longer used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2020/06/25 05:42:37 schmonz Exp $ d5 1 a5 1 PKGREVISION= 5 a26 1 INSTALL_ENV+= install_prefix=${DESTDIR:Q} d33 3 a35 1 post-install: d40 2 a42 1 .include "../../devel/bglibs/buildlink3.mk" @ 1.29 log @Retire 'djbware-errno-hack' and associated options.mk cleverness. Instead: 1. Package makefiles including their own options.mk 2. Packages say "SUBST_CLASSES+=djberrno" to get the hack, if needed 3. Packages adjust SUBST_FILES.djberrno, if needed Should fix bulk build failures due to multiple inclusions of options.mk and/or incorrect definitions of DJB_ERRNO_HACK. Approved during the freeze by wiz@@. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2020/05/16 15:25:11 rillig Exp $ a29 1 DJB_RESTRICTED= NO @ 1.28 log @mail/qmail-qfilter: does not have error.h @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2020/01/26 17:31:36 rillig Exp $ a30 1 DJB_ERRNO_HACK= no @ 1.27 log @all: migrate homepages from http to https pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2017/10/28 15:56:06 schmonz Exp $ d31 1 @ 1.26 log @Remove unnecessary special-case TMPDIR handling. Upstream says typical "/tmp" is just fine. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2017/04/27 20:04:22 schmonz Exp $ d10 1 a10 1 HOMEPAGE= http://untroubled.org/qmail-qfilter/ @ 1.25 log @Support user-destdir and custom values of ${QMAIL_DAEMON_USER}. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2017/01/02 02:19:26 schmonz Exp $ d5 1 a5 1 PKGREVISION= 4 a15 2 OWN_DIRS_PERMS+= ${QMAIL_QFILTER_TMPDIR} ${QMAIL_DAEMON_USER} ${REAL_ROOT_GROUP} 700 a22 1 SUBST_SED.paths= -e 's|/tmp|${QMAIL_QFILTER_TMPDIR}|g' d26 1 a26 1 INSTALLATION_DIRS= bin man ${PKGMANDIR}/man1 share/examples/qmail-qfilter d28 1 a28 1 BUILD_DEFS+= QMAILDIR QMAIL_DAEMON_USER QMAIL_QFILTER_TMPDIR @ 1.24 log @Adapt to bglibs 2. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2016/05/17 10:32:07 fhajny Exp $ d16 1 a16 3 PKG_DESTDIR_SUPPORT= destdir OWN_DIRS_PERMS+= ${QMAIL_QFILTER_TMPDIR} qmaild ${REAL_ROOT_GROUP} 700 d31 1 a31 1 BUILD_DEFS+= QMAILDIR QMAIL_QFILTER_TMPDIR @ 1.23 log @Use REAL_ROOT_USER/REAL_ROOT_GROUP instead of ROOT_USER/ROOT_GROUP for all pkgsrc dir/file ownership rules. Fixes unprivileged user/group names from leaking into binary packages, manifest as non-fatal chown/chgrp failure messages at pkg_add time. Bump respective packages' PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2014/11/17 02:56:04 schmonz Exp $ d5 1 a5 1 PKGREVISION= 3 @ 1.22 log @Apply patch (submitted upstream) to set QMAILPPID for filters to know grandparent PID. With this change, I can correlate rejections from my homegrown badrcptto-alike filter with qmail-smtpd sessions. While here, add LICENSE and otherwise placate pkglint. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2014/10/09 14:06:40 wiz Exp $ d5 1 a5 1 PKGREVISION= 2 d18 1 a18 1 OWN_DIRS_PERMS+= ${QMAIL_QFILTER_TMPDIR} qmaild ${ROOT_GROUP} 700 @ 1.21 log @Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2010/03/15 02:33:28 schmonz Exp $ d5 1 a5 1 PKGREVISION= 1 d12 1 a40 1 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/qmail-qfilter @ 1.20 log @DESTDIR support. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2007/03/24 07:06:43 schmonz Exp $ a15 1 PKG_INSTALLATION_TYPES= overwrite pkgviews @ 1.19 log @Quell pkglint: add QMAILDIR and QMAIL_QFILTER_TMPDIR to BUILD_DEFS. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2007/01/07 09:13:59 rillig Exp $ d15 1 d32 1 d41 1 a41 1 ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/qmail-qfilter d44 1 a44 1 ${PREFIX}/share/examples/qmail-qfilter; \ @ 1.18 log @Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with ${PREFIX}/${PKGMANDIR}. Fixes PR 35265, although I did not use the patch provided therein. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2006/08/02 02:36:17 schmonz Exp $ d31 1 @ 1.17 log @Pass the runtime path to bglibs to the linker, now that they're dynamic. Bump PKGREVISION since qmail-qfilter was building but failed to run. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2006/04/22 09:22:11 rillig Exp $ d30 1 a30 1 INSTALLATION_DIRS= bin man man/man1 share/examples/qmail-qfilter @ 1.16 log @Removed the superfluous "quotes" and 'quotes' from variables that don't need them, for example RESTRICTED and SUBST_MESSAGE.*. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2005/12/29 06:21:53 jlam Exp $ d5 1 @ 1.15 log @Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk automatically detects whether we want the pkginstall machinery to be used by the package Makefile. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2005/08/24 04:47:10 schmonz Exp $ d27 1 a27 1 SUBST_MESSAGE.paths= "Fixing paths." @ 1.14 log @Introduce DJB_MAKE_TARGETS boolean, on by default, off in the following packages because they don't use "it" and "setup check" as BUILD_TARGET and INSTALL_TARGET, respectively: devel/bglibs mail/mailfront mail/qmail-qfilter sysutils/memtester sysutils/qlogtools Since there's only one consumer of BGWARE_INSTALLER, and future bgware will use bg-installer from bglibs, move the do-install routine directly into qlogtools. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2005/08/15 12:58:21 schmonz Exp $ a15 1 USE_PKGINSTALL= yes @ 1.13 log @Update to 2.1. From the changelog: - Fixed a bug triggered by a filter modifying the envelope data and changing its length. Thanks Dale Woolridge. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2005/07/18 18:28:23 schmonz Exp $ a31 3 BUILD_TARGET= all INSTALL_TARGET= install d33 1 @ 1.12 log @Let djbware.mk provide paths to bglibs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2005/04/11 21:46:23 tv Exp $ d4 1 a4 1 DISTNAME= qmail-qfilter-2.0 d33 1 a35 1 BGWARE_INSTALLER= YES @ 1.11 log @Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2005/03/23 00:51:10 schmonz Exp $ a35 2 DJB_CONFIG_CMDS= ${ECHO} ${PREFIX}/include/bglibs > ${WRKSRC}/conf-bgincs; DJB_CONFIG_CMDS+= ${ECHO} ${PREFIX}/lib/bglibs > ${WRKSRC}/conf-bglibs @ 1.10 log @Take advantage of mk/djbware.mk. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2005/03/13 03:25:44 schmonz Exp $ a15 1 USE_BUILDLINK3= yes @ 1.9 log @In packages with djb-style compile scripts, properly enquote ${CC} and ${CFLAGS}. This fixes the build of net/djbdns, as well as any other of these packages passing down PKG_SYSCONFDIR via CFLAGS, as well as being more generally correct for arbitrary user-defined CFLAGS. Suggested by jlam. For consistency across djbware in pkgsrc: * In math/djbfft's and sysutils/daemontools's do-configure targets, remove leading @@ from ${ECHO} lines; from the former, also remove unneeded single quotes from one such line. * Rename net/publicfile's pre-build and sysutils/service-config's post-patch targets to do-configure. * In sysutils/checkpassword's do-configure target, reorder creation of conf-cc, conf-ld, and conf-home. All of the affected packages have been verified to compile. XXX These packages probably have enough build goo in common to XXX warrant an mk/djbware.mk. I'll investigate this post-freeze. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2004/12/21 00:14:13 schmonz Exp $ d33 7 d42 1 a42 10 do-configure: ${ECHO} ${CC:Q} ${CFLAGS:Q} > ${WRKSRC}/conf-cc ${ECHO} ${CC:Q} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld ${ECHO} ${PREFIX}/bin > ${WRKSRC}/conf-bin ${ECHO} ${PREFIX}/man > ${WRKSRC}/conf-man ${ECHO} ${PREFIX}/include/bglibs > ${WRKSRC}/conf-bgincs ${ECHO} ${PREFIX}/lib/bglibs > ${WRKSRC}/conf-bglibs do-install: cd ${WRKSRC} && ./installer && ./instcheck d50 1 @ 1.8 log @Update to 2.0. From the changelog: - Added support for modifying the message envelope as well as the body. - If either the body or envelope output is empty, the input is reused as-is. - Export the envelope size, the message size, and the number of recipients to filters through environment variables $ENVSIZE, $MSGSIZE, and $NUMRCPTS respectively. pkgsrc changes: * As suggested by the install docs, use a temporary directory writable only by user qmaild (the user as whom qmail-qfilter typically runs). This can be changed by setting QMAIL_QFILTER_TMPDIR in mk.conf. * Find the qmail-queue binary even if QMAILDIR isn't "/var/qmail". * Add dependency on bglibs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2004/08/23 03:30:20 schmonz Exp $ d36 2 a37 2 ${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc ${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld @ 1.7 log @qmail-qfilter-queue is a script I wrote, not part of qmail-qfilter, so it's moving to qmail-run. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2004/07/21 22:53:36 schmonz Exp $ d4 1 a4 2 DISTNAME= qmail-qfilter-1.5 PKGREVISION= 2 d10 1 a10 1 COMMENT= qmail-queue multi-filter front end d17 2 d24 7 d33 2 d40 2 d51 1 @ 1.6 log @Oops. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2004/08/22 13:46:32 schmonz Exp $ d5 1 a5 1 PKGREVISION= 1 a17 3 USE_PKGINSTALL= yes PKG_SYSCONFSUBDIR= qmail-qfilters MAKE_DIRS+= ${PKG_SYSCONFDIR} a30 4 post-build: @@${SED} ${FILES_SUBST_SED} ${FILESDIR}/qmail-qfilter-queue.sh \ > ${WRKDIR}/qmail-qfilter-queue a32 1 ${INSTALL_SCRIPT} ${WRKDIR}/qmail-qfilter-queue ${PREFIX}/bin @ 1.5 log @Since netqmail hath departed, we have to depend on qmail, even though it may not necessarily have been built with the QMAILQUEUE patch (part of netqmail, or available individually). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2004/07/21 22:53:36 schmonz Exp $ d13 1 a13 1 DEPENDS+= qmail>=1.05nb9:../../mail/qmail @ 1.4 log @Use qmail-qfilter's installer, which wins us a manual page. Add dependency on netqmail (but not qmail, as for pkgsrc purposes this requires the QMAILQUEUE patch). Enable pkgviews installation. Rename post-patch to do-configure, since that's what it's doing. Add a simple script that runs all the filters in ${PKG_SYSCONFDIR} whose filenames match "qfilter-*". Explain how to enable filtering on messages arriving via SMTP using this script. Take MAINTAINER. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2004/04/21 04:56:25 snj Exp $ d13 1 a13 1 DEPENDS+= netqmail>=1.05:../../mail/netqmail @ 1.3 log @Convert to buildlink3. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2003/08/14 12:20:01 zuntum Exp $ d5 1 d7 1 a7 1 MASTER_SITES= http://untroubled.org/qmail-qfilter/ d9 1 a9 1 MAINTAINER= zuntum@@NetBSD.org d13 4 d18 3 d26 3 a28 1 post-patch: d31 6 d39 2 a40 2 ${INSTALL_PROGRAM} ${WRKSRC}/qmail-qfilter ${PREFIX}/bin d42 4 a45 7 ${INSTALL_SCRIPT} ${WRKSRC}/samples/block-long-dates \ ${PREFIX}/share/examples/qmail-qfilter ${INSTALL_SCRIPT} ${WRKSRC}/samples/deny-filetypes \ ${PREFIX}/share/examples/qmail-qfilter ${INSTALL_SCRIPT} ${WRKSRC}/samples/rename-filetypes \ ${PREFIX}/share/examples/qmail-qfilter @ 1.2 log @Make it honour _STRIPFLAG_CC and CFLAGS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2003/08/14 11:51:02 zuntum Exp $ d12 1 a12 1 USE_BUILDLINK2= yes @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d17 4 @ 1.1.1.1 log @Initial import of qmail-qfilter-1.5 This program allows the body of a message to be filtered through a series of filters before being passed to the real qmail-queue program, and injected into the qmail queue. @ text @@