Skip to content
Snippets Groups Projects
Commit db2bcb68 authored by Sertonix's avatar Sertonix Committed by Natanael Copa
Browse files

main/fail2ban: use relative symlink

parent 38524e20
No related branches found
No related tags found
1 merge request!73191main/fail2ban: use relative symlink
Pipeline #264035 skipped
......@@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fail2ban
pkgver=1.1.0
pkgrel=1
pkgrel=2
pkgdesc="Scans log files for login failures then updates iptables to reject originating ip address"
url="https://www.fail2ban.org/"
arch="noarch"
......@@ -35,6 +35,8 @@ check() {
package() {
python3 setup.py install --root "$pkgdir"
# Replace absolute symlink with relative one
ln -svf python3 "$pkgdir"/usr/bin/fail2ban-python
install -Dm755 "$srcdir"/fail2ban.initd "$pkgdir"/etc/init.d/fail2ban
install -Dm644 "$srcdir"/fail2ban.confd "$pkgdir"/etc/conf.d/fail2ban
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment