pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

virtualbox-svn: Fix shell portability (patch pending upstream)



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sun Aug 7 02:40:35 2016 +0200
Changeset:	a7fb2d641bcad6071c44cebbe78e72ec9b92b4e7

Modified Files:
	virtualbox-svn/distinfo
Added Files:
	virtualbox-svn/patches/patch-src_VBox_Installer_darwin_VirtualBox_postflight
	virtualbox-svn/patches/patch-src_VBox_Installer_darwin_VirtualBox_preflight
	virtualbox-svn/patches/patch-src_VBox_VMM_testcase_mkdsk.sh

Log Message:
virtualbox-svn: Fix shell portability (patch pending upstream)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a7fb2d641bcad6071c44cebbe78e72ec9b92b4e7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 virtualbox-svn/distinfo                                |  3 +++
 ...tch-src_VBox_Installer_darwin_VirtualBox_postflight | 18 ++++++++++++++++++
 ...atch-src_VBox_Installer_darwin_VirtualBox_preflight | 13 +++++++++++++
 .../patches/patch-src_VBox_VMM_testcase_mkdsk.sh       | 13 +++++++++++++
 4 files changed, 47 insertions(+)

diffs:
diff --git a/virtualbox-svn/distinfo b/virtualbox-svn/distinfo
index 3d322c1..b6c650a 100644
--- a/virtualbox-svn/distinfo
+++ b/virtualbox-svn/distinfo
@@ -4,3 +4,6 @@ SHA1 (VirtualBox-5.0.16.tar.bz2) = ca7b3fadda37b1b281f78ef2d573aceacab7d9fd
 RMD160 (VirtualBox-5.0.16.tar.bz2) = 6d7a5d6cae5367d26a015895c09294ff0282d062
 SHA512 (VirtualBox-5.0.16.tar.bz2) = 3da3a227360fb50d299e99770378f65e8cb99525377343fa8faff2360be66643d46f68323d6a8b8d4d26182082f171bb35ab2497167bf6df18827a5ea7742074
 Size (VirtualBox-5.0.16.tar.bz2) = 111062984 bytes
+SHA1 (patch-src_VBox_Installer_darwin_VirtualBox_postflight) = d073de54d5de4f61e154003e8e2acc039b6e059b
+SHA1 (patch-src_VBox_Installer_darwin_VirtualBox_preflight) = f24f7d6dd449e6ad664b8e5a8f5861dd7e0f13e8
+SHA1 (patch-src_VBox_VMM_testcase_mkdsk.sh) = d949a78be396466636aa2c8d92e6ecf76725f336
diff --git a/virtualbox-svn/patches/patch-src_VBox_Installer_darwin_VirtualBox_postflight b/virtualbox-svn/patches/patch-src_VBox_Installer_darwin_VirtualBox_postflight
new file mode 100644
index 0000000..d3b9071
--- /dev/null
+++ b/virtualbox-svn/patches/patch-src_VBox_Installer_darwin_VirtualBox_postflight
@@ -0,0 +1,18 @@
+$NetBSD$
+
+--- src/VBox/Installer/darwin/VirtualBox/postflight.orig	2016-08-05 17:05:00.000000000 +0000
++++ src/VBox/Installer/darwin/VirtualBox/postflight
+@@ -69,7 +69,7 @@ if [[ -e "${LSREGISTER}" && "x" != "x${U
+ fi
+ 
+ # Check environment.
+-if [ "${INSTALLER_TEMP}x" == "x" ]; then
++if [ "${INSTALLER_TEMP}x" = "x" ]; then
+     echo "Required environment variable INSTALLER_TEMP is missing. Aborting installation."
+     exit 1;
+ fi
+@@ -96,4 +96,3 @@ for bin in ${SET_UID_BINARIES}; do
+ done
+ 
+ exit 0;
+-
diff --git a/virtualbox-svn/patches/patch-src_VBox_Installer_darwin_VirtualBox_preflight b/virtualbox-svn/patches/patch-src_VBox_Installer_darwin_VirtualBox_preflight
new file mode 100644
index 0000000..193caf7
--- /dev/null
+++ b/virtualbox-svn/patches/patch-src_VBox_Installer_darwin_VirtualBox_preflight
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/VBox/Installer/darwin/VirtualBox/preflight.orig	2016-08-05 17:05:00.000000000 +0000
++++ src/VBox/Installer/darwin/VirtualBox/preflight
+@@ -15,7 +15,7 @@
+ set -e
+ 
+ # Check environment.
+-if [ "${INSTALLER_TEMP}x" == "x" ]; then
++if [ "${INSTALLER_TEMP}x" = "x" ]; then
+     echo "Required environment variable INSTALLER_TEMP is missing. Aborting installation."
+     exit 1;
+ fi
diff --git a/virtualbox-svn/patches/patch-src_VBox_VMM_testcase_mkdsk.sh b/virtualbox-svn/patches/patch-src_VBox_VMM_testcase_mkdsk.sh
new file mode 100644
index 0000000..6249414
--- /dev/null
+++ b/virtualbox-svn/patches/patch-src_VBox_VMM_testcase_mkdsk.sh
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/VBox/VMM/testcase/mkdsk.sh.orig	2016-08-05 17:07:47.000000000 +0000
++++ src/VBox/VMM/testcase/mkdsk.sh
+@@ -11,7 +11,7 @@
+ # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
+ #
+ 
+-if [ "x$3" == "x" ]; then
++if [ "x$3" = "x" ]; then
+ 
+     echo "syntax error"
+     echo "syntax: $0 imagename <size-in-KBs> <init prog> [tar files]"


Home | Main Index | Thread Index | Old Index