head	1.62;
access;
symbols
	pkgsrc-2026Q1:1.62.0.20
	pkgsrc-2026Q1-base:1.62
	pkgsrc-2025Q4:1.62.0.18
	pkgsrc-2025Q4-base:1.62
	pkgsrc-2025Q3:1.62.0.16
	pkgsrc-2025Q3-base:1.62
	pkgsrc-2025Q2:1.62.0.14
	pkgsrc-2025Q2-base:1.62
	pkgsrc-2025Q1:1.62.0.12
	pkgsrc-2025Q1-base:1.62
	pkgsrc-2024Q4:1.62.0.10
	pkgsrc-2024Q4-base:1.62
	pkgsrc-2024Q3:1.62.0.8
	pkgsrc-2024Q3-base:1.62
	pkgsrc-2024Q2:1.62.0.6
	pkgsrc-2024Q2-base:1.62
	pkgsrc-2024Q1:1.62.0.4
	pkgsrc-2024Q1-base:1.62
	pkgsrc-2023Q4:1.62.0.2
	pkgsrc-2023Q4-base:1.62
	pkgsrc-2023Q3:1.61.0.10
	pkgsrc-2023Q3-base:1.61
	pkgsrc-2023Q2:1.61.0.8
	pkgsrc-2023Q2-base:1.61
	pkgsrc-2023Q1:1.61.0.6
	pkgsrc-2023Q1-base:1.61
	pkgsrc-2022Q4:1.61.0.4
	pkgsrc-2022Q4-base:1.61
	pkgsrc-2022Q3:1.61.0.2
	pkgsrc-2022Q3-base:1.61
	pkgsrc-2022Q2:1.60.0.8
	pkgsrc-2022Q2-base:1.60
	pkgsrc-2022Q1:1.60.0.6
	pkgsrc-2022Q1-base:1.60
	pkgsrc-2021Q4:1.60.0.4
	pkgsrc-2021Q4-base:1.60
	pkgsrc-2021Q3:1.60.0.2
	pkgsrc-2021Q3-base:1.60
	pkgsrc-2021Q2:1.59.0.2
	pkgsrc-2021Q2-base:1.59
	pkgsrc-2021Q1:1.57.0.6
	pkgsrc-2021Q1-base:1.57
	pkgsrc-2020Q4:1.57.0.4
	pkgsrc-2020Q4-base:1.57
	pkgsrc-2020Q3:1.57.0.2
	pkgsrc-2020Q3-base:1.57
	pkgsrc-2020Q2:1.56.0.4
	pkgsrc-2020Q2-base:1.56
	pkgsrc-2020Q1:1.56.0.2
	pkgsrc-2020Q1-base:1.56
	pkgsrc-2019Q4:1.55.0.6
	pkgsrc-2019Q4-base:1.55
	pkgsrc-2019Q3:1.55.0.2
	pkgsrc-2019Q3-base:1.55
	pkgsrc-2019Q2:1.54.0.2
	pkgsrc-2019Q2-base:1.54
	pkgsrc-2019Q1:1.53.0.6
	pkgsrc-2019Q1-base:1.53
	pkgsrc-2018Q4:1.53.0.4
	pkgsrc-2018Q4-base:1.53
	pkgsrc-2018Q3:1.53.0.2
	pkgsrc-2018Q3-base:1.53
	pkgsrc-2018Q2:1.51.0.4
	pkgsrc-2018Q2-base:1.51
	pkgsrc-2018Q1:1.51.0.2
	pkgsrc-2018Q1-base:1.51
	pkgsrc-2017Q4:1.50.0.10
	pkgsrc-2017Q4-base:1.50
	pkgsrc-2017Q3:1.50.0.8
	pkgsrc-2017Q3-base:1.50
	pkgsrc-2017Q2:1.50.0.4
	pkgsrc-2017Q2-base:1.50
	pkgsrc-2017Q1:1.50.0.2
	pkgsrc-2017Q1-base:1.50
	pkgsrc-2016Q4:1.49.0.2
	pkgsrc-2016Q4-base:1.49
	pkgsrc-2016Q3:1.48.0.2
	pkgsrc-2016Q3-base:1.48
	pkgsrc-2016Q2:1.47.0.10
	pkgsrc-2016Q2-base:1.47
	pkgsrc-2016Q1:1.47.0.8
	pkgsrc-2016Q1-base:1.47
	pkgsrc-2015Q4:1.47.0.6
	pkgsrc-2015Q4-base:1.47
	pkgsrc-2015Q3:1.47.0.4
	pkgsrc-2015Q3-base:1.47
	pkgsrc-2015Q2:1.47.0.2
	pkgsrc-2015Q2-base:1.47
	pkgsrc-2015Q1:1.46.0.8
	pkgsrc-2015Q1-base:1.46
	pkgsrc-2014Q4:1.46.0.6
	pkgsrc-2014Q4-base:1.46
	pkgsrc-2014Q3:1.46.0.4
	pkgsrc-2014Q3-base:1.46
	pkgsrc-2014Q2:1.46.0.2
	pkgsrc-2014Q2-base:1.46
	pkgsrc-2014Q1:1.45.0.6
	pkgsrc-2014Q1-base:1.45
	pkgsrc-2013Q4:1.45.0.4
	pkgsrc-2013Q4-base:1.45
	pkgsrc-2013Q3:1.45.0.2
	pkgsrc-2013Q3-base:1.45
	pkgsrc-2013Q2:1.44.0.2
	pkgsrc-2013Q2-base:1.44
	pkgsrc-2013Q1:1.43.0.2
	pkgsrc-2013Q1-base:1.43
	pkgsrc-2012Q4:1.42.0.2
	pkgsrc-2012Q4-base:1.42
	pkgsrc-2012Q3:1.40.0.2
	pkgsrc-2012Q3-base:1.40
	pkgsrc-2012Q2:1.39.0.4
	pkgsrc-2012Q2-base:1.39
	pkgsrc-2012Q1:1.39.0.2
	pkgsrc-2012Q1-base:1.39
	pkgsrc-2011Q4:1.38.0.12
	pkgsrc-2011Q4-base:1.38
	pkgsrc-2011Q3:1.38.0.10
	pkgsrc-2011Q3-base:1.38
	pkgsrc-2011Q2:1.38.0.8
	pkgsrc-2011Q2-base:1.38
	pkgsrc-2011Q1:1.38.0.6
	pkgsrc-2011Q1-base:1.38
	pkgsrc-2010Q4:1.38.0.4
	pkgsrc-2010Q4-base:1.38
	pkgsrc-2010Q3:1.38.0.2
	pkgsrc-2010Q3-base:1.38
	pkgsrc-2010Q2:1.37.0.4
	pkgsrc-2010Q2-base:1.37
	pkgsrc-2010Q1:1.37.0.2
	pkgsrc-2010Q1-base:1.37
	pkgsrc-2009Q4:1.36.0.6
	pkgsrc-2009Q4-base:1.36
	pkgsrc-2009Q3:1.36.0.4
	pkgsrc-2009Q3-base:1.36
	pkgsrc-2009Q2:1.36.0.2
	pkgsrc-2009Q2-base:1.36
	pkgsrc-2009Q1:1.35.0.18
	pkgsrc-2009Q1-base:1.35
	pkgsrc-2008Q4:1.35.0.16
	pkgsrc-2008Q4-base:1.35
	pkgsrc-2008Q3:1.35.0.14
	pkgsrc-2008Q3-base:1.35
	cube-native-xorg:1.35.0.12
	cube-native-xorg-base:1.35
	pkgsrc-2008Q2:1.35.0.10
	pkgsrc-2008Q2-base:1.35
	cwrapper:1.35.0.8
	pkgsrc-2008Q1:1.35.0.6
	pkgsrc-2008Q1-base:1.35
	pkgsrc-2007Q4:1.35.0.4
	pkgsrc-2007Q4-base:1.35
	pkgsrc-2007Q3:1.35.0.2
	pkgsrc-2007Q3-base:1.35
	pkgsrc-2007Q2:1.34.0.4
	pkgsrc-2007Q2-base:1.34
	pkgsrc-2007Q1:1.34.0.2
	pkgsrc-2007Q1-base:1.34
	pkgsrc-2006Q4:1.32.0.6
	pkgsrc-2006Q4-base:1.32
	pkgsrc-2006Q3:1.32.0.4
	pkgsrc-2006Q3-base:1.32
	pkgsrc-2006Q2:1.32.0.2
	pkgsrc-2006Q2-base:1.32
	pkgsrc-2006Q1:1.31.0.2
	pkgsrc-2006Q1-base:1.31
	pkgsrc-2005Q4:1.24.0.2
	pkgsrc-2005Q4-base:1.24
	pkgsrc-2005Q3:1.23.0.2
	pkgsrc-2005Q3-base:1.23
	pkgsrc-2005Q2:1.19.0.2
	pkgsrc-2005Q2-base:1.19
	pkgsrc-2005Q1:1.16.0.2
	pkgsrc-2005Q1-base:1.16
	pkgsrc-2004Q4:1.15.0.2
	pkgsrc-2004Q4-base:1.15
	pkgsrc-2004Q3:1.12.0.2
	pkgsrc-2004Q3-base:1.12
	pkgsrc-2004Q2:1.6.0.2
	pkgsrc-2004Q2-base:1.6
	pkgsrc-2004Q1:1.4.0.2
	pkgsrc-2004Q1-base:1.4
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.62
date	2023.12.13.14.18.56;	author zafer;	state Exp;
branches;
next	1.61;
commitid	cM9ORIRYXVzwojQE;

1.61
date	2022.06.28.11.34.20;	author wiz;	state Exp;
branches;
next	1.60;
commitid	D2UoJrTHpoHEANJD;

1.60
date	2021.06.23.20.33.12;	author nia;	state Exp;
branches;
next	1.59;
commitid	L7RJ3CFGxS3ruiYC;

1.59
date	2021.05.24.19.52.40;	author wiz;	state Exp;
branches;
next	1.58;
commitid	qokaiStTApGMcrUC;

1.58
date	2021.04.21.08.11.16;	author wiz;	state Exp;
branches;
next	1.57;
commitid	eUyGX72XPyuxp8QC;

1.57
date	2020.08.31.18.09.55;	author wiz;	state Exp;
branches;
next	1.56;
commitid	7zxRbfOkDOoxbfmC;

1.56
date	2020.01.26.17.31.33;	author rillig;	state Exp;
branches;
next	1.55;
commitid	4fBBvoSLJaGd0eUB;

1.55
date	2019.08.11.13.21.27;	author wiz;	state Exp;
branches;
next	1.54;
commitid	Ifet9Pg6Qt99ZByB;

1.54
date	2019.05.23.19.23.05;	author rillig;	state Exp;
branches;
next	1.53;
commitid	aWlQW8HYUUFCAmoB;

1.53
date	2018.08.22.09.45.25;	author wiz;	state Exp;
branches;
next	1.52;
commitid	YLub8g3ofvFGb6PA;

1.52
date	2018.07.04.13.40.23;	author jperkin;	state Exp;
branches;
next	1.51;
commitid	NnIyRkdX3Lbg3PIA;

1.51
date	2018.03.08.15.14.54;	author maya;	state Exp;
branches;
next	1.50;
commitid	NlDaYoZMtY6soFtA;

1.50
date	2017.01.19.18.52.16;	author agc;	state Exp;
branches;
next	1.49;
commitid	ufZDMu4cgHZdRBCz;

1.49
date	2016.10.09.21.42.00;	author wiz;	state Exp;
branches;
next	1.48;
commitid	i0AJjxRbfKiS5wpz;

1.48
date	2016.07.09.06.38.29;	author wiz;	state Exp;
branches;
next	1.47;
commitid	dlqnocGpOoXV2Cdz;

1.47
date	2015.06.12.10.50.19;	author wiz;	state Exp;
branches;
next	1.46;
commitid	B4JmCfaVUbiY38py;

1.46
date	2014.05.29.23.36.45;	author wiz;	state Exp;
branches;
next	1.45;
commitid	laryHfkCalgYtuCx;

1.45
date	2013.07.12.10.44.56;	author jperkin;	state Exp;
branches;
next	1.44;
commitid	vVOw5ngQ2VNQxaXw;

1.44
date	2013.05.31.12.41.14;	author wiz;	state Exp;
branches;
next	1.43;
commitid	hIeXGcx6VfKHwMRw;

1.43
date	2013.03.02.20.33.27;	author wiz;	state Exp;
branches;
next	1.42;

1.42
date	2012.10.08.12.19.10;	author asau;	state Exp;
branches;
next	1.41;

1.41
date	2012.10.03.21.56.23;	author wiz;	state Exp;
branches;
next	1.40;

1.40
date	2012.08.05.10.02.12;	author obache;	state Exp;
branches;
next	1.39;

1.39
date	2012.03.03.00.13.29;	author wiz;	state Exp;
branches;
next	1.38;

1.38
date	2010.06.28.08.55.37;	author joerg;	state Exp;
branches;
next	1.37;

1.37
date	2010.03.21.16.29.41;	author wiz;	state Exp;
branches
	1.37.4.1;
next	1.36;

1.36
date	2009.06.30.00.07.19;	author joerg;	state Exp;
branches;
next	1.35;

1.35
date	2007.07.04.20.54.43;	author jlam;	state Exp;
branches;
next	1.34;

1.34
date	2007.03.24.19.21.26;	author joerg;	state Exp;
branches;
next	1.33;

1.33
date	2007.01.07.09.13.57;	author rillig;	state Exp;
branches;
next	1.32;

1.32
date	2006.04.23.00.12.38;	author jlam;	state Exp;
branches;
next	1.31;

1.31
date	2006.03.06.22.49.16;	author joerg;	state Exp;
branches;
next	1.30;

1.30
date	2006.02.13.23.20.32;	author joerg;	state Exp;
branches;
next	1.29;

1.29
date	2006.01.21.00.22.58;	author joerg;	state Exp;
branches;
next	1.28;

1.28
date	2006.01.20.23.09.42;	author joerg;	state Exp;
branches;
next	1.27;

1.27
date	2006.01.08.19.38.54;	author joerg;	state Exp;
branches;
next	1.26;

1.26
date	2006.01.08.18.35.10;	author xtraeme;	state Exp;
branches;
next	1.25;

1.25
date	2005.12.29.06.21.49;	author jlam;	state Exp;
branches;
next	1.24;

1.24
date	2005.12.05.20.50.30;	author rillig;	state Exp;
branches
	1.24.2.1;
next	1.23;

1.23
date	2005.08.23.11.48.48;	author rillig;	state Exp;
branches;
next	1.22;

1.22
date	2005.07.21.03.04.21;	author grant;	state Exp;
branches;
next	1.21;

1.21
date	2005.07.16.01.19.12;	author jlam;	state Exp;
branches;
next	1.20;

1.20
date	2005.07.12.04.07.41;	author grant;	state Exp;
branches;
next	1.19;

1.19
date	2005.05.15.04.26.24;	author jlam;	state Exp;
branches
	1.19.2.1;
next	1.18;

1.18
date	2005.04.28.22.46.11;	author jlam;	state Exp;
branches;
next	1.17;

1.17
date	2005.04.11.21.46.18;	author tv;	state Exp;
branches;
next	1.16;

1.16
date	2004.12.28.02.47.44;	author reed;	state Exp;
branches;
next	1.15;

1.15
date	2004.11.15.17.54.49;	author jlam;	state Exp;
branches;
next	1.14;

1.14
date	2004.10.29.05.59.24;	author jdolecek;	state Exp;
branches;
next	1.13;

1.13
date	2004.10.03.00.12.52;	author tv;	state Exp;
branches;
next	1.12;

1.12
date	2004.08.27.06.29.08;	author jlam;	state Exp;
branches;
next	1.11;

1.11
date	2004.07.24.22.45.15;	author recht;	state Exp;
branches;
next	1.10;

1.10
date	2004.07.10.03.08.32;	author grant;	state Exp;
branches;
next	1.9;

1.9
date	2004.07.08.00.14.05;	author reed;	state Exp;
branches;
next	1.8;

1.8
date	2004.07.07.08.51.52;	author wiz;	state Exp;
branches;
next	1.7;

1.7
date	2004.07.06.22.38.00;	author wiz;	state Exp;
branches;
next	1.6;

1.6
date	2004.05.07.17.47.32;	author abs;	state Exp;
branches;
next	1.5;

1.5
date	2004.05.06.22.34.27;	author reed;	state Exp;
branches;
next	1.4;

1.4
date	2003.12.04.05.14.30;	author grant;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2003.12.04.04.51.00;	author grant;	state Exp;
branches;
next	1.2;

1.2
date	2003.12.04.04.28.16;	author grant;	state Exp;
branches;
next	1.1;

1.1
date	2003.12.04.04.24.49;	author grant;	state Exp;
branches
	1.1.1.1;
next	;

1.37.4.1
date	2010.07.04.07.20.40;	author agc;	state Exp;
branches;
next	;

1.24.2.1
date	2006.02.14.15.04.11;	author salo;	state Exp;
branches;
next	1.24.2.2;

1.24.2.2
date	2006.03.11.04.10.26;	author snj;	state Exp;
branches;
next	;

1.19.2.1
date	2005.07.22.16.42.27;	author snj;	state Exp;
branches;
next	1.19.2.2;

1.19.2.2
date	2005.07.27.04.57.20;	author snj;	state Exp;
branches;
next	;

1.4.2.1
date	2004.05.30.08.46.46;	author grant;	state Exp;
branches;
next	;

1.1.1.1
date	2003.12.04.04.24.49;	author grant;	state Exp;
branches;
next	;


desc
@@


1.62
log
@update master sites
@
text
@# $NetBSD: Makefile,v 1.61 2022/06/28 11:34:20 wiz Exp $

DISTNAME=	exim-3.36
PKGREVISION=	24
CATEGORIES=	mail net
MASTER_SITES+=	https://ftp.exim.org/pub/exim/exim3/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://www.exim.org/
COMMENT=	The Exim mail transfer agent, a replacement for sendmail

MAKE_JOBS_SAFE=		no

CONFLICTS+=	exim-exiscan-[0-9]*

BUILD_DEFS+=		EXIM_DB.mysql EXIM_DB.pgsql

PKG_SYSCONFSUBDIR?=	exim
EGDIR=			${PREFIX}/share/examples/exim
CONF_FILES=		${EGDIR}/configure ${PKG_SYSCONFDIR}/configure
MESSAGE_SUBST+=		EGDIR="${EGDIR}"

RCD_SCRIPTS=		exim

OWN_DIRS_PERMS=		/var/log/exim ${EXIM_USER} ${EXIM_GROUP} 0750
OWN_DIRS_PERMS+=	/var/spool/exim ${EXIM_USER} ${EXIM_GROUP} 0750

PKG_GROUPS=		${EXIM_GROUP}
PKG_USERS=		${EXIM_USER}:${EXIM_GROUP}

PKG_GROUPS_VARS+=	EXIM_GROUP
PKG_USERS_VARS+=	EXIM_USER

PKG_UID.${EXIM_USER}?=	8
PKG_GECOS.${EXIM_USER}=	Exim mail server user
PKG_HOME.${EXIM_USER}=	${VARBASE}/mail
PKG_SHELL.${EXIM_USER}=	${NOLOGIN}

.include "../../mk/bsd.prefs.mk"

USE_TOOLS+=		gzip gzcat perl:run
FILES_SUBST+=		GZIP_CMD="${GZIP_CMD:C/^/_asdf_/1:M_asdf_*:S/^_asdf_//}"
FILES_SUBST+=		GZCAT=${GZCAT:Q}

_LOOKUP_LIBS+=		${LDFLAGS}

.if defined(EXIM_DB.mysql) && ${EXIM_DB.mysql} == "YES"
LOOKUP_INCLUDE+=	-I${BUILDLINK_PREFIX.mysql-client}/include/mysql
LOOKUP_LIBS+=		-L${BUILDLINK_PREFIX.mysql-client}/lib/mysql
LOOKUP_LIBS+=		${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.mysql-client}/lib/mysql
LOOKUP_LIBS+=		-lmysqlclient
MAKE_ENV+=		LOOKUP_MYSQL=YES
.  include "../../mk/mysql.buildlink3.mk"
.endif
.if defined(EXIM_DB.pgsql) && ${EXIM_DB.pgsql} == "YES"
LOOKUP_INCLUDE+=	-I${PGSQL_PREFIX}/include/postgresql
LOOKUP_LIBS+=		-L${PGSQL_PREFIX}/lib
LOOKUP_LIBS+=		${COMPILER_RPATH_FLAG}${PGSQL_PREFIX}/lib -lpq
MAKE_ENV+=		LOOKUP_PGSQL=YES
.  include "../../mk/pgsql.buildlink3.mk"
.endif

BDB_ACCEPTED=	db1 db3 db2	# does not compile with db4
.include "../../mk/bdb.buildlink3.mk"
DBMLIB+=		${LDFLAGS} ${BDB_LIBS}

MAKE_ENV+=		DBMLIB=${DBMLIB:Q}
MAKE_ENV+=		LOOKUP_INCLUDE=${LOOKUP_INCLUDE:Q}
MAKE_ENV+=		LOOKUP_LIBS=${LOOKUP_LIBS:Q}

SUBST_CLASSES+=		paths
SUBST_FILES.paths=	Local/Makefile.pkgsrc ${WRKDIR}/mailer.conf
SUBST_FILES.paths+=	${WRKDIR}/exim_newaliases
SUBST_VARS.paths=	PREFIX
SUBST_VARS.paths+=	PKG_SYSCONFDIR
SUBST_VARS.paths+=	GZIP_CMD
SUBST_VARS.paths+=	GZCAT
SUBST_VARS.paths+=	PERL5
SUBST_VARS.paths+=	SH
SUBST_STAGE.paths=	pre-configure

INSTALLATION_DIRS=	${PKGMANDIR}/man8 sbin share/examples/exim

INSTALL_ENV+=	INST_BIN_DIRECTORY=${DESTDIR}${PREFIX}/sbin \
		INST_CONFIGURE_FILE=${DESTDIR}${EGDIR}/configure \
		INST_UID=${ROOT_USER}

post-extract:
	${CP} ${FILESDIR}/Makefile-DragonFly ${FILESDIR}/os.h-DragonFly \
		${WRKSRC}/OS/
	${CP} ${FILESDIR}/mailer.conf.exim ${WRKDIR}/mailer.conf
	${CP} ${FILESDIR}/exim_newaliases ${WRKDIR}/exim_newaliases

pre-patch:
	${MKDIR} ${WRKSRC}/Local
	${CP} ${WRKSRC}/src/EDITME ${WRKSRC}/Local/Makefile.pkgsrc

pre-configure:
	${CP} ${WRKSRC}/Local/Makefile.pkgsrc ${WRKSRC}/Local/Makefile
	@@for f in ${WRKSRC}/OS/Makefile-*; do \
		${SED} -e 's/^CFLAGS.*/& $$(CPPFLAGS)/' \
		-e '/^DBMLIB/d' $$f > $$f.subst; \
		${MV} -f $$f.subst $$f; \
	done

post-install:
	${INSTALL_SCRIPT} ${WRKDIR}/exim_newaliases ${DESTDIR}${PREFIX}/sbin/exim_newaliases
	${INSTALL_DATA} ${WRKDIR}/mailer.conf ${DESTDIR}${EGDIR}
	${CP} ${FILESDIR}/exim.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/exim.8

.include "../../devel/pcre/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.61
log
@*: recursive bump for perl 5.36
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.60 2021/06/23 20:33:12 nia Exp $
d6 1
a6 1
MASTER_SITES+=	http://public.planetmirror.com.au/pub/exim/exim3/
@


1.60
log
@Revbump for MySQL default change
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.59 2021/05/24 19:52:40 wiz Exp $
d4 1
a4 1
PKGREVISION=	23
@


1.59
log
@*: recursive bump for perl 5.34
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.58 2021/04/21 08:11:16 wiz Exp $
d4 1
a4 1
PKGREVISION=	22
@


1.58
log
@*: remove dead master site
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.57 2020/08/31 18:09:55 wiz Exp $
d4 1
a4 1
PKGREVISION=	21
@


1.57
log
@*: bump PKGREVISION for perl-5.32.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.56 2020/01/26 17:31:33 rillig Exp $
a5 1
MASTER_SITES=	ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim3/
@


1.56
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.55 2019/08/11 13:21:27 wiz Exp $
d4 1
a4 1
PKGREVISION=	20
@


1.55
log
@Bump PKGREVISIONs for perl 5.30.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.54 2019/05/23 19:23:05 rillig Exp $
d11 1
a11 1
HOMEPAGE=	http://www.exim.org/
d87 2
a88 2
	INST_CONFIGURE_FILE=${DESTDIR}${EGDIR}/configure \
	INST_UID=${ROOT_USER}
@


1.54
log
@all: replace SUBST_SED with the simpler SUBST_VARS

pkglint -Wall -r --only "substitution command" -F

With manual review and indentation fixes since pkglint doesn't get that
part correct in every case.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.53 2018/08/22 09:45:25 wiz Exp $
d4 1
a4 1
PKGREVISION=	19
@


1.53
log
@Recursive bump for perl5-5.28.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.52 2018/07/04 13:40:23 jperkin Exp $
d76 6
a81 6
SUBST_SED.paths+=	-e 's,@@PREFIX@@,${PREFIX},g'
SUBST_SED.paths+=	-e 's,@@PKG_SYSCONFDIR@@,${PKG_SYSCONFDIR},g'
SUBST_SED.paths+=	-e 's,@@GZIP_CMD@@,${GZIP_CMD},g'
SUBST_SED.paths+=	-e 's,@@GZCAT@@,${GZCAT},g'
SUBST_SED.paths+=	-e 's,@@PERL5@@,${PERL5},g'
SUBST_SED.paths+=	-e 's,@@SH@@,${SH},g'
@


1.52
log
@*: Move SUBST_STAGE from post-patch to pre-configure

Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.51 2018/03/08 15:14:54 maya Exp $
d4 1
a4 1
PKGREVISION=	18
@


1.51
log
@exim3: attempt to patch CVE-2018-6789

I'm not an exim user, so this might not work, but the file hasn't
changed very much between exim4 and exim3.

PKGREVISION++
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.50 2017/01/19 18:52:16 agc Exp $
d82 1
a82 1
SUBST_STAGE.paths=	post-patch
@


1.50
log
@Convert all occurrences (353 by my count) of

	MASTER_SITES= 	site1 \
			site2

style continuation lines to be simple repeated

	MASTER_SITES+= site1
	MASTER_SITES+= site2

lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint
accordingly.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.49 2016/10/09 21:42:00 wiz Exp $
d4 1
a4 1
PKGREVISION=	17
@


1.49
log
@Recursive bump for all users of pgsql now that the default is 95.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2016/07/09 06:38:29 wiz Exp $
d6 2
a7 2
MASTER_SITES=	ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim3/ \
		http://public.planetmirror.com.au/pub/exim/exim3/
@


1.48
log
@Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.47 2015/06/12 10:50:19 wiz Exp $
d4 1
a4 1
PKGREVISION=	16
@


1.47
log
@Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.46 2014/05/29 23:36:45 wiz Exp $
d4 1
a4 1
PKGREVISION=	15
@


1.46
log
@Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2013/07/12 10:44:56 jperkin Exp $
d4 1
a4 1
PKGREVISION=	14
@


1.45
log
@Bump PKGREVISION of all packages which create users, to pick up change of
sysutils/user_* packages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2013/05/31 12:41:14 wiz Exp $
d4 1
a4 1
PKGREVISION=	13
@


1.44
log
@Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2013/03/02 20:33:27 wiz Exp $
d4 1
a4 1
PKGREVISION=	12
@


1.43
log
@Bump PKGREVISION for mysql default change to 55.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2012/10/08 12:19:10 asau Exp $
d4 1
a4 1
PKGREVISION=	11
@


1.42
log
@Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2012/10/03 21:56:23 wiz Exp $
d4 1
a4 1
PKGREVISION=	10
@


1.41
log
@Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2012/08/05 10:02:12 obache Exp $
a13 1
PKG_DESTDIR_SUPPORT =	user-destdir
@


1.40
log
@Bump PKGREVISION for change of PostgreSQL default version to 9.1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2012/03/03 00:13:29 wiz Exp $
d4 1
a4 1
PKGREVISION=	9
@


1.39
log
@Recursive bump for pcre-8.30* (shlib major change)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2010/06/28 08:55:37 joerg Exp $
d4 1
a4 1
PKGREVISION=	8
@


1.38
log
@DESTDIR support
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2010/03/21 16:29:41 wiz Exp $
d4 1
a4 1
PKGREVISION=	7
@


1.37
log
@Reset maintainer, developer lost his commit bit.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2009/06/30 00:07:19 joerg Exp $
d14 1
a22 1
MAKE_ENV+=		INST_CONFIGURE_FILE="${EGDIR}/configure"
d87 4
d110 3
a112 3
	${INSTALL_SCRIPT} ${WRKDIR}/exim_newaliases ${PREFIX}/sbin/exim_newaliases
	${INSTALL_DATA} ${WRKDIR}/mailer.conf ${EGDIR}
	${CP} ${FILESDIR}/exim.8 ${PREFIX}/${PKGMANDIR}/man8/exim.8
@


1.37.4.1
log
@Pullup previous changes on HEAD to pkgsrc-2010Q2 branch to fix branching
error, and to sync with reality.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2010/06/28 08:55:37 joerg Exp $
a13 1
PKG_DESTDIR_SUPPORT =	user-destdir
d22 1
a86 4
INSTALL_ENV+=	INST_BIN_DIRECTORY=${DESTDIR}${PREFIX}/sbin \
	INST_CONFIGURE_FILE=${DESTDIR}${EGDIR}/configure \
	INST_UID=${ROOT_USER}

d106 3
a108 3
	${INSTALL_SCRIPT} ${WRKDIR}/exim_newaliases ${DESTDIR}${PREFIX}/sbin/exim_newaliases
	${INSTALL_DATA} ${WRKDIR}/mailer.conf ${DESTDIR}${EGDIR}
	${CP} ${FILESDIR}/exim.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/exim.8
@


1.36
log
@Mark packages as MAKE_JOBS_SAFE=no that failed in a bulk build with
MAKE_JOBS=2 and worked without.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2007/07/04 20:54:43 jlam Exp $
d10 1
a10 1
MAINTAINER=	grant@@NetBSD.org
@


1.35
log
@Make it easier to build and install packages "unprivileged", where
the owner of all installed files is a non-root user.  This change
affects most packages that require special users or groups by making
them use the specified unprivileged user and group instead.

(1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to
    unprivileged.mk.  These two variables are lists of other bmake
    variables that define package-specific users and groups.  Packages
    that have user-settable variables for users and groups, e.g. apache
    and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP},
    etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS
    so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER}
    and ${UNPRIVILEGED_GROUP}.

(2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2007/03/24 19:21:26 joerg Exp $
d14 2
@


1.34
log
@Prepare for switching to NO_MTREE=yes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2007/01/07 09:13:57 rillig Exp $
a15 2

BUILD_DEFS+=		EXIM_USER EXIM_GROUP
d32 3
@


1.33
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.32 2006/04/23 00:12:38 jlam Exp $
d82 2
a101 3
pre-install:
	${INSTALL_DATA_DIR} ${EGDIR}

@


1.32
log
@Modify packages that set PKG_USERS and PKG_GROUPS to follow the new
syntax as specified in pkgsrc/mk/install/bsd.pkginstall.mk:1.47.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2006/03/06 22:49:16 joerg Exp $
d106 1
a106 1
	${CP} ${FILESDIR}/exim.8 ${PREFIX}/man/man8/exim.8
@


1.31
log
@Fix parsing of IPv6 address possibly result in privilege escalation.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2006/02/13 23:20:32 joerg Exp $
a30 1
PKG_USERS=		${EXIM_USER}:${EXIM_GROUP}:8:Exim\ mail\ server\ user:/var/mail:${NOLOGIN}
d32 6
@


1.30
log
@Don't use shiped PCRE version, since it is very old and most likely
vulnerable. Bump revision.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2006/01/21 00:22:58 joerg Exp $
d4 1
a4 1
PKGREVISION=	6
@


1.29
log
@Replace another bunch of FILES_SUBST_SED uses, don't hardcode
/bin/sh in exim_newaliases.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2006/01/20 23:09:42 joerg Exp $
d4 1
a4 1
PKGREVISION=	5
d103 1
@


1.28
log
@Use SUBST framework instead of FILES_SUBST_SED. Rename temporary file
from Makefile.NetBSD to Makefile.pkgsrc (cosmetic only). Use PERL5
instead of PREFIX/bin/perl when looking for Perl interpreter.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2006/01/08 19:38:54 joerg Exp $
d67 2
a68 1
SUBST_FILES.paths=	Local/Makefile.pkgsrc
d74 1
d80 2
a97 4
post-build:
	@@${SED} ${FILES_SUBST_SED} ${FILESDIR}/mailer.conf.exim \
		> ${WRKDIR}/mailer.conf

d99 1
a99 3
	@@${SED} ${FILES_SUBST_SED} ${FILESDIR}/exim_newaliases \
		> ${PREFIX}/sbin/exim_newaliases
	${CHMOD} ugo+x ${PREFIX}/sbin/exim_newaliases
@


1.27
log
@Add DragonFly support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2006/01/08 18:35:10 xtraeme Exp $
d66 9
d81 1
a81 1
	${CP} ${WRKSRC}/src/EDITME ${WRKSRC}/Local/Makefile.netbsd
d84 1
a84 2
	@@${SED} ${FILES_SUBST_SED} ${WRKSRC}/Local/Makefile.netbsd \
		> ${WRKSRC}/Local/Makefile
@


1.26
log
@Bump PKGREVISION due to mysql.buildlink3.mk changes (default mysql
pkg has been changed to 5.x). Reminded by wiz... thanks.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2005/12/29 06:21:49 jlam Exp $
d66 4
@


1.25
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.24 2005/12/05 20:50:30 rillig Exp $
d4 1
a4 1
PKGREVISION=	4
@


1.24
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.23 2005/08/23 11:48:48 rillig Exp $
a15 1
USE_PKGINSTALL=	YES
@


1.24.2.1
log
@Pullup ticket 1130 - requested by Joerg Sonnenberger
security fix for exim3

Revisions pulled up:
- pkgsrc/mail/exim3/Makefile			1.30
- pkgsrc/mail/exim3/distinfo			1.8
- pkgsrc/mail/exim3/patches/patch-ai		1.1
- pkgsrc/mail/exim3/patches/patch-aj		1.1
- pkgsrc/mail/exim3/patches/patch-ak		1.1
- pkgsrc/mail/exim3/patches/patch-al		1.1
- pkgsrc/mail/exim3/patches/patch-am		1.1
- pkgsrc/mail/exim3/patches/patch-an		1.1

   Module Name:		pkgsrc
   Committed By:	joerg
   Date:		Mon Feb 13 23:20:32 UTC 2006

   Modified Files:
   	pkgsrc/mail/exim3: Makefile distinfo
   Added Files:
   	pkgsrc/mail/exim3/patches: patch-ai patch-aj patch-ak patch-al
   		patch-am patch-an

   Log Message:
   Don't use shiped PCRE version, since it is very old and most likely
   vulnerable. Bump revision.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2006/02/13 23:20:32 joerg Exp $
d4 1
a4 1
PKGREVISION=	6
a93 1
.include "../../devel/pcre/buildlink3.mk"
@


1.24.2.2
log
@Pullup ticket 1204 - requested by Joerg Sonnenberger
security fix for exim3

Revisions pulled up:
- pkgsrc/mail/exim3/Makefile		1.31
- pkgsrc/mail/exim3/distinfo		1.9
- pkgsrc/mail/exim3/patches/patch-ao	1.1
- pkgsrc/mail/exim3/patches/patch-ap	1.1

   Module Name:    pkgsrc
   Committed By:   joerg
   Date:           Mon Mar  6 22:49:16 UTC 2006

   Modified Files:
           pkgsrc/mail/exim3: Makefile distinfo
   Added Files:
           pkgsrc/mail/exim3/patches: patch-ao patch-ap

   Log Message:
   Fix parsing of IPv6 address possibly result in privilege escalation.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24.2.1 2006/02/14 15:04:11 salo Exp $
d4 1
a4 1
PKGREVISION=	7
@


1.23
log
@The real user name in PKG_USERS does not need to be escaped with double
backslashes anymore. A single backslash is enough. Changed the
definition in all affected packages. For those that are not caught, an
additional check is placed into bsd.pkginstall.mk.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2005/07/21 03:04:21 grant Exp $
d39 1
a39 1
FILES_SUBST+=		GZCAT="${GZCAT}"
d64 2
a65 2
MAKE_ENV+=		LOOKUP_INCLUDE="${LOOKUP_INCLUDE}"
MAKE_ENV+=		LOOKUP_LIBS="${LOOKUP_LIBS}"
@


1.22
log
@include ${LDFLAGS} in DBMLIB passed in MAKE_ENV, so the correct
library path is passed for linking against the BerkeleyDB library.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2005/07/16 01:19:12 jlam Exp $
d32 1
a32 1
PKG_USERS=		${EXIM_USER}:${EXIM_GROUP}:8:Exim\\ mail\\ server\\ user:/var/mail:${NOLOGIN}
@


1.21
log
@Get rid of USE_PERL5.  The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2005/07/12 04:07:41 grant Exp $
d61 1
a61 1
DBMLIB+=		${BDB_LIBS}
@


1.20
log
@use ${NOLOGIN}, not hardcoded /sbin/nologin. fixes install on Solaris
and others.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2005/05/15 04:26:24 jlam Exp $
a15 1
USE_PERL5=	YES
d37 1
a37 1
USE_TOOLS+=		gzip gzcat
@


1.19
log
@gzcat is needed, so note it as such for the new tools framework.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2005/04/28 22:46:11 jlam Exp $
d33 1
a33 1
PKG_USERS=		${EXIM_USER}:${EXIM_GROUP}:8:Exim\\ mail\\ server\\ user:/var/mail:/sbin/nologin
@


1.19.2.1
log
@Pullup ticket 594 - requested by grant beattie
kill some hardcoded instances of /sbin/nologin

Revisions pulled up:
- pkgsrc/mail/exim/Makefile		1.58
- pkgsrc/mail/exim3/Makefile		1.20
- pkgsrc/chat/ircd-hybrid/Makefile	1.17
- pkgsrc/net/openntpd/Makefile		1.13
- pkgsrc/security/pflkm/Makefile	1.9
- pkgsrc/sysutils/dbus/Makefile		1.5

    Module Name:    pkgsrc
    Committed By:   grant
    Date:           Tue Jul 12 04:07:41 UTC 2005

    Modified Files:
            pkgsrc/mail/exim: Makefile
            pkgsrc/mail/exim3: Makefile

    Log Message:
    use ${NOLOGIN}, not hardcoded /sbin/nologin. fixes install on Solaris
    and others.
----
    Module Name:    pkgsrc
    Committed By:   grant
    Date:           Tue Jul 12 04:15:50 UTC 2005

    Modified Files:
            pkgsrc/chat/ircd-hybrid: Makefile
            pkgsrc/net/openntpd: Makefile
            pkgsrc/security/pflkm: Makefile
            pkgsrc/sysutils/dbus: Makefile

    Log Message:
    use ${NOLOGIN}, not hardcoded /sbin/nologin.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2005/05/15 04:26:24 jlam Exp $
d33 1
a33 1
PKG_USERS=		${EXIM_USER}:${EXIM_GROUP}:8:Exim\\ mail\\ server\\ user:/var/mail:${NOLOGIN}
@


1.19.2.2
log
@Pullup ticket 615 - requested by grant beattie
build fix for exim3

Revisions pulled up:
- pkgsrc/mail/exim3/Makefile	1.22

    Module Name:    pkgsrc
    Committed By:   grant
    Date:           Thu Jul 21 03:04:21 UTC 2005

    Modified Files:
            pkgsrc/mail/exim3: Makefile

    Log Message:
    include ${LDFLAGS} in DBMLIB passed in MAKE_ENV, so the correct
    library path is passed for linking against the BerkeleyDB library.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19.2.1 2005/07/22 16:42:27 snj Exp $
d62 1
a62 1
DBMLIB+=		${LDFLAGS} ${BDB_LIBS}
@


1.18
log
@Pull out the first word of GZIP_CMD without using ${SED}.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2005/04/11 21:46:18 tv Exp $
d38 1
@


1.17
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2004/12/28 02:47:44 reed Exp $
d38 1
a38 2
_GZIP_CMD!=		${ECHO} ${GZIP_CMD} | ${SED} -e 's/ .*//'
FILES_SUBST+=		GZIP_CMD="${_GZIP_CMD}"
@


1.16
log
@The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2004/11/15 17:54:49 jlam Exp $
a15 1
USE_BUILDLINK3=	YES
@


1.15
log
@Rework the Berkeley DB detection in buildlink3:

  * Add a db1.builtin.mk file that detects whether DB-1.85 functionality
    exists in the base system, and remove the distinction between
    "native" and the other Berkeley DB packages -- we now refer to
    db[1234].  This paves the way for any future databases/db1 package.

  * USE_DB185 shouldn't need to be set by any packages -- its correct
    value is now automatically determined by bdb.buildlink3.mk depending
    on whether we explicitly request db1 or not.  By default, if you
    include bdb.buildlink3.mk, you want DB-1.85 functionality and
    USE_DB185 defaults to "yes", but if you explicitly remove db1 from
    the list of acceptable DBs, then USE_DB185 defaults to "no".

  * Set BDB_LIBS to the library options needed to link against the DB
    library when bdb.buildlink3.mk is included.

  * We only add the DB library to the linker command automatically if
    we want DB-1.85 functionality; otherwise assume that the package
    configure process can figure out how to probe for the correct
    headers and libraries.

Edit package Makefiles to nuke redundant settings of USE_DB185.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2004/10/29 05:59:24 jdolecek Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.14
log
@use mk/mysql.buildlink3.mk instead of databases/mysql-client/buildlink3.mk,
so that we'd not force dependance on specific MySQL version, and instead pick
the currently installed mysql*-client (or install the default if there
is no mysql-client package installed yet)

this makes package buildable with arbitrary MySQL version, such as 3.23.x,
4.0.x or 4.1.x
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2004/10/03 00:12:52 tv Exp $
d21 1
a21 1
BUILD_DEFS+=		EXIM_DB.db1 EXIM_DB.mysql EXIM_DB.pgsql
a44 8
# default to using db1 on platforms which have it.
EXIM_DB.db1?=		YES
.if ${EXIM_DB.db1} == "YES"
USE_DB185=		YES
.endif
# does not compile with db4
BDB_ACCEPTED=	native db3 db2

d61 1
a61 1
# buildlink3 decides which libdb to use on this platform.
d63 1
a63 3
DBMLIB+=		${BUILDLINK_CPPFLAGS.bdb}
DBMLIB+=		${BUILDLINK_LDFLAGS.bdb}
DBMLIB+=		${BUILDLINK_LIBS.bdb}
@


1.13
log
@Libtool fix for PR pkg/26633, and other issues.  Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2004/08/27 06:29:08 jlam Exp $
d59 1
a59 1
.  include "../../databases/mysql-client/buildlink3.mk"
@


1.12
log
@Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
which are the full option names used to set rpath directives for the
linker and the compiler, respectively.  In places were we are invoking
the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is
inserted in case the flag is a word, e.g. -rpath.  The default values
of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the
compiler that you use.  They may be overridden on a ${OPSYS}-specific
basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG,
respectively.  Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2004/07/24 22:45:15 recht Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.11
log
@Use the new mk/pgsql.buildlink3.mk to select the correct PostgreSQL
version.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2004/07/10 03:08:32 grant Exp $
d56 1
a56 1
LOOKUP_LIBS+=		-Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.mysql-client}/lib/mysql
d64 1
a64 1
LOOKUP_LIBS+=		-Wl,${RPATH_FLAG}${PGSQL_PREFIX}/lib -lpq
@


1.10
log
@use BUILDLINK_{CPPFLAGS,LDFLAGS,LIBS}.bdb. makes this build on Linux
again with various db implementations.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2004/07/08 00:14:05 reed Exp $
d62 3
a64 3
LOOKUP_INCLUDE+=	-I${BUILDLINK_PREFIX.postgresql-lib}/include/postgresql
LOOKUP_LIBS+=		-L${BUILDLINK_PREFIX.postgresql-lib}/lib
LOOKUP_LIBS+=		-Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.postgresql-lib}/lib -lpq
d66 1
a66 1
.  include "../../databases/postgresql-lib/buildlink3.mk"
@


1.9
log
@Conflict with exim-exiscan.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2004/07/07 08:51:52 wiz Exp $
d71 4
a74 11
.if ${BDB_TYPE} == "db3"
DBMLIB+=		-Wl,${RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.db3}
DBMLIB+=		-L${LOCALBASE}/${BUILDLINK_LIBDIRS.db3} -ldb3
DBMLIB+=		-I${PREFIX}/${BUILDLINK_INCDIRS.db3}
.elif ${BDB_TYPE} == "db2"
DBMLIB+=		-Wl,${RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.db2}
DBMLIB+=		-L${LOCALBASE}/${BUILDLINK_LIBDIRS.db2} -ldb2
DBMLIB+=		-I${PREFIX}/${BUILDLINK_INCDIRS.db2}
.  else # using native
DBMLIB+=		"-I/usr/${BUILDLINK_INCDIRS.db-native}"
.endif
@


1.8
log
@Set BDB_ACCEPTED to "native db3 db2"; tested to compile against db1 and db3.
Does not compile against db4.
Pass down necessary -L/-Wl,-R/-I for all supported versions.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2004/07/06 22:38:00 wiz Exp $
d14 2
@


1.7
log
@Convert to bl3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2004/05/07 17:47:32 abs Exp $
d48 2
d54 1
a54 1
LOOKUP_LIBS+=		-Wl,-R${BUILDLINK_PREFIX.mysql-client}/lib/mysql
d62 1
a62 1
LOOKUP_LIBS+=		-Wl,-R${BUILDLINK_PREFIX.postgresql-lib}/lib -lpq
d68 13
a80 1
MAKE_ENV+=		DBMLIB="${BUILDLINK_LDFLAGS.db} ${BUILDLINK_LIBS.db}"
a110 1
.include "../../mk/bdb.buildlink3.mk"
@


1.6
log
@Update exim3 to exim-3.36nb2
  - Fix buffer overflows listed at http://www.guninski.com/exim1.html

Update exim to exim-4.33nb1 (from 4.22nb5)
  - Fix buffer overflow listed at http://www.guninski.com/exim1.html
  - Leave nb1 to indicate we have a local change from stock 4.33
  - 1086 lines of changes - http://www.exim.org/ftp/ChangeLogs/ChangeLog-4.33
  - Remove dependancy on exim-user - now looks up EXIM_{USER,GROUP} at runtime

Update exim-exiscan to 4.33_20nb1 (from 4.22-12)
  - Fix buffer overflow listed at http://www.guninski.com/exim1.html
  - Leave nb1 to indicate we have a local change from stock 4.33_20
  - Same exim changes - http://www.exim.org/ftp/ChangeLogs/ChangeLog-4.33
  - Changes (http://duncanthrax.net/exiscan-acl/CHANGELOG) include
    - added option to use multiple spamd servers
    - many mime changes
    - Added Brightmail Antispam support
    - clamd fixes

Update exim-html to 4.30 (from 4.20)
  - Update to latest docs

Delete exim-user
  - No longer required - exim now looks up EXIM_{USER,GROUP} at runtime
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2004/05/06 22:34:27 reed Exp $
d14 1
a14 1
USE_BUILDLINK2=	YES
d51 3
a53 1
LOOKUP_LIBS+=		${BUILDLINK_LDFLAGS.mysql-client} -lmysqlclient
d55 1
a55 1
.  include "../../databases/mysql-client/buildlink2.mk"
d59 2
a60 1
LOOKUP_LIBS+=		-lpq
d62 1
a62 1
.  include "../../databases/postgresql-lib/buildlink2.mk"
d65 1
a65 1
# buildlink2 decides which libdb to use on this platform.
d97 1
a97 1
.include "../../databases/db/buildlink2.mk"
@


1.5
log
@Use @@PKG_SYSCONFDIR@@ instead of @@PREFIX@@/etc/exim
for location of configure script check in the exim rc.d script.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2003/12/04 05:14:30 grant Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.4
log
@fix a thinko
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2003/12/04 04:51:00 grant Exp $
d4 1
@


1.4.2.1
log
@Pull up revisions 1.5-1.6 (requested by abs in ticket #28):

Update exim3 to exim-3.36nb2
  - Fix buffer overflows listed at http://www.guninski.com/exim1.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2003/12/04 05:14:30 grant Exp $
a3 1
PKGREVISION=	2
@


1.3
log
@I guess I'll take maintainership of this now.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2003/12/04 04:28:16 grant Exp $
d63 2
a64 2
MAKE_ENV+=		LOOKUP_INCLUDE="${_LOOKUP_INCLUDE}"
MAKE_ENV+=		LOOKUP_LIBS="${_LOOKUP_LIBS}"
@


1.2
log
@fix berkeley db support on at least NetBSD and Linux, using values
harvested from databases/db/buildlink2.mk. defaults to db1 where
possible unless EXIM_DB.db1 != YES.

tidy up mysql and postgresql handling.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2001/12/19 17:11:02 ad Exp $
d9 1
a9 1
MAINTAINER=	ad@@NetBSD.org
@


1.1
log
@Initial revision
@
text
@d18 1
a18 1
BUILD_DEFS+=		EXIM_DB.mysql EXIM_DB.pgsql
d42 6
d49 3
a51 3
_EXIM_DB+=		mysql
_LOOKUP_INCLUDE+=	-I${BUILDLINK_PREFIX.mysql-client}/include/mysql
_LOOKUP_LIBS+=		${BUILDLINK_LDFLAGS.mysql-client} -lmysqlclient
d55 3
a57 3
_EXIM_DB+=		pgsql
_LOOKUP_INCLUDE+=	-I${BUILDLINK_PREFIX.postgresql-lib}/include/postgresql
_LOOKUP_LIBS+=		-lpq
d61 5
d73 4
a76 3
	for f in ${WRKSRC}/OS/Makefile-*; do \
		${SED} -e 's/^CFLAGS.*/& $$(CPPFLAGS)/' $$f > $$f.cppsubst; \
		${MV} -f $$f.cppsubst $$f; \
a77 10
.if defined(_EXIM_DB)
	@@${ECHO} LOOKUP_INCLUDE=${_LOOKUP_INCLUDE} >> ${WRKSRC}/Local/Makefile
	@@${ECHO} LOOKUP_LIBS=${_LOOKUP_LIBS} >> ${WRKSRC}/Local/Makefile
.  if !empty(_EXIM_DB:Mmysql)
	@@${ECHO} LOOKUP_MYSQL=yes >> ${WRKSRC}/Local/Makefile
.  endif
.  if !empty(_EXIM_DB:Mpgsql)
	@@${ECHO} LOOKUP_PGSQL=yes >> ${WRKSRC}/Local/Makefile
.  endif
.endif
d93 1
@


1.1.1.1
log
@import of exim3-3.36 from pkgsrc-wip.

originally this package was taken from the netbsd-1-5-PATCH003 tag,
and a number of updates have been made to it:

- updated to 3.36.
- added security patch from
    http://www.exim.org/pipermail/exim-announce/2003q3/000094.html
- use a variety of new pkgsrc features for installing configuration files,
  creating directories, rc scripts, etc.
- added mysql and postgresql support.
- other general nits/fixes.

exim3 is still widely used by a large number of sites, and this package
has been added again to support existing installations.
@
text
@@
