summaryrefslogtreecommitdiff
path: root/setup_native/tests/opensolaris/bundledextensions/send_ooo
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2009-10-27 18:23:06 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2009-10-27 18:23:06 +0000
commitd9e6f47543d2cc8b9478c52be27e87c5f71d1b7b (patch)
treedc52e8a10a33533233e2e6606caeb0ff542931cd /setup_native/tests/opensolaris/bundledextensions/send_ooo
parent9af6f6a5b1b86dd39da0ed3031d73496d23f4efd (diff)
CWS-TOOLING: integrate CWS jl133
2009-10-20 11:47:23 +0200 jl r277045 : CWS-TOOLING: rebase CWS jl133 to branches/OOO320@276942 (milestone: OOO320:m2) 2009-09-30 12:23:43 +0200 jl r276551 : #i103747# added dependency to local filesystem service 2009-09-14 14:12:18 +0200 jl r276113 : #i103747# 2009-09-14 14:09:41 +0200 jl r276112 : #i103747# 2009-09-14 13:24:20 +0200 jl r276108 : #i103747# 2009-09-11 08:27:43 +0200 jl r276049 : #i103747# changes for opensolaris bundled extensions 2009-09-11 08:21:36 +0200 jl r276048 : #i103747# changes for opensolaris bundled extensions
Diffstat (limited to 'setup_native/tests/opensolaris/bundledextensions/send_ooo')
-rw-r--r--setup_native/tests/opensolaris/bundledextensions/send_ooo32
1 files changed, 32 insertions, 0 deletions
diff --git a/setup_native/tests/opensolaris/bundledextensions/send_ooo b/setup_native/tests/opensolaris/bundledextensions/send_ooo
new file mode 100644
index 000000000000..669e63ceda1b
--- /dev/null
+++ b/setup_native/tests/opensolaris/bundledextensions/send_ooo
@@ -0,0 +1,32 @@
+#! /bin/bash
+
+
+if [ $# = 0 ]
+then
+echo "usage: send_ooo path_to_pkg_folder
+
+The files
+installed,
+ooo_bundled_extension.xml,
+svc-ooo_bundled_extension
+must be in the current directory. The pkg.depotd or the service
+application/pkg/server must listen to port 80"
+
+exit
+fi
+
+
+EXTENSIONPATH=/opt/openoffice.org3/share/extension/install
+
+eval `pkgsend -s http://localhost:80 open ooo_test@3.2-1`
+pkgsend -s http://localhost:80 import $1/openofficeorg-ure
+pkgsend -s http://localhost:80 import $1/ooobasis*
+pkgsend -s http://localhost:80 import $1/openofficeorg3*
+
+pkgsend -s http://localhost:80 add file installed mode=644 owner=root group=bin path=${EXTENSIONPATH}/installed restart_fmri=svc:/application/ooo_bundled_extensions:default
+pkgsend -s http://localhost:80 add file svc-ooo_bundled_extensions mode=744 owner=root group=bin path=/lib/svc/method/svc-ooo_bundled_extensions
+pkgsend -s http://localhost:80 add file ooo_bundled_extensions.xml mode=644 owner=root group=bin path=/var/svc/manifest/application/ooo_bundled_extensions.xml restart_fmri=svc:/system/manifest-import:default
+
+pkgsend -s http://localhost:80 add set name=description value="OOo 3.2 with dictionaries: en fr es da de"
+pkgsend -s http://localhost:80 close
+