Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49031 - DSTCLEANER a cleaner for DISTDIR and PORTAGE_TMPDIR
Summary: DSTCLEANER a cleaner for DISTDIR and PORTAGE_TMPDIR
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-26 06:44 UTC by active
Modified: 2006-05-04 10:36 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description active 2004-04-26 06:44:49 UTC
I want to request the adding of an ebuild in the Portage tree.
Name: dstcleaner
Ver: 0.1.1
Homepage: http://unixware.sf.net/dstcleaner/
Location: http://unixware.sourceforge.net/dstcleaner/dstsrc/dstcleaner-0.1.1.tar.gz
Install: it's only a binary file, a README and a ChangeLog. I think binary should go in /usr/sbin and the others in /usr/share/doc...
Requirements:
Perl 5.8.0 (or higher)
Dialog 0.9b (or higher)
Scope: dstcleaner cleans out /usr/portage/distfiles and /var/tmp/portage, using dialog. More info at the main site.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 active 2004-05-12 11:04:45 UTC
Sorry for the delay. Copyright line is empty.
Here comes the ebuild:

#
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="A Portage distfiles and workdirs cleaner"
SRC_URI="http://unixware.sourceforge.net/dstcleaner/dstsrc/${P}.tar.gz"
HOMEPAGE="http://unixware.sourceforge.net/dstcleaner"

KEYWORDS="x86 ppc sparc mips alpha arm hppa"
SLOT="0"
LICENSE="GPL-2"

RDEPEND=">=dev-lang/perl-5.8
         =dev-util/dialog-0.9*"

src_install() {
        dosbin ${WORKDIR}/${P}.pl
        dodoc ${WORKDIR}/README ${WORKDIR}/ChangeLog
        dosym /usr/sbin/${P}.pl /usr/sbin/${PN}
}

pkg_postinst() {
        einfo
        einfo "Please, see the README before to use dstcleaner."
        einfo
}
Comment 2 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-08-17 20:11:18 UTC

*** This bug has been marked as a duplicate of 47779 ***
Comment 3 Juan F. Codagnone 2005-08-17 20:36:26 UTC
mmm. any tip of what can i make so distcleaner make his way to the portage 
tree? is there any other tool? 
 
Comment 4 Juan F. Codagnone 2005-08-17 20:37:03 UTC
opps. sory wrong bug. 
Comment 5 Juan F. Codagnone 2005-08-17 20:44:49 UTC
technically speaking this bug is not a dup of #47779. dstcleaner is a tool   
than distcleaner.    
   
see the discusion at:   
  http://thread.gmane.org/gmane.linux.gentoo.user/77013   
   
Comment 6 active 2005-08-22 01:13:56 UTC
Dstcleaner and distcleaner are two different tools.
Comment 7 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-10-13 15:29:11 UTC
My apologies for the incorrect dupe.
Comment 8 active 2006-05-04 06:07:41 UTC
I think this bug could be closed. Dstcleaner has become outdated. There are other tools to do the same things as dstcleaner, such as eclean. I don't want to reinvent the wheel.
Comment 9 SpanKY gentoo-dev 2006-05-04 10:36:53 UTC
eclean-dist is part of gentoolkit now