summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--business/openerp-server/README16
-rw-r--r--business/openerp-server/doinst.sh23
-rw-r--r--business/openerp-server/openerp-server.SlackBuild103
-rw-r--r--business/openerp-server/openerp-server.conf20
-rw-r--r--business/openerp-server/openerp-server.info10
-rw-r--r--business/openerp-server/rc.openerp-server52
-rw-r--r--business/openerp-server/slack-desc19
7 files changed, 0 insertions, 243 deletions
diff --git a/business/openerp-server/README b/business/openerp-server/README
deleted file mode 100644
index 140b3fbecf..0000000000
--- a/business/openerp-server/README
+++ /dev/null
@@ -1,16 +0,0 @@
-OpenERP is a complete ERP and CRM. The main features are accounting
-(analytic and financial), stock management, sales and purchases
-management, tasks automation, marketing campaigns, help desk,
-POS, etc. Technical features include a distributed server, flexible
-workflows, an object database, a dynamic GUI, customizable reports, and
-SOAP and XML-RPC interfaces.
-
-Before you can use openerp-server, you will have to set up
-postgresql. All you have to do is issue the following command:
- createuser -U postgres --no-adduser terp
-
-This will setup OpenERP for the use with postgresql on localhost.
-There is no need to set a password on localhost. However, if you are
-going to run postgresql on a different server, you will have to run
-createuser like this:
- createuser -U postgres --no-adduser -P terp
diff --git a/business/openerp-server/doinst.sh b/business/openerp-server/doinst.sh
deleted file mode 100644
index a513a9c6fe..0000000000
--- a/business/openerp-server/doinst.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-# Keep same perms on rc.openerp-server.new:
-if [ -e etc/rc.d/rc.openerp-server ]; then
- cp -a etc/rc.d/rc.openerp-server etc/rc.d/rc.openerp-server.new.incoming
- cat etc/rc.d/rc.openerp-server.new > etc/rc.d/rc.openerp-server.new.incoming
- mv etc/rc.d/rc.openerp-server.new.incoming etc/rc.d/rc.openerp-server.new
-fi
-
-config etc/rc.d/rc.openerp-server.new
-config etc/openerp/openerp-server.conf.new
-
diff --git a/business/openerp-server/openerp-server.SlackBuild b/business/openerp-server/openerp-server.SlackBuild
deleted file mode 100644
index e5b85aadb3..0000000000
--- a/business/openerp-server/openerp-server.SlackBuild
+++ /dev/null
@@ -1,103 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for openerp-server
-
-# Copyright 2008-2009 Heinz Wiesinger, Amsterdam, The Netherlands
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=openerp-server
-VERSION=${VERSION:-5.0.4}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# fix hardcoded libdir
-sed -i "s/opj('lib', 'python%s'/opj('lib$LIBDIRSUFFIX', 'python%s'/" setup.py
-
-python setup.py install --root=$PKG
-
-# setup.py includes the build path, even if you add --prefix=/usr flag :\
-sed -i "s|$PKG||g" $PKG/usr/bin/openerp-server
-
-mv $PKG/usr/share/* $PKG/usr/
-rm -rf $PKG/usr/share
-
-mkdir -p $PKG/etc/{rc.d,openerp}
-cp -f $CWD/rc.openerp-server $PKG/etc/rc.d/rc.openerp-server.new
-cp -f $CWD/openerp-server.conf $PKG/etc/openerp/openerp-server.conf.new
-
-mkdir -p $PKG/var/{spool,log}/openerp
-mkdir -p $PKG/var/lock/subsys
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/business/openerp-server/openerp-server.conf b/business/openerp-server/openerp-server.conf
deleted file mode 100644
index caec6ba0b3..0000000000
--- a/business/openerp-server/openerp-server.conf
+++ /dev/null
@@ -1,20 +0,0 @@
-[options]
-without_demo = False
-upgrade = False
-verbose = False
-xmlrpc = True
-db_user = postgres
-db_password = False
-root_path = None
-soap = False
-translate_modules = ['all']
-db_name = False
-netrpc = True
-demo = {}
-interface =
-db_host = False
-db_port = False
-port = 8069
-addons_path = None
-reportgz = False
-
diff --git a/business/openerp-server/openerp-server.info b/business/openerp-server/openerp-server.info
deleted file mode 100644
index 50f2dc0dd9..0000000000
--- a/business/openerp-server/openerp-server.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="openerp-server"
-VERSION="5.0.4"
-HOMEPAGE="http://www.openerp.com"
-DOWNLOAD="http://downloads.sourceforge.net/project/salix-sbo/13.37/openerp-server/openerp-server-5.0.4.tar.gz"
-MD5SUM="043a19025943080207a9d6ca2e904d6f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="egenix-mx-base vobject PyXML reportlab pychart pydot lxml pytz psycopg2"
-MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
diff --git a/business/openerp-server/rc.openerp-server b/business/openerp-server/rc.openerp-server
deleted file mode 100644
index 37fa2d5bee..0000000000
--- a/business/openerp-server/rc.openerp-server
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-# Start/stop/restart openerp-server.
-# $Id: rc.openerp-server,v 1.1 2009/03/31
-# Author: Heinz Wiesinger <pprkut@liwjatan.at>
-# ---------------------------------------------------------------------------
-
-PIDFILE=/var/spool/openerp/openerp-server.pid
-LOCKFILE=/var/lock/subsys/openerp-server
-LOGFILE=/var/log/openerp/openerp-server.log
-
-# Start openerp:
-openerp_start() {
- if [ -x /usr/bin/openerp-server ]; then
- echo "Starting openerp server: /usr/bin/openerp-server "
- if [ -e "$LOCKFILE" ]; then
- echo "openerp server already running!"
- echo "Please remove $LOCKFILE"
- else
- /usr/bin/openerp-server --pidfile=$PIDFILE --logfile=$LOGFILE \
- -c /etc/openerp/openerp-server.conf &
- touch $LOCKFILE
- fi
- fi
-}
-
-# Stop openerp:
-openerp_stop() {
- echo "Stopping openerp-server"
- kill -TERM $(cat $PIDFILE) > /dev/null 2>&1
- rm -f $LOCKFILE
-}
-
-# Restart openerp:
-openerp_restart() {
- openerp_stop
- sleep 1
- openerp_start
-}
-
-case "$1" in
-'start')
- openerp_start
- ;;
-'stop')
- openerp_stop
- ;;
-'restart')
- openerp_restart
- ;;
-*)
- echo "usage $0 start|stop|restart"
-esac
diff --git a/business/openerp-server/slack-desc b/business/openerp-server/slack-desc
deleted file mode 100644
index 799ec6f494..0000000000
--- a/business/openerp-server/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-openerp-server: openerp-server (Complete ERP and CRM - server part)
-openerp-server:
-openerp-server: OpenERP is a complete ERP and CRM. The main features are
-openerp-server: accounting (analytic and financial), stock management, sales
-openerp-server: and purchases management, tasks automation, marketing campaigns,
-openerp-server: help desk, POS, etc. Technical features include a distributed
-openerp-server: server, flexible workflows, an object database, a dynamic GUI,
-openerp-server: customizable reports, and SOAP and XML-RPC interfaces.
-openerp-server:
-openerp-server: Homepage: http://www.openerp.com
-openerp-server: