From owner-freebsd-bugs@FreeBSD.ORG Wed Oct 15 07:01:26 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37E9516A4B3 for ; Wed, 15 Oct 2003 07:01:26 -0700 (PDT) Received: from t-mta2.odn.ne.jp (mfep2.odn.ne.jp [143.90.131.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5118643FCB for ; Wed, 15 Oct 2003 07:01:24 -0700 (PDT) (envelope-from n-kogane@syd.odn.ne.jp) Received: from kces1.koganemaru.co.jp ([211.127.56.13]) by t-mta2.odn.ne.jp with ESMTP id <20031015140122905.RSHD.2074.t-mta2.odn.ne.jp@mta2.odn.ne.jp> for ; Wed, 15 Oct 2003 23:01:22 +0900 Received: (from kogane@localhost) by kces1.koganemaru.co.jp (8.8.8/3.6W) id XAA00397; Wed, 15 Oct 2003 23:04:28 +0900 (JST) Date: Wed, 15 Oct 2003 23:04:28 +0900 (JST) From: Nobuyuki Koganemaru Message-Id: <200310151404.XAA00397@kces1.koganemaru.co.jp> X-Authentication-Warning: kces1.koganemaru.co.jp: kogane set sender to n-kogane using -f To: freebsd-bugs@FreeBSD.org In-Reply-To: <200310141320.h9EDKE5L029792@freefall.freebsd.org> Subject: Re: misc/58008: sysinstall postfix installation problem X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2003 14:01:26 -0000 >From gnats@FreeBSD.org Tue Oct 14 23:10:07 2003 >Date: Tue, 14 Oct 2003 06:20:14 -0700 (PDT) > >Thank you very much for your problem report. >It has the internal identification `misc/58008'. >The individual assigned to look at your >report is: freebsd-bugs. > >You can access the state of your problem report at any time >via this link: > >http://www.freebsd.org/cgi/query-pr.cgi?pr=58008 > >>Category: misc >>Responsible: freebsd-bugs >>Synopsis: sysinstall postfix installation problem >>Arrival-Date: Tue Oct 14 06:20:14 PDT 2003 > I want to change a Fix code as follows. ret = package_add("pcre"); above code installed "pcre++-0.9.3" and "pcre-4.3". ret = package_add("pcre-"); above code installed "pcre-4.3" only. --- src/release/sysinstall/config.c.orig Fri Oct 3 23:41:43 2003 +++ src/release/sysinstall/config.c Wed Oct 15 22:48:45 2003 @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $FreeBSD: src/release/sysinstall/config.c,v 1.156.2.36 2003/09/29 15:53:54 trhodes Exp $ + * $FreeBSD: src/release/sysinstall/config.c,v 1.156.2.36 2003/09/29 15:53:54 trhodes Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -1053,7 +1053,10 @@ msgError("Error setting the enviroment variable POSTFIX_DEFAULT_MTA: %s (%u)", strerror(errno), errno); - ret = package_add("postfix"); + ret = package_add("pcre-"); + if(DITEM_STATUS(ret) == DITEM_FAILURE) { + ret = package_add("postfix"); + } unsetenv("POSTFIX_DEFAULT_MTA"); if(DITEM_STATUS(ret) == DITEM_FAILURE) {