summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/libvuurmuur/libvuurmuur-0.8_beta2.ebuild')
-rw-r--r--net-libs/libvuurmuur/libvuurmuur-0.8_beta2.ebuild50
1 files changed, 50 insertions, 0 deletions
diff --git a/net-libs/libvuurmuur/libvuurmuur-0.8_beta2.ebuild b/net-libs/libvuurmuur/libvuurmuur-0.8_beta2.ebuild
new file mode 100644
index 000000000..706f08533
--- /dev/null
+++ b/net-libs/libvuurmuur/libvuurmuur-0.8_beta2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit autotools
+
+MY_PN="Vuurmuur"
+MY_PV=${PV/_beta/beta}
+MY_P="${MY_PN}-${MY_PV}"
+
+DESCRIPTION="Libraries and plugins needed by Vuurmuur"
+HOMEPAGE="http://www.vuurmuur.org"
+SRC_URI="ftp://ftp.vuurmuur.org/releases/${MY_PV}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="net-firewall/iptables"
+
+S="${WORKDIR}/${MY_P}/${PN}-${MY_PV}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${MY_P}"
+ unpack "./libvuurmuur-${MY_PV}.tar.gz"
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/libvuurmuur-plugin-0.7.patch # no longer needed as of >0.8_beta2
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --with-plugindir=/usr/lib \
+ --with-shareddir=/usr/share
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "installing libvuurmuur failed"
+
+ # files needed but not yet installed by make
+ dodir /etc/vuurmuur/textdir || die "installing textdir failed"
+ insinto /etc/vuurmuur/plugins
+ doins plugins/textdir/textdir.conf || die "installing textdir.conf failed"
+}