From owner-freebsd-ports Mon Jul 17 18:30:12 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E753037B633 for ; Mon, 17 Jul 2000 18:30:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA93096; Mon, 17 Jul 2000 18:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from racine.cybercable.fr (racine.cybercable.fr [212.198.0.201]) by hub.freebsd.org (Postfix) with SMTP id E769837B6FA for ; Mon, 17 Jul 2000 18:29:52 -0700 (PDT) (envelope-from root@gits.dyndns.org) Received: (qmail 820298 invoked from network); 18 Jul 2000 01:29:51 -0000 Received: from r224m65.cybercable.tm.fr (HELO gits.dyndns.org) ([195.132.224.65]) (envelope-sender ) by racine.cybercable.fr (qmail-ldap-1.03) with SMTP for ; 18 Jul 2000 01:29:51 -0000 Received: (from root@localhost) by gits.dyndns.org (8.9.3/8.9.3) id DAA23127; Tue, 18 Jul 2000 03:29:50 +0200 (CEST) (envelope-from root) Message-Id: <200007180129.DAA23127@gits.dyndns.org> Date: Tue, 18 Jul 2000 03:29:50 +0200 (CEST) From: clefevre@citeweb.net Reply-To: clefevre@citeweb.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/19996: fetchmail --configdump core dumps (w/ patch) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19996 >Category: ports >Synopsis: fetchmail --configdump core dumps (w/ patch) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 17 18:30:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Cyrille Lefevre >Release: FreeBSD 4.0-STABLE i386 >Organization: ACME >Environment: FreeBSD gits 4.0-STABLE FreeBSD 4.0-STABLE #11: Wed Jun 28 06:32:13 CEST 2000 root@gits:/disk2/4.0-stable/src/sys/compile/CUSTOM i386 >Description: configure fetchmail w/ at least one server not using the kpop protocol then run fetchmail --configdump. >How-To-Repeat: # cat << EOF > ~/.fetchmailrc # Configuration created Wed Apr 5 15:55:02 2000 by fetchmailconf set idfile "/root/.fetchids" set logfile "/root/.fetchlog" set daemon 21600 set postmaster "postmaster" set bouncemail set properties "" poll mail.tld with proto POP3 and options uidl user "nobody" there with password "nopasswd" is root here options no mimedecode mda 'sendmail -oem -f %F %T' EOF # fetchmail --configdump from Tkinter import TRUE, FALSE os_type = 'freebsd' feature_options = ('pop2','pop3','imap','rpa','sdps','etrn','ssl','inet6',) # Start of configuration initializer fetchmailrc = { 'poll_interval':21600, "logfile":"/root/.fetchlog", "idfile":"/root/.fetchids", "postmaster":"postmaster", 'bouncemail':TRUE, "properties":"", 'invisible':FALSE, 'syslog':FALSE, # List of server entries begins here 'servers': [ # Entry for site `mail.tld' begins: { Memory fault (core dumped) >Fix: apply this patch to the current fetchmail port known as fetchmail-5.4.3. diff -burN fetchmail/patches/patch-an fetchmail.new/patches/patch-an --- fetchmail/patches/patch-an Thu Jan 1 01:00:00 1970 +++ fetchmail.new/patches/patch-an Tue Jul 18 03:13:38 2000 @@ -0,0 +1,10 @@ +--- conf.c.orig Tue Jul 18 03:13:15 2000 ++++ conf.c Tue Jul 18 03:11:04 2000 +@@ -240,6 +240,7 @@ + #if !INET6_ENABLE + ctl->server.port == KPOP_PORT && + #else ++ ctl->server.service && + 0 == strcmp( ctl->server.service, KPOP_PORT ) && + #endif + ctl->server.preauthenticate == A_KERBEROS_V4); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message