From nobody Wed Jul 26 15:04:14 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R9xxq3L6wz4pS92; Wed, 26 Jul 2023 15:04:15 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R9xxq1BM6z3qZ9; Wed, 26 Jul 2023 15:04:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690383855; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=oUuinfILq+QCTVtwzrQoSeYCV6Ax65jftSjdFNVy/5A=; b=kRD98HkfNJJAG/1L/U1i1Fm1uDVWBHzf0mKQs7ReUpp5GgxVihfsAjcPAwpJWssY9Erj6n LcCSD3F58DMa5gmKgGwvkm49rn3q86QEpfex0j7+6XC2PL7exNGgzgyNhKNW5+6uwZ/gyx BKFxPRssfUYXEeqNEdDNs/Q31HO7SrLswsoR7LNTXJ3gU+wBdohFWYXVF9Owku9CUz1L/A SGL6weGbbPx4lO/gMdYW8UQDJYNQ0KEFO3FDNBjMvp+AzNClFN3+eAc1g/EOTD2tgjkYHG IdG7hVc8niMF1eKCcuvq2MSNj9e6c1m6dBU1NFuHIBARh4WjTgnhgh9JRiYI/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690383855; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=oUuinfILq+QCTVtwzrQoSeYCV6Ax65jftSjdFNVy/5A=; b=QLSOdvh8Y56fS47gNAP77oVMe2NZNLpUe4HvlM17Gl1OYgL/rOsHkcpPhVvtYoyKtuSRfw m9Gvv3SFvo7Fwu0ILUeG+1cCNGBd/VXXi33DLiM4nH+rM06sXmyhpBW5YzbMHBjcFhsng2 h2S3TekeoVTsA0s9EBXpwL7Sf9YTeNQdYMnqfUyJpDclHvsGU35nXYPbCiEUKUIqqT1YJ3 iyrviIpMWOqNE1XQqMRKA0Gn7etG3XtuHVUeMlQhQQsVYcKqL/IkUfLHMR8K70rUlQ8r2X rdbxVxODqVedZvzT48E7Bdbe0HsOFlMtkNtVN1nR5tB3gBH6pnyyHsYGqcwgRA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690383855; a=rsa-sha256; cv=none; b=Cv0bRJOauoPNAMUHEqT18/Pni7M/ZM83rbK3I4QcLJvKMiGDlWqDkrODzcB5xRS4o9NYBa BHZW3Uk8tM1KR76RFwN89LubOk936pJaLgH/nOk8i6QY5UUtRhtPs8jlbxT2BGmUBxmuQf 6q0nUFMZ51YVDlo52U9pC/cYacjmNO88gxQV3WGWGvEekgRj2SEh+W+6nT4q7mTnpA1kgZ ARDEbBQavtgBALBX4ZVRdg7dGdEE0ISYZNNK4qR33aY5Gg8Fci8jsqpUtcZZqzTv06xjWe 6gQV86m6qscU0ZQrrK02pyKcsMIt1atC+f0paArv7vetTxQuBgn2Eg+J+eudbA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4R9xxq0GL7znKZ; Wed, 26 Jul 2023 15:04:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36QF4Evx087798; Wed, 26 Jul 2023 15:04:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36QF4EJc087797; Wed, 26 Jul 2023 15:04:14 GMT (envelope-from git) Date: Wed, 26 Jul 2023 15:04:14 GMT Message-Id: <202307261504.36QF4EJc087797@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 6002b822319d - main - sysutils/istatserver: Fix build with openssl3 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6002b822319d2723bb25dad959951a0b0e8d8254 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=6002b822319d2723bb25dad959951a0b0e8d8254 commit 6002b822319d2723bb25dad959951a0b0e8d8254 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-26 14:44:10 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-26 15:04:02 +0000 sysutils/istatserver: Fix build with openssl3 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- sysutils/istatserver/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sysutils/istatserver/Makefile b/sysutils/istatserver/Makefile index 3c761c6dfc9a..88601a28bdec 100644 --- a/sysutils/istatserver/Makefile +++ b/sysutils/istatserver/Makefile @@ -22,6 +22,12 @@ GROUPS= istat SUB_FILES= pkg-message +.include + +.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*} +CXXFLAGS+= -DOPENSSL_API_COMPAT=0x30000000L" +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/istatserver ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${PREFIX}/etc/istatserver @@ -35,4 +41,4 @@ do-install: ${STAGEDIR}${MANPREFIX}/man/man5 @${ECHO_CMD} '@postexec ${CHOWN} -R ${USERS}:${GROUPS} %D/etc/istatserver' >> ${TMPPLIST} -.include +.include