summaryrefslogtreecommitdiffstats
path: root/business
diff options
context:
space:
mode:
Diffstat (limited to 'business')
-rw-r--r--business/AssociationSubscribersManager/AssociationSubscribersManager.SlackBuild16
-rw-r--r--business/beancount/beancount.SlackBuild16
-rw-r--r--business/ledger/README5
-rw-r--r--business/ledger/boost-176.patch35
-rw-r--r--business/ledger/ledger.SlackBuild17
-rw-r--r--business/ledger/ledger.info2
-rw-r--r--business/lemonpos/lemonpos.SlackBuild16
-rw-r--r--business/maltego/maltego.SlackBuild16
-rw-r--r--business/openerp-client/README7
-rw-r--r--business/openerp-client/doinst.sh3
-rw-r--r--business/openerp-client/openerp-client.SlackBuild81
-rw-r--r--business/openerp-client/openerp-client.desktop10
-rw-r--r--business/openerp-client/openerp-client.info10
-rw-r--r--business/openerp-client/slack-desc19
-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
-rw-r--r--business/reckon/reckon.SlackBuild16
-rw-r--r--business/skrooge/skrooge.SlackBuild16
-rw-r--r--business/stansoft/stansoft.SlackBuild16
-rw-r--r--business/tryton/tryton.SlackBuild16
-rw-r--r--business/trytond/trytond.SlackBuild16
-rw-r--r--business/trytond/trytond.info2
27 files changed, 173 insertions, 405 deletions
diff --git a/business/AssociationSubscribersManager/AssociationSubscribersManager.SlackBuild b/business/AssociationSubscribersManager/AssociationSubscribersManager.SlackBuild
index 4b2de64643..4e230d3788 100644
--- a/business/AssociationSubscribersManager/AssociationSubscribersManager.SlackBuild
+++ b/business/AssociationSubscribersManager/AssociationSubscribersManager.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for Association Subscribers Manager
#
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=AssociationSubscribersManager
VERSION=${VERSION:-3.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -92,4 +102,4 @@ 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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/business/beancount/beancount.SlackBuild b/business/beancount/beancount.SlackBuild
index dd1c74c43a..87e4265451 100644
--- a/business/beancount/beancount.SlackBuild
+++ b/business/beancount/beancount.SlackBuild
@@ -1,14 +1,17 @@
-#!/bin/sh
+#!/bin/bash
# Generated by Alien's SlackBuild Toolkit: http://slackware.com/~alien/AST
# Copyright 2009-2010 Eric Hameleers, Eindhoven, Netherlands
# Slackware build script for beancount
# Written by Lionel Young <redtricycle@gmail.com>
# Based on http://slackbuilds.org/template.SlackBuild
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=beancount
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -18,7 +21,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -76,4 +86,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/business/ledger/README b/business/ledger/README
index 18141c655e..33dbe598d7 100644
--- a/business/ledger/README
+++ b/business/ledger/README
@@ -1,2 +1,7 @@
Ledger is a powerful, double-entry accounting system that is accessed
from the UNIX command-line.
+
+* IMPORTANT NOTE *
+seems like utfcpp actually breaks compilation in current so be sure
+to remove that package if you have installed before trying to build
+ledger
diff --git a/business/ledger/boost-176.patch b/business/ledger/boost-176.patch
new file mode 100644
index 0000000000..8032625b24
--- /dev/null
+++ b/business/ledger/boost-176.patch
@@ -0,0 +1,35 @@
+diff --git a/src/expr.cc b/src/expr.cc
+index c8945d3..ad2589a 100644
+--- a/src/expr.cc
++++ b/src/expr.cc
+@@ -278,7 +278,7 @@ value_t expr_value(expr_t::ptr_op_t op)
+ value_t source_command(call_scope_t& args)
+ {
+ std::istream * in = NULL;
+- scoped_ptr<ifstream> stream;
++ std::unique_ptr<ifstream> stream;
+ string pathname;
+
+ if (args.has(0)) {
+diff --git a/src/format.h b/src/format.h
+index 15431cf..57f3650 100644
+--- a/src/format.h
++++ b/src/format.h
+@@ -65,7 +65,7 @@ class format_t : public expr_base_t<string>, public noncopyable
+ std::size_t min_width;
+ std::size_t max_width;
+ variant<string, expr_t> data;
+- scoped_ptr<struct element_t> next;
++ std::unique_ptr<struct element_t> next;
+
+ element_t() throw()
+ : supports_flags<>(), type(STRING), min_width(0), max_width(0) {
+@@ -103,7 +103,7 @@ class format_t : public expr_base_t<string>, public noncopyable
+ void dump(std::ostream& out) const;
+ };
+
+- scoped_ptr<element_t> elements;
++ std::unique_ptr<element_t> elements;
+
+ public:
+ static enum elision_style_t {
diff --git a/business/ledger/ledger.SlackBuild b/business/ledger/ledger.SlackBuild
index 89b8bc095e..d48a189ec0 100644
--- a/business/ledger/ledger.SlackBuild
+++ b/business/ledger/ledger.SlackBuild
@@ -1,12 +1,15 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ledger
# Written by Lionel Young (redtricycle at gmail dot com)
# Updated by simotrone (simotrone at gmail dot com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ledger
VERSION=${VERSION:-3.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -16,7 +19,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -37,6 +47,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch -p1 < $CWD/CMakeLists.txt.patch
+patch -p1 < $CWD/boost-176.patch
mkdir -p build
cd build
@@ -66,4 +77,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/business/ledger/ledger.info b/business/ledger/ledger.info
index 49666f11fc..9ab04f37db 100644
--- a/business/ledger/ledger.info
+++ b/business/ledger/ledger.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/ledger/ledger/archive/v3.2.1/ledger-3.2.1.tar.gz"
MD5SUM="4f82445bf8a39010e51b6367cf82c6d9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="utfcpp"
+REQUIRES=""
MAINTAINER="simotrone"
EMAIL="simotrone@gmail.com"
diff --git a/business/lemonpos/lemonpos.SlackBuild b/business/lemonpos/lemonpos.SlackBuild
index 2b95e64047..7786722e65 100644
--- a/business/lemonpos/lemonpos.SlackBuild
+++ b/business/lemonpos/lemonpos.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lemonpos
# Written by Vincent Batts, vbatts@hashbangbash.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lemonpos
VERSION=${VERSION:-0.9.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -77,5 +87,5 @@ 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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/business/maltego/maltego.SlackBuild b/business/maltego/maltego.SlackBuild
index a3e5f09ea3..151a48b456 100644
--- a/business/maltego/maltego.SlackBuild
+++ b/business/maltego/maltego.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for maltego
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=maltego
VERSION=${VERSION:-4.1.13.11516}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -74,4 +84,4 @@ 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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/business/openerp-client/README b/business/openerp-client/README
deleted file mode 100644
index e15ce427b2..0000000000
--- a/business/openerp-client/README
+++ /dev/null
@@ -1,7 +0,0 @@
-OpenERP is a free enterprise management software package. It covers all
-domains for small to medium businesses; accounting, stock management,
-sales, customer relationship, purchases, project management, etcetera.
-This is the client application.
-
-Note that you will get an error on startup if matplotlib is not
-installed, but the only functionality lost is presenting graphs.
diff --git a/business/openerp-client/doinst.sh b/business/openerp-client/doinst.sh
deleted file mode 100644
index 140e332222..0000000000
--- a/business/openerp-client/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications
-fi
diff --git a/business/openerp-client/openerp-client.SlackBuild b/business/openerp-client/openerp-client.SlackBuild
deleted file mode 100644
index 226918f09a..0000000000
--- a/business/openerp-client/openerp-client.SlackBuild
+++ /dev/null
@@ -1,81 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for openerp-client
-
-# 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-client
-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}
-
-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 {} \;
-
-python setup.py install --root=$PKG
-
-# the setup.py includes the build path, even if you add --prefix=/usr flag :\
-sed -i "s|$PKG||g" $PKG/usr/bin/openerp-client
-
-mkdir -p $PKG/usr/share/applications
-cp -f $CWD/openerp-client.desktop $PKG/usr/share/applications/
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mv $PKG/usr/share/man $PKG/usr
-rm -rf $PKG/usr/share/man
-gzip -9 $PKG/usr/man/man?/*.?
-
-mv $PKG/usr/share/doc $PKG/usr
-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-client/openerp-client.desktop b/business/openerp-client/openerp-client.desktop
deleted file mode 100644
index 46e3cd8d6d..0000000000
--- a/business/openerp-client/openerp-client.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Name=OpenERP
-GenericName=Enterprise Resource Planning
-Comment=Basic ERP & CRM
-Exec=openerp-client
-Icon=/usr/share/pixmaps/openerp-client/openerp-icon.png
-Terminal=false
-Type=Application
-Categories=Office;
-StartupNotify=true
diff --git a/business/openerp-client/openerp-client.info b/business/openerp-client/openerp-client.info
deleted file mode 100644
index 725d7e0e86..0000000000
--- a/business/openerp-client/openerp-client.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="openerp-client"
-VERSION="5.0.4"
-HOMEPAGE="http://www.openerp.com"
-DOWNLOAD="http://downloads.sourceforge.net/project/salix-sbo/13.37/openerp-client/openerp-client-5.0.4.tar.gz"
-MD5SUM="39657590a8d61f39cd8c55229e4643a6"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="openerp-server"
-MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
diff --git a/business/openerp-client/slack-desc b/business/openerp-client/slack-desc
deleted file mode 100644
index 52ac17beae..0000000000
--- a/business/openerp-client/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-client: openerp-client (Complete ERP and CRM - client part)
-openerp-client:
-openerp-client: OpenERP is a free enterprise management software package. It
-openerp-client: covers all domains for small to medium businesses; accounting,
-openerp-client: stock management, sales, customer relationship, purchases,
-openerp-client: project management, et cetera.
-openerp-client: This is the client part.
-openerp-client:
-openerp-client: Homepage: http://www.openerp.com
-openerp-client:
-openerp-client:
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:
diff --git a/business/reckon/reckon.SlackBuild b/business/reckon/reckon.SlackBuild
index b52ef1f805..737b6ec145 100644
--- a/business/reckon/reckon.SlackBuild
+++ b/business/reckon/reckon.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-reckon
# Copyright 2014 Lionel Young USA
# All rights reserved.
@@ -20,10 +20,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=reckon
VERSION=${VERSION:-0.3.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=reckon
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -109,4 +119,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/business/skrooge/skrooge.SlackBuild b/business/skrooge/skrooge.SlackBuild
index 157b2f806c..916a271f07 100644
--- a/business/skrooge/skrooge.SlackBuild
+++ b/business/skrooge/skrooge.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2012,2016 Vincent Batts, Raleigh, NC, USA
# Copyright 2009 Vincent Batts, http://hashbangbash.com/
@@ -21,10 +21,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=skrooge
VERSION=${VERSION:-1.12.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -105,4 +115,4 @@ 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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/business/stansoft/stansoft.SlackBuild b/business/stansoft/stansoft.SlackBuild
index 2a487d35cd..15032ac56c 100644
--- a/business/stansoft/stansoft.SlackBuild
+++ b/business/stansoft/stansoft.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for stansoft
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=stansoft
VERSION=${VERSION:-7.21}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
STANSOFT_USER=${STANSOFT_USER:-stansoft}
STANSOFT_UID=${STANSOFT_UID:-325}
@@ -54,7 +57,14 @@ elif ! grep -q "^$STANSOFT_GROUP:" /etc/group; then
bailout
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -92,4 +102,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/business/tryton/tryton.SlackBuild b/business/tryton/tryton.SlackBuild
index 286a3314d3..c9dbe17da0 100644
--- a/business/tryton/tryton.SlackBuild
+++ b/business/tryton/tryton.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tryton
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tryton
VERSION=${VERSION:-3.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -100,4 +110,4 @@ 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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/business/trytond/trytond.SlackBuild b/business/trytond/trytond.SlackBuild
index a8ec4b99fc..667acd50cf 100644
--- a/business/trytond/trytond.SlackBuild
+++ b/business/trytond/trytond.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for trytond
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=trytond
VERSION=${VERSION:-3.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -99,4 +109,4 @@ install -D -m644 $CWD/rc.trytond $PKG/etc/rc.d/rc.trytond.new
install -D -m644 $TMP/$PRGNAM-$VERSION/etc/trytond.conf $PKG/etc/trytond.conf.new
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/business/trytond/trytond.info b/business/trytond/trytond.info
index 38e9bb3ff5..1cca959147 100644
--- a/business/trytond/trytond.info
+++ b/business/trytond/trytond.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://downloads.tryton.org/3.0/trytond-3.0.4.tar.gz"
MD5SUM="4c08a689b6b977060b4a7fb6ed5350ec"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lxml polib psycopg2 pydot python-dateutil pytz relatorio simplejson sql"
+REQUIRES="lxml polib psycopg2 pydot python2-dateutil pytz relatorio simplejson sql"
MAINTAINER="Ken Roberts"
EMAIL="alisonken1@juno.com"