summaryrefslogtreecommitdiff
path: root/sysutils/znapzend
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2015-01-17 18:53:48 +0000
committerwiedi <wiedi@pkgsrc.org>2015-01-17 18:53:48 +0000
commit78be70d3f5e57a5045f975ad45fbd2dfb33e7a8a (patch)
treefb3e5702ec0c310d0b1d0ecec2314375db152ddf /sysutils/znapzend
parent9d2a3796b6699e4d585b5c5303de6fefc4d19bb2 (diff)
downloadpkgsrc-78be70d3f5e57a5045f975ad45fbd2dfb33e7a8a.tar.gz
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
Diffstat (limited to 'sysutils/znapzend')
-rw-r--r--sysutils/znapzend/Makefile4
-rw-r--r--sysutils/znapzend/distinfo9
-rw-r--r--sysutils/znapzend/files/smf/manifest.xml11
-rw-r--r--sysutils/znapzend/patches/patch-configure19
4 files changed, 32 insertions, 11 deletions
diff --git a/sysutils/znapzend/Makefile b/sysutils/znapzend/Makefile
index d018148e083..48504153eaf 100644
--- a/sysutils/znapzend/Makefile
+++ b/sysutils/znapzend/Makefile
@@ -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
diff --git a/sysutils/znapzend/distinfo b/sysutils/znapzend/distinfo
index 9519ad9538a..f7cbfb9a107 100644
--- a/sysutils/znapzend/distinfo
+++ b/sysutils/znapzend/distinfo
@@ -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
diff --git a/sysutils/znapzend/files/smf/manifest.xml b/sysutils/znapzend/files/smf/manifest.xml
index 30b7323ad13..812e7cc433e 100644
--- a/sysutils/znapzend/files/smf/manifest.xml
+++ b/sysutils/znapzend/files/smf/manifest.xml
@@ -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>
diff --git a/sysutils/znapzend/patches/patch-configure b/sysutils/znapzend/patches/patch-configure
new file mode 100644
index 00000000000..acacab4d26b
--- /dev/null
+++ b/sysutils/znapzend/patches/patch-configure
@@ -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
+