bin/148184: pc-sysinstall ftp additions

2010-06-27 Thread John Hixson

>Number: 148184
>Category:   bin
>Synopsis:   pc-sysinstall ftp additions
>Confidential:   no
>Severity:   non-critical
>Priority:   low
>Responsible:freebsd-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 27 08:40:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: John Hixson
>Release:9.0-CURRENT
>Organization:
iXsystems, Inc
>Environment:
FreeBSD thinkbsd 9.0-CURRENT FreeBSD 9.0-CURRENT #3: Thu Jun 24 17:56:43 PDT 
2010 j...@thinkbsd:/usr/obj/usr/src/sys/THINKBSD  amd64
>Description:
Update pc-sysinstall to output list of FTP mirrors as well as some installation
information. Also fixed to install into /usr/sbin.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN usr.sbin/pc-sysinstall.orig/backend/Makefile 
usr.sbin/pc-sysinstall/backend/Makefile
--- usr.sbin/pc-sysinstall.orig/backend/Makefile2010-06-26 
20:17:11.0 -0700
+++ usr.sbin/pc-sysinstall/backend/Makefile 2010-06-26 21:36:41.0 
-0700
@@ -1,7 +1,7 @@
 # $FreeBSD: src/usr.sbin/pc-sysinstall/backend/Makefile,v 1.2 2010/06/25 
22:35:19 imp Exp $
 
 FILES= functions-bsdlabel.sh functions-cleanup.sh functions-disk.sh \
-   functions-extractimage.sh functions-installcomponents.sh \
+   functions-extractimage.sh functions-ftp.sh 
functions-installcomponents.sh \
functions-localize.sh functions-mountdisk.sh \
functions-mountoptical.sh functions-networking.sh \
functions-newfs.sh functions-parse.sh functions-runcommands.sh \
diff -urN usr.sbin/pc-sysinstall.orig/backend/functions-ftp.sh 
usr.sbin/pc-sysinstall/backend/functions-ftp.sh
--- usr.sbin/pc-sysinstall.orig/backend/functions-ftp.sh1969-12-31 
16:00:00.0 -0800
+++ usr.sbin/pc-sysinstall/backend/functions-ftp.sh 2010-06-27 
01:08:12.0 -0700
@@ -0,0 +1,374 @@
+#!/bin/sh
+#-
+# Copyright (c) 2010 iX Systems, Inc.  All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+#notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+#notice, this list of conditions and the following disclaimer in the
+#documentation and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+# SUCH DAMAGE.
+#
+# $FreeBSD$
+
+# Functions which runs commands on the system
+
+. ${BACKEND}/functions.sh
+. ${BACKEND}/functions-parse.sh
+
+MAIN_FTP_SERVERS="\
+Main Site: ftp.freebsd.org"
+
+IPV6_FTP_SERVERS="\
+IPv6 Main Site: ftp.freebsd.org|\
+IPv6 Ireland: ftp3.ie.freebsd.org|\
+IPv6 Israel: ftp.il.freebsd.org|\
+IPv6 Japan: ftp2.jp.freebsd.org|\
+IPv6 USA: ftp4.us.freebsd.org|\
+IPv6 Turkey: ftp2.tr.freebsd.org"
+
+PRIMARY_FTP_SERVERS="\
+Primary: ftp1.freebsd.org|\
+Primary #2: ftp2.freebsd.org|\
+Primary #3: ftp3.freebsd.org|\
+Primary #4: ftp4.freebsd.org|\
+Primary #5: ftp5.freebsd.org|\
+Primary #6: ftp6.freebsd.org|\
+Primary #7: ftp7.freebsd.org|\
+Primary #8: ftp8.freebsd.org|\
+Primary #9: ftp9.freebsd.org|\
+Primary #10: ftp10.freebsd.org|\
+Primary #11: ftp11.freebsd.org|\
+Primary #12: ftp12.freebsd.org|\
+Primary #13: ftp13.freebsd.org|\
+Primary #14: ftp14.freebsd.org"
+
+ARGENTINA_FTP_SERVERS="\
+Argentina: ftp.ar.freebsd.org"
+
+AUSTRALIA_FTP_SERVERS="\
+Australia: ftp.au.freebsd.org|\
+Australia #2: ftp2.au.freebsd.org|\
+Australia #3: ftp3.au.freebsd.org"
+
+AUSTRIA_FTP_SERVERS="\
+Austria: ftp.at.freebsd.org|\
+Austria #2: ftp2.at.freebsd.org"
+
+BRAZIL_FTP_SERVERS="\
+Brazil: ftp.br.freebsd.org|\
+Brazil #2: ftp2.br.freebsd.org|\
+Brazil #3: ftp3.br.freebsd.org|\
+Brazil #4: ftp4.br.freebsd.org|\
+Brazil #5: ftp5.br.freebsd.org|\
+Brazil #6: ftp6.br.freebsd.org|\
+Brazil #7: ftp7.br.freebsd.org"
+
+CANADA_FTP_SERVERS="\
+Canada: ftp.ca.freebsd.org"
+
+CHINA_FTP_SERVERS="\
+China: ftp.cn.freebsd.org|\
+China #2: ftp2.cn.freebsd.org"
+
+CROATIA_FTP_SERVERS="\
+Croatia: ftp.hr.freebsd.org"
+
+CZECH_REPUBLIC_FTP_SERVERS="\
+Cze

Re: conf/147992: xterm-256color is a 8 colors terminal

2010-06-27 Thread Anonymous
The following reply was made to PR conf/147992; it has been noted by GNATS.

From: Anonymous 
To: David BERARD 
Cc: Ed Schouten , bug-follo...@freebsd.org
Subject: Re: conf/147992: xterm-256color is a 8 colors terminal
Date: Sun, 27 Jun 2010 13:33:36 +0400

 I don't think your patch is going to work because AB=\E[4%dm:AF=\E[3%dm
 are not what xterm uses in order to display 256 colors. Try smth like
 
   $ test_256_colors() { local i; while [ $((i+=1)) -le 256 ]; do tput AF $i; 
echo -n "$*"; done; tput me; }
   $ test_256_colors '&&&'
 
 then
 
   $ export TERMCAP="$TERM:AB=\E[48;5;%dm:AF=\E[38;5;%dm:$TERM"
   $ test_256_colors '&&&'
 
 Perhaps, r200369 will be MFC'd to /stable/8 when there is looming 8.1-RELEASE.
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: gnu/138983: [binutils] System binutils too old for modern CPUs (lang/gcc44 and otherwise)

2010-06-27 Thread Alexander Best
The following reply was made to PR gnu/138983; it has been noted by GNATS.

From: Alexander Best 
To: bug-follo...@freebsd.org
Cc: Andrei Lavreniyuk 
Subject: Re: gnu/138983: [binutils] System binutils too old for modern CPUs 
(lang/gcc44 and otherwise)
Date: Sun, 27 Jun 2010 13:20:31 +0200

 i think this PR can be closed. lang/gcc4{4-6} now all depend on
 devel/binutils for building and running. the dependencies are
 non-optional which means running /usr/local/bin/gcc4{4-6} should never
 invoke the 'rotten' base binutils.
 
 cheers.
 alex
 
 -- 
 Alexander Best
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: bin/148184: pc-sysinstall ftp additions

2010-06-27 Thread imp
Synopsis: pc-sysinstall ftp additions

State-Changed-From-To: open->closed
State-Changed-By: imp
State-Changed-When: Sun Jun 27 11:04:26 MDT 2010
State-Changed-Why: 
Committed.

I changed amd64 to `uname -m` though.  Please let me know if this
causes problems.


http://www.freebsd.org/cgi/query-pr.cgi?pr=148184
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: bin/148184: commit references a PR

2010-06-27 Thread dfilter service
The following reply was made to PR bin/148184; it has been noted by GNATS.

From: dfil...@freebsd.org (dfilter service)
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: bin/148184: commit references a PR
Date: Sun, 27 Jun 2010 17:04:14 + (UTC)

 Author: imp
 Date: Sun Jun 27 17:04:03 2010
 New Revision: 209553
 URL: http://svn.freebsd.org/changeset/base/209553
 
 Log:
   Update pc-sysinstall to output list of FTP mirrors as well as some
   installation information.  Export architecture to install.
   
   PR:  148184
   Submitted by:John Hixson
 
 Added:
   head/usr.sbin/pc-sysinstall/backend-query/list-config.sh   (contents, props 
changed)
   head/usr.sbin/pc-sysinstall/backend-query/list-mirrors.sh   (contents, props 
changed)
   head/usr.sbin/pc-sysinstall/backend/functions-ftp.sh   (contents, props 
changed)
 Modified:
   head/usr.sbin/pc-sysinstall/backend-query/Makefile
   head/usr.sbin/pc-sysinstall/backend/Makefile
   head/usr.sbin/pc-sysinstall/conf/pc-sysinstall.conf
   head/usr.sbin/pc-sysinstall/doc/help-index
   head/usr.sbin/pc-sysinstall/pc-sysinstall/Makefile
   head/usr.sbin/pc-sysinstall/pc-sysinstall/pc-sysinstall.sh
 
 Modified: head/usr.sbin/pc-sysinstall/backend-query/Makefile
 ==
 --- head/usr.sbin/pc-sysinstall/backend-query/Makefile Sun Jun 27 16:46:11 
2010(r209552)
 +++ head/usr.sbin/pc-sysinstall/backend-query/Makefile Sun Jun 27 17:04:03 
2010(r209553)
 @@ -1,9 +1,9 @@
  # $FreeBSD$
  
  FILES=detect-laptop.sh detect-nics.sh detect-vmware.sh disk-info.sh \
 -  disk-list.sh disk-part.sh enable-net.sh list-components.sh \
 -  list-rsync-backups.sh list-tzones.sh query-langs.sh send-logs.sh \
 -  setup-ssh-keys.sh sys-mem.sh test-live.sh test-netup.sh \
 +  disk-list.sh disk-part.sh enable-net.sh list-config.sh 
list-components.sh \
 +  list-mirrors.sh list-rsync-backups.sh list-tzones.sh query-langs.sh \
 +  send-logs.sh setup-ssh-keys.sh sys-mem.sh test-live.sh test-netup.sh \
update-part-list.sh xkeyboard-layouts.sh xkeyboard-models.sh \
xkeyboard-variants.sh
  FILESMODE=${BINMODE}
 
 Added: head/usr.sbin/pc-sysinstall/backend-query/list-config.sh
 ==
 --- /dev/null  00:00:00 1970   (empty, because file is newly added)
 +++ head/usr.sbin/pc-sysinstall/backend-query/list-config.sh   Sun Jun 27 
17:04:03 2010(r209553)
 @@ -0,0 +1,30 @@
 +#!/bin/sh
 +#-
 +# Copyright (c) 2010 iX Systems, Inc.  All rights reserved.
 +#
 +# Redistribution and use in source and binary forms, with or without
 +# modification, are permitted provided that the following conditions
 +# are met:
 +# 1. Redistributions of source code must retain the above copyright
 +#notice, this list of conditions and the following disclaimer.
 +# 2. Redistributions in binary form must reproduce the above copyright
 +#notice, this list of conditions and the following disclaimer in the
 +#documentation and/or other materials provided with the distribution.
 +#
 +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
 +# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 +# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
 +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 +# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 +# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 +# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 +# SUCH DAMAGE.
 +#
 +# $FreeBSD$
 +
 +echo "branch=${FBSD_BRANCH}"
 +echo "arch=${FBSD_ARCH}"
 +exit 0
 
 Added: head/usr.sbin/pc-sysinstall/backend-query/list-mirrors.sh
 ==
 --- /dev/null  00:00:00 1970   (empty, because file is newly added)
 +++ head/usr.sbin/pc-sysinstall/backend-query/list-mirrors.sh  Sun Jun 27 
17:04:03 2010(r209553)
 @@ -0,0 +1,37 @@
 +#!/bin/sh
 +#-
 +# Copyright (c) 2010 iX Systems, Inc.  All rights reserved.
 +#
 +# Redistribution and use in source and binary forms, with or without
 +# modification, are permitted provided that the following conditions
 +# are met:
 +# 1. Redistributions of source code must retain the above copyright
 +#notice, this list of conditions and the following disclaimer.
 +# 2. Redistributions in binary form must reproduce the above copyright
 +#notice, this list of conditions and the following disclaimer in the
 +#documentation and/or other materials provided with the distribution.
 +#
 +# THIS SOFTWARE IS PROVID

Re: bin/144441: sed(1): Confusing error message from sed with 's/.*/d' ": unescaped newline inside substitute pattern

2010-06-27 Thread Garrett Cooper
The following reply was made to PR bin/11; it has been noted by GNATS.

From: Garrett Cooper 
To: bug-follo...@freebsd.org, gcoo...@freebsd.org
Cc:  
Subject: Re: bin/11: sed(1): Confusing error message from sed with 
's/.*/d' ": unescaped newline inside substitute pattern
Date: Sun, 27 Jun 2010 12:44:28 -0700

 Please close this PR as it will be resolved in 8.1.
 Thanks,
 -Garrett
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


misc/148194: Home laptop or desktop with freeBSD and KDE (PC-BSD)

2010-06-27 Thread Bechet Guy

>Number: 148194
>Category:   misc
>Synopsis:   Home laptop or desktop with freeBSD and KDE (PC-BSD)
>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:   Sun Jun 27 22:00:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Bechet Guy
>Release:FreeBSD 8.0-RELEASE-p2 #4
>Organization:
Outside of organisation or company
>Environment:
FreeBSD pcbsd-2051 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #4: Thu Jan  7 
09:20:42 PST 2010 
r...@build8x32.pcbsd.org:/usr/obj/usr/pcbsd-build80/fbsd-source/8.0-src/sys/PCBSD
  i386
>Description:
Excuse me, I am not at the right place ... But I would like purchase a modern 
PC (laptop, or desktop), not a server. Which modern desktop computer is today 
fully compatible with PCBSD 8.x ?
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: misc/148194: Home laptop or desktop with freeBSD and KDE (PC-BSD)

2010-06-27 Thread linimon
Synopsis: Home laptop or desktop with freeBSD and KDE (PC-BSD)

State-Changed-From-To: open->closed
State-Changed-By: linimon
State-Changed-When: Mon Jun 28 04:28:20 UTC 2010
State-Changed-Why: 
Please ask general questions on the freebsd forums.  Thanks.

http://www.freebsd.org/cgi/query-pr.cgi?pr=148194
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: kern/147337: [agp] [patch] agp_nvidia device_printf missing newline

2010-06-27 Thread brian
Synopsis: [agp] [patch] agp_nvidia device_printf missing newline

State-Changed-From-To: patched->closed
State-Changed-By: brian
State-Changed-When: Mon Jun 28 04:54:37 UTC 2010
State-Changed-Why: 
Merged from current, r209560

http://www.freebsd.org/cgi/query-pr.cgi?pr=147337
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: kern/147337: commit references a PR

2010-06-27 Thread dfilter service
The following reply was made to PR kern/147337; it has been noted by GNATS.

From: dfil...@freebsd.org (dfilter service)
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: kern/147337: commit references a PR
Date: Mon, 28 Jun 2010 04:54:28 + (UTC)

 Author: brian
 Date: Mon Jun 28 04:54:16 2010
 New Revision: 209560
 URL: http://svn.freebsd.org/changeset/base/209560
 
 Log:
   MFC r209329; add a missing linefeed
   
   PR:  147337
   Submitted by:cyberleo at cyberleo dot net
 
 Modified:
   stable/8/sys/dev/agp/agp_nvidia.c
 Directory Properties:
   stable/8/sys/   (props changed)
   stable/8/sys/amd64/include/xen/   (props changed)
   stable/8/sys/cddl/contrib/opensolaris/   (props changed)
   stable/8/sys/contrib/dev/acpica/   (props changed)
   stable/8/sys/contrib/pf/   (props changed)
   stable/8/sys/dev/xen/xenpci/   (props changed)
 
 Modified: stable/8/sys/dev/agp/agp_nvidia.c
 ==
 --- stable/8/sys/dev/agp/agp_nvidia.c  Mon Jun 28 01:46:26 2010
(r209559)
 +++ stable/8/sys/dev/agp/agp_nvidia.c  Mon Jun 28 04:54:16 2010
(r209560)
 @@ -282,7 +282,7 @@ agp_nvidia_get_aperture(device_t dev)
case 14: return (64 * 1024 * 1024); break;
case 15: return (32 * 1024 * 1024); break;
default:
 -  device_printf(dev, "Invalid aperture setting 0x%x",
 +  device_printf(dev, "Invalid aperture setting 0x%x\n",
pci_read_config(dev, AGP_NVIDIA_0_APSIZE, 1));
return 0;
}
 ___
 svn-src-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
 
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"