On Sun, Sep 16, 2007 at 11:31:55AM +1000, Graeme Nichols said:
> It would be *very* handy if all application tarballs had a 'make uninstall'
> option. Only very few bother to include such an option at the moment so it
> is a find as find can exercise to remove all the old bits and pieces of an
> application before installing a new version.

clamav has the uninstall target in it's Makefiles.

> Another *feature* that very few developers include in their source tarballs
> in a spec file. If they did then one could build an rpm binary package
> extremely simply using the command rpmbuild -tb [tarball name]. However, it
> does mean extra work and testing for the developers who are doing it in
> their own time. The biggest problem in this scenario is the huge number of
> distros all doing their own thing, putting files in their own places and not
> based on a core standard. It would be easy if all distros were based around
> a core standard and their own bells and whistles added around that core
> standard. *Perhaps* then a standard spec file would work on all distros but
> I guess this is a simplistic view by someone who uses my system as a working
> tool rather than a thing to experiment with.

I personally dislike it when upstream keeps a debian/ directory.  It is
usally out of date from what I am currently shipping, and it actually
makes the diff larger and less readable in most cases.

> Moral of the story? If your system is based on a package manager, such as
> Fedora, then stick to it if at all possible.

I'd almost always agree, but clamav is a fairly simple package to
install from source if you can't find decent rpms.  The simplest
approach to making the work would be to dedicate a directory to keeping
the source lying around, and then keep a file somewhere outside of that
source tree with the ./configure flags.  That way, you can easily
uninstall or rerun the build with the same flags.

Take care,
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | BOFH excuse #108:  The air conditioning |
|  [EMAIL PROTECTED]             | water supply pipe ruptured over the     |
|  http://www.lobefin.net/~steve | machine room                            |
 --------------------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to