Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - bfg

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: bfg 1.12.12-1

Git Clone URL: https://aur-dev.archlinux.org/bfg.git (read-only)
Package Base: bfg
Description: Removes large or troublesome blobs like git-filter-branch does, but faster. And written in Scala.
Upstream URL: http://rtyley.github.io/bfg-repo-cleaner/
Licenses: GPL3
Submitter: chetgray
Maintainer: bidulock
Last Packager: bidulock
Votes: 28
Popularity: 2.063197
First Submitted: 2014-03-12 05:23
Last Updated: 2016-06-07 20:15

Latest Comments

noderat commented on 2016-11-18 07:20

1.12.14

# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: Chet Gray <chetgray@gmail.com>
pkgname=bfg
pkgver=1.12.14
pkgrel=1
pkgdesc='Removes large or troublesome blobs like git-filter-branch does, but faster. And written in Scala.'
arch=('any')
url='http://rtyley.github.io/bfg-repo-cleaner/'
license=('GPL3')
depends=('java-environment' 'bash')
source=("${pkgname}-${pkgver}.jar::https://search.maven.org/remote_content?g=com.madgag&a=bfg&v=${pkgver}"
"${pkgname}.sh")
noextract=("${pkgname}-${pkgver}.jar")
sha256sums=('7a44d53ef626a4282c34cc363166e678c5d9e91e4c6815e8e069036edd9fab64'
'9a61eb0acaa5035a668eb517ca735545dfad25f550e8670092ebb1dab03ec926')

package() {
cd "${srcdir}"
install -D -m755 "${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
install -D -m644 "${pkgname}-${pkgver}.jar" "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar"
}


Also should use this for the shebang:
#!/usr/bin/env sh

altkrall commented on 2016-04-04 01:05

this packaging is very insecure. Please use https:
source=("${pkgname}-${pkgver}.jar::https://search.maven.org/remote_content?g=com.madgag&a=bfg&v=${pkgver}"
"${pkgname}.sh")
and/or:
sha256sums

noderat commented on 2015-11-20 23:03

1.12.7 is released

epitron commented on 2015-11-11 08:12

Version 1.12.7 is out!

Skatox commented on 2015-08-17 21:50

Updated, thanks for the correction.

ctag commented on 2015-08-17 17:12

This wouldn't work for me until I edited /usr/bin/bfg-repo-cleaner to reflect:

exec /usr/bin/java -jar '/usr/share/java/bfg/bfg-1.12.3.jar' "$@"

isaacaggrey commented on 2014-12-10 16:07

I've just adopted this package, but I will not be able to get this in shape until this weekend.

isaacaggrey commented on 2014-12-10 16:07

I've just adopted this package while at work, but I will not have a chance to get this in shape until tonight.

tuxayo commented on 2014-07-31 11:19

New version:
http://repo1.maven.org/maven2/com/madgag/bfg/1.11.7/bfg-1.11.7.jar

magus commented on 2014-04-27 08:02

The shell script would be rather a lot more useful if it passed on the arguments too ;)

Please consider changing it to

#!/bin/sh
"$JAVA_HOME/bin/java" -jar '/usr/share/java/bfg/bfg.jar' $*