summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2016-05-16 00:02:02 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2016-05-16 00:02:21 -0700
commit92b14c66acde9affaf4d28bfdade47b27c07c0a0 (patch)
treeca7aac66e61d342d943648e32e53fef614079d17
parentsys-kernel/genkernel: bump, lots of kconfig fixups. (diff)
downloadgentoo-92b14c66acde9affaf4d28bfdade47b27c07c0a0.tar.gz
gentoo-92b14c66acde9affaf4d28bfdade47b27c07c0a0.tar.bz2
gentoo-92b14c66acde9affaf4d28bfdade47b27c07c0a0.zip
sys-fs/zerofree: bump.
Package-Manager: portage-2.2.28
-rw-r--r--sys-fs/zerofree/Manifest1
-rw-r--r--sys-fs/zerofree/zerofree-1.0.4.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/sys-fs/zerofree/Manifest b/sys-fs/zerofree/Manifest
index 2c61f0de288b..cc3addff1ba4 100644
--- a/sys-fs/zerofree/Manifest
+++ b/sys-fs/zerofree/Manifest
@@ -1,2 +1,3 @@
DIST zerofree-1.0.1.tgz 8333 SHA256 ddf33ac01e554997659841b723bd826dfcd2554f31176b7a05993236cefd3cd8 SHA512 c3d06990f8e61f9a60908e20d3d1534a3da76f1a28aec28c89d1df7978a78844c1420edc27e44340bb98d4d929dda42426d0efb8a42c66501f09f2b06bc27a26 WHIRLPOOL a8b729ec158a66cd9d9c7bd73c58b876a0a40193aabd58973084ad1880587109ebe652448cad15961dba2b9db6e1c1ac4683349f1ca1cd424a7af3783b9e9735
DIST zerofree-1.0.3.tgz 8506 SHA256 3acfda860be0f0ddcb5c982ff3b4475b1ee8cc35a90ae2a910e93261dbe0ccf6 SHA512 e23d343471240382629b4c86b6caa74571a77fb19f1b31bbbd9fad03ba1b42898f8ae042d1238d9c91d9b7fbc9893fb708cb557d3bbd9ab9a024aca6a8ddbbe3 WHIRLPOOL b1954c9a60bcbd8ba7acaf8c50e2ba3f9748346825d2b97f0666a568597400ff9de2eae42aa2c47cbec1efd9dabe1975b8ce34c82ecb847bfdf08b4c50510499
+DIST zerofree-1.0.4.tgz 8509 SHA256 a7f9e293961eb653df55cf54774f2036924f31019814ead5554c393eecae6838 SHA512 8172c8c43794eab1f751a700f847098343659ceabaf6ab78c3c902b34cf9b0db0dda75308b6bc80d22afccd11be25f35070ca6d715c3282c5c7c7106f598b42b WHIRLPOOL 0560f52d907c38d27a2a9f66453deb0f0c0a06fceb8f67a5c18754785ec5ec743e8b7788b2d09a5fd07540941e418bac48fdae75b3abf0c7654b4c0fffe3d5dd
diff --git a/sys-fs/zerofree/zerofree-1.0.4.ebuild b/sys-fs/zerofree/zerofree-1.0.4.ebuild
new file mode 100644
index 000000000000..1cbe78b56945
--- /dev/null
+++ b/sys-fs/zerofree/zerofree-1.0.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Zero's out all free space on a filesystem"
+HOMEPAGE="http://frippery.org/uml/index.html"
+SRC_URI="http://frippery.org/uml/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86 ~mips"
+IUSE=""
+
+DEPEND="sys-libs/e2fsprogs-libs"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # Honor system CFLAGS.
+ sed -i \
+ -e "s:CC=gcc:CC=$(tc-getCC)\nCFLAGS=${CFLAGS}\nLDFLAGS=${LDFLAGS}:g" \
+ -e "s:-o zerofree:\$(CFLAGS) \$(LDFLAGS) -o zerofree:g" \
+ -e "/-lext2fs/{ s:-lext2fs::g; s:$: -lext2fs:g; }" \
+ Makefile || die "Failed to sed the Makefile"
+}
+
+src_compile() {
+ # Just a Makefile, nothing fancy.
+ make || die "Failed to compile ${PN}."
+}
+
+src_install() {
+ # Install into /sbin
+ into /
+ dosbin zerofree
+}