FreeBSD Bugzilla – Attachment 27202 Details for
Bug 46221
new port proposal for smtpscan-0.3.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 5.67 KB, created by
Hubert Tournier
on 2002-12-12 23:20:01 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Hubert Tournier
Created:
2002-12-12 23:20:01 UTC
Size:
5.67 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: ># ># smtpscan ># smtpscan/Makefile ># smtpscan/pkg-comment ># smtpscan/pkg-descr ># smtpscan/pkg-plist ># smtpscan/distinfo ># smtpscan/files ># smtpscan/files/patch-aa ># smtpscan/files/patch-ab ># smtpscan/files/Makefile ># >echo c - smtpscan >mkdir -p smtpscan > /dev/null 2>&1 >echo x - smtpscan/Makefile >sed 's/^X//' >smtpscan/Makefile << 'END-of-smtpscan/Makefile' >X# New ports collection makefile for: smtpscan >X# Date created: 1 decembre 2002 >X# Whom: Hubert Tournier <hubert@frbsd.org> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= smtpscan >XPORTVERSION= 0.3.1 >XCATEGORIES= security mail net perl5 >XMASTER_SITES= http://www.greyhats.org/outils/smtpscan/ >X >XWRKSRC= work/${PORTNAME} >XUSE_PERL5= yes >XMAN1= smtpscan.1 >XRUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \ >X ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/i386-freebsd/IO.pm:${PORTSDIR}/devel/p5-IO \ >X ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/DNS.pm:${PORTSDIR}/net/p5-Net-DNS >X >XMAINTAINER= hubert@frbsd.org >X >Xpre-build: >X cp files/Makefile ${WRKSRC}/Makefile >X >X.include <bsd.port.mk> >END-of-smtpscan/Makefile >echo x - smtpscan/pkg-comment >sed 's/^X//' >smtpscan/pkg-comment << 'END-of-smtpscan/pkg-comment' >XA remote SMTP server version detector >END-of-smtpscan/pkg-comment >echo x - smtpscan/pkg-descr >sed 's/^X//' >smtpscan/pkg-descr << 'END-of-smtpscan/pkg-descr' >Xsmtpscan is a remote SMTP server version detector. It can >Xbe used to guess which mail software is used on a remote >Xserver, that may hide its SMTP banner. >X >XWWW: http://www.greyhats.org/outils/smtpscan/ >X >X- Hubert Tournier >Xhubert@frbsd.org >END-of-smtpscan/pkg-descr >echo x - smtpscan/pkg-plist >sed 's/^X//' >smtpscan/pkg-plist << 'END-of-smtpscan/pkg-plist' >Xbin/smtpscan >Xshare/smtpscan/fingerprints >Xshare/smtpscan/tests >X@dirrm share/smtpscan >END-of-smtpscan/pkg-plist >echo x - smtpscan/distinfo >sed 's/^X//' >smtpscan/distinfo << 'END-of-smtpscan/distinfo' >XMD5 (smtpscan-0.3.1.tar.gz) = 86f5af132f674ba85ab1267b4d69d159 >END-of-smtpscan/distinfo >echo c - smtpscan/files >mkdir -p smtpscan/files > /dev/null 2>&1 >echo x - smtpscan/files/patch-aa >sed 's/^X//' >smtpscan/files/patch-aa << 'END-of-smtpscan/files/patch-aa' >X--- configure.orig Sun Dec 1 19:13:29 2002 >X+++ configure Sun Dec 1 19:17:43 2002 >X@@ -9,42 +9,51 @@ >X BINDIR="$DESTDIR/bin" >X MANDIR="$DESTDIR/man/man1" >X >X-echo "Installing smtpscan..." >X-echo " Using directory $DESTDIR" >X+#echo "Installing smtpscan..." >X+#echo " Using directory $DESTDIR" >X >X-echo -n " Checking for Net::DNS ... " >X-perl -MNet::DNS -e '' >/dev/null 2>&1 >X-if [ $? != 0 ] >X-then >X- echo "" >X- echo "" >X- echo " !!! ERROR !!!" >X- echo " Net::DNS not found" >X- echo " You are strongly adviced to install it !" >X- >X- echo " Net::DNS is included in the smtpscan distribution" >X- echo " To install it, just make :" >X- echo " # tar zxvf Net-DNS-0.29.tar.gz" >X- echo " # cd Net-DNS-0.29" >X- echo " # perl Makefile.PL" >X- echo " # make" >X- echo " # make install" >X- exit >X-fi >X+#echo -n " Checking for Net::DNS ... " >X+#perl -MNet::DNS -e '' >/dev/null 2>&1 >X+#if [ $? != 0 ] >X+#then >X+# echo "" >X+# echo "" >X+# echo " !!! ERROR !!!" >X+# echo " Net::DNS not found" >X+# echo " You are strongly adviced to install it !" >X+# >X+# echo " Net::DNS is included in the smtpscan distribution" >X+# echo " To install it, just make :" >X+# echo " # tar zxvf Net-DNS-0.29.tar.gz" >X+# echo " # cd Net-DNS-0.29" >X+# echo " # perl Makefile.PL" >X+# echo " # make" >X+# echo " # make install" >X+# exit >X+#fi >X >X-echo "Ok" >X+#echo "Ok" >X >X+if [ "$1" = "install" ] >X+then >X install -m 755 -d "$SHAREDIR/smtpscan" >X install -m 755 -d "$BINDIR" >X install -m 755 -d "$MANDIR" >X >X install -m 444 ./src/fingerprints "$SHAREDIR/smtpscan/fingerprints" >X install -m 444 ./src/tests "$SHAREDIR/smtpscan/tests" >X+fi >X >X+if [ "$1" = "build" ] >X+then >X perl -i -pe "s{(\\\$LOCAL_SHARE\s+=\s+)'/usr/local/share';}{\$1'$SHAREDIR';};" ./src/smtpscan >X perl -i -pe "s{\\@prefix\\@}{$DESTDIR};" ./docs/man/smtpscan.1 >X+fi >X >X+if [ "$1" = "install" ] >X+then >X install -m 755 ./src/smtpscan "$BINDIR/smtpscan" >X install -m 644 ./docs/man/smtpscan.1 "$DESTDIR/man/man1" >X+fi >X >X-echo "Installation Ok" >X+#echo "Installation Ok" >END-of-smtpscan/files/patch-aa >echo x - smtpscan/files/patch-ab >sed 's/^X//' >smtpscan/files/patch-ab << 'END-of-smtpscan/files/patch-ab' >X--- src/smtpscan.orig Fri Nov 22 10:23:22 2002 >X+++ src/smtpscan Fri Nov 22 10:23:09 2002 >X@@ -1,4 +1,4 @@ >X-#!/usr/bin/perl -w >X+#!/usr/bin/perl >X # >X # Author : Julien Bordet <zejames@greyhats.org> >X # Copyright (C) 2002 Julien Bordet >X@@ -9,7 +9,7 @@ >X # >X >X use strict; >X-use Getopt::Long qw /:config no_ignore_case/; >X+use Getopt::Long; >X use IO::Socket::INET; >X use File::Basename; >X use Net::DNS; >X@@ -28,7 +28,7 @@ >X # Global variables >X # >X >X-$VERSION = '0.3'; >X+$VERSION = '0.3.1'; >X >X $LOCAL_SHARE = '/usr/local/share'; >X $INVALID_SOURCE = 'impossibleaddress@thisdomaindoesnotandmustnotexists.com'; >X@@ -34,6 +34,8 @@ >X $INVALID_SOURCE = 'impossibleaddress@thisdomaindoesnotandmustnotexists.com'; >X $MY_DOMAIN = 'test.com'; >X $VALID_SOURCE = 'test@yahoo.com'; >X+ >X+Getopt::Long::Configure("no_ignore_case"); >X >X $| = 1; >X # >END-of-smtpscan/files/patch-ab >echo x - smtpscan/files/Makefile >sed 's/^X//' >smtpscan/files/Makefile << 'END-of-smtpscan/files/Makefile' >Xall: >X ./configure build >X >Xinstall: >X ./configure install >X >END-of-smtpscan/files/Makefile >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 46221
: 27202