[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / mail / dovecot

File: [cvs.NetBSD.org] / pkgsrc / mail / dovecot / Makefile (download)

Revision 1.92.2.1, Mon Apr 23 23:26:36 2007 UTC (12 years, 7 months ago) by salo
Branch: pkgsrc-2007Q1
Changes since 1.92: +2 -3 lines

Pullup ticket 2072 - requested by ghen
dovecot update

Revisions pulled up:
- pkgsrc/mail/dovecot/Makefile			1.93, 1.94, 1.95
- pkgsrc/mail/dovecot/distinfo			1.65, 1.66

   Module Name:		pkgsrc
   Committed By:	ghen
   Date:		Sun Apr  8 10:48:08 UTC 2007

   Modified Files:
   	pkgsrc/mail/dovecot: Makefile distinfo

   Log Message:
   Update to dovecot-1.0rc31.  From the release announcement mail:

   mbox + NFS combination shouldn't break anymore. v1.0 still planned to
   be released next friday.

   	- mbox: Give "mbox file was modified while we were syncing" error only
   	  if we detect some problems in the mbox file. The check can't be
   	  trusted with NFS.
   	- Convert plugin: If directory for destination storage doesn't exist,
   	  create it.
   	- Convert plugin: Mailbox names weren't converted in subscription
   	  list.
---
   Module Name:		pkgsrc
   Committed By:	ghen
   Date:		Fri Apr 13 12:24:05 UTC 2007

   Modified Files:
   	pkgsrc/mail/dovecot: Makefile distinfo

   Log Message:
   Update to dovecot-1.0.0.  This release is identical to 1.0rc32 (which has not
   been in pkgsrc) except for the version number, so here is the announcement of
   1.0rc32:

   Pretty late for changes if v1.0 is supposed to come out tomorrow, but I
   can't really leave these LDAP bugs unfixed. They shouldn't anyway break
   anything, so here's one more day for you people to find out about any
   bugs.

   One thing that I'm a bit concerned about is the addition of #define
   LDAP_DEPRECATED. I know it fixes crashes with OpenLDAP 2.3 + 64bit
   systems, but I hope it doesn't break compiling with some old versions or
   non-OpenLDAP libraries..

   	- LDAP, auth_bind=3Dno: Don't crash if doing non-plaintext ldap passdb
   	  lookup for unknown user. This also broke deliver when userdb static
   	  was used.
   	- LDAP, auth_bind=3Dyes and userdb ldap: We didn't wait until bind was
   	  finished before sending the userdb request, which could have caused
   	  problems.
   	- LDAP: Don't break when compiling with OpenLDAP v2.3 library
   	- Convert plugin: Don't create "maildirfolder" file to Maildir root.
---
   Module Name:		pkgsrc
   Committed By:	ghen
   Date:		Fri Apr 13 12:29:22 UTC 2007

   Modified Files:
   	pkgsrc/mail/dovecot: Makefile

   Log Message:
   Forgot to delete a commented line.

# $NetBSD: Makefile,v 1.92.2.1 2007/04/23 23:26:36 salo Exp $

DISTNAME=		dovecot-1.0.0
CATEGORIES=		mail
MASTER_SITES=		http://www.dovecot.org/releases/

MAINTAINER=		ghen@NetBSD.org
HOMEPAGE=		http://www.dovecot.org/
COMMENT=		Secure IMAP and POP3 server

PKG_INSTALLATION_TYPES=	overwrite pkgviews
PKG_DESTDIR_SUPPORT=	user-destdir

USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes
USE_TOOLS+=		pkg-config

CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+=	--localstatedir=${VARBASE:Q}
CONFIGURE_ARGS+=	--with-ssldir=${SSLDIR:Q}

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

RCD_SCRIPTS=		dovecot

DOVECOT_USER?=		dovecot
DOVECOT_GROUP?=		dovecot
PKG_GROUPS=		${DOVECOT_GROUP}
PKG_USERS=		${DOVECOT_USER}:${DOVECOT_GROUP}

PKG_GECOS.${DOVECOT_USER}=	Dovecot IMAP/POP3 user

EGDIR=			${PREFIX}/share/examples/dovecot
CONF_FILES=		${EGDIR}/dovecot.conf.default ${PKG_SYSCONFDIR}/dovecot.conf

INSTALLATION_DIRS=	libexec/dovecot sbin share/doc/dovecot		\
			share/examples/dovecot

SUBST_CLASSES+=		paths
SUBST_FILES.paths=	dovecot-example.conf
SUBST_SED.paths+=	-e 's,@PREFIX@,${PREFIX},g'
SUBST_STAGE.paths=	pre-configure

post-build:
	${SED} "s|/etc/ssl/|${SSLDIR}/|" ${WRKSRC}/dovecot-example.conf \
						> ${WRKDIR}/dovecot-example.conf
	${SED} "s|/etc/ssl|${SSLDIR}|" ${WRKSRC}/doc/mkcert.sh \
						> ${WRKDIR}/mkcert.sh

post-install:
	${INSTALL_DATA} ${WRKDIR}/dovecot-example.conf ${DESTDIR}${EGDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/dovecot-* ${DESTDIR}${EGDIR}
	${INSTALL_SCRIPT} ${WRKDIR}/mkcert.sh ${DESTDIR}${EGDIR}

.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"