Agregando nuevamente componentes wazuh-server

This commit is contained in:
Jesus Martin Ortega Martinez 2023-11-17 17:00:28 -06:00
parent d08a5d91b7
commit 4e3638cc93
Signed by: jortega
GPG Key ID: 1B93E6A766CD229D
9 changed files with 159 additions and 0 deletions

14
wazuh-dashboard/.SRCINFO Normal file
View File

@ -0,0 +1,14 @@
pkgbase = wazuh-dashboard
pkgdesc = Wazuh Dashboard for Arch Linux
pkgver = 4.6.0
pkgrel = 1
url = https://wazuh.com/
install = wazuh-dashboard.install
arch = x86_64
license = gpl2
depends = libcap
source = https://packages.wazuh.com/4.x/yum/wazuh-dashboard-4.6.0-1.x86_64.rpm
validpgpkeys = 9E646BB0630C8FD18ACD15541B93E6A766CD229D
sha256sums = c9849ed2c021d53fbafae8dffe0918605f94ff10ffff5c2881ae6bda74c193e2
pkgname = wazuh-dashboard

33
wazuh-dashboard/PKGBUILD Normal file
View File

@ -0,0 +1,33 @@
# Maintainer: Jesus Martin Ortega Martinez (madara125) <martin.ortega.arashi@gmail.com><jortega@condorbs.net>
# Contribuidor: Kevin Muñoz <kmunoz@condorbs.net>
pkgname=wazuh-dashboard
pkgver=4.6.0
_remRevision=1
_prodver=${pkgver}-${_remRevision}
pkgrel=1
pkgdesc="Wazuh Dashboard for Arch Linux"
arch=('x86_64')
url="https://wazuh.com/"
license=('gpl2')
depends=(
'libcap'
);
optdepends=(
);
validpgpkeys=('9E646BB0630C8FD18ACD15541B93E6A766CD229D')
source=("https://packages.wazuh.com/4.x/yum/${pkgname}-${_prodver}.x86_64.rpm")
sha256sums=('c9849ed2c021d53fbafae8dffe0918605f94ff10ffff5c2881ae6bda74c193e2')
install=$pkgname.install
package() {
#Setup
cd $pkgdir
mv $srcdir/etc .
mv $srcdir/usr .
#Set systemd service file perms
}

View File

@ -0,0 +1,4 @@
post_install()
{
echo "Visit https://documentation.wazuh.com/current/installation-guide/wazuh-dashboard/step-by-step.html and follow the configure instructions"
}

14
wazuh-indexer/.SRCINFO Normal file
View File

@ -0,0 +1,14 @@
pkgbase = wazuh-indexer
pkgdesc = Wazuh Indexer for Arch Linux
pkgver = 4.6.0
pkgrel = 1
url = https://wazuh.com/
install = wazuh-indexer.install
arch = x86_64
license = gpl2
depends = coreutils
source = https://packages.wazuh.com/4.x/yum/wazuh-indexer-4.6.0-1.x86_64.rpm
validpgpkeys = 9E646BB0630C8FD18ACD15541B93E6A766CD229D
sha256sums = 5cb9496f98595c64d351d4b99073c9a7aa48ebe0496eda4853732d2fe66abbf5
pkgname = wazuh-indexer

36
wazuh-indexer/PKGBUILD Normal file
View File

@ -0,0 +1,36 @@
# Maintainer: Jesus Martin Ortega Martinez (madara125) <martin.ortega.arashi@gmail.com><jortega@condorbs.net>
# Contribuidor: Kevin Muñoz <kmunoz@condorbs.net>
pkgname=wazuh-indexer
pkgver=4.6.0
_remRevision=1
_prodver=${pkgver}-${_remRevision}
pkgrel=1
pkgdesc="Wazuh Indexer for Arch Linux"
arch=('x86_64')
url="https://wazuh.com/"
license=('gpl2')
depends=(
'coreutils'
);
optdepends=(
);
validpgpkeys=('9E646BB0630C8FD18ACD15541B93E6A766CD229D')
source=("https://packages.wazuh.com/4.x/yum/${pkgname}-${_prodver}.x86_64.rpm")
sha256sums=('5cb9496f98595c64d351d4b99073c9a7aa48ebe0496eda4853732d2fe66abbf5')
install=$pkgname.install
package() {
#Setup
cd $pkgdir
mv $srcdir/etc .
mv $srcdir/usr .
mv $srcdir/var .
#Set systemd service file perms
chmod 644 $pkgdir/usr/lib/systemd/system/wazuh-indexer-performance-analyzer.service
chmod 644 $pkgdir/usr/lib/systemd/system/wazuh-indexer.service
}

View File

@ -0,0 +1,4 @@
post_install()
{
echo "Visit https://documentation.wazuh.com/current/installation-guide/wazuh-indexer/step-by-step.html and follow the configure instructions"
}

14
wazuh-manager/.SRCINFO Normal file
View File

@ -0,0 +1,14 @@
pkgbase = wazuh-manager
pkgdesc = Wazuh Manager for Arch Linux
pkgver = 4.6.0
pkgrel = 1
url = https://wazuh.com/
install = wazuh-manager.install
arch = x86_64
license = gpl2
depends = filebeat
source = https://packages.wazuh.com/4.x/yum/wazuh-manager-4.6.0-1.x86_64.rpm
validpgpkeys = 9E646BB0630C8FD18ACD15541B93E6A766CD229D
sha256sums = 335b8970652a03d393866f2105e82c2713673e1f7542dccf25a83a4e3e2233ac
pkgname = wazuh-manager

36
wazuh-manager/PKGBUILD Normal file
View File

@ -0,0 +1,36 @@
# Maintainer: Jesus Martin Ortega Martinez (madara125) <martin.ortega.arashi@gmail.com><jortega@condorbs.net>
# Contribuidor: Kevin Muñoz <kmunoz@condorbs.net>
pkgname=wazuh-manager
pkgver=4.6.0
_remRevision=1
_prodver=${pkgver}-${_remRevision}
pkgrel=1
pkgdesc="Wazuh Manager for Arch Linux"
arch=('x86_64')
url="https://wazuh.com/"
license=('gpl2')
depends=(
'filebeat'
);
optdepends=(
);
validpgpkeys=('9E646BB0630C8FD18ACD15541B93E6A766CD229D')
source=("https://packages.wazuh.com/4.x/yum/${pkgname}-${_prodver}.x86_64.rpm")
sha256sums=('335b8970652a03d393866f2105e82c2713673e1f7542dccf25a83a4e3e2233ac')
install=$pkgname.install
package() {
#change permissions
chmod -R +w "$srcdir/var/ossec"
#Setup
cd $pkgdir
mv $srcdir/etc .
mv $srcdir/usr .
mv $srcdir/var .
#Set systemd service file perms
chmod 644 $pkgdir/usr/lib/systemd/system/wazuh-manager.service
}

View File

@ -0,0 +1,4 @@
post_install()
{
echo "Visit https://documentation.wazuh.com/current/installation-guide/wazuh-dashboard/step-by-step.html and follow the configure instructions"
}