From owner-svn-ports-all@freebsd.org Tue Dec 8 01:39:28 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 836DB9C11A5; Tue, 8 Dec 2015 01:39:28 +0000 (UTC) (envelope-from novel@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 448C11EC1; Tue, 8 Dec 2015 01:39:28 +0000 (UTC) (envelope-from novel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tB81dRRV064734; Tue, 8 Dec 2015 01:39:27 GMT (envelope-from novel@FreeBSD.org) Received: (from novel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tB81dRcg064732; Tue, 8 Dec 2015 01:39:27 GMT (envelope-from novel@FreeBSD.org) Message-Id: <201512080139.tB81dRcg064732@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: novel set sender to novel@FreeBSD.org using -f From: Roman Bogorodskiy Date: Tue, 8 Dec 2015 01:39:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r403246 - branches/2015Q4/mail/msmtp X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Dec 2015 01:39:28 -0000 Author: novel Date: Tue Dec 8 01:39:27 2015 New Revision: 403246 URL: https://svnweb.freebsd.org/changeset/ports/403246 Log: MFH: r402464 mail/msmtp: fix configuration for gnome password management In order to enable password management, now '--with-libsecret' option should be used instead of '--with-gnome-keyring'. So fix configure args and rename the GNOMEKEYRING option to LIBSECRET. Also modernize options usage and bump PORTREVISION due to package change. PR: 204760 (with minor edits) Submitted by: John Hein Approved by: ports-secteam (feld) Modified: branches/2015Q4/mail/msmtp/Makefile branches/2015Q4/mail/msmtp/pkg-plist Directory Properties: branches/2015Q4/ (props changed) Modified: branches/2015Q4/mail/msmtp/Makefile ============================================================================== --- branches/2015Q4/mail/msmtp/Makefile Tue Dec 8 00:34:10 2015 (r403245) +++ branches/2015Q4/mail/msmtp/Makefile Tue Dec 8 01:39:27 2015 (r403246) @@ -3,6 +3,7 @@ PORTNAME= msmtp PORTVERSION= 1.6.2 +PORTREVISION= 1 CATEGORIES= mail ipv6 MASTER_SITES= SF @@ -17,78 +18,52 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INFO= msmtp -OPTIONS_DEFINE= GSASL NLS IDN GNOMEKEYRING MSMTPQ +OPTIONS_DEFINE= DOCS GSASL NLS IDN LIBSECRET MSMTPQ OPTIONS_RADIO= TLS OPTIONS_RADIO_TLS= GNUTLS OPENSSL OPTIONS_DEFAULT= MSMTPQ OPENSSL +OPTIONS_SUB= yes GSASL_DESC= GSASL support +LIBSECRET_DESC= GNOME password management MSMTPQ_DESC= Install offline messaging scripts -.include - -.if ${PORT_OPTIONS:MGNUTLS} -LIB_DEPENDS+= libgnutls.so:${PORTSDIR}/security/gnutls -CONFIGURE_ARGS+= --with-ssl=gnutls -.elif ${PORT_OPTIONS:MOPENSSL} -USE_OPENSSL= yes -CONFIGURE_ARGS+= --with-ssl=openssl -CONFIGURE_ENV+= libssl_CFLAGS="-I${OPENSSLINC}" \ +GSASL_CONFIGURE_WITH= libgsasl +GSASL_LIB_DEPENDS= libgsasl.so:${PORTSDIR}/security/gsasl +IDN_CONFIGURE_WITH= libidn +IDN_LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn +LIBSECRET_CONFIGURE_WITH= libsecret +LIBSECRET_LIB_DEPENDS= libsecret-1.so:${PORTSDIR}/security/libsecret +MSMTPQ_PORTDOCS= README.msmtpq +NLS_CONFIGURE_ENABLE= nls +NLS_USES= gettext + +GNUTLS_CONFIGURE_ON= --with-ssl=gnutls +GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls +OPENSSL_VARS= USE_OPENSSL=yes +OPENSSL_CONFIGURE_ON= --with-ssl=openssl +OPENSSL_CONFIGURE_ENV= libssl_CFLAGS="-I${OPENSSLINC}" \ libssl_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" -.else -CONFIGURE_ARGS+= --with-ssl=no -.endif - -.if ${PORT_OPTIONS:MGNUTLS} || ${PORT_OPTIONS:MOPENSSL} -RUN_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss -.endif - -.if ${PORT_OPTIONS:MGSASL} -LIB_DEPENDS+= libgsasl.so:${PORTSDIR}/security/gsasl -CONFIGURE_ARGS+= --with-libgsasl -.else -CONFIGURE_ARGS+= --without-libgsasl -.endif +CERTSFILE= ${LOCALBASE}/share/certs/ca-root-nss.crt -.if ${PORT_OPTIONS:MIDN} -LIB_DEPENDS+= libidn.so:${PORTSDIR}/dns/libidn -CONFIGURE_ARGS+= --with-libidn -.else -CONFIGURE_ARGS+= --without-libidn -.endif - -.if ${PORT_OPTIONS:MGNOMEKEYRING} -CONFIGURE_ARGS+= --with-gnome-keyring -LIB_DEPENDS+= libgnome-keyring.so:${PORTSDIR}/security/gnome-keyring -.else -CONFIGURE_ARGS+= --without-gnome-keyring -.endif +.include -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -CONFIGURE_ARGS+= --enable-nls -PLIST_SUB+= NLS="" +.if ${PORT_OPTIONS:MGNUTLS} || ${PORT_OPTIONS:MOPENSSL} +RUN_DEPENDS+= ${CERTSFILE}:${PORTSDIR}/security/ca_root_nss .else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " +CONFIGURE_ARGS+= --with-ssl=no .endif -.include - post-extract: - @${REINPLACE_CMD} -e 's|/etc/ssl/certs/ca\\-certificates.crt|${LOCALBASE}/share/certs/ca\\-root\\-nss.crt|' \ + @${REINPLACE_CMD} -e 's|/etc/ssl/certs/ca\\-certificates.crt|${CERTSFILE}|' \ ${WRKSRC}/doc/msmtp.1 .if ${PORT_OPTIONS:MMSMTPQ} -PLIST_SUB+= MSMTPQ="" - -post-install: +post-stage: ${INSTALL_SCRIPT} ${WRKSRC}/scripts/msmtpq/msmtp-queue ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/scripts/msmtpq/msmtpq ${STAGEDIR}${PREFIX}/bin - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/scripts/msmtpq/README.msmtpq ${STAGEDIR}${DOCSDIR} -.else -PLIST_SUB+= MSMTPQ="@comment " + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/scripts/msmtpq/README.msmtpq ${STAGEDIR}${DOCSDIR} .endif -.include +.include Modified: branches/2015Q4/mail/msmtp/pkg-plist ============================================================================== --- branches/2015Q4/mail/msmtp/pkg-plist Tue Dec 8 00:34:10 2015 (r403245) +++ branches/2015Q4/mail/msmtp/pkg-plist Tue Dec 8 01:39:27 2015 (r403246) @@ -2,5 +2,4 @@ bin/msmtp man/man1/msmtp.1.gz %%MSMTPQ%%bin/msmtp-queue %%MSMTPQ%%bin/msmtpq -%%MSMTPQ%%%%DOCSDIR%%/README.msmtpq %%NLS%%share/locale/de/LC_MESSAGES/msmtp.mo