From nobody Sun Feb 02 08:08:34 2025 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 4Ym2M63yvyz5ly31; Sun, 02 Feb 2025 08:08:34 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ym2M62Sqyz424s; Sun, 02 Feb 2025 08:08:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738483714; 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=jbbUZcaZOkfzBh5kR98vLLvr14BAtQTOoh8akgpcw0M=; b=uAnkw5i1Qbvt/VueQom2tpiSPvmVQ7pOdQPNozN9l6vsFRT6Ly1Uj8d6YrdKZgVEWtrEtN RsbuZXaaH4HD1eJLwTXdQroJgdcsugFEq8IZuBebJARVroypCokUvb8emf+d0N+FEn0c9v eVmRRAHEB0Gzqne+h7CfX+4TE1nfGN/cFI2+graqZ7fnvMDp/4RcG9SfyKdBcP8LYtHca2 xQ8MchAmijSVzXCtXd7beIn1PI6wv3iGhuBllV2zcY2zZRNFVXUu7fHdtdFwnAP1RJGZUl DTlhEPsfHKwFiJdTI1cC1HCKGziSxPqlavO4qW9YA39vcLfci2n9wlaiUSuYvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738483714; 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=jbbUZcaZOkfzBh5kR98vLLvr14BAtQTOoh8akgpcw0M=; b=jgxck6goTBmpLYJxnQ8+/YfnqYSkDxFcE+FVe8szP1U2GkeqfbCyDi5ak3Rdy46C/ClTPF KJcfxfNR8RFF0hLAUtaUuPqSLPAjPCWwd9YRcrdyRLfGcCOxiXKhJXI4vXzXRLCRQB6+fM 8Ne5qQ3pDmwV+wUKesOxDonEyhcwQcrNn1l6EPmc2C7lPoxs/NaySXXPv7v0g6dlLkBt2W X3KOrqhPrYUnWqdF64+0iSSnRfZg3xINN3ssII2Ri5iiPPFYepk7h8/YKVJShNKwf+fFL5 QcQhKEXXtQ8fRwwlfeke2O/PS41JW40+jzuBo+CuH7+RTMuxqkySTx3HMFZO0A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738483714; a=rsa-sha256; cv=none; b=wL0negwgf4M6FsqK1rt04oefY1dw20mDMBUg+WIKCpTpE/4KAdUtnUpB4WSSUP7kdfOWaj UdIVwm25qvluWL0yXIcey8he6ycMDnLyEo2RRZ4Jxo3uiT2NQ9iEWagB1gGh/LaDikahft OVZ+VH+VBuhRPX40CKIqOpSbaZaiL+SKhDoyIZTVccWEi+fjcf0+omqgV5sW0CKD5tRn22 rjeYrHumfIzOr7Gv009L7xvRiYwGPRYTrPLJ/7Su1q/7y+sqZjPI0XrT1aax78w+H96gs+ SrPxU1g1t19ni9twRnhoZ+iDjgf8MEu9iDCDKcbqJ//xPnwQEJKSRjeehFtRtg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4Ym2M623Klzhsh; Sun, 02 Feb 2025 08:08:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 51288YMx025096; Sun, 2 Feb 2025 08:08:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 51288YFZ025093; Sun, 2 Feb 2025 08:08:34 GMT (envelope-from git) Date: Sun, 2 Feb 2025 08:08:34 GMT Message-Id: <202502020808.51288YFZ025093@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jose Alonso Cardenas Marquez Subject: git: 3145324cabdd - main - devel/gradle8: New port: Project automation tool 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: acm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3145324cabdd16ca61110fb7bcdbd50485a616f9 Auto-Submitted: auto-generated The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=3145324cabdd16ca61110fb7bcdbd50485a616f9 commit 3145324cabdd16ca61110fb7bcdbd50485a616f9 Author: Jose Alonso Cardenas Marquez AuthorDate: 2025-02-02 07:57:44 +0000 Commit: Jose Alonso Cardenas Marquez CommitDate: 2025-02-02 08:05:41 +0000 devel/gradle8: New port: Project automation tool Gradle is build automation evolved. Gradle can automate the building, testing, publishing, deployment and more of software packages or other types of projects such as generated static websites, generated documentation or indeed anything else. Gradle combines the power and flexibility of Ant with the dependency management and conventions of Maven into a more effective way to build. Powered by a Groovy DSL and packed with innovation, Gradle provides a declarative way to describe all kinds of builds through sensible defaults. Gradle is quickly becoming the build system of choice for many open source projects, leading edge enterprises and legacy automation challenges. See also . security/zaproxy is broken with latest version of gradle (8.12.1). gradle 8.8 is the latest working version with security/zaproxy --- devel/Makefile | 1 + devel/gradle8/Makefile | 32 ++++++++++++++++++++++++++++++++ devel/gradle8/distinfo | 3 +++ devel/gradle8/files/gradle.in | 3 +++ devel/gradle8/pkg-descr | 16 ++++++++++++++++ 5 files changed, 55 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 496582e360e0..bdb49a76f5d3 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -937,6 +937,7 @@ SUBDIR += gradle-completion SUBDIR += gradle5 SUBDIR += gradle6 + SUBDIR += gradle8 SUBDIR += gradle62 SUBDIR += gradle761 SUBDIR += grantlee5 diff --git a/devel/gradle8/Makefile b/devel/gradle8/Makefile new file mode 100644 index 000000000000..f5d603a26bb3 --- /dev/null +++ b/devel/gradle8/Makefile @@ -0,0 +1,32 @@ +PORTNAME= gradle +PORTVERSION= 8.8 +CATEGORIES= devel java +MASTER_SITES= https://services.gradle.org/distributions/ +EXTRACT_SUFX= -bin.zip +PKGNAMESUFFIX= 8 + +MAINTAINER= acm@FreeBSD.org +COMMENT= Project automation tool +WWW= https://www.gradle.org/ + +LICENSE= APACHE20 BSD3CLAUSE CDDL EPL LGPL21+ MIT MPL20 +LICENSE_COMB= multi +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cpe java zip + +CONFLICTS_INSTALL= gradle gradle6 gradle62 gradle761 + +NO_ARCH= yes +NO_BUILD= yes +SUB_FILES= gradle +SUB_LIST= JAVA=${JAVA} \ + PORTVERSION=${PORTVERSION} +PLIST_FILES= bin/gradle${PKGNAMESUFFIX} +PORTDATA= * + +do-install: + ${INSTALL_SCRIPT} ${WRKDIR}/gradle ${STAGEDIR}${PREFIX}/bin/gradle${PKGNAMESUFFIX} + (cd ${WRKSRC} && ${COPYTREE_SHARE} lib ${STAGEDIR}${DATADIR}) + +.include diff --git a/devel/gradle8/distinfo b/devel/gradle8/distinfo new file mode 100644 index 000000000000..9ebe1365526b --- /dev/null +++ b/devel/gradle8/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1738481440 +SHA256 (gradle-8.8-bin.zip) = a4b4158601f8636cdeeab09bd76afb640030bb5b144aafe261a5e8af027dc612 +SIZE (gradle-8.8-bin.zip) = 138039528 diff --git a/devel/gradle8/files/gradle.in b/devel/gradle8/files/gradle.in new file mode 100644 index 000000000000..fde29278e346 --- /dev/null +++ b/devel/gradle8/files/gradle.in @@ -0,0 +1,3 @@ +#!/bin/sh +DEFAULT_JVM_OPTS="-Xmx64m -Xms64m -javaagent:%%DATADIR%%/lib/agents/gradle-instrumentation-agent-%%PORTVERSION%%.jar" +exec "java" -Dorg.gradle.native=false $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS -classpath "%%DATADIR%%/lib/gradle-launcher-%%PORTVERSION%%.jar:$CLASSPATH" org.gradle.launcher.GradleMain "$@" diff --git a/devel/gradle8/pkg-descr b/devel/gradle8/pkg-descr new file mode 100644 index 000000000000..d4007bbda526 --- /dev/null +++ b/devel/gradle8/pkg-descr @@ -0,0 +1,16 @@ +Gradle is build automation evolved. + +Gradle can automate the building, testing, publishing, deployment +and more of software packages or other types of projects such as +generated static websites, generated documentation or indeed anything +else. + +Gradle combines the power and flexibility of Ant with the dependency +management and conventions of Maven into a more effective way to +build. Powered by a Groovy DSL and packed with innovation, Gradle +provides a declarative way to describe all kinds of builds through +sensible defaults. Gradle is quickly becoming the build system of +choice for many open source projects, leading edge enterprises and +legacy automation challenges. + +See also .