summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2007-05-25 16:30:12 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2007-05-25 16:30:12 +0000
commit844e2fd3b072f8494c054085ef5a30d21a014bb7 (patch)
tree5f71e82837c85ff0ef1f9122d187ce92e969d21f /sys-libs
parentVersion bumped. (diff)
downloadhistorical-844e2fd3b072f8494c054085ef5a30d21a014bb7.tar.gz
historical-844e2fd3b072f8494c054085ef5a30d21a014bb7.tar.bz2
historical-844e2fd3b072f8494c054085ef5a30d21a014bb7.zip
Version bumped.
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libtrash/ChangeLog7
-rw-r--r--sys-libs/libtrash/Manifest16
-rw-r--r--sys-libs/libtrash/files/digest-libtrash-2.83
-rw-r--r--sys-libs/libtrash/libtrash-2.8.ebuild67
4 files changed, 88 insertions, 5 deletions
diff --git a/sys-libs/libtrash/ChangeLog b/sys-libs/libtrash/ChangeLog
index d5a90f6e72c2..0736cd57b04f 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.10 2007/05/14 06:21:53 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libtrash/ChangeLog,v 1.11 2007/05/25 16:30:12 matsuu Exp $
+
+*libtrash-2.8 (25 May 2007)
+
+ 25 May 2007; MATSUU Takuto <matsuu@gentoo.org> +libtrash-2.8.ebuild:
+ Version bumped.
14 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml:
add <herd>no-herd</herd>
diff --git a/sys-libs/libtrash/Manifest b/sys-libs/libtrash/Manifest
index 78c95e5c8a10..2eba1c0ffd08 100644
--- a/sys-libs/libtrash/Manifest
+++ b/sys-libs/libtrash/Manifest
@@ -13,6 +13,7 @@ SHA256 4a207d08966b40a40dd8f40711eb236d16e8c4066a1d998f3c434004c01d00ad files/li
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
+DIST libtrash-2.8.tgz 95336 RMD160 4026d9a4873eb0a36d23526706336f95c3e1efb9 SHA1 a63d117eced4c3b8c6987577b407c2aab1efa645 SHA256 6303507f163f424bb64e40af78f8221456bc5caf7da766dbc7c03141819014e5
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
@@ -25,10 +26,14 @@ EBUILD libtrash-2.6.ebuild 1783 RMD160 66fcc0a08cfacffceeb5ef54b93df69df843a3fc
MD5 47f9d951277700905f647a169b3207d4 libtrash-2.6.ebuild 1783
RMD160 66fcc0a08cfacffceeb5ef54b93df69df843a3fc libtrash-2.6.ebuild 1783
SHA256 75668e7136df573a10a0c1abf00e422a1224c60dd9622a749feee31a2dc0b803 libtrash-2.6.ebuild 1783
-MISC ChangeLog 1238 RMD160 d67e5fa437aadfdbebf676b6d123bc4d480724d7 SHA1 7a0f79183a1472bec994e7ce0189844a19dc56c2 SHA256 9aa55f11ad38decbf7adab35c1c384277efd9407cf38ab4a3581d0eef5e552d3
-MD5 47758fb64e749b686c572decebbbf7ff ChangeLog 1238
-RMD160 d67e5fa437aadfdbebf676b6d123bc4d480724d7 ChangeLog 1238
-SHA256 9aa55f11ad38decbf7adab35c1c384277efd9407cf38ab4a3581d0eef5e552d3 ChangeLog 1238
+EBUILD libtrash-2.8.ebuild 1783 RMD160 f14242ad069c105dd1eb931dcdfa99202511706a SHA1 b543651ffd41983a12d5db656e643b440d0fd19e SHA256 836ee9a7d465c424ab73fa8c80d6c2176c15b5e22af5abec43aa684f18a70168
+MD5 63750b63793a517fdddb856b258189ae libtrash-2.8.ebuild 1783
+RMD160 f14242ad069c105dd1eb931dcdfa99202511706a libtrash-2.8.ebuild 1783
+SHA256 836ee9a7d465c424ab73fa8c80d6c2176c15b5e22af5abec43aa684f18a70168 libtrash-2.8.ebuild 1783
+MISC ChangeLog 1356 RMD160 34effa967d9bd9a208d99cd3251d9e4714f103b0 SHA1 585a9fe2f1d6ad4b564d1223c743fefe5793e1d9 SHA256 3adc8cdaa7b7794bd1ac2de339160b1f8b85e56bbf4d18041b4aa1ad7f103a30
+MD5 4c5abdd044d38f28f7f947c87b2b70f7 ChangeLog 1356
+RMD160 34effa967d9bd9a208d99cd3251d9e4714f103b0 ChangeLog 1356
+SHA256 3adc8cdaa7b7794bd1ac2de339160b1f8b85e56bbf4d18041b4aa1ad7f103a30 ChangeLog 1356
MISC metadata.xml 222 RMD160 23efe87c16ebc9fbeb91e894ab372cc3bb66bc49 SHA1 a5d1e2317ae207bbd664aebe986687948fdd984a SHA256 38ef3457fd14e6872985f0e100fde79d0b8a9dbc4fc39ceef780c8c5abc5f337
MD5 ae35aecf3e681586ace5f8c15866aed7 metadata.xml 222
RMD160 23efe87c16ebc9fbeb91e894ab372cc3bb66bc49 metadata.xml 222
@@ -42,3 +47,6 @@ SHA256 a2838553713475a163a4f32d8fa21eae4ece80e53fb68a7a66c4cc1e0576add1 files/di
MD5 4ebfa19bddfb8bcc2facfeb43936b999 files/digest-libtrash-2.6 226
RMD160 6b838a1d42c1eef175c23177ab3bfae5867f9952 files/digest-libtrash-2.6 226
SHA256 eeac397819d609793f73cfb044d3c27bc31e50e57fd916be8c7a11eb10c86479 files/digest-libtrash-2.6 226
+MD5 8c280b0ea2fa90941a28569167803005 files/digest-libtrash-2.8 226
+RMD160 b556e297429acefb8f71e26e814691b4496d00eb files/digest-libtrash-2.8 226
+SHA256 c4e563b7043bb7b3de16e3f25596f52d0f75abfa4b711f826c8855b53ec0984e files/digest-libtrash-2.8 226
diff --git a/sys-libs/libtrash/files/digest-libtrash-2.8 b/sys-libs/libtrash/files/digest-libtrash-2.8
new file mode 100644
index 000000000000..46a9d8094d3d
--- /dev/null
+++ b/sys-libs/libtrash/files/digest-libtrash-2.8
@@ -0,0 +1,3 @@
+MD5 6a88ee49f47610005befc8ce28d3985f libtrash-2.8.tgz 95336
+RMD160 4026d9a4873eb0a36d23526706336f95c3e1efb9 libtrash-2.8.tgz 95336
+SHA256 6303507f163f424bb64e40af78f8221456bc5caf7da766dbc7c03141819014e5 libtrash-2.8.tgz 95336
diff --git a/sys-libs/libtrash/libtrash-2.8.ebuild b/sys-libs/libtrash/libtrash-2.8.ebuild
new file mode 100644
index 000000000000..f4e0b0760b70
--- /dev/null
+++ b/sys-libs/libtrash/libtrash-2.8.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.8.ebuild,v 1.1 2007/05/25 16:30:12 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
+}