aboutsummaryrefslogtreecommitdiff
path: root/dev/perl/perl-mail-spamassassin
diff options
context:
space:
mode:
Diffstat (limited to 'dev/perl/perl-mail-spamassassin')
-rw-r--r--dev/perl/perl-mail-spamassassin/Manifest24
-rwxr-xr-xdev/perl/perl-mail-spamassassin/perl-mail-spamassassin.SlackBuild162
-rw-r--r--dev/perl/perl-mail-spamassassin/slack-required8
3 files changed, 24 insertions, 170 deletions
diff --git a/dev/perl/perl-mail-spamassassin/Manifest b/dev/perl/perl-mail-spamassassin/Manifest
new file mode 100644
index 00000000..12ce7a49
--- /dev/null
+++ b/dev/perl/perl-mail-spamassassin/Manifest
@@ -0,0 +1,24 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST Mail-SpamAssassin-3.2.5.tar.gz 1223706 MD5 7fdc1651d0371c4a7f95ac9ae6f828a6 RMD160 5a72a97d124e72ff4da1627982748377f1e34128 SHA1 14b1f6eae0221a152176f7f597f55581445e800a SHA256 105e18448d7ee2e576ceaca23b129da5e4a3c7dfccec73b6a3babb75d9c0b4f7 SHA512 28e69ac5219cb26b9ff76c351b6e0a126f042c03b9285b7c557cee3114ef30b2afa9d022e7215ef9dc789157d89b55fac0e12f0e5ccab950547930ed906a1ba2
+MKBUILD perl-mail-spamassassin.mkbuild 2750 MD5 4dab984fa972e798ae0c3d1d9e9246d6 RMD160 2a2f4dc0514b803c6587fd57294c81011d4cc784 SHA1 2678cba5c0b68697373f542f76b7ae2a66b27ab1 SHA256 b14cca77484da9d85d40d1ef00ecfb014219c8e9aa26f0eed56e1100ea58dedc SHA512 1922dad486fb4da341036de748a51f8cc06fd7be24f0520fcf714f0aaf4bf1508a9ab2e5178bf8d1cee0582cda5f50887342cd13a2fed8f5e29ee7635d7bd5d7
+SLACK-REQUIRED slack-required 174 MD5 1c57cda1eabf70b9c9b351a6d27d3d2b RMD160 82823d20e6b9e86df9e2527a5e741f10f4c758e1 SHA1 8e4a04bb65a88e39e396bcd9a2a7e9e588d0f54e SHA256 1110f08cb6dc3b2dc82888e71a567624c520f7a66b2aa41c9f1896d9679a1a04 SHA512 58e4af4d8273481b278677181074f9ac84cdfe7d93c5e3eefd4012e164c8e274ee08d80dc57ccf4933d2a93cd2ca123e45ed7873172beaa08c166b9ab805785b
+SLACKBUILD perl-mail-spamassassin.SlackBuild 7459 MD5 009f6a1e08c56c6ca81dcfee3919707b RMD160 3c12f0f71a1491bc4f71f337414354d6adc06f75 SHA1 e7b61d19c41ccc071c2b19b4dea12de660772a0d SHA256 e9c06ef1bbbd4e920b32a6a996c90412967c9e8310c61189463fd16cecba9df7 SHA512 7eb70b837aa0fa861b270f22f058d31f92f440c7b615ab6ddcc69c9da0d6c4b84ef346428cdc1954373575bbcdd6e079a1ab92925f50a7eca1447fa20c8f9b24
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.9 (GNU/Linux)
+
+iQIcBAEBCAAGBQJKsEsjAAoJEEHL93ESzgeiEYoQALoPDyoJ+7n/oPm7t8bIVRZL
+M00WmkGEwkettdcIFxOcsuSwexL1ysMI5zksNYhCRtsPgf4qxIeZah2YK0ELQ0wU
+jfMgBjigQttYcDyfHVKJz37IJwmq2KtZykdwK40SoLyat5UzFnN/f1s2q9f6Xy2Y
+3HFKaU+m07egCZPpJSleqaGdWM4SOUU4cUtWmm1FgJ/QmqLE5GZRCeSFdY8T6+K6
+6Qq228D/1Xr7gqv8P2ODTIv/xzwDkt/UiZkRsstjqhw+KSNBOpRnheUq01lgi4rE
+CdXc3sU35/E449aHmuXCbU4N9VpzS6ZkKfL5BuEZs0S41RCJlcI9PZnMlVLbLeQb
+FqaIOGTyXk4aiKeFv9s16l57r19m6GJ1NusV6VlSxyEDXC0cn9VhoHhfy/AnGOGL
+AaybGHbxmYq55FSjFAZGulOwLq/w6UOOao9LkbXGP1SuWob1D/MucEjlbyv2qL9H
+G0kaB/T+l33FbEBLSIM3YPmgBQda66hcxFpUZDRA2Jhq6A7hl9KPkcYmOLjrdTrd
+rQR6MEa1Dg0unYCO9zAPOCJAdAftr+e07bSzzDmMbuFa8unoQRPehD/QEdhmD9b4
+YWcedRVy23FYkmLnilF8iQRNcBXSG7w+eKQo30ipWSzsOM0WKZPI25g3J068XLiy
+GedZvWY8JYsIXWvJ9jJA
+=YbCx
+-----END PGP SIGNATURE-----
diff --git a/dev/perl/perl-mail-spamassassin/perl-mail-spamassassin.SlackBuild b/dev/perl/perl-mail-spamassassin/perl-mail-spamassassin.SlackBuild
deleted file mode 100755
index c3e9dd42..00000000
--- a/dev/perl/perl-mail-spamassassin/perl-mail-spamassassin.SlackBuild
+++ /dev/null
@@ -1,162 +0,0 @@
-#!/bin/bash
-#
-# perl-mail-spamassassin.SlackBuild is free software; you can redistribute
-# it and/or modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the License,
-# or any later version.
-#
-# perl-mail-spamassassin.SlackBuild is distributed in the hope that it will
-# be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
-# Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place - Suite 330, Boston, MA 02111-1307, USA
-#
-# slackbuild for perl-mail-spamassassin, by Silvio Rhatto
-# requires: perl-digest-sha1 perl-html-parser perl-mime-base64 perl-db_file perl-net-dns
-# tested: perl-mail-spamassassin-3.2.4
-#
-
-# Look for slackbuildrc
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-# Set variables
-CWD="$(pwd)"
-SRC_NAME="Mail-SpamAssassin"
-PKG_NAME="perl-mail-spamassassin"
-ARCH=${ARCH:=i486}
-SRC_VERSION=${VERSION:=3.2.4}
-PKG_VERSION="$(echo "$SRC_VERSION" | tr '[[:blank:]-]' '_')"
-BUILD=${BUILD:=1rha}
-SRC_DIR=${SRC_DIR:=$CWD}/$PKG_NAME
-TMP=${TMP:=/tmp}
-PKG=${PKG:=$TMP/package-$PKG_NAME}
-REPOS=${REPOS:=$TMP}
-PREFIX=${PREFIX:=/usr}
-PKG_WORK="$TMP/$SRC_NAME"
-CONF_OPTIONS=${CONF_OPTIONS:=""}
-NUMJOBS=${NUMJOBS:=""}
-
-# Set system libraries' path and optmization flags based on $ARCH
-LIBDIR="$PREFIX/lib"
-
-if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
-elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686"
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2"
- LIBDIR="$PREFIX/lib64"
-fi
-
-# Set error codes (used by createpkg)
-ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33
-ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36
-ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
-ERROR_PATCH=40; ERROR_VCS=41; ERROR_MKDIR=42
-
-# Clean up any leftovers of previous builds
-rm -rf "$PKG_SRC" 2> /dev/null
-rm -rf "$PKG" 2> /dev/null
-
-# Create directories if necessary
-mkdir -p "$SRC_DIR" || exit $ERROR_MKDIR
-mkdir -p "$PKG" || exit $ERROR_MKDIR
-mkdir -p "$REPOS" || exit $ERROR_MKDIR
-mkdir -p "$PKG_WORK" || exit $ERROR_MKDIR
-
-# Dowload source if necessary
-SRC="$SRC_NAME-$VERSION.tar.gz"
-URL="http://search.cpan.org/CPAN/authors/id/J/JM/JMASON/$SRC"
-
-if [ ! -s "$SRC_DIR/$SRC" ] || ! gunzip -t "$SRC_DIR/$SRC" 2> /dev/null; then
- wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET
-fi
-
-# Untar
-cd "$PKG_WORK"
-tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR
-PKG_SRC=`ls -l | awk '/^d/ { print $8 }'`
-cd "$PKG_SRC"
-
-# Configure
-perl Makefile.PL || exit $ERROR_CONF
-
-# Compile
-make $NUMJOBS || exit $ERROR_MAKE
-
-# Install
-make install DESTDIR="$PKG" || exit $ERROR_INSTALL
-
-# Fix .packlist
-string="`echo $PKG | sed -e 's/\//\\\\\//g'`"
-for file in `find $PKG -name .packlist`; do
- sed -e "s/^$string//g" $file > $file.tmp
- mv $file.tmp $file
-done
-
-# Strip binaries
-( cd "$PKG"
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
-)
-
-# Install documentation
-DOCS="NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING LICENSE SIGNATURE readme.*"
-mkdir -p "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR
-for doc in $DOCS; do
- if [ -f "$doc" ]; then
- cp -a $doc "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION"
- fi
-done
-
-# Add package description (slack-desc)
-mkdir -p "$PKG/install" || exit $ERROR_MKDIR
-cat << EODESC > "$PKG/install/slack-desc"
-# 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 ':'.
-
- |-----handy-ruler---------------------------------------|
-perl-mail-spamassassin: perl-mail-spamassassin
-perl-mail-spamassassin:
-perl-mail-spamassassin: SpamAssassin is a mail filter which attempts to identify spam using
-perl-mail-spamassassin: a variety of mechanisms including text analysis, Bayesian filtering,
-perl-mail-spamassassin: DNS blocklists, and collaborative filtering databases.
-perl-mail-spamassassin:
-perl-mail-spamassassin:
-perl-mail-spamassassin:
-perl-mail-spamassassin:
-perl-mail-spamassassin:
-perl-mail-spamassassin:
-EODESC
-
-# Copy slack-required
-mkdir -p "$PKG/install" || exit $ERROR_MKDIR
-if [ -f "$CWD/slack-required" ]; then
- cp $CWD/slack-required $PKG/install
-fi
-
-# Build the package
-cd "$PKG"
-makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERROR_MKPKG
-
-# Delete source and build directories if requested
-if [ "$CLEANUP" == "yes" ] || [ "$1" = "--cleanup" ]; then
- rm -rf "$PKG_WORK" "$PKG"
-fi
diff --git a/dev/perl/perl-mail-spamassassin/slack-required b/dev/perl/perl-mail-spamassassin/slack-required
deleted file mode 100644
index 8e903c9a..00000000
--- a/dev/perl/perl-mail-spamassassin/slack-required
+++ /dev/null
@@ -1,8 +0,0 @@
-# Dependency list to Mail-SpamAssassin
-#
-# dependency [condition] [version]]
-perl-digest-sha1
-perl-html-parser
-perl-mime-base64
-perl-db_file
-perl-net-dns