aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2021-05-01 10:39:58 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:00 +0700
commiteca16b3862480b6e5ce0d1cb826ba80dba549b92 (patch)
tree87351f7066519d80420c96e9dd0dbb6ccb8e0ca9 /system
parentf00d6044d647622da06dfde9d55935363f3fc4b3 (diff)
system/bogofilter: Updated for version 1.2.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-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 354cd167cda3d..df820d6b479d5 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 8ebcf6503da83..7a1a8d022b6d9 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=""