summaryrefslogtreecommitdiff
path: root/sysutils/xentools45
diff options
context:
space:
mode:
authorbad <bad>2016-04-04 14:40:57 +0000
committerbad <bad>2016-04-04 14:40:57 +0000
commit0f15c48eeb9a42f8466af027313ed8acecd79f7c (patch)
treebfc128fde50f757acea1f3ab98766778d40a2299 /sysutils/xentools45
parent739463b0d023c8c93b76f436e0dcbaf93c140ba4 (diff)
downloadpkgsrc-0f15c48eeb9a42f8466af027313ed8acecd79f7c.tar.gz
Fix xenstored DB location and lock directory under NetBSD.
The xenstored database is ephemeral and must be removed during system boot. Put it into /var/run/xenstored. The ocaml xenstored does that already. /var/lock doesn't exist on NetBSD, use /var/run instead.
Diffstat (limited to 'sysutils/xentools45')
-rw-r--r--sysutils/xentools45/distinfo4
-rw-r--r--sysutils/xentools45/patches/patch-configure32
2 files changed, 29 insertions, 7 deletions
diff --git a/sysutils/xentools45/distinfo b/sysutils/xentools45/distinfo
index cb4340f1072..8b6f233da34 100644
--- a/sysutils/xentools45/distinfo
+++ b/sysutils/xentools45/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2016/04/04 14:35:12 bad Exp $
+$NetBSD: distinfo,v 1.18 2016/04/04 14:40:57 bad Exp $
SHA1 (ipxe-git-9a93db3f0947484e30e753bbd61a10b17336e20e.tar.gz) = fecadf952821e830ce1a1d19655288eef8488f88
RMD160 (ipxe-git-9a93db3f0947484e30e753bbd61a10b17336e20e.tar.gz) = 539bfa12db7054228250d6dd380bbf96c1a040f8
@@ -24,7 +24,7 @@ SHA1 (patch-CVE-2015-8554) = 908783cf619fc130d5a107ba2c4997fca0f0da88
SHA1 (patch-Makefile) = eb5d3211b26c5f10a24fcca658c83d5f60990d9f
SHA1 (patch-Rules.mk) = e0dc4234c35dc2d78afad4a90b0af829a6a10b50
SHA1 (patch-blktap_drivers_Makefile) = 7cc53b2a0dea1694a969046ab8542271ca63f9e7
-SHA1 (patch-configure) = d1a1b9c9e00dd79bb872190282006201510ce2c1
+SHA1 (patch-configure) = 97f9715fbc586a76ee8203723b2d9183450f7bec
SHA1 (patch-console_daemon_utils.c) = 915078ce6155a367e3e597fa7ab551f6afac083f
SHA1 (patch-examples_Makefile) = 5fe7bb876d254cf0c4f774ed0f08dcaea5b355ff
SHA1 (patch-firmware_etherboot_Makefile) = f55e14948b7191e533a82b8fc3575f1052f23c45
diff --git a/sysutils/xentools45/patches/patch-configure b/sysutils/xentools45/patches/patch-configure
index 753c6b43df2..1220e40b3e3 100644
--- a/sysutils/xentools45/patches/patch-configure
+++ b/sysutils/xentools45/patches/patch-configure
@@ -1,7 +1,7 @@
-$NetBSD: patch-configure,v 1.1 2015/01/20 16:42:13 bouyer Exp $
+$NetBSD: patch-configure,v 1.2 2016/04/04 14:40:57 bad Exp $
---- configure.orig 2015-01-12 17:53:24.000000000 +0100
-+++ configure 2015-01-19 20:34:47.000000000 +0100
+--- configure.orig 2015-11-03 10:11:18.000000000 +0100
++++ configure 2016-03-25 23:18:53.000000000 +0100
@@ -2276,7 +2276,7 @@
@@ -20,16 +20,38 @@ $NetBSD: patch-configure,v 1.1 2015/01/20 16:42:13 bouyer Exp $
sysconfdir=$prefix/etc
;;
*solaris*)
-@@ -9483,6 +9483,8 @@
+@@ -3776,7 +3776,7 @@
+ XEN_LOG_DIR=$localstatedir/log/xen
+
+
+-XEN_LIB_STORED=$localstatedir/lib/xenstored
++XEN_LIB_STORED=$localstatedir/run/xenstored
+
+
+ SHAREDIR=$prefix/share
+@@ -3796,7 +3796,7 @@
+
+ case "$host_os" in
+ *freebsd*) XEN_LOCK_DIR=$localstatedir/lib ;;
+-*netbsd*) XEN_LOCK_DIR=$localstatedir/lib ;;
++*netbsd*) XEN_LOCK_DIR=$localstatedir/run ;;
+ *) XEN_LOCK_DIR=$localstatedir/lock ;;
+ esac
+
+@@ -9483,6 +9483,12 @@
case $ac_option in
# Handling of the options.
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ : Avoid regenerating within pkgsrc
+ exit 0
++ : Avoid regenerating within pkgsrc
++ exit 0
++ : Avoid regenerating within pkgsrc
++ exit 0
ac_cs_recheck=: ;;
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
$as_echo "$ac_cs_version"; exit ;;
-@@ -9566,6 +9568,7 @@
+@@ -9566,6 +9572,7 @@
do
case $ac_config_target in
"../config/Tools.mk") CONFIG_FILES="$CONFIG_FILES ../config/Tools.mk" ;;