summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBjoern Franke2021-11-24 20:00:29 +0100
committerBjoern Franke2021-11-24 20:00:29 +0100
commite536699cf50eda7386fc85e05bd90e0a63e28058 (patch)
tree8ba1d06aa0a3f9c510ade518d4d56de87ca215ab /PKGBUILD
parentc982195d915a98d02fa12c6cd939b89ad1e0ae7e (diff)
downloadaur-e536699cf50eda7386fc85e05bd90e0a63e28058.tar.gz
inotify_log does not honor log_dir, so fix it
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8d25562935c3..32ec90fa492a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
# Contributor: Sergey Mamonov <mrqwer88@gmail.com>
pkgname=maldet
pkgver=1.6.4
-pkgrel=4
+pkgrel=5
pkgdesc="linux malware scanner designed around threats faced in shared host environments"
url="https://www.rfxn.com/projects/linux-malware-detect/"
license=('GPL2')
@@ -49,6 +49,7 @@ package(){
| sed 's|^cnffile="conf.maldet"|cnffile="maldet.conf"|' \
| sed 's|^varlibpath="\$inspath"|varlibpath="/var/lib/maldet"|' \
| sed 's|^tmpdir="\$inspath/tmp"|tmpdir="$varlibpath/tmp"|' \
+ | sed 's|^inotify_log="\$inspath/logs/inotify_log"|inotify_log="/var/log/maldet/inotify_log"|' \
> "$pkgdir/etc/maldet/internals.conf"
mv "$dest"/ignore_{inotify,paths,file_ext,sigs} "$pkgdir/etc/maldet/"
mv "$dest/monitor_paths" "$pkgdir/etc/maldet/"