37 lines
910 B
Bash
37 lines
910 B
Bash
|
# 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
|
||
|
}
|