From 34a15aa6459f30dec658e03499a8c32296969ae8 Mon Sep 17 00:00:00 2001 From: Matsuu Takuto Date: Tue, 1 May 2007 17:00:08 +0000 Subject: [PATCH] Version bumped. Package-Manager: portage-2.1.2.2 --- sys-libs/libtrash/ChangeLog | 7 ++- sys-libs/libtrash/Manifest | 26 ++++---- sys-libs/libtrash/files/digest-libtrash-2.6 | 3 + sys-libs/libtrash/libtrash-2.6.ebuild | 67 +++++++++++++++++++++ 4 files changed, 88 insertions(+), 15 deletions(-) create mode 100644 sys-libs/libtrash/files/digest-libtrash-2.6 create mode 100644 sys-libs/libtrash/libtrash-2.6.ebuild diff --git a/sys-libs/libtrash/ChangeLog b/sys-libs/libtrash/ChangeLog index 7bd6d41bb64b..34d8d327f52d 100644 --- a/sys-libs/libtrash/ChangeLog +++ b/sys-libs/libtrash/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-libs/libtrash # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libtrash/ChangeLog,v 1.8 2007/02/09 08:39:11 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libtrash/ChangeLog,v 1.9 2007/05/01 17:00:08 matsuu Exp $ + +*libtrash-2.6 (01 May 2007) + + 01 May 2007; MATSUU Takuto +libtrash-2.6.ebuild: + Version bumped. 09 Feb 2007; Diego Pettenò ChangeLog: Regenerate digest in Manifest2 format. diff --git a/sys-libs/libtrash/Manifest b/sys-libs/libtrash/Manifest index c22631e3a6bf..3f94c9375e9d 100644 --- a/sys-libs/libtrash/Manifest +++ b/sys-libs/libtrash/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX cleanTrash.cron 200 RMD160 6279326dcaf839dec9d893146c0b599d521ae7d6 SHA1 ed8acfdac8c50329743bb65ca878fd6154a95f88 SHA256 0e92799b07c64b0f0b372b598704a1f8506dd2408dedcd46c8931d2687b127f2 MD5 a165552d7dee01c2d7bbf914ae701cba files/cleanTrash.cron 200 RMD160 6279326dcaf839dec9d893146c0b599d521ae7d6 files/cleanTrash.cron 200 @@ -15,6 +12,7 @@ RMD160 607ce27b07bdadc7a37811cda43e5345a2353f49 files/libtrash-2.4-gentoo.patch SHA256 4a207d08966b40a40dd8f40711eb236d16e8c4066a1d998f3c434004c01d00ad files/libtrash-2.4-gentoo.patch 2632 DIST libtrash-2.2.tgz 89001 RMD160 517c0689a1712f2a2a9c71cb99319e128cbe1dcb SHA1 7c4b9b60fe416871cc895c0a03004f76dc7de154 SHA256 312508f630aa37f4e07dd1760d859fcaaaa6b5f7a27aefc5812f1d61a739ce86 DIST libtrash-2.4.tgz 90634 RMD160 71482ca9db1e389ff32f5e51575c54f0d9d4c4bb SHA1 528c61ddea80dd4e909e66f1a5621edf956d1367 SHA256 39f387b55a62659afe15e3d6a308a29213458e340e9d1ebf1c68bf13a0b0d2fa +DIST libtrash-2.6.tgz 94964 RMD160 b91e3da2651f5af0d463489e4dc3c55e47451087 SHA1 0c456c2dd0653232fa6445303488757be2a3a627 SHA256 28e12a00ac134c8a2022a439c8d2ffa5809dfb82f58bec2d32eb19154904bebc EBUILD libtrash-2.2.ebuild 1377 RMD160 220463cf0b155cb680157f940d4469905f1ab6ed SHA1 f81d0db4af8f083b5d78c845238805dcea33fce1 SHA256 54136d38027294697b7b02235c3f00c9cbf49f08e6f6cf7793b80845c96094b5 MD5 6b8b68ba011a24eed705ff95f892461e libtrash-2.2.ebuild 1377 RMD160 220463cf0b155cb680157f940d4469905f1ab6ed libtrash-2.2.ebuild 1377 @@ -23,10 +21,14 @@ EBUILD libtrash-2.4.ebuild 1778 RMD160 7cdecca7c9fb587a6d763c17b40c858c1553f0d1 MD5 406acd7140455321e87e340a0cdfa9be libtrash-2.4.ebuild 1778 RMD160 7cdecca7c9fb587a6d763c17b40c858c1553f0d1 libtrash-2.4.ebuild 1778 SHA256 b6fb94b5992b6de6bc8903700680b839f44f963adc67ffc56de827cc6be87aa6 libtrash-2.4.ebuild 1778 -MISC ChangeLog 1028 RMD160 43bb860303ccfa86fd07c43d315f159b97151099 SHA1 474eeb1e45a42025fb6579f1a4a9197f78271793 SHA256 d7eb8f1c1cdfbf845be98ec43594daf6ab92cbe25e7440db7f497d112da3da5c -MD5 073a2fb931c210c1a7093e65265d5138 ChangeLog 1028 -RMD160 43bb860303ccfa86fd07c43d315f159b97151099 ChangeLog 1028 -SHA256 d7eb8f1c1cdfbf845be98ec43594daf6ab92cbe25e7440db7f497d112da3da5c ChangeLog 1028 +EBUILD libtrash-2.6.ebuild 1783 RMD160 66fcc0a08cfacffceeb5ef54b93df69df843a3fc SHA1 03c4804c95719839aad7ac08b3cb202f72a0054d SHA256 75668e7136df573a10a0c1abf00e422a1224c60dd9622a749feee31a2dc0b803 +MD5 47f9d951277700905f647a169b3207d4 libtrash-2.6.ebuild 1783 +RMD160 66fcc0a08cfacffceeb5ef54b93df69df843a3fc libtrash-2.6.ebuild 1783 +SHA256 75668e7136df573a10a0c1abf00e422a1224c60dd9622a749feee31a2dc0b803 libtrash-2.6.ebuild 1783 +MISC ChangeLog 1144 RMD160 aec98524ea1bf79c90be5b03f601c10a77614f64 SHA1 1d8ed841aaeba789296fdd0b08ce19408b2ada2c SHA256 6aab64c26bc96781cc60b80a510050992e57fa63cb8c74146fc708d1aab68add +MD5 0deddea1606a19b998bfad2d0d196d84 ChangeLog 1144 +RMD160 aec98524ea1bf79c90be5b03f601c10a77614f64 ChangeLog 1144 +SHA256 6aab64c26bc96781cc60b80a510050992e57fa63cb8c74146fc708d1aab68add ChangeLog 1144 MISC metadata.xml 201 RMD160 d72cb3677f941247cced43c6670a8d64642d5263 SHA1 552087b28a02c98c8c2426f5cab77d1089527572 SHA256 90b7d63705a9ef11d62f6fe39fe9e780d9e249d32c6b7b564ff05b818aa1f7f7 MD5 e10a0da4fac2882942ffa8360ccdd921 metadata.xml 201 RMD160 d72cb3677f941247cced43c6670a8d64642d5263 metadata.xml 201 @@ -37,10 +39,6 @@ SHA256 559b3e908878b0021b38b9a986224ead84f9520e2ad251dbc7bb18c6b41552ee files/di MD5 2600bd460deadd6a6430461cb74b2d56 files/digest-libtrash-2.4 226 RMD160 ec0bc104b36cf7b9b6d334a9789d15b5c4353402 files/digest-libtrash-2.4 226 SHA256 a2838553713475a163a4f32d8fa21eae4ece80e53fb68a7a66c4cc1e0576add1 files/digest-libtrash-2.4 226 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.2 (GNU/Linux) - -iD8DBQFFzDM1AiZjviIA2XgRAhZkAJ0YUZ4av2V2IXIgqn57g6sbngZZ/wCgkYPR -hG250RpJXI55dSjeoFByRzU= -=At9q ------END PGP SIGNATURE----- +MD5 4ebfa19bddfb8bcc2facfeb43936b999 files/digest-libtrash-2.6 226 +RMD160 6b838a1d42c1eef175c23177ab3bfae5867f9952 files/digest-libtrash-2.6 226 +SHA256 eeac397819d609793f73cfb044d3c27bc31e50e57fd916be8c7a11eb10c86479 files/digest-libtrash-2.6 226 diff --git a/sys-libs/libtrash/files/digest-libtrash-2.6 b/sys-libs/libtrash/files/digest-libtrash-2.6 new file mode 100644 index 000000000000..fd48bcb14d3b --- /dev/null +++ b/sys-libs/libtrash/files/digest-libtrash-2.6 @@ -0,0 +1,3 @@ +MD5 0c81112bbc37047ab90800f4429788f3 libtrash-2.6.tgz 94964 +RMD160 b91e3da2651f5af0d463489e4dc3c55e47451087 libtrash-2.6.tgz 94964 +SHA256 28e12a00ac134c8a2022a439c8d2ffa5809dfb82f58bec2d32eb19154904bebc libtrash-2.6.tgz 94964 diff --git a/sys-libs/libtrash/libtrash-2.6.ebuild b/sys-libs/libtrash/libtrash-2.6.ebuild new file mode 100644 index 000000000000..cbc3b235f74a --- /dev/null +++ b/sys-libs/libtrash/libtrash-2.6.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libtrash/libtrash-2.6.ebuild,v 1.1 2007/05/01 17:00:08 matsuu Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="provides a trash can by intercepting certain calls to glibc" +HOMEPAGE="http://pages.stern.nyu.edu/~marriaga/software/libtrash/" +SRC_URI="http://pages.stern.nyu.edu/~marriaga/software/libtrash/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="virtual/libc + dev-lang/perl" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-2.4-gentoo.patch + sed -i \ + -e "/^INSTLIBDIR/s/lib/$(get_libdir)/" \ + -e "/^CFLAGS/s/$/ ${CFLAGS}/" \ + ${S}/src/Makefile || die + + # now let's unpack strash too in cash anyone is interested + cd cleanTrash + tar -zxf ./strash-0.9.tar.gz +} + +src_compile() { + make CC="$(tc-getCC)" || die "Error Making Source...Exiting" +} + +src_install() { + dodir /etc /usr/$(get_libdir) + make DESTDIR="${D}" install || die "Error Installing ${P}...Exiting" + + dosbin cleanTrash/ct2.pl + exeinto /etc/cron.daily + doexe "${FILESDIR}"/cleanTrash.cron + + dodoc CHANGE.LOG README libtrash.conf TODO config.txt + + docinto cleanTrash + dodoc cleanTrash/README cleanTrash/cleanTrash + + # new strash installation stuff + dosbin cleanTrash/strash-0.9/strash + docinto strash + dodoc cleanTrash/strash-0.9/README + doman cleanTrash/strash-0.9/strash.8 +} + +pkg_postinst() { + einfo + einfo "To use this you have to put the trash library as one" + einfo "of the variables in LD_PRELOAD." + einfo "Example in bash:" + einfo "export LD_PRELOAD=/usr/$(get_libdir)/libtrash.so" + einfo + einfo "Also, see /etc/cron.daily/cleanTrash.cron if you'd like to turn on" + einfo "daily trash cleanup." + einfo +} -- 2.26.2