Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2003 22:13:19 +0900 (JST)
From:      n-kogane@syd.odn.ne.jp
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   misc/58008: sysinstall postfix installation problem
Message-ID:  <200310141313.WAA00435@kces1.koganemaru.co.jp>
Resent-Message-ID: <200310141320.h9EDKFSu029800@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         58008
>Category:       misc
>Synopsis:       sysinstall postfix installation problem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 14 06:20:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Nobuyuki Koganemaru
>Release:        FreeBSD 4.9-RC i386
>Organization:
KOGANEMARU Computer Engineering Service Corporation.
>Environment:
FreeBSD kcesx20.koganemaru.co.jp 4.9-RC FreeBSD 4.9-RC #0: Sun Oct 12 01:15:50 JST 2003     root@kcesx20.koganemaru.co.jp:/usr/obj/usr/src.stable.5/sys/GENERIC  i386


>Description:
	sysinstall postfix installation problem.
	If the "pcre" package is not installed "postfix" package
	installation goes wrong.

>How-To-Repeat:
	/stand/sysinstall -> Configure -> Networking -> Mail -> Postfix
>Fix:

--- src/release/sysinstall/config.c.orig	Fri Oct  3 23:41:43 2003
+++ src/release/sysinstall/config.c	Tue Oct 14 19:31:06 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) {
>Release-Note:
>Audit-Trail:
>Unformatted:



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