Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 2014 13:27:59 +0000 (UTC)
From:      Brad Davis <brd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r354222 - head/security/ossec-hids-server/files
Message-ID:  <201405161327.s4GDRxek041242@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brd (doc committer)
Date: Fri May 16 13:27:59 2014
New Revision: 354222
URL: http://svnweb.freebsd.org/changeset/ports/354222
QAT: https://qat.redports.org/buildarchive/r354222/

Log:
  - Add a patch I missed that fixes the build of ossec-hids-client.
  
  Reviewed by:	zi@
  Noticed by:		swills@ / jenkins
  Pointy hat to:	me

Modified:
  head/security/ossec-hids-server/files/patch-src__InstallAgent.sh

Modified: head/security/ossec-hids-server/files/patch-src__InstallAgent.sh
==============================================================================
--- head/security/ossec-hids-server/files/patch-src__InstallAgent.sh	Fri May 16 13:06:01 2014	(r354221)
+++ head/security/ossec-hids-server/files/patch-src__InstallAgent.sh	Fri May 16 13:27:59 2014	(r354222)
@@ -1,5 +1,22 @@
---- src/InstallAgent.sh.orig	2014-05-15 09:23:09.596592731 -0600
-+++ src/InstallAgent.sh	2014-05-15 09:23:33.770590120 -0600
+--- ./src/InstallAgent.sh.orig	2013-10-29 12:13:44.000000000 -0600
++++ ./src/InstallAgent.sh	2014-05-16 07:12:31.133178776 -0600
+@@ -37,11 +37,11 @@
+ 
+ # Creating groups/users
+ if [ "$UNAME" = "FreeBSD" -o "$UNAME" = "DragonFly" ]; then
+-    grep "^${USER}" /etc/passwd > /dev/null 2>&1
+-    if [ ! $? = 0 ]; then
+-    /usr/sbin/pw groupadd ${GROUP}
+-	/usr/sbin/pw useradd ${USER} -d ${DIR} -s /sbin/nologin -g ${GROUP}
+-    fi
++#    grep "^${USER}" /etc/passwd > /dev/null 2>&1
++#    if [ ! $? = 0 ]; then
++#    /usr/sbin/pw groupadd ${GROUP}
++#	/usr/sbin/pw useradd ${USER} -d ${DIR} -s /sbin/nologin -g ${GROUP}
++#    fi
+ 
+ elif [ "$UNAME" = "SunOS" ]; then
+     grep "^${USER}" /etc/passwd > /dev/null 2>&1
 @@ -223,10 +223,10 @@
  if [ $? = 0 ]; then
      cp -pr ../etc/ossec.mc ${DIR}/etc/ossec.conf



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