git: 529658e5a80e - main - devel/linux-pvs-studio: add new port (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 07 Nov 2024 15:55:52 UTC
The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=529658e5a80e7e164a5f9b6dd2e759894b46c656 commit 529658e5a80e7e164a5f9b6dd2e759894b46c656 Author: Dima Panov <fluffy@FreeBSD.org> AuthorDate: 2024-11-07 15:54:17 +0000 Commit: Dima Panov <fluffy@FreeBSD.org> CommitDate: 2024-11-07 15:54:17 +0000 devel/linux-pvs-studio: add new port (+) PVS‑Studio is a tool to detect bugs and potential vulnerabilities in C, C++, C#, and Java source code on Windows, Linux, macOS. Sponsored by: Future Crew, LLC --- devel/Makefile | 1 + devel/linux-pvs-studio/Makefile | 35 +++++++++++++++++++++++++++++++++++ devel/linux-pvs-studio/distinfo | 3 +++ devel/linux-pvs-studio/pkg-descr | 2 ++ devel/linux-pvs-studio/pkg-plist | 9 +++++++++ 5 files changed, 50 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 0d065a947888..7766621269a1 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1522,6 +1522,7 @@ SUBDIR += linux-c7-systemd-libs SUBDIR += linux-c7-zlib-devel SUBDIR += linux-ltp + SUBDIR += linux-pvs-studio SUBDIR += linux-rl9-dbus-libs SUBDIR += linux-rl9-devtools SUBDIR += linux-rl9-elfutils-libelf diff --git a/devel/linux-pvs-studio/Makefile b/devel/linux-pvs-studio/Makefile new file mode 100644 index 000000000000..2ad67314f452 --- /dev/null +++ b/devel/linux-pvs-studio/Makefile @@ -0,0 +1,35 @@ +PORTNAME= pvs-studio +PORTVERSION= 7.29 +PORTREVISION= 1 +DISTVERSIONSUFFIX= .79138.387 +CATEGORIES= devel linux +MASTER_SITES= https://cdn.pvs-studio.com/ +PKGNAMEPREFIX= linux- +EXTRACT_SUFX= -x86_64.rpm + +MAINTAINER= fluffy@FreeBSD.org +COMMENT= PVS-Studio is a static analyzer tool for C, C++, C# and Java +WWW= https://pvs-studio.com + +LICENSE= commercial +LICENSE_NAME= commercial +LICENSE_TEXT= Commercial software with 30 days trial period +LICENSE_PERMS= dist-mirror pkg-mirror auto-accept + +ONLY_FOR_ARCHS= amd64 + +USES= linux:rl9 shebangfix + +USE_LINUX= base curl strace + +WRKSRC= ${WRKDIR} +NO_BUILD= yes +PLIST_SUB= LINUXBASE=${LINUXBASE} +STRIP= + +do-install: + ${INSTALL_PROGRAM} ${WRKDIR}/usr/bin/pvs-* ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKDIR}/usr/bin/plog-* ${STAGEDIR}${PREFIX}/bin/ + cd ${WRKDIR}/usr/lib && ${CP} -r pvs-studio ${STAGEDIR}${PREFIX}/lib + +.include <bsd.port.mk> diff --git a/devel/linux-pvs-studio/distinfo b/devel/linux-pvs-studio/distinfo new file mode 100644 index 000000000000..c277b6a842bd --- /dev/null +++ b/devel/linux-pvs-studio/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1707738658 +SHA256 (pvs-studio-7.29.79138.387-x86_64.rpm) = e475b4e2cbc322cbe603c5c793da5a9f6d2367535b24d49e25343589151f6207 +SIZE (pvs-studio-7.29.79138.387-x86_64.rpm) = 30108588 diff --git a/devel/linux-pvs-studio/pkg-descr b/devel/linux-pvs-studio/pkg-descr new file mode 100644 index 000000000000..947529f8bb08 --- /dev/null +++ b/devel/linux-pvs-studio/pkg-descr @@ -0,0 +1,2 @@ +PVS‑Studio is a tool to detect bugs and potential vulnerabilities +in C, C++, C#, and Java source code on Windows, Linux, macOS. diff --git a/devel/linux-pvs-studio/pkg-plist b/devel/linux-pvs-studio/pkg-plist new file mode 100644 index 000000000000..858a4a60dd85 --- /dev/null +++ b/devel/linux-pvs-studio/pkg-plist @@ -0,0 +1,9 @@ +bin/plog-converter +bin/pvs-studio +bin/pvs-studio-analyzer +lib/pvs-studio/plugins/libpvs-studio-qtcreator-10.0.x-7.29.79138.779.linux.tar.gz +lib/pvs-studio/plugins/libpvs-studio-qtcreator-11.0.x-7.29.79138.779.linux.tar.gz +lib/pvs-studio/plugins/libpvs-studio-qtcreator-12.0.x-7.29.79138.779.linux.tar.gz +lib/pvs-studio/plugins/libpvs-studio-qtcreator-8.0.x-7.29.79138.779.linux.tar.gz +lib/pvs-studio/plugins/libpvs-studio-qtcreator-9.0.x-7.29.79138.779.linux.tar.gz +lib/pvs-studio/plugins/pvs-studio-vscode-7.29.79138.vsix