diff options
author | Heinz Wiesinger | 2010-05-13 00:06:03 +0200 |
---|---|---|
committer | Heinz Wiesinger | 2010-05-13 00:06:03 +0200 |
commit | ccd0f5d5ce99278323532d87650805f472e1a235 (patch) | |
tree | 1a711ac48d9e3c6db968312a48a945a2b0e69356 /business | |
parent | 847748bb59cd1b1de704b340661ebf2a3d23f518 (diff) | |
download | slackbuilds-ccd0f5d5ce99278323532d87650805f472e1a235.tar.gz |
business/tinyerp-server: Removed from 13.0 repository
Diffstat (limited to 'business')
-rw-r--r-- | business/tinyerp-server/README | 21 | ||||
-rw-r--r-- | business/tinyerp-server/doinst.sh | 23 | ||||
-rw-r--r-- | business/tinyerp-server/rc.tinyerp-server | 52 | ||||
-rw-r--r-- | business/tinyerp-server/slack-desc | 19 | ||||
-rw-r--r-- | business/tinyerp-server/tinyerp-server.SlackBuild | 87 | ||||
-rw-r--r-- | business/tinyerp-server/tinyerp-server.conf | 20 | ||||
-rw-r--r-- | business/tinyerp-server/tinyerp-server.info | 8 |
7 files changed, 0 insertions, 230 deletions
diff --git a/business/tinyerp-server/README b/business/tinyerp-server/README deleted file mode 100644 index 8198b15912..0000000000 --- a/business/tinyerp-server/README +++ /dev/null @@ -1,21 +0,0 @@ -Tiny ERP 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 tinyerp-server, you will have to set up postgresql. All -you have to do is issue the following two commands: - - createuser -U postgres --no-adduser terp - createdb -U postgres -O terp --encoding=UNICODE terp - -This will setup Tiny ERP 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 - -Tiny ERP depends on pyparsing, egenix-mx-base, psycopg, pil, pyxml, reportlab, -and postgresql, all of which are available from SlackBuilds.org diff --git a/business/tinyerp-server/doinst.sh b/business/tinyerp-server/doinst.sh deleted file mode 100644 index 214846593c..0000000000 --- a/business/tinyerp-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.tinyerp-server.new: -if [ -e etc/rc.d/rc.tinyerp-server ]; then - cp -a etc/rc.d/rc.tinyerp-server etc/rc.d/rc.tinyerp-server.new.incoming - cat etc/rc.d/rc.tinyerp-server.new > etc/rc.d/rc.tinyerp-server.new.incoming - mv etc/rc.d/rc.tinyerp-server.new.incoming etc/rc.d/rc.tinyerp-server.new -fi - -config etc/rc.d/rc.tinyerp-server.new -config etc/tinyerp/tinyerp-server.conf.new - diff --git a/business/tinyerp-server/rc.tinyerp-server b/business/tinyerp-server/rc.tinyerp-server deleted file mode 100644 index a5314c0f90..0000000000 --- a/business/tinyerp-server/rc.tinyerp-server +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/sh -# Start/stop/restart tinyerp-server. -# $Id: rc.tinyerp-server,v 1.0 2008/06/02 -# Author: Heinz Wiesinger <hmwiesinger@gmx.at> -# --------------------------------------------------------------------------- - -PIDFILE=/var/spool/tinyerp/tinyerp-server.pid -LOCKFILE=/var/lock/subsys/tinyerp-server -LOGFILE=/var/log/tinyerp/tinyerp-server.log - -# Start tinyerp: -tinyerp_start() { - if [ -x /usr/bin/tinyerp-server ]; then - echo "Starting tinyerp server: /usr/bin/tinyerp-server " - if [ -e "$LOCKFILE" ]; then - echo "tinyerp server already running!" - echo "Please remove $LOCKFILE" - else - /usr/bin/tinyerp-server --pidfile=$PIDFILE --logfile=$LOGFILE \ - -c /etc/tinyerp/tinyerp-server.conf & - touch $LOCKFILE - fi - fi -} - -# Stop tinyerp: -tinyerp_stop() { - echo "Stopping tinyerp-server" - kill -TERM $(cat $PIDFILE) > /dev/null 2>&1 - rm -f $LOCKFILE -} - -# Restart tinyerp: -tinyerp_restart() { - tinyerp_stop - sleep 1 - tinyerp_start -} - -case "$1" in -'start') - tinyerp_start - ;; -'stop') - tinyerp_stop - ;; -'restart') - tinyerp_restart - ;; -*) - echo "usage $0 start|stop|restart" -esac diff --git a/business/tinyerp-server/slack-desc b/business/tinyerp-server/slack-desc deleted file mode 100644 index ffffd064b2..0000000000 --- a/business/tinyerp-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 ':'. - - |-----handy-ruler------------------------------------------------| -tinyerp-server: tinyerp-server (Complete ERP and CRM - server part) -tinyerp-server: -tinyerp-server: Tiny ERP is a complete ERP and CRM. The main features are -tinyerp-server: accounting (analytic and financial), stock management, sales -tinyerp-server: and purchases management, tasks automation, marketing campaigns, -tinyerp-server: help desk, POS, etc. Technical features include a distributed -tinyerp-server: server, flexible workflows, an object database, a dynamic GUI, -tinyerp-server: customizable reports, and SOAP and XML-RPC interfaces. -tinyerp-server: -tinyerp-server: Homepage: http://www.tinyerp.com -tinyerp-server: diff --git a/business/tinyerp-server/tinyerp-server.SlackBuild b/business/tinyerp-server/tinyerp-server.SlackBuild deleted file mode 100644 index 900952de2e..0000000000 --- a/business/tinyerp-server/tinyerp-server.SlackBuild +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/sh - -# Slackware build script for tinyerp-server - -# Copyright 2008 Heinz Wiesinger <pprkut@liwjatan.at> -# 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=tinyerp-server -VERSION=4.2.3.4 -ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -mkdir -p $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -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 {} \; - -python setup.py install --root=$PKG - -mv $PKG/usr/share/* $PKG/usr/ -rm -rf $PKG/usr/share - -mkdir -p $PKG/etc/{rc.d,tinyerp} -cp -f $CWD/rc.tinyerp-server $PKG/etc/rc.d/rc.tinyerp-server.new -cp -f $CWD/tinyerp-server.conf $PKG/etc/tinyerp/tinyerp-server.conf.new - -mkdir -p $PKG/var/{spool,log}/tinyerp - -find $PKG | xargs file | grep "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.tgz diff --git a/business/tinyerp-server/tinyerp-server.conf b/business/tinyerp-server/tinyerp-server.conf deleted file mode 100644 index e0766b25b6..0000000000 --- a/business/tinyerp-server/tinyerp-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 = terp -netrpc = True -demo = {} -interface = -db_host = False -db_port = False -port = 8069 -addons_path = None -reportgz = False - diff --git a/business/tinyerp-server/tinyerp-server.info b/business/tinyerp-server/tinyerp-server.info deleted file mode 100644 index 4d9100a6f7..0000000000 --- a/business/tinyerp-server/tinyerp-server.info +++ /dev/null @@ -1,8 +0,0 @@ -PRGNAM="tinyerp-server" -VERSION="4.2.3.4" -HOMEPAGE="http://www.openerp.com" -DOWNLOAD="http://openerp.com/download/stable/source/tinyerp-server-4.2.3.4.tar.gz" -MD5SUM="7e9844e96df82c8c758aa046a19ace3a" -MAINTAINER="ppr:kut" -EMAIL="pprkut@liwjatan.at" -APPROVED="rworkman" |