diff --git a/wazuh-dashboard/.SRCINFO b/wazuh-dashboard/.SRCINFO new file mode 100644 index 0000000..296e877 --- /dev/null +++ b/wazuh-dashboard/.SRCINFO @@ -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 diff --git a/wazuh-dashboard/PKGBUILD b/wazuh-dashboard/PKGBUILD new file mode 100644 index 0000000..1ffbfee --- /dev/null +++ b/wazuh-dashboard/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Jesus Martin Ortega Martinez (madara125) +# Contribuidor: Kevin Muñoz +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 +} diff --git a/wazuh-dashboard/wazuh-dashboard.install b/wazuh-dashboard/wazuh-dashboard.install new file mode 100644 index 0000000..e6b053d --- /dev/null +++ b/wazuh-dashboard/wazuh-dashboard.install @@ -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" +} diff --git a/wazuh-indexer/.SRCINFO b/wazuh-indexer/.SRCINFO new file mode 100644 index 0000000..e7a131c --- /dev/null +++ b/wazuh-indexer/.SRCINFO @@ -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 diff --git a/wazuh-indexer/PKGBUILD b/wazuh-indexer/PKGBUILD new file mode 100644 index 0000000..fec7e19 --- /dev/null +++ b/wazuh-indexer/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Jesus Martin Ortega Martinez (madara125) +# Contribuidor: Kevin Muñoz +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 +} diff --git a/wazuh-indexer/wazuh-indexer.install b/wazuh-indexer/wazuh-indexer.install new file mode 100644 index 0000000..c491a2d --- /dev/null +++ b/wazuh-indexer/wazuh-indexer.install @@ -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" +} diff --git a/wazuh-manager/.SRCINFO b/wazuh-manager/.SRCINFO new file mode 100644 index 0000000..bc188cc --- /dev/null +++ b/wazuh-manager/.SRCINFO @@ -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 diff --git a/wazuh-manager/PKGBUILD b/wazuh-manager/PKGBUILD new file mode 100644 index 0000000..3a94007 --- /dev/null +++ b/wazuh-manager/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Jesus Martin Ortega Martinez (madara125) +# Contribuidor: Kevin Muñoz +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 +} diff --git a/wazuh-manager/wazuh-manager.install b/wazuh-manager/wazuh-manager.install new file mode 100644 index 0000000..e6b053d --- /dev/null +++ b/wazuh-manager/wazuh-manager.install @@ -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" +}