diff options
Diffstat (limited to 'network/havp')
-rw-r--r-- | network/havp/havp.SlackBuild | 9 | ||||
-rw-r--r-- | network/havp/havp.info | 6 | ||||
-rw-r--r-- | network/havp/patches/use_vartmphavp_for_tempdir.diff | 26 |
3 files changed, 7 insertions, 34 deletions
diff --git a/network/havp/havp.SlackBuild b/network/havp/havp.SlackBuild index d25a21590c..d4376a8a77 100644 --- a/network/havp/havp.SlackBuild +++ b/network/havp/havp.SlackBuild @@ -7,14 +7,14 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=havp -VERSION=${VERSION:-0.92a} +VERSION=${VERSION:-0.93} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -32,8 +32,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM 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" @@ -80,7 +80,6 @@ find -L . \ patch -p1 < $CWD/patches/fixup_and_install_init_script.diff patch -p1 < $CWD/patches/use_clamav_group_by_default.diff patch -p1 < $CWD/patches/put_templates_in_usrshare.diff -patch -p1 < $CWD/patches/use_vartmphavp_for_tempdir.diff CFLAGS="$SLKCFLAGS" ./configure \ diff --git a/network/havp/havp.info b/network/havp/havp.info index f777e20752..88f3755561 100644 --- a/network/havp/havp.info +++ b/network/havp/havp.info @@ -1,8 +1,8 @@ PRGNAM="havp" -VERSION="0.92a" +VERSION="0.93" HOMEPAGE="https://sourceforge.net/projects/havp/" -DOWNLOAD="https://downloads.sourceforge.net/havp/havp-0.92a.tar.gz" -MD5SUM="f9a37411116eceea579b9034c5fa8a69" +DOWNLOAD="https://downloads.sourceforge.net/havp/havp-0.93.tar.gz" +MD5SUM="0bfac9d9b12a3bdc33759691e67ccb7f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="clamav" diff --git a/network/havp/patches/use_vartmphavp_for_tempdir.diff b/network/havp/patches/use_vartmphavp_for_tempdir.diff deleted file mode 100644 index b114afdca1..0000000000 --- a/network/havp/patches/use_vartmphavp_for_tempdir.diff +++ /dev/null @@ -1,26 +0,0 @@ -Set the working dir (TEMPDIR) to /var/tmp/havp instead of /var/tmp - -diff -Nur havp-0.92a.orig/etc/havp/havp.config.in havp-0.92a/etc/havp/havp.config.in ---- havp-0.92a.orig/etc/havp/havp.config.in 2011-12-20 22:08:18.907739050 -0600 -+++ havp-0.92a/etc/havp/havp.config.in 2011-12-20 22:08:55.267259030 -0600 -@@ -120,7 +120,7 @@ - # Needs to be writable by HAVP user. Use ramdisk for best performance. - # - # Default: --# TEMPDIR /var/tmp -+# TEMPDIR /var/tmp/havp - - # - # HAVP reloads scanners virus database by receiving a signal -diff -Nur havp-0.92a.orig/havp/params.cpp havp-0.92a/havp/params.cpp ---- havp-0.92a.orig/havp/params.cpp 2010-04-02 08:32:42.000000000 -0500 -+++ havp-0.92a/havp/params.cpp 2011-12-20 22:08:44.061406971 -0600 -@@ -70,7 +70,7 @@ - SetConfig("WHITELIST", WHITELISTFILE); - SetConfig("BLACKLIST", BLACKLISTFILE); - SetConfig("TEMPLATEPATH", TEMPLATEPATH); -- SetConfig("TEMPDIR", "/var/tmp"); -+ SetConfig("TEMPDIR", "/var/tmp/havp"); - SetConfig("SCANTEMPFILE", "/var/tmp/havp/havp-XXXXXX"); - SetConfig("PIDFILE", PIDFILE); - SetConfig("TRANSPARENT", "false"); |