On Mon, 19 Apr 2004, Daniel Macks wrote:
Hi,
> There's a feature in the not-yet-released version of fink that lets
> you extract this type of info directly from fink's own database. You
> will be able to
>
> fink dumpinfo --source > output.txt
>
> (or something like that...the exact syntax isn't quite set yet) and
> then you can browse a giant listing of all packages (or optionally
> limitted by package name) and their macro-expanded tarball names at
> your leisure. Would that provide the kind of info you want?
Probably, but then I would have to make two separate tools, one for
standard debian and other for Fink. :)
I still don't understand why Fink needs to keep both Source and Package
fields in the final .deb file information identical, I managed to modify
fink packaging routines so that it'll generate the packages into same form
as Debian does. This way I can easily determine for my owns statistics the
original source and version, of which the package(s) have been generated.
Here's the change that I made:
--- /sw/lib/perl5/Fink/PkgVersion.pm.orig Tue Apr 20 15:52:37 2004
+++ /sw/lib/perl5/Fink/PkgVersion.pm Tue Apr 20 16:09:47 2004
@@ -1722,7 +1722,7 @@
$instsize = $self->get_instsize("$destdir$basepath");
$control = <<EOF;
Package: $pkgname
-Source: $pkgname
+Source: $self->{_expand}->{N}
Version: $version
Section: $section
Installed-Size: $instsize
The tool that I started working on yesterday is at
http://www.hut.fi/~aet/dpkg-glue. If anyone knows the correct spell that
does about the same with standard dpkg/apt tools, please let me know. :)
Cheers,
-Antti
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel