net-misc/minissdpd: Bump to 1.5.20180203
authorMichał Górny <mgorny@gentoo.org>
Sun, 4 Feb 2018 08:06:16 +0000 (09:06 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 4 Feb 2018 08:44:30 +0000 (09:44 +0100)
Bump to the today's snapshot release. Upstream ChangeLog:

Properly parse several requests read() at once
Ignore the version of devices while answering to requests

Also fixes some typos and mis-merge in tests. The patch no longer
applies, so it has been replaced with a simple assumption that we always
overwrite the installed init.d file.

Closes: https://bugs.gentoo.org/623444

net-misc/minissdpd/Manifest
net-misc/minissdpd/minissdpd-1.5.20180203.ebuild [new file with mode: 0644]

index f7fe8951269867910c6e11bd848d7e5510608f42..06c6dd01132ed2f70c3ec5e9f1da6368d858af7f 100644 (file)
@@ -1 +1,2 @@
 DIST minissdpd-1.5.20161216.tar.gz 35078 BLAKE2B c8e681e812869ddc15cece499356e7852a4b2e86b661bd80d62a840c8a9a01f321d4616013fec49d4abd834c75378014b52e605ad3fa116c0dc863e5a389a9fc SHA512 4fe1dbc14a39a18bcc834c73cc0150cda656b2be7ffcc0a72dc2854dbd698f3528bfdcd80af741124546f916d914921ffc428bb4f19b34e7493f0cbf9ff54928
+DIST minissdpd-1.5.20180203.tar.gz 35848 BLAKE2B 2a784bf6c8cf2e656d86f60802d11823d15ad0d7ca4b941c4cf71ffb0433be81b1f12fc11eaa84585d0cc77f1710b24336962e4242a957c49e7ca957e38c0a55 SHA512 2ad8964cd9893b29318659d39adf006cb3df2b97260b6b93a9b71b8f318941fd569cd6de02d34347cab75d4f556e89aa1b3f727561d1b6805c22ed9a3183f6ce
diff --git a/net-misc/minissdpd/minissdpd-1.5.20180203.ebuild b/net-misc/minissdpd/minissdpd-1.5.20180203.ebuild
new file mode 100644 (file)
index 0000000..dea4e30
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+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_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
+}