aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2003-05-05 18:28:32 +0800
committersumikawa <sumikawa@FreeBSD.org>2003-05-05 18:28:32 +0800
commita6d2329fac4e730c90c60c75cab1d5829419c028 (patch)
tree7bb95ca682eb4c4ae3f9b8cafe3d14036fc5b839 /security
parent8c3ba07080d91564a1a2d96bbb5a77b5c474150e (diff)
downloadfreebsd-ports-graphics-a6d2329fac4e730c90c60c75cab1d5829419c028.tar.gz
freebsd-ports-graphics-a6d2329fac4e730c90c60c75cab1d5829419c028.tar.zst
freebsd-ports-graphics-a6d2329fac4e730c90c60c75cab1d5829419c028.zip
Upgrade to 4.0
Diffstat (limited to 'security')
-rw-r--r--security/smtpscan/Makefile3
-rw-r--r--security/smtpscan/distinfo2
-rw-r--r--security/smtpscan/files/patch-aa11
-rw-r--r--security/smtpscan/files/patch-ab33
4 files changed, 12 insertions, 37 deletions
diff --git a/security/smtpscan/Makefile b/security/smtpscan/Makefile
index 18b2f0b4ad7..bfa5094b543 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 fed822e9c25..eff9454c1de 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 e1cab10b5a3..e365e708c5b 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 e9fd5b8b0c8..d14d59034d9 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