summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-05 01:15:37 +0100
committerSam James <sam@gentoo.org>2022-07-05 01:15:37 +0100
commit8ac4a6ded4ffb18c7d2825d1aea99806f0066b5c (patch)
tree2f0851a84b6397cdca0823c9f9ed6c899ba8a747
parentmedia-libs/openjpeg: Stabilize 2.5.0-r2 arm, #856304 (diff)
downloadgentoo-8ac4a6ded4ffb18c7d2825d1aea99806f0066b5c.tar.gz
gentoo-8ac4a6ded4ffb18c7d2825d1aea99806f0066b5c.tar.bz2
gentoo-8ac4a6ded4ffb18c7d2825d1aea99806f0066b5c.zip
app-admin/bastille: update EAPI 6 -> EAPI 8
Bug: https://bugs.gentoo.org/455542 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--app-admin/bastille/bastille-3.0.9-r3.ebuild (renamed from app-admin/bastille/bastille-3.0.9-r2.ebuild)13
1 files 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
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*