summaryrefslogtreecommitdiff
path: root/app-admin/bastille
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/bastille')
-rw-r--r--app-admin/bastille/Manifest4
-rw-r--r--app-admin/bastille/bastille-3.0.9-r1.ebuild18
-rw-r--r--app-admin/bastille/bastille-3.0.9-r2.ebuild13
3 files changed, 16 insertions, 19 deletions
diff --git a/app-admin/bastille/Manifest b/app-admin/bastille/Manifest
index cc1ff491696c..9c50372ca39c 100644
--- a/app-admin/bastille/Manifest
+++ b/app-admin/bastille/Manifest
@@ -3,6 +3,6 @@ AUX bastille-3.0.9-perl.patch 1049 BLAKE2B 2a82c1883bf795b83a86d34e29fc2b3495123
AUX bastille-3.0.9-renamewidgets.patch 2015 BLAKE2B 12003ebd9d40296e5285b45b063050787fc71c8d0f1002e07407105eaa2678ed25e2dbee66bd9c057047b323076e19e258a5efd2156c043b3d1fba5a92f8ef70 SHA512 28cf0f8a5bf11c29127f128fee80bd0a169960996b4d97b3666d7cfb2485850ca040670deaaf9d0c728e08747adefeecf02c4647cbd4c0e3673cf327c9b46f92
DIST Bastille-3.0.9.tar.bz2 319045 BLAKE2B 480288c6e9fc5462e8e6ca84665d5769aab4252813ff478ab0519d382e1f03994da008ac2818b1d4214a09607c7316711665bce154121b3029bace6f2822df09 SHA512 a97ab2c2bb64c655d43ddcfd4000cee8666787e5b5923390e3155b258c3a2cf7d131abd474f9b0dd415eb455b664ab26a875da6636268b2a715ea87dd4dae2f0
DIST bastille-3.0.9-gentoo-0.2.patch.bz2 14117 BLAKE2B 9c4383eae9e27cc4e110553a21424cd2811172c32609b0d3bcc72ccc3f61ba7cd76bfdbee969de5a89c22d0c1dd91b9ba92ce27ea5ac2b7260e5c0e1ce424be5 SHA512 a4ecfc064d6cf8c12b6f53c81dea841931df270293b03c39266861121f3def28fcbc4127b3bc9374028983e584736fb85361443badaadec7441cfb1570bdea8f
-EBUILD bastille-3.0.9-r1.ebuild 1523 BLAKE2B 9254676406db278874b078a68e34f9f427afd2e06c15f1b6821b550701a77cd4b51e2b2110394791ad7503cbc9245058c993a9ed5e46640b28cff5332d298936 SHA512 a01ccef43f98d4627994be663cb6a9d5214b054ccb514f5f60c8ed6676916d654ceccfe84d94ec1b7383078190002a5c9dce588ca373ad90b8da7e317be6524b
-EBUILD bastille-3.0.9-r2.ebuild 1710 BLAKE2B e9cc6e37b2715d9e6f1db241b92daa5505fcf1490f0dcc769ab13a0a889b970debd0140ac0ade3c3e3bb621e82c45cd5b2d9d665a0abd8fe8599de92be3c50f2 SHA512 5cce10d4ec552c924457d3920c56c2e0224d15f757c4719c63a93963ec78c9b9face14cbcc61cc902f91888c5323af8900863580121d14b54cff6644bb1244ab
+EBUILD bastille-3.0.9-r1.ebuild 1571 BLAKE2B 1c6d3bf7b0bb37dd60ada30354a097e3cbfc8b80d0f8dccda92a983241cfb759dc97f4c550ee0edfdf674b2249b1ca9629f9808e1b9447693056224d95e6489c SHA512 ff9048baa2a2a47bb7848c298bebe7bca41b249c3ff37ccbd313a0d8930e310de2edd14ecae0abd4043245a0d9564002ae7b8ed4cd4737f6ec51679555297daf
+EBUILD bastille-3.0.9-r2.ebuild 1713 BLAKE2B 751966d54e66ab1d86caf0bcd81eec1ad1642677d69598c8a44ca7b4151888c0975bd2f64307714c62e1b7ec27b7db6e80c89e7e235061205c9510883ac0243b SHA512 7b250fa0d0dd26662c5547d1aac700200baa139e5b439d9401b2613893b95775bdf3131ef9dc91a83748ad0ca51b550bbceaadb3975429b81976089cea154b12
MISC metadata.xml 459 BLAKE2B ef04f8221c3a19d7efded571376315032035b3ba4e4cb9cb9e3ecf2930e1ecfbf8bddec92485d8bd91655a68afb3f29aaae88f3a017bc5b56a083dcd31ce0257 SHA512 5c339c93e1aba939528018b1b4a6f21b3f87c93efc60471300064c85c9c0723474fcd5092d6367b02ac1d21564451b319f4ba6c261fa890def1e58a1647f4fc9
diff --git a/app-admin/bastille/bastille-3.0.9-r1.ebuild b/app-admin/bastille/bastille-3.0.9-r1.ebuild
index 1088834fccd1..19860743e3f6 100644
--- a/app-admin/bastille/bastille-3.0.9-r1.ebuild
+++ b/app-admin/bastille/bastille-3.0.9-r1.ebuild
@@ -11,22 +11,22 @@ 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.org/"
+HOMEPAGE="http://bastille-linux.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}-linux/${MY_P}.tar.bz2
mirror://gentoo/${P}-gentoo-${PATCHVER}.patch.bz2"
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
IUSE="X"
RDEPEND="
- net-firewall/iptables
app-admin/logrotate
dev-perl/Curses
+ net-firewall/iptables
net-firewall/psad
- X? ( dev-perl/Tk )
virtual/logger
+ X? ( dev-perl/Tk )
"
src_prepare() {
@@ -36,7 +36,7 @@ src_prepare() {
epatch "${FILESDIR}/${P}-perl.patch"
perl_set_version
- cd "${S}"
+ cd "${S}" || die
chmod a+x Install.sh bastille-ipchains bastille-netfilter
}
@@ -44,20 +44,20 @@ src_install() {
perl_set_version
export VENDOR_LIB
- cd "${S}"
+ cd "${S}" || die
DESTDIR="${D}" ./Install.sh
# Example configs
- cd "${S}"
+ cd "${S}" || die
insinto /usr/share/Bastille
doins *.config
newinitd ${PN}-firewall.gentoo-init ${PN}-firewall
# Documentation
- cd "${S}"
+ cd "${S}" || die
dodoc *.txt BUGS Change* README*
- cd "${S}"/docs
+ cd "${S}"/docs || die
doman *.1m
}
diff --git a/app-admin/bastille/bastille-3.0.9-r2.ebuild b/app-admin/bastille/bastille-3.0.9-r2.ebuild
index 01d5a028636d..ae6415282920 100644
--- a/app-admin/bastille/bastille-3.0.9-r2.ebuild
+++ b/app-admin/bastille/bastille-3.0.9-r2.ebuild
@@ -3,41 +3,38 @@
EAPI=6
-inherit eutils perl-functions
+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.org/"
+HOMEPAGE="http://bastille-linux.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}-linux/${MY_P}.tar.bz2
mirror://gentoo/${P}-gentoo-${PATCHVER}.patch.bz2"
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
IUSE="X"
RDEPEND="
- net-firewall/iptables
app-admin/logrotate
dev-lang/perl:=
dev-perl/Curses
+ net-firewall/iptables
net-firewall/psad
- X? ( dev-perl/Tk )
virtual/logger
+ X? ( dev-perl/Tk )
"
PATCHES=(
"${WORKDIR}"/${P}-gentoo-${PATCHVER}.patch
-
# make sure the Perl modules go into vendor dir
"${FILESDIR}/${P}-perl.patch"
-
# prevent file collision, bug 536292
"${FILESDIR}/${P}-renamewidgets.patch"
-
# openrc runscript rename
"${FILESDIR}/${P}-openrc.patch"
)