summaryrefslogtreecommitdiff
path: root/net-libs/libnatpmp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-24 00:08:50 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-24 00:08:50 +0100
commitb2523734e380d060074602eb5ce53daf7d98803b (patch)
tree0f6e9c0a8339a7e6bb0b44089507392951245899 /net-libs/libnatpmp
parent622b78d0d832282505f685f2f442c34ea0e8a7b1 (diff)
gentoo auto-resync : 24:04:2023 - 00:08:50
Diffstat (limited to 'net-libs/libnatpmp')
-rw-r--r--net-libs/libnatpmp/Manifest2
-rw-r--r--net-libs/libnatpmp/libnatpmp-20230423.ebuild32
2 files changed, 34 insertions, 0 deletions
diff --git a/net-libs/libnatpmp/Manifest b/net-libs/libnatpmp/Manifest
index 8cc2bc32b972..9a9ad809f366 100644
--- a/net-libs/libnatpmp/Manifest
+++ b/net-libs/libnatpmp/Manifest
@@ -1,4 +1,6 @@
AUX libnatpmp-20150609-gentoo.patch 2811 BLAKE2B 2125f030a90a20845616d28ecbf0554953408856b8e78d61a020d7ce95c357397f50263e7838c034510221dd6627e066bed19b1c75cb468a97f2517bee79b744 SHA512 ef3717dcc5b0f83522f45d7799fdec539f6148c24ea6d2800c601a5d0847c9c26f848b9654464d23e140426b32ed3aeed0030e7ade600e974129aef729786436
DIST libnatpmp-20150609.tar.gz 24392 BLAKE2B 0a8df6badf222328a24ae94a97386593c42bcda58cada97d37a2cf74f6f6b5e27189753590552187ed7afce66d34d204b9d18ecd38ac0bcbadf8c8129a3b44ad SHA512 e50b1f68ce9254bb2f068ddc37417a3c417b80f7b3fb3d84e3e9af4a144d89e204ab993b54c01657335e855d0124a8fcbbf96ce78db7b9ae0b03b6eb79de2e09
+DIST libnatpmp-20230423.tar.gz 26506 BLAKE2B 01386509e410312d5063038a4a929e2c838d8e6061f693cd43144f98dc4725deff459cb476842e6fab78323fb87ac0ce0f74efe3837031d89ea846932dc4fdcf SHA512 1697a414f0ff73876c177d8e09242c8da6fd4bc9b1c3a893bfb082420bfdac30f455507b81937042caaf6b30756d2055c073ee1de1ac73f7ef31e4c68e5c4ed7
EBUILD libnatpmp-20150609.ebuild 792 BLAKE2B fe8fcd8cd2c9339db176c34681f32482a83e990b922d7c17ce2803a4cc8cdf4f5cd5f626e63a480957e5c1a014857705d4064fccbe0428146d5b478a2bd3e87d SHA512 d67291394514570e29fa50e1ab690c511cfcdcb599a1813a4ae4d008613574d39679545815c64d89993bf0c2d9438cf8215dda3febab55e319b1f25a2014217f
+EBUILD libnatpmp-20230423.ebuild 798 BLAKE2B 237c0d8d60bf631c36bc97c8770fe468ef7395a481607846fd4f4f2c2fa9ac88e554d309da6e3c2bc9159edec49f50331fad8be0dabd6d24a656a6af260358a6 SHA512 15efb6ecdcdf378db1bb73cc022f1d9dced116d5c9e1c48f245a8d453870f85fec99f7948f6fac14bb963a38886791413ee5a52efbd4eb2a1237cdef7213638d
MISC metadata.xml 251 BLAKE2B aff27f0414b759d8b480b5ff7510ad6b4c7247587e98da4e5110a1b20067eede21609515f370ecd8ece32e7a6667bb9b3e38718e4be4d3f584858db7459d030b SHA512 0afc6591b2d966f15fd3fbece3fc4c74f3c36ac26b51884c8a21f63ce26cacae12e8b7d8b90967818c6ec3d110d33282f5635bb0b606b8a08f7a573fc9f1f8fb
diff --git a/net-libs/libnatpmp/libnatpmp-20230423.ebuild b/net-libs/libnatpmp/libnatpmp-20230423.ebuild
new file mode 100644
index 000000000000..45eb3613da14
--- /dev/null
+++ b/net-libs/libnatpmp/libnatpmp-20230423.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="An alternative protocol to UPnP IGD specification"
+HOMEPAGE="
+ http://miniupnp.free.fr/libnatpmp.html
+ https://miniupnp.tuxfamily.org/libnatpmp.html
+ https://github.com/miniupnp/libnatpmp/
+"
+SRC_URI="https://miniupnp.tuxfamily.org/files/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+PATCHES=( "${FILESDIR}"/${PN}-20150609-gentoo.patch )
+
+src_configure() {
+ tc-export CC
+}
+
+src_install() {
+ # Override HEADERS for missing declspec.h wrt #506832
+ emake HEADERS='declspec.h natpmp.h' PREFIX="${ED}" GENTOO_LIBDIR="$(get_libdir)" install
+
+ dodoc Changelog.txt README
+ doman natpmpc.1
+}