summaryrefslogtreecommitdiff
blob: f655add3435f41cfd748f7608c87f6ffa58b359f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-firewall/lutelwall/lutelwall-0.99.ebuild,v 1.6 2014/07/18 13:03:37 jer Exp $

EAPI=5

DESCRIPTION="IPTables firewall setup script"
LICENSE="GPL-2"
HOMEPAGE="http://www.lutel.pl/lutelwall/"
SRC_URI="http://www.lutel.pl/wp-content/uploads/${PV}/${P}.tar.gz"
SLOT="0"
KEYWORDS="alpha ~amd64 ~ppc ~sparc x86"

RDEPEND="
	>=net-firewall/iptables-1.2.6
	>=sys-apps/gawk-3.1
	sys-apps/iproute2
"

src_install() {
	insinto /etc
	doins lutelwall.conf

	dosbin lutelwall
	doinitd "${FILESDIR}"/lutelwall

	dodoc FEATURES ChangeLog
}

pkg_postinst() {
	elog "Basic configuration file is /etc/lutelwall.conf"
	elog "Adjust it to your needs before using"
}