Re: editors/openoffice.org-3

2011-05-31 Thread Jamie Paul Griffin
On Mon, May 30, 2011 at 11:40:56AM -1000, parv wrote:
 in message 20110530163134.ga51...@think.gnix.co.uk,
 wrote Jamie Paul Griffin thusly...
 
  I wouldn't mind using one of the packages but they want perl version
  5.12 and I don't want to use that just for OO.
 
 Do you have another perl installed such that installing version
 5.12 would cause much churn even if only to be replaced later?

well, I upgraded it to 5.14 last week and had quite a few a few issues
in the process which took several hours to put right. I'm just going to
force install it, if there are problems i'll just have to persevere.

jamie
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: A small script to customize FreeBSD

2011-05-31 Thread Chris Rees
On 31 May 2011 04:19, Xn Nooby xno...@gmail.com wrote:
 Hello.  I wrote a script to install FreeBSD 8.2 on to a real machine,
 or a 64-bit Virtualbox VM.  It has a modular approach where you can
 pick which functions will be run on a different target system. It can
 be tweaked easily.  I wrote it so that I could do a quick plain
 vanilla install, and then run this script to set up my user, SVN
 server, gnome, firefox4, flash, nvidia driver, vbox additons, and
 other things. I thought I would post it in case other beginners need
 some thing like this to help them configure a machine.  I started off
 with detailed notes, then thought I might as well script it. When you
 run it, the only user interaction is having to enter the user password
 twice.  Let me know if anyone has any suggestions.

How about using $1 instead of theuser?

You could always have ${1:-theuser} instead to have a default of
theuser, but take the value for username as the first argument.

Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: A small script to customize FreeBSD

2011-05-31 Thread Xn Nooby
On Tue, May 31, 2011 at 5:19 AM, Chris Rees utis...@gmail.com wrote:
 On 31 May 2011 04:19, Xn Nooby xno...@gmail.com wrote:
 Hello.  I wrote a script to install FreeBSD 8.2 on to a real machine,
 or a 64-bit Virtualbox VM.  It has a modular approach where you can
 pick which functions will be run on a different target system. It can
 be tweaked easily.  I wrote it so that I could do a quick plain
 vanilla install, and then run this script to set up my user, SVN
 server, gnome, firefox4, flash, nvidia driver, vbox additons, and
 other things. I thought I would post it in case other beginners need
 some thing like this to help them configure a machine.  I started off
 with detailed notes, then thought I might as well script it. When you
 run it, the only user interaction is having to enter the user password
 twice.  Let me know if anyone has any suggestions.

 How about using $1 instead of theuser?

 You could always have ${1:-theuser} instead to have a default of
 theuser, but take the value for username as the first argument.

 Chris


That's a good idea.  The user was originally called me, but I wanted
something that could be searched and replaced without breaking gnome
and home.  Using a parameter would be even better, thanks!.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I486_CPU or I586_CPU in kernel config

2011-05-31 Thread b. f.
Warren Block wrote:
 On Mon, 30 May 2011, Adam Vande More wrote:

  Perhaps this is the one you meant?
 
  http://lists.freebsd.org/pipermail/freebsd-questions/2009-January/190568.html

 That's the one!  Thanks!

  Actually the two threads touch on the same subject, and it seems
  removal of those options is still desirable on newer CPU's.

 sys/i386/i386/support.s is mentioned, but doesn't seem to have anything
 explicitly specific for 586.  There are some i686 entries.

 A test for cpu_class==CPUCLASS_586 in /sys/i386/isa/npx.c is mentioned
 in the thread, but that check isn't in the current code.

Removed:

http://svnweb.FreeBSD.org/base?view=revisionrevision=209460

There was a discussion about the implications for performance,
although I don't remember when it took place, and whether it was on
the mailing lists or in a PR audit trail.  If you're interested you
can track down the details.

b.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: A small script to customize FreeBSD

2011-05-31 Thread Antonio Olivares
 You could always have ${1:-theuser} instead to have a default of
 theuser, but take the value for username as the first argument.

 Chris


 That's a good idea.  The user was originally called me, but I wanted
 something that could be searched and replaced without breaking gnome
 and home.  Using a parameter would be even better, thanks!.
 ___

For the sound setup:

loadSoundVBX() {
echo loadsoundVBX...
kldload snd_driver
cat /dev/sndstat
echo 'snd_ich_load=YES'  /boot/loader.conf
}

kldload snd_driver
will load the sound driver that it thinks would be the best, but then
the driver is changed to ``snd_ich`` in the script.  If a user has
``snd_hda``, then the script should output snd_hda and substitute in
the loading statement.

I see the following code could do the job, but it might need some testing :(

#!/bin/sh
#
# Detect sound driver

for driver in /boot/kernel/snd_*; do
  driver=$(echo ${driver} | sed 's|/boot/kernel/snd_||')
  if [ ${driver} = driver.ko ]; then
continue;
  fi

  kldload snd_${driver}
  if [ -c /dev/mixer0 ]; then
echo I'm smelling 'snd_${driver}'
echo snd_${driver}_load=\YES\  /boot/loader.conf
exit 0
  fi
  kldunload snd_${driver}
done

This found in here:
http://forums.freebsd.org/showthread.php?t=22726

The script looks very nice and it could be a valuable asset for the
future.  Still, there are some things that we(users) need to do by
hand and get our hands dirty :)

In my case, I could not determine my sound card, I did not get very
nice information from cat /dev/sndstat

[olivares@tricorehome ~]$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: HDA VIA VT1708B_1 PCM #0 Analog (play/rec) default
pcm1: HDA VIA VT1708B_1 PCM #1 Analog (play)
pcm2: HDA VIA VT1708B_1 PCM #2 Digital (play)

But thanks to list members and their experience, someone suggested to
use snd_hda and it worked to perfection :)

Regards,

Antonio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: A small script to customize FreeBSD

2011-05-31 Thread Xn Nooby
 kldload snd_driver
 will load the sound driver that it thinks would be the best, but then

I considered using the auto-detect driver, I probably should in a
script used by many people. I did not know if there were any
disadvantages to using it.

 I see the following code could do the job, but it might need some testing :(

That is an interesting script - is there an advantage over loading the
auto-detect driver?

I have trouble knowing which driver to load, even when the system
tells what it loaded using the auto-detect driver, lol.

 Antonio

thanks for the suggestion!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


src upgrading jails (no ezjail, no service jails)

2011-05-31 Thread Aleksandr Miroslav
I have 4 jails that are running 8.2-RELEASE that I would like to upgrade.

The host system, which was also running 8.2-RELEASE, has been
successfully upgraded to 8.2-p2. I have /usr/src ready with the new
world and new kernel.

I did not create the jails using ezjails, so I cannot use that utility
to upgrade it.

I did not create the jails using the template method described in
Handbook (section 15.6.1.2), so the method recommended to upgrade
them, i.e.:


http://www.freebsd.org/doc/handbook/jails-application.html#JAILS-SERVICE-JAILS-UPGRADING

would not work for me.

What is the proper way for me to upgrade these jails?

thanks,
Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org