From nobody Sat Jun 03 19:59:39 2023 X-Original-To: dev-commits-ports-main@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 4QYW174C8cz4ZYwX; Sat, 3 Jun 2023 19:59:39 +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 4QYW173WlDz3wDC; Sat, 3 Jun 2023 19:59:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685822379; 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=/PKtBHUnBBtHciX8WJrZ+BfCZAYcNDQBv9VVrnCX+YY=; b=kXygXQ/nOVug0c58/6gA/ADmP5K1+WBPlmgsUBnQhRdrf5NOhnlMCuWmZPV56MGzmyyC7D QzOkOXxcOM6e4NWuxHzYrjJPTEajvqux1rDItveH/AljDDaZ9gmCZeqkBQDrYTbgGv/3yq eC0z10Hl+nfB+OZi3tQ+dftk5CWk6VzRtjzlET7Nb0h0W3a0H4fGInlXPIEsQZQC54ty0L 3Hu+DJr/WaScoy1s6WartwrwyF/Rg0USYkamQ7eTOX+2vYzMdcTpLS2cQvIdCO2TF4dZNE TLUI8+1G3bSoVRrAxHIqhXxP6x99mjCIqttGSNZmXHbwMuod+i+r11h/n5507g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685822379; 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=/PKtBHUnBBtHciX8WJrZ+BfCZAYcNDQBv9VVrnCX+YY=; b=l+dg5ipsBxAiBSMRQxg3MbKopJ80UWZBvI48ZkTla9Gs79qnWa9ZsXlDZpnL2NRjs7WY7R 3KMdZHigwkQWg6nxb37YiCA5kEMvqirYIIW1lI1D5PdlXdO2H5pmHMyTf0t2OS6+g6GAeh HDmiQ5le4wnNIIoR3SvZi8RGl8FpZY4UiSM1+YvMmr5gAQ+NdNZPb0UDrq9WN++1lVWuxM fpiy45q/4eGDFy0SmJ8x2SvVACqO0Om5uUOk3jj67h759uYi0E0fSsKIRS/0q+qdNINjjv DslDH8+O8JHwz3EIi6bSf4pErkGVL5BGC7z6Z2V428BpwV4UGcgq3CmF3/4Pqw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685822379; a=rsa-sha256; cv=none; b=oo/wI3qCOGu58ne4hmC/d9huT0ATuHRfHDnVuMHR4IEklOdUwLr6/RIayYOC++5v2FRqCh LJeqm1QUlVkuzfTo/pjDB7S8ALgXu+i+1dU4OCYeVuDMFxo2mCd4o3APzTC8MIplIL1zWD EsSER3dkxAOAcvAZ5UxVF/4ckom7joFPARcYrdzAbm6jiK0k7aToEaKxdJnt5pNBjhKvZw 46tKLnnJl4ZvpwBx1QkzImiC32bV3D0scGh8fT/d2YV2kZ1JbC6TlPAN9iOtuo6c4dgTqr o11ZupvQFDBAZyqCifjxNqicy3tyRoNHf1qh9TpG4S35WQzrU6PAIwfEp5quBA== 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 4QYW172RHkzdxK; Sat, 3 Jun 2023 19:59:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 353JxdIH000472; Sat, 3 Jun 2023 19:59:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 353Jxd2c000471; Sat, 3 Jun 2023 19:59:39 GMT (envelope-from git) Date: Sat, 3 Jun 2023 19:59:39 GMT Message-Id: <202306031959.353Jxd2c000471@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: b6810fa62f39 - main - net/sniffit: Fix build with llvm15 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: b6810fa62f3973d253ad819c169421b26735319e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=b6810fa62f3973d253ad819c169421b26735319e commit b6810fa62f3973d253ad819c169421b26735319e Author: Muhammad Moinur Rahman AuthorDate: 2023-06-03 19:56:28 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-03 19:59:25 +0000 net/sniffit: Fix build with llvm15 - Pet portclippy - Adopt port --- net/sniffit/Makefile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/net/sniffit/Makefile b/net/sniffit/Makefile index 8cc42f587763..5c44a5560669 100644 --- a/net/sniffit/Makefile +++ b/net/sniffit/Makefile @@ -3,22 +3,27 @@ PORTVERSION= 0.5 DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= net security -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Packet sniffer program. For educational use LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= autoreconf cpe +CPE_VENDOR= sniffit_project USE_GITHUB= yes GH_ACCOUNT= resurrecting-open-source-projects -CPE_VENDOR= sniffit_project - GNU_CONFIGURE= yes OPTIONS_DEFINE= DOCS EXAMPLES +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/sniffit ${STAGEDIR}${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/man/sniffit.5 ${STAGEDIR}${MANPREFIX}/share/man/man5 @@ -35,4 +40,4 @@ do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/sample_config_file ${STAGEDIR}${EXAMPLESDIR} -.include +.include