Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9817 - new ebuild: app-admin/tmpwatch-2.8.4.ebuild
Summary: new ebuild: app-admin/tmpwatch-2.8.4.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Highest enhancement (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL: ftp://ftp.redhat.com/pub/redhat/linux...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-28 01:51 UTC by Cory Visi (RETIRED)
Modified: 2002-11-08 07:59 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
tmpwatch-2.8.4.ebuild (tmpwatch-2.8.4.ebuild,768 bytes, application/octet-stream)
2002-10-28 01:52 UTC, Cory Visi (RETIRED)
Details
tmpwatch.cron (tmpwatch.cron,281 bytes, application/octet-stream)
2002-10-28 01:53 UTC, Cory Visi (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cory Visi (RETIRED) gentoo-dev 2002-10-28 01:51:23 UTC
tmpwatch-2.8.4.ebuild
Utility recursively searches through specified directories and removes files which have 
not been accessed in a specified period of time.

I think this tool is very useful. It's been through rigorous bug testing and fixes over 
the years of use by Redhat. There are some other implementations, but I feel this is 
secure, fast, and easy to use.

Furthermore, I think it should really be used in a crontab that comes with baselayout, 
but let's see what other people think.

As for the ebuild itself, I'm not really happy with it. It works, but the download is a 
src.rpm. I cannot for the life of me find another distribution of it in a better form. 
Also, I'm not sure if I made proper use of the WORKDIR. Lastly, I used rpm2targz to 
unpack the RPM. I didn't want to force people to install the entire rpm package.

I am attaching a suggested crontab for /etc/cron.daily.
Comment 1 Cory Visi (RETIRED) gentoo-dev 2002-10-28 01:52:29 UTC
Created attachment 5119 [details]
tmpwatch-2.8.4.ebuild
Comment 2 Cory Visi (RETIRED) gentoo-dev 2002-10-28 01:53:08 UTC
Created attachment 5120 [details]
tmpwatch.cron
Comment 3 Daniel Ahlberg (RETIRED) gentoo-dev 2002-11-08 07:59:23 UTC
Commited, thanks for the ebuild!