From e7ee760d1a3f41d9900a468b2b0b669d7ca60066 Mon Sep 17 00:00:00 2001 From: jakob Date: Tue, 29 Jan 2008 07:49:57 +0000 Subject: [PATCH] honour CFLAGS; from Stuart Henderson --- security/scanssh/Makefile | 4 ++-- security/scanssh/patches/patch-Makefile_in | 13 +++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 security/scanssh/patches/patch-Makefile_in diff --git a/security/scanssh/Makefile b/security/scanssh/Makefile index 153ca02f55d..6936f8ac90d 100644 --- a/security/scanssh/Makefile +++ b/security/scanssh/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.16 2007/09/15 23:30:01 merdely Exp $ +# $OpenBSD: Makefile,v 1.17 2008/01/29 07:49:57 jakob Exp $ COMMENT= SSH remote version scanner DISTNAME= scanssh-2.1 -PKGNAME= ${DISTNAME}p0 +PKGNAME= ${DISTNAME}p1 CATEGORIES= security MASTER_SITES= http://monkey.org/~provos/ \ ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/scanssh/ diff --git a/security/scanssh/patches/patch-Makefile_in b/security/scanssh/patches/patch-Makefile_in new file mode 100644 index 00000000000..496cd90a6e1 --- /dev/null +++ b/security/scanssh/patches/patch-Makefile_in @@ -0,0 +1,13 @@ +$OpenBSD: patch-Makefile_in,v 1.1 2008/01/29 07:49:57 jakob Exp $ +--- 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@ +