mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 20:36:40 +02:00
testing/ossec-hids: modernize, fix license
This commit is contained in:
parent
a66d7fea59
commit
1d2d74fdad
@ -2,11 +2,11 @@
|
||||
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||
pkgname=ossec-hids
|
||||
pkgver=3.3.0
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Open Source Host-based Intrusion Detection System"
|
||||
url="http://www.ossec.net/"
|
||||
arch="all !aarch64 !armhf !armv7"
|
||||
license="GPL-3.0"
|
||||
license="GPL-2.0-only WITH openssl-exception"
|
||||
depends="inotify-tools procps"
|
||||
makedepends="linux-headers inotify-tools-dev findutils file zlib-dev pcre2-dev"
|
||||
install="$pkgname.pre-install"
|
||||
@ -18,11 +18,9 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/ossec/$pkgname/archive/v$pkg
|
||||
$pkgname.logrotate
|
||||
musl_lack_of_a_out_h.patch
|
||||
config"
|
||||
builddir="$srcdir/$pkgname-$pkgver"
|
||||
|
||||
prepare() {
|
||||
prepare() {
|
||||
default_prepare
|
||||
cd "$builddir"
|
||||
export USER_INSTALL_TYPE=server
|
||||
export USER_NO_STOP=yes
|
||||
export USER_DIR=/var/ossec
|
||||
@ -38,7 +36,6 @@ build() {
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
mkdir -p "$pkgdir"/etc
|
||||
USER_DIR="$pkgdir"/var/ossec ./install.sh
|
||||
sed -i '/DIRECTORY=/c\DIRECTORY="/var/ossec"' "$pkgdir/etc/ossec-init.conf"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user