SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

21
net/adns/Makefile Normal file
View file

@ -0,0 +1,21 @@
COMMENT= asynchronous dns resolver client library and utilities
DISTNAME= adns-1.5.2
CATEGORIES= net devel
SHARED_LIBS= adns 2.0
HOMEPAGE= https://www.chiark.greenend.org.uk/~ian/adns/
# GPLv3+
PERMIT_PACKAGE= Yes
WANTLIB= c
MASTER_SITES= https://www.chiark.greenend.org.uk/~ian/adns/ftp/
CONFIGURE_STYLE= gnu dest
USE_GMAKE= Yes
MAKE_FLAGS= MAJOR=${LIBadns_VERSION:R} MINOR=${LIBadns_VERSION:E}
.include <bsd.port.mk>

2
net/adns/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (adns-1.5.2.tar.gz) = 2Nw4nhnc9NCR6lTUHoN0Wt4PBMyrw0Us5NvKS/iqKn0=
SIZE (adns-1.5.2.tar.gz) = 320457

View file

@ -0,0 +1,11 @@
--- configure.orig Sun Oct 26 14:22:06 2014
+++ configure Wed Apr 27 16:40:21 2016
@@ -4050,7 +4050,7 @@ SHLIBSONAME='$(SHLIBFORLINK).$(MAJOR)'
SHLIBFILE='$(SHLIBSONAME).$(MINOR)'
SHLIBCC='$(CC) $(CFLAGS) -fpic'
-MKSHLIB_1='$(CC) $(LDFLAGS) -shared -Wl,-soname=$(SHLIBSONAME) -o'
+MKSHLIB_1='$(CC) $(LDFLAGS) -shared -o'
MKSHLIB_2=''
MKSHLIB_3='-lc'

View file

@ -0,0 +1,11 @@
--- dynamic/Makefile.in.orig Mon Oct 20 01:07:01 2014
+++ dynamic/Makefile.in Wed Apr 27 16:40:21 2016
@@ -32,8 +32,6 @@ ALLOBJS= $(addsuffix _p.o, $(basename $(LIBOBJS)))
install:
mkdir -p $(libdir)
$(INSTALL_PROGRAM) $(SHLIBFILE) $(libdir)/$(SHLIBFILE)
- ln -sf $(SHLIBFILE) $(libdir)/$(SHLIBSONAME)
- ln -sf $(SHLIBSONAME) $(libdir)/$(SHLIBFORLINK)
uninstall:
rm -f $(libdir)/$(SHLIBFILE) $(libdir)/$(SHLIBSONAME)

View file

@ -0,0 +1,10 @@
--- src/dlist.h.orig Mon Oct 20 01:07:03 2014
+++ src/dlist.h Wed Apr 27 16:40:21 2016
@@ -27,6 +27,7 @@
#ifndef ADNS_DLIST_H_INCLUDED
#define ADNS_DLIST_H_INCLUDED
+#undef LIST_INIT
#define LIST_INIT(list) ((list).head= (list).tail= 0)
#define LINK_INIT(link) ((link).next= (link).back= 0)

2
net/adns/pkg/DESCR Normal file
View file

@ -0,0 +1,2 @@
adns is an asynchronous resolver library for C (and C++)
programs, and a collection of useful DNS resolver utilities.

7
net/adns/pkg/PLIST Normal file
View file

@ -0,0 +1,7 @@
@bin bin/adnsheloex
@bin bin/adnshost
@bin bin/adnslogres
@bin bin/adnsresfilter
include/adns.h
@static-lib lib/libadns.a
@lib lib/libadns.so.${LIBadns_VERSION}