pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

samhain: update to 4.5.3



Module Name:	pkgsrc-wip
Committed By:	Bartosz Kuzma <bartosz.kuzma%gmail.com@localhost>
Pushed By:	bartosz.kuzma
Date:		Thu Jul 9 06:42:00 2026 +0200
Changeset:	cb0e39bdaf26461406ab34d4a996a6891da6b4c7

Modified Files:
	TODO
	samhain/Makefile
	samhain/PLIST
	samhain/distinfo
Removed Files:
	samhain/TODO
	samhain/patches/patch-aa

Log Message:
samhain: update to 4.5.3

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=cb0e39bdaf26461406ab34d4a996a6891da6b4c7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 TODO                     |  1 -
 samhain/Makefile         | 16 ++++++++++++----
 samhain/PLIST            |  4 ++--
 samhain/TODO             |  1 -
 samhain/distinfo         |  7 +++----
 samhain/patches/patch-aa | 20 --------------------
 6 files changed, 17 insertions(+), 32 deletions(-)

diffs:
diff --git a/TODO b/TODO
index d070fb7181..c325a38a7d 100644
--- a/TODO
+++ b/TODO
@@ -130,7 +130,6 @@ Suggested package updates
 	o rosegarden-current-1.4.0
 	o rsyslog6-6.3.6
 	o rygel-0.26.0
-	o samhain-4.2.4
 	o scantailor-0.9.11.1
 	o scrc-2.2
 	o sddm-0.20
diff --git a/samhain/Makefile b/samhain/Makefile
index 94749a3461..a7cb29b528 100644
--- a/samhain/Makefile
+++ b/samhain/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.7 2012/10/07 16:22:53 asau Exp $
 
-DISTNAME=	samhain_signed-2.4.4
-PKGNAME=	samhain-2.4.4
+DISTNAME=	samhain_signed-4.5.3
+PKGNAME=	samhain-4.5.3
 CATEGORIES=	security
 MASTER_SITES=	http://www.la-samhna.de/archive/
 
@@ -10,19 +10,27 @@ HOMEPAGE=	https://www.la-samhna.de/samhain/
 COMMENT=	Open-source IDS/file integrity checking
 LICENSE=	gnu-gpl-v2
 
-BUILD_DEFS+=	VARBASE
 WRKSRC=		${WRKDIR}/${PKGNAME_NOREV}
+
+BUILD_DEFS+=	VARBASE
 RCD_SCRIPTS=	samhain
 EGDIR=		${PREFIX}/share/examples/samhain
 CONF_FILES=	${EGDIR}/samhainrc ${PKG_SYSCONFDIR}/samhainrc
+
 USE_TOOLS+=	pax
 
+HAS_CONFIGURE=	yes
+
+CONFIGURE_ARGS+=	--prefix=${PREFIX}
+CONFIGURE_ARGS+=	--exec-prefix=${PREFIX}
+CONFIGURE_ARGS+=	--mandir=${PREFIX}/${PKGMANDIR}
 CONFIGURE_ARGS+=	--with-config-file=${PREFIX}/etc/samhainrc
 CONFIGURE_ARGS+=	--with-data-file=${PREFIX}/etc/samhain.db
 CONFIGURE_ARGS+=	--with-log-file=${VARBASE}/log/samhain.log
 CONFIGURE_ARGS+=	--with-pid-file=${VARBASE}/run/samhain.pid
 CONFIGURE_ARGS+=	--with-state-dir=${VARBASE}/run
-GNU_CONFIGURE=		yes
+
+CFLAGS.NetBSD+=		-D_NETBSD_SOURCE
 
 post-extract:
 	cd ${WRKDIR} && pax -r -pp -z -f ${PKGNAME}.tar.gz
diff --git a/samhain/PLIST b/samhain/PLIST
index c60f5e6723..416ee8a418 100644
--- a/samhain/PLIST
+++ b/samhain/PLIST
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.3 2008/05/08 09:31:31 moubctez Exp $
+@comment $NetBSD$
 man/man5/samhainrc.5
 man/man8/samhain.8
 sbin/samhain
-share/examples/rc.d/samhain
 share/examples/samhain/samhainrc
+@pkgdir etc
diff --git a/samhain/TODO b/samhain/TODO
deleted file mode 100644
index 031e3c675a..0000000000
--- a/samhain/TODO
+++ /dev/null
@@ -1 +0,0 @@
-http://secunia.com/advisories/34104/
diff --git a/samhain/distinfo b/samhain/distinfo
index 4d409469b1..e91e02c3cc 100644
--- a/samhain/distinfo
+++ b/samhain/distinfo
@@ -1,7 +1,6 @@
 $NetBSD: distinfo,v 1.4 2008/05/08 09:31:31 moubctez Exp $
 
-RMD160 (samhain_signed-2.4.4.tar.gz) = 0d5ed35a5aa05972a254bf445aadf880739c7848
-SHA512 (samhain_signed-2.4.4.tar.gz) = 2338e9d2f7a8660c2f6dfae0ea779cbe932453bf0dbe27c23e56e2bdefa356f3d252994ed3686d6aa0198559f717be692bbbf682e9d2da89f13f48703901a4d2
-Size (samhain_signed-2.4.4.tar.gz) = 1724507 bytes
-SHA1 (patch-aa) = c11b3a303a3689078a1827a1937e1505b1d3959c
+BLAKE2s (samhain_signed-4.5.3.tar.gz) = 478007e5b7f80b3e314e9b13b3bc60efbc41843606bed7a3a1f9c8602e8ce398
+SHA512 (samhain_signed-4.5.3.tar.gz) = 1ee53284718b1425150bea7f1aba883a0c809fef9c1613751dbd62ad11c8c1734bcae70a9db46214180b5fba11e44d5b0acde9725e8c651e59a3e7f99eecadc3
+Size (samhain_signed-4.5.3.tar.gz) = 2199922 bytes
 SHA1 (patch-ab) = 04625b0a5fe985373af1bc83a471a16d7d4ce87a
diff --git a/samhain/patches/patch-aa b/samhain/patches/patch-aa
deleted file mode 100644
index 0dab7e359b..0000000000
--- a/samhain/patches/patch-aa
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2008/05/08 09:31:31 moubctez Exp $
-
---- src/sh_error.c.orig	2008-04-17 21:14:14.000000000 +0200
-+++ src/sh_error.c
-@@ -17,6 +17,7 @@
- /*  along with this program; if not, write to the Free Software            */
- /*  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.              */
- 
-+#include <stdarg.h>
- #include "config_xor.h"
- 
- /* Required on Linux to get the correct strerror_r function. Also
-@@ -30,7 +31,6 @@
- #include <string.h>
- #include <stdio.h>     
- #include <stdlib.h>     
--#include <stdarg.h>
- #include <ctype.h>
- #include <limits.h>
- #include <errno.h>


Home | Main Index | Thread Index | Old Index