1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

add Mail::SRS - Interface to Sender Rewriting Scheme

PR:		67118
Submitted by:	snowchyld@mokney.org
Reviewed by:	mat
This commit is contained in:
Oliver Eikemeier 2004-05-27 12:01:02 +00:00
parent ed754524b9
commit 58ce00a575
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110125
6 changed files with 80 additions and 0 deletions

View File

@ -252,6 +252,7 @@
SUBDIR += p5-Mail-RBL
SUBDIR += p5-Mail-RFC822-Address
SUBDIR += p5-Mail-SPF-Query
SUBDIR += p5-Mail-SRS
SUBDIR += p5-Mail-Sender
SUBDIR += p5-Mail-Sendmail
SUBDIR += p5-Mail-SpamAssassin

35
mail/p5-Mail-SRS/Makefile Normal file
View File

@ -0,0 +1,35 @@
# New ports collection makefile for: p5-Mail-SRS
# Date created: 24 May 2004
# Whom: snowchyld
#
# $FreeBSD$
#
PORTNAME= Mail-SRS
PORTVERSION= 0.30
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Mail
PKGNAMEPREFIX= p5-
MAINTAINER= mail-srs-bsd-port@snowchyld.org
COMMENT= Sender Rewriting Scheme
BUILD_DEPENDS= ${SITE_PERL}/Digest/HMAC_SHA1.pm:${PORTSDIR}/security/p5-Digest-HMAC \
${SITE_PERL}/MLDBM.pm:${PORTSDIR}/databases/p5-MLDBM \
${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \
${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
RUN_DEPENDS= ${BUILD_DEPENDS}
MAN3= Mail::SRS.3 \
Mail::SRS::DB.3 \
Mail::SRS::Daemon.3 \
Mail::SRS::Guarded.3 \
Mail::SRS::Reversible.3 \
Mail::SRS::Shortcut.3
MAN1= srs.1 \
srsd.1
PERL_CONFIGURE= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (Mail-SRS-0.30.tar.gz) = 042c49598e0a71b8dfeb78d9e642e032
SIZE (Mail-SRS-0.30.tar.gz) = 26296

View File

@ -0,0 +1,23 @@
--- Makefile.PL.orig Tue Feb 24 21:35:53 2004
+++ Makefile.PL Thu May 27 13:27:13 2004
@@ -1,18 +1,9 @@
-use 5.006;
use ExtUtils::MakeMaker;
# Thanks to YAML
my @programs = ();
-for (split "\n", <<'QUERIES') {
-srs|y|SRS command line interface
-srsd|y|SRS address translation daemon
-QUERIES
- my ($program, $default, $description) = split /\|/, $_;
- if (prompt("Do you want to install '$program', the $description?",
- $default) =~ /^y/) {
- push(@programs, $program);
- }
-}
+push(@programs, "srs");
+push(@programs, "srsd");
WriteMakefile(
'NAME' => 'Mail::SRS',

View File

@ -0,0 +1,5 @@
Mail::SRS provides an interface to the Sender Rewriting Scheme .
WWW: http://www.anarres.org/projects/srs/
- snowchyld
<mail-srs-bsd-port@snowchyld.org>

View File

@ -0,0 +1,14 @@
%%SITE_PERL%%/Mail/SRS/DB.pm
%%SITE_PERL%%/Mail/SRS/Daemon.pm
%%SITE_PERL%%/Mail/SRS/Guarded.pm
%%SITE_PERL%%/Mail/SRS/Reversable.pm
%%SITE_PERL%%/Mail/SRS/Reversible.pm
%%SITE_PERL%%/Mail/SRS/Shortcut.pm
%%SITE_PERL%%/Mail/SRS.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/SRS/.packlist
bin/srs
bin/srsd
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/SRS
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail 2>/dev/null || true
@dirrm %%SITE_PERL%%/Mail/SRS
@unexec rmdir %D/%%SITE_PERL%%/Mail 2>/dev/null || true