1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Update to 3.0.8, unbreak with utmpx.

Feature safe: Yes
This commit is contained in:
David Thiel 2012-11-21 20:36:28 +00:00
parent b4be86ec54
commit 0a7059d585
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307624
3 changed files with 19 additions and 4 deletions

View File

@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= samhain
PORTVERSION= 3.0.3
PORTVERSION= 3.0.8
CATEGORIES= security
MASTER_SITES= http://la-samhna.de/archive/ \
http://redundancy.redundancy.org/mirror/
@ -41,7 +41,7 @@ MANUAL_PACKAGE_BUILD= fails to link on pointyhat
.endif
.if ${OSVERSION} > 900007
BROKEN= fails to build with new utmpx
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-config-h-in
.endif
.if defined(WITH_GPG)

View File

@ -1,2 +1,2 @@
SHA256 (samhain_signed-3.0.3.tar.gz) = e8e4bd1142aae5b5bfa8bb887043282bbe87d775255ed58fd3be15bfb55998cf
SIZE (samhain_signed-3.0.3.tar.gz) = 2100233
SHA256 (samhain_signed-3.0.8.tar.gz) = ca4e95ab1eedcbd0f18915d986cef15e0457547537a4a7877cf01e6fa154efbd
SIZE (samhain_signed-3.0.8.tar.gz) = 2163928

View File

@ -0,0 +1,15 @@
--- /tmp/config.h.in 2012-11-09 14:19:51.587478847 -0800
+++ config.h.in 2012-11-09 14:21:07.068488479 -0800
@@ -349,7 +349,11 @@
#undef HAVE_UINT64_T
/* Define if you have utmpx.h. */
-#undef HAVE_UTMPX_H
+#define HAVE_UTMPX_H
+
+#define UTMPX_FILE "/var/log/utx.active"
+
+#define WTMPX_FILE "/var/log/utx.log"
/* Define if your struct utmpx has ut_xtime. */
#undef HAVE_UTXTIME