commit:     a908085767a851bf8fe196083e5920b6c1142b5c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  4 08:06:16 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  4 08:44:30 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9080857

net-misc/minissdpd: Bump to 1.5.20180203

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                      |  1 +
 net-misc/minissdpd/minissdpd-1.5.20180203.ebuild | 32 ++++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/net-misc/minissdpd/Manifest b/net-misc/minissdpd/Manifest
index f7fe8951269..06c6dd01132 100644
--- a/net-misc/minissdpd/Manifest
+++ b/net-misc/minissdpd/Manifest
@@ -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
index 00000000000..dea4e303461
--- /dev/null
+++ b/net-misc/minissdpd/minissdpd-1.5.20180203.ebuild
@@ -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
+}

Reply via email to