From owner-svn-ports-head@freebsd.org Sun Sep 11 03:23:14 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 28906BD5741; Sun, 11 Sep 2016 03:23:14 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D3D3B1956; Sun, 11 Sep 2016 03:23:13 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8B3NDHW066517; Sun, 11 Sep 2016 03:23:13 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8B3NCks066515; Sun, 11 Sep 2016 03:23:12 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201609110323.u8B3NCks066515@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Sun, 11 Sep 2016 03:23:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421782 - in head/net/dtcpclient: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2016 03:23:14 -0000 Author: marino Date: Sun Sep 11 03:23:12 2016 New Revision: 421782 URL: https://svnweb.freebsd.org/changeset/ports/421782 Log: net/dtcpclient: Revert SSL, fix DF to use libmd It turns out that dtcpclient's makefile checks the OPSYS and links with either libcrypto or libmd depending on its value. The SSL dependency is incorrect for FreeBSD, but correct for DF. Revert the previous commit and make DragonFly link with libmd as well. Reported by: Hajimu UMEMOTO Added: head/net/dtcpclient/files/patch-Makefile (contents, props changed) Modified: head/net/dtcpclient/Makefile Modified: head/net/dtcpclient/Makefile ============================================================================== --- head/net/dtcpclient/Makefile Sun Sep 11 02:34:24 2016 (r421781) +++ head/net/dtcpclient/Makefile Sun Sep 11 03:23:12 2016 (r421782) @@ -2,6 +2,7 @@ PORTNAME= dtcpclient PORTVERSION= 20151002 +PORTREVISION= 1 CATEGORIES= net ipv6 MASTER_SITES= http://www.mahoroba.org/~ume/ipv6/ @@ -10,10 +11,8 @@ COMMENT= Dynamic Tunnel Configuration Pr LICENSE= BSD2CLAUSE -USES= ssl uidfix +USES= uidfix USE_RC_SUBR= dtcpclient -CFLAGS+= -I${OPENSSLINC} -LDFLAGS+= -L${OPENSSLLIB} PLIST_FILES= man/man8/dtcpclient.8.gz \ sbin/dtcpclient \ Added: head/net/dtcpclient/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/dtcpclient/files/patch-Makefile Sun Sep 11 03:23:12 2016 (r421782) @@ -0,0 +1,11 @@ +--- Makefile.orig 2015-10-02 08:23:57 UTC ++++ Makefile +@@ -45,7 +45,7 @@ MANDIR= $(PREFIX)/man/man + + CFLAGS+= -Wall -DPREFIX=\"$(PREFIX)\" + +-.if ($(OPSYS) == "FreeBSD") ++.if ($(OPSYS) == "FreeBSD") || ($(OPSYS) == "DragonFly") + CFLAGS+= -DHAVE_MD5 + LDADD= -lmd + .elif ($(OPSYS) == "NetBSD") || ($(OPSYS) == "OpenBSD")