Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2012 20:36:29 +0000 (UTC)
From:      David Thiel <lx@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r307624 - in head/security/samhain: . files
Message-ID:  <201211212036.qALKaTtY026109@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lx
Date: Wed Nov 21 20:36:28 2012
New Revision: 307624
URL: http://svnweb.freebsd.org/changeset/ports/307624

Log:
  Update to 3.0.8, unbreak with utmpx.
  
  Feature safe: Yes

Added:
  head/security/samhain/files/extra-patch-config-h-in   (contents, props changed)
Modified:
  head/security/samhain/Makefile
  head/security/samhain/distinfo

Modified: head/security/samhain/Makefile
==============================================================================
--- head/security/samhain/Makefile	Wed Nov 21 20:18:30 2012	(r307623)
+++ head/security/samhain/Makefile	Wed Nov 21 20:36:28 2012	(r307624)
@@ -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 p
 .endif
 
 .if ${OSVERSION} > 900007
-BROKEN=		fails to build with new utmpx
+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-config-h-in
 .endif
 
 .if defined(WITH_GPG)

Modified: head/security/samhain/distinfo
==============================================================================
--- head/security/samhain/distinfo	Wed Nov 21 20:18:30 2012	(r307623)
+++ head/security/samhain/distinfo	Wed Nov 21 20:36:28 2012	(r307624)
@@ -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

Added: head/security/samhain/files/extra-patch-config-h-in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/samhain/files/extra-patch-config-h-in	Wed Nov 21 20:36:28 2012	(r307624)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211212036.qALKaTtY026109>