FreeBSD Bugzilla – Attachment 16622 Details for
Bug 30411
new port: mail/ricochet
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 5.75 KB, created by
Yen-Ming Lee
on 2001-09-07 03:00:01 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Yen-Ming Lee
Created:
2001-09-07 03:00:01 UTC
Size:
5.75 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># ricochet ># ricochet/Makefile ># ricochet/pkg-comment ># ricochet/pkg-descr ># ricochet/pkg-plist ># ricochet/distinfo ># ricochet/files ># ricochet/files/patch-install ># ricochet/files/patch-ricochet ># >echo c - ricochet >mkdir -p ricochet > /dev/null 2>&1 >echo x - ricochet/Makefile >sed 's/^X//' >ricochet/Makefile << 'END-of-ricochet/Makefile' >X# New ports collection makefile for: ricochet >X# Date created: 02 September 2001 >X# Whom: Yen-Ming Lee <leeym@leeym.com> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= ricochet >XPORTVERSION= 0.97 >XCATEGORIES= mail >XMASTER_SITES= http://vipul.net/perl/sources/spamcontrol/ricochet/ >X >XMAINTAINER= leeym@leeym.com >X >XBUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Mail/Internet.pm:${PORTSDIR}/mail/p5-Mail-Tools \ >X ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/DNS.pm:${PORTSDIR}/net/p5-Net-DNS \ >X ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Text/Template.pm:${PORTSDIR}/textproc/p5-Text-Template \ >X ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/XWhois.pm:${PORTSDIR}/net/p5-Net-XWhois \ >X ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww >X >XNO_BUILD= yes >X >Xpost-patch: >X.for file in install ricochet >X @${PERL5} -pi -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/${file} >X @${PERL5} -pi -e 's,%%INSTALL_DATA%%,${INSTALL_DATA},g' ${WRKSRC}/${file} >X.endfor >X >Xdo-install: >X @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} ./install >X >X.include <bsd.port.mk> >END-of-ricochet/Makefile >echo x - ricochet/pkg-comment >sed 's/^X//' >ricochet/pkg-comment << 'END-of-ricochet/pkg-comment' >XAn automated agent for tracing and reporting internet junk mail >END-of-ricochet/pkg-comment >echo x - ricochet/pkg-descr >sed 's/^X//' >ricochet/pkg-descr << 'END-of-ricochet/pkg-descr' >X Ricochet is an automated agent for tracing and reporting internet junk >X mail (a.k.a Spam). Ricochet analyses the headers of a spam to identity >X the machines used for its injection, looks up the email addresses of the >X machine owners and mails out a complaint to them. Ricochet uses various >X network information resources like nameserver records, MX records and >X Whois databases worldwide to collect and verify this information. >END-of-ricochet/pkg-descr >echo x - ricochet/pkg-plist >sed 's/^X//' >ricochet/pkg-plist << 'END-of-ricochet/pkg-plist' >Xbin/ricochet >Xshare/ricochet/ARTISTIC >Xshare/ricochet/CHANGES >Xshare/ricochet/README >Xshare/ricochet/TODO >Xshare/ricochet/abuse-contacts >Xshare/ricochet/complaint-template >Xshare/ricochet/ricochet >Xshare/ricochet/ricochetrc >Xshare/ricochet/skip-list >X@dirrm share/ricochet/whois >X@dirrm share/ricochet/backup >X@dirrm share/ricochet >END-of-ricochet/pkg-plist >echo x - ricochet/distinfo >sed 's/^X//' >ricochet/distinfo << 'END-of-ricochet/distinfo' >XMD5 (ricochet-0.97.tar.gz) = 99ef76f12777b2dcb882e132391904fa >END-of-ricochet/distinfo >echo c - ricochet/files >mkdir -p ricochet/files > /dev/null 2>&1 >echo x - ricochet/files/patch-install >sed 's/^X//' >ricochet/files/patch-install << 'END-of-ricochet/files/patch-install' >X--- install.orig Sat Oct 23 07:22:23 1999 >X+++ install Fri Sep 7 09:05:47 2001 >X@@ -11,13 +11,13 @@ >X >X $APP = 'Ricochet'; >X $VERSION = '0.92'; >X-$DIR = "$ENV{HOME}/.ricochet"; >X+$DIR = "%%PREFIX%%/share/ricochet"; >X @PACKAGE = qw/TODO CHANGES README ARTISTIC complaint-template ricochet abuse-contacts/; >X >X @REQUIRED = qw /Mail::Internet Net::DNS Text::Template Net::XWhois LWP::UserAgent/; >X >X-$BINDIR = '/usr/local/bin'; >X+$BINDIR = '%%PREFIX%%/bin'; >X-$EMAIL = defined $ENV{EMAIL} ? $ENV{EMAIL} : "$ENV{USERNAME}\@$ENV{HOSTNAME}"; >X+$EMAIL = defined $ENV{EMAIL} ? $ENV{EMAIL} : "$ENV{USER}\@$ENV{HOST}"; >X >X ## Print an intro message. >X print "\n---== $APP $VERSION Install ==---\n\n"; >X@@ -89,25 +89,25 @@ >X } >X >X ## Take config params: >X-&take_input ("Where should I place the Ricochet executable [Default: $BINDIR]?", \$BINDIR); >X-&take_input ("Return email address for complaint mails [Default: $EMAIL]?", \$EMAIL); >X+#&take_input ("Where should I place the Ricochet executable [Default: $BINDIR]?", \$BINDIR); >X+#&take_input ("Return email address for complaint mails [Default: $EMAIL]?", \$EMAIL); >X >X ## Make $HOME/.ricochet >X unless (-e $DIR) { >X print "\nMaking $DIR...\n"; >X- mkdir $DIR, 0700; >X+ mkdir $DIR, 0755; >X } >X print "\n"; >X >X unless (-e "$DIR/whois") { >X print "\nMaking $DIR/whois ...\n"; >X- mkdir "$DIR/whois", 0700; >X+ mkdir "$DIR/whois", 0755; >X } >X print "\n"; >X >X unless (-e "$DIR/backup") { >X print "\nMaking $DIR/backup ...\n"; >X- mkdir "$DIR/backup", 0700; >X+ mkdir "$DIR/backup", 0755; >X } >X print "\n"; >X >X@@ -119,7 +119,7 @@ >X system "mv $DIR/$_ $DIR/backup/$_"; >X } >X print "Copying $_ to $DIR ...\n"; >X- system "cp $_ $DIR"; >X+ system "%%INSTALL_DATA%% $_ $DIR"; >X print "\n"; >X } @PACKAGE; >X >END-of-ricochet/files/patch-install >echo x - ricochet/files/patch-ricochet >sed 's/^X//' >ricochet/files/patch-ricochet << 'END-of-ricochet/files/patch-ricochet' >X--- ricochet.orig Fri Feb 9 03:23:19 2001 >X+++ ricochet Fri Sep 7 09:03:59 2001 >X@@ -574,7 +574,8 @@ >X >X sub initialize { >X my $self = shift; >X- my $rc = "$ENV{RICOCHET}" || "$ENV{HOME}/.ricochet"; $rc .= "/ricochetrc"; >X+ my $rc = "$ENV{RICOCHET}" || -f "$ENV{HOME}/.ricochet" ? "$ENV{HOME}/.ricochet" : "%%PREFIX%%/share/ricochet"; >X+ $rc .= "/ricochetrc"; >X Carp::croak "** Ricochet configuration file $rc doesn't exist. Aborting.\n" unless -e $rc; >X open (RC, $rc); >X grep { >END-of-ricochet/files/patch-ricochet >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 30411
: 16622