summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorabs <abs>2016-12-15 20:25:04 +0000
committerabs <abs>2016-12-15 20:25:04 +0000
commitbc2fd7d45fa7f3aa4a31c4551b776fbfd5837cb6 (patch)
treeac0cf0b1378e05d4e6f1b3a424cfe1fa6a42ab2e
parent5d7b49850f0f44e314ed9c998ebb9fb320c988f1 (diff)
downloadpkgsrc-TNF.tar.gz
Added devel/bfg version 1.12.14TNF
BFG Repo-Cleaner Removes large or troublesome blobs like git-filter-branch does, but faster. And written in Scala 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 The git-filter-branch command is enormously powerful and can do things that the BFG can't - but the BFG is much better for the tasks above, because: - Faster : 10 - 720x faster - Simpler : The BFG isn't particularily clever, but is focused on making the above tasks easy - Beautiful : If you need to, you can use the beautiful Scala language to customise the BFG. Which has got to be better than Bash scripting at least some of the time.
-rw-r--r--devel/bfg/DESCR18
-rw-r--r--devel/bfg/Makefile26
-rw-r--r--devel/bfg/PLIST3
-rw-r--r--devel/bfg/distinfo6
4 files changed, 53 insertions, 0 deletions
diff --git a/devel/bfg/DESCR b/devel/bfg/DESCR
new file mode 100644
index 00000000000..475a561a8fe
--- /dev/null
+++ b/devel/bfg/DESCR
@@ -0,0 +1,18 @@
+BFG Repo-Cleaner Removes large or troublesome blobs like
+git-filter-branch does, but faster. And written in Scala
+
+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
+
+The git-filter-branch command is enormously powerful and can do things that
+the BFG can't - but the BFG is much better for the tasks above, because:
+
+- Faster : 10 - 720x faster
+- Simpler : The BFG isn't particularily clever, but is focused on making the
+ above tasks easy
+- Beautiful : If you need to, you can use the beautiful Scala language to
+ customise the BFG. Which has got to be better than Bash
+ scripting at least some of the time.
diff --git a/devel/bfg/Makefile b/devel/bfg/Makefile
new file mode 100644
index 00000000000..b2203a3e208
--- /dev/null
+++ b/devel/bfg/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2016/12/15 20:25:04 abs Exp $
+
+DISTNAME= bfg-1.12.14
+CATEGORIES= devel
+MASTER_SITES= http://repo1.maven.org/maven2/com/madgag/bfg/1.12.14/
+EXTRACT_SUFX= .jar
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://rtyley.github.io/bfg-repo-cleaner/
+COMMENT= BFG git Repo-Cleaner
+LICENSE= gnu-gpl-v3
+
+USE_JAVA= run
+USE_JAVA2= 7
+
+INSTALLATION_DIRS= bin share/${PKGBASE}
+
+do-build:
+ printf "#!/bin/sh\n${PKG_JAVA_HOME}/bin/java -jar ${PREFIX}/share/${PKGBASE}/${PKGBASE}.jar \$${1:+\"\$$@\"}\n" > ${WRKDIR}/${PKGBASE}.sh
+
+do-install:
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}.jar ${DESTDIR}${PREFIX}/share/${PKGBASE}/${PKGBASE}.jar
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PKGBASE}.sh ${DESTDIR}${PREFIX}/bin/${PKGBASE}
+
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/bfg/PLIST b/devel/bfg/PLIST
new file mode 100644
index 00000000000..37cb22d0861
--- /dev/null
+++ b/devel/bfg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2016/12/15 20:25:04 abs Exp $
+bin/bfg
+share/bfg/bfg.jar
diff --git a/devel/bfg/distinfo b/devel/bfg/distinfo
new file mode 100644
index 00000000000..ce3ce18318d
--- /dev/null
+++ b/devel/bfg/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2016/12/15 20:25:04 abs Exp $
+
+SHA1 (bfg-1.12.14.jar) = 99d2688a51e84178a3c0a7d6160884dc8417fae1
+RMD160 (bfg-1.12.14.jar) = c36df54cdf4655429184c5dcd9ea43581f03c889
+SHA512 (bfg-1.12.14.jar) = ff6bf60a8cba67537f46968c2f24dd91a15c9d533b503396b28bcc0af368d2852228e276d87e44013aba612e24b23d094563fc4d166957aac9ab7349be9f8a26
+Size (bfg-1.12.14.jar) = 14811487 bytes