Index: head/news/nzbget/Makefile =================================================================== --- head/news/nzbget/Makefile (revision 303828) +++ head/news/nzbget/Makefile (revision 303829) @@ -1,66 +1,67 @@ # New ports collection makefile for: nzbget # Date created: 13 April 2004 # Whom: Lewis Thompson # # $FreeBSD$ # PORTNAME= nzbget PORTVERSION= 0.8.0 CATEGORIES= news MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-stable/${PORTVERSION} MAINTAINER= toxic@doobie.com COMMENT= A binary newsreader supporting NZB files LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \ sigc-2:${PORTSDIR}/devel/libsigc++20 GNU_CONFIGURE= yes CONFIGURE_ENV= LOCALBASE="${LOCALBASE}" +MAKE_JOBS_UNSAFE=yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= ${PTHREAD_LIBS} CFLAGS+= ${PTHREAD_CFLAGS} USE_GMAKE= yes OPTIONS= PARCHECK "Enable autopar/parcheck (Requires libpar2)" On OPTIONS+= TLSCHECK "Use GNUTLS for SSL" On OPTIONS+= OSSLCHECK "Use OpenSSL for SSL" Off PLIST_FILES= bin/nzbget PORTDOCS= README PORTEXAMPLES= nzbget.conf.example .include .if defined (WITHOUT_PARCHECK) CONFIGURE_ARGS+= --disable-parcheck .else CONFIGURE_ARGS+= --enable-parcheck LIB_DEPENDS+= par2:${PORTSDIR}/archivers/libpar2 .endif .if defined (WITH_OSSLCHECK) CONFIGURE_ARGS+= --with-tlslib=OpenSSL .endif .if defined (WITH_TLSCHECK) CONFIGURE_ARGS+= --with-tlslib=GnuTLS LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls LIB_DEPENDS+= gcrypt:${PORTSDIR}/security/libgcrypt .endif post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif .if !defined(NOPORTEXAMPLES) ${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/nzbget.conf.example ${EXAMPLESDIR} .endif .include Index: head/news/nzbget/files/patch-TLS.cpp =================================================================== --- head/news/nzbget/files/patch-TLS.cpp (nonexistent) +++ head/news/nzbget/files/patch-TLS.cpp (revision 303829) @@ -0,0 +1,32 @@ +--- TLS.cpp.orig 2011-06-14 23:47:22.000000000 +0200 ++++ TLS.cpp 2012-08-31 09:27:41.000000000 +0200 +@@ -908,7 +908,7 @@ + char *buf; + int bufsize; + /* needed to get the DNS subjectAltNames: */ +- STACK *subj_alt_names; ++ STACK_OF(GENERAL_NAME) *subj_alt_names; + int subj_alt_names_count; + GENERAL_NAME *subj_alt_name; + /* did we find a name matching hostname? */ +@@ -960,7 +960,7 @@ + /* Try the DNS subjectAltNames. */ + match_found = 0; + if ((subj_alt_names = +- (STACK*)X509_get_ext_d2i(x509cert, NID_subject_alt_name, NULL, NULL))) ++ (STACK_OF(GENERAL_NAME) *)X509_get_ext_d2i(x509cert, NID_subject_alt_name, NULL, NULL))) + { + subj_alt_names_count = sk_GENERAL_NAME_num(subj_alt_names); + for (i = 0; i < subj_alt_names_count; i++) +@@ -1105,7 +1105,11 @@ + + #ifdef HAVE_OPENSSL + ++ #if OPENSSL_VERSION_NUMBER >= 0x10000000L ++ const SSL_METHOD *ssl_method = NULL; ++ #else + SSL_METHOD *ssl_method = NULL; ++ #endif + + ssl_method = force_sslv3 ? SSLv3_client_method() : SSLv23_client_method(); + if (!ssl_method) Property changes on: head/news/nzbget/files/patch-TLS.cpp ___________________________________________________________________ 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