summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authoralnsn <alnsn>2016-07-26 20:33:35 +0000
committeralnsn <alnsn>2016-07-26 20:33:35 +0000
commita8ebf2d51ef97c8a3c7ce172540cefd3de4b0bfc (patch)
tree4c75963af22741298eac9b14d14781bf696caadc /security
parent76beef6c230e7573d870f382b6f1e7dd80787c21 (diff)
downloadpkgsrc-a8ebf2d51ef97c8a3c7ce172540cefd3de4b0bfc.tar.gz
Fix PKGSRC_MKPIE=yes build. Add LICENSE.
Diffstat (limited to 'security')
-rw-r--r--security/scanssh/Makefile3
-rw-r--r--security/scanssh/distinfo3
-rw-r--r--security/scanssh/patches/patch-Makefile.in15
3 files changed, 19 insertions, 2 deletions
diff --git a/security/scanssh/Makefile b/security/scanssh/Makefile
index 09d7c8c8225..8eab21ff284 100644
--- a/security/scanssh/Makefile
+++ b/security/scanssh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2016/03/05 11:29:26 jperkin Exp $
+# $NetBSD: Makefile,v 1.37 2016/07/26 20:33:35 alnsn Exp $
DISTNAME= scanssh-2.1
PKGREVISION= 15
@@ -8,6 +8,7 @@ MASTER_SITES= http://monkey.org/~provos/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://monkey.org/~provos/scanssh/
COMMENT= SSH remote version scanner
+LICENSE= original-bsd
GNU_CONFIGURE= YES
USE_BUILTIN.libevent= NO
diff --git a/security/scanssh/distinfo b/security/scanssh/distinfo
index fcfb0e9dd78..0a0deb7fec9 100644
--- a/security/scanssh/distinfo
+++ b/security/scanssh/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.8 2015/11/04 01:18:08 agc Exp $
+$NetBSD: distinfo,v 1.9 2016/07/26 20:33:35 alnsn Exp $
SHA1 (scanssh-2.1.tar.gz) = 69d35bab7fbe3ebc7e2e0dba37b3b1935b3cc194
RMD160 (scanssh-2.1.tar.gz) = c768f6dca5abe0998f0520bc4cb9be506bf038e6
SHA512 (scanssh-2.1.tar.gz) = 1ddff6f8e51735bab28032c8d7cbb641ff0cd19a404a27ab489589ef1e30e3721dd486854eb4fef15368cc53f10c9c2650ffaf7fa7f767dc2202fcc5540ae59c
Size (scanssh-2.1.tar.gz) = 111481 bytes
+SHA1 (patch-Makefile.in) = f180949dd42b76d84d75ec3b1ace94cbdfb90f89
SHA1 (patch-aa) = f5815d6bdf1c44c139f8c34f26f4518304a78d74
diff --git a/security/scanssh/patches/patch-Makefile.in b/security/scanssh/patches/patch-Makefile.in
new file mode 100644
index 00000000000..bab7266e91a
--- /dev/null
+++ b/security/scanssh/patches/patch-Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile.in,v 1.1 2016/07/26 20:33:35 alnsn Exp $
+
+Fix PKGSRC_MKPIE=yes build.
+
+--- Makefile.in.orig 2016-07-26 20:26:43.287121839 +0000
++++ Makefile.in
+@@ -79,7 +79,7 @@ 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 = -fPIC -O2 -Wall -g
+
+ INCLUDES = -I$(top_srcdir)/@DNETCOMPAT@ -I$(top_srcdir)/compat @EVENTINC@ @PCAPINC@ @DNETINC@
+