From owner-freebsd-stable@FreeBSD.ORG Tue Mar 13 13:07:25 2007 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6629216A401 for ; Tue, 13 Mar 2007 13:07:25 +0000 (UTC) (envelope-from willy@Offermans.Rompen.nl) Received: from psmtp14.wxs.nl (psmtp14.wxs.nl [195.121.247.46]) by mx1.freebsd.org (Postfix) with ESMTP id 0024C13C45E for ; Tue, 13 Mar 2007 13:07:24 +0000 (UTC) (envelope-from willy@Offermans.Rompen.nl) Received: from jerry.offrom.nl (ip5652b794.speed.planet.nl [86.82.183.148]) by psmtp14.wxs.nl (8.13.8/8.12.10) with ESMTP id l2DD7NGi022499 for ; Tue, 13 Mar 2007 14:07:23 +0100 Received: from wiz.offrom.nl (hydrogen.chemistry.nl [192.168.4.1]) by jerry.offrom.nl (8.13.6/8.13.6) with ESMTP id l2DD7CWF028232 for ; Tue, 13 Mar 2007 14:07:12 +0100 (CET) (envelope-from willy@offrom.nl) Received: from willy by wiz.offrom.nl with local (Exim 4.50) id 1HR6ih-0004bU-Cm for freebsd-stable@FreeBSD.ORG; Tue, 13 Mar 2007 14:07:15 +0100 Date: Tue, 13 Mar 2007 14:07:15 +0100 From: Willy Offermans To: freebsd-stable@FreeBSD.ORG Message-ID: <20070313130715.GA17216@wiz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i X-Virus-Scanned: ClamAV 0.90/2832/Tue Mar 13 13:05:08 2007 on jerry.offrom.nl X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=10.0 tests=ALL_TRUSTED,BAYES_00, UPPERCASE_25_50 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on jerry.offrom.nl Cc: Subject: hylaFAX on FreeBSD notify script X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Willy@Offermans.Rompen.nl List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Mar 2007 13:07:25 -0000 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@Offermans.Rompen.nl Powered by .... (__) \\\'',) \/ \ ^ .\._/_) www.FreeBSD.org