diff --git a/security/scanssh/Makefile b/security/scanssh/Makefile index a861fe30e98..7983c2c09ca 100644 --- a/security/scanssh/Makefile +++ b/security/scanssh/Makefile @@ -1,9 +1,10 @@ COMMENT= SSH remote version scanner -DISTNAME= scanssh-2.1 -REVISION = 4 +GH_ACCOUNT= ofalk +GH_PROJECT= scanssh +GH_TAGNAME= 2.1.2 + CATEGORIES= security -MASTER_SITES= https://monkey.org/~provos/ HOMEPAGE= https://www.monkey.org/~provos/scanssh/ @@ -14,6 +15,7 @@ LIB_DEPENDS= net/libdnet SEPARATE_BUILD= Yes CONFIGURE_STYLE= gnu +MAKE_FLAGS= CFLAGS="${CFLAGS} -Wall" NO_TEST= Yes diff --git a/security/scanssh/distinfo b/security/scanssh/distinfo index 6e8d2d46c1d..b059bb85cf5 100644 --- a/security/scanssh/distinfo +++ b/security/scanssh/distinfo @@ -1,2 +1,2 @@ -SHA256 (scanssh-2.1.tar.gz) = BX7sh+2vu+W8IpYMusU+OtoCIkANZJpeLyLMiYH1sDU= -SIZE (scanssh-2.1.tar.gz) = 111481 +SHA256 (scanssh-2.1.2.tar.gz) = 2znnrxGPU6AWlzlAez8Ltou7h/lcB6sh+qd23qkz/us= +SIZE (scanssh-2.1.2.tar.gz) = 147470 diff --git a/security/scanssh/patches/patch-Makefile_in b/security/scanssh/patches/patch-Makefile_in deleted file mode 100644 index 174fb962972..00000000000 --- a/security/scanssh/patches/patch-Makefile_in +++ /dev/null @@ -1,12 +0,0 @@ ---- Makefile.in.orig Mon Jan 28 10:04:29 2008 -+++ Makefile.in Mon Jan 28 10:04:12 2008 -@@ -79,7 +79,8 @@ bin_PROGRAMS = scanssh - 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 ?= -O2 -g -+CFLAGS += -Wall - - INCLUDES = -I$(top_srcdir)/@DNETCOMPAT@ -I$(top_srcdir)/compat @EVENTINC@ @PCAPINC@ @DNETINC@ - diff --git a/security/scanssh/patches/patch-interface_c b/security/scanssh/patches/patch-interface_c index 8ae607e03d9..88c03b2494c 100644 --- a/security/scanssh/patches/patch-interface_c +++ b/security/scanssh/patches/patch-interface_c @@ -1,6 +1,7 @@ ---- interface.c.orig Sun Jul 11 09:02:56 2004 -+++ interface.c Sun Jul 11 09:04:02 2004 -@@ -224,8 +224,8 @@ interface_init(char *dev, int naddresses +Index: interface.c +--- interface.c.orig ++++ interface.c +@@ -224,8 +224,8 @@ interface_init(char *dev, int naddresses, char **addre struct timeval tv = SS_POLL_INTERVAL; syslog(LOG_INFO, "switching to polling mode"); @@ -11,7 +12,7 @@ } } -@@ -354,7 +354,7 @@ interface_poll_recv(int fd, short type, +@@ -354,7 +354,7 @@ interface_poll_recv(int fd, short type, void *arg) struct interface *inter = arg; struct timeval tv = SS_POLL_INTERVAL; diff --git a/security/scanssh/pkg/PLIST b/security/scanssh/pkg/PLIST index 19ba93c3322..69a67e4a869 100644 --- a/security/scanssh/pkg/PLIST +++ b/security/scanssh/pkg/PLIST @@ -1,2 +1,2 @@ -bin/scanssh +@bin bin/scanssh @man man/man1/scanssh.1