diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-libs/miniupnpc |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-libs/miniupnpc')
-rw-r--r-- | net-libs/miniupnpc/Manifest | 11 | ||||
-rw-r--r-- | net-libs/miniupnpc/metadata.xml | 8 | ||||
-rw-r--r-- | net-libs/miniupnpc/miniupnpc-1.8.ebuild | 49 | ||||
-rw-r--r-- | net-libs/miniupnpc/miniupnpc-1.9.20151008.ebuild | 56 | ||||
-rw-r--r-- | net-libs/miniupnpc/miniupnpc-2.0.20161216.ebuild | 54 | ||||
-rw-r--r-- | net-libs/miniupnpc/miniupnpc-2.0.20170509.ebuild | 54 |
6 files changed, 232 insertions, 0 deletions
diff --git a/net-libs/miniupnpc/Manifest b/net-libs/miniupnpc/Manifest new file mode 100644 index 000000000000..95ee8aae7415 --- /dev/null +++ b/net-libs/miniupnpc/Manifest @@ -0,0 +1,11 @@ +DIST miniupnpc-1.8.tar.gz 70624 SHA256 bc5f73c7b0056252c1888a80e6075787a1e1e9112b808f863a245483ff79859c SHA512 8eedac9ad473fc952ca8896fe534d6da6b1b234e8b6f35f721394d4c71aca84ed287ca6c4f0455b50d97a45e4cd34e27d99a6813386e0864781364aa607e13d4 WHIRLPOOL 5b76ccbb5ed7daa9bb0d481b424b7c31a5f6dc85c5c812ba10175a29aefc0d3924f3db2aa8c3529d1241be59d67d1d4c702d27aad2de8c8a07fecf3857d73169 +DIST miniupnpc-1.9.20151008.tar.gz 83538 SHA256 e444ac3b587ce82709c4d0cfca1fe71f44f9fc433e9f946b12b9e1bfe667a633 SHA512 b13e6044184f47d0f9e78c4c97d2887ab763121b2b21c86652bf3ea1b05335cfbcfd91eecb8d1dcfb5530f2528e6cf3e9c49c742d5e771dba68a774d2c2ad4ca WHIRLPOOL 839b531eb6cae7ada0bbaa0c4230a1f6889f6a288a114262bf6e27aa27638800636127fea3066427fb030e8f449794681d2bffeb8e2d30876d8ef9e4a3ade3cc +DIST miniupnpc-2.0.20161216.tar.gz 85780 SHA256 01e14408d6fc628de9afabc4417b84adeaba4c0ec517e7b8e278cb2993dafd3e SHA512 ed1413fa6cd8eeb0d01e595e5470b255b1119a9bcf28da17765a4a3f0eb2b514409a9bfe9cd041274761b61441389c290754055ff07d599bb653a4efe47e920f WHIRLPOOL fde2dc16f5cfd6e7d066ec49646ac79b6d262988afe928d80aaf47f6b7f868a272ac46d3136c56ed8373e800d1538fe4dd6c34255080e2bd01cc0cb8b56e37fc +DIST miniupnpc-2.0.20170509.tar.gz 86055 SHA256 d3c368627f5cdfb66d3ebd64ca39ba54d6ff14a61966dbecb8dd296b7039f16a SHA512 71ec052ef6c8ad0d529e467ddae6eae19a93b9816174eeac753aa90e036cc2f00cf7e8d1cdb188ef8280849a988fe2995e37b63f8e2a361e021c1d1b306bff6f WHIRLPOOL 86c1a7a1d8800dbc0d1eccad66a5cb61a59af38989ca79c3b8df926ed12d9c7760d0b5d0e59d5d3190b45c7801a76c3e209f156836277992131c587b97c1a48c +EBUILD miniupnpc-1.8.ebuild 1084 SHA256 ae53ca70e3b8d415d405a123f071c02b0fbdb149ba28b230d0f044c47f1ec4ac SHA512 d93e0bc6286ddc99141a69ee2bfc1f8a7b14adc83a9f8151de7f052cc1ddca3fde1af489e7a6d75558ca9a2877965a59755ef202ee515582b0999c253d5c9f95 WHIRLPOOL a1a9cc96372f759b5791edce8e1a5af2dd9fa60d3cf38f65358c8a5838663e1a8d5cf12a48fdfca2da9d45ad82f86ef9eb4a15fb8f13386ae290ed6ef82c02c9 +EBUILD miniupnpc-1.9.20151008.ebuild 1394 SHA256 67ce745d5526412346cf2d59c62427ded064ff933bb8d3c079a0018b48bacb3a SHA512 084b7d43fed8bdf81b5e05872e9e3b39091d6a401bb3e69575e3b62fb0dfa5d51de9aa9f82efaad7b726385dd79d10278535df44adcdff0831006607dc91ea6a WHIRLPOOL 67dc28fd574000f75998f9a81733bbbb9093bc4ed2297fc9daf53c604911a3acbf24d71cac7e2f048fff8ecda46c95df2aaa63256e1d6d86717b385b33e781b3 +EBUILD miniupnpc-2.0.20161216.ebuild 1266 SHA256 e3847f78abc25254eea36c0ca5bb97ebd05b2a9f5fc71be66d88c1b851a584e8 SHA512 5523f1337949a3ad51e9853a434bd8eae1e37b2bde0a0fad0a4fb9e930c035922389c31e78a265112d23ae06d4f3ab70cff7bf46b65a782cc520f790e8ecb07f WHIRLPOOL 8479240c6c5689e67fc469768a574aa978ce8c418e0be36030dd543d39b8aa7aac6f92cf8a965f423d816de9336b6e1ec7f67465327c0997607bf97a67a7cccc +EBUILD miniupnpc-2.0.20170509.ebuild 1267 SHA256 175c924a6ddfa7712c46da07e9febc1b2a5cb28b0305ae581d1f55c4f8cec71b SHA512 777fc687631b6ae71ca8ebc38470aa5cb5014e9adac2062a8df028f5e412bb4faddb8ddcc5d79a209c49b263c58a67d2d8ae184d94a24699afcf6d4468c6663d WHIRLPOOL 2fe581e2ccae26fa53058d5ce7a2db334db95c3b2aeb6873df643f85e828e454873e54ef95932cd40d6bff1632d96a16273cd036061f06e2f35dc310ccc605d6 +MISC ChangeLog 5006 SHA256 b2966562c59615a6c8d7673f1467b53db8f81ac8b60218eef83384d0f057bdde SHA512 a929566fe2d983c98cf9a3b5fcbe7cbc108356068fe3fa0b6ec0de45c380f8cf69d6fe276f9dbbc427abeaa62151394c15f7125fcb656b81a926e5b37dc66325 WHIRLPOOL fdba3a93ae4e78ed694819729140cd64391f55c519eea3dfcd4d07db3e3e0ec008ccc311315c18a93941c7a84b83f82feadee98efe2727f481bf428327f8f68c +MISC ChangeLog-2015 6514 SHA256 bf24a161ef7dba7be7ae7511c70714cd029bd6026853bc61f8688c64095a3240 SHA512 69e8c332b1bef1a076dee904fbe65647a5031387e6bb70b22e0b2999ec9a31a39f0d2a031ded5af7379af50671af36bf7dc94be8e81f0e018004e546c82466ce WHIRLPOOL fac0f5730c93993dafd16ad3b8d48fd51a1ca7ee94b52ebb8de127c4c3dd2880efb4dddad5d8a08e8dd4c59908f2aa3d319cf62ba4dc986ee3877c243a5bc334 +MISC metadata.xml 243 SHA256 a90d5777b80d7ed5f0f322ff9cafae7a96dd513f4af28b60e36c060305157906 SHA512 ded2bb7e056d9081e11b0470aa2874fbe9b5e63f0178bec611291f639763a9bd85a076dbc526e01df1403dea4d0eb28913addb346b676084e690e063b68eca28 WHIRLPOOL 10702c61e2ae8d5ddb862621065c0ed6b1d05b4a4ff0a30407d29edca19629cead238e10a9f1889f4c41f64d7ef88f0031f746a2e5d9502ca7b088c2039f5751 diff --git a/net-libs/miniupnpc/metadata.xml b/net-libs/miniupnpc/metadata.xml new file mode 100644 index 000000000000..998965a402cd --- /dev/null +++ b/net-libs/miniupnpc/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> +</maintainer> +</pkgmetadata> diff --git a/net-libs/miniupnpc/miniupnpc-1.8.ebuild b/net-libs/miniupnpc/miniupnpc-1.8.ebuild new file mode 100644 index 000000000000..5161bf8264b9 --- /dev/null +++ b/net-libs/miniupnpc/miniupnpc-1.8.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="UPnP client library and a simple UPnP client" +HOMEPAGE="http://miniupnp.free.fr/" +SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 arm hppa ~mips ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="kernel_linux static-libs" + +# Tests hang trying to kill server, bug #409349 +RESTRICT="test" + +RDEPEND="" +DEPEND="kernel_linux? ( sys-apps/lsb-release sys-apps/which )" + +src_prepare() { + epatch_user + + if ! use static-libs; then + sed -i \ + -e '/FILESTOINSTALL =/s/ $(LIBRARY)//' \ + -e '/$(INSTALL) -m 644 $(LIBRARY) $(INSTALLDIRLIB)/d' \ + Makefile || die + fi +} + +# Upstream cmake causes more trouble than it fixes, +# so we'll just stay with the Makefile for now. + +src_compile() { + tc-export CC AR + emake upnpc-shared $(use static-libs && echo upnpc-static) +} + +src_install() { + emake \ + PREFIX="${D}" \ + INSTALLDIRLIB="${D}usr/$(get_libdir)" \ + install + + dodoc README Changelog.txt +} diff --git a/net-libs/miniupnpc/miniupnpc-1.9.20151008.ebuild b/net-libs/miniupnpc/miniupnpc-1.9.20151008.ebuild new file mode 100644 index 000000000000..58d094ed95f9 --- /dev/null +++ b/net-libs/miniupnpc/miniupnpc-1.9.20151008.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="UPnP client library and a simple UPnP client" +HOMEPAGE="http://miniupnp.free.fr/" +SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/14" +KEYWORDS="amd64 arm hppa ~mips ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="ipv6 kernel_linux static-libs" + +RDEPEND="" +DEPEND="kernel_linux? ( sys-apps/lsb-release sys-apps/which )" + +src_prepare() { + epatch_user + + # These bins are not installed, upnpc-static requires building static lib + # Reduce APIVERSION used to build SONAME since last API change was + # backwards compatible to surprise of all the universe. + sed -i -e '/EXECUTABLES =/s/ upnpc-static listdevices//' \ + -e '/APIVERSION/s:15:14:' Makefile || die + + if ! use static-libs; then + sed -i \ + -e '/FILESTOINSTALL =/s/ $(LIBRARY)//' \ + -e '/$(INSTALL) -m 644 $(LIBRARY) $(DESTDIR)$(INSTALLDIRLIB)/d' \ + Makefile || die + fi +} + +# Upstream cmake causes more trouble than it fixes, +# so we'll just stay with the Makefile for now. + +src_compile() { + tc-export CC AR + emake upnpc-shared $(usex static-libs upnpc-static '') +} + +src_test() { + emake -j1 HAVE_IPV6=$(usex ipv6) check +} + +src_install() { + emake \ + PREFIX="${D}" \ + INSTALLDIRLIB="${D}usr/$(get_libdir)" \ + install + + dodoc README Changelog.txt +} diff --git a/net-libs/miniupnpc/miniupnpc-2.0.20161216.ebuild b/net-libs/miniupnpc/miniupnpc-2.0.20161216.ebuild new file mode 100644 index 000000000000..1d4b221f9b55 --- /dev/null +++ b/net-libs/miniupnpc/miniupnpc-2.0.20161216.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="UPnP client library and a simple UPnP client" +HOMEPAGE="http://miniupnp.free.fr/" +SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/16" +KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="ipv6 kernel_linux static-libs" + +RDEPEND="" +DEPEND="kernel_linux? ( sys-apps/lsb-release sys-apps/which )" + +src_prepare() { + eapply_user + + # These bins are not installed, upnpc-static requires building static lib + sed -i -e '/EXECUTABLES =/s/ upnpc-static listdevices//' Makefile || die + + if ! use static-libs; then + sed -i \ + -e '/FILESTOINSTALL =/s/ $(LIBRARY)//' \ + -e '/$(INSTALL) -m 644 $(LIBRARY) $(DESTDIR)$(INSTALLDIRLIB)/d' \ + Makefile || die + fi +} + +# Upstream cmake causes more trouble than it fixes, +# so we'll just stay with the Makefile for now. + +src_compile() { + tc-export CC AR + emake upnpc-shared $(usex static-libs upnpc-static '') +} + +src_test() { + emake -j1 HAVE_IPV6=$(usex ipv6) check +} + +src_install() { + emake \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}/usr" \ + INSTALLDIRLIB="${EPREFIX}/usr/$(get_libdir)" \ + install + + dodoc README Changelog.txt +} diff --git a/net-libs/miniupnpc/miniupnpc-2.0.20170509.ebuild b/net-libs/miniupnpc/miniupnpc-2.0.20170509.ebuild new file mode 100644 index 000000000000..0386b63326bb --- /dev/null +++ b/net-libs/miniupnpc/miniupnpc-2.0.20170509.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="UPnP client library and a simple UPnP client" +HOMEPAGE="http://miniupnp.free.fr/" +SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/16" +KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="ipv6 kernel_linux static-libs" + +RDEPEND="" +DEPEND="kernel_linux? ( sys-apps/lsb-release sys-apps/which )" + +src_prepare() { + eapply_user + + # These bins are not installed, upnpc-static requires building static lib + sed -i -e '/EXECUTABLES =/s/ upnpc-static listdevices//' Makefile || die + + if ! use static-libs; then + sed -i \ + -e '/FILESTOINSTALL =/s/ $(LIBRARY)//' \ + -e '/$(INSTALL) -m 644 $(LIBRARY) $(DESTDIR)$(INSTALLDIRLIB)/d' \ + Makefile || die + fi +} + +# Upstream cmake causes more trouble than it fixes, +# so we'll just stay with the Makefile for now. + +src_compile() { + tc-export CC AR + emake upnpc-shared $(usex static-libs upnpc-static '') +} + +src_test() { + emake -j1 HAVE_IPV6=$(usex ipv6) check +} + +src_install() { + emake \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}/usr" \ + INSTALLDIRLIB="${EPREFIX}/usr/$(get_libdir)" \ + install + + dodoc README Changelog.txt +} |