security/samhain: update to 4.3.3

PR:		241044
Submitted by:	Nikola Kolev <koue@chaosophia.net> (maintainer)
This commit is contained in:
Steve Wills 2019-10-07 15:25:35 +00:00
parent 1881c58424
commit 213e6333aa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=513960
4 changed files with 32 additions and 5 deletions

View file

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= samhain
PORTVERSION= 4.3.2
PORTREVISION= 1
PORTVERSION= 4.3.3
CATEGORIES= security
MASTER_SITES= http://la-samhna.de/archive/
DISTNAME= samhain_signed-${PORTVERSION}

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1547727210
SHA256 (samhain_signed-4.3.2.tar.gz) = 0582864ef56ab796031e8e611ed66c48adeb3a30ec34e1a8d0088572442035fc
SIZE (samhain_signed-4.3.2.tar.gz) = 2142763
TIMESTAMP = 1570039276
SHA256 (samhain_signed-4.3.3.tar.gz) = 33ad4bc3dad4699694553bd9635a6b5827939f965d1f0f05fce0b4e9cdadf21b
SIZE (samhain_signed-4.3.3.tar.gz) = 2142337

View file

@ -0,0 +1,11 @@
--- Makefile.in.orig 2019-10-03 19:26:23 UTC
+++ Makefile.in
@@ -68,7 +68,7 @@ BUILD_NUM = 1
DEFAULT_MAINTAINER = Nobody Nowhere <nobody@example.com>
-VFLAG = @mytclient@
+VFLAG = @mytclient@ -D__BSD_VISIBLE=1
SETPWD = @setpwd_prg@
STEGIN = @stegin_prg@
SAMHAIN = @sh_main_prg@

View file

@ -0,0 +1,17 @@
--- src/slib.c.orig 2019-01-17 20:05:33 UTC
+++ src/slib.c
@@ -18,12 +18,14 @@
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
+#include <strings.h>
#include <limits.h>
#ifdef HAVE_STDINT_H
/* for SIZE_MAX */
#include <stdint.h>
#endif
+#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>