summaryrefslogtreecommitdiffstats
path: root/business/stansoft
diff options
context:
space:
mode:
Diffstat (limited to 'business/stansoft')
-rw-r--r--business/stansoft/README22
-rw-r--r--business/stansoft/slack-desc6
-rw-r--r--business/stansoft/stansoft.SlackBuild18
-rw-r--r--business/stansoft/stansoft.info12
4 files changed, 34 insertions, 24 deletions
diff --git a/business/stansoft/README b/business/stansoft/README
index 39dc187d62..49faa20204 100644
--- a/business/stansoft/README
+++ b/business/stansoft/README
@@ -1,26 +1,26 @@
Stansoft is Linux financial accounting software for business. It uses a
PostgreSQL database, which is included. You can optionally use an IBM
-Informix Innovator-C database, which can be downloaded free of charge from
-IBM. There is no limit on the number of users per installation, which
-allows for scalability from small to large companies. The user interface
-is ncurses / terminal based to optimize data entry efficiency. It can be
-run locally or deployed remotely on a virtual private server (VPS) in the
-cloud.
+Informix Innovator-C database, which can be downloaded free of charge
+from IBM. There is no limit on the number of users per installation,
+which allows for scalability from small to large companies. The user
+interface is ncurses / terminal based to optimize data entry efficiency.
+It can be run locally or deployed remotely on a virtual cloud server.
You must have a stansoft user and group to run this script:
# groupadd -g 325 stansoft
# useradd -u 325 -g 325 -c \"Stansoft user\" -s /bin/bash stansoft
-If you wish to use IBM Informix, please add informix user and group as well
+If you wish to use IBM Informix, please add informix user and group as
+well
# groupadd -g 326 informix
# useradd -u 326 -g 326 -c \"Informix user\" -s /bin/bash informix
NOTES:
-1) After installing the Slackbuild you must run the Stansoft installation
- script /opt/stansoft/install
+1) After installing the Slackbuild you must run the Stansoft
+ installation script /opt/stansoft/install
2) Installation and setup help can be found in /opt/stansoft/README and
the manual is located at /opt/stansoft/doc/ssmanual.pdf
-3) stansoft and informix are the database administrator account, so please
- set a strong password for it.
+3) stansoft and informix are the database administrator account, so
+ please set a strong password for it.
diff --git a/business/stansoft/slack-desc b/business/stansoft/slack-desc
index 619c87efb3..dd55e74b4d 100644
--- a/business/stansoft/slack-desc
+++ b/business/stansoft/slack-desc
@@ -11,9 +11,9 @@ stansoft:
stansoft: Stansoft is Linux financial accounting software for business.
stansoft: There is no limit on the number of users per installation, which
stansoft: allows for scalability from small to large companies.
-stansoft: The user interface is ncurses / terminal based to optimize data entry
-stansoft: efficiency. It can be run locally or deployed remotely on a virtual
-stansoft: private server (VPS) in the cloud.
+stansoft: The user interface is ncurses / terminal based to optimize data
+stansoft: entry efficiency. It can be run locally or deployed remotely on
+stansoft: a virtual cloud server.
stansoft:
stansoft: After installing the Slackbuild you must run the Stansoft
stansoft: installation script /opt/stansoft/install
diff --git a/business/stansoft/stansoft.SlackBuild b/business/stansoft/stansoft.SlackBuild
index 2367dd5440..29bb78b2a8 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.16}
+VERSION=${VERSION:-7.26}
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/stansoft/stansoft.info b/business/stansoft/stansoft.info
index b3e54312f1..38c395e0b7 100644
--- a/business/stansoft/stansoft.info
+++ b/business/stansoft/stansoft.info
@@ -1,10 +1,10 @@
PRGNAM="stansoft"
-VERSION="7.16"
-HOMEPAGE="http://www.stansoft.org"
-DOWNLOAD="http://download.stansoft.org/files/stansoft-v7.16-x86.tar.bz2"
-MD5SUM="58bfc9629c93e2b4ff68e4a7925d9a91"
-DOWNLOAD_x86_64="http://download.stansoft.org/files/stansoft-v7.16-x86_64.tar.bz2"
-MD5SUM_x86_64="5a018819b0cf48c099cddaff0ca45874"
+VERSION="7.26"
+HOMEPAGE="https://www.stansoft.org"
+DOWNLOAD="https://downloads.sourceforge.net/project/stansoft/32-bit/stansoft-v7.26-x86.tar.bz2"
+MD5SUM="9e9cac4c4961881ab0136a41c4dbade0"
+DOWNLOAD_x86_64="https://downloads.sourceforge.net/project/stansoft/64-bit/stansoft-v7.26-x86_64.tar.bz2"
+MD5SUM_x86_64="f8f43fa8ec377d13d1a27b17407ae436"
REQUIRES=""
MAINTAINER="Stansoft"
EMAIL="info@stansoft.org"