diff options
author | Joshua Kinard <kumba@gentoo.org> | 2012-03-11 13:13:32 +0000 |
---|---|---|
committer | Joshua Kinard <kumba@gentoo.org> | 2012-03-11 13:13:32 +0000 |
commit | 4815ffcb45f4314fc2a87d7601f08edbe1058742 (patch) | |
tree | 55b07dd0a92e2aede0ae6e60e54986fa0501e396 /sys-fs | |
parent | Marking multi_json-1.0.4 ~ppc64 for bug 396043 (diff) | |
download | historical-4815ffcb45f4314fc2a87d7601f08edbe1058742.tar.gz historical-4815ffcb45f4314fc2a87d7601f08edbe1058742.tar.bz2 historical-4815ffcb45f4314fc2a87d7601f08edbe1058742.zip |
Initial import of zerofree, a small utility to zero-out the freespace on a filesystem. Perfect for guests running on a virtual machine prior to compacting their disk images.
Package-Manager: portage-2.1.10.45/cvs/Linux x86_64
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/zerofree/ChangeLog | 12 | ||||
-rw-r--r-- | sys-fs/zerofree/Manifest | 24 | ||||
-rw-r--r-- | sys-fs/zerofree/metadata.xml | 12 | ||||
-rw-r--r-- | sys-fs/zerofree/zerofree-1.0.1.ebuild | 37 |
4 files changed, 85 insertions, 0 deletions
diff --git a/sys-fs/zerofree/ChangeLog b/sys-fs/zerofree/ChangeLog new file mode 100644 index 000000000000..69d7d255af66 --- /dev/null +++ b/sys-fs/zerofree/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for sys-fs/zerofree +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/zerofree/ChangeLog,v 1.1 2012/03/11 13:13:32 kumba Exp $ + +*zerofree-1.0.1 (11 Mar 2012) + + 11 Mar 2012; Joshua Kinard <kumba@gentoo.org> +zerofree-1.0.1.ebuild, + +metadata.xml: + Initial import of zerofree, a small utility to zero-out the freespace on a + filesystem. Perfect for guests running on a virtual machine prior to + compacting their disk images. + diff --git a/sys-fs/zerofree/Manifest b/sys-fs/zerofree/Manifest new file mode 100644 index 000000000000..cffaea933644 --- /dev/null +++ b/sys-fs/zerofree/Manifest @@ -0,0 +1,24 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST zerofree-1.0.1.tgz 8333 RMD160 5e25f002bab29b9b5743c585f4d6b24011646a0a SHA1 9ee7f623d9208d2ad14c2371e5b49884bad22a4b SHA256 ddf33ac01e554997659841b723bd826dfcd2554f31176b7a05993236cefd3cd8 +EBUILD zerofree-1.0.1.ebuild 940 RMD160 d2d234428e3396defd1639d2a0491ee2dc1393e5 SHA1 dfe7d59356522c879b77982f9c5afe8cd29ade20 SHA256 d7a5aa93303b06c3f4a23bf784505a13a8d5e484dc0fc38078b1e2dab77363d5 +MISC ChangeLog 503 RMD160 c8b9469e0e4742ab171e8508999e406b9c356111 SHA1 fc517b7de3200b2ca56a1f43c529361a9818cd29 SHA256 d3a347ae989b988349452d9f7eaa51360c0eb7b77bffdc6178d303a52a3c6200 +MISC metadata.xml 420 RMD160 f8fbc15e991693e264dc65d087634fc183d7dcb3 SHA1 6a0559a928cc04e66fda6c04668eeb1b3f56da80 SHA256 37564ff118e7f046f1fa0f3bb2caabc6b0737fb52fc50405ac4808cbd5b96c9b +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.18 (GNU/Linux) + +iQIcBAEBAgAGBQJPXG0HAAoJENsjoH7SXZXjEEYP/iKqw5SlZWTudmhp2lZWPZ1J +QGUQZ1hWCCruiukQDAz345KXZrJZxxs3DBku10TJMyfBOJdDVSKCtahWDLiLCx4N +um/4CFpJua6JU/V+1EUfDGJUm83R+JReqDMdzTsG9oA5SutNyWZpvVYAQ1T1pe6R +xSifAXOKX++VnfjToVvdLVoKril1T6l+brs/sRWLacesH0Kh31eSxaSZ5FL1jeQP +Gc/wai+9HGlknjH0X37zqimKBfy/3vDXXk7ef51JG84u8dpxRVsg/HJ3XimP/NaT +PFoxXEdcm29S81T3e8q6a6irk6ajMDBBU/vL8LDzgz+rssXI/E7V1sTCZretRmXX +b4eK3e7Acmc4Nzp17njORtjDxgV1Eb2H13am9nwu2/uq5TfX7mvFOXPuRhhcy0Ho +PV13thH4yWVUJrofYdvzNVzV4IcLktvyNI7yb4OV67GFANG5R12e3KN/c3JUS/BV +5WDLiHWySsFz+6BamsoEAKO0Y7lfeHAAA8S6rfTu6R4DMHzg6Y3VA0MYQpcCwnqy +FaDM4CYd0xcXM0kxCbrbM/9QsnTHo+jTkt0EfW2SkDgkDED+s2QdAhY94UHysPs2 +LSQEf3faGyumuindfJQWB3VQEW0sgJuvo+aASviQt80mygMtbjslIBA00ToO6pFv +AgZ2Ugqg0dchZrrvmTUm +=dnR9 +-----END PGP SIGNATURE----- diff --git a/sys-fs/zerofree/metadata.xml b/sys-fs/zerofree/metadata.xml new file mode 100644 index 000000000000..984946d9eb56 --- /dev/null +++ b/sys-fs/zerofree/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>kumba@gentoo.org</email> + </maintainer> + + <longdescription> + zerofree is a small utility designed to zero-out the free space on a filesystem. It is especially useful for guests on a virtual machine before compacting their disk images. + </longdescription> +</pkgmetadata> + diff --git a/sys-fs/zerofree/zerofree-1.0.1.ebuild b/sys-fs/zerofree/zerofree-1.0.1.ebuild new file mode 100644 index 000000000000..eb1ed5d2d41f --- /dev/null +++ b/sys-fs/zerofree/zerofree-1.0.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/zerofree/zerofree-1.0.1.ebuild,v 1.1 2012/03/11 13:13:32 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 ~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" \ + 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 +} |