head 1.56; access; symbols pkgsrc-2023Q4:1.56.0.8 pkgsrc-2023Q4-base:1.56 pkgsrc-2023Q3:1.56.0.6 pkgsrc-2023Q3-base:1.56 pkgsrc-2023Q2:1.56.0.4 pkgsrc-2023Q2-base:1.56 pkgsrc-2023Q1:1.56.0.2 pkgsrc-2023Q1-base:1.56 pkgsrc-2022Q4:1.54.0.14 pkgsrc-2022Q4-base:1.54 pkgsrc-2022Q3:1.54.0.12 pkgsrc-2022Q3-base:1.54 pkgsrc-2022Q2:1.54.0.10 pkgsrc-2022Q2-base:1.54 pkgsrc-2022Q1:1.54.0.8 pkgsrc-2022Q1-base:1.54 pkgsrc-2021Q4:1.54.0.6 pkgsrc-2021Q4-base:1.54 pkgsrc-2021Q3:1.54.0.4 pkgsrc-2021Q3-base:1.54 pkgsrc-2021Q2:1.54.0.2 pkgsrc-2021Q2-base:1.54 pkgsrc-2021Q1:1.53.0.10 pkgsrc-2021Q1-base:1.53 pkgsrc-2020Q4:1.53.0.8 pkgsrc-2020Q4-base:1.53 pkgsrc-2020Q3:1.53.0.6 pkgsrc-2020Q3-base:1.53 pkgsrc-2020Q2:1.53.0.4 pkgsrc-2020Q2-base:1.53 pkgsrc-2020Q1:1.53.0.2 pkgsrc-2020Q1-base:1.53 pkgsrc-2019Q4:1.52.0.4 pkgsrc-2019Q4-base:1.52 pkgsrc-2019Q3:1.51.0.2 pkgsrc-2019Q3-base:1.51 pkgsrc-2019Q2:1.50.0.14 pkgsrc-2019Q2-base:1.50 pkgsrc-2019Q1:1.50.0.12 pkgsrc-2019Q1-base:1.50 pkgsrc-2018Q4:1.50.0.10 pkgsrc-2018Q4-base:1.50 pkgsrc-2018Q3:1.50.0.8 pkgsrc-2018Q3-base:1.50 pkgsrc-2018Q2:1.50.0.6 pkgsrc-2018Q2-base:1.50 pkgsrc-2018Q1:1.50.0.4 pkgsrc-2018Q1-base:1.50 pkgsrc-2017Q4:1.50.0.2 pkgsrc-2017Q4-base:1.50 pkgsrc-2017Q3:1.49.0.26 pkgsrc-2017Q3-base:1.49 pkgsrc-2017Q2:1.49.0.22 pkgsrc-2017Q2-base:1.49 pkgsrc-2017Q1:1.49.0.20 pkgsrc-2017Q1-base:1.49 pkgsrc-2016Q4:1.49.0.18 pkgsrc-2016Q4-base:1.49 pkgsrc-2016Q3:1.49.0.16 pkgsrc-2016Q3-base:1.49 pkgsrc-2016Q2:1.49.0.14 pkgsrc-2016Q2-base:1.49 pkgsrc-2016Q1:1.49.0.12 pkgsrc-2016Q1-base:1.49 pkgsrc-2015Q4:1.49.0.10 pkgsrc-2015Q4-base:1.49 pkgsrc-2015Q3:1.49.0.8 pkgsrc-2015Q3-base:1.49 pkgsrc-2015Q2:1.49.0.6 pkgsrc-2015Q2-base:1.49 pkgsrc-2015Q1:1.49.0.4 pkgsrc-2015Q1-base:1.49 pkgsrc-2014Q4:1.49.0.2 pkgsrc-2014Q4-base:1.49 pkgsrc-2014Q3:1.48.0.2 pkgsrc-2014Q3-base:1.48 pkgsrc-2014Q2:1.47.0.20 pkgsrc-2014Q2-base:1.47 pkgsrc-2014Q1:1.47.0.18 pkgsrc-2014Q1-base:1.47 pkgsrc-2013Q4:1.47.0.16 pkgsrc-2013Q4-base:1.47 pkgsrc-2013Q3:1.47.0.14 pkgsrc-2013Q3-base:1.47 pkgsrc-2013Q2:1.47.0.12 pkgsrc-2013Q2-base:1.47 pkgsrc-2013Q1:1.47.0.10 pkgsrc-2013Q1-base:1.47 pkgsrc-2012Q4:1.47.0.8 pkgsrc-2012Q4-base:1.47 pkgsrc-2012Q3:1.47.0.6 pkgsrc-2012Q3-base:1.47 pkgsrc-2012Q2:1.47.0.4 pkgsrc-2012Q2-base:1.47 pkgsrc-2012Q1:1.47.0.2 pkgsrc-2012Q1-base:1.47 pkgsrc-2011Q4:1.46.0.2 pkgsrc-2011Q4-base:1.46 pkgsrc-2011Q3:1.45.0.14 pkgsrc-2011Q3-base:1.45 pkgsrc-2011Q2:1.45.0.12 pkgsrc-2011Q2-base:1.45 pkgsrc-2011Q1:1.45.0.10 pkgsrc-2011Q1-base:1.45 pkgsrc-2010Q4:1.45.0.8 pkgsrc-2010Q4-base:1.45 pkgsrc-2010Q3:1.45.0.6 pkgsrc-2010Q3-base:1.45 pkgsrc-2010Q2:1.45.0.4 pkgsrc-2010Q2-base:1.45 pkgsrc-2010Q1:1.45.0.2 pkgsrc-2010Q1-base:1.45 pkgsrc-2009Q4:1.43.0.4 pkgsrc-2009Q4-base:1.43 pkgsrc-2009Q3:1.43.0.2 pkgsrc-2009Q3-base:1.43 pkgsrc-2009Q2:1.42.0.16 pkgsrc-2009Q2-base:1.42 pkgsrc-2009Q1:1.42.0.14 pkgsrc-2009Q1-base:1.42 pkgsrc-2008Q4:1.42.0.12 pkgsrc-2008Q4-base:1.42 pkgsrc-2008Q3:1.42.0.10 pkgsrc-2008Q3-base:1.42 cube-native-xorg:1.42.0.8 cube-native-xorg-base:1.42 pkgsrc-2008Q2:1.42.0.6 pkgsrc-2008Q2-base:1.42 cwrapper:1.42.0.4 pkgsrc-2008Q1:1.42.0.2 pkgsrc-2008Q1-base:1.42 pkgsrc-2007Q4:1.41.0.8 pkgsrc-2007Q4-base:1.41 pkgsrc-2007Q3:1.41.0.6 pkgsrc-2007Q3-base:1.41 pkgsrc-2007Q2:1.41.0.4 pkgsrc-2007Q2-base:1.41 pkgsrc-2007Q1:1.41.0.2 pkgsrc-2007Q1-base:1.41 pkgsrc-2006Q4:1.39.0.10 pkgsrc-2006Q4-base:1.39 pkgsrc-2006Q3:1.39.0.8 pkgsrc-2006Q3-base:1.39 pkgsrc-2006Q2:1.39.0.6 pkgsrc-2006Q2-base:1.39 pkgsrc-2006Q1:1.39.0.4 pkgsrc-2006Q1-base:1.39 pkgsrc-2005Q4:1.39.0.2 pkgsrc-2005Q4-base:1.39 pkgsrc-2005Q3:1.37.0.4 pkgsrc-2005Q3-base:1.37 pkgsrc-2005Q2:1.37.0.2 pkgsrc-2005Q2-base:1.37 pkgsrc-2005Q1:1.35.0.10 pkgsrc-2005Q1-base:1.35 pkgsrc-2004Q4:1.35.0.8 pkgsrc-2004Q4-base:1.35 pkgsrc-2004Q3:1.35.0.6 pkgsrc-2004Q3-base:1.35 pkgsrc-2004Q2:1.35.0.4 pkgsrc-2004Q2-base:1.35 pkgsrc-2004Q1:1.35.0.2 pkgsrc-2004Q1-base:1.35 pkgsrc-2003Q4:1.32.0.2 pkgsrc-2003Q4-base:1.32 netbsd-1-6-1:1.29.0.2 netbsd-1-6-1-base:1.29 netbsd-1-6:1.27.0.6 netbsd-1-6-RELEASE-base:1.27 pkgviews:1.27.0.2 pkgviews-base:1.27 buildlink2:1.26.0.2 buildlink2-base:1.27 netbsd-1-5-PATCH003:1.26 netbsd-1-5-PATCH001:1.22 netbsd-1-5-RELEASE:1.17 netbsd-1-4-PATCH003:1.17 netbsd-1-4-PATCH002:1.14 comdex-fall-1999:1.13 netbsd-1-4-PATCH001:1.12 netbsd-1-4-RELEASE:1.12 netbsd-1-3-PATCH003:1.9 netbsd-1-3-PATCH002:1.6 FreeBSD-current-1998-02-26:1.1.1.1 FREEBSD:1.1.1; locks; strict; comment @# @; 1.56 date 2023.03.01.13.37.26; author gdt; state Exp; branches; next 1.55; commitid LF6AzpHpE1xioqfE; 1.55 date 2023.03.01.13.14.24; author gdt; state Exp; branches; next 1.54; commitid KByjiOHYwIDogqfE; 1.54 date 2021.04.25.05.55.54; author wiz; state Exp; branches; next 1.53; commitid QzYrgqPjRvL9xDQC; 1.53 date 2020.01.07.13.47.41; author kim; state Exp; branches; next 1.52; commitid DCHnRP6z6BBCnLRB; 1.52 date 2019.11.02.16.25.26; author rillig; state Exp; branches; next 1.51; commitid 07isqwBcIbu6niJB; 1.51 date 2019.07.09.15.46.42; author riastradh; state Exp; branches; next 1.50; commitid FeMABOJYCC7bTnuB; 1.50 date 2017.11.26.20.39.40; author snj; state Exp; branches; next 1.49; commitid fuoWCqNh7XmXsAgA; 1.49 date 2014.10.09.14.06.40; author wiz; state Exp; branches 1.49.26.1; next 1.48; commitid fBDATFVmQ3454xTx; 1.48 date 2014.09.04.07.37.44; author wiz; state Exp; branches; next 1.47; commitid V3DnC2ilybiu20Px; 1.47 date 2012.03.12.13.22.16; author fhajny; state Exp; branches; next 1.46; 1.46 date 2011.10.31.22.58.45; author sbd; state Exp; branches; next 1.45; 1.45 date 2010.01.27.18.14.05; author joerg; state Exp; branches; next 1.44; 1.44 date 2010.01.21.17.41.07; author heinz; state Exp; branches; next 1.43; 1.43 date 2009.07.18.03.15.18; author smb; state Exp; branches; next 1.42; 1.42 date 2008.02.08.03.14.18; author gdt; state Exp; branches; next 1.41; 1.41 date 2007.02.22.19.26.42; author wiz; state Exp; branches; next 1.40; 1.40 date 2007.01.07.09.13.59; author rillig; state Exp; branches; next 1.39; 1.39 date 2005.12.23.04.36.45; author jlam; state Exp; branches; next 1.38; 1.38 date 2005.12.05.20.50.35; author rillig; state Exp; branches; next 1.37; 1.37 date 2005.06.16.06.58.08; author jlam; state Exp; branches; next 1.36; 1.36 date 2005.04.11.21.46.22; author tv; state Exp; branches; next 1.35; 1.35 date 2004.01.20.03.24.44; author lukem; state Exp; branches; next 1.34; 1.34 date 2004.01.06.18.57.29; author abs; state Exp; branches; next 1.33; 1.33 date 2004.01.05.12.01.14; author jlam; state Exp; branches; next 1.32; 1.32 date 2003.11.03.22.43.38; author kim; state Exp; branches; next 1.31; 1.31 date 2003.07.17.21.46.51; author grant; state Exp; branches; next 1.30; 1.30 date 2003.06.02.01.18.38; author jschauma; state Exp; branches; next 1.29; 1.29 date 2003.01.20.22.55.43; author jschauma; state Exp; branches; next 1.28; 1.28 date 2002.10.21.07.22.10; author jlam; state Exp; branches; next 1.27; 1.27 date 2002.05.23.19.52.03; author tron; state Exp; branches; next 1.26; 1.26 date 2001.11.08.12.05.58; author bouyer; state Exp; branches 1.26.2.1; next 1.25; 1.25 date 2001.06.30.09.33.20; author wiz; state Exp; branches; next 1.24; 1.24 date 2001.06.29.17.19.07; author wiz; state Exp; branches; next 1.23; 1.23 date 2001.06.20.14.08.41; author wiz; state Exp; branches; next 1.22; 1.22 date 2001.04.13.04.18.34; author kim; state Exp; branches; next 1.21; 1.21 date 2001.04.07.01.53.24; author kim; state Exp; branches; next 1.20; 1.20 date 2001.04.06.22.53.15; author kim; state Exp; branches; next 1.19; 1.19 date 2001.02.17.18.25.02; author wiz; state Exp; branches; next 1.18; 1.18 date 2001.01.29.11.34.31; author wiz; state Exp; branches; next 1.17; 1.17 date 2000.08.26.14.26.57; author wiz; state Exp; branches; next 1.16; 1.16 date 2000.08.03.14.42.29; author veego; state Exp; branches; next 1.15; 1.15 date 2000.07.21.14.10.15; author simonb; state Exp; branches; next 1.14; 1.14 date 2000.01.09.01.31.18; author wiz; state Exp; branches; next 1.13; 1.13 date 99.10.06.09.21.11; author agc; state Exp; branches; next 1.12; 1.12 date 99.04.07.02.59.19; author cjs; state Exp; branches; next 1.11; 1.11 date 99.04.06.11.48.07; author cjs; state Exp; branches; next 1.10; 1.10 date 98.11.04.10.36.41; author hubertf; state Exp; branches; next 1.9; 1.9 date 98.07.09.11.18.53; author frueauf; state Exp; branches; next 1.8; 1.8 date 98.07.03.14.57.05; author frueauf; state Exp; branches; next 1.7; 1.7 date 98.06.18.15.25.25; author agc; state Exp; branches; next 1.6; 1.6 date 98.05.07.13.23.14; author tron; state Exp; branches; next 1.5; 1.5 date 98.05.07.09.42.43; author tron; state Exp; branches; next 1.4; 1.4 date 98.04.20.11.56.26; author frueauf; state Exp; branches; next 1.3; 1.3 date 98.04.15.10.38.31; author agc; state Exp; branches; next 1.2; 1.2 date 98.02.27.23.53.08; author tron; state Exp; branches; next 1.1; 1.1 date 98.02.27.23.11.39; author tron; state Exp; branches 1.1.1.1; next ; 1.49.26.1 date 2017.12.20.16.36.27; author spz; state Exp; branches; next ; commitid 8Q96De18qv3fmEjA; 1.26.2.1 date 2002.06.23.18.52.01; author jlam; state Exp; branches; next ; 1.1.1.1 date 98.02.27.23.11.39; author tron; state Exp; branches; next ; desc @@ 1.56 log @procmail: Add comment with link to new release @ text @# $NetBSD: Makefile,v 1.55 2023/03/01 13:14:24 gdt Exp $ DISTNAME= procmail-3.22 PKGREVISION= 5 CATEGORIES= mail #MASTER_SITES= ftp://ftp.procmail.org/pub/procmail/ # 3.24 is at https://github.com/BuGlessRB/procmail/archive/refs/tags/v3.24.tar.gz MAINTAINER= kim@@NetBSD.org HOMEPAGE= https://github.com/BuGlessRB/procmail COMMENT= Local mail delivery agent LICENSE= artistic OR gnu-gpl-v2 MAKE_JOBS_SAFE= no MAKE_ENV+= SHELL=${SH:Q} CHMOD=${CHMOD:Q} INSTALL_TARGET= install-suid install.man UNLIMIT_RESOURCES= datasize SPECIAL_PERMS+= bin/procmail ${SETUID_ROOT_PERMS} .include "../../mk/bsd.prefs.mk" BUILD_DEFS+= PROCMAIL_MAILSPOOLHOME PROCMAIL_TRUSTED_IDS PROCMAIL_TRUSTED_IDS?=\ "root","daemon","uucp","mail","x400","network","list","slist","lists","news",0 INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 ### Inlining functions (implied by -O3 or higher) cause the strstr() test ### to enter an infinite loop so disable it. This fixes PR pkg/30999. CFLAGS+= -fno-inline-functions pre-configure: ${ECHO} "#define TRUSTED_IDS {${PROCMAIL_TRUSTED_IDS:Q}}" \ >> ${WRKSRC}/config.h ${ECHO} "#undef ETCRC" >> ${WRKSRC}/config.h ${ECHO} "#undef ETCRCS" >> ${WRKSRC}/config.h ${ECHO} "#define ETCRC \"${PKG_SYSCONFDIR}/procmailrc\"" \ >> ${WRKSRC}/config.h ${ECHO} "#define ETCRCS \"${PKG_SYSCONFDIR}/procmailrcs/\"" \ >> ${WRKSRC}/config.h .if defined(PROCMAIL_MAILSPOOLHOME) ${ECHO} "#define MAILSPOOLHOME \"/${PROCMAIL_MAILSPOOLHOME}\"" \ >> ${WRKSRC}/src/authenticate.h .endif .if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) MAKE_FLAGS+= CC_FOR_BUILD=${NATIVE_CC:Q} .if exists(${FILESDIR}/autoconf-${OPSYS}.h.in) post-configure: cd ${WRKSRC} && ${MAKE} init ${SED} -e s,@@PREFIX@@,${PREFIX:U},g \ -e s,@@PKGVERSION@@,${PKGVERSION:U},g \ < ${FILESDIR}/autoconf-${OPSYS}.h.in \ > ${WRKSRC}/autoconf.h .endif .endif .if ${OPSYS} == "SunOS" do-install: cd ${WRKSRC}/new; \ for f in procmail formail lockfile; do \ ${INSTALL_PROGRAM} $$f ${DESTDIR}${PREFIX}/bin/$$f; \ done; \ ${INSTALL_SCRIPT} mailstat ${DESTDIR}${PREFIX}/bin/mailstat; \ for f in procmail.1 formail.1 lockfile.1; do \ ${INSTALL_MAN} $$f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/$$f; \ done; \ for f in procmailex.5 procmailrc.5 procmailsc.5; do \ ${INSTALL_MAN} $$f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/$$f; \ done .endif .include "../../mk/bsd.pkg.mk" @ 1.55 log @mail/procmail: Update HOMEPAGE Now on github, with a recent release. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.54 2021/04/25 05:55:54 wiz Exp $ d7 1 @ 1.54 log @procmail: remove dead links @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.53 2020/01/07 13:47:41 kim Exp $ d9 1 a9 1 #HOMEPAGE= http://www.procmail.org/ @ 1.53 log @Update MAINTAINER. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.52 2019/11/02 16:25:26 rillig Exp $ d6 1 a6 1 MASTER_SITES= ftp://ftp.procmail.org/pub/procmail/ d9 1 a9 1 HOMEPAGE= http://www.procmail.org/ @ 1.52 log @mail: align variable assignments pkglint -Wall -F --only aligned -r No manual corrections. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.51 2019/07/09 15:46:42 riastradh Exp $ d8 1 a8 1 MAINTAINER= kim@@tac.nyc.ny.us @ 1.51 log @Teach procmail to cross-compile on NetBSD. No revbump because this was not cross-compilable before. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.50 2017/11/26 20:39:40 snj Exp $ d15 2 a16 2 MAKE_ENV+= SHELL=${SH:Q} CHMOD=${CHMOD:Q} INSTALL_TARGET= install-suid install.man d32 1 a32 1 CFLAGS+= -fno-inline-functions @ 1.50 log @procmail: Fix CVE-2017-16844 Patch from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876511 Bump PKGREVISION @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.49 2014/10/09 14:06:40 wiz Exp $ d48 13 @ 1.49 log @Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.48 2014/09/04 07:37:44 wiz Exp $ d4 1 a4 1 PKGREVISION= 4 @ 1.49.26.1 log @Pullup ticket #5653 - requested by bsiegert mail/procmail: security patch Revisions pulled up: - mail/procmail/Makefile 1.50 - mail/procmail/distinfo 1.17 - mail/procmail/patches/patch-bd 1.4 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: snj Date: Sun Nov 26 20:39:41 UTC 2017 Modified Files: pkgsrc/mail/procmail: Makefile distinfo pkgsrc/mail/procmail/patches: patch-bd Log Message: procmail: Fix CVE-2017-16844 Patch from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug‡6511 Bump PKGREVISION To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 pkgsrc/mail/procmail/Makefile cvs rdiff -u -r1.16 -r1.17 pkgsrc/mail/procmail/distinfo cvs rdiff -u -r1.3 -r1.4 pkgsrc/mail/procmail/patches/patch-bd @ text @d1 1 a1 1 # $NetBSD$ d4 1 a4 1 PKGREVISION= 5 @ 1.48 log @Fix CVE-2014-3618. https://bugzilla.redhat.com/show_bug.cgi?id=1121299 While here: Convert to user-destdir by using pkgsrc setuid framework. Add comments to some patches. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.47 2012/03/12 13:22:16 fhajny Exp $ a12 2 PKG_INSTALLATION_TYPES= overwrite pkgviews @ 1.47 log @Fix the SunOS do-install target to be DESTDIR compatible. Fix the patch files to contain proper RCS keywords. @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.46 2011/10/31 22:58:45 sbd Exp $ # d4 1 a4 1 PKGREVISION= 3 a12 2 PKG_DESTDIR_SUPPORT= destdir d21 2 a62 1 DESTDIR=${DESTDIR:Q} ${SH} ${WRKSRC}/suid.sh @ 1.46 log @The infinite loop noted in PR#30999 is cause by inlining functions on any system, so inline functions should alway be disabled. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.45 2010/01/27 18:14:05 joerg Exp $ d33 1 a33 1 ### Inlining functions (implied by -O3 or higher) cause the strstr() test d64 1 a64 1 ${SH} ${WRKSRC}/suid.sh @ 1.45 log @Basic destdir support. From Steven Drake. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.44 2010/01/21 17:41:07 heinz Exp $ d33 4 @ 1.44 log @Added LICENSE information. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.43 2009/07/18 03:15:18 smb Exp $ d14 2 d51 1 a51 1 ${INSTALL_PROGRAM} $$f ${PREFIX}/bin/$$f; \ d53 1 a53 1 ${INSTALL_SCRIPT} mailstat ${PREFIX}/bin/mailstat; \ d55 1 a55 1 ${INSTALL_MAN} $$f ${PREFIX}/${PKGMANDIR}/man1/$$f; \ d58 1 a58 1 ${INSTALL_MAN} $$f ${PREFIX}/${PKGMANDIR}/man5/$$f; \ @ 1.43 log @Changet getline() to get_line() @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.42 2008/02/08 03:14:18 gdt Exp $ d12 1 @ 1.42 log @Add MAKE_JOBS_SAFE=no. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.41 2007/02/22 19:26:42 wiz Exp $ d5 1 a5 1 PKGREVISION= 2 @ 1.41 log @Whitespace cleanup, courtesy of pkglint. Patch provided by Sergey Svishchev in private mail. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.40 2007/01/07 09:13:59 rillig Exp $ d15 2 @ 1.40 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.39 2005/12/23 04:36:45 jlam Exp $ d17 1 a17 1 UNLIMIT_RESOURCES= datasize @ 1.39 log @Apply hack noted in PR pkg/30999 -- turn off inline functions when compiling in order to fix an infinite loop error on Solaris. Bump the PKGREVISION to 2. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.38 2005/12/05 20:50:35 rillig Exp $ d26 1 a26 1 INSTALLATION_DIRS= bin man/man1 man/man5 d50 1 a50 1 ${INSTALL_MAN} $$f ${PREFIX}/man/man1/$$f; \ d53 1 a53 1 ${INSTALL_MAN} $$f ${PREFIX}/man/man5/$$f; \ @ 1.38 log @Fixed pkglint warnings. The warnings are mostly quoting issues, for example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2005/06/16 06:58:08 jlam Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.37 log @Create directories before installing files into them. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2005/04/11 21:46:22 tv Exp $ d15 1 a15 1 MAKE_ENV+= SHELL=${SH} CHMOD=${CHMOD} @ 1.36 log @Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2004/01/20 03:24:44 lukem Exp $ d26 2 @ 1.35 log @Bump pkgrevision (to procmail-3.22nb1), for simonb's memory allocation fix in patch-af. Without that patch, the example procmail rules in spamprobe's manual page will cause procmail to eat your mail, so we should make it obvious... @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2004/01/06 18:57:29 abs Exp $ a14 1 USE_BUILDLINK3= YES @ 1.34 log @UNLIMIT_RESOURCES=datasize to fix NetBSD/sparc 1.6ZG build @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2004/01/05 12:01:14 jlam Exp $ d5 1 @ 1.33 log @bl3ify @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2003/11/03 22:43:38 kim Exp $ d17 1 @ 1.32 log @Change maintainer to myself. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2003/07/17 21:46:51 grant Exp $ d12 3 a14 1 USE_BUILDLINK2= YES d34 1 a34 1 .ifdef(PROCMAIL_MAILSPOOLHOME) @ 1.31 log @s/netbsd.org/NetBSD.org/ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2003/06/02 01:18:38 jschauma Exp $ d8 1 a8 1 MAINTAINER= tech-pkg@@NetBSD.org @ 1.30 log @Use tech-pkg@@ in favor of packages@@ as MAINTAINER for orphaned packages. Should anybody feel like they could be the maintainer for any of thewe packages, please adjust. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2003/01/20 22:55:43 jschauma Exp $ d8 1 a8 1 MAINTAINER= tech-pkg@@netbsd.org @ 1.29 log @Make this use ${CHMOD} rather than 'chmod', which may be in different locations (and thus not even in the PATH), depending on the platform. This partly adresses PR pkg/19804. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2002/10/21 07:22:10 jlam Exp $ d8 1 a8 1 MAINTAINER= packages@@netbsd.org @ 1.28 log @Use ${PREFIX}, not ${LOCALBASE}, when referring to own installation prefix. Also, use ${SH}, not /bin/sh, when invoking the shell from make. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2002/05/23 19:52:03 tron Exp $ d13 1 a13 1 MAKE_ENV= SHELL=${SH} @ 1.27 log @Add support for "${PKG_SYSCONFDIR}". The changes were contributed by Julio Merino in PR pkg/16956. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2001/11/08 12:05:58 bouyer Exp $ d12 2 a14 2 MAKE_ENV= SHELL=/bin/sh USE_BUILDLINK_ONLY= YES d41 1 a41 1 ${INSTALL_PROGRAM} $$f ${LOCALBASE}/bin/$$f; \ d43 1 a43 1 ${INSTALL_SCRIPT} mailstat ${LOCALBASE}/bin/mailstat; \ d45 1 a45 1 ${INSTALL_MAN} $$f ${LOCALBASE}/man/man1/$$f; \ d48 1 a48 1 ${INSTALL_MAN} $$f ${LOCALBASE}/man/man5/$$f; \ @ 1.26 log @Update to 3.22. Changes to procmail: - Regression bugs from 3.20: - Broke compilation with K&R compilers - procmail -p -m was overridding PATH - maildir delivery included garbage in filenames - Mismatched HOST in last rcfile didn't discard the message - COMSAT wasn't turned off by an rcfile on the command line - Catch overly long command line variable assignments - If a command expansion is truncated, set PROCMAIL_OVERFLOW and don't trim trailing (really middle) newlines - If the comsat host can't be resolved, set COMSAT to "no" Some fixes to the man pages More paranoia: start to use strlcpy() Generate safe temp and maildir filenames when the hostname contains / or : by mapping them to \ooo I've also seen corrupted From lines (missing F) when I upgraded to 3.21. Someone reported in the Esd-l mailing list (see http://www.spconnect.com/pipermail/esd-l/ for archives) that 3.22 solved the problem for him. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2001/06/30 09:33:20 wiz Exp $ d25 6 @ 1.26.2.1 log @Merge from pkgsrc-current to buildlink2 branch. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2002/05/23 19:52:03 tron Exp $ a24 6 >> ${WRKSRC}/config.h ${ECHO} "#undef ETCRC" >> ${WRKSRC}/config.h ${ECHO} "#undef ETCRCS" >> ${WRKSRC}/config.h ${ECHO} "#define ETCRC \"${PKG_SYSCONFDIR}/procmailrc\"" \ >> ${WRKSRC}/config.h ${ECHO} "#define ETCRCS \"${PKG_SYSCONFDIR}/procmailrcs/\"" \ @ 1.25 log @Update to 3.21. Changes: - Incorrect prototype broke compilation on Tru64 UNIX - INCLUDERC was broken by trying to be fancy and not fully succeeding when support for multiple -a options was added Also set USE_BUILDLINK_ONLY. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2001/06/29 17:19:07 wiz Exp $ d4 1 a4 1 DISTNAME= procmail-3.21 @ 1.24 log @Update to 3.20. Changes since last version (3.15.1): Changes to procmail: - SECURITY: don't do unsafe things from signal handlers: - ignore TRAP when terminating because of a signal - resolve the host and protocol of COMSAT when it is set - save the absolute path form of $LASTFOLDER for the comsat message when it is set - only use the log buffer if it's safe - Support LMTP for delivery mode (not enabled by default) - Preliminary support for using mmap() for `large' messages (this doesn't work yet) - SWITCHRC=zero-length-file didn't always abort the current rcfile - A race to create the mailspool would bounce one of the messages due to an internal error - LC_ in KEEPENV would preserve only the first LC_foo variable - Strip runtime linker variables (LD_*) from environment on all platforms - Drop duplicate and malformed environment entries - Multiple -a options will now set $2, $3, etc - Command line assignments to INCLUDERC and SWITCHRC no longer have any effect - Worked around AIX 4.3.3 xlc compiler (incorrect file-scope variable initialization) - When delivering to a maildir, don't force the message to end with an empty line - Be more paranoid about leaking information between recipients - Unset LOCKFILE if we can't actually lock it - Set MAILDIR to '.' if the chdir fails - LASTFOLDER was sometimes set by '?' conditions - Buffer the log more efficiently - Use the `standard' format for maildir filenames and retry on name collision - Rename by linking to prevent lossage Changes to lockfile: - Include the system mailbox lockfile path in the -v output - Resist attempts to use a setuid lockfile command - Fix infinite loop on -l, -r, or -s flag with no value. Documented formail's treatment of >From_ lines as continuations of the From_ line and warned of problems caused by non-RFC822 field names like 'Old-From ' Clarified procmail's treatment of $@@ and $# Fixed a man page formatting problem Use long, not off_t, with fseek()/ftell() Increase our paranoia: start to use strlcat() The default MAILDIR is now configurable separately from the default rcfile location Include an RPM spec file in the examples directory for automated builds Include and use mkinstalldirs Called nice() when shouldn't have (this time for sure!) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2001/06/20 14:08:41 wiz Exp $ d4 1 a4 1 DISTNAME= procmail-3.20 d14 1 @ 1.23 log @Update to 3.15.1, from Martti Kuparinen via pkg/13257. Some of the more interesting changes: - A race to create the mailspool would bounce one of the messages due to an internal error - LC_ in KEEPENV would preserve only the first LC_foo variable - Strip runtime linker variables (LD_*) from environment on all platforms - Drop duplicate and malformed environment entries - Fixed a man page formatting problem @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2001/04/13 04:18:34 kim Exp $ d4 1 a4 1 DISTNAME= procmail-3.15.1 @ 1.22 log @Allow setting TRUSTED_IDS in procmail. @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.21 2001/04/07 01:53:24 kim Exp $ # FreeBSD Id: Makefile,v 1.24 1997/05/14 14:40:34 ache Exp d4 1 a4 1 DISTNAME= procmail-3.15 @ 1.21 log @Add optional setting for placing the default mailbox in the user home dir. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2001/04/06 22:53:15 kim Exp $ d18 1 a18 1 BUILD_DEFS+= PROCMAIL_MAILSPOOLHOME d20 6 a26 1 pre-configure: @ 1.20 log @Removed the post-patch target as it had no effect and just confuses people (or at least me). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2001/02/17 18:25:02 wiz Exp $ d17 8 @ 1.19 log @Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2001/01/29 11:34:31 wiz Exp $ a14 9 post-patch: ${MV} ${WRKSRC}/config.h ${WRKSRC}/config.h-orig ${SED} -e 's|@@LOCALBASE@@|${LOCALBASE}|g' < ${WRKSRC}/config.h-orig \ > ${WRKSRC}/config.h ${MV} ${WRKSRC}/man/procmail.man ${WRKSRC}/man/procmail.man-orig ${SED} -e 's|@@LOCALBASE@@|${LOCALBASE}|g' \ < ${WRKSRC}/man/procmail.man-orig \ > ${WRKSRC}/man/procmail.man @ 1.18 log @Add automatic ${VARIABLE} handling for MESSAGE files. Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced, not @@VARIABLE@@, nor @@@@VARIABLE@@@@). By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX, X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST. Clean up some packages while I'm there; add RCS tags to most MESSAGEs. Remove some uninteresting MESSAGEs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2000/08/26 14:26:57 wiz Exp $ d11 1 @ 1.17 log @Update to procmail-3.15, inspired by D'Arcy J.M. Cain. Relevant changes: - Rewrite folder type parsing: corrects handling of MH and maildir style spools - v3.14 changed '!' actions too much: revert to v3.13 behavior but continue to split SENDMAILFLAGS - Contents of skipped nested blocks could affect 'E', 'e', 'a', and 'A' flags - Prevent peeking into buffers on "Out of memory" errors - Unquoted $\var expansions could alter the interpretation of the following whitespace - Prevent attempts to set LINEBUF to really huge values - Optimize SWITCHRC = $_ - Use a secure PATH when processing /etc/procmailrc - Use 2^31-1 as the maximum score even when sizeof(long)>4 Changes to formail: - Allow -n with -D and -s again -- corruption couldn't happen after all - Don't strip pre-colon whitespace until header is identified - Properly handle NULs in the body when generating an autoreply that keeps the body (could coredump) General: - Documented that $\var expansions are never split on whitespace - Removed ':' and '@@' from list of characters that can appear in tempfile names - Called nice() when shouldn't have @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2000/08/03 14:42:29 veego Exp $ a14 2 MESSAGE_FILE= ${WRKDIR}/MESSAGE a22 3 pre-install: ${SED} -e 's,@@PREFIX@@,${PREFIX},g' ${PKGDIR}/MESSAGE > ${MESSAGE_FILE} @ 1.16 log @Use ${SH} to run ${WRKSRC}/suid.sh. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2000/07/21 14:10:15 simonb Exp $ d5 1 a5 1 DISTNAME= procmail-3.14 d9 2 a10 1 MAINTAINER= packages@@netbsd.org d12 1 a12 1 INSTALL_TARGET= install-suid install.man d15 2 d25 3 @ 1.15 log @Upgrade to procmail 3.14. Major changes are: - Some zero-length extractions using \/ could core dump - Missed a couple possible overflows - Support delivery to maildir mailboxes - Support all styles of mailbox for the mail spool - Avoid renaming over old messages in directory folders - fsync() mailboxes before closing them - Overflows at certain times would confuse procmail - Root owned lockfiles aren't bogus Full list of changes are in procmail-3.14/HISTORY. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2000/01/09 01:31:18 wiz Exp $ d38 1 a38 1 ${WRKSRC}/suid.sh @ 1.14 log @removed unnecessary PKGNAME (== DISTNAME) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 1999/10/06 09:21:11 agc Exp $ d5 1 a5 1 DISTNAME= procmail-3.13.1 @ 1.13 log @Add a do-install target for Solaris installations only. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 1999/04/07 02:59:19 cjs Exp $ a5 1 PKGNAME= procmail-3.13.1 @ 1.12 log @Update procmail to 3.13.1. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 1999/04/06 11:48:07 cjs Exp $ d23 18 @ 1.11 log @Upgrade procmail to 3.13. Move config dir from PREFIX/pkg/etc to /etc, so that machines sharing /usr do not have to share procmail config file. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 1998/11/04 10:36:41 hubertf Exp $ d5 2 a6 2 DISTNAME= procmail-3.13 PKGNAME= procmail-3.13 @ 1.10 log @be conservative about SHELL setting, by drochner @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 1998/07/09 11:18:53 frueauf Exp $ d5 2 a6 2 DISTNAME= procmail-3.11pre7 PKGNAME= procmail-3.11p7 d8 1 a8 1 MASTER_SITES= ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/ @ 1.9 log @Adjust manpages to reflect where procmail expects the system wide procmailrcs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 1998/07/03 14:57:05 frueauf Exp $ d13 1 @ 1.8 log @Don't hardcode the etc dir to /usr/local/etc. Fixes pr 5694 by Mason Loring Bliss. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 1998/06/18 15:25:25 agc Exp $ d18 4 @ 1.7 log @Remove MAN and CAT definitions from package Makefiles - these are unnecessary with automatic manual page handling. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 1998/05/07 13:23:14 tron Exp $ d13 5 @ 1.6 log @Perform locking test automatically so that package will compile without user interaction. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 1998/05/07 09:42:43 tron Exp $ a12 3 MAN1= procmail.1 formail.1 lockfile.1 MAN5= procmailex.5 procmailrc.5 procmailsc.5 @ 1.5 log @Add "IS_INTERACTIVE= yes" again. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 1998/04/20 11:56:26 frueauf Exp $ a12 1 IS_INTERACTIVE= yes @ 1.4 log @Substitute all obvious FreeBSD ppl as MAINTAINER with packages@@netbsd.org. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 1998/04/15 10:38:31 agc Exp $ d13 1 @ 1.3 log @Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree. Remove redundant (and sometimes erroneous) comments. @ text @d1 2 a2 2 # $NetBSD: Makefile,v 1.2 1998/02/27 23:53:08 tron Exp $ # $FreeBSD Id: Makefile,v 1.24 1997/05/14 14:40:34 ache Exp d10 1 a10 1 MAINTAINER= ache@@FreeBSD.ORG @ 1.2 log @Adapt this package to NetBSD. @ text @d1 1 a1 6 # New ports collection makefile for: procmail # Version required: 3.11pre7 # Date created: 24 September 1994 # Whom: adam # # $NetBSD$ d17 1 a17 1 .include @ 1.1 log @Initial revision @ text @d6 1 a13 1 INSTALL_TARGET= install-suid install.man d17 2 a18 5 # It asks for list af directories to do test for file locking # (defaults to /tmp and ".", so return should suffice in most cases). .if !defined(PACKAGE_BUILDING) # handled in patch-aa IS_INTERACTIVE= yes .endif @ 1.1.1.1 log @Initial import of FreeBSD's "procmail" port. @ text @@