dilfridge    14/12/09 22:30:10

  Modified:             ChangeLog
  Added:                bastille-3.0.9-r1.ebuild
  Log:
  EAPI bump, install Perl modules into correct directory, bug 431232
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
EBE6A336BE19039C!)

Revision  Changes    Path
1.24                 app-admin/bastille/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/bastille/ChangeLog?rev=1.24&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/bastille/ChangeLog?rev=1.24&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/bastille/ChangeLog?r1=1.23&r2=1.24

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/bastille/ChangeLog,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- ChangeLog   20 Jul 2011 15:39:23 -0000      1.23
+++ ChangeLog   9 Dec 2014 22:30:09 -0000       1.24
@@ -1,6 +1,12 @@
 # ChangeLog for app-admin/bastille
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/bastille/ChangeLog,v 1.23 
2011/07/20 15:39:23 pacho Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/bastille/ChangeLog,v 1.24 
2014/12/09 22:30:09 dilfridge Exp $
+
+*bastille-3.0.9-r1 (09 Dec 2014)
+
+  09 Dec 2014; Andreas K. Huettel <dilfri...@gentoo.org>
+  +bastille-3.0.9-r1.ebuild, +files/bastille-3.0.9-perl.patch:
+  EAPI bump, install Perl modules into correct directory, bug 431232
 
   20 Jul 2011; Pacho Ramos <pa...@gentoo.org> metadata.xml:
   Drop maintainer due retirement, bug #34864



1.1                  app-admin/bastille/bastille-3.0.9-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/bastille/bastille-3.0.9-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/bastille/bastille-3.0.9-r1.ebuild?rev=1.1&content-type=text/plain

Index: bastille-3.0.9-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/app-admin/bastille/bastille-3.0.9-r1.ebuild,v 1.1 
2014/12/09 22:30:09 dilfridge Exp $

EAPI=5

PERL_EXPORT_PHASE_FUNCTIONS=no
inherit eutils perl-module

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/";
SRC_URI="mirror://sourceforge/${PN}-linux/${MY_P}.tar.bz2
        mirror://gentoo/${P}-gentoo-${PATCHVER}.patch.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64"
IUSE="X"

RDEPEND="
        net-firewall/iptables
        app-admin/logrotate
        dev-perl/Curses
        net-firewall/psad
        X? ( dev-perl/perl-tk )
        virtual/logger
"

src_prepare() {
        epatch "${WORKDIR}"/${P}-gentoo-${PATCHVER}.patch

        # make sure the Perl modules go into vendor dir
        epatch "${FILESDIR}/${P}-perl.patch"
        perl_set_version

        cd "${S}"
        chmod a+x Install.sh bastille-ipchains bastille-netfilter
}

src_install() {
        perl_set_version
        export VENDOR_LIB

        cd "${S}"
        DESTDIR="${D}" ./Install.sh

        # Example configs
        cd "${S}"
        insinto /usr/share/Bastille
        doins *.config

        newinitd ${PN}-firewall.gentoo-init ${PN}-firewall

        # Documentation
        cd "${S}"
        dodoc *.txt BUGS Change* README*
        cd "${S}"/docs
        doman *.1m
}

pkg_postinst() {
        elog "Please be aware that when using the Server Lax, Server Moderate, 
or"
        elog "Server Paranoia configurations, you may need to use 
InteractiveBastille"
        elog "to set any advanced network information, such as masquerading and"
        elog "internal interfaces, if you plan to use them."
}




Reply via email to