-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I was cleaning up an info file to resubmit to the tracker and ran across an odd bug. I was editing the DescDetail and left a trailing empty line like so:

DescDetail: <<
Allows you to get or set variables in /etc/hostconfig. Written to make life
easier for package maintainers and system administrators.

You can use confighost from scripts to easily read values in /etc/hostconfig
or set them if you have root.

<<

This passes fink validate foo.info ("Package looks good!" ) but when you actually try to fink install using it, the following error messages come up:
...
rm -f /sw/src/root-confighost-0.3.9-10/sw/info/dir /sw/src/root-confighost-0.3.9-10/sw/info/dir.old /sw/src/root-confighost-0.3.9-10/sw/share/info/dir /sw/src/root-confighost-0.3.9-10/sw/share/info/dir.old
Writing control file...
Writing package script postinst...
dpkg-deb -b root-confighost-0.3.9-10 /sw/fink/dists/local/main/binary-darwin-powerpc
dpkg-deb: parse error, in file `root-confighost-0.3.9-10/DEBIAN/control' near line 14:
field name `' must be followed by colon
### execution of dpkg-deb failed, exit code 2

Changing DescDetail to this
DescDetail: <<
Allows you to get or set variables in /etc/hostconfig. Written to make life
easier for package maintainers and system administrators.

You can use confighost from scripts to easily read values in /etc/hostconfig
or set them if you have root.
<<

Fixes the problem.

The fink I'm using was cvs updated last night or this morning. I'm using the December devtools.

[jpb@athena:/sw/src]$ fink --version
Package manager version: 0.11.1
Distribution version: 0.5.1.cvs
[jpb@athena:/sw/src]$

It was driving me nuts because it was working before I cleaned it up to resubmit.

jpb
- -- Joe Block <[EMAIL PROTECTED]>

A crash reduces
your expensive computer
to a simple stone.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)

iD8DBQE+KehryEXo8W2M9hsRAtrdAJ9DqXhFTvniGlKAq+plBsDEZG22bQCfeJXy
/utQF4Xvwv0RwyPButDJws0=
=tKNk
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your clients even if they use browsers that are limited to 40 bit encryption. Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to