hylaFAX on FreeBSD notify script

Willy Offermans Willy at Offermans.Rompen.nl
Tue Mar 13 13:07:25 UTC 2007


Dear hylaFAX _and_ FreeBSD friends,

Running HylaFAX 4.3.2 on FreeBSD 6.2 produces following error:

nawk -f bin/b64-encode.awk < /tmp/tmp-50791/body.txt
WW91ciBqb2IgdG8gKzMxMTgxMjU2MzUyIHdhcyBjb21wbGV0ZWQgc3VjY2Vzc2Z1bGx5LgoK
ICAgICAgICAgICAgUGFnZXM6IDIKICAgICAgICAgUmVjZWl2ZXI6ICszMSAxODEgMjYxMzUy
CiAgICAgICAgICBRdWFsaXR5OiAxOTYKICAgICAgIFBhZ2UgV2lkdGg6IDIwOSAobW0pCiAg
ICAgIFBhZ2UgTGVuZ3RoOiAyOTYKICAgICAgU2lnbmFsIFJhdGU6IDk2MDAgYml0L3MKICAg
ICAgRGF0YSBGb3JtYXQ6IDItRCBNUgogUmVtb3RlIEVxdWlwbWVudDogdW5rbm93biAtIGlu
ZGV0ZXJtaW5hdGUgCiAgIFJlbW90ZSBTdGF0aW9uOiAKICAgICAgICAgIERpYWxvZ3M6IDEg
KGV4Y2hhbmdlcyB3aXRoIHJlbW90ZSBkZXZpY2UpCiAgICAgICAgICAgIENhbGxzOiAxICh0
b3RhbCBwaG9uZSBjYWxscyBwbGFjZWQpCiAgICAgICAgICAgIE1vZGVtOiBhbnkKICAgU3Vi
bWl0dGVkIEZyb206IG5lcHR1bnVzLnJvbXBlbi5ubAogICAgICAgICAgICBKb2JJRDogMTky
CiAgICAgICAgICBHcm91cElEOiAxOTIKICAgICAgICAgICBDb21tSUQ6IGMwMDAwMDc5MzMK
ClByb2Nlc3NpbmcgdGltZSB3YXMgMToyNy4KCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoK
CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoK
CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoK
CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoK
...
...
...

The encoding ends up in a loop!

The workaround is to use gawk instead of nawk on FreeBSD for the
b64-encoding. I forgot about the differences between awk, nawk and gawk
on FreeBSD, but it could be related to a special implementation of awk
under FreeBSD. I will try to replace nawk by gawk in setup.cache. If I
don't post a next message you can assume that it works.

-- 
Met vriendelijke groeten,
With kind regards,
Mit freundlichen Gruessen,
De jrus wah,

Willy

*************************************
W.K. Offermans
Home:   +31 45 544 49 44
Mobile: +31 653 27 16 23
e-mail: Willy at Offermans.Rompen.nl

                                       Powered by ....

                                            (__)
                                         \\\'',)
                                           \/  \ ^
                                           .\._/_)

                                       www.FreeBSD.org


More information about the freebsd-stable mailing list