Date: Sun, 11 Sep 2016 03:23:12 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421782 - in head/net/dtcpclient: . files Message-ID: <201609110323.u8B3NCks066515@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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")
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609110323.u8B3NCks066515>