summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-07-28 08:29:22 +0200
committerMichał Górny <mgorny@gentoo.org>2019-07-28 08:41:15 +0200
commitc908d4d60eed7e6101d144d572d41d00e36618e2 (patch)
tree9876458fbf6369d3a9a155d4588d41168a1d0228 /net-misc
parentdev-python/sure: Drop old (diff)
downloadgentoo-c908d4d60eed7e6101d144d572d41d00e36618e2.tar.gz
gentoo-c908d4d60eed7e6101d144d572d41d00e36618e2.tar.bz2
gentoo-c908d4d60eed7e6101d144d572d41d00e36618e2.zip
net-misc/miniupnpd: Drop old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/miniupnpd/Manifest2
-rw-r--r--net-misc/miniupnpd/files/miniupnpd-conf.d-r110
-rw-r--r--net-misc/miniupnpd/files/miniupnpd-init.d-r133
-rw-r--r--net-misc/miniupnpd/miniupnpd-2.1.20190502.ebuild65
-rw-r--r--net-misc/miniupnpd/miniupnpd-2.1.20190625-r1.ebuild88
-rw-r--r--net-misc/miniupnpd/miniupnpd-2.1.20190625.ebuild65
6 files changed, 0 insertions, 263 deletions
diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index c76f8b96c1b1..49fd75fafdec 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,3 +1 @@
-DIST miniupnpd-2.1.20190502.tar.gz 236052 BLAKE2B 9f2f81769d72fad2191969e0e80b4d2e70619d5674fe6b4ef9f4306e09ac4737577a2146bc04ec9960df092252abe3c9a57e32d5d893a763b85863d1c4892045 SHA512 6423cef89b5af62b6b6a120a3cd13a0e7755d609b33de8f1671f7f9160fb1b5e68b0ebd3f8b7b5758cf05a1c58b416cde253e37bc5ba0bb423c14b5fb44599f1
-DIST miniupnpd-2.1.20190625.tar.gz 240120 BLAKE2B c6cf6b549a1c0c4a411d9487a3dae348d8a37767b9590d29ea763177d876ceb6f521bb7662452e2dff813354fc52f862bcc830079b3ff8af8185de6ee2771e8f SHA512 3b9a14f24c7e753cc71b84622bfbbc0db4a5b5e0fd602ef1129b89b1c729e754c51f5c29b4bf8d1cc37a16f77b33f04cf3f3540afe1ac529105cb91f45fa92c8
DIST miniupnpd-2.1.20190630.tar.gz 240466 BLAKE2B fe4d4e59a7dad32bef9ed9b4c58b52e378ec9b26ea2439e84284630a7ef7269c6cd53cabdc632ff274cae88aea2552a8808af2ea349138f8b8ed667baf9e87ee SHA512 cd6006e5487652a258f7320e1e28fea7b0790528cc014071109a1abd0f6c249237cf8d0620987c14ee0ce1cca14f4bb4abd439b1d422e0e49a398cd485eaf970
diff --git a/net-misc/miniupnpd/files/miniupnpd-conf.d-r1 b/net-misc/miniupnpd/files/miniupnpd-conf.d-r1
deleted file mode 100644
index 1464bf04bd18..000000000000
--- a/net-misc/miniupnpd/files/miniupnpd-conf.d-r1
+++ /dev/null
@@ -1,10 +0,0 @@
-# /etc/conf.d/miniupnpd: Configuration for miniupnpd init script
-
-# extra arguments to be passed to the command
-#extra_args=""
-
-# the location of the configuration file
-#config_file="/etc/miniupnpd/miniupnpd.conf"
-
-# uncomment to not use included scripts to manipulate iptables
-#no_iptables_scripts=1
diff --git a/net-misc/miniupnpd/files/miniupnpd-init.d-r1 b/net-misc/miniupnpd/files/miniupnpd-init.d-r1
deleted file mode 100644
index 99406106a86d..000000000000
--- a/net-misc/miniupnpd/files/miniupnpd-init.d-r1
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-command="/usr/sbin/miniupnpd"
-: "${config_file:=/etc/miniupnpd/miniupnpd.conf}"
-command_args="-f ${config_file:-/etc/miniupnpd/miniupnpd.conf} ${extra_args}"
-: "${pidfile:=/var/run/miniupnpd.pid}"
-
-depend() {
- need net iptables
- use minissdpd
-}
-
-start_pre() {
- local retval=0
-
- if [[ -z ${no_iptables_scripts} ]]; then
- /etc/miniupnpd/iptables_init.sh || retval=${?}
- fi
-
- return ${retval}
-}
-
-stop_post() {
- local retval=0
-
- if [[ -z ${no_iptables_scripts} ]]; then
- /etc/miniupnpd/iptables_removeall.sh
- fi
-
- return ${retval}
-}
diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190502.ebuild b/net-misc/miniupnpd/miniupnpd-2.1.20190502.ebuild
deleted file mode 100644
index 673b340fb090..000000000000
--- a/net-misc/miniupnpd/miniupnpd-2.1.20190502.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="MiniUPnP IGD Daemon"
-HOMEPAGE="http://miniupnp.free.fr/"
-SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
-
-RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
- net-libs/libnfnetlink:=
- net-libs/libmnl:=
- dev-libs/gmp:0=
- sys-apps/util-linux:=
- dev-libs/openssl:0="
-DEPEND="${RDEPEND}
- sys-apps/lsb-release"
-
-src_prepare() {
- default
- mv Makefile.linux Makefile || die
-
- # Prevent gzipping manpage.
- sed -i -e '/gzip/d' Makefile || die
-}
-
-src_configure() {
- local -a opts
- opts=(
- --vendorcfg
- $(usex igd2 '--igd2' '')
- $(usex ipv6 '--ipv6' '')
- $(usex leasefile '--leasefile' '')
- $(usex portinuse '--portinuse' '')
- $(usex pcp-peer '--pcp-peer' '')
- $(usex strict '--strict' '')
- )
-
- emake CONFIG_OPTIONS="${opts[*]}" config.h
-}
-
-src_compile() {
- # By default, it builds a bunch of unittests that are missing wrapper
- # scripts in the tarball
- emake CC="$(tc-getCC)" STRIP=true miniupnpd
-}
-
-src_install() {
- emake PREFIX="${ED}" STRIP=true install
-
- newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
- newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
-}
-
-pkg_postinst() {
- elog "Please correct the external interface in the top of the two"
- elog "scripts in /etc/miniupnpd and edit the config file in there too"
-}
diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190625-r1.ebuild b/net-misc/miniupnpd/miniupnpd-2.1.20190625-r1.ebuild
deleted file mode 100644
index 07c804f35640..000000000000
--- a/net-misc/miniupnpd/miniupnpd-2.1.20190625-r1.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="MiniUPnP IGD Daemon"
-HOMEPAGE="http://miniupnp.free.fr/"
-SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+leasefile igd2 ipv6 nftables pcp-peer portinuse strict"
-
-RDEPEND="
- dev-libs/gmp:0=
- sys-apps/util-linux:=
- dev-libs/openssl:0=
- !nftables? (
- >=net-firewall/iptables-1.4.6:0=[ipv6?]
- net-libs/libnfnetlink:=
- net-libs/libmnl:=
- )
- nftables? (
- net-firewall/nftables
- net-libs/libnftnl:=
- net-libs/libmnl:=
- )"
-DEPEND="${RDEPEND}
- sys-apps/lsb-release"
-
-src_prepare() {
- default
-
- # Prevent overriding CFLAGS.
- sed -i -e '/^CFLAGS =/d' Makefile.linux_nft || die
-
- mv "Makefile.linux$(usex nftables _nft '')" Makefile || die
-
- # Prevent gzipping manpage.
- sed -i -e '/gzip/d' Makefile || die
-}
-
-src_configure() {
- local -a opts
- opts=(
- --vendorcfg
- $(usex igd2 '--igd2' '')
- $(usex ipv6 '--ipv6' '')
- $(usex leasefile '--leasefile' '')
- $(usex portinuse '--portinuse' '')
- $(usex pcp-peer '--pcp-peer' '')
- $(usex strict '--strict' '')
- )
-
- emake CONFIG_OPTIONS="${opts[*]}" config.h
-}
-
-src_compile() {
- # By default, it builds a bunch of unittests that are missing wrapper
- # scripts in the tarball
- emake CC="$(tc-getCC)" STRIP=true miniupnpd
-}
-
-src_install() {
- emake PREFIX="${ED}" STRIP=true install
-
- local confd_seds=()
- if use nftables; then
- confd_seds+=( -e 's/^iptables_scripts=/#&/' )
- else
- confd_seds+=( -e 's/^nftables_scripts=/#&/' )
- fi
- if ! use ipv6 || use nftables; then
- confd_seds+=( -e 's/^ip6tables_scripts=/#&/' )
- fi
-
- newinitd "${FILESDIR}"/${PN}-init.d-r2 ${PN}
- newconfd - ${PN} < <(sed "${confd_seds[@]}" \
- "${FILESDIR}"/${PN}-conf.d-r2 || die)
-}
-
-pkg_postinst() {
- elog "Please correct the external interface in the top of the two"
- elog "scripts in /etc/miniupnpd and edit the config file in there too"
-}
diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190625.ebuild b/net-misc/miniupnpd/miniupnpd-2.1.20190625.ebuild
deleted file mode 100644
index 673b340fb090..000000000000
--- a/net-misc/miniupnpd/miniupnpd-2.1.20190625.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="MiniUPnP IGD Daemon"
-HOMEPAGE="http://miniupnp.free.fr/"
-SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
-
-RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
- net-libs/libnfnetlink:=
- net-libs/libmnl:=
- dev-libs/gmp:0=
- sys-apps/util-linux:=
- dev-libs/openssl:0="
-DEPEND="${RDEPEND}
- sys-apps/lsb-release"
-
-src_prepare() {
- default
- mv Makefile.linux Makefile || die
-
- # Prevent gzipping manpage.
- sed -i -e '/gzip/d' Makefile || die
-}
-
-src_configure() {
- local -a opts
- opts=(
- --vendorcfg
- $(usex igd2 '--igd2' '')
- $(usex ipv6 '--ipv6' '')
- $(usex leasefile '--leasefile' '')
- $(usex portinuse '--portinuse' '')
- $(usex pcp-peer '--pcp-peer' '')
- $(usex strict '--strict' '')
- )
-
- emake CONFIG_OPTIONS="${opts[*]}" config.h
-}
-
-src_compile() {
- # By default, it builds a bunch of unittests that are missing wrapper
- # scripts in the tarball
- emake CC="$(tc-getCC)" STRIP=true miniupnpd
-}
-
-src_install() {
- emake PREFIX="${ED}" STRIP=true install
-
- newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
- newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
-}
-
-pkg_postinst() {
- elog "Please correct the external interface in the top of the two"
- elog "scripts in /etc/miniupnpd and edit the config file in there too"
-}