ports/190199: stagify mail/up-imapproxy
freebsd at nagilum.org
freebsd at nagilum.org
Sun May 25 10:20:01 UTC 2014
>Number: 190199
>Category: ports
>Synopsis: stagify mail/up-imapproxy
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun May 25 10:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: freebsd at nagilum.org
>Release: FreeBSD 9.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD cakebox.tis 9.2-STABLE FreeBSD 9.2-STABLE #0 r264294M: Fri Apr 11 10:19:25 CEST 2014 root at cakebox.tis:/usr/obj/export/src/sys/net5501 i386
>Description:
Stagify mail/up-imapproxy, fix dependency check.
>How-To-Repeat:
>Fix:
Apply patch below.
--- up-imapproxy.patch begins here ---
diff -Naur up-imapproxy.orig/Makefile up-imapproxy/Makefile
--- up-imapproxy.orig/Makefile 2013-09-20 21:59:12.000000000 +0200
+++ up-imapproxy/Makefile 2014-05-25 12:10:21.000000000 +0200
@@ -17,8 +17,7 @@
OPTIONS_DEFINE= DOVECOT DOCS
DOVECOT_DESC= Use with dovecot2
-USE_BZIP2= yes
-USES= pathfix
+USES= tar:bzip2 pathfix
USE_OPENSSL= yes
USE_AUTOTOOLS= autoheader
CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE}
@@ -30,26 +29,25 @@
DOCS= ChangeLog README README.debian README.known_issues README.ssl
SBIN= in.imapproxyd pimpstat
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOVECOT}
SUB_LIST+= DOVECOT="dovecot"
-RUN_DEPENDS+= dovecot>=1.0:${PORTSDIR}/mail/dovecot2
+RUN_DEPENDS+= dovecot:${PORTSDIR}/mail/dovecot2
.else
SUB_LIST+= DOVECOT=""
.endif
do-install:
.for i in ${SBIN}
- (cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} ${i} ${PREFIX}/sbin)
+ (cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}${PREFIX}/sbin)
.endfor
(cd ${WRKSRC}/scripts && ${INSTALL_DATA} imapproxy.conf \
- ${PREFIX}/etc/imapproxyd.conf.sample)
+ ${STAGEDIR}${PREFIX}/etc/imapproxyd.conf.sample)
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${DOCS}
- (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
.endfor
.endif
@${CAT} ${PKGMESSAGE}
--- up-imapproxy.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list