mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
readd DRAC functionality
Submitted by: Mamoru KOMACHI <usata@usata.org>
This commit is contained in:
parent
a12d4f34af
commit
c4b72fa537
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=144708
3 changed files with 10 additions and 54 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= courier-imap
|
||||
PORTVERSION= 4.0.6
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= mail ipv6
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
|
@ -19,14 +19,6 @@ COMMENT= IMAP (and POP3) server that provides access to Maildir mailboxes
|
|||
BUILD_DEPENDS= courierauthconfig:${PORTSDIR}/security/courier-authlib-base
|
||||
RUN_DEPENDS= courierauthconfig:${PORTSDIR}/security/courier-authlib-base
|
||||
|
||||
.if defined(WITH_DRAC)
|
||||
# move me below .include <bsd.port.pre.mk> when re-enabling
|
||||
BROKEN= "right now, there is no 4.0.4 compatible drac patch available"
|
||||
PATCH_SITES= http://www.smalltown.ne.jp/~usata/pub/patch/
|
||||
PATCHFILES= courier-imap-4.0.2-drac.patch
|
||||
PATCH_DIST_STRIP= -p1
|
||||
.endif
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_PERL5= yes
|
||||
|
@ -79,6 +71,13 @@ CONFIGURE_ARGS= --sysconfdir=${CONFDIR} \
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_DRAC)
|
||||
# move me below .include <bsd.port.pre.mk> when re-enabling
|
||||
PATCH_SITES= http://www.smalltown.ne.jp/~usata/pub/patch/
|
||||
PATCHFILES= courier-imap-4.0.6-drac.patch
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/libdrac.a:${PORTSDIR}/mail/drac
|
||||
.endif
|
||||
|
||||
.if exists(${.CURDIR}/../../security/courier-authlib/Makefile.dep)
|
||||
.include "${.CURDIR}/../../security/courier-authlib/Makefile.dep"
|
||||
.endif
|
||||
|
@ -122,11 +121,6 @@ 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 maildiracl.1 maildirkw.1 \
|
||||
maildirmake.1
|
||||
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
MD5 (courier-imap-4.0.6.tar.bz2) = 5e1c53a49d5ffb2ec9f3b600a6e1fbef
|
||||
SIZE (courier-imap-4.0.6.tar.bz2) = 3157577
|
||||
MD5 (courier-imap-4.0.6-drac.patch) = 78a49403b04afc85220d24ad03004a34
|
||||
SIZE (courier-imap-4.0.6-drac.patch) = 8323
|
||||
|
|
|
@ -1,40 +0,0 @@
|
|||
--- imapd-ssl.rc.in.orig Mon Apr 4 00:47:32 2005
|
||||
+++ imapd-ssl.rc.in Tue Jun 21 14:03:03 2005
|
||||
@@ -44,6 +44,7 @@
|
||||
. @sysconfdir@/imapd-ssl ; \
|
||||
PROXY_HOSTNAME=$PROXY_HOSTNAME ; export PROXY_HOSTNAME ; \
|
||||
IMAP_TLS=1; export IMAP_TLS; \
|
||||
+ DRACHOST=${DRACHOST:-localhost}; export DRACHOST; \
|
||||
@libexecdir@/couriertcpd -address=$SSLADDRESS \
|
||||
-stderrlogger=@courierlogger@ \
|
||||
-stderrloggername=imapd-ssl \
|
||||
--- imapd.rc.in.orig Mon Apr 4 00:47:32 2005
|
||||
+++ imapd.rc.in Tue Jun 21 14:03:23 2005
|
||||
@@ -45,6 +45,7 @@
|
||||
IMAP_STARTTLS=$IMAPDSTARTTLS ; export IMAP_STARTTLS ; \
|
||||
PROXY_HOSTNAME=$PROXY_HOSTNAME ; export PROXY_HOSTNAME ; \
|
||||
TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL ; \
|
||||
+ DRACHOST=${DRACHOST:-localhost}; export DRACHOST; \
|
||||
@libexecdir@/couriertcpd -address=$ADDRESS \
|
||||
-stderrlogger=@courierlogger@ \
|
||||
-stderrloggername=imapd \
|
||||
--- pop3d-ssl.rc.in.orig Mon Apr 4 00:47:32 2005
|
||||
+++ pop3d-ssl.rc.in Tue Jun 21 14:03:34 2005
|
||||
@@ -39,6 +39,7 @@
|
||||
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=@courierlogger@ \
|
||||
-stderrloggername=pop3d-ssl \
|
||||
--- pop3d.rc.in.orig Mon Apr 4 00:47:32 2005
|
||||
+++ pop3d.rc.in Tue Jun 21 14:03:50 2005
|
||||
@@ -37,6 +37,7 @@
|
||||
PROXY_HOSTNAME=$PROXY_HOSTNAME ; export PROXY_HOSTNAME ; \
|
||||
TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL ; \
|
||||
export TLS_PROTOCOL ;
|
||||
+ DRACHOST=${DRACHOST:-localhost}; export DRACHOST; \
|
||||
@libexecdir@/couriertcpd -address=$ADDRESS \
|
||||
-stderrlogger=@courierlogger@ \
|
||||
-stderrloggername=pop3d \
|
Loading…
Add table
Reference in a new issue