ports/51769: Update port: security/smtpscan upgrade to version 0.4
Hubert Tournier
hubert at tournier.org
Sun May 4 22:50:14 UTC 2003
>Number: 51769
>Category: ports
>Synopsis: Update port: security/smtpscan upgrade to version 0.4
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun May 04 15:50:12 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Hubert Tournier <hubert at frbsd.org>
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
Maison
>Environment:
System: FreeBSD castor.online.fr 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Sun May 4 10:45:37 CEST 2003 root at castor.online.fr:/usr/src/sys/compile/CASTOR i386
>Description:
An SMTP software identifier
>How-To-Repeat:
>Fix:
--- smtpscan-0.4.diff begins here ---
diff -ruN smtpscan.bak/Makefile smtpscan/Makefile
--- smtpscan.bak/Makefile Wed Apr 30 13:40:36 2003
+++ smtpscan/Makefile Sun May 4 23:47:18 2003
@@ -1,13 +1,14 @@
# New ports collection makefile for: smtpscan
# Date created: 1 decembre 2002
+# Date updated: 4 mai 2003
# Whom: Hubert Tournier <hubert at frbsd.org>
#
# $FreeBSD$
#
PORTNAME= smtpscan
-PORTVERSION= 0.3.1
-PORTREVISION= 1
+PORTVERSION= 0.4
+PORTREVISION= 0
CATEGORIES= security mail perl5
MASTER_SITES= http://www.greyhats.org/outils/smtpscan/
diff -ruN smtpscan.bak/distinfo smtpscan/distinfo
--- smtpscan.bak/distinfo Sat Apr 19 23:37:10 2003
+++ smtpscan/distinfo Sun May 4 23:47:18 2003
@@ -1 +1 @@
-MD5 (smtpscan-0.3.1.tar.gz) = 86f5af132f674ba85ab1267b4d69d159
+MD5 (smtpscan-0.4.tar.gz) = 0c87ab36741fa4f334d97e04a05e6fdd
diff -ruN smtpscan.bak/files/patch-aa smtpscan/files/patch-aa
--- smtpscan.bak/files/patch-aa Sat Apr 19 23:37:11 2003
+++ smtpscan/files/patch-aa Sun May 4 23:47:18 2003
@@ -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 -ruN smtpscan.bak/files/patch-ab smtpscan/files/patch-ab
--- smtpscan.bak/files/patch-ab Sat Apr 19 23:37:11 2003
+++ smtpscan/files/patch-ab Sun May 4 23:47:18 2003
@@ -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 at 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 at thisdomaindoesnotandmustnotexists.com';
-@@ -34,6 +34,8 @@
- $INVALID_SOURCE = 'impossibleaddress at thisdomaindoesnotandmustnotexists.com';
- $MY_DOMAIN = 'test.com';
- $VALID_SOURCE = 'test at yahoo.com';
-+
-+Getopt::Long::Configure("no_ignore_case");
-
- $| = 1;
- #
+ # Copyright (C) 2002-2003 Julien Bordet
--- smtpscan-0.4.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list