From d7d74ea9d691ed50ba9886096ecaa0c966e4acaa Mon Sep 17 00:00:00 2001 From: Martin Matuska Date: Tue, 20 Aug 2024 00:11:30 +0200 Subject: [PATCH] dns/udns: update 0.4_3 -> 0.6 Changes: https://www.corpit.ru/mjt/udns/NEWS Reported by: portscout --- dns/udns/Makefile | 3 +-- dns/udns/distinfo | 5 +++-- dns/udns/files/patch-configure | 27 --------------------------- 3 files changed, 4 insertions(+), 31 deletions(-) delete mode 100644 dns/udns/files/patch-configure diff --git a/dns/udns/Makefile b/dns/udns/Makefile index e1e7db156ac6..60f209e60411 100644 --- a/dns/udns/Makefile +++ b/dns/udns/Makefile @@ -1,6 +1,5 @@ PORTNAME= udns -PORTVERSION= 0.4 -PORTREVISION= 3 +PORTVERSION= 0.6 CATEGORIES= dns MASTER_SITES= http://www.corpit.ru/mjt/udns/ diff --git a/dns/udns/distinfo b/dns/udns/distinfo index 7cd5322db87f..ee278994b97e 100644 --- a/dns/udns/distinfo +++ b/dns/udns/distinfo @@ -1,2 +1,3 @@ -SHA256 (udns-0.4.tar.gz) = 115108dc791a2f9e99e150012bcb459d9095da2dd7d80699b584ac0ac3768710 -SIZE (udns-0.4.tar.gz) = 84716 +TIMESTAMP = 1724105236 +SHA256 (udns-0.6.tar.gz) = 696a2d0d518da985d975a65e11d166f3f57cdbd1d42376a0b85307f49601c6e8 +SIZE (udns-0.6.tar.gz) = 85129 diff --git a/dns/udns/files/patch-configure b/dns/udns/files/patch-configure deleted file mode 100644 index ca6971268eae..000000000000 --- a/dns/udns/files/patch-configure +++ /dev/null @@ -1,27 +0,0 @@ ---- configure.orig 2023-02-24 09:54:25 UTC -+++ configure -@@ -83,17 +83,20 @@ else - fi - - ac_ign \ -- ac_yesno "for inet_pton() && inet_ntop()" \ -+ ac_yesno "for working inet_pton() && inet_ntop()" \ - ac_have INET_PTON_NTOP \ - ac_link < - #include - #include -+#include - int main() { -+ char addr[sizeof(struct in_addr)]; - char buf[64]; -- long x = 0; -- inet_pton(AF_INET, &x, buf); -- return inet_ntop(AF_INET, &x, buf, sizeof(buf)); -+ char *localhost = "127.0.0.1"; -+ inet_pton(AF_INET, localhost, addr); -+ inet_ntop(AF_INET, addr, buf, sizeof(buf)); -+ return strncmp(localhost, buf, sizeof(localhost)); - } - EOF -