commit:     8ac4a6ded4ffb18c7d2825d1aea99806f0066b5c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  5 00:15:37 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul  5 00:15:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ac4a6de

app-admin/bastille: update EAPI 6 -> EAPI 8

Bug: https://bugs.gentoo.org/455542
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{bastille-3.0.9-r2.ebuild => bastille-3.0.9-r3.ebuild}  | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/app-admin/bastille/bastille-3.0.9-r2.ebuild 
b/app-admin/bastille/bastille-3.0.9-r3.ebuild
similarity index 89%
rename from app-admin/bastille/bastille-3.0.9-r2.ebuild
rename to app-admin/bastille/bastille-3.0.9-r3.ebuild
index ae6415282920..365b97b97bad 100644
--- a/app-admin/bastille/bastille-3.0.9-r2.ebuild
+++ b/app-admin/bastille/bastille-3.0.9-r3.ebuild
@@ -1,18 +1,18 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
 inherit perl-functions
 
 PATCHVER=0.2
 MY_PN=${PN/b/B}
 MY_P=${MY_PN}-${PV}
-S=${WORKDIR}/${MY_PN}
 DESCRIPTION="Bastille-Linux is a security hardening tool"
 HOMEPAGE="http://bastille-linux.sourceforge.net/";
 SRC_URI="mirror://sourceforge/${PN}-linux/${MY_P}.tar.bz2
        mirror://gentoo/${P}-gentoo-${PATCHVER}.patch.bz2"
+S="${WORKDIR}"/${MY_PN}
 
 LICENSE="GPL-2+"
 SLOT="0"
@@ -21,7 +21,7 @@ IUSE="X"
 
 RDEPEND="
        app-admin/logrotate
-       dev-lang/perl:=
+       dev-lang/perl
        dev-perl/Curses
        net-firewall/iptables
        net-firewall/psad
@@ -62,6 +62,11 @@ src_install() {
 
        newinitd ${PN}-firewall.gentoo-init ${PN}-firewall
 
+       # See bug #455542
+       keepdir /var/lock/subsys
+       keepdir /var/lock/bastille
+       keepdir /var/lock/subsys/bastille
+
        # Documentation
        cd "${S}" || die
        dodoc *.txt BUGS Change* README*

Reply via email to