summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2004-03-27 00:27:27 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2004-03-27 00:27:27 +0000
commitbe1a252e9fa66931477b951708f49bcd34c2ce98 (patch)
tree03c2344bc2015c6a4e95c7fccdf12a3d06f645a5 /sys-libs/libtrash/files
parentVersion bump. Closes bug #45731 and updates the SPARC configuration scripts. (diff)
downloadgentoo-2-be1a252e9fa66931477b951708f49bcd34c2ce98.tar.gz
gentoo-2-be1a252e9fa66931477b951708f49bcd34c2ce98.tar.bz2
gentoo-2-be1a252e9fa66931477b951708f49bcd34c2ce98.zip
Initial import. Bug #17615.
Diffstat (limited to 'sys-libs/libtrash/files')
-rw-r--r--sys-libs/libtrash/files/cleanTrash.cron12
-rw-r--r--sys-libs/libtrash/files/digest-libtrash-2.21
-rw-r--r--sys-libs/libtrash/files/libtrash-2.2-gentoo.patch87
3 files changed, 100 insertions, 0 deletions
diff --git a/sys-libs/libtrash/files/cleanTrash.cron b/sys-libs/libtrash/files/cleanTrash.cron
new file mode 100644
index 000000000000..e9686119ac44
--- /dev/null
+++ b/sys-libs/libtrash/files/cleanTrash.cron
@@ -0,0 +1,12 @@
+#!/bin/sh
+#
+# Uncomment the following if you want
+# your Trash cleaned out regularly.
+#
+# This is part of the libtrash package.
+#
+
+#if [ -x /usr/sbin/ct2.pl ]
+#then
+# /usr/sbin/ct2.pl > /dev/null
+#fi
diff --git a/sys-libs/libtrash/files/digest-libtrash-2.2 b/sys-libs/libtrash/files/digest-libtrash-2.2
new file mode 100644
index 000000000000..ef18444c88a9
--- /dev/null
+++ b/sys-libs/libtrash/files/digest-libtrash-2.2
@@ -0,0 +1 @@
+MD5 8285c8c9bb45b2472dcf301a34c1d46f libtrash-2.2.tgz 89001
diff --git a/sys-libs/libtrash/files/libtrash-2.2-gentoo.patch b/sys-libs/libtrash/files/libtrash-2.2-gentoo.patch
new file mode 100644
index 000000000000..18379151241c
--- /dev/null
+++ b/sys-libs/libtrash/files/libtrash-2.2-gentoo.patch
@@ -0,0 +1,87 @@
+diff -rC2 libtrash-2.2/cleanTrash/ct2.pl libtrash-2.0-gentoo/cleanTrash/ct2.pl
+*** libtrash-2.2/cleanTrash/ct2.pl Tue Aug 20 13:25:09 2002
+--- libtrash-2.2-gentoo/cleanTrash/ct2.pl Sun Mar 16 10:48:05 2003
+***************
+*** 40,44 ****
+ ##########################################################################
+ # Trash-directory relative to home-dir
+! $TRASH_DIR = '/Desktop/Trash';
+
+ # Trash-history file relative to home-dir
+--- 40,44 ----
+ ##########################################################################
+ # Trash-directory relative to home-dir
+! $TRASH_DIR = '/Trash';
+
+ # Trash-history file relative to home-dir
+***************
+*** 48,57 ****
+ $MAX_TRASH_SIZE = 5000;
+
+! # files to ignore in Trash dir (KDE friendly!)
+! @IGNORE_TRASH = ('.directory');
+
+ # minimum user number (by convention on many Linux systems, 'real' users
+ # have UIDs >= 500). Set to zero to process all users
+! $MIN_USER = 500;
+
+ ##########################################################################
+--- 48,57 ----
+ $MAX_TRASH_SIZE = 5000;
+
+! # files to ignore in Trash dir
+! @IGNORE_TRASH = ();
+
+ # minimum user number (by convention on many Linux systems, 'real' users
+ # have UIDs >= 500). Set to zero to process all users
+! $MIN_USER = 1000;
+
+ ##########################################################################
+diff -rC2 libtrash-2.2/libtrash.conf libtrash-2.2-gentoo/libtrash.conf
+*** libtrash-2.2/libtrash.conf Wed Mar 5 15:39:45 2003
+--- libtrash-2.2-gentoo/libtrash.conf Sun Mar 16 10:50:42 2003
+***************
+*** 287,291 ****
+ # below).
+
+! UNREMOVABLE_DIRS =
+ #UNREMOVABLE_DIRS=/bin;/boot;/dev;/etc;/lib;/sbin;/usr
+
+--- 287,291 ----
+ # below).
+
+! UNREMOVABLE_DIRS = /bin;/boot;/dev;/etc;/lib;/opt;/sbin;/usr
+ #UNREMOVABLE_DIRS=/bin;/boot;/dev;/etc;/lib;/sbin;/usr
+
+***************
+*** 375,379 ****
+ # NOTE: This variable is ignored if global_protection is disabled.
+
+! REMOVABLE_MEDIA_MOUNT_POINTS = /mnt
+
+
+--- 375,379 ----
+ # NOTE: This variable is ignored if global_protection is disabled.
+
+! REMOVABLE_MEDIA_MOUNT_POINTS = /mnt/floppy;/mnt/cdrom
+
+
+Only in libtrash-2.0-gentoo/src: .Makefile.swp
+diff -rC2 libtrash-2.2/src/Makefile libtrash-2.0-gentoo/src/Makefile
+*** libtrash-2.2/src/Makefile Wed Mar 5 01:34:02 2003
+--- libtrash-2.2-gentoo/src/Makefile Sun Mar 16 10:52:26 2003
+***************
+*** 2,7 ****
+ CFLAGS=-Wall -W -Wmissing-prototypes -D_REENTRANT
+
+! INSTLIBDIR=/usr/local/lib
+! SYSCONFFILE=/etc/libtrash.conf
+
+ MAJOR =2
+--- 2,7 ----
+ CFLAGS=-Wall -W -Wmissing-prototypes -D_REENTRANT
+
+! INSTLIBDIR=${DESTDIR}/usr/lib
+! SYSCONFFILE=${DESTDIR}/etc/libtrash.conf
+
+ MAJOR =2