| 1 |
# Copyright 1999-2010 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/net-firewall/fwipsec/fwipsec-0.4.2-r1.ebuild,v 1.7 2010/03/22 21:01:57 jlec Exp $
|
| 4 |
|
| 5 |
S=${WORKDIR}/${PN}
|
| 6 |
DESCRIPTION="Firewall scripts that control iptables, FreeS/WAN, and squid."
|
| 7 |
HOMEPAGE="http://fwipsec.sourceforge.net/"
|
| 8 |
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
| 9 |
|
| 10 |
LICENSE="GPL-2"
|
| 11 |
SLOT="0"
|
| 12 |
IUSE=""
|
| 13 |
KEYWORDS="alpha amd64 ~hppa ia64 ~mips ~ppc ~sparc x86"
|
| 14 |
|
| 15 |
DEPEND=">=net-firewall/iptables-1.2.7
|
| 16 |
sys-apps/iproute2"
|
| 17 |
|
| 18 |
src_install() {
|
| 19 |
exeinto /etc/fwipsec
|
| 20 |
doexe fwipsec.*
|
| 21 |
doinitd fwipsec
|
| 22 |
|
| 23 |
dodoc LICENSE DOCS/README*
|
| 24 |
doman DOCS/*.5
|
| 25 |
}
|
| 26 |
|
| 27 |
pkg_postinst() {
|
| 28 |
elog "Edit /etc/fwipsec/fwipsec.defs to set your base rules."
|
| 29 |
}
|