1 |
commit: 8ac4a6ded4ffb18c7d2825d1aea99806f0066b5c |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 5 00:15:37 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 5 00:15:37 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ac4a6de |
7 |
|
8 |
app-admin/bastille: update EAPI 6 -> EAPI 8 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/455542 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
.../{bastille-3.0.9-r2.ebuild => bastille-3.0.9-r3.ebuild} | 13 +++++++++---- |
14 |
1 file changed, 9 insertions(+), 4 deletions(-) |
15 |
|
16 |
diff --git a/app-admin/bastille/bastille-3.0.9-r2.ebuild b/app-admin/bastille/bastille-3.0.9-r3.ebuild |
17 |
similarity index 89% |
18 |
rename from app-admin/bastille/bastille-3.0.9-r2.ebuild |
19 |
rename to app-admin/bastille/bastille-3.0.9-r3.ebuild |
20 |
index ae6415282920..365b97b97bad 100644 |
21 |
--- a/app-admin/bastille/bastille-3.0.9-r2.ebuild |
22 |
+++ b/app-admin/bastille/bastille-3.0.9-r3.ebuild |
23 |
@@ -1,18 +1,18 @@ |
24 |
-# Copyright 1999-2019 Gentoo Authors |
25 |
+# Copyright 1999-2022 Gentoo Authors |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
-EAPI=6 |
29 |
+EAPI=8 |
30 |
|
31 |
inherit perl-functions |
32 |
|
33 |
PATCHVER=0.2 |
34 |
MY_PN=${PN/b/B} |
35 |
MY_P=${MY_PN}-${PV} |
36 |
-S=${WORKDIR}/${MY_PN} |
37 |
DESCRIPTION="Bastille-Linux is a security hardening tool" |
38 |
HOMEPAGE="http://bastille-linux.sourceforge.net/" |
39 |
SRC_URI="mirror://sourceforge/${PN}-linux/${MY_P}.tar.bz2 |
40 |
mirror://gentoo/${P}-gentoo-${PATCHVER}.patch.bz2" |
41 |
+S="${WORKDIR}"/${MY_PN} |
42 |
|
43 |
LICENSE="GPL-2+" |
44 |
SLOT="0" |
45 |
@@ -21,7 +21,7 @@ IUSE="X" |
46 |
|
47 |
RDEPEND=" |
48 |
app-admin/logrotate |
49 |
- dev-lang/perl:= |
50 |
+ dev-lang/perl |
51 |
dev-perl/Curses |
52 |
net-firewall/iptables |
53 |
net-firewall/psad |
54 |
@@ -62,6 +62,11 @@ src_install() { |
55 |
|
56 |
newinitd ${PN}-firewall.gentoo-init ${PN}-firewall |
57 |
|
58 |
+ # See bug #455542 |
59 |
+ keepdir /var/lock/subsys |
60 |
+ keepdir /var/lock/bastille |
61 |
+ keepdir /var/lock/subsys/bastille |
62 |
+ |
63 |
# Documentation |
64 |
cd "${S}" || die |
65 |
dodoc *.txt BUGS Change* README* |