1 |
commit: f6da7e0c09c44461d43d2526bd242b52c67298fe |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 26 13:21:35 2020 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 26 14:33:25 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6da7e0c |
7 |
|
8 |
app-admin/bastille: drop old EAPI=5 |
9 |
|
10 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
11 |
|
12 |
app-admin/bastille/bastille-3.0.9-r1.ebuild | 69 ----------------------------- |
13 |
1 file changed, 69 deletions(-) |
14 |
|
15 |
diff --git a/app-admin/bastille/bastille-3.0.9-r1.ebuild b/app-admin/bastille/bastille-3.0.9-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 19860743e3f..00000000000 |
18 |
--- a/app-admin/bastille/bastille-3.0.9-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,69 +0,0 @@ |
21 |
-# Copyright 1999-2019 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=5 |
25 |
- |
26 |
-PERL_EXPORT_PHASE_FUNCTIONS=no |
27 |
-inherit eutils perl-module |
28 |
- |
29 |
-PATCHVER=0.2 |
30 |
-MY_PN=${PN/b/B} |
31 |
-MY_P=${MY_PN}-${PV} |
32 |
-S=${WORKDIR}/${MY_PN} |
33 |
-DESCRIPTION="Bastille-Linux is a security hardening tool" |
34 |
-HOMEPAGE="http://bastille-linux.sourceforge.net/" |
35 |
-SRC_URI="mirror://sourceforge/${PN}-linux/${MY_P}.tar.bz2 |
36 |
- mirror://gentoo/${P}-gentoo-${PATCHVER}.patch.bz2" |
37 |
- |
38 |
-LICENSE="GPL-2+" |
39 |
-SLOT="0" |
40 |
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
41 |
-IUSE="X" |
42 |
- |
43 |
-RDEPEND=" |
44 |
- app-admin/logrotate |
45 |
- dev-perl/Curses |
46 |
- net-firewall/iptables |
47 |
- net-firewall/psad |
48 |
- virtual/logger |
49 |
- X? ( dev-perl/Tk ) |
50 |
-" |
51 |
- |
52 |
-src_prepare() { |
53 |
- epatch "${WORKDIR}"/${P}-gentoo-${PATCHVER}.patch |
54 |
- |
55 |
- # make sure the Perl modules go into vendor dir |
56 |
- epatch "${FILESDIR}/${P}-perl.patch" |
57 |
- perl_set_version |
58 |
- |
59 |
- cd "${S}" || die |
60 |
- chmod a+x Install.sh bastille-ipchains bastille-netfilter |
61 |
-} |
62 |
- |
63 |
-src_install() { |
64 |
- perl_set_version |
65 |
- export VENDOR_LIB |
66 |
- |
67 |
- cd "${S}" || die |
68 |
- DESTDIR="${D}" ./Install.sh |
69 |
- |
70 |
- # Example configs |
71 |
- cd "${S}" || die |
72 |
- insinto /usr/share/Bastille |
73 |
- doins *.config |
74 |
- |
75 |
- newinitd ${PN}-firewall.gentoo-init ${PN}-firewall |
76 |
- |
77 |
- # Documentation |
78 |
- cd "${S}" || die |
79 |
- dodoc *.txt BUGS Change* README* |
80 |
- cd "${S}"/docs || die |
81 |
- doman *.1m |
82 |
-} |
83 |
- |
84 |
-pkg_postinst() { |
85 |
- elog "Please be aware that when using the Server Lax, Server Moderate, or" |
86 |
- elog "Server Paranoia configurations, you may need to use InteractiveBastille" |
87 |
- elog "to set any advanced network information, such as masquerading and" |
88 |
- elog "internal interfaces, if you plan to use them." |
89 |
-} |