misc/58008: sysinstall postfix installation problem
Nobuyuki Koganemaru
n-kogane at syd.odn.ne.jp
Wed Oct 15 07:01:26 PDT 2003
>From gnats at 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) {
More information about the freebsd-bugs
mailing list