diff options
author | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2003-05-05 10:28:32 +0000 |
---|---|---|
committer | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2003-05-05 10:28:32 +0000 |
commit | 2428258f58028344591920d900d521a221021e52 (patch) | |
tree | f7290312cb507108e6ca4d252ff41153e51123ab /security/smtpscan | |
parent | e777676b61b4a01994d36d9c7714b914eb947328 (diff) | |
download | ports-2428258f58028344591920d900d521a221021e52.tar.gz ports-2428258f58028344591920d900d521a221021e52.zip |
Notes
Diffstat (limited to 'security/smtpscan')
-rw-r--r-- | security/smtpscan/Makefile | 3 | ||||
-rw-r--r-- | security/smtpscan/distinfo | 2 | ||||
-rw-r--r-- | security/smtpscan/files/patch-aa | 11 | ||||
-rw-r--r-- | security/smtpscan/files/patch-ab | 33 |
4 files changed, 12 insertions, 37 deletions
diff --git a/security/smtpscan/Makefile b/security/smtpscan/Makefile index 18b2f0b4ad74..bfa5094b5430 100644 --- a/security/smtpscan/Makefile +++ b/security/smtpscan/Makefile @@ -6,8 +6,7 @@ # PORTNAME= smtpscan -PORTVERSION= 0.3.1 -PORTREVISION= 1 +PORTVERSION= 0.4 CATEGORIES= security mail perl5 MASTER_SITES= http://www.greyhats.org/outils/smtpscan/ diff --git a/security/smtpscan/distinfo b/security/smtpscan/distinfo index fed822e9c258..eff9454c1def 100644 --- a/security/smtpscan/distinfo +++ b/security/smtpscan/distinfo @@ -1 +1 @@ -MD5 (smtpscan-0.3.1.tar.gz) = 86f5af132f674ba85ab1267b4d69d159 +MD5 (smtpscan-0.4.tar.gz) = 0c87ab36741fa4f334d97e04a05e6fdd diff --git a/security/smtpscan/files/patch-aa b/security/smtpscan/files/patch-aa index e1cab10b5a3c..e365e708c5be 100644 --- a/security/smtpscan/files/patch-aa +++ b/security/smtpscan/files/patch-aa @@ -1,6 +1,6 @@ ---- configure.orig Sun Dec 1 19:13:29 2002 -+++ configure Sun Dec 1 19:17:43 2002 -@@ -9,42 +9,51 @@ +--- configure.orig Sun May 4 23:36:44 2003 ++++ configure Sun May 4 23:40:21 2003 +@@ -10,45 +10,54 @@ BINDIR="$DESTDIR/bin" MANDIR="$DESTDIR/man/man1" @@ -64,7 +64,10 @@ +if [ "$1" = "build" ] +then perl -i -pe "s{(\\\$LOCAL_SHARE\s+=\s+)'/usr/local/share';}{\$1'$SHAREDIR';};" ./src/smtpscan - perl -i -pe "s{\\@prefix\\@}{$DESTDIR};" ./docs/man/smtpscan.1 + perl -i -pe "s{\\@prefix\\@}{$SHAREDIR};" ./docs/man/smtpscan.1 + perl -i -pe "s{\\@VERSION\\@}{$VERSION};" ./src/smtpscan + perl -i -pe "s{\\@VERSION\\@}{$VERSION};" ./INSTALL + perl -i -pe "s{\\@VERSION\\@}{$VERSION};" ./docs/man/smtpscan.1 +fi +if [ "$1" = "install" ] diff --git a/security/smtpscan/files/patch-ab b/security/smtpscan/files/patch-ab index e9fd5b8b0c83..d14d59034d96 100644 --- a/security/smtpscan/files/patch-ab +++ b/security/smtpscan/files/patch-ab @@ -1,35 +1,8 @@ ---- src/smtpscan.orig Fri Nov 22 10:23:22 2002 -+++ src/smtpscan Fri Nov 22 10:23:09 2002 +--- src/smtpscan.orig Sun May 4 23:42:44 2003 ++++ src/smtpscan Sun May 4 23:44:07 2003 @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl # # Author : Julien Bordet <zejames@greyhats.org> - # Copyright (C) 2002 Julien Bordet -@@ -9,7 +9,7 @@ - # - - use strict; --use Getopt::Long qw /:config no_ignore_case/; -+use Getopt::Long; - use IO::Socket::INET; - use File::Basename; - use Net::DNS; -@@ -28,7 +28,7 @@ - # Global variables - # - --$VERSION = '0.3'; -+$VERSION = '0.3.1'; - - $LOCAL_SHARE = '/usr/local/share'; - $INVALID_SOURCE = 'impossibleaddress@thisdomaindoesnotandmustnotexists.com'; -@@ -34,6 +34,8 @@ - $INVALID_SOURCE = 'impossibleaddress@thisdomaindoesnotandmustnotexists.com'; - $MY_DOMAIN = 'test.com'; - $VALID_SOURCE = 'test@yahoo.com'; -+ -+Getopt::Long::Configure("no_ignore_case"); - - $| = 1; - # + # Copyright (C) 2002-2003 Julien Bordet |