diff options
Diffstat (limited to 'devel/libdnsres')
-rw-r--r-- | devel/libdnsres/Makefile | 30 | ||||
-rw-r--r-- | devel/libdnsres/distinfo | 2 | ||||
-rw-r--r-- | devel/libdnsres/files/patch-dnsres.3 | 38 | ||||
-rw-r--r-- | devel/libdnsres/files/patch-dnsres.h | 20 | ||||
-rw-r--r-- | devel/libdnsres/files/patch-test-simple_test.c | 11 | ||||
-rw-r--r-- | devel/libdnsres/pkg-descr | 8 | ||||
-rw-r--r-- | devel/libdnsres/pkg-plist | 6 |
7 files changed, 0 insertions, 115 deletions
diff --git a/devel/libdnsres/Makefile b/devel/libdnsres/Makefile deleted file mode 100644 index ce77758cfd9b..000000000000 --- a/devel/libdnsres/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -PORTNAME= libdnsres -PORTVERSION= 0.1a -PORTREVISION= 11 -CATEGORIES= devel -MASTER_SITES= http://monkey.org/~provos/ - -MAINTAINER= oz@nixil.net -COMMENT= Provides a non-blocking thread-safe API for resolving DNS names -WWW= https://www.monkey.org/~provos/libdnsres/ - -LICENSE= BSD4CLAUSE -LICENSE_FILE= ${WRKSRC}/LICENSE - -DEPRECATED= No consumers in tree, last release in 2005 by upstream -EXPIRATION_DATE=2025-06-30 - -BUILD_DEPENDS= ${LOCALBASE}/lib/libevent.a:devel/libevent - -USES= libtool -GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share -USE_LDCONFIG= yes -CONFIGURE_ARGS= --with-libevent=${LOCALBASE} -MAKE_JOBS_UNSAFE= yes - -post-patch: - @${REINPLACE_CMD} -e 's,CFLAGS =,CFLAGS +=, ; s|top_buildir|top_builddir|g' \ - ${WRKSRC}/Makefile.in - -.include <bsd.port.mk> diff --git a/devel/libdnsres/distinfo b/devel/libdnsres/distinfo deleted file mode 100644 index d637e4bbb415..000000000000 --- a/devel/libdnsres/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (libdnsres-0.1a.tar.gz) = c0b94f27cb537eed42bc32ca9771f0955f717c66d34d1361e0a75600c6589307 -SIZE (libdnsres-0.1a.tar.gz) = 360583 diff --git a/devel/libdnsres/files/patch-dnsres.3 b/devel/libdnsres/files/patch-dnsres.3 deleted file mode 100644 index aef449c6c67a..000000000000 --- a/devel/libdnsres/files/patch-dnsres.3 +++ /dev/null @@ -1,38 +0,0 @@ ---- dnsres.3.orig Tue Feb 14 15:17:58 2006 -+++ dnsres.3 Tue Feb 14 16:15:58 2006 -@@ -38,17 +38,20 @@ - .Nm dnsres_getaddrinfo - .Nd non blocking DNS resolving library - .Sh SYNOPSIS -+.Fd #include <sys/types.h> -+.Fd #include <sys/socket.h> -+.Fd #include <netdb.h> - .Fd #include <dnsres.h> - .Ft int - .Fn dnsres_init "struct dnsres *_resp" - .Ft void --.Fn dnsres_gethostbyname "struct dnsres* res" "const char *name" "void (*cb)(struct hostent *hp, int error, void *arg" "void *arg" -+.Fn dnsres_gethostbyname "struct dnsres *res" "const char *name" "void (*cb)(struct hostent *hp, int error, void *arg)" "void *arg" - .Ft void --.Fn dnsres_gethostbyname2 "const char *name" "int af" "void (*cb)(struct hostent *hp, int error, void *arg" "void *arg" -+.Fn dnsres_gethostbyname2 "struct dnsres *res" "const char *name" "int af" "void (*cb)(struct hostent *hp, int error, void *arg)" "void *arg" - .Ft void --.Fn dnsres_gethostbyaddr "const char *addr" "int len" "int af" "void (*cb)(struct hostent *hp, int error, void *arg" "void *arg" -+.Fn dnsres_gethostbyaddr "struct dnsres *res" "const char *addr" "int len" "int af" "void (*cb)(struct hostent *hp, int error, void *arg)" "void *arg" - .Ft void --.Fn dnsres_getaddrinfo "struct dnsres *" "const char *" "const char *" "const struct addrinfo *" "void (*)(struct addrinfo *, int, void *)" "void *"; -+.Fn dnsres_getaddrinfo "struct dnsres *res" "const char *hostname" "const char *servname" "const struct addrinfo *hints" "void (*cb)(struct addrinfo *ai, int res, void *arg)" "void *arg" - .Sh DESCRIPTION - The - .Fn dnsres_init -@@ -134,6 +137,10 @@ - The only address family currently supported is - .Dv AF_INET . - .Pp -+The -+.Fn dnsres_getaddrinfo -+function is used to get a list of IP addresses and port -+numbers for host hostname and service servname. - .Sh ENVIRONMENT - .Bl -tag -width HOSTALIASES - .It HOSTALIASES diff --git a/devel/libdnsres/files/patch-dnsres.h b/devel/libdnsres/files/patch-dnsres.h deleted file mode 100644 index f3803fcee396..000000000000 --- a/devel/libdnsres/files/patch-dnsres.h +++ /dev/null @@ -1,20 +0,0 @@ ---- dnsres.h.orig Fri Feb 17 16:51:37 2006 -+++ dnsres.h Fri Feb 17 16:52:14 2006 -@@ -431,6 +431,8 @@ - int dnsres_net_addrcmp(struct sockaddr *, struct sockaddr *); - int dnsres_getrrsetbyname(const char *, unsigned int, unsigned int, unsigned int, struct dnsres_rrsetinfo **); - void dnsres_freerrset(struct dnsres_rrsetinfo *); -+int dnsres_init(struct dnsres *); -+void dnsres_cancel_lookup(void *); - __END_DECLS - - /* -@@ -502,8 +504,5 @@ - struct dnsres_hostent_state hostent_state; - struct dnsres_servent_state servent_state; - }; -- --int dnsres_init(struct dnsres *_resp); --void dnsres_cancel_lookup(void *handle); - - #endif /* _DNSRES_H_ */ diff --git a/devel/libdnsres/files/patch-test-simple_test.c b/devel/libdnsres/files/patch-test-simple_test.c deleted file mode 100644 index 096c370654f8..000000000000 --- a/devel/libdnsres/files/patch-test-simple_test.c +++ /dev/null @@ -1,11 +0,0 @@ ---- test/simple_test.c.old Fri Feb 3 19:18:27 2006 -+++ test/simple_test.c Fri Feb 3 19:18:48 2006 -@@ -47,7 +47,7 @@ - #include <unistd.h> - #include <ctype.h> - #include <fcntl.h> -- -+#include <sys/time.h> - #include <event.h> - - #include "dnsres.h" diff --git a/devel/libdnsres/pkg-descr b/devel/libdnsres/pkg-descr deleted file mode 100644 index 1986e3f34998..000000000000 --- a/devel/libdnsres/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -Libdnsres provides a non-blocking thread-safe API for resolving DNS names. It -requires that your main application is built on top of libevent. Libdnsres' API -essentially mirrors the traditional gethostbyname and getaddrinfo interfaces. -All return values have been replaced by callbacks instead. - -The code borrows heavily from the BSD resolver library. In fact, it is an -extremely ugly hack to make the BSD resolver library non-blocking and -thread-safe without changing the API too much. diff --git a/devel/libdnsres/pkg-plist b/devel/libdnsres/pkg-plist deleted file mode 100644 index b8c459444b4a..000000000000 --- a/devel/libdnsres/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -include/dnsres.h -lib/libdnsres.a -lib/libdnsres.so -lib/libdnsres.so.0 -lib/libdnsres.so.0.0.1 -share/man/man3/dnsres.3.gz |