diff options
Diffstat (limited to 'mail/ricochet')
-rw-r--r-- | mail/ricochet/Makefile | 41 | ||||
-rw-r--r-- | mail/ricochet/distinfo | 3 | ||||
-rw-r--r-- | mail/ricochet/files/patch-complaint | 9 | ||||
-rw-r--r-- | mail/ricochet/files/patch-install | 59 | ||||
-rw-r--r-- | mail/ricochet/files/patch-ricochet | 41 | ||||
-rw-r--r-- | mail/ricochet/pkg-descr | 8 | ||||
-rw-r--r-- | mail/ricochet/pkg-plist | 13 |
7 files changed, 0 insertions, 174 deletions
diff --git a/mail/ricochet/Makefile b/mail/ricochet/Makefile deleted file mode 100644 index 892de4accc1d..000000000000 --- a/mail/ricochet/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -# New ports collection makefile for: ricochet -# Date created: 02 September 2001 -# Whom: Yen-Ming Lee <leeym@leeym.com> -# -# $FreeBSD$ -# - -PORTNAME= ricochet -PORTVERSION= 0.98 -PORTREVISION= 2 -CATEGORIES= mail -MASTER_SITES= http://vipul.net/perl/sources/spamcontrol/ricochet/ \ - http://mirage.izhnet.ru/distfiles/ \ - http://freebsd.unixfreunde.de/sources/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= An automated agent for tracing and reporting internet junk mail - -DEPRECATED= Upstream disapear and distfile is no more available -EXPIRATION_DATE= 2011-05-01 - -RUN_DEPENDS= ${SITE_PERL}/Mail/Internet.pm:${PORTSDIR}/mail/p5-Mail-Tools \ - ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \ - ${SITE_PERL}/Text/Template.pm:${PORTSDIR}/textproc/p5-Text-Template \ - ${SITE_PERL}/Net/XWhois.pm:${PORTSDIR}/net/p5-Net-XWhois \ - ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww - -NO_BUILD= yes -PERL_CONFIGURE= yes - -do-configure: -.for file in install ricochet - ${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL},g' ${WRKSRC}/${file} - ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/${file} - ${REINPLACE_CMD} -e 's,%%INSTALL_DATA%%,${INSTALL_DATA},g' ${WRKSRC}/${file} -.endfor - -do-install: - @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} ./install - -.include <bsd.port.mk> diff --git a/mail/ricochet/distinfo b/mail/ricochet/distinfo deleted file mode 100644 index 7060a6bc1789..000000000000 --- a/mail/ricochet/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (ricochet-0.98.tar.gz) = d2e45dadd61c7d0f19b63e40604d9c66 -SHA256 (ricochet-0.98.tar.gz) = 88283587359a45146f3dc7d9c8cc9f3ec7e9cf2a691b4f38693445c89460297d -SIZE (ricochet-0.98.tar.gz) = 32057 diff --git a/mail/ricochet/files/patch-complaint b/mail/ricochet/files/patch-complaint deleted file mode 100644 index 666f8df1e7f1..000000000000 --- a/mail/ricochet/files/patch-complaint +++ /dev/null @@ -1,9 +0,0 @@ ---- complaint-template.bak Thu Feb 8 18:09:41 2001 -+++ complaint-template Wed Oct 8 06:50:31 2003 -@@ -14,5 +14,5 @@ - - ------------ unsolicited commercial mail follows ----------- - --{return $self->spam} -+>{return $self->spam} - diff --git a/mail/ricochet/files/patch-install b/mail/ricochet/files/patch-install deleted file mode 100644 index 88080974bf35..000000000000 --- a/mail/ricochet/files/patch-install +++ /dev/null @@ -1,59 +0,0 @@ ---- install.orig Sat Oct 23 07:22:23 1999 -+++ install Fri Sep 7 09:05:47 2001 -@@ -11,13 +11,13 @@ - - $APP = 'Ricochet'; - $VERSION = '0.92'; --$DIR = "$ENV{HOME}/.ricochet"; -+$DIR = "%%PREFIX%%/share/ricochet"; - @PACKAGE = qw/TODO CHANGES README ARTISTIC complaint-template ricochet abuse-contacts/; - - @REQUIRED = qw /Mail::Internet Net::DNS Text::Template Net::XWhois LWP::UserAgent/; - --$BINDIR = '/usr/local/bin'; -+$BINDIR = '%%PREFIX%%/bin'; --$EMAIL = defined $ENV{EMAIL} ? $ENV{EMAIL} : "$ENV{USERNAME}\@$ENV{HOSTNAME}"; -+$EMAIL = defined $ENV{EMAIL} ? $ENV{EMAIL} : "$ENV{USER}\@$ENV{HOST}"; - - ## Print an intro message. - print "\n---== $APP $VERSION Install ==---\n\n"; -@@ -89,25 +89,25 @@ - } - - ## Take config params: --&take_input ("Where should I place the Ricochet executable [Default: $BINDIR]?", \$BINDIR); --&take_input ("Return email address for complaint mails [Default: $EMAIL]?", \$EMAIL); -+#&take_input ("Where should I place the Ricochet executable [Default: $BINDIR]?", \$BINDIR); -+#&take_input ("Return email address for complaint mails [Default: $EMAIL]?", \$EMAIL); - - ## Make $HOME/.ricochet - unless (-e $DIR) { - print "\nMaking $DIR...\n"; -- mkdir $DIR, 0700; -+ mkdir $DIR, 0755; - } - print "\n"; - - unless (-e "$DIR/whois") { - print "\nMaking $DIR/whois ...\n"; -- mkdir "$DIR/whois", 0700; -+ mkdir "$DIR/whois", 0755; - } - print "\n"; - - unless (-e "$DIR/backup") { - print "\nMaking $DIR/backup ...\n"; -- mkdir "$DIR/backup", 0700; -+ mkdir "$DIR/backup", 0755; - } - print "\n"; - -@@ -119,7 +119,7 @@ - system "mv $DIR/$_ $DIR/backup/$_"; - } - print "Copying $_ to $DIR ...\n"; -- system "cp $_ $DIR"; -+ system "%%INSTALL_DATA%% $_ $DIR"; - print "\n"; - } @PACKAGE; - diff --git a/mail/ricochet/files/patch-ricochet b/mail/ricochet/files/patch-ricochet deleted file mode 100644 index 328cbabbcaf3..000000000000 --- a/mail/ricochet/files/patch-ricochet +++ /dev/null @@ -1,41 +0,0 @@ ---- ricochet.orig Tue Jun 24 22:40:18 2003 -+++ ricochet Wed Oct 8 06:42:08 2003 -@@ -566,15 +566,14 @@ - my ( $domain ) = @_; - $ua = new LWP::UserAgent; - $ua->agent("Ricochet/0.1 " . $ua->agent); -- my $req = new HTTP::Request POST => 'http://www.abuse.net/lookup.phtml'; -- $req->content_type('application/x-www-form-urlencoded'); -- $req->content("DOMAIN=$domain"); -+ my $req = new HTTP::Request GET => "http://www.abuse.net/lookup.phtml?DOMAIN=$domain"; -+ $ua->timeout(20); - my $res = $ua->request($req); - - if ($res->is_success) { - my $content = $res->content; - return undef if $content =~ /no information for this domain/; -- my @matches = $content =~ /(\S+\@\S+)\s*<BR>/ig; -+ my @matches = $content =~ /<tt>(\S+\@\S+)<\/tt>/g; - return \@matches; - } else { - return undef; -@@ -607,13 +606,17 @@ - - sub initialize { - my $self = shift; -- my $rc = "$ENV{RICOCHET}" || "$ENV{HOME}/.ricochet"; $rc .= "/ricochetrc"; -+ my $rc = "$ENV{RICOCHET}" || -d "$ENV{HOME}/.ricochet" ? "$ENV{HOME}/.ricochet" : "%%PREFIX%%/share/ricochet"; -+ $rc .= "/ricochetrc"; - Carp::croak "** Ricochet configuration file $rc doesn't exist. Aborting.\n" unless -e $rc; - open (RC, $rc); - grep { - chomp; - s/#.*$//; -- my ($field, $value) = split /:/, $_, 2; $value =~ s/\s//g; $field =~ s/\s//g; -+ my ($field, $value) = split /:/, $_, 2; -+ $value =~ s/^\s+//; -+ $value =~ s/\s+$//; -+ $field =~ s/\s//g; - $self->{$field} = $value unless $field ne "SENDMAIL" && defined $self->{$field}; - } (<RC>); - close RC; diff --git a/mail/ricochet/pkg-descr b/mail/ricochet/pkg-descr deleted file mode 100644 index 22eee5ceba88..000000000000 --- a/mail/ricochet/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ - Ricochet is an automated agent for tracing and reporting internet junk - mail (a.k.a Spam). Ricochet analyses the headers of a spam to identity - the machines used for its injection, looks up the email addresses of the - machine owners and mails out a complaint to them. Ricochet uses various - network information resources like nameserver records, MX records and - Whois databases worldwide to collect and verify this information. - -WWW: http://www.vipul.net/ricochet/ diff --git a/mail/ricochet/pkg-plist b/mail/ricochet/pkg-plist deleted file mode 100644 index a247fc0b72ab..000000000000 --- a/mail/ricochet/pkg-plist +++ /dev/null @@ -1,13 +0,0 @@ -bin/ricochet -%%DATADIR%%/ARTISTIC -%%DATADIR%%/CHANGES -%%DATADIR%%/README -%%DATADIR%%/TODO -%%DATADIR%%/abuse-contacts -%%DATADIR%%/complaint-template -%%DATADIR%%/ricochet -%%DATADIR%%/ricochetrc -%%DATADIR%%/skip-list -@dirrm %%DATADIR%%/whois -@dirrm %%DATADIR%%/backup -@dirrm %%DATADIR%% |