View | Details | Raw Unified | Return to bug 216999
Collapse All | Expand All

(-)mail/libvmime/Makefile (-3 / +7 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	libvmime
4
PORTNAME=	libvmime
5
PORTVERSION=	0.9.2.s20140721
5
PORTVERSION=	0.9.2
6
PORTREVISION=	3
6
DISTVERSIONPREFIX=	v
7
CATEGORIES=	mail
7
CATEGORIES=	mail
8
8
9
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
Lines 18-24 Link Here
18
USE_GITHUB=	yes
18
USE_GITHUB=	yes
19
GH_ACCOUNT=	kisli
19
GH_ACCOUNT=	kisli
20
GH_PROJECT=	vmime
20
GH_PROJECT=	vmime
21
GH_TAGNAME=	03a0e36
22
21
23
USES=		cmake:outsource compiler:c++11-lib iconv pkgconfig
22
USES=		cmake:outsource compiler:c++11-lib iconv pkgconfig
24
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
Lines 28-35 Link Here
28
		-DVMIME_SHARED_PTR_USE_BOOST:BOOL=NO \
27
		-DVMIME_SHARED_PTR_USE_BOOST:BOOL=NO \
29
		-DVMIME_SHARED_PTR_USE_CXX:BOOL=YES
28
		-DVMIME_SHARED_PTR_USE_CXX:BOOL=YES
30
29
30
INSTALL_TARGET=	install
31
31
post-patch:
32
post-patch:
32
	@${REINPLACE_CMD} 's,$${VMIME_INSTALL_LIBDIR}/pkgconfig,${PREFIX}/libdata/pkgconfig,' \
33
	@${REINPLACE_CMD} 's,$${VMIME_INSTALL_LIBDIR}/pkgconfig,${PREFIX}/libdata/pkgconfig,' \
33
		${WRKSRC}/CMakeLists.txt
34
		${WRKSRC}/CMakeLists.txt
34
35
36
post-stage:
37
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libvmime.so.1.0.0
38
35
.include <bsd.port.mk>
39
.include <bsd.port.mk>
(-)mail/libvmime/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (kisli-vmime-0.9.2.s20140721-03a0e36_GH0.tar.gz) = 92afe8da9c9af3fc3cac46c4a2c5008ce3d3cedc392c381f21fd514fb1dddc49
1
TIMESTAMP = 1486813232
2
SIZE (kisli-vmime-0.9.2.s20140721-03a0e36_GH0.tar.gz) = 527227
2
SHA256 (kisli-vmime-v0.9.2_GH0.tar.gz) = 9874bf911a7dbc257297ab00f7541875da221ee8251a4218cc65abff6e362399
3
SIZE (kisli-vmime-v0.9.2_GH0.tar.gz) = 528830
(-)mail/libvmime/files/patch-src__vmime__platforms__posix__posixHandler.cpp (-21 lines)
Lines 1-21 Link Here
1
--- src/vmime/platforms/posix/posixHandler.cpp.orig	2014-07-22 15:24:26.000000000 +0200
2
+++ src/vmime/platforms/posix/posixHandler.cpp	2014-07-22 15:59:33.000000000 +0200
3
@@ -41,6 +41,7 @@
4
 #include <errno.h>
5
 
6
 #include <sys/types.h>
7
+#include <sys/socket.h>
8
 #include <sys/stat.h>
9
 
10
 #if VMIME_HAVE_SYSCALL
11
@@ -238,7 +239,9 @@
12
 #elif VMIME_HAVE_SYSCALL && VMIME_HAVE_SYSCALL_GETTID
13
 	return static_cast <unsigned int>(::syscall(SYS_gettid));
14
 #else
15
-	#error We have no implementation of getThreadId() for this platform!
16
+	long id;
17
+	::syscall(SYS_thr_self, &id);
18
+	return static_cast <unsigned int>(id);
19
 #endif
20
 }
21
 
(-)mail/libvmime/files/patch-src_vmime_platforms_posix_posixHandler.cpp (-3 / +3 lines)
Lines 1-5 Link Here
1
--- src/vmime/platforms/posix/posixHandler.cpp.orig	2014-07-22 15:24:26.000000000 +0200
1
--- src/vmime/platforms/posix/posixHandler.cpp.orig	2017-01-03 20:00:08 UTC
2
+++ src/vmime/platforms/posix/posixHandler.cpp	2014-07-22 15:59:33.000000000 +0200
2
+++ src/vmime/platforms/posix/posixHandler.cpp
3
@@ -41,6 +41,7 @@
3
@@ -41,6 +41,7 @@
4
 #include <errno.h>
4
 #include <errno.h>
5
 
5
 
Lines 8-14 Link Here
8
 #include <sys/stat.h>
8
 #include <sys/stat.h>
9
 
9
 
10
 #if VMIME_HAVE_SYSCALL
10
 #if VMIME_HAVE_SYSCALL
11
@@ -238,7 +239,9 @@
11
@@ -240,7 +241,9 @@ unsigned int posixHandler::getThreadId()
12
 #elif VMIME_HAVE_SYSCALL && VMIME_HAVE_SYSCALL_GETTID
12
 #elif VMIME_HAVE_SYSCALL && VMIME_HAVE_SYSCALL_GETTID
13
 	return static_cast <unsigned int>(::syscall(SYS_gettid));
13
 	return static_cast <unsigned int>(::syscall(SYS_gettid));
14
 #else
14
 #else
(-)mail/libvmime/files/patch-src_vmime_platforms_posix_posixSocket.cpp (+11 lines)
Line 0 Link Here
1
--- src/vmime/platforms/posix/posixSocket.cpp.orig	2017-01-03 20:00:08 UTC
2
+++ src/vmime/platforms/posix/posixSocket.cpp
3
@@ -873,7 +873,7 @@ void posixSocket::throwSocketError(const
4
 
5
 		char errbuf[512];
6
 
7
-	#if (_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE
8
+	#if 1
9
 
10
 		// XSI-compliant strerror_r()
11
 		strerror_r(err, errbuf, sizeof(errbuf));
(-)mail/libvmime/pkg-plist (-2 / +11 lines)
Lines 163-172 Link Here
163
include/vmime/security/cert/X509Certificate.hpp
163
include/vmime/security/cert/X509Certificate.hpp
164
include/vmime/security/cert/certificate.hpp
164
include/vmime/security/cert/certificate.hpp
165
include/vmime/security/cert/certificateChain.hpp
165
include/vmime/security/cert/certificateChain.hpp
166
include/vmime/security/cert/certificateException.hpp
167
include/vmime/security/cert/certificateExpiredException.hpp
168
include/vmime/security/cert/certificateIssuerVerificationException.hpp
169
include/vmime/security/cert/certificateNotTrustedException.hpp
170
include/vmime/security/cert/certificateNotYetValidException.hpp
166
include/vmime/security/cert/certificateVerifier.hpp
171
include/vmime/security/cert/certificateVerifier.hpp
167
include/vmime/security/cert/defaultCertificateVerifier.hpp
172
include/vmime/security/cert/defaultCertificateVerifier.hpp
168
include/vmime/security/cert/gnutls/X509Certificate_GnuTLS.hpp
173
include/vmime/security/cert/gnutls/X509Certificate_GnuTLS.hpp
169
include/vmime/security/cert/openssl/X509Certificate_OpenSSL.hpp
174
include/vmime/security/cert/openssl/X509Certificate_OpenSSL.hpp
175
include/vmime/security/cert/serverIdentityException.hpp
176
include/vmime/security/cert/unsupportedCertificateTypeException.hpp
170
include/vmime/security/defaultAuthenticator.hpp
177
include/vmime/security/defaultAuthenticator.hpp
171
include/vmime/security/digest/md5/md5MessageDigest.hpp
178
include/vmime/security/digest/md5/md5MessageDigest.hpp
172
include/vmime/security/digest/messageDigest.hpp
179
include/vmime/security/digest/messageDigest.hpp
Lines 178-183 Link Here
178
include/vmime/security/sasl/SASLMechanismFactory.hpp
185
include/vmime/security/sasl/SASLMechanismFactory.hpp
179
include/vmime/security/sasl/SASLSession.hpp
186
include/vmime/security/sasl/SASLSession.hpp
180
include/vmime/security/sasl/SASLSocket.hpp
187
include/vmime/security/sasl/SASLSocket.hpp
188
include/vmime/security/sasl/XOAuth2SASLAuthenticator.hpp
189
include/vmime/security/sasl/XOAuth2SASLMechanism.hpp
181
include/vmime/security/sasl/builtinSASLMechanism.hpp
190
include/vmime/security/sasl/builtinSASLMechanism.hpp
182
include/vmime/security/sasl/defaultSASLAuthenticator.hpp
191
include/vmime/security/sasl/defaultSASLAuthenticator.hpp
183
include/vmime/streamContentHandler.hpp
192
include/vmime/streamContentHandler.hpp
Lines 230-235 Link Here
230
include/vmime/wordEncoder.hpp
239
include/vmime/wordEncoder.hpp
231
lib/libvmime.a
240
lib/libvmime.a
232
lib/libvmime.so
241
lib/libvmime.so
233
lib/libvmime.so.0
242
lib/libvmime.so.1
234
lib/libvmime.so.0.0.0
243
lib/libvmime.so.1.0.0
235
libdata/pkgconfig/vmime.pc
244
libdata/pkgconfig/vmime.pc

Return to bug 216999