From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 5 11:50:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9D21E2AF for ; Wed, 5 Feb 2014 11:50:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 552A81E59 for ; Wed, 5 Feb 2014 11:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s15Bo0AV071021 for ; Wed, 5 Feb 2014 11:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s15Bo0C3070976; Wed, 5 Feb 2014 11:50:00 GMT (envelope-from gnats) Resent-Date: Wed, 5 Feb 2014 11:50:00 GMT Resent-Message-Id: <201402051150.s15Bo0C3070976@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kurt Jaeger Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C607320A; Wed, 5 Feb 2014 11:42:01 +0000 (UTC) Received: from f10.opsec.eu (f10.opsec.eu [IPv6:2001:14f8:200:4::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 84F561E16; Wed, 5 Feb 2014 11:42:01 +0000 (UTC) Received: from pi by f10.opsec.eu with local (Exim 4.82 (FreeBSD)) (envelope-from ) id 1WB0rb-000HI2-EX; Wed, 05 Feb 2014 12:41:55 +0100 Message-Id: Date: Wed, 05 Feb 2014 12:41:55 +0100 From: Kurt Jaeger To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/186478: [patch update] security/sslscan linker fix (adding -lcrypto) Cc: wg@freebsd.org, matthieu@labs.fr X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Kurt Jaeger List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2014 11:50:01 -0000 >Number: 186478 >Category: ports >Synopsis: [patch update] security/sslscan linker fix (adding -lcrypto) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Feb 05 11:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Kurt Jaeger >Release: FreeBSD 10.0-RELEASE amd64 >Organization: - >Environment: System: FreeBSD f10.opsec.eu 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: building sslscan fails with a linker error: [...] /usr/bin/ld: : invalid DSO for symbol `BN_num_bits' definition //usr/local/lib/libcrypto.so.8: could not read symbols: Bad value cc: error: linker command failed with exit code 1 (use -v to see invocation) [...] Adding -lcrypto fixes this. >How-To-Repeat: cd /usr/ports/security/sslscan make >Fix: diff -r -u -N security/sslscan/files/patch-Makefile /usr/home/pi/myp/security/sslscan/files/patch-Makefile --- security/sslscan/files/patch-Makefile 2014-01-22 23:18:22.000000000 +0100 +++ /usr/home/pi/myp/security/sslscan/files/patch-Makefile 2014-02-05 12:38:18.000000000 +0100 @@ -10,7 +10,7 @@ all: - gcc -g -Wall -lssl -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS) -+ ${CC} -g -Wall -lssl -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS) ++ ${CC} -g -Wall -lssl -lcrypto -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS) install: - cp sslscan $(BINPATH) >Release-Note: >Audit-Trail: >Unformatted: