1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

Update to scanssh 2.1.

Submitted by:	brueffer (previous version)
PR:		ports/77348
This commit is contained in:
Kris Kennaway 2005-04-23 22:57:04 +00:00
parent 630ec37360
commit cb9984c3da
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134024
8 changed files with 25 additions and 49 deletions

View File

@ -6,24 +6,23 @@
#
PORTNAME= scanssh
PORTVERSION= 1.60b
PORTREVISION= 1
PORTVERSION= 2.1
CATEGORIES= security net
MASTER_SITES= http://www.monkey.org/~provos/
DISTNAME= ${PORTNAME}-1.6b
MAINTAINER= kris@FreeBSD.org
COMMENT= Scanssh scans a subnet and reports the version of SSH installed
COMMENT= Scans networks for open proxies, SSH, Web and SMTP servers
BUILD_DEPENDS= ${LOCALBASE}/lib/libdnet.a:${PORTSDIR}/net/libdnet \
${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent
GNU_CONFIGURE= YES
PLIST_FILES= bin/scanssh
MAN1= scanssh.1
WRKSRC= ${WRKDIR}/scanssh
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/scanssh ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/scanssh.1 ${PREFIX}/man/man1
${MKDIR} ${PREFIX}/share/scanssh/
${TOUCH} ${PREFIX}/share/scanssh/exclude.list
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
MD5 (scanssh-1.6b.tar.gz) = b0b7a4e6953a878b188156449ae0750f
SIZE (scanssh-1.6b.tar.gz) = 51064
MD5 (scanssh-2.1.tar.gz) = 9fab4253b56b2d15367d4872b370cdcb
SIZE (scanssh-2.1.tar.gz) = 111481

View File

@ -0,0 +1,11 @@
--- Makefile.in.orig Sat Apr 23 15:51:17 2005
+++ Makefile.in Sat Apr 23 15:51:24 2005
@@ -79,7 +79,7 @@
scanssh_SOURCES = scanssh.c atomicio.c exclude.c connecter.c xmalloc.c interface.c socks.c http.c telnet.c exclude.h interface.h scanssh.h socks.h xmalloc.h
scanssh_LDADD = @LIBOBJS@ @PCAPLIB@ @EVENTLIB@ @DNETLIB@
-CFLAGS = -O2 -Wall -g
+CFLAGS+= -Wall -g
INCLUDES = -I$(top_srcdir)/@DNETCOMPAT@ -I$(top_srcdir)/compat @EVENTINC@ @PCAPINC@ @DNETINC@

View File

@ -1,10 +0,0 @@
--- exclude.c.orig Fri Sep 8 02:53:19 2000
+++ exclude.c Fri Sep 8 02:53:34 2000
@@ -40,7 +40,7 @@
#include "exclude.h"
-char *excludefile = "exclude.list";
+char *excludefile = PREFIX "/share/scanssh/exclude.list";
struct exclude_list excludequeue;
struct exclude_list rndexclqueue;

View File

@ -1,10 +0,0 @@
--- Makefile.in.orig Fri Mar 9 19:07:36 2001
+++ Makefile.in Fri Mar 9 19:07:57 2001
@@ -6,7 +6,7 @@
VPATH= @srcdir@
CC= @CC@
-CFLAGS= @CFLAGS@ @DEFS@ -I. -I$(srcdir) -I$(srcdir)/missing @PCAPINC@ -D_BSD_SOURCE
+CFLAGS= @CFLAGS@ @DEFS@ -I. -I$(srcdir) -I$(srcdir)/missing @PCAPINC@ -D_BSD_SOURCE -DPREFIX=\"@prefix@\"
LDFLAGS= @LDFLAGS@
LIBS= @LIBS@ @PCAPLIB@

View File

@ -1,16 +0,0 @@
$FreeBSD$
--- pcapu.c.orig Mon Mar 3 17:55:38 2003
+++ pcapu.c Mon Mar 3 17:56:03 2003
@@ -47,8 +47,8 @@
#include "config.h"
struct phdr {
- unsigned long saddr;
- unsigned long daddr;
+ in_addr_t saddr;
+ in_addr_t daddr;
char zero;
unsigned char protocol;
unsigned short length;

View File

@ -1,3 +1,8 @@
Scanssh scans a subnet and reports the version of SSH installed.
ScanSSH supports scanning a list of addresses and networks for open proxies,
SSH protocol servers, Web and SMTP servers. Where possible ScanSSH, displays
the version number of the running services. ScanSSH protocol scanner supports
random selection of IP addresses from large network ranges and is useful for
gathering statistics on the deployment of SSH protocol servers in a company
or the Internet as whole.
WWW: http://www.monkey.org/~provos/

View File

@ -1,3 +0,0 @@
bin/scanssh
share/scanssh/exclude.list
@dirrm share/scanssh