Re: Using 2M/4M pages

2007-11-12 Thread Richard Andrades

Looking at the kernel sources, I see some definitions for large page sizes
in the sun/sparc64 files, but not for any other architectures.

Richard


On Fri, 9 Nov 2007, Richard Andrades wrote:
 Hello,

 Does anyone know if there is support for using the large page sizes with the
 x86 CPUs?

 Thanks,
 Richard
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT: Beastie 3D-rendered

2007-11-12 Thread cpghost
On Mon, 12 Nov 2007 06:50:40 +
Tino Engel [EMAIL PROTECTED] wrote:

  http://www.tilolit.de/images/tb/wallpapers/teufel.jpg

[snip]

 Nevertheless I can check out the author (he is german, too) and ask
 him about the license issues...

It would be *really* great if the author not only agreed to put the
rendering under a permissive license, but also considered releasing
and licensing the (graphics/povray?) source code too. I'd love to
experiment a little bit with that! ;)

Anyway, whatever comes out of it, kudos for the great find! :-)))

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT: Beastie 3D-rendered

2007-11-12 Thread Steve Bertrand
cpghost wrote:
 On Mon, 12 Nov 2007 06:50:40 +
 Tino Engel [EMAIL PROTECTED] wrote:
 
 http://www.tilolit.de/images/tb/wallpapers/teufel.jpg
 
 [snip]
 
 Nevertheless I can check out the author (he is german, too) and ask
 him about the license issues...
 
 It would be *really* great if the author not only agreed to put the
 rendering under a permissive license, but also considered releasing
 and licensing the (graphics/povray?) source code too. I'd love to
 experiment a little bit with that! ;)
 
 Anyway, whatever comes out of it, kudos for the great find! :-)))

Amen to that! I just would like to put it on my desktop/use it legally!

Seriously, if someone here can gain the free rights to it and pass it
along, then we all can say 'yay beastie!'.

/* will keep hidden on desktop
 * until told not to.
 * Would be nice if someone says
 * that we can use it!!!
 */

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: One Laptop Per Child

2007-11-12 Thread Beech Rintoul
On Sunday 11 November 2007, Olivier Nicole said:
  I am usually not the one to bring up these things but I feel very
  strongly about this. Starting Monday, November 12 this website is
  offering a give one get one deal. I believe the money will be
  well invested. YMMV
 
  http://xogiving.org/

 That is a difficult issue, while this is an opportunity, I doubt
 this is the most needed thing to provide education. We are talking
 giving laptop to people who do not even have electricity in some
 cases...

 Olivier

From what I've been reading they are addressing this issue. One way 
was providing solar power recharging stations. The other was hooking 
up carousel type playground equipment to a small generator to 
recharge the laptops. The third was good old WWII vintage hand crank 
power. I also read that these laptops are optimized for low power 
usage. I live in Alaska and they have been using the internet  for 
education in rural villiages for many years with much success. I 
personally think this is a great idea. Too bad they won't all be 
running FreeBSD :-)



-- 
---
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.FreeBSD.org/releases/6.2R/announce.html
---



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problems with building a patch

2007-11-12 Thread Matthias Apitz
El día Sunday, November 11, 2007 a las 07:17:55PM +0200, Giorgos Keramidas 
escribió:

  Hmm...  Looks like a unified diff to me...
  The text leading up to this was:
  --
  |diff -N -r -u -X exclude nn-6.7.3/PATCH.RFC1522 
  nn-6.7.3.patched/PATCH.RFC1522
  |--- nn-6.7.3/PATCH.RFC1522 Thu Jan  1 01:00:00 1970
  |+++ nn-6.7.3.patched/PATCH.RFC1522 Sat Nov 10 11:04:58 2007
  --
 
 Here's the problem.
 
 The patch files for ports should *not* include the `nn-6.7.3' part, like
 this one.  They should be relative to the toplevel directory of the
 unzipped/untarred port, i.e.:
 
 diff -N -u PATCH.RFC1522.orig PATCH.RFC1522
 --- PATCH.RFC1522.orig Thu Jan  1 01:00:00 1970
 +++ PATCH.RFC1522 Sat Nov 10 11:04:58 2007

In this case what would be the best way to produce a recursive
patch file for this set of patched sources:

$ find . -name '*.orig' -print
./conf/s-linux.h.orig
./man/nn.1.nov.orig
./chset.c.orig
./aux.sh.orig
./answer.c.orig
./chset.h.orig
./news.c.orig
./xmakefile.orig
./db.c.orig
./global.c.orig
./global.h.orig
./more.c.orig
./news.h.orig
./pack_name.c.orig
./save.c.orig
./tables/applemacxiso.tab.orig
./tables/atarixiso.tab.orig
./tables/cp437xiso.tab.orig
./tables/cp850xiso.tab.orig
./tables/decxiso.tab.orig
./tables/isoxapplemac.tab.orig
./tables/isoxatari.tab.orig
./tables/isoxcp437.tab.orig
./tables/isoxcp850.tab.orig
./tables/isoxdec.tab.orig
./tables/isoxnext.tab.orig
./tables/nextxiso.tab.orig
./variable.c.orig
./nn.c.orig
./term.c.orig
./folder.c.orig

where the directory 'tables' and the files below this dir
are new files, i.e. their original files are just empty.

Thx

matthias
-- 
Matthias Apitz
b http://gurucubano.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Claws+spamd: No spam is detected

2007-11-12 Thread Bahman M.
On 2007-11-11 Martin Hepworth wrote:
 HI
 
 you need to tell the MTA to pass email through spamassassin/clamav
 somehow. Depending on what you're MTA is (sendmail/exim/postfix etc)
 its different.
 
 try sendmail spamassassin for example in google..
 
 --
 martin
 
 On Nov 11, 2007 4:13 PM, Bahman M. [EMAIL PROTECTED] wrote:
  Hi all,
 
  I have Claws-Mail and spamd installed (from ports) and although I
  have been using this combination -I've been been manually marking
  all spams as 'spam'- for more than 2 months, still _no_ spam
  message is detected.
 
  I've followed the instructions on Claws/spamd wiki.  I've got the
  followings in /etc/rc.conf:
 spamd_enable=YES
 spamd_flags=-C /usr/local/etc/spamd -i 127.0.0.1 -p 783 -u
  spamd -d -l
  Also Claws configuration parameters exactly match the spamd_flags
  above.
 
 
  System information:
  % uname -a
  FreeBSD attila 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #2: Fri Sep  7
  14:23:40 IRST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HELIUM  i386
 
  % spamd -V
  SpamAssassin Server version 3.2.3
running on Perl 5.8.8
with SSL support (IO::Socket::SSL 1.08)
with zlib support (Compress::Zlib 2.006)
 
  % claws-mail --version
  Claws Mail version 3.0.0
 
  What am I doing wrong?  What should I do to enable Claws/spamd
  detect spam? I'd appreciate any hint/help.

You mean spam doesn't get detected unless I run a MTA -configured to
pass emails to spamd?

I thought Claws could communicate with spamd on its own without any need
to a MTA (corrections?).

-- 
Bahman Movaqar

Those who would give up Essential Liberty to purchase a little
Temporary Safety, deserve neither Liberty nor Safety.
-Benjamin Franklin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: disk drive serial number

2007-11-12 Thread Wojciech Puchar

[EMAIL PROTECTED] ~]# atacontrol cap ad0

Protocol  ATA/ATAPI revision 6
device model  ST9120822A
serial number 5LZ2F879
firmware revision 3.ALD
cylinders 16383
heads 16
sectors/track 63
lba supported 234441648 sectors
lba48 supported   234441648 sectors
dma supported
overlap not supported

Feature  Support  EnableValue   Vendor
write cacheyes  yes
read ahead yes  yes
Tagged Command Queuing (TCQ)   no   no  0/0x00
SMART  yes  yes
microcode download yes  yes
security   yes  no
power management   yes  yes
advanced power management  yes  yes 32896/0x8080
automatic acoustic management  no   no  0/0x00  254/0xFE

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: One Laptop Per Child

2007-11-12 Thread Gary Kline
On Sun, Nov 11, 2007 at 07:55:01PM -1000, Robert Marella wrote:
 Aloha FreeBSD Users
 
 I am usually not the one to bring up these things but I feel very
 strongly about this. Starting Monday, November 12 this website is
 offering a give one get one deal. I believe the money will be well
 invested. YMMV
 
 http://xogiving.org/
 
 Have a very good day
 
 Robert


This project is among the best and most selfless, not to mention
innovative and techy, since we-geeks began hacking code.  I'm
going to buy at least two of these computers. Two  for my
household, and two for poor children *everywhere*.   

(had i not lucked into education, i dread to think of where i'd
have wound up.)

gary

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Quick question about PF and ALTQ

2007-11-12 Thread Peter Boosten
On Mon, November 12, 2007 08:04, Girish Venkatachalam wrote:


 Hope the above explanation suffices.

Yu, it does. Very nice explanation, thanx.



 Can you clarify your needs a bit more?

Well, it's actually quite simple: our internet access line, which is used
by several people (directly, without a proxy server, but with a FreeBSD
firewall). Our management wants to block unwanted traffic (so not: wants
to block unwanted sited - which would be very easy), like p2p and online
radio, since this traffic is:
- non business related
- bandwidth consuming

Peter



-- 
http://www.boosten.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Quick question about PF and ALTQ

2007-11-12 Thread [LoN]Kamikaze
Peter Boosten wrote:
 On Mon, November 12, 2007 08:04, Girish Venkatachalam wrote:
 
 Hope the above explanation suffices.
 
 Yu, it does. Very nice explanation, thanx.
 

 Can you clarify your needs a bit more?
 
 Well, it's actually quite simple: our internet access line, which is used
 by several people (directly, without a proxy server, but with a FreeBSD
 firewall). Our management wants to block unwanted traffic (so not: wants
 to block unwanted sited - which would be very easy), like p2p and online
 radio, since this traffic is:
 - non business related
 - bandwidth consuming
 
 Peter

You just drop all traffic except for that over wanted ports, such as for http,
https, ftp, smtp, pop3, maybe some instant messengers...

That won't help against tunneling, though.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CD's and fonts....

2007-11-12 Thread Michael Rudolph
On Monday 12 November 2007 03:37:46 Gary Kline wrote:
 On Mon, Nov 12, 2007 at 12:58:13AM +0100, Michael Rudolph wrote:
  On Sunday 11 November 2007 23:55:50 Gary Kline wrote:
 After many tries , my secoond burner finally opopened a CD full
 of hundreds of TTF fonts.  I don't know how to use the graphics
 widget to move the contents of /media/cdrom/1 to whereever
 so that all these fonts are usable by both  AbiWord and OOo-2.3.
 (On my Ubuntu platform I used the command line to  copy from
 /cdrom/*.ttf to /usr/share/fonts/truetype/msttcorefonts/.  )
  
 I am using the OOo font wizard to install the few M$ free fonts,
 but sem to be missing BASIC.  [[???]].  At any rate, any tips or
 insights would be very much appreciated here.
  
 tia,
  
 gary
 
  Hi Gary,
 
  as far as I know, you are using KDE, which makes things pretty
  easy. You can just use Konqueror to browse to your fonts and use
  the appropriate option in the context menu to install the selected
  fonts.
 
  If you want to do the font installation by hand, as you described,
  you have to make sure that X is aware of the directory where your
  font files reside and that the directory is properly prepared. This
  is best described in the handbook:
 
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-fonts.h
 tml
 
  I hope that helps.
 
  michael

   Well, your handbook URL helped, :-) ... I have in bookmarked in
   konq.  I pointed the browser at the CDROM but there were too many
   files--hundred--and the browser choked.   I'm not sure if I can
   do a CLI cp -rp from the disk, so I'm **trying** to figure out
   how to use these GUI tools. If you , or anyone else, would be so
   kind as too explain how to copy one file or multiple files or a
   directory and its subdirectories from (say) /media/cdrom/1 to
   /usr/local/lib/X11/fonts/TrueType, I would be much obliged.

   Typing a single string in an xterm seems lots easier than
   doing it by file-manager.  ...

   thanks,

   gary

Hi Gary,

I assume konqueror is chocking because you have font previews enabled. 
If you deselect Font Files in konquerors View  Preview submenu, 
prior to entering your font directory, you should be able to use 
konqueror. As I said before, it's a piece of cake to do it this way.

If you want to do it as per the handbook, you'd have to copy your font 
files to an appropriate directory, which could look something like 
this:

# cp /media/cdrom/1/*.ttf /usr/local/lib/X11/fonts/TrueType

I'm not sure if I understood you question correctly, but either the man 
page for cp(1) might help or you ask again here.

Have a nice time.

michael
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Quick question about PF and ALTQ

2007-11-12 Thread Girish Venkatachalam
On 10:17:52 Nov 12, Peter Boosten wrote:
 
 Yu, it does. Very nice explanation, thanx.
 

NP. Thanks.

 
 Well, it's actually quite simple: our internet access line, which is used
 by several people (directly, without a proxy server, but with a FreeBSD
 firewall). Our management wants to block unwanted traffic (so not: wants
 to block unwanted sited - which would be very easy), like p2p and online
 radio, since this traffic is:
 - non business related
 - bandwidth consuming

In that case you don't need QoS at all.

Just use pf for it.

Refer to the first mail I sent in this thread. All the info you need is
right there.

Don't worry about altq.

Best,
Girish
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Quick question about PF and ALTQ

2007-11-12 Thread Girish Venkatachalam
On 14:03:29 Nov 11, Peter Boosten wrote:
 Hi all,
 
 One quick question: is it possible to filter specific kinds of traffic
 with altq, traffic that is not bound to specific IP addresses, like online
 radio?
 
 
Looks like I finally understood what you want.

You want to block the protocol from/to *any* IP address.

This is easily done.

block all
pass out all to { http smtp ftp }

This is a very cruel ruleset. :)

Instead you actually want this one.

nonbusiess= { 522 bittorrent ... }

block quick drop out all to port $nonbusiness

As you can see using pf, you can leave out anything.

That is the power of this marvelous creation.

It gives tremendous power to firewalls.

In fact I would venture to say it is the best software available for
firewalling functionality.

Best,
Girish
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: disk drive serial number

2007-11-12 Thread Harald Schmalzbauer
Am Montag, 12. November 2007 01:54:33 schrieb Josh Carroll:
  That's the _model_ number, not the _serial_ number, yes?

 Oops. Indeed. I misread the question. :/

I'm still missing the hint for 'diskinfo -v ad0' !
Isn't it well known?

Best regards,

-Harry


signature.asc
Description: This is a digitally signed message part.


Re: FreeBSD questions

2007-11-12 Thread Andy Greenwood

Si Thu wrote:

Hi Andy,

Thanks for your answer. 

  
No problem, but please remember to include the list in any replies 
unless the person you're talking with spefically asks to take the 
conversation off-list. This will ensure that you get the widest possible 
audience for your questions, and generally, the best possible answers as 
well. Also, please remember to bottom-post your replies, since it makes 
the conversation easier to read for people joining in the middle.



Again let me have one more question, I cannot encode the .wmv to .flv. It
seems ffmpeg of port is outdated, but I downladed the port from the
http://www.freebsd.org/cgi/cvsweb.cgi/ports/multimedia/ffmpeg/?only_with_tag
=RELEASE_6_2_0
  


If you want the newer versions of software from the ports tree, don't 
limit your results by the tag. Basically, you're saying (IIRC) I want 
the version of the port that was included with this release instead of 
I want the most recent version of this port. the release versions of 
the ports will only be updated for bug fixes, etc. Not new features. I'd 
suggest that you just use portsnap to update your local ports tree and 
go from there. If you've never used portsnap before, do the following


portsnap fetch extract

If you have already done the extract step above, then use this

portsnap fetch update

from now on. Every time you run this command, your ports tree is updated 
with the latest software. As long as you aren't on a really ancient 
release, software from the ports tree will ALMOST always compile and 
install fine. After your ports tree is updated, just


cd /usr/ports/multimedia/ffmpeg
make deinstall- to remove the older version
make install clean   -to install the new version

Now you should have the latest version and all it's capabilities. I 
don't know specifically if this will solve your wmv - flv problem, but 
if not, you will be at a better place to ask questions. You would 
probably want to ask your questions about specific software at the 
developer's forums or mailing lists though, since this list is supposed 
to be mainly for questions about freebsd itself. Good Luck!

Does it not update?

Sithu


-Original Message-
From: Andy Greenwood [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 08, 2007 10:44 PM

To: Si Thu
Cc: freebsd-questions@FreeBSD.org
Subject: Re: FreeBSD questions

Si Thu wrote:
  

Dear freeBSD,

 


I am running FreeBSD 6.2-RELEASE on my staging server and having one


problem
  

about FFmpeg.

I have read a lot of documentation and google on the web to get the


solution
  

for how to customize installation for ffmpeg utility. Normally, freeBSD
provides s lot of packages and ports that can be covered the average
requirements. 

 


On my server, I have installed ffmpeg from the provided port with the
command make install clean. After installation, I am able to encode the
input files from some location of server such usr/local/bin and cannot
implement with PHP(I used exec() command). FFmpeg-php is a object oriented
API for PHP and ffmpeg implementation. I was not able to install that API


on
  

freeBSD.

 


And there are some other configuration such --enable-shared --enable-gpl
and other libraries they can use in ffmpeg by configuration with


./configure
  

command. But I was not able to find how to configure before install


ffmpeg.
  

If you would be able to give me a solution that would be great. I will
really appreciate.
  



Don't know about ffmpeg-php or anything, as I've never used them. 
However, you could do a few different things to change the configure 
arguments. You could just edit the Makefile in the port's directory, or 
you could define some make variables either through /etc/make.conf or by 
defining them on the command line like


make -DWITH_SWSCALER

which will do the same thing as configure --enable-swscaler. Look 
through the Makefile for the defaults (both switches you mentioned are 
on by default in my ports tree) and all availible switches. Make syntax 
is simple enough, so you should be able to figure it out without much 
trouble. Also, you might want to run make configure instead of make 
install or even just make, since that will run the configure script and 
then stop, so you can look over the output and adjust as necessary 
before continuing the build.
  
 

 


Looking forward to get an answer

 


kind regards,

 

Sithu 


[EMAIL PROTECTED]

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


[EMAIL PROTECTED]
  
  







  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


question about floating point calcuation with shell script / bc

2007-11-12 Thread Patrick Dung
Hi

I have a file with numbers in each line.
Each number is a decimal number.
My task is to add them up and get the final answer.

I have searched with the search engine.
I found bash cannot handle floating point calculation.

I tried to use 'bc' and found if the final answer is  1 (eg. 0.2)
It display .2 instead of 0.2 (no leading zero).

Any suggestion or other methods?
I know ksh could do floating point calculation
but I am now familiar with ksh.

Regards
Patrick

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question about floating point calcuation with shell script / bc

2007-11-12 Thread Peter Boosten
On Mon, November 12, 2007 14:01, Patrick Dung wrote:
 Hi


 I have a file with numbers in each line.
 Each number is a decimal number.
 My task is to add them up and get the final answer.


 I have searched with the search engine.
 I found bash cannot handle floating point calculation.


 I tried to use 'bc' and found if the final answer is  1 (eg. 0.2)
 It display .2 instead of 0.2 (no leading zero).


 Any suggestion or other methods?
 I know ksh could do floating point calculation
 but I am now familiar with ksh.


Try awk

awk '{sum += $1} END {printf %.2f\n, sum}' file

assuming the file consists only of numbers in the first column.

Peter


-- 
http://www.boosten.org


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pkgdb failure

2007-11-12 Thread J. W. Ballantine

Yes, seems you need to rebuild ruby, for safety I also rebuilt ruby-bdb and
portupgrade.  I then moved /var/db/pkg/pkgdb.db and ran pkgdb -fu.  Then
it was safe to run portupgrade.  

This is probably overkill, but it worked for me.

Jim

--  In Response to your message -

  Date:  Sat, 10 Nov 2007 10:24:14 +1100
  To:  J. W. Ballantine [EMAIL PROTECTED]
  From:  matti k [EMAIL PROTECTED]
  Subject:  Re: pkgdb failure

  On Fri, 09 Nov 2007 08:06:54 -0500
  J. W. Ballantine [EMAIL PROTECTED] wrote:
  
   After upgrading from 6-STABLE to 7-RELEASE, I tried to rebuild
   all the packages from portupgrade -af I started getting the following
   error messages.  The first once, the second multiple times, even
   after I moved the pkgdb.db and did a pkgdb -fu.
   
   [/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid
   argument] [Updating the portsdb format:bdb_btree in /usr/ports .
   .. - 17746 port entries found /usr/ports/INDEX-7.db: unexpected file
   type or format -- Invalid argument: Cannot update the portsdb!
   (/usr/ports/INDEX-7.db)]
   
   
   /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid
   argument
   
   Any ideas on what is causing this?
  
  I got this as well, after portupgrade tried to register installation of
  new ruby version. A pkgdb -F seemed to correct it and i continued on
  with portupgrade with no more errors.
  
  Regards,
  Matti
  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IPFW or ProFTPD

2007-11-12 Thread Grant Peel

Hi all,

I am getting lots of brute force attacks on my proftpd server and was 
wondering if anyone knows of a way for IPFW to check incomming connections 
and automagicaly block an IP for a period of time when too many connections 
are made on a port, or if any Proftpd gurus out there know if there is a mod 
that does the same thing. I have mod_Delay installed, but it does not seem 
to help much.


TIA,

-Grant 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD questions

2007-11-12 Thread Alex Zbyslaw

Andy Greenwood wrote:

If you want the newer versions of software from the ports tree, don't 
limit your results by the tag. Basically, you're saying (IIRC) I want 
the version of the port that was included with this release instead 
of I want the most recent version of this port. the release versions 
of the ports will only be updated for bug fixes, etc. 


Unless something has changed recently, this is not correct.

The release versions of the ports are *never* updated for anything; not 
security fixes, not features, nothing.  The ports tree is not like, say, 
Fedora Linux rpms.


What you say is true of the *base* system, but not true for ports.

Technically, the ports tree is not branched, because it's a) too much of 
a maintenance burden and b) apparently CVS is likely to struggle, which 
I can believe.


The ports tree is *tagged* (not branched) when the release ISOs are 
made, and those tags are never moved.


For cv(s)uping ports there are only two reasonable tags, as far as I know:

.  which means the latest ports tree or

a date: when you desperately need to get back to the ports tree you had 
say a week ago because it worked and your current one doesn't and you 
are desperate.


--Alex

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: flash: linux firefox vs linuxpluginwrapper

2007-11-12 Thread Mark Moellering
On Friday 09 November 2007 4:20 pm, John wrote:
 I've been struggling to get a handle on the FreeBSD system.  Making good
 progress, but then I ran into the fact that Firefox on FreeBSD can't do
 flash.  Definite showstopper, for me.  Ok, then I tried to use the
 linuxpluginwrapper approach, and it didn't work.

 It made me recall, in reading up on FreeBSD, I did see where somebody
 installed both Firefox and Linx-firefox.

 So before I do battle with this Linux wrapper approach, I wondered if I
 would be better off simply installing the Linux-firefox?

 Is that easier?  More likely to work?

 Does it perform almost as well as the native FreeBSD version?

 Any input would be appreciated.

 John


John,

I posed a similar question on this list a short time ago.  Right now, 
the 
only 'Flash' working on either Linux or native is Flash 7, which does not 
work on many sites.  To get Flash 9, you need to use wine under freebsd and 
install the windows version of Firefox.  I have been told that this solution 
works fine out of the box on FreeBSD 6.2 but I have not yet confirmed.

Mark Moellering
[EMAIL PROTECTED]








 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: flash: linux firefox vs linuxpluginwrapper

2007-11-12 Thread Aryeh M. Friedman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1




 I posed a similar question on this list a short time ago.  Right
 now, the only 'Flash' working on either Linux or native is Flash 7,
 which does not work on many sites.  To get Flash 9, you need to use
 wine under freebsd and install the windows version of Firefox.  I
 have been told that this solution works fine out of the box on
 FreeBSD 6.2 but I have not yet confirmed.

Works right out of the box for all versions of FreeBSD  6 I just
did it on a 8-Current machine doing the following port installs in
this order:

firefox
linux-flashplugin7
acroread7

after you install acroread run nspluginwrapper -v -a -i.

- --
Aryeh M. Friedman
Developer, not business, friendly
http://www.flosoft-systems.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHOGdhJ9+1V27SttsRAlYhAJwLmRfkU5eT9ugh3P1gfH0ImZO4RwCeI1xF
IrALlh7qkHerjj5BwNa3Qq4=
=P1uM
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache13-modperl problem: mod_dir, mod_mime

2007-11-12 Thread futuristick
I've solved it for now; forget to add the Listen directive! (And I  
reinstalled Apache for good measure after backing up conf).


~Doug

On Nov 11, 2007, at 11:40 AM, futuristick wrote:

Thank you! I have located modules in /usr/local/libexec/apache and  
have added them in the correct order to my httpd.conf.


However, apache does not want to start.

sudo /usr/local/etc/rc.d/apache start
yields
Starting apache
with no errors, yet sockstat -4 reveals that httpd is not running.  
My httpd.pid file is in a directory
which is owned by the user and group apache should run under (www/ 
www).


ServerType standalone
ServerRoot /usr/local
PidFile /var/run/apache/httpd.pid
ScoreBoardFile /var/run/apache/httpd.scoreboard
ResourceConfig /dev/null
AccessConfig /dev/null

snip

Port 3000
User www
Group www
ServerAdmin [EMAIL PROTECTED]
UseCanonicalName Off
ServerSignature Off
HostnameLookups Off
ServerTokens Prod

My firewall script allows binding to port 3000, so I'm at a loss here.

On Nov 11, 2007, at 1:10 AM, Matthew Seaman wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

futuristick wrote:


I have installed apache13-modperl from ports because I want to run a
simple photoblog. However, there was no 'make config' option for
modules, and here is the output of httpd -l:

Compiled-in modules:
  http_core.c
  mod_so.c
  mod_perl.c
suexec: disabled; invalid wrapper /usr/local/sbin/suexec

I don't understand why mod_dir and mod_mime aren't installed by  
default.

How can I serve pages without these? How can I get these modules
installed? (I don't know where, if any, the .so files might be).


Not having an OPTIONS dialog is just a symptom of the age of the
port and that the possibility of implementing such a thing has not
yet risen to the top of the maintainer's TODO list.  OPTIONS are not
mandatory in the ports system -- you can still use the original and
in some circumstances superior method of defining compilation flags
on the command line or (more usefully) in /etc/make.conf

However, the only way to find out what flags are available is by
looking at what the Makefile provides.  In the case of apache13- 
modssl

the Makefile is really rather complex, but the maintainer has
provided some handy documentation of what can be tweaked:

   % cd /usr/ports/www/apache13-modssl
   % make pre-fetch

As it transpires, the apache13-modssl port doesn't give you a
huge amount of flexibility as to how the module load is configured.
There are about 4 -- 5 optional modules you can enable or disable
completely, most of which I doubt you'll have any need for, although
suexec is possibly an exception that you may want.

Otherwise you get the default setup from the Apache configuration
system as invoked with the following flags:

--enable-module=most \
--enable-module=auth_db \
--enable-module=mmap_static \
--disable-module=auth_dbm \
--enable-shared=max \
--enable-module=ssl \
--enable-module=define \

That is, everything standard except experimental modules and  
auth_dbm is
enabled, plus auth_db, mmap_static and ssl.  Modules are  
configured as loadable modules rather than compiled in.  That  
gives you maximum

flexibility and maximum control over how large your apache processes
will grow but adds a layer of indirection to various pointer lookups
which will add a few percent to the time it takes to serve a page.
Unless you're trying to run your server at the absolute max, that is
almost definitely the correct choice.

mod_dir and mod_mime are certainly installed and available as part of
the default package.  Look in /usr/local/etc/libexec/apache to  
find the

loadable modules themselves.  Look at the 'LoadModule' lines in
/usr/local/etc/apache/httpd.conf to see what is being loaded at  
runtime

- -- the default is to load everything available.

Cheers,

Matthew

- --
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHNsbx8Mjk52CukIwRCEzAAKCU8GVX/gj1eoqi4VAnJtZlj+Pp4wCfccLi
sch16WtyVVoq0bmrcQRBoJA=
=eX9t
-END PGP SIGNATURE-




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Ports with GUI configs

2007-11-12 Thread Ashley Moran

Hi

I was just wondering, what is the motivation behind the GUI  
configuration for some ports?  Simply put, they drive me up the  
wall.  I've lost count of the number of times I've come back to a big  
install to find it hanging on a config screen.  Possibly I'm missing  
something.


The apache22 port is the latest one to join this crowd, although  
there is an option to skip the GUI.  I'm much happier using  
WITH_PROXY_MODULES or whatever, and managing everything in  
pkgtools.conf.


What is the best way to pre-configure GUI-configured ports?  For  
example, if I want to script an installation of several ports.


I've seen this: http://www.freshports.org/misc/dotfile/, is it what  
I'm after?


Thanks for any advice
Ashley


--

blog @ http://aviewfromafar.net/
linked-in @ http://www.linkedin.com/in/ashleymoran
currently @ work


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problems with building a patch

2007-11-12 Thread Matthias Apitz
El día Sunday, November 11, 2007 a las 07:17:55PM +0200, Giorgos Keramidas 
escribió:

 On 2007-11-11 16:02, Matthias Apitz [EMAIL PROTECTED] wrote:
 
  Hello,
 
  I've build a patch for 'nn-6.7.3' to add support for RFC1522 to my
  beloved news-reader. Before giving it away I was trying it on a fresh
  workspace of the /usr/ports/news/nn and run into the problem that
  new files which brings the patch to the tree are always created
  in the current working dir, even if I create them before with touch(1),
  existing files, like 'answer.c' in the example below, get patched
  correctly:
 
  $ /usr/ports/news/nn/work
  $ touch nn-6.7.3/PATCH.RFC1522
  $ patch  ../myRFC1522.patch
  Hmm...  Looks like a unified diff to me...
  The text leading up to this was:
  --
  |diff -N -r -u -X exclude nn-6.7.3/PATCH.RFC1522 
  nn-6.7.3.patched/PATCH.RFC1522
  |--- nn-6.7.3/PATCH.RFC1522 Thu Jan  1 01:00:00 1970
  |+++ nn-6.7.3.patched/PATCH.RFC1522 Sat Nov 10 11:04:58 2007
  --
 
 Here's the problem.
 
 The patch files for ports should *not* include the `nn-6.7.3' part, like
 this one.  They should be relative to the toplevel directory of the
 unzipped/untarred port, i.e.:
 
 diff -N -u PATCH.RFC1522.orig PATCH.RFC1522
 --- PATCH.RFC1522.orig Thu Jan  1 01:00:00 1970
 +++ PATCH.RFC1522 Sat Nov 10 11:04:58 2007

After a lot of tests I've found the solution:

I'm creating the patch with:

$ diff -Naur -X exclude nn-6.7.3 nn-6.7.3.patched  diff

while having in 'nn-6.7.3' a 'make clean' version of the original
tree and in 'nn-6.7.3.patched' a 'make clean' version of my modified
source tree; the exclude file just says:

$ cat exclude
*.orig

i.e. excludes the files *.orig which I also have in 'nn-6.7.3';

the trick is applying the patch as:

$ cd /usr/ports/news/nn/work
$ patch -p0  ../.mywork/diff

i.e. using the -p0; without -p0 the new files end up in the current
directory, while with -p0 they get created in the right place. I've
read the man page of patch again and again; it explains the function
of -pN but not this effect :-(

matthias

-- 
Matthias Apitz
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports with GUI configs

2007-11-12 Thread Erik Trulsson
On Mon, Nov 12, 2007 at 03:26:00PM +, Ashley Moran wrote:
 Hi
 
 I was just wondering, what is the motivation behind the GUI configuration 
 for some ports? 


Many people prefer to not have to read every single Makefile in the ports
tree just to find out which options are available.

It can also be nice having the chosen options automatically saved.


 Simply put, they drive me up the wall.  I've lost count of 
 the number of times I've come back to a big install to find it hanging on a 
 config screen.  Possibly I'm missing something.
 
 The apache22 port is the latest one to join this crowd, although there is 
 an option to skip the GUI.  I'm much happier using WITH_PROXY_MODULES or 
 whatever, and managing everything in pkgtools.conf.
 
 What is the best way to pre-configure GUI-configured ports?  For example, 
 if I want to script an installation of several ports.

'make config-recursive' to pop up all the config-dialogs before you start
building, or 'make BATCH=yes' to skip all the config-dialogs and just use
the standard options.
Reading the ports(7) manpage can be helpful to find out this kind of things.

 
 I've seen this: http://www.freshports.org/misc/dotfile/, is it what I'm 
 after?

Doesn't look like it.


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


DAG 4.5G4 card on FreeBSD 6.1

2007-11-12 Thread Jay Aikat

Hi,
	I am trying to install a DAG card (it's a traffic capture card from Endace 
Inc.) on a FreeBSD 6.1 system.  I know this is a long shot, b/c there may not be 
too many folks using this hardware.


I am also working with the Endace support folks who are not as responsive as I 
would like, hence my request for help here.  Has anyone succesfully installed 
and used this card or any other DAG card on a FreeBSD 6.1 machine?  If so, I 
would appreciate a note from you so I can send you more details of what my 
problem is, and can hopefully get it resolved.  Thanks!

--Jay.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports with GUI configs

2007-11-12 Thread Vince
Ashley Moran wrote:
 Hi
 
 I was just wondering, what is the motivation behind the GUI
 configuration for some ports?  Simply put, they drive me up the wall. 
 I've lost count of the number of times I've come back to a big install
 to find it hanging on a config screen.  Possibly I'm missing something.
 
 The apache22 port is the latest one to join this crowd, although there
 is an option to skip the GUI.  I'm much happier using WITH_PROXY_MODULES
 or whatever, and managing everything in pkgtools.conf.
 
 What is the best way to pre-configure GUI-configured ports?  For
 example, if I want to script an installation of several ports.
 
 I've seen this: http://www.freshports.org/misc/dotfile/, is it what
 I'm after?
 

I think what you want is the make config-recursive target which should
go through the dependencies and do the gui config for them all, (after
the first run the gui config saves the configs in
/var/db/ports/$portname/options and shouldn't prompt a second time.)

For apache22 it looks like setting WITHOUT_APACHE_OPTIONS=YES should
disable the menu and let you go back to using pkgtools.conf although I
haven't tested it.
Its possible that setting BATCH=YES and using pkgtools.conf will work
too but my understanding of the BATCH and INTERACTIVE makefile options
are a little unclear.

I agree though, I often suffer the same problem, coming back after a few
hours to a build that should have finished to find its sitting on the
first dependency.


Vince

 Thanks for any advice
 Ashley
 
 
 -- 
 
 blog @ http://aviewfromafar.net/
 linked-in @ http://www.linkedin.com/in/ashleymoran
 currently @ work
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


swap_pager: indefinite wait buffer

2007-11-12 Thread Brian McCann
Hi all.  I'm sure some of you have seen this, and I'm looking for some
advice.  I've got 2 servers now that will completely lockup (one is
6.1-p4, the other 6.2-p7), and just display this on the console:

swap_pager: indefinite wait buffer: bufobj: 0, blkno: 33, size: 4096

It repeats and continues to be frozen until I reboot the machine.  The
machine responds to ping, but that's about it.  On one of my boxes, it
appears to happen under heavy use (though this is not always the
case...it's done it on me before when it's been completely idle).
There should be no reason for either of these machines to swap...one
of them has 4GB of RAM, the other has 2GB, and they never come close
to using it all (based on our statistics).

I've seen the various comments that it's probably bad hardware, but I
haven't been able to find anything.  I also saw there was a reference
in the todo for 6.1 (http://www.freebsd.org/releases/6.1R/todo.html)
about this.  Anyone know if there has been any updates to this?

Anyone have any info that could help me out?

Thanks,
--Brian

-- 
_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
Brian McCann

I don't have to take this abuse from you -- I've got hundreds of
people waiting to abuse me.
-- Bill Murray, Ghostbusters
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: One Laptop Per Child

2007-11-12 Thread Robert Marella
On Mon, 12 Nov 2007 14:04:04 +0700 (ICT)
Olivier Nicole [EMAIL PROTECTED] wrote:

  I am usually not the one to bring up these things but I feel very
  strongly about this. Starting Monday, November 12 this website is
  offering a give one get one deal. I believe the money will be well
  invested. YMMV
  
  http://xogiving.org/
 
 That is a difficult issue, while this is an opportunity, I doubt this
 is the most needed thing to provide education. We are talking giving
 laptop to people who do not even have electricity in some cases...
 
 Olivier

http://www.newsweek.com/id/41724
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dealing with a failing drive

2007-11-12 Thread Jerry McAllister
On Sat, Nov 10, 2007 at 05:22:06PM -0800, David Newman wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I'd welcome suggestions on how (or whether) to try to revive a SCSI
 drive that's failing.

to answer 'whether':  don't.   Get your stuff off from it as
soon as possible and nuke it if it has anything sensitive at all.

If it is a mirror or raid5 then you should be able to just replace it, but
otherwise, back it up immediately and quit using it.

Generally, if you start seeing a regular hard error, the drive
is on its last legs.   The errors only increase.You may be 
able to do things to get past this one error, but more will be
coming.

So, is answer to 'how': also don't.

jerry

 
 This is on FreeBSD 6.2-RELENG on a Compaq Proliant DL320, onboard RAID
 and two SCSI drives in a RAID1 array.
 
 Today this system rebooted and hung on Compaq's what do you want the
 RAID controller to do? message. I told it to fix any errors.
 
 When I brought the system back up (after running fsck in single-user
 mode), the log had lots of errors like this:
 
 Nov 10 09:00:40 mail kernel: ida0: hard write error
 Nov 10 09:00:40 mail kernel: ida0: invalid request
 Nov 10 09:01:48 mail last message repeated 35 times
 Nov 10 09:03:49 mail last message repeated 571 times
 Nov 10 09:12:27 mail last message repeated 796 times
 
 I vaguely remember trying about a year ago to load a SMART utility from
 the ports collection but it wouldn't work on drives in a RAID array.
 
 Is there some other way to:
 
 a) diagnose/fix the errant disk here?
 b) monitor the health of disks on a Compaq controller so it doesn't get
 to this point to begin with?
 
 thanks in advance
 
 dn
 
 
 
 
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.1 (Darwin)
 
 iD8DBQFHNlk+yPxGVjntI4IRAntlAJ9FWA2ez+BdnViq7mrIpkLBTLm/CgCfRyEA
 czDvMn6+8KjlI3V0iBG4U3I=
 =36+k
 -END PGP SIGNATURE-
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dealing with a failing drive

2007-11-12 Thread Jerry McAllister
On Sun, Nov 11, 2007 at 07:56:52AM -0800, David Newman wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 11/10/07 9:09 PM, Modulok wrote:
  I'd welcome suggestions on how (or whether) to try to revive a SCSI
  drive that's failing.
  
  It depends on how valuable the data on the array is, and more
  importantly, how much funding you have at your disposal to fix the
  problem. If it were me, I would set aside the bad disk, connect a new
  disk to the card and re-synchronize the array. (Assuming one of the
  members still retains a good copy of the data.) Afterwards I would
  destroy, or toss the existing disk in the trash can (depending on the
  sensitivity of the data stored on it.)
 
 Thanks for your reply.
 
 An update: After doing what you suggest (leaving in the good disk,
 adding a new disk, RAID rebuilding) I still got soft write errors --
 with *either one* of the disks I tried.
 
 Then I tried putting both disks in an identical server and they came up
 fine, no read or write errors.
 
 Ergo, the bad RAID controller is bad and the disks may be OK.

Probably not.
Generally, if the RAID controller is bad, you will see errors
all over and not it just one place, tho I suppose it is possible.
Check and see what it reports as error locations and see if they
move around any.

A soft error is usually one that can be corrected within the limits
of rereads and any error correction that the system is using.  It
may be that the error was introduced when the problems with the old
disk was occuring so that there was an error written on to the other
supposedly good disk and then mirrored to the new disk - errors can
be preserved by mirroring too.

Having said that, I don't know where this error is from.  Try reading up
and rewriting the data that is in the spot getting the error and then 
reading it from the new location.   It is pretty hard to figure out
and specifically rewrite one certain block on modern systems because
the physical locations are virtual.   Although you would expect the
same sector number to be in the same place from one write to the next,
if it happens that that sector gets remapped due to an error, then
it will actually be a different physical location the next time and
you don't really prove anything.   But, it is worth experimenting 
with if you want.

You can dd from and to any sector on the partition by carefully
using skip counts and block counts.   But, you have to figure out
the location (sector number) first.

Good luck,

jerry

 
  Is there some other way to:
  b)monitor the health of disks on a Compaq controller so it doesn't
  get to this point to begin with?
  
  There are various tools out there that attempt to 'monitor' the
  condition of disk drives to try and predict when failure is eminent.
  For valuable data, it is safer to setup a mirror and simply toss out
  bad disks as they fail. For extremely valuable data use a 3 disk
  array. With a 3 disk setup you will still be covered in the event that
  an additional disk craps out during the re-sync.
  
  To quote google's article on disk failure, regarding SMART:
 
 Right, I've heard it said that SMART isn't.
 
 Nonetheless, I'd appreciate any suggestions to monitor the health of
 disks -- and RAID controllers too -- on HP Proliant servers running FreeBSD.
 
 thanks again.
 
 dn
 
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.1 (Darwin)
 
 iD8DBQFHNyZDyPxGVjntI4IRAqk1AKCUwByNOAJZwvtD9V21TZfyaMWaxgCdFSCZ
 dZjf3ynK+4OffBzsDOawF9A=
 =DUqc
 -END PGP SIGNATURE-
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports with GUI configs

2007-11-12 Thread Mark D. Foster
Vince wrote:
 Ashley Moran wrote:
   
 Hi

 I was just wondering, what is the motivation behind the GUI
 configuration for some ports?  Simply put, they drive me up the wall. 
 I've lost count of the number of times I've come back to a big install
 to find it hanging on a config screen.  Possibly I'm missing something.
 
 I agree though, I often suffer the same problem, coming back after a few
 hours to a build that should have finished to find its sitting on the
 first dependency.
   
Maybe it's been suggested before (in which case I add my vote) but a
timeout mechanism would solve this... give the user 10s to provide a
keypress else bailout and use the default options.

-- 
Said one park ranger, 'There is considerable overlap between the 
 intelligence of the smartest bears and the dumbest tourists.'
Mark D. Foster, CISSP [EMAIL PROTECTED]  http://mark.foster.cc/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT: Beastie 3D-rendered

2007-11-12 Thread Jerry McAllister
On Sun, Nov 11, 2007 at 08:55:18PM +, Tino Engel wrote:

 Look what happened to Beastie:
 
 http://www.tilolit.de/images/tb/wallpapers/teufel.jpg

Cute, but the eyes seem a little out of sync with the
rest of the attention/address of the figure.   Also legs
are missing.

Or, am I not viewing it with the right thing?

Anyway, Check with the BSDie copyright holders to see if this is OK.
I believe it is Kirk Mckusick.

jerry

 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: disk drive serial number

2007-11-12 Thread Jerry McAllister
On Sun, Nov 11, 2007 at 06:38:08PM -0500, Josh Carroll wrote:

  is there a way to get the serial number from a drive from within the OS?  im
  trying to audit the drives in my file server, but without pulling the thing
  from the rack and cracking it open.  they are just standard sata drives, not
  on any sort of raid controller (ie, i know 3ware cards are capable of 
  pulling
  the drive info).
 
 Check dmesg (or /var/run/dmesg.boot). The serial number should show, e.g.:
 
 ad8: 381553MB Seagate ST3400633AS 3.AAH at ata4-master SATA150

Which is the serial?
I see the extended model id.

jerry

 
 Thanks,
 Josh
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question about floating point calcuation with shell script / bc

2007-11-12 Thread Patrick Dung
Hello Peter

Thanks, it work.

Regards
Patrick

--- Peter Boosten [EMAIL PROTECTED] wrote:

 On Mon, November 12, 2007 14:01, Patrick Dung wrote:
  Hi
 
 
  I have a file with numbers in each line.
  Each number is a decimal number.
  My task is to add them up and get the final answer.
 
 
  I have searched with the search engine.
  I found bash cannot handle floating point calculation.
 
 
  I tried to use 'bc' and found if the final answer is  1 (eg. 0.2)
  It display .2 instead of 0.2 (no leading zero).
 
 
  Any suggestion or other methods?
  I know ksh could do floating point calculation
  but I am now familiar with ksh.
 
 
 Try awk
 
 awk '{sum += $1} END {printf %.2f\n, sum}' file
 
 assuming the file consists only of numbers in the first column.
 
 Peter
 
 
 -- 
 http://www.boosten.org
 
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD questions

2007-11-12 Thread Jerry McAllister
On Mon, Nov 12, 2007 at 02:37:06PM +, Alex Zbyslaw wrote:

 Andy Greenwood wrote:
 
 If you want the newer versions of software from the ports tree, don't 
 limit your results by the tag. Basically, you're saying (IIRC) I want 
 the version of the port that was included with this release instead 
 of I want the most recent version of this port. the release versions 
 of the ports will only be updated for bug fixes, etc. 
 
 Unless something has changed recently, this is not correct.
 
 The release versions of the ports are *never* updated for anything; not 
 security fixes, not features, nothing.  The ports tree is not like, say, 
 Fedora Linux rpms.

I think what you want to say may be correct, but this is confusing.
Ports are updated all along as port maintainers get to it.  In general
the ports system does not have release identifiers.  It is also not
specifically tied to any release.   It just happens that a particilar
'snapshot' of the condition of the ports tree is put on an ISO and
for good measure, gets frozen a while to give time to check it out.
But, as soon as that freeze is over (which pretty much corresponds to
the timing of a base system RELEASE), updates begin again as the port
maintainers get around to making improvements.So, a certain condition
of the ports tree and the individual ports conceptually gets tied to
a certain RELEASE, but in reality is not, since changes continue to
be made and you will get the most recent condidition of the ports if
you do an install over the net.   You will get the 'RELEASE' condition
only if you install only from the ISO-s.  

Now, when changes are made to ports, they should be tested against
something and I don't know just what they get tested against between
freezes.So, whether you csup your ports tree and install over
the net or install from the ISO you have burned to a CD may depend
on whether an updated version of a port will work with the stuff you
are trying to install it over.   You may have to test.   Generally
the latest version is the best, but sometimes the updates may have
moved the port beyond where your base system is at the moment.

Of course, you could also upgrade your base system - if you need 
that latest instantiation of the port.

The point being that ports are almost continuously being updated
except for that freeze period.   But, there is no general-systemwide
versioning system for the ports. So, in in the base system RELEASE 
sense, ports is not updated - there are no numbers to update.  But it 
is updated, in the sense that improvement are continuously made - depending
on the maintainer.

jerry

 
 What you say is true of the *base* system, but not true for ports.
 
 Technically, the ports tree is not branched, because it's a) too much of 
 a maintenance burden and b) apparently CVS is likely to struggle, which 
 I can believe.
 
 The ports tree is *tagged* (not branched) when the release ISOs are 
 made, and those tags are never moved.
 
 For cv(s)uping ports there are only two reasonable tags, as far as I know:
 
 .  which means the latest ports tree or
 
 a date: when you desperately need to get back to the ports tree you had 
 say a week ago because it worked and your current one doesn't and you 
 are desperate.
 
 --Alex
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Botched X.org upgrade, need help

2007-11-12 Thread Tom Russo
On Fri, Nov 09, 2007 at 03:26:15AM +, we recorded a bogon-computron 
collision of the [EMAIL PROTECTED] flavor, containing:
 On Thursday 08 November 2007, Andrew Falanga said:
  On Nov 8, 2007 12:37 PM, Warren Block [EMAIL PROTECTED] wrote:
   On Thu, 8 Nov 2007, Andrew Falanga wrote:
Well, at last I think it's botched.  I really was following the
   directions
[...]
  (WW) Warning, couldn't open module pcidata
  (II) UnloadModule: pcidata
  (EE) Failed to load module pcidata (module does not exist, 0)
 
  Fatal server error:
  Unable to load required base modules, Exiting...
 

I had a very similar experience, with the X server reporting missing modules
immediately after I thought I'd followed the upgrade instructions to the 
letter (including the portupgrade -a, migrating all the /usr/X11R6 stuff with 
mergebase, and various nvidia-driver caveats).  Turns out that in my case the 
xorg-drivers and xorg-fonts ports had not been added by the upgrade process, 
probably because I had a missing metaport in my previous install.  That was
the one block of caveats I apparently missed.  In the end, I was able to 
just do a make install of the xorg metaport and it picked up the missing 
two, then I was back in business.

Perhaps that's what's going on with you?  Or perhaps not --- I see you also
mentioned you hadn't updated ModulePath, and perhaps that was the only reason
you are having problems?  I didn't see a follow-up saying that was it. 

-- 
Tom RussoKM5VY   SAR502   DM64ux  http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236 AHTB#1 http://kevan.org/brain.cgi?DDTNM
And, isn't sanity really just a one-trick pony anyway? I mean all you get is
 one trick, rational thinking, but when you're good and crazy, oooh, oooh,
 oooh, the sky is the limit!  --- The Tick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dealing with a failing drive

2007-11-12 Thread David Newman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/12/07 8:14 AM, Jerry McAllister wrote:

 An update: After doing what you suggest (leaving in the good disk,
 adding a new disk, RAID rebuilding) I still got soft write errors --
 with *either one* of the disks I tried.
 
 Then I tried putting both disks in an identical server and they came up
 fine, no read or write errors.
 
 Ergo, the bad RAID controller is bad and the disks may be OK.
 
 Probably not.
 Generally, if the RAID controller is bad, you will see errors
 all over and not it just one place, tho I suppose it is possible.
 Check and see what it reports as error locations and see if they
 move around any.

Jerry, thanks for your response.

After 36 hours of running the same disks in a different, identical
machine there hasn't been a single read or write error. I'm hardly a
storage expert but from the evidence I have I'm inclined to believe the
root cause was a bad RAID controller and not failed disks.

I'm aware of CLI tools to monitor 3Ware SATA RAID controllers. Anyone
know if there are similar tools for HP/Compaq SCSI RAID controllers?

thanks

dn
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFHOIzOyPxGVjntI4IRAmMWAJ4grMR6mcL/j9qbcGY/fJfDEqv3KgCg8BVW
wcHVDkZPykFcQzVYnp8mx+g=
=8rws
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dealing with a failing drive

2007-11-12 Thread Jerry McAllister
On Mon, Nov 12, 2007 at 09:26:38AM -0800, David Newman wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 11/12/07 8:14 AM, Jerry McAllister wrote:
 
  An update: After doing what you suggest (leaving in the good disk,
  adding a new disk, RAID rebuilding) I still got soft write errors --
  with *either one* of the disks I tried.
  
  Then I tried putting both disks in an identical server and they came up
  fine, no read or write errors.
  
  Ergo, the bad RAID controller is bad and the disks may be OK.
  
  Probably not.
  Generally, if the RAID controller is bad, you will see errors
  all over and not it just one place, tho I suppose it is possible.
  Check and see what it reports as error locations and see if they
  move around any.
 
 Jerry, thanks for your response.
 
 After 36 hours of running the same disks in a different, identical
 machine there hasn't been a single read or write error. I'm hardly a
 storage expert but from the evidence I have I'm inclined to believe the
 root cause was a bad RAID controller and not failed disks.

That is not much proof. 
The different machine would probably be accessing the disks in
a different way, either slightly different positioning or using
different space.   Also, 36 hours is not really much time.

It could be you are right, but disks have a way of starting small
in errors and then avalanching on you with accelerating volume
of errors just when you begin to feel safe.

You could be right, but is the price of a disk worth it - the
price of a new RAID controller, for that matter?   Replace them
both.

jerry

 
 I'm aware of CLI tools to monitor 3Ware SATA RAID controllers. Anyone
 know if there are similar tools for HP/Compaq SCSI RAID controllers?
 
 thanks
 
 dn
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.3 (Darwin)
 
 iD8DBQFHOIzOyPxGVjntI4IRAmMWAJ4grMR6mcL/j9qbcGY/fJfDEqv3KgCg8BVW
 wcHVDkZPykFcQzVYnp8mx+g=
 =8rws
 -END PGP SIGNATURE-
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


7.0 install

2007-11-12 Thread Chad Albert
I have downloaded the 7.0 beta 2 ISO file for i386.  I am trying to 
install it on an ASUS G1S laptop.  6.2 works very nicely all except 
support for the WIFI card (Intel 4965AGN).  When I insert the Install CD 
and start going through the steps, it seems as if every key I press 
sends a ctrl key with it.  When I choose to create a partition it just 
pops up and aks if I would like to abort or restart the install.  Has 
anybody else seen this?  I don't see a report of it anywhere, but I 
thought I would ask here before submitting a pr.


TIA

--

Chad Albert, MCSE, MCP+I


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 7.0 install

2007-11-12 Thread Roland Smith
On Mon, Nov 12, 2007 at 11:04:52AM -0600, Chad Albert wrote:
 I have downloaded the 7.0 beta 2 ISO file for i386.  I am trying to install 
 it on an ASUS G1S laptop.  6.2 works very nicely all except support for the 
 WIFI card (Intel 4965AGN).  When I insert the Install CD and start going 
 through the steps, it seems as if every key I press sends a ctrl key with 
 it. 

If you have trouble with the installer, and you already have 6.2 on it,
why don't you do a source upgrade as covered in the handbook?

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp7Cq6qv2nJR.pgp
Description: PGP signature


Re: Ports with GUI configs

2007-11-12 Thread Jonathan McKeown
On Monday 12 November 2007 17:48, Erik Trulsson wrote:
 On Mon, Nov 12, 2007 at 03:26:00PM +, Ashley Moran wrote:
 I've lost count of the number of times I've come back to a big
 install to find it hanging on a config screen.  Possibly I'm missing
 something.
[snip]
 What is the best way to pre-configure GUI-configured ports?  For example, 
 if I want to script an installation of several ports.

 'make config-recursive' to pop up all the config-dialogs before you
 start building[...]

I discovered this recently. My big irritation, having decent bandwidth at work 
and a dialup at home, was fetching ``all'' the required sources for an 
overnight build on my laptop, finding in the morning that a dialog had popped 
up during the night and stopped the build, selecting a non-standard option 
and restarting only to find that it brought in a bunch more dependencies - 
over my phone line.

I now run make config-recursive repeatedly until dialogs stop appearing, then 
fetch, then build. This recently cut down a build of X.org and KDE from a 
week (wall time) to less than 24 hours - from memory I ran make 
config-recursive three or four times on x11/kde3 alone.

(Oh, I also got ADSL which helped with the downloads).

Jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports with GUI configs

2007-11-12 Thread RW
On Mon, 12 Nov 2007 08:14:02 -0800
Mark D. Foster [EMAIL PROTECTED] wrote:

 Vince wrote:
  Ashley Moran wrote:

  Hi
 
  I was just wondering, what is the motivation behind the GUI
  configuration for some ports?  Simply put, they drive me up the
  wall. I've lost count of the number of times I've come back to a
  big install to find it hanging on a config screen.  Possibly I'm
  missing something. 
  I agree though, I often suffer the same problem, coming back after
  a few hours to a build that should have finished to find its
  sitting on the first dependency.

 Maybe it's been suggested before (in which case I add my vote) but a
 timeout mechanism would solve this... give the user 10s to provide a
 keypress else bailout and use the default options.
 

That would involve standing-over the build for hours or days in case
you miss a 10-second window - it's just not practical IMO.


Setting the menus is pretty easy to script, and you can also set BATCH
to take the default options
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports with GUI configs

2007-11-12 Thread Manolis Kiagias


RW wrote:
 On Mon, 12 Nov 2007 08:14:02 -0800
 Mark D. Foster [EMAIL PROTECTED] wrote:

   
 Vince wrote:
 
 Ashley Moran wrote:
   
   
 Hi

 I was just wondering, what is the motivation behind the GUI
 configuration for some ports?  Simply put, they drive me up the
 wall. I've lost count of the number of times I've come back to a
 big install to find it hanging on a config screen.  Possibly I'm
 missing something. 
 
 I agree though, I often suffer the same problem, coming back after
 a few hours to a build that should have finished to find its
 sitting on the first dependency.
   
   
 Maybe it's been suggested before (in which case I add my vote) but a
 timeout mechanism would solve this... give the user 10s to provide a
 keypress else bailout and use the default options.

 

 That would involve standing-over the build for hours or days in case
 you miss a 10-second window - it's just not practical IMO.


 Setting the menus is pretty easy to script, and you can also set BATCH
 to take the default options
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


   
And in fact you can make all these screens appear before actually compiling:

make config-recursive

(select all wanted options)

make install clean  (no more questions asked)

it is all in the manual: man ports
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: One Laptop Per Child

2007-11-12 Thread Chuck Robey

Olivier Nicole wrote:

I am usually not the one to bring up these things but I feel very
strongly about this. Starting Monday, November 12 this website is
offering a give one get one deal. I believe the money will be well
invested. YMMV

http://xogiving.org/


That is a difficult issue, while this is an opportunity, I doubt this
is the most needed thing to provide education. We are talking giving
laptop to people who do not even have electricity in some cases...


You ought to actually _visit_ one or more of the schools that have 
practical computers for the kids.  At least in my own experience, well, 
it's very disillusioning.  The teachers have only a vague notion about 
what a compuiter is, so basically the students are given some  games to 
waste their time with, and graded on how quiet they are while playing. 
The teachers themselves are usually actually frightened of the machines, 
 so they react negatively to anyone who volunteers to teach computers.


I wish it wasn't this way.  Maybe it's just in the schools I visited? 
If so, anyone have a better experience?  Until I hear of some, I won't 
contribute to any computers for kids deal, because  it only benefits 
big computer companies, who sell the machines, not the kids.



Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports with GUI configs

2007-11-12 Thread Chuck Robey

RW wrote:

On Mon, 12 Nov 2007 08:14:02 -0800
Mark D. Foster [EMAIL PROTECTED] wrote:


Vince wrote:

Ashley Moran wrote:
  

Hi

I was just wondering, what is the motivation behind the GUI
configuration for some ports?  Simply put, they drive me up the
wall. I've lost count of the number of times I've come back to a
big install to find it hanging on a config screen.  Possibly I'm
missing something. 

I agree though, I often suffer the same problem, coming back after
a few hours to a build that should have finished to find its
sitting on the first dependency.
  

Maybe it's been suggested before (in which case I add my vote) but a
timeout mechanism would solve this... give the user 10s to provide a
keypress else bailout and use the default options.



That would involve standing-over the build for hours or days in case
you miss a 10-second window - it's just not practical IMO.


Setting the menus is pretty easy to script, and you can also set BATCH
to take the default options


A suggestion I recently made on the ports list would, as a side effect, 
make a better solution.  You see, allowing a default timer does get 
things built, but then it allows no user input to let users avoid 
installing software  that they either have no ise for, or do not want 
for other reasons.  I have enough input now, so I'm going ahead and 
coding up the Makefile mods to allow my system, but it looks somewhat 
like the Gentoo Portage USE flags system.  Not identical, and I am 
only proposing to use their USE flags, not the rest (I very much like 
using Makefiles as FreeBSD ports does, and wouldn't change that.)


If you want to see what it is, go look at recent postings on ports list. 
 It'll probably get changed, as I get something for folks to look at 
and discuss.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[OFFTOPIC] Re: One Laptop Per Child

2007-11-12 Thread Pollywog
On Monday 12 November 2007 19:06:28 Chuck Robey wrote:

 I wish it wasn't this way.  Maybe it's just in the schools I visited?
 If so, anyone have a better experience?  Until I hear of some, I won't
 contribute to any computers for kids deal, because  it only benefits
 big computer companies, who sell the machines, not the kids.

It is true that the companies that sell computers and software benefit, but 
the same could be said of companies that sell state-approved textbooks to 
schools (if you have seen those textbooks you know what I mean), the 
companies that sell shoes for sports, etc.  There is one large software 
company that gives some software to schools and then gets a tax cut even 
though it benefits down the line when those kids grow up to buy that 
company's software because that is the software they know.

I still think it is better for kids to know how to use computers, even if a 
few business people also benefit.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: One Laptop Per Child

2007-11-12 Thread Kevin Kinsey

Chuck Robey wrote:


I am usually not the one to bring up these things but I feel very
strongly about this. Starting Monday, November 12 this website is
offering a give one get one deal. I believe the money will be well
invested. YMMV

http://xogiving.org/


That is a difficult issue, while this is an opportunity, I doubt this
is the most needed thing to provide education. We are talking giving
laptop to people who do not even have electricity in some cases...


You ought to actually _visit_ one or more of the schools that have 
practical computers for the kids.  At least in my own experience, well, 
it's very disillusioning.  The teachers have only a vague notion about 
what a compuiter is, so basically the students are given some  games to 
waste their time with, and graded on how quiet they are while playing. 
The teachers themselves are usually actually frightened of the machines, 
 so they react negatively to anyone who volunteers to teach computers.


I wish it wasn't this way.  Maybe it's just in the schools I visited? If 
so, anyone have a better experience?  Until I hear of some, I won't 
contribute to any computers for kids deal, because  it only benefits 
big computer companies, who sell the machines, not the kids.


I'd say that it is possible your observations have clued you in on
a large problem.  Of course, it's likely not that way everywhere, but
one result of a lack of teacher education re: computers is that people
tend to think that they are computer literate if they can handle an
office suite and use a pointy-clicky interface to build web pages
--- which explains a few things about the culture at large.

Another problem is that use of the Internet for research in
writing papers, etc. often misses the crucial old school step
of actually writing notes based on the books your read before
you begin the paper.  Recently I read a report by a 9th grader that
was composed mostly of direct quotes from Wikipedia, et al, with
no attribution whatsoever.  Copy n Paste may work in elementary
art classes, but it's no good in academic research unless great
pains are taken to ensure understanding and proper attribution.

And, this may be near the real heart of the issue.  I don't think
that many school administrators feel that games, educational or not,
are the reason that schools should have computers.  I think that, in
large extent, computers were added when some of them discovered that
the Internet could give you more volumes of information than the
school library, without leaving your seat or requiring a hall pass.

And that is why teachers should be a little more geeky, perhaps.
Plugging a child's computer into the network without knowledgeable
and *personal* guidance will pretty much guarantee that most kids
end up on the baser end of the 'Net, rather than the best.  And,
for the most part, teachers are no less busy than they were 10,
20, or 30 years ago.

My $.02,

Kevin Kinsey
--
There has been a little distress selling on the stock exchange.
-- Thomas W. Lamont, October 29, 1929
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: One Laptop Per Child

2007-11-12 Thread Bahman M.
On 2007-11-12 Olivier Nicole wrote:
  I am usually not the one to bring up these things but I feel very
  strongly about this. Starting Monday, November 12 this website is
  offering a give one get one deal. I believe the money will be well
  invested. YMMV
  
  http://xogiving.org/
 
 That is a difficult issue, while this is an opportunity, I doubt this
 is the most needed thing to provide education. We are talking giving
 laptop to people who do not even have electricity in some cases...

I second the idea.

No doubt that OLPC is a great effort but I wonder how such ideas will
be useful in 3rd world countries where the IT infrastructures are so
poor that even dial-up Internet is not available in some towns, let
alone villages and rural regions.  I try to be not cynic but there are
so many problems in education system that learning how to use a
computer has a low priority.

Anyway, let's hope OLPC will do what it's supposed to do.

-- 
Bahman Movaqar

Whenever there are great virtues, it's a sure sign something's wrong.
-Bertolt Brecht
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports with GUI configs

2007-11-12 Thread Garrett Cooper

Chuck Robey wrote:

RW wrote:

On Mon, 12 Nov 2007 08:14:02 -0800
Mark D. Foster [EMAIL PROTECTED] wrote:


Vince wrote:

Ashley Moran wrote:
 

Hi

I was just wondering, what is the motivation behind the GUI
configuration for some ports?  Simply put, they drive me up the
wall. I've lost count of the number of times I've come back to a
big install to find it hanging on a config screen.  Possibly I'm
missing something. 

I agree though, I often suffer the same problem, coming back after
a few hours to a build that should have finished to find its
sitting on the first dependency.
  

Maybe it's been suggested before (in which case I add my vote) but a
timeout mechanism would solve this... give the user 10s to provide a
keypress else bailout and use the default options.



That would involve standing-over the build for hours or days in case
you miss a 10-second window - it's just not practical IMO.


Setting the menus is pretty easy to script, and you can also set BATCH
to take the default options


A suggestion I recently made on the ports list would, as a side 
effect, make a better solution.  You see, allowing a default timer 
does get things built, but then it allows no user input to let users 
avoid installing software  that they either have no ise for, or do not 
want for other reasons.  I have enough input now, so I'm going ahead 
and coding up the Makefile mods to allow my system, but it looks 
somewhat like the Gentoo Portage USE flags system.  Not identical, 
and I am only proposing to use their USE flags, not the rest (I very 
much like using Makefiles as FreeBSD ports does, and wouldn't change 
that.)


If you want to see what it is, go look at recent postings on ports 
list.  It'll probably get changed, as I get something for folks to 
look at and discuss.


   USE flags are a pain in the ass (former Gentoo user of 3 years). 
Introducing that type of complexity into a ports system isn't necessary 
and does unexpected things at times for end-users when developers change 
variable names or behavior, which happened quite often with Gentoo.
   make config-all or something similar to have people fill in their 
desired config info in all of the ncurses config sections would however 
be a much better idea I think..

-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports with GUI configs

2007-11-12 Thread [LoN]Kamikaze
Garrett Cooper wrote:
 Chuck Robey wrote:
 RW wrote:
 On Mon, 12 Nov 2007 08:14:02 -0800
 Mark D. Foster [EMAIL PROTECTED] wrote:

 Vince wrote:
 Ashley Moran wrote:
  
 Hi

 I was just wondering, what is the motivation behind the GUI
 configuration for some ports?  Simply put, they drive me up the
 wall. I've lost count of the number of times I've come back to a
 big install to find it hanging on a config screen.  Possibly I'm
 missing something. 
 I agree though, I often suffer the same problem, coming back after
 a few hours to a build that should have finished to find its
 sitting on the first dependency.
   
 Maybe it's been suggested before (in which case I add my vote) but a
 timeout mechanism would solve this... give the user 10s to provide a
 keypress else bailout and use the default options.


 That would involve standing-over the build for hours or days in case
 you miss a 10-second window - it's just not practical IMO.


 Setting the menus is pretty easy to script, and you can also set BATCH
 to take the default options

 A suggestion I recently made on the ports list would, as a side
 effect, make a better solution.  You see, allowing a default timer
 does get things built, but then it allows no user input to let users
 avoid installing software  that they either have no ise for, or do not
 want for other reasons.  I have enough input now, so I'm going ahead
 and coding up the Makefile mods to allow my system, but it looks
 somewhat like the Gentoo Portage USE flags system.  Not identical,
 and I am only proposing to use their USE flags, not the rest (I very
 much like using Makefiles as FreeBSD ports does, and wouldn't change
 that.)

 If you want to see what it is, go look at recent postings on ports
 list.  It'll probably get changed, as I get something for folks to
 look at and discuss.
 
USE flags are a pain in the ass (former Gentoo user of 3 years).
 Introducing that type of complexity into a ports system isn't necessary
 and does unexpected things at times for end-users when developers change
 variable names or behavior, which happened quite often with Gentoo.
make config-all or something similar to have people fill in their
 desired config info in all of the ncurses config sections would however
 be a much better idea I think..
 -Garrett

Are you talking about make config-recursive?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 7.0 install

2007-11-12 Thread Garrett Cooper

Chad Albert wrote:
I have downloaded the 7.0 beta 2 ISO file for i386.  I am trying to 
install it on an ASUS G1S laptop.  6.2 works very nicely all except 
support for the WIFI card (Intel 4965AGN).  When I insert the Install 
CD and start going through the steps, it seems as if every key I press 
sends a ctrl key with it.  When I choose to create a partition it just 
pops up and aks if I would like to abort or restart the install.  Has 
anybody else seen this?  I don't see a report of it anywhere, but I 
thought I would ask here before submitting a pr.


TIA

--

Chad Albert, MCSE, MCP+I


I'd follow the suggestion made by RW and be sure to report this issue 
after looking at the following directions: 
http://www.freebsd.org/support/bugreports.html.


Cheers,
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: swap_pager: indefinite wait buffer

2007-11-12 Thread Chuck Swiger

On Nov 12, 2007, at 7:38 AM, Brian McCann wrote:

Hi all.  I'm sure some of you have seen this, and I'm looking for some
advice.  I've got 2 servers now that will completely lockup (one is
6.1-p4, the other 6.2-p7), and just display this on the console:

swap_pager: indefinite wait buffer: bufobj: 0, blkno: 33, size: 4096

It repeats and continues to be frozen until I reboot the machine.


It means that the swap system was unable to retrieve info from the  
disk in a reasonable period of time, and generally is a strong sign  
that the disk drive is in the final stages of failing.  Running  
smartmonutils or a manufacturer's test utility is recommended


--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cups-base upgrade and samba

2007-11-12 Thread Kurt Buff
According to my portaudit, cups-base has security problems, and I
can't get samba going because of it.

http://www.FreeBSD.org/ports/portaudit/8dd9722c-8e97-11dc-b8f6-001c2514716c.html

According to the above URL, this problem affects v1.3.4, and 1.3.3_1
is the latest port, from the CVSUP I did today, and it errors out when
doing a 'portupgrad -aRr'

Seems I can't get there from here.

Any suggestions on how to move forward with this?

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports with GUI configs

2007-11-12 Thread RW
On Mon, 12 Nov 2007 21:04:12 +0200
Manolis Kiagias [EMAIL PROTECTED] wrote:

 
 
 RW wrote:
  On Mon, 12 Nov 2007 08:14:02 -0800

 
  Setting the menus is pretty easy to script, and you can also set
  BATCH to take the default options

 And in fact you can make all these screens appear before actually
 compiling:
 
 make config-recursive
 
 (select all wanted options)
 
 make install clean  (no more questions asked)

Yes, but that doesn't work if you are doing a portupgrade -a, you then
need to wrap the makes in a simple script, which is what I was referring
to. Portmaster has something like this built-in.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Claws+spamd: No spam is detected

2007-11-12 Thread Martin Hepworth
ah - must read better, thought you said clam ;-)

try the claws users email list..

[EMAIL PROTECTED]

--
Martin

On Nov 12, 2007 8:15 AM, Bahman M. [EMAIL PROTECTED] wrote:

 On 2007-11-11 Martin Hepworth wrote:
  HI
 
  you need to tell the MTA to pass email through spamassassin/clamav
  somehow. Depending on what you're MTA is (sendmail/exim/postfix etc)
  its different.
 
  try sendmail spamassassin for example in google..
 
  --
  martin
 
  On Nov 11, 2007 4:13 PM, Bahman M. [EMAIL PROTECTED] wrote:
   Hi all,
  
   I have Claws-Mail and spamd installed (from ports) and although I
   have been using this combination -I've been been manually marking
   all spams as 'spam'- for more than 2 months, still _no_ spam
   message is detected.
  
   I've followed the instructions on Claws/spamd wiki.  I've got the
   followings in /etc/rc.conf:
  spamd_enable=YES
  spamd_flags=-C /usr/local/etc/spamd -i 127.0.0.1 -p 783 -u
   spamd -d -l
   Also Claws configuration parameters exactly match the spamd_flags
   above.
  
  
   System information:
   % uname -a
   FreeBSD attila 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #2: Fri Sep  7
   14:23:40 IRST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HELIUM  i386
  
   % spamd -V
   SpamAssassin Server version 3.2.3
 running on Perl 5.8.8
 with SSL support (IO::Socket::SSL 1.08)
 with zlib support (Compress::Zlib 2.006)
  
   % claws-mail --version
   Claws Mail version 3.0.0
  
   What am I doing wrong?  What should I do to enable Claws/spamd
   detect spam? I'd appreciate any hint/help.

 You mean spam doesn't get detected unless I run a MTA -configured to
 pass emails to spamd?

 I thought Claws could communicate with spamd on its own without any need
 to a MTA (corrections?).

 --
 Bahman Movaqar

 Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety.
 -Benjamin Franklin

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [OFFTOPIC] Re: One Laptop Per Child

2007-11-12 Thread Bill Campbell
On Mon, Nov 12, 2007, Pollywog wrote:
On Monday 12 November 2007 19:06:28 Chuck Robey wrote:

 I wish it wasn't this way.  Maybe it's just in the schools I visited?
 If so, anyone have a better experience?  Until I hear of some, I won't
 contribute to any computers for kids deal, because  it only benefits
 big computer companies, who sell the machines, not the kids.

It is true that the companies that sell computers and software benefit, but 
the same could be said of companies that sell state-approved textbooks to 
schools (if you have seen those textbooks you know what I mean), the 
companies that sell shoes for sports, etc.  There is one large software 
company that gives some software to schools and then gets a tax cut even 
though it benefits down the line when those kids grow up to buy that 
company's software because that is the software they know.

The biggest problem I see with computers in classrooms is that
they distract the student's attention from the teacher.  I know
that I have to back away from my computer completely when talking
on the phone, unless I'm doing direct support at the time,
because I find myself distracted from the conversation.

I'll leave it at that as I don't want to take this in the
direction of government schools as indoctrination centers.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

We shouldn't elect a President;  we should elect a magician.
Will Rogers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PF, bridge, states and window scaling problem

2007-11-12 Thread Alupului Costin
Hello all,

I seem to have quite a problem with PF. I have set up a bridge to
shape my upstream traffic. I use ALTQ with hfsc discipline; but that's
not really important. My problem comes with the filter rules. I have
to use keep state because of the speed benefits (really I don't have a
choice), but PF has a problem when the clients passing traffic through
the bridge use TCP window scaling. Here is an example of four filter
rules that I thought should work to pass the traffic from one client
through the bridge and create a state:

pass in quick on vlan0 from any to anIP/32
pass out quick on vlan0 from anIP/32 to any keep state queue ul_client
pass in quick on vlan1 from anIP/32 to any
pass out quick on vlan1 from any to anIP/32 keep state queue dl_client

The above rules generate state-mismatches. I thought that would be
because pf doesn't see the SYN packet, although it does (one of the
out rules) and should create the state then... I tried writing all the
rules with keep state (even the inbound ones) but then nothing would
work at all. My intention was to create if-bound states, but I
switched back to floating states in the hope that pf would associate
the state created by an outbound rule with the traffic returning on
another interface of the bridge; still didn't work.

I have read the man page for if_bridge and set the following sysctl variables:

net.link.bridge.pfil_onlyip: 1
net.link.bridge.pfil_bridge: 0
net.link.bridge.pfil_member: 1

I have also read some posts on the web that said that pf simply
doesn't have all the hooks necesary to do the filtering inbound and
outbound, but reading the pfil man page I seem to disaggree with that.

Has anyone encountered the same problem? And, more important: if i
give up the bridge setup and switch to routing, would that have any
effect? I.E: will I then be able to use keep state with the inbound
rules?

Any help at all would be hugely appreciated as I am trying for about a
week to sort out this problem and can't seem to get any closer. The
only solution was to kindly ask my clients using TCP window scaling
(Vista mostly) to turn off this feature... Now I am seriously
considering bumping my bridge to a router but I am not sure that the
problem will be solved then.

Oh, here is the setup of the bridge from rc.conf, although there
shouldn't be any problems there (the bridge works fine without pf, or
with pf stateless):

#
# Core: em2 - vlan1
# Border:   em1 - vlan0
# Bridge0   vlan0 -- vlan1
#
cloned_interfaces=bridge0 vlan0 vlan1
ifconfig_em0=up
ifconfig_em1=up
ifconfig_em2=up
ifconfig_vlan0=vlan 132 vlandev em1 up
ifconfig_vlan1=vlan 132 vlandev em2 up
ifconfig_bridge0=addm vlan0 addm vlan1 up
# Admin iface
ifconfig_em0=inet adminIP netmask 255.255.255.0


Regards,
Costin Alupului
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports with GUI configs

2007-11-12 Thread RW
On Mon, 12 Nov 2007 14:18:50 -0500
Chuck Robey [EMAIL PROTECTED] wrote:

  Setting the menus is pretty easy to script, and you can also set
  BATCH to take the default options
 
 A suggestion I recently made on the ports list would, as a side
 effect, make a better solution. 

I don't see why it would. It wouldn't eliminate the config screens - 
many, if not most, of the existing options couldn't be handled like
that.

I find the config screens to be a useful way of keeping on top of new
functionality, and it's pretty trivial to get them out of the way at
the start of an upgrade. All that's really needed is to add this
feature (that portmaster already has) to portupgrade.

What I've found to be a more awkward problem is ports with interactive
deinstall scripts. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd-update fetching files failed

2007-11-12 Thread Joe

How can I troubleshoot these errors below?

* The tool does report anything useful other than failed.
* There does not appear to be a logfile for failures.
* There does not appear to be any debug options.

Also, /var/db/freebsd-update


# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching metadata signature from update1.FreeBSD.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 18 patches. done.
Applying patches... done.
Fetching 17 files... failed.


# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching metadata signature from update1.FreeBSD.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 16 patches. done.
Applying patches... done.
Fetching 15 files... failed.



Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights  
reserved.

FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2790.72-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9
   
Features 
= 
0xbfebfbff 
 
FPU 
,VME 
,DE 
,PSE 
,TSC 
,MSR 
,PAE 
,MCE 
,CX8 
,APIC 
,SEP 
,MTRR 
,PGE 
,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE



Yes, I patched freebsd-update according to:

http://security.freebsd.org/advisories/FreeBSD-EN-07:05.freebsd-update.asc


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Claws+spamd: No spam is detected

2007-11-12 Thread Bahman M.
On 2007-11-12 Martin Hepworth wrote:
 ah - must read better, thought you said clam ;-)
 
 try the claws users email list..
 
 [EMAIL PROTECTED]
 
 --
 Martin
 
 On Nov 12, 2007 8:15 AM, Bahman M. [EMAIL PROTECTED] wrote:
 
  On 2007-11-11 Martin Hepworth wrote:
   HI
  
   you need to tell the MTA to pass email through spamassassin/clamav
   somehow. Depending on what you're MTA is (sendmail/exim/postfix
   etc) its different.
  
   try sendmail spamassassin for example in google..
  
   --
   martin
  
   On Nov 11, 2007 4:13 PM, Bahman M. [EMAIL PROTECTED]
   wrote:
Hi all,
   
I have Claws-Mail and spamd installed (from ports) and although
I have been using this combination -I've been been manually
marking all spams as 'spam'- for more than 2 months, still _no_
spam message is detected.
   
I've followed the instructions on Claws/spamd wiki.  I've got
the followings in /etc/rc.conf:
   spamd_enable=YES
   spamd_flags=-C /usr/local/etc/spamd -i 127.0.0.1 -p 783 -u
spamd -d -l
Also Claws configuration parameters exactly match the
spamd_flags above.
   
   
System information:
% uname -a
FreeBSD attila 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #2: Fri
Sep  7 14:23:40 IRST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/HELIUM  i386
   
% spamd -V
SpamAssassin Server version 3.2.3
  running on Perl 5.8.8
  with SSL support (IO::Socket::SSL 1.08)
  with zlib support (Compress::Zlib 2.006)
   
% claws-mail --version
Claws Mail version 3.0.0
   
What am I doing wrong?  What should I do to enable Claws/spamd
detect spam? I'd appreciate any hint/help.
 
  You mean spam doesn't get detected unless I run a MTA -configured to
  pass emails to spamd?
 
  I thought Claws could communicate with spamd on its own without any
  need to a MTA (corrections?).

Will do.

Thanks,

-- 
Bahman Movaqar

One who is allowed to sin, sins less.
-Ovid
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [OFFTOPIC] Re: One Laptop Per Child

2007-11-12 Thread Chuck Robey

Pollywog wrote:

On Monday 12 November 2007 19:06:28 Chuck Robey wrote:

I wish it wasn't this way.  Maybe it's just in the schools I visited?
If so, anyone have a better experience?  Until I hear of some, I won't
contribute to any computers for kids deal, because  it only benefits
big computer companies, who sell the machines, not the kids.


It is true that the companies that sell computers and software benefit, but 
the same could be said of companies that sell state-approved textbooks to 
schools (if you have seen those textbooks you know what I mean), the 
companies that sell shoes for sports, etc.  There is one large software 
company that gives some software to schools and then gets a tax cut even 
though it benefits down the line when those kids grow up to buy that 
company's software because that is the software they know.


Yeah, but in this case, I know more: a lady friend of mine was an editor 
for a large educational publishing house.  Those places (and more 
specifically the folks that work in them) are rather embarrassed at 
having to put all that garbage into state textbooks, but the state 
boards of education require it.  They don't want to do it, but they have 
to, to be able to sell their product.  The local state officials are at 
fault here, not the companies nor those who work for them.  I used to 
listen by the hour to complaints about the stupidity and cupidity of 
those state officials, from that lady.


I still think it is better for kids to know how to use computers, even if a 
few business people also benefit.


Hmm.  Several of the classes I walked into were disappointing to me, 
where the kids were made to feel good at being able to play computer 
games well.  If you think that's good for kids, it's your money, I 
suppose.  The teachers were given no training whatever in computers, so 
they had no ability to do better.  I would not contribute to such an 
item.  A program that produces better educational software, that I could 
see, but not giving computers to schools, that is very counter-productive.


Let them eat Doom!  I think we should move this to FreeBSD-chat.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports with GUI configs

2007-11-12 Thread Garrett Cooper

[LoN]Kamikaze wrote:

Garrett Cooper wrote:
  

Chuck Robey wrote:


RW wrote:
  

On Mon, 12 Nov 2007 08:14:02 -0800
Mark D. Foster [EMAIL PROTECTED] wrote:



Vince wrote:
  

Ashley Moran wrote:
 


Hi

I was just wondering, what is the motivation behind the GUI
configuration for some ports?  Simply put, they drive me up the
wall. I've lost count of the number of times I've come back to a
big install to find it hanging on a config screen.  Possibly I'm
missing something. 
  

I agree though, I often suffer the same problem, coming back after
a few hours to a build that should have finished to find its
sitting on the first dependency.
  


Maybe it's been suggested before (in which case I add my vote) but a
timeout mechanism would solve this... give the user 10s to provide a
keypress else bailout and use the default options.

  

That would involve standing-over the build for hours or days in case
you miss a 10-second window - it's just not practical IMO.


Setting the menus is pretty easy to script, and you can also set BATCH
to take the default options


A suggestion I recently made on the ports list would, as a side
effect, make a better solution.  You see, allowing a default timer
does get things built, but then it allows no user input to let users
avoid installing software  that they either have no ise for, or do not
want for other reasons.  I have enough input now, so I'm going ahead
and coding up the Makefile mods to allow my system, but it looks
somewhat like the Gentoo Portage USE flags system.  Not identical,
and I am only proposing to use their USE flags, not the rest (I very
much like using Makefiles as FreeBSD ports does, and wouldn't change
that.)

If you want to see what it is, go look at recent postings on ports
list.  It'll probably get changed, as I get something for folks to
look at and discuss.
  

   USE flags are a pain in the ass (former Gentoo user of 3 years).
Introducing that type of complexity into a ports system isn't necessary
and does unexpected things at times for end-users when developers change
variable names or behavior, which happened quite often with Gentoo.
   make config-all or something similar to have people fill in their
desired config info in all of the ncurses config sections would however
be a much better idea I think..
-Garrett



Are you talking about make config-recursive?
  

Yes =\. Lemme guess.. that's already an option :)?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd-update fetching files failed

2007-11-12 Thread Joe S
My apologies to the list.

Mail.app and Gmail IMAP don't play well together.

Apparently every time Mail.app auto saves a draft copy, gmail sends the email.

That's bad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: One Laptop Per Child

2007-11-12 Thread Robert Huff

Bahman M. writes:
  On 2007-11-12 Olivier Nicole wrote:

   That is a difficult issue, while this is an opportunity, I doubt this
   is the most needed thing to provide education. We are talking giving
   laptop to people who do not even have electricity in some cases...
  
  I second the idea.
  
  No doubt that OLPC is a great effort but I wonder how such ideas
  will be useful in 3rd world countries where the IT
  infrastructures are so poor that even dial-up Internet is not
  available in some towns, let alone villages and rural regions.  I
  try to be not cynic but there are so many problems in education
  system that learning how to use a computer has a low priority.

The problem I have always had with this is computer use does not
exist in a vacuum; it changes, and is changed by, the society in
which it happens.
If I look at the countries of the first world, I see places
that have walked the path from the written word to the telegraph to
the telephone to the computer.  At each step they've tested the new
technology, learning what it can and cannot do, discovering stuff
the inventors never even imagined, discarding ideas that are
techically problematic or culturally unpalatable, and adapting to it
as it adapted to them.
Now consider dropping 100,000 OLPC on a country where the
(median and mode) hardware layer is paper and ink, the government -
often autocratic and kleptocratic - cannot manage to install and run
a 1950's era phone system, and religious leaders fulminate against
imunization as a foreign plot.  Even under the best of
circumstaces exactly what do people reasoaly expect to happen?


Robert Huff



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


watchdog timeout (missed Tx interrupts) on 7-BETA2(i386)

2007-11-12 Thread Daniel Bye
Hi all,

$ uname -a
FreeBSD torus.slightlystrange.org 7.0-BETA2 FreeBSD 7.0-BETA2 #0: Sun Nov 11 
00:34:39 GMT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TORUS  i386

nfe0: NVIDIA nForce4 CK804 MCP9 Networking Adapter port 0xe400-0xe407 mem 
0xf0105000-0xf0105fff irq 10 at device 10.0 on pci0

I'm seeing a lot of these:

nfe0: watchdog timeout (missed Tx interrupts) -- recovering

when the system is under heavy network load (my ports distfiles are NFS
mounted from another box, so trying to extract, e.g., the OpenOffice
source, is enough to cripple the box). When the demand for network
resources has calmed down again, it usually comes back up without any
further intervention.

My kernel is simply a pared-down version of GENERIC (that is, I have only
removed drivers that I don't need, and have added nothing to it). 

The same device worked adequately under 6.2-RELEASE with the nve
driver. It is only since moving to 7-BETA2 and its default nfe driver
that the problem has manifested.

Google shows that other people have had similar problems with the nfe
driver, but under 6.2-RELEASE on i386 and amd64, and no real solutions
are offered up in the archives (none that I found, anyway).

I saw a couple of suggestions that it might be down to the device sharing
and interrupt channel, but that's not the case here:

vmstat -i
interrupt  total   rate
irq0: clk2709144   1000
irq1: atkbd0   10079  3
irq5: nvidia0+192988 71
irq6: fdc011  0
irq8: rtc 346692128
irq10: nfe0+3300  1
irq11: pcm0 ohci0+ 93174 34
irq15: ata1   22  0
Total3355410   1239

If they're of any use or interest:

dmesg  -  http://catflap.slightlystrange.org/dmesg.txt
pciconf -vl-  http://catflap.slightlystrange.org/pciconf-l-v.txt
kernel config  -  http://catflap.slightlystrange.org/kernel.txt
sysctl -a  -  http://catflap.slightlystrange.org/sysctl-a.txt

I would appreciate any insights or hints as to what I might do to 
fix this.

Many thanks for your time,

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpvQY4Lfxq55.pgp
Description: PGP signature


Re: Ports with GUI configs

2007-11-12 Thread Chuck Robey

Garrett Cooper wrote:

If you want to see what it is, go look at recent postings on ports 
list.  It'll probably get changed, as I get something for folks to 
look at and discuss.


   USE flags are a pain in the ass (former Gentoo user of 3 years). 
Introducing that type of complexity into a ports system isn't necessary 
and does unexpected things at times for end-users when developers change 
variable names or behavior, which happened quite often with Gentoo.
   make config-all or something similar to have people fill in their 
desired config info in all of the ncurses config sections would however 
be a much better idea I think..

-Garrett


Good point.  My main drive is to stop asking users to OK dependencies to 
specific pieces of software (which most users haven't the least idea 
about), and also to move the gathering of data out of ports-compile-time 
and into system-install-time (perhaps with an update feature as hardware 
changes).  The way that Gentoo did it, if followed slavishly, yes, I 
agree it would just leaad to more confusion.  I got the feeling that you 
are asking for a ncurses sort of app, that would gather data, and tjhen 
be used to control the setting of dependencies?  Is that right?


I would think that the linkage between the program amd the ports could 
be a list like the Gentoo USE lists, but without any direct interface to 
it, so building and maintaining the list becomes the responsibility of 
the program and not clueless users.  That more what you see?  I could 
live with that quiurte easily.


But, such a system is more than could be written directly either in Make 
or using sh ... I mean, you  _could_ use sh, but the software would be 
too complicated to maintain.  Could I use some tool?  I would not 
exactly love doing it in C, but I guess I could do that (I'd rather use 
something like Python, but it's not available in the base, and I think I 
would want this available at system install time.


Please, comment more, I think I like the way you're driving this, so let 
me see if I have really gotten your idea.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports with GUI configs

2007-11-12 Thread Chuck Robey

Garrett Cooper wrote:

[LoN]Kamikaze wrote:

Garrett Cooper wrote:
   USE flags are a pain in the ass (former Gentoo user of 3 years).

Introducing that type of complexity into a ports system isn't necessary
and does unexpected things at times for end-users when developers change
variable names or behavior, which happened quite often with Gentoo.
   make config-all or something similar to have people fill in their
desired config info in all of the ncurses config sections would however
be a much better idea I think..
-Garrett



Are you talking about make config-recursive?
  

Yes =\. Lemme guess.. that's already an option :)?


I hope not.  We really need to move this out of being a ports buildtime 
thing.  Currently, to build ports in batch either requires someone to be 
chained to the computer, so as to intercept all those screens, or to 
simply agree to install everything, with no inpput whatever.  These are 
both bad options.


Also, asking users to pick if a particular piece of software, one that 
they most liely have never heard of, can be used, is not a particularly 
good way to get the info either.  Gentoo's idea of a USE list has some 
good points, and some bad points.  The worst part is that keeping that 
USE list corect is too damn difficult.


BUT if we made that list private, so be manipulated solely by a more 
intelligent program, one that could ask better quetions, and let that 
maintain the list, that would stop the ports-build-time interruptions, 
and also make things much much easier for users, even technical users, 
to administer.  Just don't let folks need to maintain that list themselves.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Error installing plone

2007-11-12 Thread Monah Baki
Hi all,

I'm trying to install on Freebsd 6.3 plone from ports. I keep geting the
error message

libtool: link: `gscanner.lo' is not a valid libtool object
gmake[4]: *** [libglib.la] Error 1
gmake[4]: Leaving directory
`/usr/ports/devel/pkg-config/work/pkg-config-0.22/glib-1.2.8'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/usr/ports/devel/pkg-config/work/pkg-config-0.22/glib-1.2.8'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr/ports/devel/pkg-config/work/pkg-config-0.22/glib-1.2.8'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/devel/pkg-config/work/pkg-config-0.22'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/devel/pkg-config.
*** Error code 1

Stop in /usr/ports/x11/xproto.
*** Error code 1

Stop in /usr/ports/x11/libXau.
*** Error code 1

Stop in /usr/ports/x11/libX11.
*** Error code 1

Stop in /usr/ports/x11-toolkits/tk84.
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-tkinter.
*** Error code 1

Stop in /usr/ports/graphics/py-imaging.
*** Error code 1

Stop in /usr/ports/graphics/py-imaging.
*** Error code 1

Stop in /usr/ports/www/plone.


Thanks


BSD Networking, Microsoft Notworking
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports with GUI configs

2007-11-12 Thread Gerard
On November 12, 2007 at 03:14PM RW wrote:

[ ... ]

 Yes, but that doesn't work if you are doing a portupgrade -a, you then
 need to wrap the makes in a simple script, which is what I was referring
 to. Portmaster has something like this built-in.

From man PORTUPGRADE(1):

-- batchRun an upgrading process in a batch mode
(with BATCH=yes)


-- 
Gerard

It has always been the prerogative of children and half-wits to point out that
the emperor has no clothes. But the half-wit remains a half-wit, and the
emperor remains an emperor. 

Neil Gaiman

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cups-base upgrade and samba

2007-11-12 Thread Gerard
On November 12, 2007 at 02:42PM Kurt Buff wrote:


 According to my portaudit, cups-base has security problems, and I
 can't get samba going because of it.
 
 http://www.FreeBSD.org/ports/portaudit/8dd9722c-8e97-11dc-b8f6-001c2514716c.html
 
 According to the above URL, this problem affects v1.3.4, and 1.3.3_1
 is the latest port, from the CVSUP I did today, and it errors out when
 doing a 'portupgrad -aRr'
 
 Seems I can't get there from here.
 
 Any suggestions on how to move forward with this?

Have you tried adding the following to your /etc/make.conf file?

DISABLE_VULNERABILITIES=yes


-- 
Gerard

No matter how rich you become, how famous or powerful, when you die the size
of your funeral will still pretty much depend on the weather. 

Michael Pritchard
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: One Laptop Per Child

2007-11-12 Thread Robert Marella
On Mon, 12 Nov 2007 15:56:34 -0500
Robert Huff [EMAIL PROTECTED] wrote:


   The problem I have always had with this is computer use does
 not exist in a vacuum; it changes, and is changed by, the society in
 which it happens.
   If I look at the countries of the first world, I see places
 that have walked the path from the written word to the telegraph to
 the telephone to the computer.  At each step they've tested the new
 technology, learning what it can and cannot do, discovering stuff
 the inventors never even imagined, discarding ideas that are
 techically problematic or culturally unpalatable, and adapting to it
 as it adapted to them.
   Now consider dropping 100,000 OLPC on a country where the
 (median and mode) hardware layer is paper and ink, the government -
 often autocratic and kleptocratic - cannot manage to install and run
 a 1950's era phone system, and religious leaders fulminate against
 imunization as a foreign plot.  Even under the best of
 circumstaces exactly what do people reasoaly expect to happen?
 
 
In my opinion you underestimate the abilities of people. There is no
need for the people of the third world countries to evolve as we did.
One only needs to look at the progress made in China over the last few
decades. People who never had a telephone, facsimile, radio or in some
cases even books are now using cell phones, computers and televisions.

China is becoming more capitalistic, if not democratic, not because the
government wants it to but because it has to. The people are more
knowledgeable about the rest of the world because of the new ways of
communication.

If only one percent of the 100,000 laptops in your above example were
to fall into hands of some child who is awakened to a new world then
that is 1,000 children who will grow up and help change that country.

As someone else stated, It's my money. I have completed the give
one, get one order form. I hope my laptop is sent to a worthy child
but if not so be it. I have not decided what to do with the one that I
receive. My grand daughter is only 3 and I think that is a little to
young. I will probably give the laptop to one of my great nieces.

Robert
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports with GUI configs

2007-11-12 Thread RW
On Mon, 12 Nov 2007 16:10:29 -0500
Chuck Robey [EMAIL PROTECTED] wrote:

 I hope not.  We really need to move this out of being a ports
 buildtime thing.  Currently, to build ports in batch either requires
 someone to be chained to the computer, so as to intercept all those
 screens, or to simply agree to install everything, with no inpput
 whatever. 

That's not correct, you can run make config-conditional or  make
config-recursive anytime you like.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cups-base upgrade and samba

2007-11-12 Thread Kurt Buff
On Nov 12, 2007 1:36 PM, Gerard [EMAIL PROTECTED] wrote:

 On November 12, 2007 at 02:42PM Kurt Buff wrote:


  According to my portaudit, cups-base has security problems, and I
  can't get samba going because of it.
 
  http://www.FreeBSD.org/ports/portaudit/8dd9722c-8e97-11dc-b8f6-001c2514716c.html
 
  According to the above URL, this problem affects v1.3.4, and 1.3.3_1
  is the latest port, from the CVSUP I did today, and it errors out when
  doing a 'portupgrad -aRr'
 
  Seems I can't get there from here.
 
  Any suggestions on how to move forward with this?

 Have you tried adding the following to your /etc/make.conf file?

 DISABLE_VULNERABILITIES=yes


 --
 Gerard

Well, that certainly seems to work, but...

I'm out of luck on security until someone updates the port, correct?

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error installing plone

2007-11-12 Thread Erik Cederstrand

Monah Baki wrote:

Hi all,

I'm trying to install on Freebsd 6.3 plone from ports. I keep geting the
error message

libtool: link: `gscanner.lo' is not a valid libtool object
gmake[4]: *** [libglib.la] Error 1
gmake[4]: Leaving directory
`/usr/ports/devel/pkg-config/work/pkg-config-0.22/glib-1.2.8'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/usr/ports/devel/pkg-config/work/pkg-config-0.22/glib-1.2.8'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr/ports/devel/pkg-config/work/pkg-config-0.22/glib-1.2.8'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/devel/pkg-config/work/pkg-config-0.22'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/devel/pkg-config.
*** Error code 1

Stop in /usr/ports/x11/xproto.
*** Error code 1

Stop in /usr/ports/x11/libXau.
*** Error code 1

Stop in /usr/ports/x11/libX11.
*** Error code 1

Stop in /usr/ports/x11-toolkits/tk84.
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-tkinter.
*** Error code 1

Stop in /usr/ports/graphics/py-imaging.
*** Error code 1

Stop in /usr/ports/graphics/py-imaging.
*** Error code 1

Stop in /usr/ports/www/plone.


This is more a workaround than a solution, but you don't need the X11 
libraries to run plone. Try putting WITHOUT_X11=yes in your make.conf.


Erik
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cups-base upgrade and samba

2007-11-12 Thread David Horn
I just upgraded my cups-base install to 1.3.3_1, and ran into similar issues
at first.

Try:

portaudit -F to upgrade your audit database.  I believe portaudit
originally thought 1.3.3_1 fell into the affected versions, but looks to
be the fixed version in the latest database.

http://www.freshports.org/print/cups-base/

Good Luck.

--_Dave
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports with GUI configs

2007-11-12 Thread Tino Engel

RW schrieb:

On Mon, 12 Nov 2007 16:10:29 -0500
Chuck Robey [EMAIL PROTECTED] wrote:

  

I hope not.  We really need to move this out of being a ports
buildtime thing.  Currently, to build ports in batch either requires
someone to be chained to the computer, so as to intercept all those
screens, or to simply agree to install everything, with no inpput
whatever. 



That's not correct, you can run make config-conditional or  make
config-recursive anytime you like.

  
But not on a portupgrade... I don't want to run config-recursive on the 
whole ports tree though

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports with GUI configs

2007-11-12 Thread RW
On Mon, 12 Nov 2007 16:25:47 -0500
Gerard [EMAIL PROTECTED] wrote:

 On November 12, 2007 at 03:14PM RW wrote:
 
 [ ... ]
 
  Yes, but that doesn't work if you are doing a portupgrade -a, you
  then need to wrap the makes in a simple script, which is what I was
  referring to. Portmaster has something like this built-in.
 
 From man PORTUPGRADE(1):
 
 -- batchRun an upgrading process in a batch mode
 (with BATCH=yes)


Yes, I already wrote:

  .. and you can also set
  BATCH to take the default options  

but BATCH is a kludge if you actually want the options screens, but
don't want builds interrupted. Much better to do the make configs
separately in one go.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cups-base upgrade and samba

2007-11-12 Thread Yuri Pankov
On Tuesday 13 November 2007 00:53:22 Kurt Buff wrote:
 On Nov 12, 2007 1:36 PM, Gerard [EMAIL PROTECTED] wrote:
  On November 12, 2007 at 02:42PM Kurt Buff wrote:
   According to my portaudit, cups-base has security problems, and I
   can't get samba going because of it.
  
   http://www.FreeBSD.org/ports/portaudit/8dd9722c-8e97-11dc-b8f6-001c2514
  716c.html
  
   According to the above URL, this problem affects v1.3.4, and 1.3.3_1
   is the latest port, from the CVSUP I did today, and it errors out when
   doing a 'portupgrad -aRr'
  
   Seems I can't get there from here.
  
   Any suggestions on how to move forward with this?
 
  Have you tried adding the following to your /etc/make.conf file?
 
  DISABLE_VULNERABILITIES=yes
 
 
  --
  Gerard

 Well, that certainly seems to work, but...

 I'm out of luck on security until someone updates the port, correct?

 Kurt

It is already patched, please see 
http://lists.freebsd.org/pipermail/cvs-ports/2007-November/137633.html
http://lists.freebsd.org/pipermail/cvs-ports/2007-November/137639.html


Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: One Laptop Per Child

2007-11-12 Thread Garrett Cooper

Kevin Kinsey wrote:

Chuck Robey wrote:


I am usually not the one to bring up these things but I feel very
strongly about this. Starting Monday, November 12 this website is
offering a give one get one deal. I believe the money will be well
invested. YMMV

http://xogiving.org/


That is a difficult issue, while this is an opportunity, I doubt this
is the most needed thing to provide education. We are talking giving
laptop to people who do not even have electricity in some cases...


You ought to actually _visit_ one or more of the schools that have 
practical computers for the kids.  At least in my own experience, 
well, it's very disillusioning.  The teachers have only a vague 
notion about what a compuiter is, so basically the students are given 
some  games to waste their time with, and graded on how quiet they 
are while playing. The teachers themselves are usually actually 
frightened of the machines,  so they react negatively to anyone who 
volunteers to teach computers.


I wish it wasn't this way.  Maybe it's just in the schools I visited? 
If so, anyone have a better experience?  Until I hear of some, I 
won't contribute to any computers for kids deal, because  it only 
benefits big computer companies, who sell the machines, not the kids.


I'd say that it is possible your observations have clued you in on
a large problem.  Of course, it's likely not that way everywhere, but
one result of a lack of teacher education re: computers is that people
tend to think that they are computer literate if they can handle an
office suite and use a pointy-clicky interface to build web pages
--- which explains a few things about the culture at large.

Another problem is that use of the Internet for research in
writing papers, etc. often misses the crucial old school step
of actually writing notes based on the books your read before
you begin the paper.  Recently I read a report by a 9th grader that
was composed mostly of direct quotes from Wikipedia, et al, with
no attribution whatsoever.  Copy n Paste may work in elementary
art classes, but it's no good in academic research unless great
pains are taken to ensure understanding and proper attribution.

And, this may be near the real heart of the issue.  I don't think
that many school administrators feel that games, educational or not,
are the reason that schools should have computers.  I think that, in
large extent, computers were added when some of them discovered that
the Internet could give you more volumes of information than the
school library, without leaving your seat or requiring a hall pass.

And that is why teachers should be a little more geeky, perhaps.
Plugging a child's computer into the network without knowledgeable
and *personal* guidance will pretty much guarantee that most kids
end up on the baser end of the 'Net, rather than the best.  And,
for the most part, teachers are no less busy than they were 10,
20, or 30 years ago.

My $.02,

Kevin Kinsey


   Could you guys please redirect this discussion to [EMAIL PROTECTED] Thanks...
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT: Beastie 3D-rendered

2007-11-12 Thread Tino Engel

Steve Bertrand schrieb:

cpghost wrote:
  

On Mon, 12 Nov 2007 06:50:40 +
Tino Engel [EMAIL PROTECTED] wrote:



http://www.tilolit.de/images/tb/wallpapers/teufel.jpg
  

[snip]



Nevertheless I can check out the author (he is german, too) and ask
him about the license issues...
  

It would be *really* great if the author not only agreed to put the
rendering under a permissive license, but also considered releasing
and licensing the (graphics/povray?) source code too. I'd love to
experiment a little bit with that! ;)

Anyway, whatever comes out of it, kudos for the great find! :-)))



Amen to that! I just would like to put it on my desktop/use it legally!

Seriously, if someone here can gain the free rights to it and pass it
along, then we all can say 'yay beastie!'.

/* will keep hidden on desktop
 * until told not to.
 * Would be nice if someone says
 * that we can use it!!!
 */

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

  
Well, I wrote the owner of the webpage, he told from where he copied the 
file.
I wrote the owner of the other webpage, but he does not know, where it 
is from. It has just been send in by mail, that's how he gets his 
wallpapers...


So the more original source of the picture is 
http://www.bilderpilot.de/pages/desktopbild.php?id=1555 but there the 
trace has to stop.

What a pity, but I do not think that any more could be done.

Greez, Tino
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: flash: linux firefox vs linuxpluginwrapper

2007-11-12 Thread Tino Engel

Aryeh M. Friedman schrieb:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


  

I posed a similar question on this list a short time ago.  Right
now, the only 'Flash' working on either Linux or native is Flash 7,
which does not work on many sites.  To get Flash 9, you need to use
wine under freebsd and install the windows version of Firefox.  I
have been told that this solution works fine out of the box on
FreeBSD 6.2 but I have not yet confirmed.



Works right out of the box for all versions of FreeBSD  6 I just
did it on a 8-Current machine doing the following port installs in
this order:

firefox
linux-flashplugin7
acroread7

after you install acroread run nspluginwrapper -v -a -i.


  

So did I. When I run firefox then, I get an error message as follows:

freebsdangel# firefox
LoadPlugin: failed to initialize shared library 
/usr/local/lib/browser_plugins/libflashplayer.so [Shared object 
libdl.so.2 not found, required by libflashplayer.so]


But the library is existing:

freebsdangel# find / -name libdl.so.2
/usr/compat/linux/lib/libdl.so.2
freebsdangel#

And even adjusting the path does not help:

freebsdangel# setenv PATH ${PATH}:/usr/compat/linux/lib

The result is the same:

So basically the question is:
How can I tell FreeBSD where to find the requested lib??

Regards, Tino




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: flash: linux firefox vs linuxpluginwrapper

2007-11-12 Thread Aryeh M. Friedman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tino Engel wrote:
 Aryeh M. Friedman schrieb:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 
 I posed a similar question on this list a short time ago.  Right
 now, the only 'Flash' working on either Linux or native is Flash 7,
 which does not work on many sites.  To get Flash 9, you need to use
 wine under freebsd and install the windows version of Firefox.  I
 have been told that this solution works fine out of the box on
 FreeBSD 6.2 but I have not yet confirmed.


 Works right out of the box for all versions of FreeBSD  6 I just
 did it on a 8-Current machine doing the following port installs in
 this order:

 firefox
 linux-flashplugin7
 acroread7

 after you install acroread run nspluginwrapper -v -a -i.


  
 So did I. When I run firefox then, I get an error message as follows:

 freebsdangel# firefox
 LoadPlugin: failed to initialize shared library
 /usr/local/lib/browser_plugins/libflashplayer.so [Shared object
 libdl.so.2 not found, required by libflashplayer.so]

 But the library is existing:

 freebsdangel# find / -name libdl.so.2
 /usr/compat/linux/lib/libdl.so.2
 freebsdangel#

 And even adjusting the path does not help:

 freebsdangel# setenv PATH ${PATH}:/usr/compat/linux/lib

 The result is the same:

 So basically the question is:
 How can I tell FreeBSD where to find the requested lib??


Did you do it from packages or ports?


- --
Aryeh M. Friedman
Developer, not business, friendly
http://www.flosoft-systems.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHONKwJ9+1V27SttsRArfZAJ9mwg0zZD7ZlRDT5r4KY6bGZ2eSUQCeKn81
BNfbsfMQl1PXP25TNX8v3I8=
=gFhb
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: flash: linux firefox vs linuxpluginwrapper

2007-11-12 Thread Philip M. Gollucci
Tino Engel wrote:
 freebsdangel# setenv PATH ${PATH}:/usr/compat/linux/lib
you are looking for LD_LIBRARY_PATH

You should do this with ldconfig so its there all the time; but use the
linux compat one, not the freebsd base system one.

The port should have done this for you.

cat /compat/linux/etc/ld.so.conf
include ld.so.conf.d/*.conf
/lib
/usr/lib
/usr/local/lib


-- 

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: flash: linux firefox vs linuxpluginwrapper

2007-11-12 Thread Tino Engel

Aryeh M. Friedman schrieb:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tino Engel wrote:
  

Aryeh M. Friedman schrieb:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



  

I posed a similar question on this list a short time ago.  Right
now, the only 'Flash' working on either Linux or native is Flash 7,
which does not work on many sites.  To get Flash 9, you need to use
wine under freebsd and install the windows version of Firefox.  I
have been told that this solution works fine out of the box on
FreeBSD 6.2 but I have not yet confirmed.
   


Works right out of the box for all versions of FreeBSD  6 I just
did it on a 8-Current machine doing the following port installs in
this order:

firefox
linux-flashplugin7
acroread7

after you install acroread run nspluginwrapper -v -a -i.


 
  

So did I. When I run firefox then, I get an error message as follows:

freebsdangel# firefox
LoadPlugin: failed to initialize shared library
/usr/local/lib/browser_plugins/libflashplayer.so [Shared object
libdl.so.2 not found, required by libflashplayer.so]

But the library is existing:

freebsdangel# find / -name libdl.so.2
/usr/compat/linux/lib/libdl.so.2
freebsdangel#

And even adjusting the path does not help:

freebsdangel# setenv PATH ${PATH}:/usr/compat/linux/lib

The result is the same:

So basically the question is:
How can I tell FreeBSD where to find the requested lib??




Did you do it from packages or ports?

  

From ports

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cups-base upgrade and samba

2007-11-12 Thread Kurt Buff
-- Forwarded message --
From: Kurt Buff [EMAIL PROTECTED]
Date: Nov 12, 2007 3:07 PM
Subject: Re: cups-base upgrade and samba
To: David Horn [EMAIL PROTECTED]


On Nov 12, 2007 1:30 PM, David Horn [EMAIL PROTECTED] wrote:
 I just upgraded my cups-base install to 1.3.3_1, and ran into similar issues
 at first.

 Try:

 portaudit -F to upgrade your audit database.  I believe portaudit
 originally thought 1.3.3_1 fell into the affected versions, but looks to
 be the fixed version in the latest database.

 http://www.freshports.org/print/cups-base/

 Good Luck.

 --_Dave

This worked, thanks.

zrouter# portaudit -aF
auditfile.tbz 100% of   45 kB  130 kBps
New database installed.
0 problem(s) in your installed packages found.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cups-base upgrade and samba

2007-11-12 Thread Kurt Buff
On Nov 12, 2007 2:02 PM, Yuri Pankov [EMAIL PROTECTED] wrote:

 On Tuesday 13 November 2007 00:53:22 Kurt Buff wrote:
  On Nov 12, 2007 1:36 PM, Gerard [EMAIL PROTECTED] wrote:
   On November 12, 2007 at 02:42PM Kurt Buff wrote:
According to my portaudit, cups-base has security problems, and I
can't get samba going because of it.
   
http://www.FreeBSD.org/ports/portaudit/8dd9722c-8e97-11dc-b8f6-001c2514
   716c.html
   
According to the above URL, this problem affects v1.3.4, and 1.3.3_1
is the latest port, from the CVSUP I did today, and it errors out when
doing a 'portupgrad -aRr'
   
Seems I can't get there from here.
   
Any suggestions on how to move forward with this?
  
   Have you tried adding the following to your /etc/make.conf file?
  
   DISABLE_VULNERABILITIES=yes
  
  
   --
   Gerard
 
  Well, that certainly seems to work, but...
 
  I'm out of luck on security until someone updates the port, correct?
 
  Kurt

 It is already patched, please see
 http://lists.freebsd.org/pipermail/cvs-ports/2007-November/137633.html
 http://lists.freebsd.org/pipermail/cvs-ports/2007-November/137639.html


 Yuri

Excellent - Thanks so much.

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: One Laptop Per Child

2007-11-12 Thread Bill Vermillion
The door open and in walked trouble - disguised as our our old
nemesis [EMAIL PROTECTED], who uttered, at
Mon, Nov 12, 2007 at 21:37 :

 Date: Mon, 12 Nov 2007 13:30:46 -0600
 From: Kevin Kinsey [EMAIL PROTECTED]
 Subject: Re: One Laptop Per Child
 To: Chuck Robey [EMAIL PROTECTED]

[edited to only portions I comment upon - wjv] 

 Chuck Robey wrote:

  I am usually not the one to bring up these things but I feel very
  strongly about this. Starting Monday, November 12 this website is
  offering a give one get one deal. I believe the money will be well
  invested. YMMV

  http://xogiving.org/

  That is a difficult issue, while this is an opportunity, I
  doubt this is the most needed thing to provide education.
  We are talking giving laptop to people who do not even have
  electricity in some cases...

  You ought to actually _visit_ one or more of the schools that
  have practical computers for the kids. At least in my own
  experience, well, it's very disillusioning. The teachers have
  only a vague notion about what a compuiter is, so basically
  the students are given some games to waste their time with,
  and graded on how quiet they are while playing. The teachers
  themselves are usually actually frightened of the machines,
  so they react negatively to anyone who volunteers to teach
  computers.

  I wish it wasn't this way. Maybe it's just in the schools I
  visited? If so, anyone have a better experience? Until I hear
  of some, I won't contribute to any computers for kids deal,
  because it only benefits big computer companies, who sell the
  machines, not the kids.

 I'd say that it is possible your observations have clued you in on
 a large problem.  Of course, it's likely not that way everywhere, but
 one result of a lack of teacher education re: computers is that people
 tend to think that they are computer literate if they can handle an
 office suite and use a pointy-clicky interface to build web pages
 --- which explains a few things about the culture at large.

Education - over the time when technology started rearing it's head
shortly after the turn of the second past century [eg 1900 and
forward] often has looked to this technolog as the saviour of
the educational environment.

When radio came about it was looked upon as the way to educate
million of children as radio could bring in information and perhaps
experts in the field to cover what was needed.

Then movies with sound came along - and the same arguments were
made.

Then television. Ah - now we can experts teaching children
everywhere.  The ulitmate talking heads experience IMO.

And then color-television.  That was to solve all the problems
that b/w had - so you could see the colors in chemistry experiments
for example.

Then came the computer - with text screend.

It was though that they needed graphics enviormennts.  So those
came about.

Then it was color computers, then color computers with 3D graphics
and of course sound.

So for 70+ years people have seen the 'new technology' as ways to
solve the problems seen or perhaps mis-seen in education.

And what has it got us?  Has we gotten children with better
education.

It seems today's studens have one of the prime goals is how
to pass the FCATs and SATs. IOW they have been taught how to pass
tests.  They have not been educated but taught.  And if when they
go into the world the come across problems for which they have not
been taught - they are lost because they have not been educated [a
distinction I make but others may not] to understand that with
which they are working and being able to figure out on their own
how to solve the problem.  Learning to pass tests doesn't prepare
them for that.

 Another problem is that use of the Internet for research in
 writing papers, etc. often misses the crucial old school step
 of actually writing notes based on the books your read before
 you begin the paper.  Recently I read a report by a 9th grader that
 was composed mostly of direct quotes from Wikipedia, et al, with
 no attribution whatsoever.  Copy n Paste may work in elementary
 art classes, but it's no good in academic research unless great
 pains are taken to ensure understanding and proper attribution.

And the problem with using the 'net for research is that so much of
what has been printed in the past - pre-mid-90s - has not [yet]
been made available for searching.  Sometimes you have to go into
the stacks at a decent library and pull down a book that hasn't
been opening in 30 to 50 [or more] years to find the real answers
to your problem.

 And, this may be near the real heart of the issue.  I don't think
 that many school administrators feel that games, educational or not,
 are the reason that schools should have computers.  I think that, in
 large extent, computers were added when some of them discovered that
 the Internet could give you more volumes of information than the
 school library, without leaving your seat or requiring a hall pass.

And I see problems with the 

Re: Ports with GUI configs

2007-11-12 Thread RW
On Mon, 12 Nov 2007 22:54:33 +0100
Tino Engel [EMAIL PROTECTED] wrote:

 RW schrieb:
  On Mon, 12 Nov 2007 16:10:29 -0500
  Chuck Robey [EMAIL PROTECTED] wrote:
 

  I hope not.  We really need to move this out of being a ports
  buildtime thing.  Currently, to build ports in batch either
  requires someone to be chained to the computer, so as to intercept
  all those screens, or to simply agree to install everything, with
  no inpput whatever. 
  
 
  That's not correct, you can run make config-conditional or  make
  config-recursive anytime you like.
 

 But not on a portupgrade... I don't want to run config-recursive on
 the whole ports tree though

It's not hard to script it though, something like the following would do

#!/bin/sh
for p in `pkg_version -ol'' |awk '{ print $1 }'`; do
 cd  /usr/ports/${p}  make config-recursive 
done


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports with GUI configs

2007-11-12 Thread Chuck Robey

Gerard wrote:

On November 12, 2007 at 03:14PM RW wrote:

[ ... ]


Yes, but that doesn't work if you are doing a portupgrade -a, you then
need to wrap the makes in a simple script, which is what I was referring
to. Portmaster has something like this built-in.


From man PORTUPGRADE(1):


and my (twofold) point is that (1) this removes all real choices from 
the user, and (2) there is a perfectly good method that allows one to 
keep their own options, and still get all the good points of batch 
processing.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


6.3-PRERELEASE

2007-11-12 Thread Dan Mahoney, System Admin

Hey All,

I recently CVSUPPED to what I thought would be 6.2-STABLE but instead got 
6.3-PRERELEASE.


However, I look at www.freebsd.org/releng and I see no reference to the 
release cycle of 6.3.


Was this a mistake of some sort?

-Dan

--

Man, this is such a trip

-Dan Mahoney, October 25, 1997

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports with GUI configs

2007-11-12 Thread Chuck Robey

RW wrote:

On Mon, 12 Nov 2007 16:10:29 -0500
Chuck Robey [EMAIL PROTECTED] wrote:


I hope not.  We really need to move this out of being a ports
buildtime thing.  Currently, to build ports in batch either requires
someone to be chained to the computer, so as to intercept all those
screens, or to simply agree to install everything, with no inpput
whatever. 


This discussion has unfortunately jumped out or ports (wjhere I believe 
it should have been) to questions, so I have to re-state stuff I've 
already said.   Darn.


Well. I want to explain one of the most important features.  First 
thing, I have to stress I m talking about my writing a character-based 
tool that carefully guides the user into making the best choice of a 
limited set of words, to describe their chosen machine environment.  I'm 
NOT going to ask (as Gentoo does) the user to select their own set of 
words.  Gentoo expends damn little help on installation in general, and 
more specifically, on the maintenance of their USE lists.  Their concept 
of the USE lists is what's important, not their implementation.


Let me give a real-life example.  In doing a database of users, you 
would normally include a file (or lookup table) of state names  
abbreviations.  This isn't because you're confused about the spelling of 
Ohio, it's so that, in sorting, you don't jhave to deal with 14 
different ways to abbreviate Missouri.  You want to be able to sort on 
one spelling, and not lose half of your Missourian users because they 
can't agree on a spelling, you want to limit what they use to define 
their state.  OK, you (as programmers) must understand that concept, and 
the machine environment keyword descriptions (I need a good name for 
them, and I don't want to use USE because Gentoo uses it, and I don't 
want to be misunderstood as being the same thing as Gentoo).


If I make a nice database-like program that helps out a user in choosing 
the best way to describe their system goals, using a limited set of 
standard words, and set it up so this is done as part of installation. 
This makes a little file of descriptor words, but it's not set so a 
regular editor can manipulate it; the special ports program is needed to 
set or reset this list.  All ports query this list in making the 
decision as to whether or whether not to include a particular port as a 
dependency.


OK, the good things that accrue from this:

1) list items are always presented right alongside the verbal 
definitions of what each word semantically means in context.  People 
could still get it screwed up, but that would certainly happen less often.


2) because the number of choices is limited to those on the list, and 
new items must be filtered thru the ports-management, getting the names 
wrong or confused is under far better control.  There will no longer be 
6 ways to define Music program with mp3's only.Adding a particular 
option to that music program, say, adding ability to play back AAC 
songs, would just mean adding the correct keyword.  This would allow, 
some time in the future (not something I'm immediately considering) to 
do a global scan, with adding some new keyword, to bring one's entire 
system back up to date.  This is not possible today.


2) Since choices are made one per each machine particular, the number of 
 choices is less that a tenth the size of a list of the peer-port 
dependency choices, setting this up in advance becomes a task that is 
quite reasonable todo in advance of building all ports.  Currently, the 
sheer idea of setting all options in  advance is ridiculous.


3) Choices are made of items that can easily be performed by users 
without extensive documentation.  Trying to inform users of the actual 
meaning of each and every one of the currently used dependency options 
would be too complicated a task to expect all users to be able to do 
this.  Informing them of the setup for their particular machine is a far 
smaller task, one that is small enough to contemplate performing. 
Describing this in another way, the options will be defined by function, 
and no longer by the name of the software.


4) Since dependencies are listed by machine environment, and not by 
port, adding a new port with a correct optioned set of dependencies 
becomes far more reasonable: merely grep out all ports with a particular 
set of keywords, and then a ports-writer knows perfectly well what ports 
they would need to consider as dependency choices.  Doing it now, is 
largely a matter of luck.


I left out one last point there will be a reject list: a list of port 
names or regular expression patters, of ports that can't be installed 
under any circumstances.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports with GUI configs

2007-11-12 Thread Chuck Robey

RW wrote:

On Mon, 12 Nov 2007 22:54:33 +0100
Tino Engel [EMAIL PROTECTED] wrote:


RW schrieb:

On Mon, 12 Nov 2007 16:10:29 -0500
Chuck Robey [EMAIL PROTECTED] wrote:

  

I hope not.  We really need to move this out of being a ports
buildtime thing.  Currently, to build ports in batch either
requires someone to be chained to the computer, so as to intercept
all those screens, or to simply agree to install everything, with
no inpput whatever. 


That's not correct, you can run make config-conditional or  make
config-recursive anytime you like.

  

But not on a portupgrade... I don't want to run config-recursive on
the whole ports tree though


It's not hard to script it though, something like the following would do

#!/bin/sh
for p in `pkg_version -ol'' |awk '{ print $1 }'`; do
 cd  /usr/ports/${p}  make config-recursive 
done


I can't believe you actually suggested this.  First thing, it would take 
you HOURS to complete, and you better not make even one mistake, 'cause 
you couldn't even go back far enough to figure out what the name was of 
the port you muffed.  Beyond that, since most ports ask questions formed 
with the name of the target dependency, aznd not asking things like do 
you want such-and-such capability, so you have to be conversant with 
the names and capabilities of nearly 10,000 ports, to be able to do that 
job.


Were you really seriously suggesting this.  It's so unworkable, its 
laughable.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


apache: you don't have acess to /

2007-11-12 Thread Steve Franks
I just rsync'd a bunch of directories from an old backup on top of my
web root, which was functional a minute ago.  Ok, so I admit that was
stupid.  Suddenly, 'no acess to / on this server'. No problem, I just
chmod -R 775, right?  Only that didn't work, now I'm pretty much
stuck

Best,
Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PF, bridge, states and window scaling problem

2007-11-12 Thread Girish Venkatachalam
On 22:08:03 Nov 12, Alupului Costin wrote:
 I seem to have quite a problem with PF. I have set up a bridge to
 shape my upstream traffic. I use ALTQ with hfsc discipline; but that's
 not really important. My problem comes with the filter rules. I have
 to use keep state because of the speed benefits (really I don't have a
 choice), 

One should always keep state.

 but PF has a problem when the clients passing traffic through
 the bridge use TCP window scaling. Here is an example of four filter
 rules that I thought should work to pass the traffic from one client
 through the bridge and create a state:
 
 pass in quick on vlan0 from any to anIP/32
 pass out quick on vlan0 from anIP/32 to any keep state queue ul_client
 pass in quick on vlan1 from anIP/32 to any
 pass out quick on vlan1 from any to anIP/32 keep state queue dl_client
 
 The above rules generate state-mismatches. 

Didn't get you. What sort of mismatch?

 I thought that would be
 because pf doesn't see the SYN packet, although it does (one of the
 out rules) and should create the state then... I tried writing all the
 rules with keep state (even the inbound ones) but then nothing would
 work at all. My intention was to create if-bound states, but I
 switched back to floating states in the hope that pf would associate
 the state created by an outbound rule with the traffic returning on
 another interface of the bridge; still didn't work.
 

Have you tried adding flags S/SAFR to the filter rules?

Try it and let me know.

 I have read the man page for if_bridge and set the following sysctl variables:
 
 net.link.bridge.pfil_onlyip: 1
 net.link.bridge.pfil_bridge: 0
 net.link.bridge.pfil_member: 1
 
 I have also read some posts on the web that said that pf simply
 doesn't have all the hooks necesary to do the filtering inbound and
 outbound, but reading the pfil man page I seem to disaggree with that.
 

What do you mean? ?

 Has anyone encountered the same problem? And, more important: if i
 give up the bridge setup and switch to routing, would that have any
 effect? I.E: will I then be able to use keep state with the inbound
 rules?

Try it. Routing changes the topology a good deal. But I doubt if that is
the issue here. No harm in testing though.

 
 Any help at all would be hugely appreciated as I am trying for about a
 week to sort out this problem and can't seem to get any closer. The
 only solution was to kindly ask my clients using TCP window scaling
 (Vista mostly) to turn off this feature... Now I am seriously
 considering bumping my bridge to a router but I am not sure that the
 problem will be solved then.

Try adding the flags switch as mentioned above. That way the states get
established only from a TCP Syn packet.

You should also try flushing the old states using pfctl(8).

 
 Oh, here is the setup of the bridge from rc.conf, although there
 shouldn't be any problems there (the bridge works fine without pf, or
 with pf stateless):

Stateful filtering is always recommended. Performance is not the only
reason why you should use it.

It also adds to security. Have you tried disabling normalization/scrub?

Best,
Girish
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports with GUI configs

2007-11-12 Thread Steve Franks
Not to mention, as a novice, I've discovered that for 20-60% of all
ports, messing with the defaults makes the port fail to build

Steve

On Nov 12, 2007 8:26 AM, Ashley Moran [EMAIL PROTECTED] wrote:
 Hi

 I was just wondering, what is the motivation behind the GUI
 configuration for some ports?  Simply put, they drive me up the
 wall.  I've lost count of the number of times I've come back to a big
 install to find it hanging on a config screen.  Possibly I'm missing
 something.

 The apache22 port is the latest one to join this crowd, although
 there is an option to skip the GUI.  I'm much happier using
 WITH_PROXY_MODULES or whatever, and managing everything in
 pkgtools.conf.

 What is the best way to pre-configure GUI-configured ports?  For
 example, if I want to script an installation of several ports.

 I've seen this: http://www.freshports.org/misc/dotfile/, is it what
 I'm after?

 Thanks for any advice
 Ashley


 --

 blog @ http://aviewfromafar.net/
 linked-in @ http://www.linkedin.com/in/ashleymoran
 currently @ work


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]




-- 
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Samba 3.0.26a (from Ports) won't compile if 'WITH_EXP_MODULES=true' is set

2007-11-12 Thread Stephen Allen

Hello,

Using FreeBSD 6.2-RELEASE, I'm trying to configure FreeBSD/Samba/Winbind 
to talk to Active Directory, following these instructions:


http://joseph.randomnetworks.com/archives/2005/11/08/freebsd-users-and-groups-with-samba-winbind-and-active-directory/

As per subject, using Samba 3.0.26a (from the ports collection), it will 
not compile if 'WITH_EXP_MODULES=true' is set (apparently 
'WITH_EXP_MODULES' is needed for 'imap_rid').  The nature of the error 
is: The following command failed: cc -I ...  I've pasted the few 
error lines here (also including `uname -a` and `cat 
/var/db/ports/samba3/options`)


http://pastebin.com/m4892a0d0

Can anyone help explain my problem (and solution?) please?

Kind regards,
Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Claws+spamd: No spam is detected

2007-11-12 Thread Olivier Nicole
Hi,

   I have Claws-Mail and spamd installed (from ports) and although I
   have been using this combination -I've been been manually marking
   all spams as 'spam'- for more than 2 months, still _no_ spam
   message is detected.
  
   I've followed the instructions on Claws/spamd wiki.  I've got the
   followings in /etc/rc.conf:
  spamd_enable=YES
  spamd_flags=-C /usr/local/etc/spamd -i 127.0.0.1 -p 783 -u
   spamd -d -l
   Also Claws configuration parameters exactly match the spamd_flags
   above.

1) are you sure spamd is working fine? Did you try to send a message
   to spamd to check the marking? (clue use spamc to send a message to
   spamd)

2) I know nothing about claws, but running a spam detector at the mail
   client is very in efficient: every messages need to be downloaded
   anyway to be tested, it woul dbe much better to run spam detector
   at the MTA/MDA level, so your mailbox contains only ham and your
   mail client (claws) only sees ham.

3) in claws did you try to look at the full message headers (some time
   called the source of the message): some clever (so they thought)
   mail client hide most of the headers, so you woul dnot see
   SpamAssassin markup.

Bests,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


making packages from ports

2007-11-12 Thread Dave

Hello,
   I've got a box i'd like to build packages from ports on, and deploy 
those packages to other machines. I'll use postfix as an example. I did make 
package from postfix's directory and selected pcre and mysql support. I got 
the postfix tarball package, but when i tried to install it on another box 
it needed pcre and mysql-client packages. I had to run make package in each 
of their directories. I was wondering if there was a recursive way of 
package making?

Thanks.
Dave.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >