NetBSD Problem Report #48470

From www@NetBSD.org  Mon Dec 23 03:19:22 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 097A1A40B9
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 23 Dec 2013 03:19:21 +0000 (UTC)
Message-Id: <20131223031920.7E46FA566B@mollari.NetBSD.org>
Date: Mon, 23 Dec 2013 03:19:20 +0000 (UTC)
From: lems@gmx.net
Reply-To: lems@gmx.net
To: gnats-bugs@NetBSD.org
Subject: mail/mpop: add libidn support
X-Send-Pr-Version: www-1.0

>Number:         48470
>Category:       pkg
>Synopsis:       mail/mpop: add libidn support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    reed
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 23 03:20:00 +0000 2013
>Last-Modified:  Mon Dec 23 10:10:46 +0000 2013
>Originator:     Leonard Schmidt
>Release:        pkgsrc-2013Q3
>Organization:
>Environment:
Linux ylajali 3.10.17-smp #2 SMP Wed Oct 23 17:13:14 CDT 2013 i686 AMD Athlon(tm) II X4 635 Processor AuthenticAMD GNU/Linux
>Description:
Hello,

this adds libidn support to mail/mpop, a similar package is mail/msmtp.
This is against pkgsrc-2013Q3.

Regards

Leonard Schmidt
>How-To-Repeat:

>Fix:
Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mail/mpop/options.mk,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 options.mk
--- options.mk	13 Nov 2005 03:09:20 -0000	1.1.1.1
+++ options.mk	23 Dec 2013 03:15:41 -0000
@@ -2,7 +2,7 @@
 #

 PKG_OPTIONS_VAR=		PKG_OPTIONS.mpop
-PKG_SUPPORTED_OPTIONS=		gsasl
+PKG_SUPPORTED_OPTIONS=		gsasl idn
 PKG_OPTIONS_OPTIONAL_GROUPS=	ssl
 PKG_OPTIONS_GROUP.ssl=		gnutls ssl
 PKG_SUGGESTED_OPTIONS=		ssl
@@ -23,3 +23,11 @@ CONFIGURE_ARGS+=	--disable-ssl
 CONFIGURE_ARGS+=	--enable-gsasl
 .  include "../../security/gsasl/buildlink3.mk"
 .endif
+
+.if !empty(PKG_OPTIONS:Midn)
+.  include "../../devel/libidn/buildlink3.mk"
+CONFIGURE_ARGS+=	--with-libidn
+CONFIGURE_ARGS+=	--with-libidn-prefix=${BUILDLINK_PREFIX.libidn}
+.else
+CONFIGURE_ARGS+=	--without-libidn
+.endif

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->reed
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 23 Dec 2013 10:10:46 +0000
Responsible-Changed-Why:
Over to maintainer


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.