Import of pkgsrc-2016Q3

This commit is contained in:
2016-11-18 22:39:22 +01:00
committed by sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949747 additions and 377081 deletions
+35
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>
+11
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"
+2 -2
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