From d89562b22d3dce6994c0bd454873bfb68e109447 Mon Sep 17 00:00:00 2001 From: Sergey Popov Date: Thu, 15 Apr 2021 14:36:48 +0300 Subject: [PATCH] Remove net-firewall/vuurmuur and net-libs/libvuurmuur --- net-firewall/vuurmuur/Manifest | 3 - net-firewall/vuurmuur/files/vuurmuur.conf | 11 -- net-firewall/vuurmuur/files/vuurmuur.init | 57 ---------- net-firewall/vuurmuur/metadata.xml | 7 -- .../vuurmuur/vuurmuur-0.8_beta2.ebuild | 101 ------------------ .../vuurmuur-0.8_beta2_p20110330.ebuild | 87 --------------- net-libs/libvuurmuur/Manifest | 2 - .../files/libvuurmuur-plugin-0.7.patch | 50 --------- .../libvuurmuur/libvuurmuur-0.8_beta2.ebuild | 48 --------- .../libvuurmuur-0.8_beta2_p20110330.ebuild | 40 ------- 10 files changed, 406 deletions(-) delete mode 100644 net-firewall/vuurmuur/Manifest delete mode 100644 net-firewall/vuurmuur/files/vuurmuur.conf delete mode 100644 net-firewall/vuurmuur/files/vuurmuur.init delete mode 100644 net-firewall/vuurmuur/metadata.xml delete mode 100644 net-firewall/vuurmuur/vuurmuur-0.8_beta2.ebuild delete mode 100644 net-firewall/vuurmuur/vuurmuur-0.8_beta2_p20110330.ebuild delete mode 100644 net-libs/libvuurmuur/Manifest delete mode 100644 net-libs/libvuurmuur/files/libvuurmuur-plugin-0.7.patch delete mode 100644 net-libs/libvuurmuur/libvuurmuur-0.8_beta2.ebuild delete mode 100644 net-libs/libvuurmuur/libvuurmuur-0.8_beta2_p20110330.ebuild diff --git a/net-firewall/vuurmuur/Manifest b/net-firewall/vuurmuur/Manifest deleted file mode 100644 index 788300b..0000000 --- a/net-firewall/vuurmuur/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST Vuurmuur-0.8beta2.tar.gz 1877270 SHA256 4c74de94698a0a4bca758322b5e4198afc27fb25401309a7ecff445742f28d0e -DIST vuurmuur-conf_0.8~beta2-1+svn20110330.tar.gz 966635 SHA256 e04e05d89a0f12fcbb257cf5a353e1b0c92bf02385207b75805901a2994f4c57 -DIST vuurmuur_0.8~beta2-1+svn20110330.tar.gz 479582 SHA256 2411ac3b3db501bc7ae8a3f95c366aead92d5bfb275376bfadbda1e7bec9057e diff --git a/net-firewall/vuurmuur/files/vuurmuur.conf b/net-firewall/vuurmuur/files/vuurmuur.conf deleted file mode 100644 index 924f3de..0000000 --- a/net-firewall/vuurmuur/files/vuurmuur.conf +++ /dev/null @@ -1,11 +0,0 @@ -# Space separated list of kernel modules to load on start or 'none'. -MODULES="none" - -# Configuration file to read. -CONFIG=/etc/vuurmuur/config.conf - -# Options to be passed to the Vuurmuur daemon. -OPTIONS="-l" - -# Comment the following line if you want more output when starting/stopping the daemons. -QUIET="true" diff --git a/net-firewall/vuurmuur/files/vuurmuur.init b/net-firewall/vuurmuur/files/vuurmuur.init deleted file mode 100644 index a2e30a9..0000000 --- a/net-firewall/vuurmuur/files/vuurmuur.init +++ /dev/null @@ -1,57 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -opts="${opts}" - -# this next comment is important, don't remove it - it has to be somewhere in -# the init script to kill off a warning that doesn't apply to us -# svc_start svc_stop - -depend() { - need net iptables - use modules -} - -load_modules() { - if [ "${MODULES}" != "none" ]; then - ebegin "Loading modules for Vuurmuur" - local module - echo -n " " - for module in `echo ${MODULES}`; do - modprobe ${module} - echo -n "${module} " - done - echo - eend $? - fi -} - -start() { - if load_modules ; then - ebegin "Starting Vuurmuur" - if test ! -f ${CONFIG}; then - eerror "Configuration file, ${CONFIG} does not exist." - eend 2 - return 2 - fi - start-stop-daemon --start ${QUIET+--quiet} --exec /usr/bin/vuurmuur -- ${OPTIONS} - eend $? - ebegin "Starting Vuurmuur Log" - start-stop-daemon --start ${QUIET+--quiet} --exec /usr/bin/vuurmuur_log - eend $? - else - eend 1 - return 1 - fi -} - -stop() { - ebegin "Stopping Vuurmuur" - start-stop-daemon --stop ${QUIET+--quiet} --pidfile /var/run/vuurmuur.pid - eend $? - ebegin "Stopping Vuurmuur Log" - start-stop-daemon --stop ${QUIET+--quiet} --exec /usr/bin/vuurmuur_log - eend $? -} - diff --git a/net-firewall/vuurmuur/metadata.xml b/net-firewall/vuurmuur/metadata.xml deleted file mode 100644 index 2094050..0000000 --- a/net-firewall/vuurmuur/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - Add configuration file for logrotate - - diff --git a/net-firewall/vuurmuur/vuurmuur-0.8_beta2.ebuild b/net-firewall/vuurmuur/vuurmuur-0.8_beta2.ebuild deleted file mode 100644 index 1fb08c6..0000000 --- a/net-firewall/vuurmuur/vuurmuur-0.8_beta2.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -inherit multilib - -MY_PV=${PV/_beta/beta} -MY_P="Vuurmuur-${MY_PV}" - -DESCRIPTION="Frontend for iptables featuring easy to use command line utils, rule- and logdaemons" -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 ~x86" -IUSE="logrotate" - -DEPEND="=net-libs/libvuurmuur-${PV} - >=sys-libs/ncurses-5" -RDEPEND="${DEPEND} - logrotate? ( app-admin/logrotate )" - -S="${WORKDIR}/${MY_P}/${PN}-${MY_PV}" - -src_unpack() { - default - cd ${MY_P} - for component in vuurmuur vuurmuur_conf; do - unpack "./${component}-${MY_PV}.tar.gz" # upstream supplies tarball inside tarball - done -} - -src_configure() { - econf \ - --with-libvuurmuur-includes=/usr/include \ - --with-libvuurmuur-libraries=/usr/$(get_libdir) - cd "../vuurmuur_conf-${MY_PV}" - econf \ - --with-libvuurmuur-includes=/usr/include \ - --with-libvuurmuur-libraries=/usr/$(get_libdir) \ - --with-localedir=/usr/share/locale \ - --with-widec=yes -} - -src_compile() { - -# einfo "Running autoreconf" -# autoreconf -f -i || die "autoreconf failed" -##from old ebuild - - #einfo "pwd: ${PWD}" -## cd ${WORKDIR}/${MY_PKG_NAME}-${PV/_/}/${PN/-/_}-${PV/_/} || die - libtoolize -f - aclocal - autoheader - automake - autoconf - econf --with-libvuurmuur-includes=/usr/include \ - --with-libvuurmuur-libraries=/usr/lib --with-localedir=/usr/share/locale \ - --with-widec=yes \ - || die "The configure script failed" - - -# default - emake -C "../vuurmuur_conf-${MY_PV}" || die "compiling vuurmuur_conf failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "installing vuurmuur failed" - - newinitd "${FILESDIR}"/vuurmuur.init vuurmuur || die "installing init failed" - newconfd "${FILESDIR}"/vuurmuur.conf vuurmuur || die "installing conf failed" - - if use logrotate; then - insinto /etc/logrotate.d - newins scripts/vuurmuur-logrotate vuurmuur || die "installing logrotate config failed" - fi - - insopts -m0600 - insinto /etc/vuurmuur - newins config/config.conf.sample config.conf || die "installing config.conf failed" - - cd "../vuurmuur_conf-${MY_PV}" - - emake DESTDIR="${D}" install || die "installing vuurmuur_conf failed" -} - -pkg_postinst() { - elog "Please read the manual on www.vuurmuur.org now - you have" - elog "been warned!" - elog - elog "If this is a new install, make sure you define some rules" - elog "BEFORE you start the daemon in order not to lock yourself" - elog "out. The necessary steps are:" - elog "1) vuurmuur_conf" - elog "2) /etc/init.d/vuurmuur start" - elog "3) rc-update add vuurmuur default" -} diff --git a/net-firewall/vuurmuur/vuurmuur-0.8_beta2_p20110330.ebuild b/net-firewall/vuurmuur/vuurmuur-0.8_beta2_p20110330.ebuild deleted file mode 100644 index b283c9e..0000000 --- a/net-firewall/vuurmuur/vuurmuur-0.8_beta2_p20110330.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="4" - -inherit autotools multilib - -REL_TAG="0.8~beta2" - -MY_PV=${PV/_beta2_p/~beta2-1+svn} -MY_P="${PN}_${MY_PV}" - -MY_CONF_PV=${PV/_beta2_p/~beta2-1+svn}-conf -MY_CONF_P="${PN}-conf_${MY_PV}" - -DESCRIPTION="Frontend for iptables featuring easy to use command line utils, rule- and logdaemons" -HOMEPAGE="http://www.vuurmuur.org" -SRC_URI="ftp://ftp.vuurmuur.org/ubuntu/dists/jaunty/svn/${MY_P}.tar.gz - ftp://ftp.vuurmuur.org/ubuntu/dists/jaunty/svn/${MY_CONF_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="logrotate" - -DEPEND="=net-libs/libvuurmuur-${PV} - >=sys-libs/ncurses-5" -RDEPEND="${DEPEND} - logrotate? ( app-admin/logrotate )" - -S="${WORKDIR}/${PN}-${REL_TAG}" - -src_prepare() { - eautoreconf - cd "${WORKDIR}/${PN}-conf-${REL_TAG}" - eautoreconf - sed -i 's/nb//' po/LINGUAS -} - -src_configure() { - econf \ - --with-libvuurmuur-includes=/usr/include \ - --with-libvuurmuur-libraries=/usr/$(get_libdir) - cd "${WORKDIR}/${PN}-conf-${REL_TAG}" - econf \ - --with-libvuurmuur-includes=/usr/include \ - --with-libvuurmuur-libraries=/usr/$(get_libdir) \ - --with-localedir=/usr/share/locale \ - --with-widec=yes -} - -src_compile() { - emake -C "../${PN}-conf-${REL_TAG}" -} - -src_install() { - emake DESTDIR="${D}" install - - newinitd "${FILESDIR}"/vuurmuur.init vuurmuur - newconfd "${FILESDIR}"/vuurmuur.conf vuurmuur - - if use logrotate; then - insinto /etc/logrotate.d - newins scripts/vuurmuur-logrotate vuurmuur - fi - - insopts -m0600 - insinto /etc/vuurmuur - newins config/config.conf.sample config.conf - - cd "../${PN}-conf-${REL_TAG}" - - emake DESTDIR="${D}" install -} - -pkg_postinst() { - elog "Please read the manual on www.vuurmuur.org now - you have" - elog "been warned!" - elog - elog "If this is a new install, make sure you define some rules" - elog "BEFORE you start the daemon in order not to lock yourself" - elog "out. The necessary steps are:" - elog "1) vuurmuur_conf" - elog "2) /etc/init.d/vuurmuur start" - elog "3) rc-update add vuurmuur default" -} diff --git a/net-libs/libvuurmuur/Manifest b/net-libs/libvuurmuur/Manifest deleted file mode 100644 index c8cc94c..0000000 --- a/net-libs/libvuurmuur/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST Vuurmuur-0.8beta2.tar.gz 1877270 SHA256 4c74de94698a0a4bca758322b5e4198afc27fb25401309a7ecff445742f28d0e -DIST libvuurmuur_0.8~beta2-1+svn20110330.tar.gz 491284 SHA256 80bb84f002c579101d1939a47b7db5ab2d02a4dce7e11d3f48e41cf021a026c0 diff --git a/net-libs/libvuurmuur/files/libvuurmuur-plugin-0.7.patch b/net-libs/libvuurmuur/files/libvuurmuur-plugin-0.7.patch deleted file mode 100644 index 837b1ec..0000000 --- a/net-libs/libvuurmuur/files/libvuurmuur-plugin-0.7.patch +++ /dev/null @@ -1,50 +0,0 @@ ---- 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 deleted file mode 100644 index f1f3617..0000000 --- a/net-libs/libvuurmuur/libvuurmuur-0.8_beta2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -inherit autotools multilib - -MY_PV=${PV/_beta/beta} -MY_P="Vuurmuur-${MY_PV}" - -DESCRIPTION="Libraries and plugins required 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 ~x86" -IUSE="" - -DEPEND="net-firewall/iptables" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}/${PN}-${MY_PV}" - -src_unpack() { - default - cd "${MY_P}" - unpack "./libvuurmuur-${MY_PV}.tar.gz" -} - -src_prepare() { - epatch "${FILESDIR}"/libvuurmuur-plugin-0.7.patch # no longer needed for >0.8_beta2 - eautoreconf -} - -src_configure() { - econf --with-plugindir=/usr/$(get_libdir) -} - -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/libvuurmuur-0.8_beta2_p20110330.ebuild b/net-libs/libvuurmuur/libvuurmuur-0.8_beta2_p20110330.ebuild deleted file mode 100644 index bb04649..0000000 --- a/net-libs/libvuurmuur/libvuurmuur-0.8_beta2_p20110330.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -inherit autotools multilib - -MY_PV=${PV/_beta2_p/~beta2-1+svn} -MY_P="${PN}_${MY_PV}" - -DESCRIPTION="Libraries and plugins required by Vuurmuur" -HOMEPAGE="http://www.vuurmuur.org" -SRC_URI="ftp://ftp.vuurmuur.org/ubuntu/dists/jaunty/svn/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="net-firewall/iptables" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${PN}-0.8~beta2" - -src_prepare() { - eautoreconf -} - -src_configure() { - econf --with-plugindir=/usr/$(get_libdir) -} - -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" -}