Mike Noyes wrote:
>
> David Douthitt, 2001-07-18 16:22 -0400
> >Here is the code:
> >http://leaf.sourceforge.net/pub/oxygen/webdesc
> >
> >Here is the source *.desc file (for upx):
> >http://leaf.sourceforge.net/pub/oxygen/upx.desc
> >
> >Here is the resulting page:
> >http://leaf.sourceforge.net/pub/oxygen/upx.html
> >
> >Also whipped up a shell script to put a package into the appropriate
> >grouping:
> >http://leaf.sourceforge.net/pub/oxygen/group
>
> David,
> I can't begin to describe how much I like this. It'll save a ton of work.
> Are you proposing we use this in addition to the shell script below, or as
> a replacement for it?
I see two projects being bandied about here. One is a web-interface to
the archive - someone mentioned the CPAN archive. Me, I always think of
the RPM Archive available at http://www.rpmfind.net/linux/RPM/ ....one
of their pages on UPX looks like this:
http://www.rpmfind.net/linux/RPM/PLD/PLD-1.0/i386/PLD/RPMS/upx-1.20-1.i386.html
(Anyone ever notice that new stuff always shows up in the Polish
Distribution first?)
The other project is a sort of "what's this package about" detail which
helps to describe the package itself. No reason both couldn't be
included together. Take the following shell script:
> #!/bin/sh
>
> umask 002
> cd $PACKAGES
>
> for i in *.lrp
> do
> echo $i
> tar xzf $i var/lib/lrpkg
> cd var/lib/lrpkg
> rootpkg=${i%%.lrp}
> [ -f $rootpkg.version ] && mv $rootpkg.help \
> $rootpkg.`head -n1 $rootpkg.version`.help
> cd -
> done
>
> mv var/lib/lrpkg/*.help .
> rm -rf var/lib/lrpkg
>
> exit 0
Run this from time to time, in each directory, and include a link to
each help screen in the web page I developed. You can do this:
find . -name "*.lrp" | xargs helpgen
And change the above script this way (wrapped around the original "for"
statement):
if [ $# -gt 1 ] ; then
PKGS="$*"
else
PKGS="*.lrp"
fi
for i in $PKGS ; do
cd $(basename $PKGS)
[...snip...]
_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel