View previous topic :: View next topic |
Author |
Message |
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
Posted: Fri Jun 04, 2004 4:32 am Post subject: |
|
|
ck42 wrote: |
ecatmur:
Ok...working again
Some listings I'm getting that might want to be added to the rules:
/usr/kde/3.2/share/icons/ (and all sub-dirs)
/usr/kde/3.2/share/wallpapers/ (and all sub-dirs)
/usr/lib/nessus/plugins/.desc/ (getting listings from this dir again)
/usr/lib/python2.2/ (getting several sub-dirs on this one)
/usr/lib/qt3/include/
/usr/share/popfile/messages/
....these paths have the largest listings.
|
Possibly the typo BlindSpy found - can you try again?
On my machine qt installs includes to /usr/qt/3/include/, no?
/usr/share/popfile/messages/ - OK, added. _________________ No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS? |
|
Back to top |
|
|
ck42 l33t
Joined: 31 Jul 2003 Posts: 789
|
Posted: Fri Jun 04, 2004 5:06 am Post subject: |
|
|
ecatmur:
your're right. Looks like I have qt 'include' dir's in both locations...same files, but different dates and sizes. No idea how that happened. Is there a way to know which one is needed/uneeded?
Still getting listings in /usr/share/popfile/messages/* |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
Back to top |
|
|
ck42 l33t
Joined: 31 Jul 2003 Posts: 789
|
Posted: Fri Jun 04, 2004 2:57 pm Post subject: |
|
|
ecatmur:
Great!....that fixed the popfile messages.
Still have large quantities of listings from the following dirs:
/usr/lib/nessus/plugins/
/usr/kde/3.2/share/doc/HTML/en/
/usr/kde/3.2/share/icons/ *and all subdirs*
/usr/kde/3.2/share/wallpapers/
/usr/lib/python2.2/
/usr/lib/qt3/include/ *I know, but which one do I keep*
I'd try adding these myself but not sure of the syntax in the script. |
|
Back to top |
|
|
djm Arch/Herd Tester
Joined: 12 Apr 2004 Posts: 690 Location: Wadham College, Oxford
|
Posted: Fri Jun 04, 2004 3:14 pm Post subject: |
|
|
re-emerging scrollkeeper stopped it listing those packages, but it still wants to remove gcc-config even after emerging it twice _________________ the forums.gentoo.org poster formally known as metal leper |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
Posted: Fri Jun 04, 2004 6:24 pm Post subject: |
|
|
ck42 wrote: |
/usr/lib/nessus/plugins/
/usr/kde/3.2/share/doc/HTML/en/
/usr/kde/3.2/share/icons/ *and all subdirs*
/usr/kde/3.2/share/wallpapers/
/usr/lib/python2.2/
/usr/lib/qt3/include/ *I know, but which one do I keep*
|
nessus plugins - I added /usr/lib/nessus/plugins/.desc, is there more?
/usr/kde/3.2/share - wtf? All that's fine on my system...
/usr/lib/python2.2/ - probably OK to junk, assuming you're on python 2.3.
/usr/lib/qt3/include/ - yeah, zap this one. _________________ No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS? |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
Posted: Fri Jun 04, 2004 6:28 pm Post subject: |
|
|
metal leper wrote: | re-emerging scrollkeeper stopped it listing those packages, but it still wants to remove gcc-config even after emerging it twice |
gcc-config - are you using 1.3.4? The ebuild looks *very* broken... I'll add it for gcc-config-1.3.4. _________________ No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS? |
|
Back to top |
|
|
djm Arch/Herd Tester
Joined: 12 Apr 2004 Posts: 690 Location: Wadham College, Oxford
|
Posted: Fri Jun 04, 2004 7:00 pm Post subject: |
|
|
I'm using gcc-config 1.3.5-r1 _________________ the forums.gentoo.org poster formally known as metal leper |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
Back to top |
|
|
ck42 l33t
Joined: 31 Jul 2003 Posts: 789
|
Posted: Fri Jun 04, 2004 8:41 pm Post subject: |
|
|
ecatmur:
"nessus plugins - I added /usr/lib/nessus/plugins/.desc, is there more? "
Ja....these listings now are coming from the actual /plugins dir.....not the .desc dir.
Not sure what to tell you about the /usr/kde/3.2/share....except that there's a ton of listings uder that path.
thnx for the others! |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
Back to top |
|
|
BlindSpy Apprentice
Joined: 20 Mar 2004 Posts: 263
|
Posted: Fri Jun 04, 2004 11:32 pm Post subject: |
|
|
ecatmur wrote: | BlindSpy wrote: | I use xorg now so is it safe for me to remove these files for xfree?
[edit] yea i need all that stuff.... what can be done about it? [/edit]
Code: | /etc/X11/XftConfig
/etc/X11/app-defaults/XF86Cfg
/etc/X11/xdm/pixmaps/XFree86.xpm
/etc/X11/xdm/pixmaps/XFree86bw.xpm
/etc/skel/.xinitrc <== how can i make it keep that in there?
/usr/X11R6/lib/X11/XftConfig
/usr/X11R6/lib/X11/fonts/CID
/usr/X11R6/lib/X11/fonts/CID/encodings.dir
/usr/X11R6/lib/X11/fonts/CID/fonts.cache-1
/usr/X11R6/lib/X11/fonts/CID/fonts.dir
/usr/X11R6/lib/X11/fonts/cyrillic
/usr/X11R6/lib/X11/fonts/cyrillic/Fontmap
/usr/X11R6/lib/X11/fonts/cyrillic/encodings.dir
/usr/X11R6/lib/X11/fonts/cyrillic/fonts.cache-1
/usr/X11R6/lib/X11/fonts/cyrillic/fonts.dir
/usr/X11R6/lib/X11/fonts/cyrillic/fonts.list
/usr/X11R6/lib/X11/fonts/cyrillic/fonts.scale
/usr/X11R6/lib/X11/fonts/fonts.cache-1
/usr/X11R6/lib/X11/fonts/truetype
/usr/X11R6/lib/X11/fonts/truetype/Fontmap
/usr/X11R6/lib/X11/fonts/truetype/encodings.dir
/usr/X11R6/lib/X11/fonts/truetype/fonts.cache-1
/usr/X11R6/lib/X11/fonts/truetype/fonts.dir
/usr/X11R6/lib/X11/fonts/truetype/fonts.list
/usr/X11R6/lib/X11/fonts/truetype/fonts.scale
/usr/X11R6/lib/X11/fonts/ukr
/usr/X11R6/lib/X11/fonts/ukr/Fontmap
/usr/X11R6/lib/X11/fonts/ukr/encodings.dir
/usr/X11R6/lib/X11/fonts/ukr/fonts.cache-1
/usr/X11R6/lib/X11/fonts/ukr/fonts.dir
/usr/X11R6/lib/X11/fonts/ukr/fonts.scale
/usr/X11R6/lib/X11/xkb/rules/xfree86-it.lst
/usr/X11R6/lib/X11/xkb/rules/xfree86.lst
/usr/X11R6/lib/X11/xkb/rules/xfree86.xml
/usr/X11R6/lib/X11/xkb/symbols/ru_yawerty
/usr/X11R6/lib/libfglrx_gamma.1
/usr/X11R6/lib/libfglrx_gamma.so.1
/usr/lib/opengl/xfree
/usr/lib/sed1tgSr3
/usr/lib/sed1wufxi
/usr/lib/sed9jdYcO
/usr/lib/sedGNVlis
/usr/lib/sedIfLgd6 |
|
/etc/skel/* is now ignored.
The sed stuff can be got rid of.
Fonts should be moved to /usr/share/fonts.
All else... can you tell me what it belongs to? (Use my cruft-blame.py)
A lot of that has changed as well, e.g. /usr/lib/opengl/xfree to /usr/lib/opengl/xorg-x11. |
I went through all that other X11 crap and it was all safe to remove... just residules left over from xfree86. Your script ended up holding up perfectly to the xfree to xorg switch I think thats a pretty big feet! good work |
|
Back to top |
|
|
ck42 l33t
Joined: 31 Jul 2003 Posts: 789
|
Posted: Sat Jun 05, 2004 4:00 am Post subject: |
|
|
ecatmur:
Looking good.
Found a couple more needed files for Popfile in /usr/share/popfile/
Any ideas about:
/etc/X11/gtk/
/usr/kde/3.2/share/doc/HTML/en/kdelibs-apidocs/
/usr/lib/kde3/
/usr/share/doc/HTML/en/ |
|
Back to top |
|
|
hepta_sean Apprentice
Joined: 27 Apr 2004 Posts: 246 Location: Berlin, Germany
|
Posted: Mon Jun 07, 2004 4:26 pm Post subject: |
|
|
Hello again!
@ecatmur:
I've got a few more additions/modifications, you might want to consider (context diff can be found here):
Code: | $(has_version gnome-base/ORBit && echo "/etc/CORBA") |
Several gnome programs seem to put settings in this directory. Perhaps it would be more clean to sort all of them out, but I was too lazy for that.
Code: | $(has_version games-strategy/freeciv && echo "/etc/X11/app-defaults/Freeciv") |
Application defaults of freeciv, apparently generated in post_inst or something.
Code: | has_version '=dev-util/eclipse-sdk-2*' \
&& PRUNE="${PRUNE}
/usr/lib/eclipse-2/Uninstaller
/usr/lib/eclipse-2/features
/usr/lib/eclipse-2/plugins"
has_version '=dev-util/eclipse-sdk-3*' \
&& PRUNE="${PRUNE}
/usr/lib/eclipse-3/Uninstaller
/usr/lib/eclipse-3/features
/usr/lib/eclipse-3/plugins" |
Eclipse is now slotted. Is there a less ugly and error-prone way to handle SLOTS?
Code: | has_version media-gfx/xloadimage \
&& PRUNE="${PRUNE}
/usr/share/man/man1/xsetbg.1.gz
/usr/share/man/man1/xview.1.gz" |
These are symlinks to the xloadimage man page, so I figured, they belong to it, although they were created (according to cruft-blame.py) by the xorg-x11 emerge.
Code: | has_version '=x11-libs/qt-2*' \
&& PRUNE="${PRUNE}
/usr/qt/2/etc/settings/.kconfigrc.lock
/usr/qt/2/etc/settings/kconfigrc"
has_version '=x11-libs/qt-3*' \
&& PRUNE="${PRUNE}
/usr/qt/3/etc/settings/.kconfigrc.lock
/usr/qt/3/etc/settings/kconfigrc" |
I suppose these are created, when using "make xconfig" for kernel configurations. Think, they shouldn't be reported. Again, what is the proper way to handle SLOTted packages?
Code: | has_version '=media-video/ati-drivers-3.9*' \
&& PRUNE="${PRUNE} /usr/X11R6/lib/libfglrx_gamma.1" |
And another one of those ugly ldconfig thingies.
Finally, I've got a small question: Wouldn't it be more comprehensible, if there was just one big list, instead of one list sorted by filename for single files or directories and one sorted by category/package for several files?
@ck42:
ck42 wrote: | Any ideas about:
/etc/X11/gtk/ |
AFAICS, it's safe to delete this, 'cause it seems to have been moved to /etc/gtk.
Regards, sean
EDIT: Found one more:
Code: | $(has_version '>=dev-java/sun-j2ee-1.3.1-r1' && echo "/etc/env.d/29sun-j2ee-1.3.1") |
This is created by the latest version of sun-j2ee-1.3.1-r1.ebuild.
And a question to all: I get a cruft(?) file in the root directory:
Code: | sean@lois bin $ ls -l /--assume-kernel\=2.6.7-rc2-love2
-rw-r--r-- 1 root root 5,5K Jun 6 16:30 /--assume-kernel=2.6.7-rc2-love2 |
It has some things that look like module aliases in it and seems to be recreated, if I delete it. Does anyone know, where it comes from? |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
Posted: Tue Jun 08, 2004 2:26 am Post subject: |
|
|
That's great work, thanks!
Regarding SLOTs, I've revamped the insides so you can pass a slot to has_version.
regarding the structure, I'm going to foo.d it when I have time - convert the data from a flat file into a filesystem tree. Exams finish in a week... _________________ No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS? |
|
Back to top |
|
|
BlindSpy Apprentice
Joined: 20 Mar 2004 Posts: 263
|
Posted: Wed Jun 09, 2004 6:56 pm Post subject: |
|
|
ecatmur wrote: | That's great work, thanks!
Regarding SLOTs, I've revamped the insides so you can pass a slot to has_version.
regarding the structure, I'm going to foo.d it when I have time - convert the data from a flat file into a filesystem tree. Exams finish in a week... |
maybe keep the flat file as well because I wouldnt know how to batch delete the files otherwise. =) |
|
Back to top |
|
|
hepta_sean Apprentice
Joined: 27 Apr 2004 Posts: 246 Location: Berlin, Germany
|
Posted: Mon Jun 14, 2004 9:45 pm Post subject: |
|
|
Hello again!
Found another one:
Code: | sean@lois sean $ diff -U 1 bin/cruft bin/cruft-hepta
--- bin/cruft 2004-06-10 11:15:07.000000000 +0200
+++ bin/cruft-hepta 2004-06-14 23:25:56.931733712 +0200
@@ -456,3 +456,4 @@
$(has_version media-fonts/ttf-bitstream-vera && fontdir ttf-bitstream-vera)
-$(has_version media-fonts/urw-fonts && fontdir urw-fonts)
+$(has_version "<=media-fonts/urw-fonts-2.0-r1" && fontdir default/Type1)
+$(has_version ">=media-fonts/urw-fonts-2.1" && fontdir urw-fonts)
$(has_version app-editors/jedit && echo "/usr/share/jedit/jars") |
I suppose, you changed it, when updating to 2.1, but that one is still masked ~x86, so I think, this might be the cleaner way.
Regards, sean |
|
Back to top |
|
|
Keffin Apprentice
Joined: 14 Feb 2004 Posts: 202 Location: England
|
Posted: Tue Jun 15, 2004 10:51 am Post subject: |
|
|
Clanlib installs all its libraries to /usr/lib/clanlib-x.y, and creates a symlink to most (all?) of the files in there in /usr/lib. The cruft script is hitting all the symlinks. Also it wants me to delete a bunch of man pages for things I have installed (particularly samba).
I deleted all the man pages it hit in case they were just plain old but sure enough "man samba" said there was no man page for samba. I also deleted all the clanlib symlinks to see what happened, battle for wesnoth (the only thing I have that uses clanlib) still seemed to work fine.
Once I had finished deleting everything cruft hit (everything else seemed sensible), I remerged samba and clanlib and ran cruft again, sure enough it still didn't like what they installed. Here's the output of this final run if it helps.
Code: | Gentoo Important # ./cruft
Developing list of potential false positives...
Finding files on your filesystem...
Finding files managed by Portage...
Finding other files...
Comparing file lists...
/usr/include/ClanLib
/usr/lib/libclanApp-0.7.so.0
/usr/lib/libclanApp-0.7.so.0.0.0
/usr/lib/libclanApp.a
/usr/lib/libclanApp.la
/usr/lib/libclanApp.so
/usr/lib/libclanCore-0.7.so.0
/usr/lib/libclanCore-0.7.so.0.0.0
/usr/lib/libclanCore.a
/usr/lib/libclanCore.la
/usr/lib/libclanCore.so
/usr/lib/libclanDisplay-0.7.so.0
/usr/lib/libclanDisplay-0.7.so.0.0.0
/usr/lib/libclanDisplay.a
/usr/lib/libclanDisplay.la
/usr/lib/libclanDisplay.so
/usr/lib/libclanGL-0.7.so.0
/usr/lib/libclanGL-0.7.so.0.0.0
/usr/lib/libclanGL.a
/usr/lib/libclanGL.la
/usr/lib/libclanGL.so
/usr/lib/libclanGUI-0.7.so.0
/usr/lib/libclanGUI-0.7.so.0.0.0
/usr/lib/libclanGL.a
/usr/lib/libclanGL.la
/usr/lib/libclanGL.so
/usr/lib/libclanGUI-0.7.so.0
/usr/lib/libclanGUI-0.7.so.0.0.0
/usr/lib/libclanGUI.a
/usr/lib/libclanGUI.la
/usr/lib/libclanGUI.so
/usr/lib/libclanGUIStyleSilver-0.7.so.0
/usr/lib/libclanGUIStyleSilver-0.7.so.0.0.0
/usr/lib/libclanGUIStyleSilver.a
/usr/lib/libclanGUIStyleSilver.la
/usr/lib/libclanGUIStyleSilver.so
/usr/lib/libclanMikMod-0.7.so.0
/usr/lib/libclanMikMod-0.7.so.0.0.0
/usr/lib/libclanMikMod.a
/usr/lib/libclanMikMod.la
/usr/lib/libclanMikMod.so
/usr/lib/libclanNetwork-0.7.so.0
/usr/lib/libclanNetwork-0.7.so.0.0.0
/usr/lib/libclanNetwork.a
/usr/lib/libclanNetwork.la
/usr/lib/libclanNetwork.so
/usr/lib/libclanSDL-0.7.so.0
/usr/lib/libclanSDL-0.7.so.0.0.0
/usr/lib/libclanSDL.a
/usr/lib/libclanSDL.la
/usr/lib/libclanSDL.so
/usr/lib/libclanSignals-0.7.so.0
/usr/lib/libclanSignals-0.7.so.0.0.0
/usr/lib/libclanSignals.a
/usr/lib/libclanSignals.la
/usr/lib/libclanSignals.so
/usr/lib/libclanSound-0.7.so.0
/usr/lib/libclanSound-0.7.so.0.0.0
/usr/lib/libclanSound.a
/usr/lib/libclanSound.la
/usr/lib/libclanSound.so
/usr/lib/libclanVorbis-0.7.so.0
/usr/lib/libclanVorbis-0.7.so.0.0.0
/usr/lib/libclanVorbis.a
/usr/lib/libclanVorbis.la
/usr/lib/libclanVorbis.so
/usr/lib/pkgconfig/pkgconfig
/usr/share/man/man1/editreg.1.gz
/usr/share/man/man1/findsmb.1.gz
/usr/share/man/man1/log2pcap.1.gz
/usr/share/man/man1/nmblookup.1.gz
/usr/share/man/man1/ntlm_auth.1.gz
/usr/share/man/man1/profiles.1.gz
/usr/share/man/man1/rpcclient.1.gz
/usr/share/man/man1/smbcacls.1.gz
/usr/share/man/man1/smbclient.1.gz
/usr/share/man/man1/smbcontrol.1.gz
/usr/share/man/man1/smbcquotas.1.gz
/usr/share/man/man1/smbget.1.gz
/usr/share/man/man1/smbsh.1.gz
/usr/share/man/man1/smbstatus.1.gz
/usr/share/man/man1/smbtar.1.gz
/usr/share/man/man1/smbtree.1.gz
/usr/share/man/man1/testparm.1.gz
/usr/share/man/man1/testprns.1.gz
/usr/share/man/man1/vfstest.1.gz
/usr/share/man/man1/wbinfo.1.gz
/usr/share/man/man5/lmhosts.5.gz
/usr/share/man/man5/smb.conf.5.gz
/usr/share/man/man5/smbgetrc.5.gz
/usr/share/man/man5/smbpasswd.5.gz
/usr/share/man/man7/samba.7.gz
/usr/share/man/man8/mount.cifs.8.gz
/usr/share/man/man8/net.8.gz
/usr/share/man/man8/nmbd.8.gz
/usr/share/man/man8/pdbedit.8.gz
/usr/share/man/man8/smbd.8.gz
/usr/share/man/man8/smbmnt.8.gz
/usr/share/man/man8/smbmount.8.gz
/usr/share/man/man8/smbpasswd.8.gz
/usr/share/man/man8/smbspool.8.gz
/usr/share/man/man8/smbumount.8.gz
/usr/share/man/man8/swat.8.gz
/usr/share/man/man8/tdbbackup.8.gz
/usr/share/man/man8/tdbdump.8.gz
/usr/share/man/man8/winbindd.8.gz |
_________________ Always cut the deck if it ups your odds. |
|
Back to top |
|
|
hepta_sean Apprentice
Joined: 27 Apr 2004 Posts: 246 Location: Berlin, Germany
|
Posted: Tue Jun 15, 2004 11:29 am Post subject: |
|
|
Keffin wrote: | Clanlib installs all its libraries to /usr/lib/clanlib-x.y, and creates a symlink to most (all?) of the files in there in /usr/lib. The cruft script is hitting all the symlinks. Also it wants me to delete a bunch of man pages for things I have installed (particularly samba). |
I don't know clanlib, but it shouldn't report the samba man pages, since they are managed by portage. Could you give me the output of
Code: | ls -l /var/db/pkg/net-fs/samba-3.0.2a-r2 |
and
Code: | cat /var/db/pkg/net-fs/samba-3.0.2a-r2/CONTENTS | grep man1 |
(or whatever version you are running)?
Also, are you running cruft as normal user and does it complain about permission things related to samba (and perhaps clanlib)? I always run sudo cruft, because in order to effectively detect all cruft it needs to have access to all files. And I trust ecatmur and the script enough to sudo it.
On the other hand, if it was a permission issue, it would report more samba cruft, not just the man pages. |
|
Back to top |
|
|
Keffin Apprentice
Joined: 14 Feb 2004 Posts: 202 Location: England
|
Posted: Tue Jun 15, 2004 4:00 pm Post subject: |
|
|
I'm running cruft as root, using su to log in (don't have sudo). Both clanlib and samba were installed by portage. I run a pure ~x86 system so am using samba-3.0.4-r1 (as of yesterday I think). I haven't used this script since quite a while ago, so I can't say whether any particular versions of clanlib/samba started causing this. The output you requested:
Code: | keffin@Gentoo keffin $ ls -l /var/db/pkg/net-fs/samba-3.0.4-r1
total 140
-rw-r--r-- 1 root root 7 Jun 15 11:31 CATEGORY
-rw-r--r-- 1 root root 1 Jun 15 11:31 CBUILD
-rw-r--r-- 1 root root 4 Jun 15 11:31 CC
-rw-r--r-- 1 root root 2 Jun 15 11:31 CDEPEND
-rw-r--r-- 1 root root 64 Jun 15 11:31 CFLAGS
-rw-r--r-- 1 root root 18 Jun 15 11:31 CHOST
-rw-r--r-- 1 root root 32149 Jun 15 11:31 CONTENTS
-rw-r--r-- 1 root root 4 Jun 15 11:31 COUNTER
-rw-r--r-- 1 root root 4 Jun 15 11:31 CXX
-rw-r--r-- 1 root root 64 Jun 15 11:31 CXXFLAGS
-rw-r--r-- 1 root root 430 Jun 15 11:31 DEPEND
-rw-r--r-- 1 root root 75 Jun 15 11:31 IUSE
-rw-r--r-- 1 root root 6 Jun 15 11:31 LICENSE
-rw-r--r-- 1 root root 2 Jun 15 11:31 PDEPEND
-rw-r--r-- 1 root root 15 Jun 15 11:31 PF
-rw-r--r-- 1 root root 1 Jun 15 11:31 PKGUSE
-rw-r--r-- 1 root root 1 Jun 15 11:31 PROVIDE
-rw-r--r-- 1 root root 385 Jun 15 11:31 RDEPEND
-rw-r--r-- 1 root root 2 Jun 15 11:31 SLOT
-rw-r--r-- 1 root root 356 Jun 15 11:31 USE
-rw-r--r-- 1 root root 20080 Jun 15 11:31 environment.bz2
-rw-r--r-- 1 root root 11055 Jun 15 11:31 samba-3.0.4-r1.ebuild |
Code: | keffin@Gentoo keffin $ cat /var/db/pkg/net-fs/samba-3.0.4-r1/CONTENTS | grep man1
dir /usr/man/man1
obj /usr/man/man1/log2pcap.1.gz 31cd8f1a1e9a4aa2ad940c9b6e18fe69 1087295499
obj /usr/man/man1/smbtree.1.gz dffc498894a848213d764c65678fbe3d 1087295499
obj /usr/man/man1/smbget.1.gz 44a7712fe6b76f9a4b366c202ad85433 1087295499
obj /usr/man/man1/editreg.1.gz d343194d703a8ea1f49bccabf11bb849 1087295499
obj /usr/man/man1/smbcacls.1.gz e27b1abd639ba04c5e986cc9d88e8368 1087295499
obj /usr/man/man1/testprns.1.gz 60d2c6c1d812def3c43ccfda78c9615f 1087295499
obj /usr/man/man1/nmblookup.1.gz 642dff030f8bac32370f78b90ac0156f 1087295499
obj /usr/man/man1/smbcquotas.1.gz 8fa47c18d51166613be4f2aa6b739183 1087295499
obj /usr/man/man1/smbtar.1.gz c83e7a607511803e704b3a830055b41b 1087295499
obj /usr/man/man1/smbclient.1.gz 56b25d7e57856fbe2369ce552c35cbdf 1087295499
obj /usr/man/man1/testparm.1.gz 10ba6fa78e5c7348d1c341e20d7a41d9 1087295499
obj /usr/man/man1/rpcclient.1.gz c52bdec27d8aba52f3d6db21db966a15 1087295499
obj /usr/man/man1/wbinfo.1.gz 71ee3a2895de48b1e3fe5d775f846aa0 1087295499
obj /usr/man/man1/ntlm_auth.1.gz 54f15018da06af383b54bbbc57317950 1087295499
obj /usr/man/man1/findsmb.1.gz 5e8210918e24334b1749d19b3b4c7a1b 1087295499
obj /usr/man/man1/profiles.1.gz d30aa5fe4f3a4ad8084cbaefd60a6289 1087295499
obj /usr/man/man1/smbstatus.1.gz 12f7a90b5f1af501c632428534781c20 1087295499
obj /usr/man/man1/smbcontrol.1.gz a89ba8d006687ce1626b058e82887875 1087295499
obj /usr/man/man1/vfstest.1.gz cf6e9ceee3dc8ea8170c48bd60a9b728 1087295499
obj /usr/man/man1/smbsh.1.gz 83f82387a5e373cda7696c212ea85593 1087295499 |
_________________ Always cut the deck if it ups your odds. |
|
Back to top |
|
|
hepta_sean Apprentice
Joined: 27 Apr 2004 Posts: 246 Location: Berlin, Germany
|
Posted: Tue Jun 15, 2004 5:16 pm Post subject: |
|
|
Keffin wrote: | Code: | keffin@Gentoo keffin $ cat /var/db/pkg/net-fs/samba-3.0.4-r1/CONTENTS | grep man1
dir /usr/man/man1
obj /usr/man/man1/log2pcap.1.gz 31cd8f1a1e9a4aa2ad940c9b6e18fe69 1087295499
obj /usr/man/man1/smbtree.1.gz dffc498894a848213d764c65678fbe3d 1087295499
obj /usr/man/man1/smbget.1.gz 44a7712fe6b76f9a4b366c202ad85433 1087295499
... |
|
Ah, I see, the ebuild installs the man-pages into /usr/man, but /usr/man is a symlink to /usr/share/man, so they pop up as e.g. /usr/share/man/man1/log2pcap.1.gz and cruft does not know, that that is the same as /usr/man/man1/log2pcap.1.gz managed by portage.
ecatmur and you might want to add this whole bunch of files into the prune-list for ">=samba-3.0.4-r1". (This does not affect the earlier versions of samba.) |
|
Back to top |
|
|
simbloke n00b
Joined: 19 Oct 2002 Posts: 8 Location: UK
|
Posted: Thu Jun 17, 2004 9:09 am Post subject: |
|
|
Hi, Thanks for this script, I found around 50000 files on one of my systems! There are a few false positives though:
Code: |
/etc/vmware/config
/etc/vmware/init.d/rc3.d/S90vmware
/etc/vmware/init.d/rc6.d/K08vmware
/etc/vmware/vmnet1
/etc/vmware/vmnet1/dhcpd
/etc/vmware/vmnet1/dhcpd/dhcpd.conf
/etc/vmware/vmnet1/dhcpd/dhcpd.leases
/etc/vmware/vmnet1/dhcpd/dhcpd.leases~
/etc/vmware/vmnet8
/etc/vmware/vmnet8/dhcpd
/etc/vmware/vmnet8/dhcpd/dhcpd.conf
/etc/vmware/vmnet8/dhcpd/dhcpd.leases
/etc/vmware/vmnet8/dhcpd/dhcpd.leases~
/etc/vmware/vmnet8/nat
/etc/vmware/vmnet8/nat/nat.conf
/var/lock/subsys/vmware
/var/run/vmware
/var/run/vmware/sim
/var/run/vmware/sim/8011
|
It also tried to remove everything under /var/spool/postfix, which I think should be left well alone - I do have postfix installed and running. A related file is /etc/mail/aliases.db (though /etc/mail/aliases was left alone).
Another posibility for inclusion would be anything under /etc/apache2/conf/vhosts if apache2 is installed.
Other than that, no problems
Sim |
|
Back to top |
|
|
grzewho l33t
Joined: 31 Dec 2002 Posts: 626 Location: /home/g
|
Posted: Thu Jun 17, 2004 11:19 am Post subject: |
|
|
great script, thanks a lot. helped me to save 300mb disk space ! _________________
Code: | USE="freedom -software_patents" emerge --deep --update world |
|
|
Back to top |
|
|
slobba n00b
Joined: 20 Mar 2004 Posts: 34 Location: Sydney, Australia
|
Posted: Thu Jun 17, 2004 12:45 pm Post subject: |
|
|
I'm getting what I believe are some false positives for distcc:
Code: |
/etc/env.d/02distcc
/usr/lib/distcc/bin/c++
/usr/lib/distcc/bin/cc
/usr/lib/distcc/bin/g++
/usr/lib/distcc/bin/gcc
/usr/lib/distcc/bin/i686-pc-linux-gnu-c++
/usr/lib/distcc/bin/i686-pc-linux-gnu-g++
/usr/lib/distcc/bin/i686-pc-linux-gnu-gcc
/var/run/distccd/distccd.pid
|
and also for a symlink I created in the /etc/init.d directory. It's a symlink to /etc/init.d/net.eth0 as per the Gentoo install docs:
Code: |
/etc/init.d/net.eth1
|
I also tried running cruft-blame.py on a couple of entries but kept getting:
Code: |
File "./cruft-blame.py", line 128
log = LogFile("/var/log/emerge.log", True)
^
IndentationError: expected an indented block
|
|
|
Back to top |
|
|
Dave_Wesnoth n00b
Joined: 24 Apr 2004 Posts: 6
|
Posted: Sat Jun 19, 2004 3:19 pm Post subject: |
|
|
Keffin wrote: | battle for wesnoth (the only thing I have that uses clanlib) still seemed to work fine. |
Battle for Wesnoth does not use Clanlib. Only SDL.
David _________________ Lead Developer
Battle for Wesnoth (http://www.wesnoth.org) |
|
Back to top |
|
|
|