Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Mar 2017 10:42:16 +0000 (UTC)
From:      Bernard Spil <brnrd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r436953 - in head/mail/libvmime: . files
Message-ID:  <201703261042.v2QAgGPw020808@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brnrd
Date: Sun Mar 26 10:42:16 2017
New Revision: 436953
URL: https://svnweb.freebsd.org/changeset/ports/436953

Log:
  mail/libvmime: Update to v0.9.2
  
    - Update from snapshot to release 0.9.2
    - Work around missing install-strip target
    - Update pkg-plist
    - re-roll patch
    - Fix compile error in posixSocket
  
  PR:		216999

Added:
  head/mail/libvmime/files/patch-src_vmime_platforms_posix_posixHandler.cpp
     - copied, changed from r436952, head/mail/libvmime/files/patch-src__vmime__platforms__posix__posixHandler.cpp
  head/mail/libvmime/files/patch-src_vmime_platforms_posix_posixSocket.cpp   (contents, props changed)
Deleted:
  head/mail/libvmime/files/patch-src__vmime__platforms__posix__posixHandler.cpp
Modified:
  head/mail/libvmime/Makefile
  head/mail/libvmime/distinfo
  head/mail/libvmime/pkg-plist

Modified: head/mail/libvmime/Makefile
==============================================================================
--- head/mail/libvmime/Makefile	Sun Mar 26 10:40:48 2017	(r436952)
+++ head/mail/libvmime/Makefile	Sun Mar 26 10:42:16 2017	(r436953)
@@ -2,8 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	libvmime
-PORTVERSION=	0.9.2.s20140721
-PORTREVISION=	3
+PORTVERSION=	0.9.2
+DISTVERSIONPREFIX=	v
 CATEGORIES=	mail
 
 MAINTAINER=	ports@FreeBSD.org
@@ -18,7 +18,6 @@ LIB_DEPENDS=	libgnutls.so:security/gnutl
 USE_GITHUB=	yes
 GH_ACCOUNT=	kisli
 GH_PROJECT=	vmime
-GH_TAGNAME=	03a0e36
 
 USES=		cmake:outsource compiler:c++11-lib iconv pkgconfig
 USE_LDCONFIG=	yes
@@ -28,8 +27,13 @@ CMAKE_ARGS=	-DLIB_SUFFIX:STRING="" \
 		-DVMIME_SHARED_PTR_USE_BOOST:BOOL=NO \
 		-DVMIME_SHARED_PTR_USE_CXX:BOOL=YES
 
+INSTALL_TARGET=	install
+
 post-patch:
 	@${REINPLACE_CMD} 's,$${VMIME_INSTALL_LIBDIR}/pkgconfig,${PREFIX}/libdata/pkgconfig,' \
 		${WRKSRC}/CMakeLists.txt
 
+post-stage:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libvmime.so.1.0.0
+
 .include <bsd.port.mk>

Modified: head/mail/libvmime/distinfo
==============================================================================
--- head/mail/libvmime/distinfo	Sun Mar 26 10:40:48 2017	(r436952)
+++ head/mail/libvmime/distinfo	Sun Mar 26 10:42:16 2017	(r436953)
@@ -1,2 +1,3 @@
-SHA256 (kisli-vmime-0.9.2.s20140721-03a0e36_GH0.tar.gz) = 92afe8da9c9af3fc3cac46c4a2c5008ce3d3cedc392c381f21fd514fb1dddc49
-SIZE (kisli-vmime-0.9.2.s20140721-03a0e36_GH0.tar.gz) = 527227
+TIMESTAMP = 1486813232
+SHA256 (kisli-vmime-v0.9.2_GH0.tar.gz) = 9874bf911a7dbc257297ab00f7541875da221ee8251a4218cc65abff6e362399
+SIZE (kisli-vmime-v0.9.2_GH0.tar.gz) = 528830

Copied and modified: head/mail/libvmime/files/patch-src_vmime_platforms_posix_posixHandler.cpp (from r436952, head/mail/libvmime/files/patch-src__vmime__platforms__posix__posixHandler.cpp)
==============================================================================
--- head/mail/libvmime/files/patch-src__vmime__platforms__posix__posixHandler.cpp	Sun Mar 26 10:40:48 2017	(r436952, copy source)
+++ head/mail/libvmime/files/patch-src_vmime_platforms_posix_posixHandler.cpp	Sun Mar 26 10:42:16 2017	(r436953)
@@ -1,5 +1,5 @@
---- src/vmime/platforms/posix/posixHandler.cpp.orig	2014-07-22 15:24:26.000000000 +0200
-+++ src/vmime/platforms/posix/posixHandler.cpp	2014-07-22 15:59:33.000000000 +0200
+--- src/vmime/platforms/posix/posixHandler.cpp.orig	2017-01-03 20:00:08 UTC
++++ src/vmime/platforms/posix/posixHandler.cpp
 @@ -41,6 +41,7 @@
  #include <errno.h>
  
@@ -8,7 +8,7 @@
  #include <sys/stat.h>
  
  #if VMIME_HAVE_SYSCALL
-@@ -238,7 +239,9 @@
+@@ -240,7 +241,9 @@ unsigned int posixHandler::getThreadId()
  #elif VMIME_HAVE_SYSCALL && VMIME_HAVE_SYSCALL_GETTID
  	return static_cast <unsigned int>(::syscall(SYS_gettid));
  #else

Added: head/mail/libvmime/files/patch-src_vmime_platforms_posix_posixSocket.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/libvmime/files/patch-src_vmime_platforms_posix_posixSocket.cpp	Sun Mar 26 10:42:16 2017	(r436953)
@@ -0,0 +1,11 @@
+--- src/vmime/platforms/posix/posixSocket.cpp.orig	2017-01-03 20:00:08 UTC
++++ src/vmime/platforms/posix/posixSocket.cpp
+@@ -873,7 +873,7 @@ void posixSocket::throwSocketError(const
+ 
+ 		char errbuf[512];
+ 
+-	#if (_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE
++	#if 1
+ 
+ 		// XSI-compliant strerror_r()
+ 		strerror_r(err, errbuf, sizeof(errbuf));

Modified: head/mail/libvmime/pkg-plist
==============================================================================
--- head/mail/libvmime/pkg-plist	Sun Mar 26 10:40:48 2017	(r436952)
+++ head/mail/libvmime/pkg-plist	Sun Mar 26 10:42:16 2017	(r436953)
@@ -163,10 +163,17 @@ include/vmime/security/authenticator.hpp
 include/vmime/security/cert/X509Certificate.hpp
 include/vmime/security/cert/certificate.hpp
 include/vmime/security/cert/certificateChain.hpp
+include/vmime/security/cert/certificateException.hpp
+include/vmime/security/cert/certificateExpiredException.hpp
+include/vmime/security/cert/certificateIssuerVerificationException.hpp
+include/vmime/security/cert/certificateNotTrustedException.hpp
+include/vmime/security/cert/certificateNotYetValidException.hpp
 include/vmime/security/cert/certificateVerifier.hpp
 include/vmime/security/cert/defaultCertificateVerifier.hpp
 include/vmime/security/cert/gnutls/X509Certificate_GnuTLS.hpp
 include/vmime/security/cert/openssl/X509Certificate_OpenSSL.hpp
+include/vmime/security/cert/serverIdentityException.hpp
+include/vmime/security/cert/unsupportedCertificateTypeException.hpp
 include/vmime/security/defaultAuthenticator.hpp
 include/vmime/security/digest/md5/md5MessageDigest.hpp
 include/vmime/security/digest/messageDigest.hpp
@@ -178,6 +185,8 @@ include/vmime/security/sasl/SASLMechanis
 include/vmime/security/sasl/SASLMechanismFactory.hpp
 include/vmime/security/sasl/SASLSession.hpp
 include/vmime/security/sasl/SASLSocket.hpp
+include/vmime/security/sasl/XOAuth2SASLAuthenticator.hpp
+include/vmime/security/sasl/XOAuth2SASLMechanism.hpp
 include/vmime/security/sasl/builtinSASLMechanism.hpp
 include/vmime/security/sasl/defaultSASLAuthenticator.hpp
 include/vmime/streamContentHandler.hpp
@@ -230,6 +239,6 @@ include/vmime/word.hpp
 include/vmime/wordEncoder.hpp
 lib/libvmime.a
 lib/libvmime.so
-lib/libvmime.so.0
-lib/libvmime.so.0.0.0
+lib/libvmime.so.1
+lib/libvmime.so.1.0.0
 libdata/pkgconfig/vmime.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703261042.v2QAgGPw020808>