Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Julien ROZO (bfd38e7f3506ea2ee3e50f4b5ab8cbc261108881)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Julien ROZO <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Julien ROZO (bfd38e7f3506ea2ee3e50f4b5ab8cbc261108881)
  • Date: Thu, 23 Apr 2009 04:48:50 -0500

GIT changes to master grimoire by Julien ROZO <julien AT rozo.org>:

utils/virtualbox/BUILD | 4 ++++
utils/virtualbox/CONFIGURE | 1 +
utils/virtualbox/DEPENDS | 1 -
utils/virtualbox/HISTORY | 7 +++++++
utils/virtualbox/INSTALL | 7 +++++++
utils/virtualbox/PRE_BUILD | 6 ------
6 files changed, 19 insertions(+), 7 deletions(-)

New commits:
commit 01c4314b5d3dc384afe8fe7cef635c4514649c4d
Author: Julien ROZO <julien AT rozo.org>
Commit: Julien ROZO <julien AT rozo.org>

virtualbox: removed qt-x11 dependency
added possibility to choose hardened version of virtualbox or not

diff --git a/utils/virtualbox/BUILD b/utils/virtualbox/BUILD
index 78ab2bc..949b3cb 100755
--- a/utils/virtualbox/BUILD
+++ b/utils/virtualbox/BUILD
@@ -1,3 +1,7 @@
+if [ $VBOXHARD == "n" ]; then
+ OPTS="--disable-hardening $OPTS"
+fi &&
+
./configure $OPTS &&
source ./env.sh &&
kmk all
diff --git a/utils/virtualbox/CONFIGURE b/utils/virtualbox/CONFIGURE
new file mode 100755
index 0000000..3c9c4d2
--- /dev/null
+++ b/utils/virtualbox/CONFIGURE
@@ -0,0 +1 @@
+config_query VBOXHARD "Will you use ${SPELL} in production ? (enable
hardening)" y
diff --git a/utils/virtualbox/DEPENDS b/utils/virtualbox/DEPENDS
index 3613606..2196b14 100755
--- a/utils/virtualbox/DEPENDS
+++ b/utils/virtualbox/DEPENDS
@@ -4,7 +4,6 @@ depends dev86 &&
depends iasl &&
depends libxslt &&
depends libxml2 &&
-depends qt-x11 &&
depends qt4 &&
depends sdl &&
depends libidl &&
diff --git a/utils/virtualbox/HISTORY b/utils/virtualbox/HISTORY
index 99a8899..2a71684 100644
--- a/utils/virtualbox/HISTORY
+++ b/utils/virtualbox/HISTORY
@@ -1,3 +1,10 @@
+2009-04-23 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * DEPENDS: removed qt-x11, no longer needed
+ * PRE_BUILD: removed FAKEQTDIR creation
+ * CONFIGURE: added, to choose between hardened version or not
+ * BUILD: disable hardened version if not chosen
+ * INSTALL: added setuid on executables if hardened version is chosen
+
2009-04-08 Ladislav Hagara <hgr AT vabo.cz>
* DETAILS: 2.2.0
* DEPENDS: removed gcc34
diff --git a/utils/virtualbox/INSTALL b/utils/virtualbox/INSTALL
index 78ec9c9..76055c7 100755
--- a/utils/virtualbox/INSTALL
+++ b/utils/virtualbox/INSTALL
@@ -11,4 +11,11 @@ rm -r vboxdrv &&

cp -r * /opt/virtualbox &&

+if [ $VBOXHARD == "y" ]; then
+ cd /opt/virtualbox &&
+ for f in VirtualBox VBoxHeadless VBoxSDL VBoxBFE VBoxNetDHCP
VBoxNetAdpCtl; do
+ chmod 4511 $f
+ done;
+fi &&
+
cp $SCRIPT_DIRECTORY/virtualbox /usr/bin
diff --git a/utils/virtualbox/PRE_BUILD b/utils/virtualbox/PRE_BUILD
index 2118540..ea061cb 100755
--- a/utils/virtualbox/PRE_BUILD
+++ b/utils/virtualbox/PRE_BUILD
@@ -1,12 +1,6 @@
default_pre_build &&
cd $SOURCE_DIRECTORY &&

-mkdir FAKEQTDIR &&
-
-ln -s $TRACK_ROOT/usr/include/qt $SOURCE_DIRECTORY/FAKEQTDIR/include &&
-ln -s $TRACK_ROOT/usr/bin $SOURCE_DIRECTORY/FAKEQTDIR/bin &&
-ln -s $TRACK_ROOT/usr/lib $SOURCE_DIRECTORY/FAKEQTDIR/lib &&
-
mkdir FAKEQT4DIR &&

ln -s $TRACK_ROOT/usr/include $SOURCE_DIRECTORY/FAKEQT4DIR/include &&



  • [SM-Commit] GIT changes to master grimoire by Julien ROZO (bfd38e7f3506ea2ee3e50f4b5ab8cbc261108881), Julien ROZO, 04/23/2009

Archive powered by MHonArc 2.6.24.

Top of Page