summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2013-07-22 06:24:58 +0000
committerJoshua Kinard <kumba@gentoo.org>2013-07-22 06:24:58 +0000
commitf384feeda5aa1a14c3e0a3e75eaa192f705cf40c (patch)
tree8e0db3788014e864e8e36866fc15c8c7c6619c42 /sys-fs/zerofree
parentmigrate -> distutils-r1, remove some old (diff)
downloadgentoo-2-f384feeda5aa1a14c3e0a3e75eaa192f705cf40c.tar.gz
gentoo-2-f384feeda5aa1a14c3e0a3e75eaa192f705cf40c.tar.bz2
gentoo-2-f384feeda5aa1a14c3e0a3e75eaa192f705cf40c.zip
Update to 1.0.3 from upstream.
(Portage version: 2.1.12.13/cvs/Linux x86_64, signed Manifest commit with key D25D95E3)
Diffstat (limited to 'sys-fs/zerofree')
-rw-r--r--sys-fs/zerofree/ChangeLog7
-rw-r--r--sys-fs/zerofree/zerofree-1.0.3.ebuild38
2 files changed, 44 insertions, 1 deletions
diff --git a/sys-fs/zerofree/ChangeLog b/sys-fs/zerofree/ChangeLog
index 2644458e6603..b006e0cf0db6 100644
--- a/sys-fs/zerofree/ChangeLog
+++ b/sys-fs/zerofree/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/zerofree
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/zerofree/ChangeLog,v 1.3 2013/03/06 20:01:29 steev Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/zerofree/ChangeLog,v 1.4 2013/07/22 06:24:58 kumba Exp $
+
+*zerofree-1.0.3 (22 Jul 2013)
+
+ 22 Jul 2013; Joshua Kinard <kumba@gentoo.org> +zerofree-1.0.3.ebuild:
+ Update to 1.0.3 from upstream.
06 Mar 2013; Steev Klimaszewski <steev@gentoo.org> zerofree-1.0.1.ebuild:
Add ~arm keyword, tested on cortex a15,a9 and a8 machines.
diff --git a/sys-fs/zerofree/zerofree-1.0.3.ebuild b/sys-fs/zerofree/zerofree-1.0.3.ebuild
new file mode 100644
index 000000000000..cca899c5f356
--- /dev/null
+++ b/sys-fs/zerofree/zerofree-1.0.3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/zerofree/zerofree-1.0.3.ebuild,v 1.1 2013/07/22 06:24:58 kumba Exp $
+
+EAPI="4"
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Zero's out all free space on a filesystem."
+HOMEPAGE="http://intgat.tigress.co.uk/rmy/uml/index.html"
+SRC_URI="http://intgat.tigress.co.uk/rmy/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
+}