diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-11-05 10:18:44 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-11-05 10:25:30 +0100 |
commit | a1cd0a91752f1c5dee416f87621cabf6135f2c32 (patch) | |
tree | c05a911e74afb828a214ad291bb0457503d30419 /net-misc | |
parent | dev-python/imageio: Bump to 2.10.2 (diff) | |
download | gentoo-a1cd0a91752f1c5dee416f87621cabf6135f2c32.tar.gz gentoo-a1cd0a91752f1c5dee416f87621cabf6135f2c32.tar.bz2 gentoo-a1cd0a91752f1c5dee416f87621cabf6135f2c32.zip |
net-misc/minissdpd: Bump to 1.5.20211105
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/minissdpd/Manifest | 2 | ||||
-rw-r--r-- | net-misc/minissdpd/minissdpd-1.5.20211105.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/net-misc/minissdpd/Manifest b/net-misc/minissdpd/Manifest index bbe7ffc19818..7036eb53b7ba 100644 --- a/net-misc/minissdpd/Manifest +++ b/net-misc/minissdpd/Manifest @@ -1,3 +1,5 @@ DIST minissdpd-1.5.20190824.tar.gz 37300 BLAKE2B 3a04f6af0af8ce5d26e4860ceafe2c52f1ee562f179094fbcba3485c85ae75b7374fd7fa8f89ec6d9ce2a10bb94120618de40e0191fc7ecdd1e813a2b9c5d6af SHA512 79a14482b69a88b778e484a3b3e98964c420ff7576ac818ba60fd5e07f5b31754cdef3ee00d9189ba0a33f0268f11acd1f7c4222d8d0958920d1f568ec7755e2 DIST minissdpd-1.5.20200928.tar.gz 37860 BLAKE2B fc80660ed84198d08d5879e276a0b5ab49c66344c8841f223990f704b6ebf70c8411da1d84ec51a9f69285a6b5a804ebe6b197555f5684d55cd0bf3abe250704 SHA512 e44142dcec4d0d4029a9d93748a8b3edec5482e2313d290956d3829b04e3637f6ba81292f27effad8829b29bb59f7fc43666338a8423d683ca6daa5807ea6362 DIST minissdpd-1.5.20200928.tar.gz.sig 543 BLAKE2B 5fdedfe4b042924667c329aa964e006cc9a5aad1e2d4f11d46c6689e7d88b4614c383bfb666ca9a7c90b37256a4e38dcc85e479687688578dd198893fcf5d3cf SHA512 15477061b009991a05323a66582bd7ba9c9aa3a1a7c84eca93b27adf1b11ede81063d9de4695fcf3567f3c367a730afe4cee0fa95cccdecd316d08021956cf6b +DIST minissdpd-1.5.20211105.tar.gz 38870 BLAKE2B a2c7c2b377f426eaffd77a15dd48945bd923344ed606c5060c209b57d7cb1ed92eaf93d8ffda6154b16d293ef78a20bec45aaae287c3f17b6affe3ab0bbc32f8 SHA512 ef393a051352c4abcc11d9f3bf1c822585750c1f8284875345f5cdb947b601c0bcd896d519a826f580612abbd7eacaedbd42e3fa60d654c906a35936faa92886 +DIST minissdpd-1.5.20211105.tar.gz.sig 543 BLAKE2B 09ac05a8e3836b10cdda4fbe00c09c0adccc0fcd119ac2711943c351eedc07b4a915c05a7026f853d26f41d687d5e8b1f69b229033291af302c4e56bc0f93333 SHA512 cfa41832f229609fc41f60a8b35d7dfbb9285933a17baecde2e2e0d855d841941d9e532d8c33a8f025f076cb052a3526d5daee2cdc5e0065f253258f4ee005f1 diff --git a/net-misc/minissdpd/minissdpd-1.5.20211105.ebuild b/net-misc/minissdpd/minissdpd-1.5.20211105.ebuild new file mode 100644 index 000000000000..b07a95967646 --- /dev/null +++ b/net-misc/minissdpd/minissdpd-1.5.20211105.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit toolchain-funcs verify-sig + +DESCRIPTION="MiniSSDP Daemon" +HOMEPAGE="http://miniupnp.free.fr/" +SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz + verify-sig? ( http://miniupnp.free.fr/files/${P}.tar.gz.sig )" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="net-libs/libnfnetlink" +RDEPEND="${DEPEND} + || ( net-misc/miniupnpd net-libs/miniupnpc )" +BDEPEND=" + verify-sig? ( app-crypt/openpgp-keys-miniupnp )" + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/miniupnp.asc + +src_configure() { + sed -i -e '/#define HAVE_IP_MREQN/{s:/[*]::;s:[*]/::;}' config.h || die +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + emake DESTDIR="${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 +} |