Re: bin/148296: [zfs] [loader] [patch] Very slow probe in /usr/src/sys/boot/zfs/zfs.c

2010-07-14 Thread linimon
Old Synopsis: [zfs] [loader] Very slow probe in /usr/src/sys/boot/zfs/zfs.c
New Synopsis: [zfs] [loader] [patch] Very slow probe in 
/usr/src/sys/boot/zfs/zfs.c

Responsible-Changed-From-To: freebsd-bugs->freebsd-fs
Responsible-Changed-By: linimon
Responsible-Changed-When: Wed Jul 14 12:26:15 UTC 2010
Responsible-Changed-Why: 
Over to maintainer(s).

http://www.freebsd.org/cgi/query-pr.cgi?pr=148296
___
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/107287: [ata] page fault during install on Intel SATA on Intel D975XBX board (ICH7)

2010-07-14 Thread remko
Synopsis: [ata] page fault during install on Intel SATA on Intel D975XBX board 
(ICH7)

State-Changed-From-To: feedback->closed
State-Changed-By: remko
State-Changed-When: Wed Jul 14 12:45:00 UTC 2010
State-Changed-Why: 
Feedback timeout

http://www.freebsd.org/cgi/query-pr.cgi?pr=107287
___
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/107292: [ata] cannot install - Unable to find device /dev/ad0s1b on Intel ICH7 UDMA100 controller

2010-07-14 Thread remko
Synopsis: [ata] cannot install - Unable to find device /dev/ad0s1b on Intel 
ICH7 UDMA100 controller

State-Changed-From-To: feedback->closed
State-Changed-By: remko
State-Changed-When: Wed Jul 14 12:45:51 UTC 2010
State-Changed-Why: 
feedback timeout

http://www.freebsd.org/cgi/query-pr.cgi?pr=107292
___
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/96286: [cbb] [panic] TI1131 PCI CardBus Bridge: driver cbb leads kernel panic

2010-07-14 Thread remko
Synopsis: [cbb] [panic] TI1131 PCI CardBus Bridge: driver cbb leads kernel panic

State-Changed-From-To: feedback->closed
State-Changed-By: remko
State-Changed-When: Wed Jul 14 12:46:04 UTC 2010
State-Changed-Why: 
Feedback timeout

http://www.freebsd.org/cgi/query-pr.cgi?pr=96286
___
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/94750: watch(8) utility faults when tty disconnects

2010-07-14 Thread remko
Synopsis: watch(8) utility faults when tty disconnects

State-Changed-From-To: feedback->closed
State-Changed-By: remko
State-Changed-When: Wed Jul 14 12:46:18 UTC 2010
State-Changed-Why: 
Feedback timeout

http://www.freebsd.org/cgi/query-pr.cgi?pr=94750
___
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/135992: [ar] [2tb] ar(4) driver can NOT drive over 2TB HDD

2010-07-14 Thread remko
Synopsis: [ar] [2tb] ar(4) driver can NOT drive over 2TB HDD

State-Changed-From-To: open->closed
State-Changed-By: remko
State-Changed-When: Wed Jul 14 12:47:17 UTC 2010
State-Changed-Why: 
I highly doubt that this will see work soon, I think one could better
try to use gmirror or ZFS.

http://www.freebsd.org/cgi/query-pr.cgi?pr=135992
___
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/141104: [hang] 64 bit core freezes at high load

2010-07-14 Thread remko
Synopsis: [hang] 64 bit core freezes at high load

State-Changed-From-To: open->closed
State-Changed-By: remko
State-Changed-When: Wed Jul 14 12:47:46 UTC 2010
State-Changed-Why: 
Dennis requested feedback some time ago, which was never replied, close
the ticket.

http://www.freebsd.org/cgi/query-pr.cgi?pr=141104
___
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/73740: [ata] [panic] 5-3-R#3 panic when accessing nfs exported ATA drives in Idle or suspend mode.

2010-07-14 Thread remko
Synopsis: [ata] [panic] 5-3-R#3 panic when accessing nfs exported ATA drives in 
Idle or suspend mode.

State-Changed-From-To: feedback->closed
State-Changed-By: remko
State-Changed-When: Wed Jul 14 12:49:29 UTC 2010
State-Changed-Why: 
Feedback timeout

http://www.freebsd.org/cgi/query-pr.cgi?pr=73740
___
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/115614: [ata] Recent ATA driver changes have broken cdrecord [regression]

2010-07-14 Thread remko
Synopsis: [ata] Recent ATA driver changes have broken cdrecord [regression]

State-Changed-From-To: feedback->closed
State-Changed-By: remko
State-Changed-When: Wed Jul 14 12:50:36 UTC 2010
State-Changed-Why: 
Feedback timeout

http://www.freebsd.org/cgi/query-pr.cgi?pr=115614
___
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/117681: [virtualbox] pcn fails to send packets under VirtualBox

2010-07-14 Thread remko
Synopsis: [virtualbox] pcn fails to send packets under VirtualBox

State-Changed-From-To: feedback->closed
State-Changed-By: remko
State-Changed-When: Wed Jul 14 12:51:03 UTC 2010
State-Changed-Why: 
Feedback timeout

http://www.freebsd.org/cgi/query-pr.cgi?pr=117681
___
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/119487: [em] page fault in em taskq with polling enabled

2010-07-14 Thread remko
Synopsis: [em] page fault in em taskq with polling enabled

State-Changed-From-To: feedback->closed
State-Changed-By: remko
State-Changed-When: Wed Jul 14 12:51:35 UTC 2010
State-Changed-Why: 
I do not recall seeing a crashdump, close the PR.

http://www.freebsd.org/cgi/query-pr.cgi?pr=119487
___
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/123813: [panic] 7.0-STABLE i386 reboots weekly with panic: kmem_malloc(11186176): kmem_map too small: 315637760 total allocated

2010-07-14 Thread remko
Synopsis: [panic] 7.0-STABLE i386 reboots weekly with panic: 
kmem_malloc(11186176): kmem_map too small: 315637760 total allocated

State-Changed-From-To: feedback->closed
State-Changed-By: remko
State-Changed-When: Wed Jul 14 12:56:24 UTC 2010
State-Changed-Why: 
Feedback timeout

http://www.freebsd.org/cgi/query-pr.cgi?pr=123813
___
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/123742: [acpi] [panic] kernel panic when boot with acpi disabled

2010-07-14 Thread remko
Synopsis: [acpi] [panic] kernel panic when boot with acpi disabled

State-Changed-From-To: feedback->closed
State-Changed-By: remko
State-Changed-When: Wed Jul 14 12:56:47 UTC 2010
State-Changed-Why: 
I cannot recall seeing a crashdump, close the PR.

http://www.freebsd.org/cgi/query-pr.cgi?pr=123742
___
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/122462: [boot] Fails to boot from an usb harddrive

2010-07-14 Thread remko
Synopsis: [boot] Fails to boot from an usb harddrive

State-Changed-From-To: feedback->closed
State-Changed-By: remko
State-Changed-When: Wed Jul 14 12:56:59 UTC 2010
State-Changed-Why: 
Feedback timeout

http://www.freebsd.org/cgi/query-pr.cgi?pr=122462
___
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/122368: [ata]: Failure to support SATA/PATA drives on 6.3 and 7.0 -- Nvidia nForce4 chipset

2010-07-14 Thread remko
Synopsis: [ata]: Failure to support SATA/PATA drives on 6.3 and 7.0 -- Nvidia 
nForce4 chipset

State-Changed-From-To: feedback->open
State-Changed-By: remko
State-Changed-When: Wed Jul 14 12:58:02 UTC 2010
State-Changed-Why: 
Force open, I will feedback it again in a second.

http://www.freebsd.org/cgi/query-pr.cgi?pr=122368
___
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/122368: [ata]: Failure to support SATA/PATA drives on 6.3 and 7.0 -- Nvidia nForce4 chipset

2010-07-14 Thread remko
Synopsis: [ata]: Failure to support SATA/PATA drives on 6.3 and 7.0 -- Nvidia 
nForce4 chipset

State-Changed-From-To: open->feedback
State-Changed-By: remko
State-Changed-When: Wed Jul 14 12:58:17 UTC 2010
State-Changed-Why: 
Hello, can you please confirm whether this is still relevant
to recent FreeBSD versions?

http://www.freebsd.org/cgi/query-pr.cgi?pr=122368
___
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/121572: [panic] when downloading from ftp system crash/rebooting

2010-07-14 Thread remko
Synopsis: [panic] when downloading from ftp system crash/rebooting

State-Changed-From-To: feedback->open
State-Changed-By: remko
State-Changed-When: Wed Jul 14 12:59:16 UTC 2010
State-Changed-Why: 
.

http://www.freebsd.org/cgi/query-pr.cgi?pr=121572
___
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/121572: [panic] when downloading from ftp system crash/rebooting

2010-07-14 Thread remko
Synopsis: [panic] when downloading from ftp system crash/rebooting

State-Changed-From-To: open->feedback
State-Changed-By: remko
State-Changed-When: Wed Jul 14 12:59:27 UTC 2010
State-Changed-Why: 
Hello, is this still a problem on recent FreeBSD versions?

http://www.freebsd.org/cgi/query-pr.cgi?pr=121572
___
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/121572: [panic] when downloading from ftp system crash/rebooting

2010-07-14 Thread remko
Synopsis: [panic] when downloading from ftp system crash/rebooting

State-Changed-From-To: feedback->closed
State-Changed-By: remko
State-Changed-When: Wed Jul 14 15:50:26 UTC 2010
State-Changed-Why: 
Recent versions do not have this problem!

http://www.freebsd.org/cgi/query-pr.cgi?pr=121572
___
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/148546: commit references a PR

2010-07-14 Thread dfilter service
The following reply was made to PR kern/148546; it has been noted by GNATS.

From: dfil...@freebsd.org (dfilter service)
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: kern/148546: commit references a PR
Date: Wed, 14 Jul 2010 18:08:33 + (UTC)

 Author: jhb
 Date: Wed Jul 14 18:06:21 2010
 New Revision: 210066
 URL: http://svn.freebsd.org/changeset/base/210066
 
 Log:
   Rework the SMBIOS table walker to make it operate like other table walkers
   and remove a buffer overflow:
   - Remove the array of per-type dispatch functions.  Instead, pass each
 structure to a single callback.  The callback should check the type of
 each table entry to take appropriate action.  This matches the behavior
 of other table walkers such as for the MP Table and MADT.
   - Don't attempt to save an array of string pointers for each structure
 entry.  Instead, just skip the strings.  If this code is reused to
 provide a generic SMBIOS table walker in the future we could provide
 a method that looks up a specific string N for a given structure record
 instead of pre-populating an array of pointers.  This fixes a buffer
 overflow for structure entries with more than 20 strings.
   
   PR:  kern/148546
   Reported by: Spencer Minear @ McAfee
   MFC after:   3 days
 
 Modified:
   head/sys/dev/ipmi/ipmi_smbios.c
 
 Modified: head/sys/dev/ipmi/ipmi_smbios.c
 ==
 --- head/sys/dev/ipmi/ipmi_smbios.cWed Jul 14 17:46:44 2010
(r210065)
 +++ head/sys/dev/ipmi/ipmi_smbios.cWed Jul 14 18:06:21 2010
(r210066)
 @@ -52,7 +52,7 @@ __FBSDID("$FreeBSD$");
  #define   pmap_unmapbios  pmap_unmapdev
  #endif
  
 -struct smbios_table_entry {
 +struct smbios_table {
uint8_t anchor_string[4];
uint8_t checksum;
uint8_t length;
 @@ -108,27 +108,30 @@ struct ipmi_entry {
  #define   SMBIOS_LEN  4
  #define   SMBIOS_SIG  "_SM_"
  
 -typedef void (*dispatchproc_t)(uint8_t *p, char **table,
 -struct ipmi_get_info *info);
 +typedef void (*smbios_callback_t)(struct structure_header *, void *);
  
  static struct ipmi_get_info ipmi_info;
  static int ipmi_probed;
  static struct mtx ipmi_info_mtx;
  MTX_SYSINIT(ipmi_info, &ipmi_info_mtx, "ipmi info", MTX_DEF);
  
 -static char   *get_strings(char *, char **);
  static void   ipmi_smbios_probe(struct ipmi_get_info *);
 -static intsmbios_cksum(struct smbios_table_entry *);
 -static void   smbios_run_table(uint8_t *, int, dispatchproc_t *,
 -  struct ipmi_get_info *);
 -static void   smbios_t38_proc_info(uint8_t *, char **,
 -  struct ipmi_get_info *);
 +static intsmbios_cksum(struct smbios_table *);
 +static void   smbios_walk_table(uint8_t *, int, smbios_callback_t,
 +  void *);
 +static void   smbios_ipmi_info(struct structure_header *, void *);
  
  static void
 -smbios_t38_proc_info(uint8_t *p, char **table, struct ipmi_get_info *info)
 +smbios_ipmi_info(struct structure_header *h, void *arg)
  {
 -  struct ipmi_entry *s = (struct ipmi_entry *)p;
 +  struct ipmi_get_info *info;
 +  struct ipmi_entry *s;
  
 +  if (h->type != 38 || h->length <
 +  offsetof(struct ipmi_entry, interrupt_number))
 +  return;
 +  s = (struct ipmi_entry *)h;
 +  info = arg;
bzero(info, sizeof(struct ipmi_get_info));
switch (s->interface_type) {
case KCS_MODE:
 @@ -172,44 +175,28 @@ smbios_t38_proc_info(uint8_t *p, char **
info->iface_type = s->interface_type;
  }
  
 -static char *
 -get_strings(char *p, char **table)
 -{
 -  /* Scan for strings, stoping at a single null byte */
 -  while (*p != 0) {
 -  *table++ = p;
 -  p += strlen(p) + 1;
 -  }
 -  *table = 0;
 -
 -  /* Skip past terminating null byte */
 -  return (p + 1);
 -}
 -
 -
  static void
 -smbios_run_table(uint8_t *p, int entries, dispatchproc_t *dispatchstatus,
 -struct ipmi_get_info *info)
 +smbios_walk_table(uint8_t *p, int entries, smbios_callback_t cb, void *arg)
  {
struct structure_header *s;
 -  char *table[20];
 -  uint8_t *nextp;
  
 -  while(entries--) {
 -  s = (struct structure_header *) p;
 -  nextp = get_strings(p + s->length, table);
 +  while (entries--) {
 +  s = (struct structure_header *)p;
 +  cb(s, arg);
  
/*
 -   * No strings still has a double-null at the end,
 -   * skip over it
 +   * Look for a double-nul after the end of the
 +   * formatted area of this structure.
 */
 -  if (table[0] == 0)
 -  nextp++;
 +  p += s->length;
 +  while (p[0] != 0 && p[1] != 0)
 +  p++;
  
 -  if (dispa

Re: kern/148546: [ipmi] Buffer overrun in the impi driver while processing smbios date

2010-07-14 Thread jhb
Synopsis: [ipmi] Buffer overrun in the impi driver while processing smbios date

State-Changed-From-To: open->patched
State-Changed-By: jhb
State-Changed-When: Wed Jul 14 18:21:10 UTC 2010
State-Changed-Why: 
Fix committed to HEAD.


Responsible-Changed-From-To: freebsd-bugs->jhb
Responsible-Changed-By: jhb
Responsible-Changed-When: Wed Jul 14 18:21:10 UTC 2010
Responsible-Changed-Why: 
Fix committed to HEAD.

http://www.freebsd.org/cgi/query-pr.cgi?pr=148546
___
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"


bin/148606: pc-sysinstall updates to support installation of packages

2010-07-14 Thread John Hixson

>Number: 148606
>Category:   bin
>Synopsis:   pc-sysinstall updates to support installation of packages
>Confidential:   no
>Severity:   non-critical
>Priority:   low
>Responsible:freebsd-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 14 21:30:04 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 #0: Tue Jul 13 09:31:39 PDT 
2010 j...@thinkbsd:/usr/src/sys/amd64/compile/THINKBSD  amd64

>Description:
Various updates to support new pc-sysinstall directive "installPackages" that 
will install packages and all package dependencies.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN usr.sbin/pc-sysinstall.packages/backend/Makefile 
usr.sbin/pc-sysinstall/backend/Makefile
--- usr.sbin/pc-sysinstall.packages/backend/Makefile2010-07-13 
16:13:23.0 -0700
+++ usr.sbin/pc-sysinstall/backend/Makefile 2010-07-13 16:15:05.0 
-0700
@@ -2,7 +2,7 @@
 
 FILES= functions-bsdlabel.sh functions-cleanup.sh functions-disk.sh \
functions-extractimage.sh functions-ftp.sh 
functions-installcomponents.sh \
-   functions-localize.sh functions-mountdisk.sh \
+   functions-installpackages.sh functions-localize.sh 
functions-mountdisk.sh \
functions-mountoptical.sh functions-networking.sh \
functions-newfs.sh functions-packages.sh functions-parse.sh \
functions-runcommands.sh functions-unmount.sh \
diff -urN usr.sbin/pc-sysinstall.packages/backend/functions-ftp.sh 
usr.sbin/pc-sysinstall/backend/functions-ftp.sh
--- usr.sbin/pc-sysinstall.packages/backend/functions-ftp.sh2010-06-27 
10:04:03.0 -0700
+++ usr.sbin/pc-sysinstall/backend/functions-ftp.sh 2010-07-14 
14:17:43.0 -0700
@@ -1,6 +1,6 @@
 #!/bin/sh
 #-
-# Copyright (c) 2010 iX Systems, Inc.  All rights reserved.
+# Copyright (c) 2010 iXSystems, Inc.  All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions
@@ -30,6 +30,8 @@
 . ${BACKEND}/functions.sh
 . ${BACKEND}/functions-parse.sh
 
+DEFAULT_FTP_SERVER="ftp.freebsd.org"
+
 MAIN_FTP_SERVERS="\
 Main Site: ftp.freebsd.org"
 
@@ -274,7 +276,25 @@
 done
 IFS="${SAVE_IFS}"
   fi
-}
+};
+
+set_ftp_mirror()
+{
+   MIRROR="${1}"
+   echo "${MIRROR}" > "${CONFDIR}/mirrors.conf"
+};
+
+get_ftp_mirror()
+{
+   MIRROR="${DEFAULT_FTP_SERVER}"
+   if [ -f "${CONFDIR}/mirrors.conf" ]
+   then
+   MIRROR=`cat "${CONFDIR}/mirrors.conf"`
+   fi
+
+   VAL="${MIRROR}"
+   export VAL
+};
 
 get_ftp_mirrors()
 {
@@ -371,4 +391,4 @@
   fi
 
   export VAL
-}
+};
diff -urN usr.sbin/pc-sysinstall.packages/backend/functions-installpackages.sh 
usr.sbin/pc-sysinstall/backend/functions-installpackages.sh
--- usr.sbin/pc-sysinstall.packages/backend/functions-installpackages.sh
1969-12-31 16:00:00.0 -0800
+++ usr.sbin/pc-sysinstall/backend/functions-installpackages.sh 2010-07-14 
14:17:04.0 -0700
@@ -0,0 +1,118 @@
+#!/bin/sh
+#-
+# Copyright (c) 2010 iXsystems, 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 check and load any optional packages specified in the config
+
+. ${BACKEND}/functions.sh
+. ${BACKEND}/functions-parse.sh
+
+# Recursively determine all dependencies for this package
+determine_package_dependencies()
+{
+   local PKGNAME="${1}"
+   local DEPFILE="${2}"
+
+   grep "${PKGNAME}" "

bin/148609: libdialog: printing to a checklist window on the first item from the selected callback prints behind the window.

2010-07-14 Thread John Hixson

>Number: 148609
>Category:   bin
>Synopsis:   libdialog: printing to a checklist window on the first item 
>from the selected callback prints behind the window.
>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:   Thu Jul 15 00:00:15 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 #0: Tue Jul 13 09:31:39 PDT 
2010 j...@thinkbsd:/usr/src/sys/amd64/compile/THINKBSD  amd64

>Description:
I'm writing a program using libdialog and would like to print to the checklist 
window from the selected() callback. This works fine for every item in the menu 
except the very first. I've determined that when printing from the selected() 
callback, the printed strings get printed behind the window on the main screen 
for the very first item when the dialog first pops up. Every item afterwards 
when the selected() callback is fired, prints correctly. When going back to the 
first item after going to another item, it prints correctly as well. This seems 
like a bug to me =).
>How-To-Repeat:
Create a checklist and call one of the *printw() functions from the selected() 
callback. When the dialog first appears, you will not see the printed statement 
on the dialog, if you move down one, you will, move up again and it now 
appears. I am assuming that you call a *printw() function on a line in the 
dialog box of course. 
>Fix:
This is a hack at best, I looked at the redraw code in dialog_checklist() and 
took the minimal amount of it out to do a simple "refresh" right after the 
items are drawn. This doesn't hurt anything and makes the library work like it 
should. There is probably a better way however =). 

Patch attached with submission follows:

diff -urN gnu/lib/libdialog.orig/checklist.c gnu/lib/libdialog/checklist.c
--- gnu/lib/libdialog.orig/checklist.c  2005-01-04 03:30:24.0 -0800
+++ gnu/lib/libdialog/checklist.c   2010-07-14 16:40:15.0 -0700
@@ -198,6 +198,23 @@
 wnoutrefresh(dialog);
 wmove(list, choice, check_x+1);
 wrefresh(list);
+
+   /*
+*  XXX Black magic voodoo that allows printing to the checklist
+*  window. For some reason, if this "refresh" code is not in place,
+*  printing to the window from the selected callback prints 
"behind"
+*  the checklist window. There is probably a better way to do this.
+*/
+draw_box(dialog, box_y, box_x, list_height + 2, list_width + 2, 
menubox_border_attr, menubox_attr);
+
+for (i = 0; i < max_choice; i++)
+   print_item(list, items[i * 3], items[i * 3 + 1], status[i], i, i == 
choice, DREF(ditems, i), list_width, item_x, check_x);
+print_arrows(dialog, scroll, list_height, item_no, box_x, box_y, check_x + 
4, cur_x, cur_y);
+
+   wmove(list, choice, check_x+1);
+   wnoutrefresh(dialog);
+wrefresh(list);
+   /* XXX Black magic XXX */
 
 while (key != ESC) {
key = wgetch(dialog);


>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: bin/51070: [patch] add -p option to pom(6)

2010-07-14 Thread emaste
Synopsis: [patch] add -p option to pom(6)

Responsible-Changed-From-To: freebsd-bugs->emaste
Responsible-Changed-By: emaste
Responsible-Changed-When: Thu Jul 15 00:09:32 UTC 2010
Responsible-Changed-Why: 
Grab

http://www.freebsd.org/cgi/query-pr.cgi?pr=51070
___
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/125985: [umass] [panic] no da-device, panic upon unplugging

2010-07-14 Thread remko
Synopsis: [umass] [panic] no da-device, panic upon unplugging

State-Changed-From-To: feedback->closed
State-Changed-By: remko
State-Changed-When: Thu Jul 15 06:13:31 UTC 2010
State-Changed-Why: 
I do not recall seeing feedback, and no recordings are in the ticket, ->
feedback timeout

http://www.freebsd.org/cgi/query-pr.cgi?pr=125985
___
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/148622: [maintainer-update] java/veditor 0.7.1_1

2010-07-14 Thread Dominic Fandrey

>Number: 148622
>Category:   misc
>Synopsis:   [maintainer-update] java/veditor 0.7.1_1
>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:   Thu Jul 15 06:40:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Dominic Fandrey
>Release:RELENG_8
>Organization:
private
>Environment:
FreeBSD mobileKamikaze.norad 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Fri Jul  
9 19:00:24 CEST 2010 
r...@mobilekamikaze.norad:/usr/obj/HP6510b-8/amd64/usr/src/sys/HP6510b-8  amd64

>Description:
- Follow Eclipse path changes
- Bump PORTREVISION
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -Nur veditor.orig/Makefile veditor/Makefile
--- veditor.orig/Makefile   2010-07-15 08:25:37.0 +0200
+++ veditor/Makefile2010-07-15 08:28:34.0 +0200
@@ -7,6 +7,7 @@
 
 PORTNAME=  veditor
 PORTVERSION=   0.7.1
+PORTREVISION=  1
 CATEGORIES=java cad
 MASTER_SITES=  SF/${PORTNAME}/${PORTNAME}%20runtime/VEditor%20${PORTVERSION}
 DISTNAME=  net.sourceforge.${PORTNAME}_${PORTVERSION}
@@ -31,16 +32,18 @@
 RUN_DEPENDS+=  freehdl-v2cc:${PORTSDIR}/cad/freehdl
 .endif
 
-PLIST_SUB= VER=${PORTVERSION}
+PLIST_SUB= VER=${PORTVERSION} \
+   ECLIPSE=${ECLIPSE}
 
 NO_BUILD=  yes
 NO_WRKSUBDIR=  yes
 
-ECLIPSE=   ${PREFIX}/eclipse
+ECLIPSE=   lib/eclipse
 PLUGINS=   plugins
 
 do-install:
-   @${MKDIR} ${ECLIPSE}/${PLUGINS}
-   @${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${ECLIPSE}/${PLUGINS}/
+   @${MKDIR} ${PREFIX}/${ECLIPSE}/${PLUGINS}
+   @${INSTALL_DATA} ${DISTDIR}/${DISTFILES} \
+   ${PREFIX}/${ECLIPSE}/${PLUGINS}/
 
 .include 
diff -Nur veditor.orig/pkg-plist veditor/pkg-plist
--- veditor.orig/pkg-plist  2010-07-15 08:25:37.0 +0200
+++ veditor/pkg-plist   2010-07-15 08:29:10.0 +0200
@@ -1,3 +1,3 @@
-eclipse/plugins/net.sourceforge.veditor_%%VER%%.jar
-...@dirrmtry eclipse/plugins
-...@dirrmtry eclipse
+%%ECLIPSE%%/plugins/net.sourceforge.veditor_%%VER%%.jar
+...@dirrmtry %%ECLIPSE%%/plugins
+...@dirrmtry %%ECLIPSE%%


>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"