/[gentoo-x86]/net-firewall/shorewall/shorewall-4.5.15.ebuild
Gentoo

Contents of /net-firewall/shorewall/shorewall-4.5.15.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Apr 5 12:12:11 2013 UTC (2 years ago) by constanze
Branch: MAIN
Version Bump see Bug 462490

(Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key BB80F419010E3EC3)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall/shorewall-4.5.11.2.ebuild,v 1.8 2013/03/31 15:01:28 ago Exp $
4
5 EAPI="4"
6
7 inherit eutils versionator
8
9 # Select version (stable, RC, Beta):
10 MY_PV_TREE=$(get_version_component_range 1-2) # for devel versions use "development/$(get_version_component_range 1-2)"
11 MY_PV_BASE=$(get_version_component_range 1-3)
12
13 MY_P="${PN}-${MY_PV_BASE}"
14 MY_P_DOCS="${P/${PN}/${PN}-docs-html}"
15
16 DESCRIPTION="Shoreline Firewall is an iptables-based firewall for Linux."
17 HOMEPAGE="http://www.shorewall.net/"
18 SRC_URI="http://www1.shorewall.net/pub/${PN}/${MY_PV_TREE}/${MY_P}/${P}.tar.bz2
19 doc? ( http://www1.shorewall.net/pub/${PN}/${MY_PV_TREE}/${MY_P}/${MY_P_DOCS}.tar.bz2 )"
20
21 LICENSE="GPL-2"
22 SLOT="0"
23 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
24 IUSE="doc"
25
26 DEPEND=">=net-firewall/iptables-1.2.4
27 sys-apps/iproute2[-minimal]
28 dev-lang/perl
29 =net-firewall/shorewall-core-${PV}"
30 RDEPEND="${DEPEND}"
31
32 src_configure() {
33 :;
34 }
35
36 src_compile() {
37 :;
38 }
39
40 src_install() {
41 keepdir /var/lib/shorewall
42
43 cd "${WORKDIR}/${P}"
44 DESTDIR="${D}" ./install.sh "${FILESDIR}"/shorewallrc_new || die "install.sh failed"
45 newinitd "${FILESDIR}"/shorewall.initd shorewall
46
47 dodoc changelog.txt releasenotes.txt
48 if use doc; then
49 dodoc -r Samples
50 cd "${WORKDIR}/${MY_P_DOCS}"
51 dohtml -r *
52 fi
53 dodir /var/lock/subsys
54 }

  ViewVC Help
Powered by ViewVC 1.1.20