Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/minissdpd/
Date: Sun, 04 Feb 2018 08:44:46
Message-Id: 1517733870.a908085767a851bf8fe196083e5920b6c1142b5c.mgorny@gentoo
1 commit: a908085767a851bf8fe196083e5920b6c1142b5c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 4 08:06:16 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 4 08:44:30 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9080857
7
8 net-misc/minissdpd: Bump to 1.5.20180203
9
10 Bump to the today's snapshot release. Upstream ChangeLog:
11
12 Properly parse several requests read() at once
13 Ignore the version of devices while answering to requests
14
15 Also fixes some typos and mis-merge in tests. The patch no longer
16 applies, so it has been replaced with a simple assumption that we always
17 overwrite the installed init.d file.
18
19 Closes: https://bugs.gentoo.org/623444
20
21 net-misc/minissdpd/Manifest | 1 +
22 net-misc/minissdpd/minissdpd-1.5.20180203.ebuild | 32 ++++++++++++++++++++++++
23 2 files changed, 33 insertions(+)
24
25 diff --git a/net-misc/minissdpd/Manifest b/net-misc/minissdpd/Manifest
26 index f7fe8951269..06c6dd01132 100644
27 --- a/net-misc/minissdpd/Manifest
28 +++ b/net-misc/minissdpd/Manifest
29 @@ -1 +1,2 @@
30 DIST minissdpd-1.5.20161216.tar.gz 35078 BLAKE2B c8e681e812869ddc15cece499356e7852a4b2e86b661bd80d62a840c8a9a01f321d4616013fec49d4abd834c75378014b52e605ad3fa116c0dc863e5a389a9fc SHA512 4fe1dbc14a39a18bcc834c73cc0150cda656b2be7ffcc0a72dc2854dbd698f3528bfdcd80af741124546f916d914921ffc428bb4f19b34e7493f0cbf9ff54928
31 +DIST minissdpd-1.5.20180203.tar.gz 35848 BLAKE2B 2a784bf6c8cf2e656d86f60802d11823d15ad0d7ca4b941c4cf71ffb0433be81b1f12fc11eaa84585d0cc77f1710b24336962e4242a957c49e7ca957e38c0a55 SHA512 2ad8964cd9893b29318659d39adf006cb3df2b97260b6b93a9b71b8f318941fd569cd6de02d34347cab75d4f556e89aa1b3f727561d1b6805c22ed9a3183f6ce
32
33 diff --git a/net-misc/minissdpd/minissdpd-1.5.20180203.ebuild b/net-misc/minissdpd/minissdpd-1.5.20180203.ebuild
34 new file mode 100644
35 index 00000000000..dea4e303461
36 --- /dev/null
37 +++ b/net-misc/minissdpd/minissdpd-1.5.20180203.ebuild
38 @@ -0,0 +1,32 @@
39 +# Copyright 1999-2018 Gentoo Foundation
40 +# Distributed under the terms of the GNU General Public License v2
41 +
42 +EAPI="6"
43 +inherit toolchain-funcs
44 +
45 +DESCRIPTION="MiniSSDP Daemon"
46 +SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
47 +HOMEPAGE="http://miniupnp.free.fr/"
48 +
49 +LICENSE="BSD"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~x86"
52 +IUSE=""
53 +
54 +DEPEND="net-libs/libnfnetlink"
55 +
56 +RDEPEND="$DEPEND
57 + || ( net-misc/miniupnpd net-libs/miniupnpc )"
58 +
59 +src_compile() {
60 + emake CC="$(tc-getCC)"
61 +}
62 +
63 +src_install () {
64 + emake PREFIX="${ED}" install
65 + # note: we overwrite upstream's init.d
66 + newinitd "${FILESDIR}/${PN}.initd-r2" ${PN}
67 + newconfd "${FILESDIR}/${PN}.confd" ${PN}
68 + dodoc Changelog.txt README
69 + doman minissdpd.1
70 +}