Linux dpkg Software Report
Tim Frost
timfrost at xtra.co.nz
Thu Dec 24 09:35:04 UTC 2009
On Tue, 2009-12-22 at 21:25 -0800, Ray Parrish wrote:
> Hello,
>
> I hope I won't get flamed for this, but I have just completed my most
> ambitious script to date, and have completed the Linux dpkg Software
> Report script which takes output from dpkg, and formats it into html
> pages sorted by package section, such as Games, Editors, etc... and also
> generates an alphabetical index to the packages.
Nice effort.
One issue with the script as written is that it MUST be invoked with an
absolute path name (i.e,
"/home/tim/bin/SoftwareReport/LinuxdpkgSoftwareReport.sh", rather than
"LinuxdpkgSoftwareReport.sh" or
"./bin/SoftwareReport/LinuxdpkgSoftwareReport.sh" - which I tried
first). This is used to:
- locate support scripts
- determine where to write the output files
Ideally, the program should be able to locate itself, and then derive
the location of the support scripts, based on its location.
It should also use the user's preferred temp directory (or /tmp
or /var/tmp), rather than writing files to a directory under it's
install location.
This allows an admin to install the scripts in a system directory such
as /usr/bin, without needing to compromise system security.
I will see what I can do about these issues, and feed the results back.
>
> All web urls, ftp urls, and emails in the dpkg output have been
> converted to clickable links, and there are links to each package's
> installed files lists, and configuration files lists, as well as any
> index.html files in that package's /usr/share/doc/packagename folders.
>
> I've released it as open source, and it is available at -
>
> <http://www.rayslinks.com/LinuxdpkgSoftwareReport.html>
>
> There is also a sample output set from the script available for perusal
> linked on that page.
>
> Sorry if you consider this spam, it's not a technical question, but an
> announcement of something I think could help some people learn their
> systems easier.
>
> Later, Ray Parrish
>
> --
> The Future of Technology.
> http://www.rayslinks.com/The%20Future%20of%20Technology.html
> Ray's Links, a variety of links to usefull things, and articles by Ray.
> http://www.rayslinks.com
> Writings of "The" Schizophrenic, what it's like to be a schizo, and other
> things, including my poetry.
> http://www.writingsoftheschizophrenic.com
>
>
>
Tim
--
Tim Frost <timfrost at xtra.co.nz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20091224/da97fc62/attachment.sig>
More information about the ubuntu-users
mailing list