Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Dec 2002 20:46:06 GMT
From:      Hubert Tournier <hubert@tournier.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/46552: new port: smtpmap-0.8
Message-ID:  <200212262046.gBQKk6C8052449@iris.co.fr.clara.net>

next in thread | raw e-mail | index | archive | help

>Number:         46552
>Category:       ports
>Synopsis:       new port: smtpmap-0.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 26 11:50:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Hubert Tournier <hubert@frbsd.org>
>Release:        FreeBSD 5.0-RC1 i386
>Organization:
Maison
>Environment:
System: FreeBSD herisson.maison 5.0-RC1 FreeBSD 5.0-RC1 #0: Tue Dec 10 17:20:33 CET 2002 root@:/usr/src/sys/i386/compile/HERISSON i386

>Description:
	An SMTP software identifier
>How-To-Repeat:
>Fix:

--- smtpmap-0.8.shar begins here ---
# 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:
#
#	smtpmap
#	smtpmap/Makefile
#	smtpmap/distinfo
#	smtpmap/files
#	smtpmap/files/patch-aa
#	smtpmap/files/patch-ab
#	smtpmap/pkg-comment
#	smtpmap/pkg-descr
#	smtpmap/pkg-plist
#
echo c - smtpmap
mkdir -p smtpmap > /dev/null 2>&1
echo x - smtpmap/Makefile
sed 's/^X//' >smtpmap/Makefile << 'END-of-smtpmap/Makefile'
X# New ports collection makefile for:	smtpmap
X# Date created:				26 decembre 2002
X# Whom:					Hubert Tournier <hubert@frbsd.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	smtpmap
XPORTVERSION=	0.8
XCATEGORIES=	security mail net
XMASTER_SITES=	http://plasmahh.free-bsd.org/
XUSE_BZIP2=	yes
XHAS_CONFIGURE=	yes
XMAKEFILE=	makefile
XCFLAGS+=	-I../include -D_PREFIX=\\\"/usr/local\\\"
X
XMAINTAINER=	hubert@frbsd.org
X
X.include <bsd.port.mk>
END-of-smtpmap/Makefile
echo x - smtpmap/distinfo
sed 's/^X//' >smtpmap/distinfo << 'END-of-smtpmap/distinfo'
XMD5 (smtpmap-0.8.tar.bz2) = d01a24967d55290a1564251cef8f8cb4
END-of-smtpmap/distinfo
echo c - smtpmap/files
mkdir -p smtpmap/files > /dev/null 2>&1
echo x - smtpmap/files/patch-aa
sed 's/^X//' >smtpmap/files/patch-aa << 'END-of-smtpmap/files/patch-aa'
X--- configure.orig	Fri Jun 14 16:06:36 2002
X+++ configure	Thu Dec 26 00:22:41 2002
X@@ -2,7 +2,7 @@
X #
X #
X # This is not generated by autoconf or similar, just handcoded, since we don't need this much complexity
X-PREFIX=/usr
X+PREFIX=/usr/local
X if [ $# -gt 0 ]
X then
X     case $1 in
X@@ -61,19 +61,6 @@
X echo -e ". version $GCCVER found."
X fi
X 
X-echo -n "Checking for compatible make .."
X-MAKE=`gmake --version 2>/dev/null`
X-
X-if [ -z "$MAKE" ]
X-then
X-echo ". not found"
X-echo -e "\n the shipped makefiles are compatible with gmake only. please in stall gmake for compiling !\n"
X-exit
X-else
X-echo ". found."
X-fi
X-
X-
X if [ ! -e makefile.conf ]
X then
X echo "Could not find makefile.conf" 
X@@ -86,5 +73,5 @@
X mv mk makefile.conf
X echo -e "PREFIX=$PREFIX" >> makefile.conf
X 
X-echo -e "\n\nWe are ready to compile. type \"gmake\" or \"gmake install\" to create and then install the software"
X+echo -e "\n\nWe are ready to compile. type \"make\" or \"make install\" to create and then install the software"
X 
END-of-smtpmap/files/patch-aa
echo x - smtpmap/files/patch-ab
sed 's/^X//' >smtpmap/files/patch-ab << 'END-of-smtpmap/files/patch-ab'
X--- include/types.h.orig	Wed Dec 25 23:26:52 2002
X+++ include/types.h	Wed Dec 25 23:27:14 2002
X@@ -13,7 +13,7 @@
X #ifndef __TYPES_H
X #define __TYPES_H
X 
X-#ifdef __linux__
X+#ifdef __FreeBSD__
X typedef bool		BOOL;
X typedef float 		double32;
X typedef double 		double64;
X@@ -29,7 +29,7 @@
X 
X typedef signed short	sint16;
X typedef unsigned short	uint16;
X-#endif // __linux__
X+#endif // __FreeBSD__
X 
X #ifdef __sparc__
X typedef bool            BOOL;
END-of-smtpmap/files/patch-ab
echo x - smtpmap/pkg-comment
sed 's/^X//' >smtpmap/pkg-comment << 'END-of-smtpmap/pkg-comment'
XAn SMTP software identifier
END-of-smtpmap/pkg-comment
echo x - smtpmap/pkg-descr
sed 's/^X//' >smtpmap/pkg-descr << 'END-of-smtpmap/pkg-descr'
XSmtpmap is able to identify the running smtp software on a given host.
XIt shows the probability of the server version, and uses three
Xdifferent fingerprinting technologies to maximize the probabilities.
XIt can also be used to look if there is any smtp service running on
Xthe given port.
X
XSmtpmap is a program from Dennis Lubert <plasmahh@gmx.net>.
X
XWWW: http://plasmahh.free-bsd.org/down_tool
X
X- Hubert Tournier
Xhubert@frbsd.org
END-of-smtpmap/pkg-descr
echo x - smtpmap/pkg-plist
sed 's/^X//' >smtpmap/pkg-plist << 'END-of-smtpmap/pkg-plist'
Xbin/smtpmap
Xshare/smtpmap/fingerprints-conf
Xshare/smtpmap/fingerprints-return
Xshare/smtpmap/fingerprints-rfc
X@dirrm share/smtpmap
END-of-smtpmap/pkg-plist
exit
--- smtpmap-0.8.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212262046.gBQKk6C8052449>