2006-04-28 20:15:20 +02:00
|
|
|
# $NetBSD: Makefile,v 1.53 2006/04/28 18:15:20 jlam Exp $
|
2001-08-01 00:48:50 +02:00
|
|
|
|
2006-04-28 20:15:20 +02:00
|
|
|
DISTNAME= courier-imap-4.1.0
|
Update mail/courier-imap to courier-imap-4.0.1. Changes from version
3.0.5 include:
* Implemented IMAP and POP3 proxy aggregator. With a proxy
aggregator, the mail accounts are split between multiple,
independent servers, with an IMAP/POP3 server running on each
individual server. A separate, proxy server sits in front and
accepts ordinary IMAP and POP3 connections. It reads the login
ID, determines which server the account is located on, connects
to the server, and logs in. Then, for the lifetime on the login
session the front-end server takes itself out of the loop, and
forwards all session traffic between the IMAP/POP3 client, and
the back-end server.
* Use courier-authlib for user authentication.
* IPv6 support.
* Minor bug fixes.
Please note when updating that the locations of the userdb files has
changed to be within the courier-authlib config directory, e.g.
/usr/pkg/etc/authlib/userdb*.
2005-02-18 23:12:46 +01:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=courier/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2004-03-26 03:27:34 +01:00
|
|
|
|
2005-12-17 06:20:21 +01:00
|
|
|
MAINTAINER= jlam@pkgsrc.org
|
2004-07-14 22:07:16 +02:00
|
|
|
COMMENT= IMAP server for access to maildir-style mailboxes
|
Update mail/courier-imap to courier-imap-4.0.1. Changes from version
3.0.5 include:
* Implemented IMAP and POP3 proxy aggregator. With a proxy
aggregator, the mail accounts are split between multiple,
independent servers, with an IMAP/POP3 server running on each
individual server. A separate, proxy server sits in front and
accepts ordinary IMAP and POP3 connections. It reads the login
ID, determines which server the account is located on, connects
to the server, and logs in. Then, for the lifetime on the login
session the front-end server takes itself out of the loop, and
forwards all session traffic between the IMAP/POP3 client, and
the back-end server.
* Use courier-authlib for user authentication.
* IPv6 support.
* Minor bug fixes.
Please note when updating that the locations of the userdb files has
changed to be within the courier-authlib config directory, e.g.
/usr/pkg/etc/authlib/userdb*.
2005-02-18 23:12:46 +01:00
|
|
|
HOMEPAGE= http://www.courier-mta.org/imap/
|
2001-08-01 00:48:50 +02:00
|
|
|
|
2006-04-28 20:15:20 +02:00
|
|
|
DEPENDS+= courier-maildir>=0.53.1:../../mail/courier-maildir
|
2001-08-16 08:23:21 +02:00
|
|
|
|
2005-07-16 03:19:06 +02:00
|
|
|
USE_TOOLS+= env gmake perl
|
2004-02-22 04:13:02 +01:00
|
|
|
USE_LANGUAGES= c c++
|
Update mail/courier-imap to courier-imap-4.0.1. Changes from version
3.0.5 include:
* Implemented IMAP and POP3 proxy aggregator. With a proxy
aggregator, the mail accounts are split between multiple,
independent servers, with an IMAP/POP3 server running on each
individual server. A separate, proxy server sits in front and
accepts ordinary IMAP and POP3 connections. It reads the login
ID, determines which server the account is located on, connects
to the server, and logs in. Then, for the lifetime on the login
session the front-end server takes itself out of the loop, and
forwards all session traffic between the IMAP/POP3 client, and
the back-end server.
* Use courier-authlib for user authentication.
* IPv6 support.
* Minor bug fixes.
Please note when updating that the locations of the userdb files has
changed to be within the courier-authlib config directory, e.g.
/usr/pkg/etc/authlib/userdb*.
2005-02-18 23:12:46 +01:00
|
|
|
USE_LIBTOOL= yes
|
2004-02-22 04:13:02 +01:00
|
|
|
|
2006-01-03 06:36:36 +01:00
|
|
|
PKG_SUPPORTED_OPTIONS+= fam
|
|
|
|
|
2005-11-11 08:33:05 +01:00
|
|
|
# PKGNAME is a parameter to the following file
|
2006-01-03 06:36:36 +01:00
|
|
|
PKGNAME= ${DISTNAME}
|
2006-04-28 20:15:20 +02:00
|
|
|
.include "../../mail/courier-mta/Makefile.common"
|
2001-08-01 00:48:50 +02:00
|
|
|
|
2006-04-28 20:15:20 +02:00
|
|
|
CONFIGURE_ARGS+= --datadir=${DATADIR:Q}
|
|
|
|
CONFIGURE_ARGS+= --libexecdir=${LIBEXECDIR:Q}
|
2001-08-01 00:48:50 +02:00
|
|
|
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --with-mailuser=${ROOT_USER:Q}
|
2006-04-28 20:15:20 +02:00
|
|
|
CONFIGURE_ARGS+= --with-piddir=${VARBASE:Q}/run
|
Update mail/courier-imap to courier-imap-4.0.1. Changes from version
3.0.5 include:
* Implemented IMAP and POP3 proxy aggregator. With a proxy
aggregator, the mail accounts are split between multiple,
independent servers, with an IMAP/POP3 server running on each
individual server. A separate, proxy server sits in front and
accepts ordinary IMAP and POP3 connections. It reads the login
ID, determines which server the account is located on, connects
to the server, and logs in. Then, for the lifetime on the login
session the front-end server takes itself out of the loop, and
forwards all session traffic between the IMAP/POP3 client, and
the back-end server.
* Use courier-authlib for user authentication.
* IPv6 support.
* Minor bug fixes.
Please note when updating that the locations of the userdb files has
changed to be within the courier-authlib config directory, e.g.
/usr/pkg/etc/authlib/userdb*.
2005-02-18 23:12:46 +01:00
|
|
|
CONFIGURE_ARGS+= --program-transform-name='s/\.rc$$//'
|
2006-04-28 20:15:20 +02:00
|
|
|
CONFIGURE_ENV+= OPENSSL=${SSLBASE:Q}/bin/openssl
|
2002-01-02 23:19:37 +01:00
|
|
|
|
2006-04-28 20:15:20 +02:00
|
|
|
INSTALL_AM_MAKEFLAGS= sysconfdir=${EGDIR:Q}
|
2005-05-13 07:20:48 +02:00
|
|
|
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} AM_MAKEFLAGS=${INSTALL_AM_MAKEFLAGS:Q}
|
2002-01-22 23:08:48 +01:00
|
|
|
|
2006-04-28 20:15:20 +02:00
|
|
|
# Used in ${PKGDIR}/INSTALL
|
2005-12-05 21:49:47 +01:00
|
|
|
FILES_SUBST+= SSLCERTS=${SSLCERTS:Q}
|
2002-01-02 23:19:37 +01:00
|
|
|
|
2006-04-28 20:15:20 +02:00
|
|
|
REQD_DIRS+= ${DATADIR} ${DOCDIR} ${EGDIR} ${LIBEXECDIR}
|
|
|
|
MAKE_DIRS+= ${VARBASE}/run ${COURIER_STATEDIR}
|
|
|
|
|
|
|
|
.for _file_ in imapd.cnf imapd.dist imapd-ssl.dist \
|
|
|
|
pop3d.cnf pop3d.dist pop3d-ssl.dist
|
|
|
|
CONF_FILES_PERMS+= ${EGDIR}/${_file_} \
|
|
|
|
${PKG_SYSCONFDIR}/${_file_:S/.dist$//} \
|
|
|
|
${COURIER_FILE_PERMS}
|
2002-01-02 23:19:37 +01:00
|
|
|
.endfor
|
2004-02-22 04:13:02 +01:00
|
|
|
RCD_SCRIPTS= courierimap courierimaps courierpop courierpops
|
2002-01-02 23:19:37 +01:00
|
|
|
|
Update mail/courier-imap to courier-imap-4.0.1. Changes from version
3.0.5 include:
* Implemented IMAP and POP3 proxy aggregator. With a proxy
aggregator, the mail accounts are split between multiple,
independent servers, with an IMAP/POP3 server running on each
individual server. A separate, proxy server sits in front and
accepts ordinary IMAP and POP3 connections. It reads the login
ID, determines which server the account is located on, connects
to the server, and logs in. Then, for the lifetime on the login
session the front-end server takes itself out of the loop, and
forwards all session traffic between the IMAP/POP3 client, and
the back-end server.
* Use courier-authlib for user authentication.
* IPv6 support.
* Minor bug fixes.
Please note when updating that the locations of the userdb files has
changed to be within the courier-authlib config directory, e.g.
/usr/pkg/etc/authlib/userdb*.
2005-02-18 23:12:46 +01:00
|
|
|
SUBST_CLASSES+= courier
|
2006-04-28 20:15:20 +02:00
|
|
|
SUBST_FILES.courier= imap/imapd-ssl.dist.in imap/imapd.8.in \
|
|
|
|
imap/imapd.cnf.in imap/imapd.dist.in \
|
|
|
|
imap/mkimapdcert.8.in imap/mkimapdcert.html.in \
|
|
|
|
imap/mkimapdcert.in imapd-ssl.rc.in imapd.rc.in
|
|
|
|
SUBST_FILES.courier+= imap/courierpop3d.8.in imap/mkpop3dcert.8.in \
|
|
|
|
imap/mkpop3dcert.html.in imap/mkpop3dcert.in \
|
|
|
|
imap/pop3d-ssl.dist.in imap/pop3d.cnf.in \
|
|
|
|
imap/pop3d.dist.in pop3d-ssl.rc.in pop3d.rc.in
|
Update mail/courier-imap to courier-imap-4.0.1. Changes from version
3.0.5 include:
* Implemented IMAP and POP3 proxy aggregator. With a proxy
aggregator, the mail accounts are split between multiple,
independent servers, with an IMAP/POP3 server running on each
individual server. A separate, proxy server sits in front and
accepts ordinary IMAP and POP3 connections. It reads the login
ID, determines which server the account is located on, connects
to the server, and logs in. Then, for the lifetime on the login
session the front-end server takes itself out of the loop, and
forwards all session traffic between the IMAP/POP3 client, and
the back-end server.
* Use courier-authlib for user authentication.
* IPv6 support.
* Minor bug fixes.
Please note when updating that the locations of the userdb files has
changed to be within the courier-authlib config directory, e.g.
/usr/pkg/etc/authlib/userdb*.
2005-02-18 23:12:46 +01:00
|
|
|
SUBST_SED.courier= -e "s|^IMAPDSTART=.*|IMAPDSTART=YES|g" \
|
2001-08-01 00:48:50 +02:00
|
|
|
-e "s|^IMAPDSSLSTART=.*|IMAPDSSLSTART=YES|g" \
|
|
|
|
-e "s|^POP3DSTART=.*|POP3DSTART=YES|g" \
|
|
|
|
-e "s|^POP3DSSLSTART=.*|POP3DSSLSTART=YES|g" \
|
2006-04-28 20:15:20 +02:00
|
|
|
-e "s|@datadir@/imapd.pem|@sysconfdir@/imapd.pem|g" \
|
2001-08-01 00:48:50 +02:00
|
|
|
-e "s|@datadir@/imapd.rand|@sysconfdir@/imapd.rand|g" \
|
2006-04-28 20:15:20 +02:00
|
|
|
-e "s|@datadir@/pop3d.pem|@sysconfdir@/pop3d.pem|g" \
|
2001-08-01 00:48:50 +02:00
|
|
|
-e "s|@datadir@/pop3d.rand|@sysconfdir@/pop3d.rand|g" \
|
Update mail/courier-imap to courier-imap-4.0.1. Changes from version
3.0.5 include:
* Implemented IMAP and POP3 proxy aggregator. With a proxy
aggregator, the mail accounts are split between multiple,
independent servers, with an IMAP/POP3 server running on each
individual server. A separate, proxy server sits in front and
accepts ordinary IMAP and POP3 connections. It reads the login
ID, determines which server the account is located on, connects
to the server, and logs in. Then, for the lifetime on the login
session the front-end server takes itself out of the loop, and
forwards all session traffic between the IMAP/POP3 client, and
the back-end server.
* Use courier-authlib for user authentication.
* IPv6 support.
* Minor bug fixes.
Please note when updating that the locations of the userdb files has
changed to be within the courier-authlib config directory, e.g.
/usr/pkg/etc/authlib/userdb*.
2005-02-18 23:12:46 +01:00
|
|
|
-e "s|@libexecdir@/couriertcpd|@sbindir@/couriertcpd|g" \
|
|
|
|
-e "s|@sbindir@/imaplogin|@libexecdir@/imaplogin|g" \
|
|
|
|
-e "s|@sbindir@/pop3login|@libexecdir@/courierpop3login|g" \
|
|
|
|
-e "s|@bindir@/pop3d|@libexecdir@/courierpop3d|g"
|
|
|
|
SUBST_STAGE.courier= pre-configure
|
|
|
|
|
|
|
|
.include "../../security/courier-authlib/buildlink3.mk"
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
2001-08-01 00:48:50 +02:00
|
|
|
|
|
|
|
post-install:
|
2003-10-11 09:39:31 +02:00
|
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
2004-07-14 22:07:16 +02:00
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}/imap
|
Update mail/courier-imap to courier-imap-4.0.1. Changes from version
3.0.5 include:
* Implemented IMAP and POP3 proxy aggregator. With a proxy
aggregator, the mail accounts are split between multiple,
independent servers, with an IMAP/POP3 server running on each
individual server. A separate, proxy server sits in front and
accepts ordinary IMAP and POP3 connections. It reads the login
ID, determines which server the account is located on, connects
to the server, and logs in. Then, for the lifetime on the login
session the front-end server takes itself out of the loop, and
forwards all session traffic between the IMAP/POP3 client, and
the back-end server.
* Use courier-authlib for user authentication.
* IPv6 support.
* Minor bug fixes.
Please note when updating that the locations of the userdb files has
changed to be within the courier-authlib config directory, e.g.
/usr/pkg/etc/authlib/userdb*.
2005-02-18 23:12:46 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/imap/BUGS.html ${DOCDIR}/imap
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/imap/README.html ${DOCDIR}/imap
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/imap/README.proxy.html ${DOCDIR}/imap
|
2006-04-28 20:15:20 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/imap/courierpop3d.html ${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/imap/imapd.html ${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/imap/mkimapdcert.html ${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/imap/mkpop3dcert.html ${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tcpd/couriertcpd.html ${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tcpd/couriertls.html ${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/imap/imapd.pam ${EGDIR}/imap.authpam
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/imap/pop3d.pam ${EGDIR}/pop3.authpam
|
2001-08-01 00:48:50 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|