From root@cakebox.homeunix.net  Sun May 25 10:19:10 2014
Return-Path: <root@cakebox.homeunix.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 082783F6
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 25 May 2014 10:19:10 +0000 (UTC)
Received: from mo6-p05-ob.smtp.rzone.de (mo6-p05-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5305::5])
	(using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "*.smtp.rzone.de", Issuer "TeleSec ServerPass DE-2" (verified OK))
	by mx1.freebsd.org (Postfix) with ESMTPS id 8A89E2276
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 25 May 2014 10:19:09 +0000 (UTC)
Received: from cakebox.homeunix.net (188-015-186-093.fttx.vsenet.de [93.186.15.188])
	by smtp.strato.de (RZmta 34.2 AUTH)
	with ESMTPSA id U003c1q4PAIr60V
	(using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "cakebox.mooo.com", Issuer "CA Cert Signing Authority" (verification FAILED - unable to verify the first certificate))
	(Client hostname not verified);
	Sun, 25 May 2014 12:18:53 +0200 (CEST)
Received: from cakebox.homeunix.net (localhost [127.0.0.1])
	by cakebox.homeunix.net (Postfix) with ESMTP id 45C7A2D5AF0;
	Sun, 25 May 2014 12:18:44 +0200 (CEST)
Received: by cakebox.homeunix.net (Postfix, from userid 0)
	id 252AB2D51FC; Sun, 25 May 2014 12:18:41 +0200 (CEST)
Message-Id: <20140525101842.252AB2D51FC@cakebox.homeunix.net>
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: stagify mail/up-imapproxy
X-Send-Pr-Version: 3.114
X-GNATS-Notify:

>Number:         190199
>Category:       ports
>Synopsis:       stagify mail/up-imapproxy
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    madpilot
>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:  Fri May 30 15:07:17 UTC 2014
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->madpilot 
Responsible-Changed-By: madpilot 
Responsible-Changed-When: Fri May 30 15:07:16 UTC 2014 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=190199 
>Unformatted:
