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:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 23 03:20:00 +0000 2013
>Closed-Date:    Tue Nov 20 09:29:42 +0000 2018
>Last-Modified:  Tue Nov 20 09:30:01 +0000 2018
>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


State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Tue, 20 Nov 2018 09:29:42 +0000
State-Changed-Why:
Applied, thanks for the patch, sorry for the delay.


From: "Maya Rashish" <maya@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/48470 CVS commit: pkgsrc/mail/mpop
Date: Tue, 20 Nov 2018 09:29:24 +0000

 Module Name:	pkgsrc
 Committed By:	maya
 Date:		Tue Nov 20 09:29:24 UTC 2018

 Modified Files:
 	pkgsrc/mail/mpop: options.mk

 Log Message:
 mpop: add libidn support

 From Leonard Schmidt in PR pkg/48470


 To generate a diff of this commit:
 cvs rdiff -u -r1.2 -r1.3 pkgsrc/mail/mpop/options.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.