From owner-svn-ports-head@freebsd.org Mon Aug 31 08:53:01 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 305253BA8E9; Mon, 31 Aug 2020 08:53:01 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bg3rF0bQ1z4Fvp; Mon, 31 Aug 2020 08:53:01 +0000 (UTC) (envelope-from danfe@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id ED4D625493; Mon, 31 Aug 2020 08:53:00 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07V8r0eX068217; Mon, 31 Aug 2020 08:53:00 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07V8r030068216; Mon, 31 Aug 2020 08:53:00 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <202008310853.07V8r030068216@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Mon, 31 Aug 2020 08:53:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r547156 - head/irc/ircproxy X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: head/irc/ircproxy X-SVN-Commit-Revision: 547156 X-SVN-Commit-Repository: ports 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.33 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: Mon, 31 Aug 2020 08:53:01 -0000 Author: danfe Date: Mon Aug 31 08:53:00 2020 New Revision: 547156 URL: https://svnweb.freebsd.org/changeset/ports/547156 Log: Allow to build against contemporary versions of OpenSSL. PR: 244473 (modified) Modified: head/irc/ircproxy/Makefile Modified: head/irc/ircproxy/Makefile ============================================================================== --- head/irc/ircproxy/Makefile Mon Aug 31 08:52:13 2020 (r547155) +++ head/irc/ircproxy/Makefile Mon Aug 31 08:53:00 2020 (r547156) @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcares.so:dns/c-ares -USES= tar:bzip2 +USES= autoreconf tar:bzip2 GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib -lcrypto CFLAGS+= -I${LOCALBASE}/include @@ -39,14 +39,13 @@ SSL_USES= ssl .include -.if ${SSL_DEFAULT} == base -BROKEN_FreeBSD_12= gnutls library not found. Install gnutls or use --with-openssl -BROKEN_FreeBSD_13= gnutls library not found. Install gnutls or use --with-openssl -.endif - post-patch: @${REINPLACE_CMD} -e 's|EUSER="ircproxy"|EUSER="ircproxyd"|g; \ s|EGROUP="users"|EGROUP="ircproxyd"|g' ${WRKSRC}/data/${PORTNAME}d.conf +.if ${OSVERSION} > 1200084 + @${REINPLACE_CMD} -e '/gnutls/!s,SSL_library_init,OPENSSL_init_ssl,' \ + ${WRKSRC}/configure.in +.endif post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/imkpasswd ${STAGEDIR}${PREFIX}/bin/ircproxyd