summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathieu Lonjaret2008-07-01 15:03:53 +0200
committerMathieu Lonjaret2008-07-01 15:03:53 +0200
commit5131621bc59bb78f641b99370e4e8ca388eed387 (patch)
tree289c2b9f8b5bc850ca5979cc4f365b895699a0f0
parentfe220ac3f98f872660147208ae2e2ca8c7c03b76 (diff)
utils/vx32, utils/9vx-data: new spells
-rw-r--r--ChangeLog4
-rwxr-xr-xutils/9vx-data/BUILD1
-rwxr-xr-xutils/9vx-data/DETAILS26
-rwxr-xr-xutils/9vx-data/HISTORY3
-rwxr-xr-xutils/9vx-data/INSTALL2
-rwxr-xr-xutils/vx32/BUILD1
-rwxr-xr-xutils/vx32/DEPENDS4
-rwxr-xr-xutils/vx32/DETAILS16
-rwxr-xr-xutils/vx32/HISTORY3
-rwxr-xr-xutils/vx32/INSTALL12
-rwxr-xr-xutils/vx32/PRE_BUILD3
11 files changed, 75 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e60376dab8..cd19be86eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-07-01 Mathieu Lonjaret <lejatorn@sourcemage.org>
+ * utils/vx32: new spell
+ * utils/9vx-data: new spell
+
2008-06-30 David Kowis <dkowis@shlrm.org>
* perl-cpan/email-send: new spell, needed by latest bugzilla!
* perl-cpan/return-value: new spell, needed for email-send
diff --git a/utils/9vx-data/BUILD b/utils/9vx-data/BUILD
new file mode 100755
index 0000000000..27ba77ddaf
--- /dev/null
+++ b/utils/9vx-data/BUILD
@@ -0,0 +1 @@
+true
diff --git a/utils/9vx-data/DETAILS b/utils/9vx-data/DETAILS
new file mode 100755
index 0000000000..d83da9d8f5
--- /dev/null
+++ b/utils/9vx-data/DETAILS
@@ -0,0 +1,26 @@
+ SPELL=9vx-data
+ VERSION=0.11
+ SOURCE=9vx-${VERSION}.tar.bz2
+ SOURCE_URL=http://pdos.csail.mit.edu/~rsc/${SOURCE}
+ SOURCE_HASH=sha512:ce5c0a2ef58164b1538b7750126480456787d11969fc3287d8159daf00a85bbe79bdd6a79e8f761c5cdd51eafa2fd631222004fdc141f083050c7beb518c2b5d
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/9vx-${VERSION}
+ WEB_SITE=http://swtch.com/9vx/
+ ENTERED=20080701
+ LICENSE[0]="MIT"
+ SHORT="9vx is a port of the plan 9 operating system to
+freebsd, linux, and os x, using the vx32 sandboxing
+library to run "user" programs."
+cat << EOF
+9vx is a port of the plan 9 operating system to
+freebsd, linux, and os x, using the vx32 sandboxing
+library to run "user" programs. 9vx runs as an
+ordinary user program, but behaves like a separate
+vm running plan 9. it makes host resources like
+the file system, network stack, graphics windows,
+and audio devices available as file systems.
+
+9vx requires no host kernel modifications or
+special privileges, and it runs unmodified
+plan9 386 binaries.
+
+EOF
diff --git a/utils/9vx-data/HISTORY b/utils/9vx-data/HISTORY
new file mode 100755
index 0000000000..02d73dcf70
--- /dev/null
+++ b/utils/9vx-data/HISTORY
@@ -0,0 +1,3 @@
+2008-07-01 Mathieu Lonjaret <lejatorn@sourcemage.org>
+ * BUILD, INSTALL, DETAILS, HISTORY: created this spell
+
diff --git a/utils/9vx-data/INSTALL b/utils/9vx-data/INSTALL
new file mode 100755
index 0000000000..60d5df5c45
--- /dev/null
+++ b/utils/9vx-data/INSTALL
@@ -0,0 +1,2 @@
+cp -r ${SOURCE_DIRECTORY} ${INSTALL_ROOT}/opt/9vx-data
+
diff --git a/utils/vx32/BUILD b/utils/vx32/BUILD
new file mode 100755
index 0000000000..8f58e6df93
--- /dev/null
+++ b/utils/vx32/BUILD
@@ -0,0 +1 @@
+make
diff --git a/utils/vx32/DEPENDS b/utils/vx32/DEPENDS
new file mode 100755
index 0000000000..c124bfb72e
--- /dev/null
+++ b/utils/vx32/DEPENDS
@@ -0,0 +1,4 @@
+optional_depends "9vx-data" \
+ "" \
+ "" \
+"To install a plan9 tree (9vx needs one to run)."
diff --git a/utils/vx32/DETAILS b/utils/vx32/DETAILS
new file mode 100755
index 0000000000..cb672321d0
--- /dev/null
+++ b/utils/vx32/DETAILS
@@ -0,0 +1,16 @@
+ SPELL=vx32
+ VERSION=0.11
+ SOURCE=${SPELL}-${VERSION}.tar.bz2
+ SOURCE_URL=http://pdos.csail.mit.edu/~baford/vm/release/${SOURCE}
+ SOURCE_HASH=sha512:3061b39856479a2e308890aeee53b4f55abf377f65aa124094d5d55478c0ab7908f75c372ff7c2c258af74665e1d1aa9eda5246680f885778a02a412a98ae000
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-${VERSION}/src
+ WEB_SITE=http://pdos.csail.mit.edu/~baford/vm/
+ ENTERED=20080629
+ LICENSE[0]="LGPL"
+ SHORT="Vx32: portable, efficient, safe
+execution of untrusted x86 code"
+cat << EOF
+Vx32 is a user-mode library that can be linked into arbitrary applications that wish to create secure, isolated execution environments in which to run untrusted extensions or plug-ins implemented as native x86 code. Vx32 is similar in purpose to the Java or .NET virtual machines, but it runs native x86 code, so plug-ins can be written in ANY language, not just Java or C#.
+
+Vx32 runs on unmodified x86 FreeBSD, Linux, and Mac OS X systems without special permissions, privileges, or kernel modules. It also runs on x86-64 Linux systems. Ports to x86-64 FreeBSD and Mac OS X should not be difficult. A port to Windows XP should also be possible.
+EOF
diff --git a/utils/vx32/HISTORY b/utils/vx32/HISTORY
new file mode 100755
index 0000000000..13b95231f9
--- /dev/null
+++ b/utils/vx32/HISTORY
@@ -0,0 +1,3 @@
+2008-06-30 Mathieu Lonjaret <lejatorn@sourcemage.org>
+ * PRE_BUILD, BUILD, INSTALL, DEPENDS, DETAILS, HISTORY: created this spell
+
diff --git a/utils/vx32/INSTALL b/utils/vx32/INSTALL
new file mode 100755
index 0000000000..9b69532a81
--- /dev/null
+++ b/utils/vx32/INSTALL
@@ -0,0 +1,12 @@
+make install &&
+install 9vx/9vx /usr/bin/9vx &&
+install -d ${INSTALL_ROOT}/usr/include/vx32 &&
+install -d ${INSTALL_ROOT}/usr/lib/vx32 &&
+mv /usr/vx32/include/* \
+${INSTALL_ROOT}/usr/include/vx32/ &&
+mv /usr/vx32/lib/* \
+${INSTALL_ROOT}/usr/lib/vx32/ &&
+rm -rf /usr/vx32
+
+
+ \ No newline at end of file
diff --git a/utils/vx32/PRE_BUILD b/utils/vx32/PRE_BUILD
new file mode 100755
index 0000000000..999e9a44fb
--- /dev/null
+++ b/utils/vx32/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+sed -i -r 's:/usr/local:/usr:' GNUmakefile \ No newline at end of file