summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-09-29 03:48:16 +0200
committerMichał Górny <mgorny@gentoo.org>2020-09-29 04:14:46 +0200
commit7abc24eff2d1f1d8f6226c4f03332b0b9f6de396 (patch)
treecf9b2d232b3eb5e636fa2a6bf2f4cea7eaa8d84c /net-misc/minissdpd
parentdev-python/parver: Bump to 0.3.1 (diff)
downloadgentoo-7abc24eff2d1f1d8f6226c4f03332b0b9f6de396.tar.gz
gentoo-7abc24eff2d1f1d8f6226c4f03332b0b9f6de396.tar.bz2
gentoo-7abc24eff2d1f1d8f6226c4f03332b0b9f6de396.zip
net-misc/minissdpd: Bump to 1.5.20200928
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-misc/minissdpd')
-rw-r--r--net-misc/minissdpd/Manifest1
-rw-r--r--net-misc/minissdpd/minissdpd-1.5.20200928.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/net-misc/minissdpd/Manifest b/net-misc/minissdpd/Manifest
index b20534b7e1ef..648afd0004df 100644
--- a/net-misc/minissdpd/Manifest
+++ b/net-misc/minissdpd/Manifest
@@ -1 +1,2 @@
DIST minissdpd-1.5.20190824.tar.gz 37300 BLAKE2B 3a04f6af0af8ce5d26e4860ceafe2c52f1ee562f179094fbcba3485c85ae75b7374fd7fa8f89ec6d9ce2a10bb94120618de40e0191fc7ecdd1e813a2b9c5d6af SHA512 79a14482b69a88b778e484a3b3e98964c420ff7576ac818ba60fd5e07f5b31754cdef3ee00d9189ba0a33f0268f11acd1f7c4222d8d0958920d1f568ec7755e2
+DIST minissdpd-1.5.20200928.tar.gz 37860 BLAKE2B fc80660ed84198d08d5879e276a0b5ab49c66344c8841f223990f704b6ebf70c8411da1d84ec51a9f69285a6b5a804ebe6b197555f5684d55cd0bf3abe250704 SHA512 e44142dcec4d0d4029a9d93748a8b3edec5482e2313d290956d3829b04e3637f6ba81292f27effad8829b29bb59f7fc43666338a8423d683ca6daa5807ea6362
diff --git a/net-misc/minissdpd/minissdpd-1.5.20200928.ebuild b/net-misc/minissdpd/minissdpd-1.5.20200928.ebuild
new file mode 100644
index 000000000000..fd2d7685e495
--- /dev/null
+++ b/net-misc/minissdpd/minissdpd-1.5.20200928.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+inherit toolchain-funcs
+
+DESCRIPTION="MiniSSDP Daemon"
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
+HOMEPAGE="http://miniupnp.free.fr/"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="net-libs/libnfnetlink"
+
+RDEPEND="$DEPEND
+ || ( net-misc/miniupnpd net-libs/miniupnpc )"
+
+src_configure() {
+ sed -i -e '/#define HAVE_IP_MREQN/{s:/[*]::;s:[*]/::;}' config.h || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ emake PREFIX="${ED}" install
+ # note: we overwrite upstream's init.d
+ newinitd "${FILESDIR}/${PN}.initd-r2" ${PN}
+ newconfd "${FILESDIR}/${PN}.confd" ${PN}
+ dodoc Changelog.txt README
+ doman minissdpd.1
+}