mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
Add DRAC support for courier-imap
Submitted By: nork
This commit is contained in:
parent
6851b64a96
commit
46d45c1f21
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99346
@ -7,12 +7,18 @@
|
||||
|
||||
PORTNAME= courier-imap
|
||||
PORTVERSION= 2.2.1
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= mail ipv6
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= courier
|
||||
|
||||
.if defined(WITH_DRAC)
|
||||
PATCH_SITES= http://www.smalltown.ne.jp/~usata/pub/patch/
|
||||
PATCHFILES= courier-imap-2.2.1-drac.patch
|
||||
PATCH_DIST_STRIP= -p1
|
||||
.endif
|
||||
|
||||
MAINTAINER= oliver@FreeBSD.org
|
||||
COMMENT= IMAP (and POP3) server that provides access to Maildir mailboxes
|
||||
|
||||
@ -39,6 +45,7 @@ CONFIGURE_ENV= CFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
||||
# WITH_POSTGRESQL: Build in postgresql support
|
||||
# WITH_LDAP: Build in ldap support with openldap
|
||||
# WITH_FAM: Build in fam support for IDLE command
|
||||
# WITH_DRAC: Build in DRAC support
|
||||
# WITH_TRASHQUOTA: Include deleted mails in the quota
|
||||
#
|
||||
|
||||
@ -143,6 +150,11 @@ LDFLAGS+= -L${LOCALBASE}/lib
|
||||
LIB_DEPENDS+= fam.0:${PORTSDIR}/devel/fam
|
||||
.endif
|
||||
|
||||
.if defined(WITH_DRAC)
|
||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-drac
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/libdrac.a:${PORTSDIR}/mail/drac
|
||||
.endif
|
||||
|
||||
MAN1= couriertcpd.1 maildirkw.1 maildirmake.1
|
||||
MAN7= authlib.7
|
||||
MAN8= makeuserdb.8 userdb.8 userdbpw.8 \
|
||||
|
@ -1 +1,2 @@
|
||||
MD5 (courier-imap-2.2.1.tar.bz2) = 27c90ce2ac2412bc90994cacbd75616b
|
||||
MD5 (courier-imap-2.2.1-drac.patch) = 8322356f508c087d0d8672bbbe96a97b
|
||||
|
43
mail/courier-imap/files/extra-patch-drac
Normal file
43
mail/courier-imap/files/extra-patch-drac
Normal file
@ -0,0 +1,43 @@
|
||||
--- imapd-ssl.rc.in.orig Fri Nov 28 06:07:33 2003
|
||||
+++ imapd-ssl.rc.in Wed Jan 28 02:06:31 2004
|
||||
@@ -53,6 +53,7 @@ start)
|
||||
. @sysconfdir@/imapd ; \
|
||||
. @sysconfdir@/imapd-ssl ; \
|
||||
IMAP_TLS=1; export IMAP_TLS; \
|
||||
+ DRACHOST=${DRACHOST:-localhost}; export DRACHOST; \
|
||||
@libexecdir@/couriertcpd -address=$SSLADDRESS \
|
||||
-stderrlogger=@libexecdir@/courierlogger \
|
||||
-stderrloggername=imapd-ssl \
|
||||
--- imapd.rc.in.orig Fri Nov 28 06:07:34 2003
|
||||
+++ imapd.rc.in Wed Jan 28 02:06:40 2004
|
||||
@@ -54,6 +54,7 @@ start)
|
||||
. @sysconfdir@/imapd-ssl ; \
|
||||
IMAP_STARTTLS=$IMAPDSTARTTLS ; export IMAP_STARTTLS ; \
|
||||
TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL ; \
|
||||
+ DRACHOST=${DRACHOST:-localhost}; export DRACHOST; \
|
||||
@libexecdir@/couriertcpd -address=$ADDRESS \
|
||||
-stderrlogger=@libexecdir@/courierlogger \
|
||||
-stderrloggername=imapd \
|
||||
--- pop3d-ssl.rc.in.orig Fri Nov 28 06:07:35 2003
|
||||
+++ pop3d-ssl.rc.in Wed Jan 28 02:06:51 2004
|
||||
@@ -49,6 +49,7 @@ start)
|
||||
POP3_TLS=1; export POP3_TLS; \
|
||||
POP3_STARTTLS=NO; export POP3_STARTTLS; \
|
||||
POP3_TLS_REQUIRED=0; export POP3_TLS_REQUIRED; \
|
||||
+ DRACHOST=${DRACHOST:-localhost}; export DRACHOST; \
|
||||
@libexecdir@/couriertcpd -address=$SSLADDRESS \
|
||||
-stderrlogger=@libexecdir@/courierlogger \
|
||||
-stderrloggername=pop3d-ssl \
|
||||
--- pop3d.rc.in.orig Fri Nov 28 06:07:35 2003
|
||||
+++ pop3d.rc.in Wed Jan 28 02:07:15 2004
|
||||
@@ -45,8 +45,8 @@ start)
|
||||
libexecdir=@libexecdir@ ;
|
||||
. @sysconfdir@/pop3d ; \
|
||||
. @sysconfdir@/pop3d-ssl ; \
|
||||
- TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL ; \
|
||||
- export TLS_PROTOCOL ;
|
||||
+ TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL; export TLS_PROTOCOL ; \
|
||||
+ DRACHOST=${DRACHOST:-localhost}; export DRACHOST; \
|
||||
@libexecdir@/couriertcpd -address=$ADDRESS \
|
||||
-stderrlogger=@libexecdir@/courierlogger \
|
||||
-stderrloggername=pop3d \
|
Loading…
Reference in New Issue
Block a user