1
0
forked from ports/contrib

Merge branch '2.7' of crux:/home/crux/scm/ports/contrib into 2.7

This commit is contained in:
Thomas Penteker 2011-08-11 23:24:27 +02:00
commit c1339876ae
16 changed files with 249 additions and 65 deletions

View File

@ -2785,6 +2785,33 @@ drwxr-xr-x root/root usr/lib/libreoffice/basis3.4/share/registry/res/
drwxr-xr-x root/root usr/lib/libreoffice/basis3.4/share/samples/
drwxr-xr-x root/root usr/lib/libreoffice/basis3.4/share/samples/en-US/
drwxr-xr-x root/root usr/lib/libreoffice/basis3.4/share/template/
drwxr-xr-x root/root usr/lib/libreoffice/basis3.4/share/template/common/
drwxr-xr-x root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-aqua.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-blackandwhite.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-bluegrey.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-bluelinesgrad.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-bluetitledown.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-book.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-brown.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-charglow.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-forest.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-frepa.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-glacier.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-greengradlines.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-keyboard.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-movwaves.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-numdark.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-ocean.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-organic.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-paper.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-rededges.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-roundedrect.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-sunrise.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-techpoly.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-tunnel.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-water.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/common/layout/lyt-wine.otp
drwxr-xr-x root/root usr/lib/libreoffice/basis3.4/share/template/en-US/
drwxr-xr-x root/root usr/lib/libreoffice/basis3.4/share/template/en-US/internal/
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/en-US/internal/html.stw
@ -2873,32 +2900,6 @@ drwxr-xr-x root/root usr/lib/libreoffice/basis3.4/share/template/en-US/wizard/st
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/en-US/wizard/styles/pool.ots
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/en-US/wizard/styles/pumpkin.ots
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/en-US/wizard/styles/xos.ots
drwxr-xr-x root/root usr/lib/libreoffice/basis3.4/share/template/layout/
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-aqua.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-blackandwhite.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-bluegrey.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-bluelinesgrad.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-bluetitledown.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-book.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-brown.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-charglow.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-forest.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-frepa.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-glacier.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-greengradlines.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-keyboard.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-movwaves.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-numdark.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-ocean.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-organic.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-paper.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-rededges.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-roundedrect.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-sunrise.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-techpoly.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-tunnel.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-water.otp
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/layout/lyt-wine.otp
drwxr-xr-x root/root usr/lib/libreoffice/basis3.4/share/template/wizard/
drwxr-xr-x root/root usr/lib/libreoffice/basis3.4/share/template/wizard/bitmap/
-r--r--r-- root/root usr/lib/libreoffice/basis3.4/share/template/wizard/bitmap/Import_1.bmp

View File

@ -1 +1 @@
236aa36128f195d22cba23cdd8d64c1c LibO_3.4.0_Linux_x86_install-rpm_en-US.tar.gz
502bb95b7ec6e652f7ff6edef31db2a9 LibO_3.4.2_Linux_x86_install-rpm_en-US.tar.gz

View File

@ -4,10 +4,9 @@
# Depends on: mesa3d xorg-libxaw xorg-libxcursor xorg-libxft xorg-libxinerama xorg-libxi xorg-libxrandr
name=libreoffice
version=3.4.0
version=3.4.2
release=1
source=(http://ftp.tu-chemnitz.de/pub/tdf/$name/stable/$version/rpm/x86/LibO_${version}_Linux_x86_install-rpm_en-US.tar.gz)
#source=(http://ftp.tu-chemnitz.de/pub/tdf/$name/stable/$version/rpm/x86_64/LibO_${version}_Linux_x86-64_install-rpm_en-US.tar.gz)
build() {
local workd="$SRC/tmp_work"

74
open-vm-tools/.footprint Normal file
View File

@ -0,0 +1,74 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/rc.d/
-rwxr-xr-x root/root etc/rc.d/vmtools
drwxr-xr-x root/root etc/vmware-tools/
lrwxrwxrwx root/root etc/vmware-tools/plugins -> /usr/lib/open-vm-tools/plugins
-rwxr-xr-x root/root etc/vmware-tools/poweroff-vm-default
-rwxr-xr-x root/root etc/vmware-tools/poweron-vm-default
-rwxr-xr-x root/root etc/vmware-tools/resume-vm-default
drwxr-xr-x root/root etc/vmware-tools/scripts/
drwxr-xr-x root/root etc/vmware-tools/scripts/vmware/
-rwxr-xr-x root/root etc/vmware-tools/statechange.subr
-rwxr-xr-x root/root etc/vmware-tools/suspend-vm-default
-rwxr-xr-x root/root etc/vmware-tools/tools.conf
-rwxr-xr-x root/root etc/vmware-tools/vm-support
drwxr-xr-x root/root lib/
drwxr-xr-x root/root lib/modules/
drwxr-xr-x root/root lib/modules/<kernel-version>/
drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/
drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/drivers/
drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/drivers/misc/
-rw-r--r-- root/root lib/modules/<kernel-version>/kernel/drivers/misc/vmci.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/kernel/drivers/misc/vmsync.ko
drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/fs/
drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/fs/vmblock/
-rw-r--r-- root/root lib/modules/<kernel-version>/kernel/fs/vmblock/vmblock.ko
drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/fs/vmhgfs/
-rw-r--r-- root/root lib/modules/<kernel-version>/kernel/fs/vmhgfs/vmhgfs.ko
drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/net/
drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/net/vsock/
-rw-r--r-- root/root lib/modules/<kernel-version>/kernel/net/vsock/vsock.ko
drwxr-xr-x root/root sbin/
-rwxr-xr-x root/root sbin/mount.vmhgfs
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/vmtoolsd
-rwxr-xr-x root/root usr/bin/vmware-checkvm
-rwxr-xr-x root/root usr/bin/vmware-hgfsclient
-rwxr-xr-x root/root usr/bin/vmware-rpctool
-rwxr-xr-x root/root usr/bin/vmware-toolbox-cmd
-rwxr-xr-x root/root usr/bin/vmware-xferlogs
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/vmGuestLib/
-rw-r--r-- root/root usr/include/vmGuestLib/includeCheck.h
-rw-r--r-- root/root usr/include/vmGuestLib/vmGuestLib.h
-rw-r--r-- root/root usr/include/vmGuestLib/vmSessionId.h
-rw-r--r-- root/root usr/include/vmGuestLib/vm_basic_types.h
-rw-r--r-- root/root usr/include/vmci_sockets.h
drwxr-xr-x root/root usr/lib/
-rwxr-xr-x root/root usr/lib/libguestlib.la
lrwxrwxrwx root/root usr/lib/libguestlib.so -> libguestlib.so.0.0.0
lrwxrwxrwx root/root usr/lib/libguestlib.so.0 -> libguestlib.so.0.0.0
-rwxr-xr-x root/root usr/lib/libguestlib.so.0.0.0
-rwxr-xr-x root/root usr/lib/libhgfs.la
lrwxrwxrwx root/root usr/lib/libhgfs.so -> libhgfs.so.0.0.0
lrwxrwxrwx root/root usr/lib/libhgfs.so.0 -> libhgfs.so.0.0.0
-rwxr-xr-x root/root usr/lib/libhgfs.so.0.0.0
-rwxr-xr-x root/root usr/lib/libvmtools.la
lrwxrwxrwx root/root usr/lib/libvmtools.so -> libvmtools.so.0.0.0
lrwxrwxrwx root/root usr/lib/libvmtools.so.0 -> libvmtools.so.0.0.0
-rwxr-xr-x root/root usr/lib/libvmtools.so.0.0.0
drwxr-xr-x root/root usr/lib/open-vm-tools/
drwxr-xr-x root/root usr/lib/open-vm-tools/plugins/
drwxr-xr-x root/root usr/lib/open-vm-tools/plugins/common/
-rwxr-xr-x root/root usr/lib/open-vm-tools/plugins/common/libhgfsServer.la
-rwxr-xr-x root/root usr/lib/open-vm-tools/plugins/common/libhgfsServer.so
-rwxr-xr-x root/root usr/lib/open-vm-tools/plugins/common/libvix.la
-rwxr-xr-x root/root usr/lib/open-vm-tools/plugins/common/libvix.so
drwxr-xr-x root/root usr/lib/open-vm-tools/plugins/vmsvc/
-rwxr-xr-x root/root usr/lib/open-vm-tools/plugins/vmsvc/libguestInfo.so
-rwxr-xr-x root/root usr/lib/open-vm-tools/plugins/vmsvc/libpowerOps.so
-rwxr-xr-x root/root usr/lib/open-vm-tools/plugins/vmsvc/libtimeSync.so
-rwxr-xr-x root/root usr/lib/open-vm-tools/plugins/vmsvc/libvmbackup.so
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/vmguestlib.pc

4
open-vm-tools/.md5sum Normal file
View File

@ -0,0 +1,4 @@
cb18a7cd39b2f20e542bd29c569d1bf3 hostinfo.patch
f6d87599523de31f02aaf229bf2ff08c open-vm-tools-2011.04.25-402641.tar.gz
8b2a357cfbe5de97b2a7d5fa9c4266d7 tools.conf
d4a8b123bf7b0ba29313c50675f04fa9 vmtools.rc

43
open-vm-tools/Pkgfile Normal file
View File

@ -0,0 +1,43 @@
# Description: VMWare Tools
# URL: http://open-vm-tools.sf.net/
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
# Depends: libdnet
name=open-vm-tools
version=2011.04.25-402641
release=1
source=( \
http://downloads.sourceforge.net/project/$name/$name/${version%-*}/$name-$version.tar.gz \
vmtools.rc
tools.conf
hostinfo.patch
)
build(){
cd $name-$version
patch -p1 -i $SRC/hostinfo.patch
./configure \
--prefix=/usr \
--disable-static \
--without-root-privileges \
--without-x \
--without-gtk2 \
--without-gtkmm \
--without-icu \
--without-pam
# --without-procps \
# --without-dnet \
make
make DESTDIR=$PKG install
mv $PKG/usr/sbin/mount.vmhgfs $PKG/sbin/mount.vmhgfs
install -D $SRC/vmtools.rc $PKG/etc/rc.d/vmtools
rm -rf $PKG/usr/{etc,sbin,share} $PKG/etc/vmware-tools/scripts/vmware/network
# rm -f $PKG/usr/lib/lib{vmtools,hgfs}.{,l}a $PKG/usr/lib/libguestlib.a
# This is included in the linux kernel, enable CONFIG_VMXNET3
rm -f $PKG/lib/modules/`uname -r`/kernel/drivers/net/vmxnet.ko && rmdir $PKG/lib/modules/`uname -r`/kernel/drivers/net
install $SRC/tools.conf $PKG/etc/vmware-tools/tools.conf
}

45
open-vm-tools/README Normal file
View File

@ -0,0 +1,45 @@
README for open-vm-tools
INTRODUCTION
This port contains VMware Tools. You should install it if you are running CRUX
as a virtual machine under the VMware hypervisor.
This has only been tested on single core 32-bit virtual machines.
The VMware filesystem (vmhgfs) has not been tested.
Feedback is appreciated.
POST-INSTALL
1. Run the post-install script.
2. Add vmtools to the list of services to start at boot time.
FAQ
Q: What is the difference between this and the official commercial VMware Tools
distribution?
A: This code comes from the GPL release of VMware's tools, so in theory
it should work just as the commercial version.
That said, since this port is intended to be used on a server environment,
all the desktop utilities have been removed (eg: no GUI applications).
Q: Where is the driver for the VMware network adapter and disk controller?
A: Some device drivers are already included in the Linux kernel and disabled
in this port.
Please enable these kernel options:
* CONFIG_VMWARE_BALLOON
* CONFIG_VMWARE_PVSCSI
* CONFIG_VMXNET3
If your boot filesystem is connected to a paravirtual SCSI interface make
sure CONFIG_VMWARE_PVSCSI is set as builtin instead of module.
Q: Why do I have to shutdown/reboot twice my VM from VMware before it reacts?
A: Did you run the post-install script?
--
If you have any feedback/problems please email me:
Alan Mizrahi, alan at mizrahi dot com dot ve

View File

@ -0,0 +1,12 @@
--- open-vm-tools-2011.04.25-402641/lib/misc/hostinfoPosix.c.orig 2011-07-01 16:21:05.260000210 +0900
+++ open-vm-tools-2011.04.25-402641/lib/misc/hostinfoPosix.c 2011-07-01 16:21:30.120000215 +0900
@@ -643,9 +643,6 @@
int i = 0;
if ((fd = open(filename, O_RDONLY)) < 0) {
- Warning("%s: could not open file%s: %d\n", __FUNCTION__, filename,
- errno);
-
return FALSE;
}

View File

@ -0,0 +1,2 @@
#!/bin/sh
crux > /etc/release

11
open-vm-tools/tools.conf Normal file
View File

@ -0,0 +1,11 @@
[logging]
log=syslog
level=warning
vmsvc.level=warning
vmsvc.data=/var/log/vmware-vmsvc.log
vmusr.handler=syslog
vmusr.level=warning
vmusr.data=/var/log/vmware-vmsvc.log.user
[vmsvc]
disable-tools-version=true

29
open-vm-tools/vmtools.rc Executable file
View File

@ -0,0 +1,29 @@
#!/bin/sh
#
# /etc/rc.d/vmtools: start/stop VMware Tools
#
PIDFILE=/var/run/vmware-tools.pid
VMTOOLSD_BIN=/usr/bin/vmtoolsd
case $1 in
start)
$VMTOOLSD_BIN --background=$PIDFILE
;;
stop)
if [ -f $PIDFILE ]; then
kill $(< $PIDFILE) && rm -f $PIDFILE
else
killall -q $VMTOOLSD_BIN
fi
;;
restart)
$0 stop
$0 start
;;
*)
echo "usage: $0 [start|stop|restart]"
;;
esac
# End of file

View File

@ -1,9 +0,0 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/openoffice/
drwxr-xr-x root/root usr/lib/openoffice/share/
drwxr-xr-x root/root usr/lib/openoffice/share/dict/
drwxr-xr-x root/root usr/lib/openoffice/share/dict/ooo/
-rw-r--r-- root/root usr/lib/openoffice/share/dict/ooo/es_VE.aff
-rw-r--r-- root/root usr/lib/openoffice/share/dict/ooo/es_VE.dic
-rw-r--r-- root/root usr/lib/openoffice/share/dict/ooo/hyph_es_ES.dic

View File

@ -1,2 +0,0 @@
748e15e39e7c5b52877bd7f111196304 es_VE.zip
d34ab9eefdb49147c57c01227eeb0c66 hyph_es_ES.zip

View File

@ -1,15 +0,0 @@
# Description: OpenOffice spanish dictionary and hyphenation for Venezuela
# URL: http://lingucomponent.openoffice.org/
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
# Depends on: openoffice
name=openoffice-dict-es-ve
version=0.2
release=1
source=(http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/es_VE.zip http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_es_ES.zip)
build () {
install -D -o root -g root -m 644 es_VE.aff $PKG/usr/lib/openoffice/share/dict/ooo/es_VE.aff
install -D -o root -g root -m 644 es_VE.dic $PKG/usr/lib/openoffice/share/dict/ooo/es_VE.dic
install -D -o root -g root -m 644 hyph_es_ES.dic $PKG/usr/lib/openoffice/share/dict/ooo/hyph_es_ES.dic
}

View File

@ -1,5 +0,0 @@
# $Id: $
POST-INSTALL
* echo "DICT es VE es_VE" >> /usr/lib/openoffice/share/dict/ooo/dictionary.lst
* echo "HYPH es VE hyph_es_ES" >> /usr/lib/openoffice/share/dict/ooo/dictionary.lst

View File

@ -1,5 +0,0 @@
#!/bin/sh
[ -z "`grep -i '^\ *DICT\ *es\ *VE' /usr/lib/openoffice/share/dict/ooo/dictionary.lst`" ] && \
echo "DICT es VE es_VE" >> /usr/lib/openoffice/share/dict/ooo/dictionary.lst
[ -z "`grep -i '^\ *HYPH\ *es\ *VE\ *hyph_es_ES' /usr/lib/openoffice/share/dict/ooo/dictionary.lst`" ] && \
echo "HYPH es VE hyph_es_ES" >> /usr/lib/openoffice/share/dict/ooo/dictionary.lst