Update znapzend to 0.14

Changelog:
 v0.14.0 - oetiker released this on Dec 16, 2014:
	- build dependencies directly with make
	- optionally prefix pfexec|sudo to zfs|zpool|test comands
	- set mbuffer timeout to 60 seconds this might help with timeout situations seen on solaris
	- fix string replacement in manifest file
	- let smf manage pids instead of a pid file
This commit is contained in:
wiedi 2015-01-17 18:53:48 +00:00
parent d417b737e3
commit 8453bb69ff
4 changed files with 32 additions and 11 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.2 2014/10/21 12:46:25 wiedi Exp $
# $NetBSD: Makefile,v 1.3 2015/01/17 18:53:48 wiedi Exp $
VERSION= 0.13.0
VERSION= 0.14.0
DISTNAME= v${VERSION}
PKGNAME= znapzend-${VERSION}
CATEGORIES= sysutils

View file

@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.2 2014/10/21 12:46:25 wiedi Exp $
$NetBSD: distinfo,v 1.3 2015/01/17 18:53:48 wiedi Exp $
SHA1 (v0.13.0.tar.gz) = 7eebaa8a42e5f3f5f9dcef0f11e2ab3cf2358a3a
RMD160 (v0.13.0.tar.gz) = 87776533ef638d2e9ab17fe79dea79fc503fe551
Size (v0.13.0.tar.gz) = 127962 bytes
SHA1 (v0.14.0.tar.gz) = 0435c788fe0a32767c43c1c79837a5e72e4d6f14
RMD160 (v0.14.0.tar.gz) = c499a70cd117376e3577c22cc7bd9668bf4038b2
Size (v0.14.0.tar.gz) = 134792 bytes
SHA1 (patch-configure) = 2aea161065807a38db3d38bc306acc9e37d51aac

View file

@ -11,17 +11,18 @@
<method_context><method_credential user='root'/></method_context>
<exec_method type="method" name="start" exec="@PREFIX@/bin/znapzend --daemonize --pidfile=/dev/null" timeout_seconds="170" />
<exec_method type="method" name="stop" exec=":kill" timeout_seconds="60" />
<exec_method type="method" name="start" exec="@PREFIX@/bin/znapzend --daemonize --pidfile=/dev/null" timeout_seconds="180" />
<exec_method type="method" name="stop" exec=":kill" timeout_seconds="180" />
<exec_method type="method" name="refresh" exec=":kill -HUP" timeout_seconds="180" />
<stability value="Unstable" />
<template>
<common_name><loctext xml:lang="C">ZnapZend - ZFS Backup System</loctext></common_name>
<documentation>
<manpage title="znapzend" section="1" manpath="@PREFIX@/share/man" />
<manpage title="znapzendzetup" section="1" manpath="@PREFIX@/share/man" />
<manpage title="znapzendztatz" section="1" manpath="@PREFIX@/share/man" />
<manpage title="znapzend" section="1" manpath="@PREFIX@/@PKGMANDIR@/" />
<manpage title="znapzendzetup" section="1" manpath="@PREFIX@/@PKGMANDIR@/" />
<manpage title="znapzendztatz" section="1" manpath="@PREFIX@/@PKGMANDIR@/" />
</documentation>
</template>
</service>

View file

@ -0,0 +1,19 @@
$NetBSD: patch-configure,v 1.1 2015/01/17 18:53:48 wiedi Exp $
install man pages to the correct location
--- configure.orig 2014-12-16 22:48:06.000000000 +0000
+++ configure
@@ -2542,11 +2542,11 @@ if test x$exec_prefix = xNONE; then
exec_prefix=$actual_prefix
fi
-if test x$datarootdir=x'${prefix}/share'; then
+if test "x$datarootdir" = "x${prefix}/share"; then
datarootdir=$actual_prefix/share
fi
-if test x$mandir=x'${datarootdir}/man'; then
+if test "x$mandir" = "x${datarootdir}/man"; then
mandir=$datarootdir/man
fi