Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 May 2014 12:18:41 +0200 (CEST)
From:      freebsd@nagilum.org
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        ports@FreeBSD.org
Subject:   ports/190199: stagify mail/up-imapproxy
Message-ID:  <20140525101842.252AB2D51FC@cakebox.homeunix.net>
Resent-Message-ID: <201405251020.s4PAK0pS061310@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140525101842.252AB2D51FC>