diff options
author | Y | 2018-03-17 18:54:43 +0100 |
---|---|---|
committer | Y | 2018-03-17 18:54:43 +0100 |
commit | 8c3fc69d5497be9facabd8721febbf144eca4421 (patch) | |
tree | 33a3aec7e43899790a7769868208ae13c118d756 /PKGBUILD | |
parent | 61ac95f7629b5f048687e62675d43610387fadb5 (diff) | |
download | aur-8c3fc69d5497be9facabd8721febbf144eca4421.tar.gz |
upstream v2.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,7 +1,7 @@ # Maintainer: Yves G. <theYinYeti@yalis.fr> pkgname=pyruse -pkgver=1.1 +pkgver=2.0 pkgrel=1 pkgdesc="Route systemd-journal logs to filters and actions (ban, report, etc.)" arch=('any') @@ -13,6 +13,8 @@ source=("git+https://yalis.fr/git/yves/pyruse.git#tag=${pkgver}") sha1sums=('SKIP') optdepends=( 'nftables: for the action_nftBan module' + 'iptables: for the action_ipsetBan module' + 'ipset: for the action_ipsetBan module' 'smtp-forwarder: for the action_email and action_dailyReport modules' ) @@ -23,16 +25,18 @@ package() { mkdir -p "${pkgdir}/etc/systemd/system/pyruse-boot@action_nftBan.service.d" cp extra/systemd/action_nftBan.conf "${pkgdir}/etc/systemd/system/pyruse-boot@action_nftBan.service.d/" + mkdir -p "${pkgdir}/etc/systemd/system/pyruse-boot@action_ipsetBan.service.d" + cp extra/systemd/action_ipsetBan.conf "${pkgdir}/etc/systemd/system/pyruse-boot@action_ipsetBan.service.d/" mkdir -p "${pkgdir}/usr/" cp -r extra/bin "${pkgdir}/usr/" - chmod 755 "${pkgdir}/usr/"* + chmod 755 "${pkgdir}/usr/bin/"* mkdir -p "${pkgdir}/usr/lib/systemd/system" cp extra/systemd/*.service "${pkgdir}/usr/lib/systemd/system/" mkdir -p "${pkgdir}/usr/share/doc/${pkgname}/extra" - cp -r README.md doc "${pkgdir}/usr/share/doc/${pkgname}/" + cp -r README.md Changelog.md doc "${pkgdir}/usr/share/doc/${pkgname}/" cp -r extra/examples "${pkgdir}/usr/share/doc/${pkgname}/extra/" python extra/setup/setup.py install --root="${pkgdir}/" --optimize=1 |