import net/libunbound, ok/feedback jca@ florian@
This package contains the validating resolver library from the Unbound distribution (the main Unbound resolver daemon and tools are in OpenBSD's base OS).
This commit is contained in:
parent
839c4a60cb
commit
0feaf9761b
47
net/libunbound/Makefile
Normal file
47
net/libunbound/Makefile
Normal file
@ -0,0 +1,47 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2018/12/17 09:58:46 sthen Exp $
|
||||
|
||||
COMMENT= validating DNS resolver library
|
||||
|
||||
DISTNAME= unbound-1.8.3
|
||||
PKGNAME= lib${DISTNAME}
|
||||
|
||||
SHARED_LIBS= unbound 4.0
|
||||
|
||||
CATEGORIES= net
|
||||
|
||||
HOMEPAGE= https://www.unbound.net/
|
||||
|
||||
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
WANTLIB += crypto event ssl
|
||||
|
||||
MASTER_SITES= https://www.unbound.net/downloads/
|
||||
|
||||
SEPARATE_BUILD= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
|
||||
# in sync with src/usr.sbin/unbound, apart from --enable-allsymbols
|
||||
CONFIGURE_ARGS+= \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
--with-ssl=/usr \
|
||||
--with-libevent=/usr \
|
||||
--with-libexpat=/usr \
|
||||
--without-pthreads \
|
||||
--without-pythonmodule \
|
||||
--with-chroot-dir=/var/unbound \
|
||||
--with-pidfile="" \
|
||||
--with-rootkey-file=/var/unbound/db/root.key \
|
||||
--with-conf-file=/var/unbound/etc/unbound.conf \
|
||||
--with-username=_unbound
|
||||
|
||||
ALL_TARGET= lib
|
||||
INSTALL_TARGET= install-lib
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKBUILD}/contrib/libunbound.pc ${PREFIX}/lib/
|
||||
|
||||
.include <bsd.port.mk>
|
2
net/libunbound/distinfo
Normal file
2
net/libunbound/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (unbound-1.8.3.tar.gz) = K2krgxHt+tQefQOAqsNFdgYNQXat2B3F20GcebKkzsw=
|
||||
SIZE (unbound-1.8.3.tar.gz) = 5629180
|
13
net/libunbound/patches/patch-Makefile_in
Normal file
13
net/libunbound/patches/patch-Makefile_in
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2018/12/17 09:58:46 sthen Exp $
|
||||
|
||||
Index: Makefile.in
|
||||
--- Makefile.in.orig
|
||||
+++ Makefile.in
|
||||
@@ -529,7 +529,6 @@ install-lib: lib $(UNBOUND_EVENT_INSTALL)
|
||||
done
|
||||
$(LIBTOOL) --mode=install cp unbound.h $(DESTDIR)$(includedir)/unbound.h
|
||||
$(LIBTOOL) --mode=install cp libunbound.la $(DESTDIR)$(libdir)
|
||||
- $(LIBTOOL) --mode=finish $(DESTDIR)$(libdir)
|
||||
|
||||
install-all: all $(PYTHONMOD_INSTALL) $(PYUNBOUND_INSTALL) $(UNBOUND_EVENT_INSTALL) install-lib
|
||||
$(INSTALL) -m 755 -d $(DESTDIR)$(sbindir)
|
3
net/libunbound/pkg/DESCR
Normal file
3
net/libunbound/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
This package contains the validating resolver library from the Unbound
|
||||
distribution (the main Unbound resolver daemon and tools are in OpenBSD's
|
||||
base OS).
|
38
net/libunbound/pkg/PLIST
Normal file
38
net/libunbound/pkg/PLIST
Normal file
@ -0,0 +1,38 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2018/12/17 09:58:46 sthen Exp $
|
||||
@conflict unbound-*
|
||||
include/unbound.h
|
||||
lib/libunbound.a
|
||||
lib/libunbound.la
|
||||
lib/libunbound.pc
|
||||
@lib lib/libunbound.so.${LIBunbound_VERSION}
|
||||
@man man/man3/libunbound.3
|
||||
@man man/man3/ub_cancel.3
|
||||
@man man/man3/ub_ctx.3
|
||||
@man man/man3/ub_ctx_add_ta.3
|
||||
@man man/man3/ub_ctx_add_ta_file.3
|
||||
@man man/man3/ub_ctx_async.3
|
||||
@man man/man3/ub_ctx_config.3
|
||||
@man man/man3/ub_ctx_create.3
|
||||
@man man/man3/ub_ctx_data_add.3
|
||||
@man man/man3/ub_ctx_data_remove.3
|
||||
@man man/man3/ub_ctx_debuglevel.3
|
||||
@man man/man3/ub_ctx_debugout.3
|
||||
@man man/man3/ub_ctx_delete.3
|
||||
@man man/man3/ub_ctx_get_option.3
|
||||
@man man/man3/ub_ctx_hosts.3
|
||||
@man man/man3/ub_ctx_print_local_zones.3
|
||||
@man man/man3/ub_ctx_resolvconf.3
|
||||
@man man/man3/ub_ctx_set_fwd.3
|
||||
@man man/man3/ub_ctx_set_option.3
|
||||
@man man/man3/ub_ctx_trustedkeys.3
|
||||
@man man/man3/ub_ctx_zone_add.3
|
||||
@man man/man3/ub_ctx_zone_remove.3
|
||||
@man man/man3/ub_fd.3
|
||||
@man man/man3/ub_poll.3
|
||||
@man man/man3/ub_process.3
|
||||
@man man/man3/ub_resolve.3
|
||||
@man man/man3/ub_resolve_async.3
|
||||
@man man/man3/ub_resolve_free.3
|
||||
@man man/man3/ub_result.3
|
||||
@man man/man3/ub_strerror.3
|
||||
@man man/man3/ub_wait.3
|
Loading…
x
Reference in New Issue
Block a user