diff options
author | Sven Schwyn (svoop) <gentoo@bitcetera.com> | 2009-12-01 17:25:44 +0000 |
---|---|---|
committer | Sven Schwyn (svoop) <gentoo@bitcetera.com> | 2009-12-01 17:25:44 +0000 |
commit | 677056969a691783a75cbad0e12ec60f0c792ebe (patch) | |
tree | 762ec576de3c99c9ec5b3856c26f3a25eb45ae56 /net-libs/libvuurmuur | |
parent | dev-python/pottymouth: Version bump (diff) | |
download | sunrise-677056969a691783a75cbad0e12ec60f0c792ebe.tar.gz sunrise-677056969a691783a75cbad0e12ec60f0c792ebe.tar.bz2 sunrise-677056969a691783a75cbad0e12ec60f0c792ebe.zip |
net-libs/libvuurmuur: Initial ebuild for bug 115696 thanks to TigerP and fredl.
svn path=/sunrise/; revision=9635
Diffstat (limited to 'net-libs/libvuurmuur')
-rw-r--r-- | net-libs/libvuurmuur/ChangeLog | 9 | ||||
-rw-r--r-- | net-libs/libvuurmuur/Manifest | 5 | ||||
-rw-r--r-- | net-libs/libvuurmuur/files/libvuurmuur-plugin-0.7.patch | 49 | ||||
-rw-r--r-- | net-libs/libvuurmuur/libvuurmuur-0.8_beta2.ebuild | 50 | ||||
-rw-r--r-- | net-libs/libvuurmuur/metadata.xml | 17 |
5 files changed, 130 insertions, 0 deletions
diff --git a/net-libs/libvuurmuur/ChangeLog b/net-libs/libvuurmuur/ChangeLog new file mode 100644 index 000000000..fd90060da --- /dev/null +++ b/net-libs/libvuurmuur/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for net-libs/libvuurmuur +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 01 Dec 2009; Sven Schwyn (svoop) <gentoo@bitcetera.com> + +files/libvuurmuur-plugin-0.7.patch, +libvuurmuur-0.8_beta2.ebuild, + +metadata.xml: + Initial ebuild for bug 115696 thanks to TigerP and fredl. + diff --git a/net-libs/libvuurmuur/Manifest b/net-libs/libvuurmuur/Manifest new file mode 100644 index 000000000..ea8e0892b --- /dev/null +++ b/net-libs/libvuurmuur/Manifest @@ -0,0 +1,5 @@ +AUX libvuurmuur-plugin-0.7.patch 2156 RMD160 f9bdac8370cd622976e4e4fb1fdd056cb188efcf SHA1 97adbdc59a05cf005d81b355c84a49e08ce558a1 SHA256 7ca0c55fb25720f7044ceac2129b928180301c6d7c7be1bf2c8e873d492c1ef1 +DIST Vuurmuur-0.8beta2.tar.gz 1877270 RMD160 d1f202adb5ab076ea7763c215faec2558100d5b6 SHA1 549cc3b7d8c86cac0cbccbb963a3b3d041e8ea70 SHA256 4c74de94698a0a4bca758322b5e4198afc27fb25401309a7ecff445742f28d0e +EBUILD libvuurmuur-0.8_beta2.ebuild 1108 RMD160 36172bf4e1efe4b025fd238386a3db6dc4d935de SHA1 a6efc4b015403ec5a656c582d8602d19f16e6af3 SHA256 a04377dfec7f91f12a8402db81fef13634eb715746cde11f50db170fad350f04 +MISC ChangeLog 327 RMD160 606b82c164204411e3b57637b29b8fdd3e434da5 SHA1 5c7b5dce27cdf1a24c6fb16ff7eb94bd17c19a4a SHA256 f46e67ac7c8135b1ce4d835c7e40e7cbd1e26b67df83a05c6d5470b348525c3e +MISC metadata.xml 790 RMD160 0f23c1c2f5bed1db9ddd37e73b2f848017fc588d SHA1 492c2745cfd7c2442e5a6fab50383b23efacddb9 SHA256 8fc499b7bd99a35ec4a841ee747405426fef946bf8c660a51f58045a5fc75eac diff --git a/net-libs/libvuurmuur/files/libvuurmuur-plugin-0.7.patch b/net-libs/libvuurmuur/files/libvuurmuur-plugin-0.7.patch new file mode 100644 index 000000000..035837a07 --- /dev/null +++ b/net-libs/libvuurmuur/files/libvuurmuur-plugin-0.7.patch @@ -0,0 +1,49 @@ +--- libvuurmuur-0.7/src/backendapi.c 2009-03-22 14:22:18.000000000 +0100 ++++ libvuurmuur-0.7/src/backendapi.c.modified 2009-11-02 17:07:15.000000000 +0100 +@@ -134,7 +134,7 @@ + return(-1); + } + +- if(snprintf(plugin_location, sizeof(plugin_location), "%s/plugins/lib%s.so", conf.plugdir, plugin_name) >= (int)sizeof(plugin_location)) ++ if(snprintf(plugin_location, sizeof(plugin_location), "%s/lib%s.so", conf.plugdir, plugin_name) >= (int)sizeof(plugin_location)) + { + (void)vrprint.error(-1, "Internal Error", "pluginpath " + "overflow (in: %s:%d).", __FUNC__, __LINE__); +diff -urN libvuurmuur-0.7/configure.in libvuurmuur-0.7.modified/configure.in +--- libvuurmuur-0.7/configure.in 2007-05-08 19:48:12.000000000 +0200 ++++ libvuurmuur-0.7.modified/configure.in 2009-09-04 08:37:41.000000000 +0200 +@@ -17,10 +19,12 @@ + [plugindir="$withval"],[plugindir=no]) + + if test "$plugindir" != "no"; then +- CPPFLAGS="${CPPFLAGS} -DPLUGINDIR=\"${plugindir}\"" ++ VUURMUUR_PLUGIN_DIR="${plugindir}" + else +- CPPFLAGS="${CPPFLAGS} -DPLUGINDIR=\"${libdir}/vuurmuur\"" ++ VUURMUUR_PLUGIN_DIR="${libdir}/vuurmuur" + fi ++CPPFLAGS="${CPPFLAGS} -DPLUGINDIR=\"$VUURMUUR_PLUGIN_DIR\"" ++AC_SUBST(VUURMUUR_PLUGIN_DIR) + + # shared dir option for rpm building + AC_ARG_WITH(shareddir, +diff -urN libvuurmuur-0.7/Makefile.am libvuurmuur-0.7.modified/Makefile.am +--- libvuurmuur-0.7/Makefile.am 2007-05-08 19:48:12.000000000 +0200 ++++ libvuurmuur-0.7.modified/Makefile.am 2009-09-03 13:04:03.000000000 +0200 +@@ -2,4 +2,6 @@ + # have all needed files, that a GNU package needs + AUTOMAKE_OPTIONS = foreign 1.4 + ++ACLOCAL_AMFLAGS = -I m4 ++ + SUBDIRS = src plugins doc +diff -urN libvuurmuur-0.7/plugins/textdir/Makefile.am libvuurmuur-0.7.modified/plugins/textdir/Makefile.am +--- libvuurmuur-0.7/plugins/textdir/Makefile.am 2009-03-22 14:53:21.000000000 +0100 ++++ libvuurmuur-0.7.modified/plugins/textdir/Makefile.am 2009-09-04 08:38:05.000000000 +0200 +@@ -1,6 +1,6 @@ + # textdir plugin + +-libdir = "${exec_prefix}/lib/vuurmuur/plugins" ++libdir = @VUURMUUR_PLUGIN_DIR@ + + lib_LTLIBRARIES = libtextdir.la 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" +} diff --git a/net-libs/libvuurmuur/metadata.xml b/net-libs/libvuurmuur/metadata.xml new file mode 100644 index 000000000..87177e882 --- /dev/null +++ b/net-libs/libvuurmuur/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>maintainer-wanted</herd> + <longdescription lang="en"> + Vuurmuur is a firewall manager built on top of iptables on Linux. + + It has a simple and easy to learn user interface that allows both simple + and complex configurations. The configuration can be fully made through + an Ncurses GUI, which allows secure remote administration over SSH or on + the console. Vuurmuur supports traffic shaping and has powerful monitoring + features, which allow the administrator to look at the logs, connections + and bandwidth usage in realtime. + + This ebuild contains the libraries and shared components for Vuurmuur. + </longdescription> +</pkgmetadata> |