diff options
author | wxs <wxs@FreeBSD.org> | 2012-01-08 09:44:23 +0800 |
---|---|---|
committer | wxs <wxs@FreeBSD.org> | 2012-01-08 09:44:23 +0800 |
commit | 50481cf479c55638f8d318204f14f501669986d4 (patch) | |
tree | 64b0ba78428c36e46fb196a187712b14ab5bb19e /security/yara | |
parent | 8c8dca77e166fc9e1ba8233164384e60ac225441 (diff) | |
download | freebsd-ports-gnome-50481cf479c55638f8d318204f14f501669986d4.tar.gz freebsd-ports-gnome-50481cf479c55638f8d318204f14f501669986d4.tar.zst freebsd-ports-gnome-50481cf479c55638f8d318204f14f501669986d4.zip |
Update to 1.6.
While here, fix build with clang by setting USE_CSTD=gnu89.
Diffstat (limited to 'security/yara')
-rw-r--r-- | security/yara/Makefile | 3 | ||||
-rw-r--r-- | security/yara/distinfo | 4 | ||||
-rw-r--r-- | security/yara/files/patch-libyara__proc.c | 26 |
3 files changed, 4 insertions, 29 deletions
diff --git a/security/yara/Makefile b/security/yara/Makefile index 1b5c3246e587..f23da2a07df1 100644 --- a/security/yara/Makefile +++ b/security/yara/Makefile @@ -6,7 +6,7 @@ # PORTNAME= yara -PORTVERSION= 1.5 +PORTVERSION= 1.6 CATEGORIES= security MASTER_SITES= GOOGLE_CODE @@ -22,6 +22,7 @@ CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= "--with-re2" USE_LDCONFIG= yes +USE_CSTD= gnu89 MAN1= yara.1 diff --git a/security/yara/distinfo b/security/yara/distinfo index 77b40bfa15e2..c23382c3355e 100644 --- a/security/yara/distinfo +++ b/security/yara/distinfo @@ -1,2 +1,2 @@ -SHA256 (yara-1.5.tar.gz) = de9827abd884e79282461dec878254f537c141110e7e2c9e7b4091ecd7ad7666 -SIZE (yara-1.5.tar.gz) = 586642 +SHA256 (yara-1.6.tar.gz) = af92ac3481212245944561888f6b128cc13fe736fbabf90cc80c26f6179bc9f3 +SIZE (yara-1.6.tar.gz) = 523880 diff --git a/security/yara/files/patch-libyara__proc.c b/security/yara/files/patch-libyara__proc.c deleted file mode 100644 index 4537396cec6c..000000000000 --- a/security/yara/files/patch-libyara__proc.c +++ /dev/null @@ -1,26 +0,0 @@ ---- ./libyara/proc.c.orig 2011-03-18 09:56:15.000000000 -0400 -+++ ./libyara/proc.c 2011-05-23 08:47:07.456485028 -0400 -@@ -122,17 +122,18 @@ - #include "mem.h" - #include "proc.h" - --#ifdef __MACH__ -+#if defined(__FreeBSD__) || defined(__MACH__) -+#define PTRACE_ATTACH PT_ATTACH -+#define PTRACE_DETACH PT_DETACH -+#endif -+ -+#if defined(__MACH__) - - #include <mach/mach.h> - #include <mach/mach_vm.h> - #include <mach/vm_region.h> - #include <mach/vm_statistics.h> - --#define PTRACE_ATTACH PT_ATTACH --#define PTRACE_DETACH PT_DETACH -- -- - int get_process_memory(pid_t pid, MEMORY_BLOCK** first_block) - { - task_t task; |