mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Upgrade to 1.3.12, which brings in postgresql authentication support.
This commit is contained in:
parent
e7ac7547e3
commit
46e5de6760
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50117
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= courier-imap
|
||||
PORTVERSION= 1.3.10
|
||||
PORTVERSION= 1.3.12
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= mail ipv6
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
@ -17,6 +17,15 @@ MAINTAINER= nbm@FreeBSD.org
|
||||
GNU_CONFIGURE= YES
|
||||
USE_GMAKE= YES
|
||||
|
||||
#
|
||||
# options available:
|
||||
#
|
||||
# WITHOUT_OPENSSL: Don't build in TLS support
|
||||
# WITHOUT_PAM: Don't build in PAM support
|
||||
# WITH_VPOPMAIL: Build in vpopmail support
|
||||
# WITH_MYSQL: Build in mysql support
|
||||
# WITH_POSTGRESQL: Build in postgresql support
|
||||
#
|
||||
|
||||
.if !defined(WITHOUT_OPENSSL)
|
||||
USE_OPENSSL= YES
|
||||
@ -54,6 +63,15 @@ LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
|
||||
PLIST_SUB+= MYSQLFLAG=""
|
||||
.endif
|
||||
|
||||
.if !defined(WITH_POSTGRESQL)
|
||||
CONFIGURE_ARGS+= \
|
||||
--without-authpgsql
|
||||
PLIST_SUB+= PGSQLFLAG="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= pq.2:${PORTSDIR}/databases/postgresql7
|
||||
PLIST_SUB+= PGSQLFLAG=""
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_PAM)
|
||||
CONFIGURE_ARGS+= \
|
||||
--with-authpam
|
||||
@ -84,7 +102,7 @@ EXTRA_DOCS= README INSTALL AUTHORS imap/ChangeLog
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@perl -i.nbm -pe 'm#^sysconf_DATA = imapd.dist# && s@[ip][mo][ap][p3]d.cnf@@g;' \
|
||||
@perl -i.nbm -pe 'm#^\timapd.cnf pop3d.cnf# && s@[ip][mo][ap][p3]d.cnf@@g;' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
post-install:
|
||||
|
@ -1 +1 @@
|
||||
MD5 (courier-imap-1.3.10.tar.gz) = 14c9ca01daf4a816da4cb943a2f27757
|
||||
MD5 (courier-imap-1.3.12.tar.gz) = b8ce1ae9add8eae17a12bb0d38b2c57b
|
||||
|
@ -4,6 +4,7 @@ bin/maildirmake
|
||||
bin/pop3d
|
||||
etc/courier-imap/authdaemonrc.dist
|
||||
%%MYSQLFLAG%%etc/courier-imap/authmysqlrc.dist
|
||||
%%PGSQLFLAG%%etc/courier-imap/authpgsqlrc.dist
|
||||
etc/courier-imap/imapd-ssl.dist
|
||||
etc/courier-imap/imapd.cnf.dist
|
||||
etc/courier-imap/imapd.dist
|
||||
@ -14,6 +15,7 @@ etc/courier-imap/quotawarnmsg.example
|
||||
libexec/courier-imap/authlib/authdaemon
|
||||
libexec/courier-imap/authlib/authdaemond
|
||||
%%MYSQLFLAG%%libexec/courier-imap/authlib/authdaemond.mysql
|
||||
%%PGSQLFLAG%%libexec/courier-imap/authlib/authdaemond.pgsql
|
||||
libexec/courier-imap/authlib/authdaemond.plain
|
||||
libexec/courier-imap/couriertcpd
|
||||
libexec/courier-imap/deliverquota
|
||||
|
Loading…
Reference in New Issue
Block a user