Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2003 23:04:28 +0900 (JST)
From:      Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/58008: sysinstall postfix installation problem
Message-ID:  <200310151404.XAA00397@kces1.koganemaru.co.jp>
In-Reply-To: <200310141320.h9EDKE5L029792@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310151404.XAA00397>