Date: Sun, 27 Mar 2011 05:04:58 -0500 From: Zhihao Yuan <lichray@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/155969: port net-im/loudmouth: Enable the use of OpenSSL Message-ID: <4d8f0bcf.94a5e70a.353b.ffff90a0@mx.google.com> Resent-Message-ID: <201103271010.p2RAAAoY023362@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 155969 >Category: ports >Synopsis: port net-im/loudmouth: Enable the use of OpenSSL >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: Sun Mar 27 10:10:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Zhihao Yuan >Release: FreeBSD 8.2-STABLE amd64 >Organization: Northern Illinois University >Environment: System: FreeBSD compaq.yuetime 8.2-STABLE FreeBSD 8.2-STABLE #0: Mon Mar 14 02:51:28 CDT 2011 root@compaq.yuetime:/usr/obj/usr/src/sys/HOUKAGO amd64 >Description: OpenSSL was added as an alternative option, similair to GnuTLS. And also, now OpenSSL was the default library to use. loudmouth was required by some console-based xmpp clients. I have tested irssi-xmpp, and OpenSSL works fine. >How-To-Repeat: >Fix: Note that I fixed a tiny problem: the debug built needs to be manually disabled. --- patch-loudmouth+openssl begins here --- diff -rupN loudmouth.orig/Makefile loudmouth/Makefile --- loudmouth.orig/Makefile 2011-03-14 03:40:05.000000000 -0500 +++ loudmouth/Makefile 2011-03-27 04:21:15.296485839 -0500 @@ -7,7 +7,7 @@ PORTNAME= loudmouth PORTVERSION= 1.4.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= net-im gnome MASTER_SITES= http://ftp.imendio.com/pub/imendio/loudmouth/src/ \ GNOME @@ -23,18 +23,24 @@ USE_GETTEXT= yes USE_AUTOTOOLS= libtool USE_LDCONFIG= yes USE_GNOME= gnomehack glib20 ltverhack -CONFIGURE_ARGS= --disable-gtk-doc +CONFIGURE_ARGS= --disable-gtk-doc --enable-debug=no CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-Wl,-Bsymbolic -L${LOCALBASE}/lib" -OPTIONS= GNUTLS "Enable SSL (via GnuTLS) support" on +OPTIONS= GNUTLS "Enable SSL (via GnuTLS) support" off \ + OPENSSL "Enable SSL (via OpenSSL) support" on .include <bsd.port.pre.mk> -.if !defined(WITHOUT_GNUTLS) +.if defined(WITH_GNUTLS) LIB_DEPENDS+= gnutls.40:${PORTSDIR}/security/gnutls RUN_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss -.else +.endif +.if defined(WITH_OPENSSL) +CONFIGURE_ARGS+= --with-ssl=openssl +RUN_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss +.endif +.if !defined(WITH_GNUTLS) && !defined(WITH_OPENSSL) CONFIGURE_ARGS+= --without-ssl .endif --- patch-loudmouth+openssl ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d8f0bcf.94a5e70a.353b.ffff90a0>