diff options
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/minissdpd/Manifest | 2 | ||||
-rw-r--r-- | net-misc/minissdpd/minissdpd-1.6.0.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/net-misc/minissdpd/Manifest b/net-misc/minissdpd/Manifest index e8e37d8b9560..dbd4123ccda1 100644 --- a/net-misc/minissdpd/Manifest +++ b/net-misc/minissdpd/Manifest @@ -1,2 +1,4 @@ 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 +DIST minissdpd-1.6.0.tar.gz 39077 BLAKE2B b1000ab8a07796706f5e9549b716654681c1f9241b0715f8f427cd73071b6b7cf62762c340038e1e077d7cb7883ff838a550a294bb146239493dfd938014e00f SHA512 1415f241e3c417eae32d37707c67594b16e56eec34ce6a8c511272d178f465553642362ba7240271df8f18fe39f6613c1d919344ee13bbd6a99f9a706be67d37 +DIST minissdpd-1.6.0.tar.gz.sig 543 BLAKE2B c493c610f483d45aefc20540a8bfe5e228485dcaa17a7ae9576ae061bbc82c5bfd2a2e598ae879ee6f4833121caea48d415233929937964ddcdb5061eef5f7d3 SHA512 1c27ced3b8e22fcd1f867df50abc8718ce621ede7aba9c93606531139f5348cc097f4c8b20ed71c09b82546972efda2aec730732ad60bf82cb5c195730df7045 diff --git a/net-misc/minissdpd/minissdpd-1.6.0.ebuild b/net-misc/minissdpd/minissdpd-1.6.0.ebuild new file mode 100644 index 000000000000..6e3e3b181684 --- /dev/null +++ b/net-misc/minissdpd/minissdpd-1.6.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 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/ + https://miniupnp.tuxfamily.org/ + https://github.com/miniupnp/miniupnp/ +" +SRC_URI=" + https://miniupnp.tuxfamily.org/files/${P}.tar.gz + verify-sig? ( + https://miniupnp.tuxfamily.org/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? ( sec-keys/openpgp-keys-miniupnp ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/miniupnp.asc + +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 +} |