mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
update to scanssh-2.1.4
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
COMMENT= SSH remote version scanner
|
||||
|
||||
GH_ACCOUNT= ofalk
|
||||
GH_PROJECT= scanssh
|
||||
GH_TAGNAME= 2.1.3.1
|
||||
V= 2.1.4
|
||||
DISTNAME= scanssh-$V
|
||||
|
||||
CATEGORIES= security
|
||||
|
||||
HOMEPAGE= https://www.monkey.org/~provos/scanssh/
|
||||
SITES= https://github.com/ofalk/scanssh/releases/download/$V/
|
||||
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
@@ -14,9 +14,7 @@ WANTLIB= c event pcap dnet>=1
|
||||
|
||||
LIB_DEPENDS= net/libdnet
|
||||
|
||||
CONFIGURE_STYLE= autoreconf
|
||||
AUTOMAKE_VERSION= 1.16
|
||||
AUTOCONF_VERSION= 2.71
|
||||
CONFIGURE_STYLE= gnu
|
||||
|
||||
SEPARATE_BUILD= Yes
|
||||
MAKE_FLAGS= CFLAGS="${CFLAGS} -Wall"
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
SHA256 (scanssh-2.1.3.1.tar.gz) = L4IizpeBD4AngLo9Nat9ynehyFO0g6RQnIZHNB9Yw+I=
|
||||
SIZE (scanssh-2.1.3.1.tar.gz) = 147954
|
||||
SHA256 (scanssh-2.1.4.tar.gz) = HYKknMmbnK6YdN4vu4T2ihzyNaVUud8L+Vm9TQPxlB4=
|
||||
SIZE (scanssh-2.1.4.tar.gz) = 174684
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
Index: interface.c
|
||||
--- interface.c.orig
|
||||
+++ interface.c
|
||||
@@ -225,8 +225,8 @@ interface_init(char *dev, int naddresses, char **addre
|
||||
struct timeval tv = SS_POLL_INTERVAL;
|
||||
|
||||
syslog(LOG_INFO, "switching to polling mode");
|
||||
- timeout_set(&inter->if_recvev, interface_poll_recv, inter);
|
||||
- timeout_add(&inter->if_recvev, &tv);
|
||||
+ event_set(&inter->if_recvev, -1, 0, interface_poll_recv, inter);
|
||||
+ event_add(&inter->if_recvev, &tv);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -355,7 +355,7 @@ interface_poll_recv(int fd, short type, void *arg)
|
||||
struct interface *inter = arg;
|
||||
struct timeval tv = SS_POLL_INTERVAL;
|
||||
|
||||
- timeout_add(&inter->if_recvev, &tv);
|
||||
+ event_add(&inter->if_recvev, &tv);
|
||||
|
||||
interface_recv(fd, type, arg);
|
||||
}
|
||||
Reference in New Issue
Block a user