blob: 5f3c6ccbe987239eb5cd170e4656f9cca0b957b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# Maintainer: Jesus Martin Ortega Martinez (madara125) <martin.ortega.arashi@gmail.com><jortega@condorbs.net>
# Contributor: Kevin Muñoz (MrHacker) <kmunoz@condorbs.net><david.munozm@proton.me>
pkgname=wazuh-agent
pkgver=4.10.1
_remRevision=1
_prodver=${pkgver}-${_remRevision}
pkgrel=1
pkgdesc="Wazuh Agent actively protects Arch Linux systems with advanced threat prevention, detection, and response capabilities."
arch=('x86_64' 'aarch64')
url="https://wazuh.com/"
license=('gpl2')
depends=(
'curl'
'gcc'
'make'
'sudo'
'wget'
'expect'
'gnupg'
'perl-base'
'perl'
'fakeroot'
'python'
'brotli'
'automake'
'autoconf'
'libtool'
'gawk'
'libsigsegv'
'nodejs'
'base-devel'
'inetutils'
'cmake'
);
optdepends=(
'lsb-release'
);
validpgpkeys=(
)
source_aarch64=("https://packages.wazuh.com/4.x/yum/${pkgname}-${pkgver}-${pkgrel}.aarch64.rpm"
)
source_x86_64=("https://packages.wazuh.com/4.x/yum/${pkgname}-${pkgver}-${pkgrel}.x86_64.rpm"
)
backup=(
'var/ossec/etc/client.keys'
'var/ossec/etc/local_internal_options.conf'
'var/ossec/etc/ossec.conf'
)
sha512sums_x86_64=('bff4b506fc0ba33e96eba97db32b251a1922e8574e6aad006d7647fec04859647ff112ef5a745fd0db5714239ecf41511c511dae7c9d0d479cee078b49f22c47')
sha512sums_aarch64=('df2315c6bb7bb26f88944c5473daaf3b74e3d0a8b22df406ac799c77d6ae453a8303f42683a693e44b758d80c5e9ac32987de74dcff6682fd90dca051267ed2b')
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-agent.service
}
|