Diff arno-iptables-firewall-2.1.1 with a arno-iptables-firewall-2.1.1a

/usr/portage/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.1a.ebuild 2023-10-09 14:52:33.376368448 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5

  
5 6
inherit readme.gentoo-r1 systemd
6 7

  
7 8
DESCRIPTION="Arno's iptables firewall script"
8
HOMEPAGE="https://rocky.eld.leidenuniv.nl"
9
HOMEPAGE="https://rocky.eld.leidenuniv.nl https://github.com/arno-iptables-firewall/aif"
9 10

  
10
MY_PV=$(ver_rs 3 -)
11
MY_PV=${MY_PV/rc/RC}
12
SRC_URI="https://github.com/${PN}/aif/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
11
SRC_URI="https://github.com/${PN}/aif/archive/${PV}.tar.gz -> ${P}.tar.gz"
13 12

  
14 13
LICENSE="GPL-2"
15 14
SLOT="0"
16
KEYWORDS="amd64 x86"
15
KEYWORDS="~amd64 ~x86"
17 16
IUSE="+plugins rsyslog"
18 17

  
19
DEPEND=""
20
RDEPEND="net-firewall/ipset
18
RDEPEND="
19
	net-firewall/ipset
21 20
	net-firewall/iptables
22 21
	sys-apps/coreutils
23 22
	sys-apps/iproute2
24
	plugins? ( net-dns/bind-tools )"
23
	plugins? ( net-dns/bind-tools )
24
"
25 25

  
26
S="${WORKDIR}/aif-${MY_PV}"
26
S="${WORKDIR}/aif-${PV}"
27 27

  
28 28
DISABLE_AUTOFORMATTING="yes"
29 29
DOC_CONTENTS="You will need to configure /etc/${PN}/firewall.conf
......
57 57
	dosbin bin/"${PN}"
58 58

  
59 59
	insinto /usr/libexec/"${PN}"
60
	doins share/"${PN}"/aif-job-execute
61
	doins share/"${PN}"/aif-job-processor
62 60
	doins share/"${PN}"/environment
63 61

  
62
	exeinto /usr/libexec/"${PN}"
63
	doexe share/"${PN}"/aif-job-execute
64
	doexe share/"${PN}"/aif-job-processor
65

  
64 66
	insinto /etc/logrotate.d
65 67
	doins etc/logrotate.d/"${PN}"
66 68

  
......
74 76

  
75 77
		insinto /usr/libexec/"${PN}"/plugins
76 78
		doins share/"${PN}"/plugins/*.plugin
79
		doins share/"${PN}"/plugins/adaptive-ban-helper
80
		doins share/"${PN}"/plugins/dyndns-host-open-helper
81
		doins share/"${PN}"/plugins/parasitic-net-helper
82
		doins share/"${PN}"/plugins/traffic-accounting-helper
77 83

  
78 84
		exeinto /usr/libexec/"${PN}"/plugins
79
		doexe share/"${PN}"/plugins/adaptive-ban-helper
80
		doexe share/"${PN}"/plugins/dyndns-host-open-helper
81
		doexe share/"${PN}"/plugins/parasitic-net-helper
82
		doexe share/"${PN}"/plugins/traffic-accounting-helper
83 85
		doexe share/"${PN}"/plugins/traffic-accounting-log-rotate
84 86
		doexe share/"${PN}"/plugins/traffic-accounting-show
85 87

  
......
90 92
	if use rsyslog
91 93
	then
92 94
		insinto /etc/rsyslog.d
93
		newins etc/rsyslog.d/"${PN}".conf 60-"${PN}".conf
95
		newins etc/rsyslog.d/"${PN}".conf 20-"${PN}".conf
94 96
	fi
95 97

  
96 98
	doman share/man/man1/arno-fwfilter.1 \
Thank you!