svn commit: r553582 - in head/dns: . libmicrodns libmicrodns/files
Yuri Victorovich
yuri at FreeBSD.org
Thu Oct 29 04:37:23 UTC 2020
Author: yuri
Date: Thu Oct 29 04:37:21 2020
New Revision: 553582
URL: https://svnweb.freebsd.org/changeset/ports/553582
Log:
New port: dns/libmicrodns: DNS library focused on being simple and cross-platform
Added:
head/dns/libmicrodns/
head/dns/libmicrodns/Makefile (contents, props changed)
head/dns/libmicrodns/distinfo (contents, props changed)
head/dns/libmicrodns/files/
head/dns/libmicrodns/files/patch-include_microdns_rr.h (contents, props changed)
head/dns/libmicrodns/files/patch-include_utils.h (contents, props changed)
head/dns/libmicrodns/files/patch-src_rr.c (contents, props changed)
head/dns/libmicrodns/pkg-descr (contents, props changed)
Modified:
head/dns/Makefile
Modified: head/dns/Makefile
==============================================================================
--- head/dns/Makefile Thu Oct 29 04:35:35 2020 (r553581)
+++ head/dns/Makefile Thu Oct 29 04:37:21 2020 (r553582)
@@ -98,6 +98,7 @@
SUBDIR += libdjbdns
SUBDIR += libidn
SUBDIR += libidn2
+ SUBDIR += libmicrodns
SUBDIR += libnspsl
SUBDIR += libpsl
SUBDIR += linux-c7-libasyncns
Added: head/dns/libmicrodns/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/libmicrodns/Makefile Thu Oct 29 04:37:21 2020 (r553582)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= libmicrodns
+DISTVERSION= 0.2.0
+CATEGORIES= dns
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= DNS library focused on being simple and cross-platform
+
+LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= meson
+USE_GITHUB= yes
+USE_LDCONFIG= yes
+
+GH_ACCOUNT= videolabs
+
+PLIST_FILES= include/microdns/microdns.h \
+ include/microdns/rr.h \
+ lib/libmicrodns.so \
+ lib/libmicrodns.so.1 \
+ lib/libmicrodns.so.1.0.0 \
+ libdata/pkgconfig/microdns.pc
+
+.include <bsd.port.mk>
Added: head/dns/libmicrodns/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/libmicrodns/distinfo Thu Oct 29 04:37:21 2020 (r553582)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1603939184
+SHA256 (videolabs-libmicrodns-0.2.0_GH0.tar.gz) = 9864a088ffef4d4255d5abf63c6f603d1dc343dfec2809ff0c3f1624045b80fa
+SIZE (videolabs-libmicrodns-0.2.0_GH0.tar.gz) = 59923
Added: head/dns/libmicrodns/files/patch-include_microdns_rr.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/libmicrodns/files/patch-include_microdns_rr.h Thu Oct 29 04:37:21 2020 (r553582)
@@ -0,0 +1,11 @@
+--- include/microdns/rr.h.orig 2020-10-29 02:44:44 UTC
++++ include/microdns/rr.h
+@@ -35,6 +35,8 @@
+ # include <ws2tcpip.h>
+ #endif
+
++#include <netinet/in.h>
++
+ # ifdef __cplusplus
+ extern "C" {
+ # endif
Added: head/dns/libmicrodns/files/patch-include_utils.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/libmicrodns/files/patch-include_utils.h Thu Oct 29 04:37:21 2020 (r553582)
@@ -0,0 +1,11 @@
+--- include/utils.h.orig 2020-10-29 02:42:44 UTC
++++ include/utils.h
+@@ -31,6 +31,8 @@
+ #include <stdio.h>
+ #include <stdint.h>
+
++#include <netinet/in.h>
++
+ #include "compat.h"
+
+ #define MDNS_DN_MAXSZ 256 // domain name maximum size
Added: head/dns/libmicrodns/files/patch-src_rr.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/libmicrodns/files/patch-src_rr.c Thu Oct 29 04:37:21 2020 (r553582)
@@ -0,0 +1,11 @@
+--- src/rr.c.orig 2020-10-29 02:40:53 UTC
++++ src/rr.c
+@@ -32,6 +32,8 @@
+ #include <stdlib.h>
+ #include <stdint.h>
+
++#include <netinet/in.h>
++
+ #include "utils.h"
+ #include "microdns/microdns.h"
+ #include "microdns/rr.h"
Added: head/dns/libmicrodns/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/libmicrodns/pkg-descr Thu Oct 29 04:37:21 2020 (r553582)
@@ -0,0 +1,4 @@
+microdns is an mDNS resolver (and announcer) library focused on being simple
+and cross-platform.
+
+WWW: https://github.com/videolabs/libmicrodns
More information about the svn-ports-head
mailing list