update yara to 3.5.0.
ok benoit@.
This commit is contained in:
parent
db2c57b945
commit
7c3ec1d04f
@ -1,16 +1,14 @@
|
||||
# $OpenBSD: Makefile.inc,v 1.1.1.1 2015/09/18 21:35:32 rpointel Exp $
|
||||
# $OpenBSD: Makefile.inc,v 1.2 2016/09/14 20:40:53 rpointel Exp $
|
||||
|
||||
VERSION = 3.4.0
|
||||
DISTNAME = yara-${VERSION}
|
||||
VERSION = 3.5.0
|
||||
|
||||
CATEGORIES = security
|
||||
|
||||
HOMEPAGE = http://plusvic.github.io/yara/
|
||||
HOMEPAGE = http://virustotal.github.io/yara/
|
||||
|
||||
GH_ACCOUNT = VirusTotal
|
||||
GH_TAGNAME = v${VERSION}
|
||||
|
||||
# Apache v2
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
GH_ACCOUNT = plusvic
|
||||
GH_PROJECT = yara
|
||||
GH_TAGNAME = v${VERSION}
|
||||
|
||||
|
@ -1,9 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2015/09/19 17:39:55 rpointel Exp $
|
||||
|
||||
REVISION = 0
|
||||
# $OpenBSD: Makefile,v 1.3 2016/09/14 20:40:53 rpointel Exp $
|
||||
|
||||
COMMENT = pattern matching swiss knife
|
||||
|
||||
DISTNAME = yara-${VERSION}
|
||||
|
||||
GH_PROJECT = yara
|
||||
|
||||
WANTLIB += c crypto m magic pthread z
|
||||
|
||||
SHARED_LIBS += yara 0.0 # 0.0
|
||||
@ -11,8 +13,8 @@ SHARED_LIBS += yara 0.0 # 0.0
|
||||
CONFIGURE_STYLE = gnu
|
||||
CONFIGURE_ARGS += --with-crypto \
|
||||
--enable-magic
|
||||
CONFIGURE_ENV += LDFLAGS="-L${LOCALBASE}/lib" \
|
||||
CFLAGS="-I${LOCALBASE}/include"
|
||||
CONFIGURE_ENV += LDFLAGS="-L${LOCALBASE}/lib/eopenssl -L${LOCALBASE}/lib" \
|
||||
CFLAGS="-I${LOCALBASE}/include/eopenssl -I${LOCALBASE}/include"
|
||||
|
||||
pre-patch:
|
||||
cd ${WRKSRC} && \
|
||||
@ -21,7 +23,9 @@ pre-patch:
|
||||
|
||||
BUILD_DEPENDS += devel/libtool \
|
||||
${MODGNU_AUTOCONF_DEPENDS} \
|
||||
${MODGNU_AUTOMAKE_DEPENDS}
|
||||
${MODGNU_AUTOMAKE_DEPENDS} \
|
||||
${RUN_DEPENDS}
|
||||
RUN_DEPENDS += security/openssl
|
||||
|
||||
LIB_DEPENDS += devel/libmagic
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (yara-3.4.0.tar.gz) = UoVx/3ITZCKfNPbR/w7tw81aKnW7lHJ9xleMbv49YYs=
|
||||
SIZE (yara-3.4.0.tar.gz) = 7642695
|
||||
SHA256 (yara-3.5.0.tar.gz) = S8cu51XbhXR/foVq+w6Be3iKKAq15z3uQvFZFxqbUpk=
|
||||
SIZE (yara-3.5.0.tar.gz) = 7648499
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/09/18 21:35:32 rpointel Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2016/09/14 20:40:53 rpointel Exp $
|
||||
@bin bin/yara
|
||||
@bin bin/yarac
|
||||
include/yara/
|
||||
@ -11,6 +11,7 @@ include/yara/error.h
|
||||
include/yara/exec.h
|
||||
include/yara/filemap.h
|
||||
include/yara/hash.h
|
||||
include/yara/integers.h
|
||||
include/yara/libyara.h
|
||||
include/yara/limits.h
|
||||
include/yara/modules.h
|
||||
@ -21,6 +22,7 @@ include/yara/scan.h
|
||||
include/yara/sizedstr.h
|
||||
include/yara/stream.h
|
||||
include/yara/strutils.h
|
||||
include/yara/threading.h
|
||||
include/yara/types.h
|
||||
include/yara/utils.h
|
||||
lib/libyara.a
|
||||
|
@ -1,14 +1,21 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2015/09/18 21:35:32 rpointel Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2016/09/14 20:40:53 rpointel Exp $
|
||||
|
||||
COMMENT = Python extension that gives access to YARA
|
||||
|
||||
PKGNAME = py-${DISTNAME}
|
||||
GH_PROJECT = yara-python
|
||||
|
||||
PKGNAME = py-yara-${VERSION}
|
||||
|
||||
WANTLIB += pthread ${MODPY_WANTLIB} yara
|
||||
|
||||
WRKSRC = ${WRKDIR}/${DISTNAME}/yara-python
|
||||
|
||||
MODULES = lang/python
|
||||
MODPY_SETUPTOOLS = Yes
|
||||
|
||||
MODPY_DISTUTILS_BUILDARGS = --dynamic-linking
|
||||
MAKE_FLAG += CPPFLAGS="-I${LOCALBASE}/include/yara/"
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/setup.py
|
||||
|
||||
BUILD_DEPENDS = security/yara/main
|
||||
RUN_DEPENDS = security/yara/main
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (yara-3.4.0.tar.gz) = UoVx/3ITZCKfNPbR/w7tw81aKnW7lHJ9xleMbv49YYs=
|
||||
SIZE (yara-3.4.0.tar.gz) = 7642695
|
||||
SHA256 (yara-python-3.5.0.tar.gz) = 4NVkwajJiVftqftJ1CWdzCS4aMmPB6jyiZ8k57/ebRg=
|
||||
SIZE (yara-python-3.5.0.tar.gz) = 22052
|
||||
|
14
security/yara/python/patches/patch-setup_py
Normal file
14
security/yara/python/patches/patch-setup_py
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-setup_py,v 1.1 2016/09/14 20:40:53 rpointel Exp $
|
||||
--- setup.py.orig Thu Aug 11 14:22:08 2016
|
||||
+++ setup.py Thu Aug 11 14:31:24 2016
|
||||
@@ -122,6 +122,10 @@ class BuildCommand(build):
|
||||
else:
|
||||
building_for_osx = False
|
||||
|
||||
+ if 'openbsd' in self.plat_name:
|
||||
+ module.include_dirs.append('${LOCALBASE}/include')
|
||||
+ module.library_dirs.append('${LOCALBASE}/lib')
|
||||
+
|
||||
if has_function('memmem'):
|
||||
module.define_macros.append(('HAVE_MEMMEM', '1'))
|
||||
if has_function('strlcpy'):
|
@ -1,3 +1,8 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/09/18 21:35:32 rpointel Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2016/09/14 20:40:53 rpointel Exp $
|
||||
lib/python${MODPY_VERSION}/site-packages/yara.so
|
||||
lib/python${MODPY_VERSION}/site-packages/yara_python-3.4.0-py${MODPY_VERSION}.egg-info
|
||||
lib/python${MODPY_VERSION}/site-packages/yara_python-3.5.0-py${MODPY_VERSION}.egg-info/
|
||||
lib/python${MODPY_VERSION}/site-packages/yara_python-3.5.0-py${MODPY_VERSION}.egg-info/PKG-INFO
|
||||
lib/python${MODPY_VERSION}/site-packages/yara_python-3.5.0-py${MODPY_VERSION}.egg-info/SOURCES.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/yara_python-3.5.0-py${MODPY_VERSION}.egg-info/dependency_links.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/yara_python-3.5.0-py${MODPY_VERSION}.egg-info/not-zip-safe
|
||||
lib/python${MODPY_VERSION}/site-packages/yara_python-3.5.0-py${MODPY_VERSION}.egg-info/top_level.txt
|
||||
|
Loading…
Reference in New Issue
Block a user