Browse Source

security/wazuh-agent: Fix some portlint warnings and remove duplicate patch

master
Bernhard Fröhlich 3 months ago
parent
commit
2c3e5e5bfc
Signed by: Bernhard Froehlich <decke@bluelife.at> GPG Key ID: 4DD88C3F9F3B8333
2 changed files with 17 additions and 27 deletions
  1. 17
    16
      security/wazuh-agent/Makefile
  2. 0
    11
      security/wazuh-agent/files/patch1

+ 17
- 16
security/wazuh-agent/Makefile View File

@@ -1,32 +1,33 @@
# $FreeBSD$

PORTNAME= wazuh
PORTVERSION= 3.9.0
DISTVERSIONPREFIX= v
CATEGORIES= security
PKGNAMESUFFIX= -agent
PORTNAME= wazuh
PORTVERSION= 3.9.0
DISTVERSIONPREFIX= v
CATEGORIES= security
PKGNAMESUFFIX= -agent

MAINTAINER= m.muenz@gmail.com
COMMENT= Security tool to monitor and check logs and intrusions
MAINTAINER= m.muenz@gmail.com
COMMENT= Security tool to monitor and check logs and intrusions

LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE

USES= gmake perl5 readline
USES= gmake perl5 readline

USE_GITHUB= yes
GH_ACCOUNT= wazuh
GH_TAGNAME= v3.9.0
USE_GITHUB= yes

USE_OPENSSL= yes
USE_OPENSSL= yes
USE_GMAKE= yes

USERS= ossec ossecm ossecr
GROUPS= ossec
USERS= ossec ossecm ossecr
GROUPS= ossec

.include <bsd.port.pre.mk>

do-build:
@cd ${WRKSRC}/src && ${GMAKE} deps && ${GMAKE}

do-install:
@cd ${WRKSRC} && ${SH} install.sh

.include <bsd.port.mk>

+ 0
- 11
security/wazuh-agent/files/patch1 View File

@@ -1,11 +0,0 @@
--- src/init/init.sh.orig 2019-05-14 14:36:08.772924000 +0200
+++ src/init/init.sh
@@ -164,7 +164,7 @@
return 0;
fi
- if [ "X${UN}" = "XOpenBSD" -o "X${UN}" = "XNetBSD" -o "X${UN}" = "XFreeBSD" -o "X${UN}" = "XDragonFly" ]; then
+ if [ "X${UN}" = "XOpenBSD" -o "X${UN}" = "XNetBSD" -o "X${UN}" = "XDragonFly" ]; then
# Checking for the presence of ossec-control on rc.local
grep ossec-control /etc/rc.local > /dev/null 2>&1
if [ $? != 0 ]; then

Loading…
Cancel
Save