summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/bogofilter/bogofilter.SlackBuild17
-rw-r--r--system/bogofilter/bogofilter.info6
2 files changed, 13 insertions, 10 deletions
diff --git a/system/bogofilter/bogofilter.SlackBuild b/system/bogofilter/bogofilter.SlackBuild
index 354cd167cd..df820d6b47 100644
--- a/system/bogofilter/bogofilter.SlackBuild
+++ b/system/bogofilter/bogofilter.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for bogofilter
-# Copyright 2008-2013 Robby Workman Northport, Alabama, USA
+# Copyright 2008-2021 Robby Workman, Tuscaloosa, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=bogofilter
-VERSION=${VERSION:-1.2.4}
+VERSION=${VERSION:-1.2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-bogofilter
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -54,11 +54,13 @@ else
LIBDIRSUFFIX=""
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -73,8 +75,9 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-static=no \
--build=$ARCH-slackware-linux
make
diff --git a/system/bogofilter/bogofilter.info b/system/bogofilter/bogofilter.info
index 8ebcf6503d..7a1a8d022b 100644
--- a/system/bogofilter/bogofilter.info
+++ b/system/bogofilter/bogofilter.info
@@ -1,8 +1,8 @@
PRGNAM="bogofilter"
-VERSION="1.2.4"
+VERSION="1.2.5"
HOMEPAGE="http://bogofilter.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/bogofilter/bogofilter-1.2.4.tar.bz2"
-MD5SUM="d0a5eebb3274b23ceabe766a6443a1c5"
+DOWNLOAD="http://downloads.sourceforge.net/bogofilter/bogofilter-1.2.5.tar.xz"
+MD5SUM="8763f87adfff7b802ced177d8c654539"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""