Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.37 2015/07/15 18:09:05 pettai Exp $
# $NetBSD: Makefile,v 1.46 2016/06/16 13:50:39 pettai Exp $
DISTNAME= unbound-1.5.4
DISTNAME= unbound-1.5.9
CATEGORIES= net
MASTER_SITES= http://www.unbound.net/downloads/
@@ -20,6 +20,11 @@ CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/unbound/unbound.pid
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE}
CONFIGURE_ARGS+= --enable-allsymbols
# unbound uses some OpenBSD libc functions such as reallocarray(3).
# The existing tests just look for the symbol in libc regardless
# of anything in stdlib.h
CPPFLAGS.NetBSD+= -D_OPENBSD_SOURCE
# Add the same logic as for ldns, so sha2/gost is configured automatically
CHECK_BUILTIN.openssl= yes
.include "../../security/openssl/builtin.mk"
@@ -80,6 +85,8 @@ CONF_FILES+= share/examples/unbound/unbound.conf \
${PKG_SYSCONFDIR}/unbound.conf
RCD_SCRIPTS= unbound
SMF_METHODS= unbound
SMF_NAME= unbound
UNBOUND_USER?= unbound
UNBOUND_GROUP?= unbound

View File

@@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.28 2015/07/15 18:09:05 pettai Exp $
$NetBSD: distinfo,v 1.32 2016/06/16 13:50:39 pettai Exp $
SHA1 (unbound-1.5.4.tar.gz) = ce0abc1563baa776a0f2c21516ffc13e6bff7d0f
RMD160 (unbound-1.5.4.tar.gz) = 0d77e595ae80191d382b44c89365ef9054f374df
Size (unbound-1.5.4.tar.gz) = 4844273 bytes
SHA1 (unbound-1.5.9.tar.gz) = 4882c52aac0abcd72a86ac5d06e9cd39576620ce
RMD160 (unbound-1.5.9.tar.gz) = 4fb82f0e132e422a5d2481517348f1e1802bf23d
SHA512 (unbound-1.5.9.tar.gz) = a0f43a22d2c357b78482e5049fd77b100966964d861536169bd79379c02b96651e52c47f3f5001ac8e1ca474d41f784395adb44b61157487723f9f15287c97f4
Size (unbound-1.5.9.tar.gz) = 4924965 bytes

View File

@@ -0,0 +1,35 @@
<?xml version="1.0"?>
<!-- $NetBSD: manifest.xml,v 1.3 2016/06/08 10:16:55 jperkin Exp $ -->
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<service_bundle type="manifest" name="export">
<service name="@SMF_PREFIX@/@SMF_NAME@" type="service" version="1">
<create_default_instance enabled="false" />
<single_instance />
<dependency name='network' grouping='require_all' restart_on='error' type='service'>
<service_fmri value='svc:/milestone/network:default' />
</dependency>
<dependency name='filesystem-local' grouping='require_all' restart_on='none' type='service'>
<service_fmri value='svc:/system/filesystem/local:default' />
</dependency>
<method_context>
<method_environment>
<envvar name="LD_PRELOAD_32" value="/usr/lib/extendedFILE.so.1" />
</method_environment>
</method_context>
<exec_method type='method' name='start' exec='@PREFIX@/@SMF_METHOD_FILE.unbound@ %{config_file}' timeout_seconds='60' />
<exec_method type="method" name="stop" exec=":kill" timeout_seconds="60" />
<exec_method type="method" name="refresh" exec=":kill -HUP" timeout_seconds="60" />
<property_group name="startd" type="framework">
<propval name="duration" type="astring" value="contract" />
<propval name="ignore_error" type="astring" value="core,signal" />
</property_group>
<property_group name="application" type="application">
<propval name="config_file" type="astring" value="@PKG_SYSCONFDIR@/unbound.conf" />
</property_group>
<template>
<common_name>
<loctext xml:lang="C">unbound DNS cache</loctext>
</common_name>
</template>
</service>
</service_bundle>

View File

@@ -0,0 +1,11 @@
#!/sbin/sh
# $NetBSD: unbound.sh,v 1.1 2015/10/21 21:30:14 joerg Exp $
. /lib/svc/share/smf_include.sh
if [ ! -d @VARBASE@/run/unbound ]; then
@MKDIR@ @VARBASE@/run/unbound
@CHMOD@ 0750 @VARBASE@/run/unbound
@CHOWN@ @UNBOUND_USER@:@UNBOUND_GROUP@ @VARBASE@/run/unbound
fi
@PREFIX@/sbin/unbound -c "$1"

View File

@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: unbound.sh,v 1.4 2015/03/19 22:37:06 pettai Exp $
# $NetBSD: unbound.sh,v 1.5 2015/12/28 13:48:30 bsiegert Exp $
#
# PROVIDE: unbound
# REQUIRE: DAEMON
@@ -33,5 +33,5 @@ if [ -f /etc/rc.subr ]; then
run_rc_command "$1"
else
echo -n " ${name}"
${command} ${nsd_flags}
${command} ${unbound_flags}
fi