mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
- Fix build when a previous version is insalled and ssl from ports is used
- Fix build with libressl - Take maintainership PR: 212610 Approved by: wxs (maintainer)
This commit is contained in:
parent
45fabfe589
commit
e99300673c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=422564
@ -5,7 +5,7 @@ PORTVERSION= 3.5.0
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= security
|
||||
|
||||
MAINTAINER= wxs@FreeBSD.org
|
||||
MAINTAINER= antoine@FreeBSD.org
|
||||
COMMENT= Malware identification and classification tool
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
@ -19,7 +19,7 @@ INSTALL_TARGET= install-strip
|
||||
USES= alias autoreconf libtool pathfix ssl
|
||||
USE_LDCONFIG= yes
|
||||
PATHFIX_MAKEFILEIN= Makefile.am
|
||||
CPPFLAGS+= -I${OPENSSLINC}
|
||||
CPPFLAGS+= -isystem ${OPENSSLINC}
|
||||
LIBS+= -L${OPENSSLLIB}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
11
security/yara/files/patch-libyara_modules_pe.c
Normal file
11
security/yara/files/patch-libyara_modules_pe.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- libyara/modules/pe.c.orig 2016-09-06 20:09:47 UTC
|
||||
+++ libyara/modules/pe.c
|
||||
@@ -42,7 +42,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBI
|
||||
#include <openssl/bio.h>
|
||||
#include <openssl/pkcs7.h>
|
||||
#include <openssl/x509.h>
|
||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
#define X509_get_signature_nid(o) OBJ_obj2nid((o)->sig_alg->algorithm)
|
||||
#endif
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user