Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2013 09:32:11 +0900
From:      Takefu <takefu@airport.fm>
To:        freebsd-gnats-submit@freebsd.org
Cc:        sylvio@FreeBSD.org
Subject:   ports/176900: [PATCH] mail/mpop: openssl library cannot be found.
Message-ID:  <513FC90B.2060405@airport.fm>
Resent-Message-ID: <201303130040.r2D0e0KD054898@freefall.freebsd.org>
In-Reply-To: <201303122353.r2CNrsAv002078@RELENG83-ix86.localIPv4.airport.fm>
References:  <201303122353.r2CNrsAv002078@RELENG83-ix86.localIPv4.airport.fm>

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

>Number:         176900
>Category:       ports
>Synopsis:       [PATCH] mail/mpop: openssl library cannot be found.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 13 00:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Takefu
>Release:        FreeBSD 8.3-RELEASE-p6 i386
>Organization:
FOX Amateur Radio Club
>Environment:
System: FreeBSD RELENG83-ix86.localIPv4.airport.fm 8.3-RELEASE-p6 FreeBSD 8.3-RELEASE-p6 #0: Thu Mar  7 15:05:04 JST
>Description:
  - Fix openssl library cannot be found.
  - Fix portlint(1) Conforming.

Port maintainer (sylvio@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_7 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- mpop-1.0.27_1.patch begins here ---
diff -ruN /usr/ports/mail/mpop/Makefile ./Makefile
--- /usr/ports/mail/mpop/Makefile	2013-02-11 16:59:45.000000000 +0900
+++ ./Makefile	2013-03-12 20:10:43.000000000 +0900
@@ -10,7 +10,7 @@
 MAINTAINER=	sylvio@FreeBSD.org
 COMMENT=	MPOP is a small and fast POP3 client

-LIB_DEPENDS=	idn.17:${PORTSDIR}/dns/libidn
+LIB_DEPENDS=	idn:${PORTSDIR}/dns/libidn

 OPTIONS_DEFINE=	GNUTLS GSASL NLS
 GNUTLS_DESC=	GNUTLS Enable gnuTLS support
@@ -26,17 +26,19 @@
 .include <bsd.port.options.mk>

 .if ${PORT_OPTIONS:MGNUTLS}
-LIB_DEPENDS+=		gnutls.26:${PORTSDIR}/security/gnutls
+LIB_DEPENDS+=		gnutls:${PORTSDIR}/security/gnutls
 CONFIGURE_ARGS+=	--with-ssl=gnutls
 .else
 USE_OPENSSL=		yes
-CONFIGURE_ARGS+=	--with-ssl=openssl
+CONFIGURE_ARGS+=	--with-ssl=openssl\
+			libssl_CFLAGS=-I${OPENSSLINC}\
+			libssl_LIBS=-lssl
 .endif

 .if ${PORT_OPTIONS:MGSASL}
-LIB_DEPENDS+=		gsasl.16:${PORTSDIR}/security/gsasl
+LIB_DEPENDS+=		gsasl:${PORTSDIR}/security/gsasl
 .else
-CONFIGURE_ARGS+=	--without-libgsasl-prefix
+CONFIGURE_ARGS+=	--without-libgsasl
 .endif

 .if ${PORT_OPTIONS:MNLS}
diff -ruN /usr/ports/mail/mpop/pkg-descr ./pkg-descr
--- /usr/ports/mail/mpop/pkg-descr	2009-10-26 09:17:47.000000000 +0900
+++ ./pkg-descr	2013-03-12 19:56:39.000000000 +0900
@@ -4,4 +4,4 @@
 a very fast POP3 implementation, many authentication methods,
 and good support for TLS/SSL.

-WWW:    http://mpop.sourceforge.net
+WWW: http://mpop.sourceforge.net
--- mpop-1.0.27_1.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?513FC90B.2060405>