Index: head/mail/deforaos-mailer/Makefile =================================================================== --- head/mail/deforaos-mailer/Makefile (revision 421904) +++ head/mail/deforaos-mailer/Makefile (revision 421905) @@ -1,68 +1,67 @@ # Created by: Olivier Cochard-Labbe # $FreeBSD$ PORTNAME= mailer PORTVERSION= 0.1.7 CATEGORIES= mail MASTER_SITES= http://www.defora.org/os/download/download/4426/ PKGNAMEPREFIX= deforaos- DISTNAME= Mailer-${PORTVERSION} MAINTAINER= olivier@FreeBSD.org COMMENT= DeforaOS desktop mail client LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libSystem.so:devel/deforaos-libsystem \ libDesktop.so:x11/deforaos-libdesktop USE_GNOME= gtk20 -USES= desktop-file-utils pkgconfig +USES= desktop-file-utils pkgconfig ssl INSTALLS_ICONS= yes USE_LDCONFIG= yes -USE_OPENSSL= yes MAKE_ARGS+= PREFIX=${PREFIX} MAKE_ENV+= MANDIR=${STAGEDIR}${MANPREFIX}/man MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl .include .if ${SSL_DEFAULT} == base # openssl from base doesn't install a .pc file and pkg-config didn't like it CONFIGURE_ENV+= libssl_CFLAGS="-I${OPENSSLINC}" libssl_LIBS="-L${OPENSSLLIB} -lssl" .endif post-patch-DOCS-off: ${REINPLACE_CMD} 's|data doc include|data include|' \ ${WRKSRC}/Makefile post-patch-NLS-off: ${REINPLACE_CMD} 's|include po src|include src|' \ ${WRKSRC}/Makefile post-patch: ${REINPLACE_CMD} -e 's|/lib/|/libdata/|g' \ ${WRKSRC}/data/pkgconfig.sh ${REINPLACE_CMD} 's/-lssl/& -lcrypto/' \ ${WRKSRC}/src/Makefile ${WRKSRC}/src/account/Makefile \ ${WRKSRC}/src/plugins/Makefile ${WRKSRC}/tests/Makefile ${REINPLACE_CMD} 's|-Wl,-pie||g' \ ${WRKSRC}/src/Makefile \ ${WRKSRC}/tests/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* \ ${STAGEDIR}${PREFIX}/lib/Mailer/plugins/* \ ${STAGEDIR}${PREFIX}/lib/Mailer/account/* \ ${STAGEDIR}${PREFIX}/lib/libMailer.so.0.0 .include Index: head/mail/deforaos-mailer/files/patch-src_mailer.c =================================================================== --- head/mail/deforaos-mailer/files/patch-src_mailer.c (nonexistent) +++ head/mail/deforaos-mailer/files/patch-src_mailer.c (revision 421905) @@ -0,0 +1,14 @@ +--- src/mailer.c.orig 2016-02-20 14:36:22 UTC ++++ src/mailer.c +@@ -373,7 +373,11 @@ Mailer * mailer_new(void) + /* ssl */ + SSL_load_error_strings(); + SSL_library_init(); ++#ifndef OPENSSL_NO_SSL3 + if((mailer->ssl_ctx = SSL_CTX_new(SSLv3_client_method())) == NULL ++#else ++ if((mailer->ssl_ctx = SSL_CTX_new(SSLv23_client_method())) == NULL ++#endif + || SSL_CTX_set_cipher_list(mailer->ssl_ctx, + SSL_DEFAULT_CIPHER_LIST) != 1 + || SSL_CTX_load_verify_locations(mailer->ssl_ctx, NULL, Property changes on: head/mail/deforaos-mailer/files/patch-src_mailer.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/mail/deforaos-mailer/files/patch-tests_Makefile =================================================================== --- head/mail/deforaos-mailer/files/patch-tests_Makefile (nonexistent) +++ head/mail/deforaos-mailer/files/patch-tests_Makefile (revision 421905) @@ -0,0 +1,11 @@ +--- tests/Makefile.orig 2016-09-12 04:36:41 UTC ++++ tests/Makefile +@@ -27,7 +27,7 @@ $(OBJDIR)date$(EXEEXT): $(date_OBJS) + $(CC) -o $(OBJDIR)date$(EXEEXT) $(date_OBJS) $(date_LDFLAGS) + + email_OBJS = $(OBJDIR)email.o +-email_CFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF) $(CFLAGS) ++email_CFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF) $(CFLAGS) `pkg-config --cflags openssl` + email_LDFLAGS = $(LDFLAGSF) $(LDFLAGS) -L$(OBJDIR)../src -Wl,-rpath,$(OBJDIR)../src -lMailer + + $(OBJDIR)email$(EXEEXT): $(email_OBJS) Property changes on: head/mail/deforaos-mailer/files/patch-tests_Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property