diff options
author | Renato Botelho <garga@FreeBSD.org> | 2011-02-01 16:35:55 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2011-02-01 16:35:55 +0000 |
commit | cd641b3c1888f09eb70d16c9e21b21eac6f2ff57 (patch) | |
tree | 5260c0c523faf6ea3b667cc3146d5d233cfe494f /mail | |
parent | c6d7d6b195880d4e45892b1a21b74a3f235a78a6 (diff) |
Notes
Diffstat (limited to 'mail')
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/spamass-rules_du_jour/Makefile | 108 | ||||
-rw-r--r-- | mail/spamass-rules_du_jour/distinfo | 2 | ||||
-rw-r--r-- | mail/spamass-rules_du_jour/files/patch-config | 58 | ||||
-rw-r--r-- | mail/spamass-rules_du_jour/files/patch-rules_du_jour | 26 | ||||
-rw-r--r-- | mail/spamass-rules_du_jour/files/pkg-message.in | 20 | ||||
-rw-r--r-- | mail/spamass-rules_du_jour/pkg-descr | 4 | ||||
-rw-r--r-- | mail/spamass-rules_du_jour/pkg-plist | 4 |
8 files changed, 0 insertions, 223 deletions
diff --git a/mail/Makefile b/mail/Makefile index b6f990eb9f06..efa91d84c98d 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -649,7 +649,6 @@ SUBDIR += spamass-ixhash SUBDIR += spamass-milter SUBDIR += spamass-rules - SUBDIR += spamass-rules_du_jour SUBDIR += spambnc SUBDIR += spamcup SUBDIR += spamd diff --git a/mail/spamass-rules_du_jour/Makefile b/mail/spamass-rules_du_jour/Makefile deleted file mode 100644 index e05b78eebe80..000000000000 --- a/mail/spamass-rules_du_jour/Makefile +++ /dev/null @@ -1,108 +0,0 @@ -# New ports collection makefile for: spamass-rules -# Date created: 20040802 -# Whom: mranner@inode.at -# -# $FreeBSD$ -# - -PORTNAME= rules_du_jour -PORTVERSION= 1.29b -PORTREVISION= 3 -CATEGORIES= mail -MASTER_SITES= http://www.ranner.jawa.at/stuff/ -PKGNAMEPREFIX= spamass- - -MAINTAINER= michael@ranner.eu -COMMENT= Automatic updates of custom rulesets for SpamAssassin - -RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \ - spamc:${PORTSDIR}/mail/p5-Mail-SpamAssassin - -DEPRECATED= Use sa-update instead -EXPIRATION_DATE= 2011-01-31 - -OPTIONS= ANTIDRUG "Already included in SA 3.0" off \ - BLACKLIST "William Stearn's sa-blacklist" off \ - BLACKLISTU "William Stearn's URI blacklist" off \ - BOGUS_VIRUS "Catch 'collateral spam' caused by viruses" on \ - CURL "Use curl to download rule files" off \ - RANDOM "Detects spamware mistakes like: %RANDOM_WORD" on \ - SARE "Installs safe SARE rules" on \ - SARE_CODING "Ruleset for html coding abuse" off \ - SARE_HEADER "Ruleset for header abuse" off \ - SARE_SPEC "SARE Specific Ruleset" off \ - TRIPWIRE "Matches 3 chars that shouldn't be together" off -PLIST_FILES= bin/rules_du_jour etc/mail/rulesdujour.sample -SUB_FILES= pkg-message -NO_BUILD= yes -USE_BZIP2= yes -SPAMASS_CONF= etc/mail/spamassassin -SPAMASS_DIR= ${PREFIX}/${SPAMASS_CONF} - -.include <bsd.port.pre.mk> - -.if defined(WITH_ANTIDRUG) -SPAMASS_FILES+= ANTIDRUG -.endif - -.if defined(WITH_BOGUS_VIRUS) -SPAMASS_FILES+= BOGUSVIRUS -.endif - -.if defined(WITH_BLACKLIST) -SPAMASS_FILES+= BLACKLIST -.endif - -.if defined(WITH_BLACKLISTU) -SPAMASS_FILES+= BLACKLIST_URI -.endif - -.if defined(WITH_CURL) -RUN_DEPENDS+= curl:${PORTSDIR}/ftp/curl -.endif - -.if defined(WITH_RANDOM) -SPAMASS_FILES+= RANDOMVAL -.endif - -.if defined(WITH_SARE) -.for i in SARE_ADULT SARE_FRAUD SARE_BML SARE_RATWARE SARE_SPOOF \ - SARE_BAYES_POISON_NXM SARE_OEM SARE_RANDOM \ - EVILNUMBERS -SPAMASS_FILES+= $i -.endfor -.endif - -.if defined(WITH_SARE_CODING) -SPAMASS_FILES+= SARE_CODING -.endif - -.if defined(WITH_SARE_HEADER) -SPAMASS_FILES+= SARE_HEADER -.endif - -.if defined(WITH_SARE_SPEC) -SPAMASS_FILES+= SARE_SPECIFIC -.endif - -.if defined(WITH_TRIPWIRE) -SPAMASS_FILES+= TRIPWIRE -.endif - -do-build: - @${DO_NADA} - -pre-install: - @${SED} -e 's|TRIPWIRE EVILNUMBERS SARE_RANDOM|${SPAMASS_FILES}|' \ - -e 's|PREFIX="/usr/local"|PREFIX="${PREFIX}"|' \ - <${WRKSRC}/config >${WRKSRC}/config.sample - -do-install: - @${INSTALL} -d -o root -g wheel -m 0755 ${SPAMASS_DIR}/RulesDuJour - @${INSTALL} ${WRKSRC}/rules_du_jour ${PREFIX}/bin - @${INSTALL_DATA} ${WRKSRC}/config.sample ${PREFIX}/etc/mail/rulesdujour.sample - -post-install: - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.post.mk> diff --git a/mail/spamass-rules_du_jour/distinfo b/mail/spamass-rules_du_jour/distinfo deleted file mode 100644 index 9e32de28f185..000000000000 --- a/mail/spamass-rules_du_jour/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (rules_du_jour-1.29b.tar.bz2) = 2bdbd2ccf12b985f8df28512435226f224c3319093506b175c35a6c430c6acfd -SIZE (rules_du_jour-1.29b.tar.bz2) = 15430 diff --git a/mail/spamass-rules_du_jour/files/patch-config b/mail/spamass-rules_du_jour/files/patch-config deleted file mode 100644 index 3ef3a441e9fa..000000000000 --- a/mail/spamass-rules_du_jour/files/patch-config +++ /dev/null @@ -1,58 +0,0 @@ ---- config.orig Sun Aug 8 14:56:31 2004 -+++ config Sun Aug 8 14:58:41 2004 -@@ -0,0 +1,55 @@ -+TRUSTED_RULESETS="TRIPWIRE EVILNUMBERS SARE_RANDOM"; -+PREFIX="/usr/local" -+ -+#### Local SpamAssassin/system Settings #### -+#### Modify these to match your system. #### -+SA_DIR="/usr/local/etc/mail/spamassassin"; # Change this to your SA local config -+ # directory, probably /etc/mail/spamassassin. -+ -+MAIL_ADDRESS="root"; # Where do Email notifications go -+ -+SINGLE_EMAIL_ONLY="true"; # Set this to "true" to send only one notification -+ # email per RDJ run with "interesting" -+ # activity. Set to "" to send a separate -+ # for each interesting activity. -+ -+EMAIL_RDJ_UPDATE_ONLY="true"; # Set this to "true" to send notifications only -+ # when an update for RDJ has been retrieved. Set -+ # to "" (default) to send notifications whenever a ruleset -+ # has changed. (Has no effect unless SINGLE_EMAIL_ONLY is set) -+ -+SA_LINT="$PREFIX/bin/spamassassin --lint"; # Command used to lint the rules -+ -+SA_RESTART="$PREFIX/etc/rc.d/sa-spamd.sh restart"; # Command used to restart spamd -+ # May be /etc/rc.d/init.d/spamassassin restart -+ # For amavisd, may be /etc/init.d/amavisd restart -+ # For minedefang, may be /etc/init.d/mimedefang restart -+ -+CURL_PROG="$PREFIX/bin/curl"; # Location of the curl program -+CURL_OPTS="-w %{http_code} --compressed -O -R -s -S -z"; # Parameters of the curl program -+ -+WGET_PROG="fetch"; # Use FreeBSD's fetch instead of wget -+WGET_OPTS="-m"; # Parameter of the fetch program -+ -+#WGET_PROG="$PREFIX/bin/wget"; # Location of the wget program -+#WGET_OPTS="-N"; # Parameters of the wget program -+ -+#PERL="perl"; # Location of the perl program -+#GREP="grep"; # Location of the grep program -+#TAIL="tail -1"; # Location (and parameters) for 'tail -n1' -+#HEAD="head -1"; # Location (and parameters) for 'head -n1' -+#MAILCMD="mail"; # Location of the mail program -+ # that takes and understand the -s flag -+#DEBUG="true"; # Uncomment this to force debug mode on (or use -D) -+#### End Local SpamAssassin Settings #### -+ -+#TMPDIR="${SA_DIR}/RulesDuJour"; # Where we store old rulesets. If you delete -+ # this directory, RuleSets may be detected as -+ # out of date the next time you run rules_du_jour. -+ -+ -+#### Do not change next lines #### -+#### or script will break on FreeBSD #### -+ -+DONT_CHECK_FOR_RDJ_UPDATES="true"; # Do not change, or periodic run will break on FreeBSD -+RDJ_URL="http://sandgnat.com/rdj/rules_du_jour"; # URL to update this script diff --git a/mail/spamass-rules_du_jour/files/patch-rules_du_jour b/mail/spamass-rules_du_jour/files/patch-rules_du_jour deleted file mode 100644 index 168033294eea..000000000000 --- a/mail/spamass-rules_du_jour/files/patch-rules_du_jour +++ /dev/null @@ -1,26 +0,0 @@ ---- rules_du_jour.orig Fri Dec 8 16:36:00 2006 -+++ rules_du_jour Fri Dec 8 16:42:32 2006 -@@ -1,4 +1,4 @@ --#!/bin/bash -+#!/usr/local/bin/bash - # Version 1.29b (1.29b: fixed SARE_STOCKS url) Changed ZMI_GERMAN url to its new location - # TODO: add auto-cleanup of old rulesets - -@@ -52,7 +52,7 @@ - # Read configuration file (my_rules_du_jour wrapper script is no longer recommended) - # /etc/rulesdujour/config is the recommended configuration file location but may - # be read from one of the following locations, including the RDJ_CONFIGFILE env variable. --for i in ${RDJ_CONFIGFILE} /etc/rulesdujour/config /etc/rulesdujour /etc/mail/rulesdujour /etc/sysconfig/RulesDuJour /etc/sysconfig/rulesdujour ; do -+for i in ${RDJ_CONFIGFILE} /usr/local/etc/rulesdujour/config /usr/local/etc/rulesdujour /usr/local/etc/mail/rulesdujour ; do - [ -f "$i" ] && source $i ; - done; - -@@ -143,7 +143,7 @@ - - TRIPWIRE=0; - CF_URLS[0]="${RULESEMPORIUM}/99_FVGT_Tripwire.cf"; -- CF_FILES[0]="tripwire.cf"; -+ CF_FILES[0]="99_FVGT_Tripwire.cf"; - CF_NAMES[0]="TripWire"; - PARSE_NEW_VER_SCRIPTS[0]="${PERL} -ne 'print if /^\s*#.*(vers?|version|rev|revision)[:\.\s]*[0-9]/i;' | sort | ${TAIL}"; - diff --git a/mail/spamass-rules_du_jour/files/pkg-message.in b/mail/spamass-rules_du_jour/files/pkg-message.in deleted file mode 100644 index 1028f85fe9b3..000000000000 --- a/mail/spamass-rules_du_jour/files/pkg-message.in +++ /dev/null @@ -1,20 +0,0 @@ -************************************************************************* - -Please edit the configuration in %%PREFIX%%/etc/mail/rulesdujour -Run %%PREFIX%%/bin/rules_du_jour to fetch the latest rulesets -The custom rulesets are updated in %%PREFIX%%/etc/mail/spamassassin - -After updating the rules please do the following: - -1. Read any extra info available with the rules, including the comments - in the .cf files. -2. Check to make sure that the default scores in these rules fit your - installation. You might want to modify scores. -3. Test the new rulesets. Keep an eye on hits from the new rules to - determine if the scoring is right for you. -4. Run %%PREFIX%%/bin/rules_du_jour ONLY once per day. - -You may visit http://www.exit0.us/index.php/RulesDuJour before you use -RulesDuJour. - -************************************************************************* diff --git a/mail/spamass-rules_du_jour/pkg-descr b/mail/spamass-rules_du_jour/pkg-descr deleted file mode 100644 index f84786736f8a..000000000000 --- a/mail/spamass-rules_du_jour/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -Automatic updates of custom rulesets for SpamAssassin which are not -part of the official distro. - -WWW: http://www.exit0.us/index.php?pagename=RulesDuJour diff --git a/mail/spamass-rules_du_jour/pkg-plist b/mail/spamass-rules_du_jour/pkg-plist deleted file mode 100644 index 73eec5cc9115..000000000000 --- a/mail/spamass-rules_du_jour/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -@exec mkdir -p %D/etc/mail/spamassassin/RulesDuJour -@dirrmtry etc/mail/spamassassin/RulesDuJour -@dirrmtry etc/mail/spamassassin -@dirrmtry etc/mail |