From nobody Mon Aug 29 04:24:44 2022 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 4MGHQh3y4qz4bBtX; Mon, 29 Aug 2022 04:24:44 +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 4MGHQh3SCHz3PqZ; Mon, 29 Aug 2022 04:24:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661747084; 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=A+RihbmWimQ4PFTYPAAKpwRfHwg4Eo2VHFWbvIoySac=; b=wWP9FcpVx5VbLUIftUThHrhXhJDbgXUP21o6cVvS/KdbP/9o0ay0G42M0HRLYNN6GBLxK+ CPmSFuBQ4M9qCgV7E2HrUiO4LS3SkMSdi/3/6e8EXmXBcYvdrAPpC0fREJIrxGV8x68+NV gMvScFF/34Hjdq1MYkNMq6tmcfzgH950KQtHEaWchKB8Xe4j46xNRxsQHsNFsJvzasdpiH JhFliDMu1ueFyfmpLOSE6ZuaXJDBZKXTGDaEP/PTxVEu3akefJyoe1yQtacUpBsPrKbskD MCmzqN+Ghw6djbTh6MFaxHZYv/PhzSwV8f4Dv3l/wCUOs+5+B0Tx0BIb8PcERQ== 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 4MGHQh25l5zJhk; Mon, 29 Aug 2022 04:24:44 +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 27T4Oipu067971; Mon, 29 Aug 2022 04:24:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27T4OiGO067970; Mon, 29 Aug 2022 04:24:44 GMT (envelope-from git) Date: Mon, 29 Aug 2022 04:24:44 GMT Message-Id: <202208290424.27T4OiGO067970@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Romain=20Tarti=C3=A8re?= Subject: git: 1d7332796c83 - main - devel/bfg: New port 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: romain X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1d7332796c83c62335d54d37c4f6d201870eccad Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661747084; 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=A+RihbmWimQ4PFTYPAAKpwRfHwg4Eo2VHFWbvIoySac=; b=kJVVDDJSKR8WMIfixRQQPfIMtRW8/OueWZVjh5zKTPtPTuqNSBWYgTM92Qpz8zXIFjSGzp 3QMChgRHL6wQVeDF2ZZ58BzxJvDqdZyiwF4YVADD0lkcv141LnAlqpZKmjUT89VWegVDfh DRhsPKJrrZC+7ijayAW/5i27j5Qhl3We00HkhyfnPm6FNZTVI827DAXIV6mOSNNk3S7kz6 j8ePg9t2qUCtoVQj2kTpfHuQffw/qkkK7SRy7GJOg92aJZpbvvM0+iU/Acu+Z0qyppitd3 gIaYdHAoUqgMKn1u+OQmHql3FAs2FCnWKPcCExQpPnNh0CsBKlD5DEtogbuuvQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661747084; a=rsa-sha256; cv=none; b=HN4TzzZc4w7e92yAt9ptpSaN8x9iFu4VgBpKWcxmqjJZ3rYMMiXZDKArihcfS/Z1d8vEx2 yRaUDxDzxnhoJiGcQ8A5VN4tRXEc5Jm19pSI4p2r+hk1OJoSs9EuTa2V+EOd4AuJpJ/1ke keNqkLybIyCJSHDptK0JN/Vy/UntqAXOCqjAPhrJ3pkREtw8EBdtoZ/yNoytJ6obaGEFYZ eOAF3xCLm/Sz9qVR+PKCC+T/99ZoPDRpdJogq0EcoXl8YXfY2mX+oIYzOekiA766vBd2Pl OAe9apIPtE4CMtNAcAAm78VjRnjal7LZfHgXK0qV6FzbB10S3iUs11HwB8QDGQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by romain: URL: https://cgit.FreeBSD.org/ports/commit/?id=1d7332796c83c62335d54d37c4f6d201870eccad commit 1d7332796c83c62335d54d37c4f6d201870eccad Author: Romain Tartière AuthorDate: 2022-08-29 04:18:11 +0000 Commit: Romain Tartière CommitDate: 2022-08-29 04:21:42 +0000 devel/bfg: New port The BFG is a simpler, faster alternative to git-filter-branch for cleansing bad data out of your Git repository history: * Removing Crazy Big Files; * Removing Passwords, Credentials & other Private data. WWW: https://rtyley.github.io/bfg-repo-cleaner/ --- devel/Makefile | 1 + devel/bfg/Makefile | 35 +++++++++++++++++++++++++++++++++++ devel/bfg/distinfo | 3 +++ devel/bfg/files/bfg.in | 2 ++ devel/bfg/pkg-descr | 7 +++++++ 5 files changed, 48 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index c5e6850f5af8..a90e485f7477 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -268,6 +268,7 @@ SUBDIR += benchmark SUBDIR += bennugd-core SUBDIR += bennugd-modules + SUBDIR += bfg SUBDIR += bglibs SUBDIR += binaryen SUBDIR += bingrep diff --git a/devel/bfg/Makefile b/devel/bfg/Makefile new file mode 100644 index 000000000000..a59bd465cd3b --- /dev/null +++ b/devel/bfg/Makefile @@ -0,0 +1,35 @@ +PORTNAME= bfg +PORTVERSION= 1.14.0 +CATEGORIES= devel java +MASTER_SITES= https://repo1.maven.org/maven2/com/madgag/${PORTNAME}/${DISTVERSION}/ +EXTRACT_SUFX= .jar + +MAINTAINER= romain@FreeBSD.org +COMMENT= Removes large or troublesome blobs like git-filter-branch does + +LICENSE= GPLv3 + +USE_JAVA= yes +JAVA_RUN= jre + +NO_ARCH= yes +NO_BUILD= yes + +SUB_FILES= bfg +SUB_LIST= JAVA=${JAVA} \ + DATADIR=${DATADIR} \ + DISTNAME=${DISTNAME} + +PLIST_FILES= bin/bfg \ + ${DATADIR}/${DISTNAME}.jar + +do-extract: + @${DO_NADA} + +do-install: + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKDIR}/bfg ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.jar \ + ${STAGEDIR}${DATADIR} + +.include diff --git a/devel/bfg/distinfo b/devel/bfg/distinfo new file mode 100644 index 000000000000..3582caef3515 --- /dev/null +++ b/devel/bfg/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1661735783 +SHA256 (bfg-1.14.0.jar) = 1a75e9390541f4b55d9c01256b361b815c1e0a263e2fb3d072b55c2911ead0b7 +SIZE (bfg-1.14.0.jar) = 14483456 diff --git a/devel/bfg/files/bfg.in b/devel/bfg/files/bfg.in new file mode 100755 index 000000000000..f0a1a39632ab --- /dev/null +++ b/devel/bfg/files/bfg.in @@ -0,0 +1,2 @@ +#!/bin/sh +%%JAVA%% -jar %%DATADIR%%/%%DISTNAME%%.jar "$@" diff --git a/devel/bfg/pkg-descr b/devel/bfg/pkg-descr new file mode 100644 index 000000000000..d8b909e645cd --- /dev/null +++ b/devel/bfg/pkg-descr @@ -0,0 +1,7 @@ +The BFG is a simpler, faster alternative to git-filter-branch for cleansing bad +data out of your Git repository history: + + * Removing Crazy Big Files; + * Removing Passwords, Credentials & other Private data. + +WWW: https://rtyley.github.io/bfg-repo-cleaner/