summaryrefslogtreecommitdiff
path: root/network/razor-agents
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-06-09 04:46:32 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-06-09 05:32:07 +0700
commit1099a6ccdd639a193ad006975c23a0e2db955fe9 (patch)
treecceed018b78ba5fa8d5a865bdf8748227a915e37 /network/razor-agents
parenteee3ef0eae0b5a04dddc0234b1292b2306dbd24d (diff)
downloadslackbuilds-1099a6ccdd639a193ad006975c23a0e2db955fe9.tar.gz
network/razor-agents: Removed (use perl-Razor2-Client-Agent).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/razor-agents')
-rw-r--r--network/razor-agents/README8
-rw-r--r--network/razor-agents/makefile_quoted_vars.diff13
-rw-r--r--network/razor-agents/razor-agents.SlackBuild98
-rw-r--r--network/razor-agents/razor-agents.info10
-rw-r--r--network/razor-agents/slack-desc19
5 files changed, 0 insertions, 148 deletions
diff --git a/network/razor-agents/README b/network/razor-agents/README
deleted file mode 100644
index 6c25d896d2..0000000000
--- a/network/razor-agents/README
+++ /dev/null
@@ -1,8 +0,0 @@
-Vipul's Razor is a distributed, collaborative, spam detection and
-filtering network based on user submissions of spam. Detection is
-done with signatures that efficiently spot mutating spam content and
-user input is validated through reputation assignments.
-If this package is installed, SpamAssassin performs Razor checks of
-e-mail messages.
-
-See http://razor.sourceforge.net/ for more information about Razor.
diff --git a/network/razor-agents/makefile_quoted_vars.diff b/network/razor-agents/makefile_quoted_vars.diff
deleted file mode 100644
index 1099e9f18c..0000000000
--- a/network/razor-agents/makefile_quoted_vars.diff
+++ /dev/null
@@ -1,13 +0,0 @@
-Recent MakeMaker versions quote variables.
-diff -ur razor-agents-2.85.orig/Makefile.PL razor-agents-2.85/Makefile.PL
---- razor-agents-2.85.orig/Makefile.PL 2007-05-09 00:47:53.000000000 +0200
-+++ razor-agents-2.85/Makefile.PL 2015-08-19 06:35:39.000000000 +0200
-@@ -142,7 +142,7 @@
- my $man5 = q{ \\
- $(INST_MAN5DIR) $(INSTALLMAN5DIR)};
-
-- $inherited =~ s/(\$\((?:DEST)?INSTALL\w*MAN1DIR\))/$1$man5/gm;
-+ $inherited =~ s/(\$\((?:DEST)?INSTALL\w*MAN1DIR\)"?)/$1$man5/gm;
-
- return $inherited;
- }
diff --git a/network/razor-agents/razor-agents.SlackBuild b/network/razor-agents/razor-agents.SlackBuild
deleted file mode 100644
index 814bf7acf7..0000000000
--- a/network/razor-agents/razor-agents.SlackBuild
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for razor-agents
-
-# Copyright 2013-2016 Andreas Voegele <andreas@andreasvoegele.com>
-#
-# Permission to use, copy, modify, and distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-PRGNAM=razor-agents
-VERSION=${VERSION:-2.85}
-BUILD=${BUILD:-3}
-TAG=${TAG:-_SBo}
-
-SRCNAM=$PRGNAM
-
-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
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
-cd $SRCNAM-$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 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-patch -p1 <$CWD/makefile_quoted_vars.diff
-
-perl Makefile.PL \
- INSTALLDIRS=vendor \
- INSTALLVENDORMAN1DIR=/usr/man/man1 \
- INSTALLVENDORMAN3DIR=/usr/man/man3
-make
-make test
-make install DESTDIR=$PKG INSTALLMAN5DIR=$PKG/usr/man/man5
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
-
-find $PKG -depth -type d -empty -delete || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- BUGS CREDITS Changes FAQ INSTALL LICENSE README SERVICE_POLICY \
- $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
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/razor-agents/razor-agents.info b/network/razor-agents/razor-agents.info
deleted file mode 100644
index 9fb2f11236..0000000000
--- a/network/razor-agents/razor-agents.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="razor-agents"
-VERSION="2.85"
-HOMEPAGE="http://razor.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/razor/razor-agents/2.85/razor-agents-2.85.tar.bz2"
-MD5SUM="014d08db40187cb1316482191566b012"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="perl-digest-sha1 perl-net-dns"
-MAINTAINER="Andreas Voegele"
-EMAIL="andreas@andreasvoegele.com"
diff --git a/network/razor-agents/slack-desc b/network/razor-agents/slack-desc
deleted file mode 100644
index 4de1248bbf..0000000000
--- a/network/razor-agents/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------------------------------------------------------|
-razor-agents: razor-agents (collaborative spam detection)
-razor-agents:
-razor-agents: Vipul's Razor is a distributed, collaborative, spam detection and
-razor-agents: filtering network based on user submissions of spam. Detection is
-razor-agents: done with signatures that efficiently spot mutating spam content and
-razor-agents: user input is validated through reputation assignments.
-razor-agents: If this package is installed, SpamAssassin performs Razor checks of
-razor-agents: e-mail messages.
-razor-agents:
-razor-agents: See http://razor.sourceforge.net/ for more information about Razor.
-razor-agents: