Re: exited on signal 6

2004-01-16 Thread Melvyn Sopacua
On Friday 16 January 2004 16:55, David Kelly wrote:

 Have seen the size over 525M. In any case for this particular newsgroup
 pan core dumps on signal 6. An abort? Where is this signal coming
 from?

From malloc() most probably.
Check the value of MAXDSIZ in your kernel config, or use limits -d to find out 
that the default maximum data size for any process is 512Megs.

-- 
Melvyn

===
FreeBSD sarevok.idg.nl 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Tue Dec 30 14:31:47 
CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: configure/autoconf is missing getloadavg on 5.2

2004-01-16 Thread Melvyn Sopacua
On Friday 16 January 2004 19:51, Hanspeter Roth wrote:

 in icewm-1.2.14pre8 configure on FreeBSD 5.2 claims that
 getloadavg() be not available:


 configure:6804: checking for getloadavg
 configure:6847: gcc -o conftest -fpermissive -Wall -Wpointer-arith
 -Wconversion -Wwrite-strings -Winline -Woverloaded-virtual -W
 -fno-exceptions -fno-rtti -I/usr/local/include -I/usr/local/include
 -L/usr/local/lib conftest.cc  5 configure:6819: error: declaration of C
 function `char getloadavg()' conflicts with
 /usr/include/stdlib.h:258: error: previous declaration `int
 getloadavg(double*, int)' here
 [...]

 However when trying a tiny configure.in getloadavg() is found:

 AC_INIT(configure.in)
 AC_PREREQ([2.50])

Insert here:

AC_LANG(C++)

 AC_CHECK_FUNCS(failed getloadavg sysctlbyname)
 AC_OUTPUT(Makefile)

Then try again.
I think this is the gcc 3.x compiler getting stricter about types (char and 
int conflict, but gcc 2.9x which is in -STABLE doesn't care).

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Tue Dec 30 
14:31:47 CET 2003 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  i386
===


pgp0.pgp
Description: signature


Re: Web Editing?

2004-01-19 Thread Melvyn Sopacua
On Monday 19 January 2004 16:24, Peter Risdon wrote:

 Eric F Crist wrote:
 What do people here use to edit HTML documents?  I usually use
  Dreamweaver, but I haven't gotten the time to try to get wine working so
  I can run Dreamweaver on FreeBSD.
 TIA

 For a fully graphical html development tool, try /usr/ports/www/quanta

Actually - not the ports version, but the CVS version introduces WYSIWYG 
development, through the Kafka part. It requires KDE 3.2, which is also still 
in development (allthough - if you look closely in the headers of this email 
you see one can work with it).

It does require some skill to set up though. There's a helper script available 
here:
http://rabarber.fruitsalad.org/people/will/stuff/kde-cvs-upgrade.sh

-- 
Melvyn

===
FreeBSD sarevok.idg.nl 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Tue Dec 30 14:31:47 
CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: SMP kernel option

2004-01-19 Thread Melvyn Sopacua
On Monday 19 January 2004 18:15, Didier WIROTH wrote:

 In /usr/src/sys/i386/conf/NOTES it is written:
 # Be sure to disable 'cpu I386_CPU' for SMP kernels.

 Do they mean you have to completely remove the cpu option from the custom
 file, at this time I'm using this in my custom kernel:
 cpu I686_CPU
 options SMP
 device  apic

 Can I leave this? Or should I only have:

Yes, you can leave this, other wise it would say remove any cpu line or 
remove cpu Ix86_CPU lines.
-- 
Melvyn

===
FreeBSD sarevok.idg.nl 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Tue Dec 30 14:31:47 
CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: Problem with login.conf classes

2004-01-22 Thread Melvyn Sopacua
On Thursday 22 January 2004 20:55, Chris Riley wrote:

 I'm trying to create a login class on a 4.9 box that will add additional
 restrictions for some users. I can add the login.class entries to the
 default class and they work, but they apply to everyone. I only want
 them to apply to certain users, but this isn't working.

 Here's what I'm doing:

 I create a copy of the default entry with the name mygroup and add

You don't need to create a copy, just enter the changes and close with:
:tc=default:


 However, if I add the 2 lines to the default entry in login.conf it
 does work, but it works for everyone.

 How can I make it so that these entries are only applied to people in
 mygroup?

You can't, the following values are fetched from the default class *always*:
login_prompt
passwd_prompt
login-retries
login-backoff

See lines 283 and following of /usr/src/usr.bin/login/login.c

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Tue Dec 30 
14:31:47 CET 2003 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  i386
===


pgp0.pgp
Description: signature


Re: Domain name for local network?

2004-01-22 Thread Melvyn Sopacua
On Thursday 22 January 2004 20:32, Jonathon McKitrick wrote:

 If I have a couple of boxes in a home network that connects to the Internet
 via ppp, is there any way I can name my network?  I don't want to register
 a name, just use it locally.  This way I can refer to
 'neptune.jonathon.org' or something similar rather than '10.0.0.1'.

Andrew gave a good HOW-TO.
In general, you would choose a TLD (the last part of a domainname, like .org 
or .net) that does not exist on the internet, so that you never confuse it 
with a real domainname.

.lan, .home or .here are good candidates.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Tue Dec 30 
14:31:47 CET 2003 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  i386
===


pgp0.pgp
Description: signature


Re: /dev/dsp: Device busy

2004-01-27 Thread Melvyn Sopacua
On Sunday 25 January 2004 15:25, Geert Hendrickx wrote:

 Unfortunately, when I click Ok, KDE wants to restart the Arts daemon, and
 then, tragically, it complains dat /dev/dsp is busy...  I think artsd just
 doesn't free the device when it is killed manually, and therefore it
 won't restart either.  But I'll try it again on my next reboot, I think
 this may solve the problem!

Just recode your mp3's to ogg files and use `ogg123 -d arts' or Noatun, use 
kmplayer for movies and then think hard what you need esd/oss for again -:).

I can say that the autosuspend feature works for me(tm) on -CURRENT and KDE 
3.2-CVS, which will be released real soon now. Just make sure you disable a 
lot of unneeded sounds in the desktop, like 'shwoosh' on window resize, 
'whammm' on window closure and so on, as these add to the 5 seconds.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Tue Dec 30 
14:31:47 CET 2003 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  i386
===


pgp0.pgp
Description: signature


Re: CURL in PHP performance question

2004-01-27 Thread Melvyn Sopacua
On Saturday 24 January 2004 01:05, Brent Wiese wrote:

 One of my users wants my to compile CURL so they can use it with PHP, which
 is being run as an Apache module (not cgi).

 I've never used it, but based on the way it reads, it seems like the
 overhead of the calls on even a moderately busy site could have serious
 server impacts.

The alternative is the built-in fopen('protocol://server/resource', 'r') and 
that is much more error prone. Are you not mixing the cURL alternative to 
wget with Tim Bernes-Lee's attempt at a unified webscripting language?
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Tue Dec 30 
14:31:47 CET 2003 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  i386
===


pgp0.pgp
Description: signature


Re: FreeBSD 5.1 support for Dell Integrated audio?

2004-01-27 Thread Melvyn Sopacua
On Tuesday 27 January 2004 23:19, Anthony Discolo wrote:

 I have a new Dell Optiplex GX270 and I can't seem to get integrated audio
 (Integrated Sound Blaster Compatible AC97) to work.  I've tried
 configuring the pcm and sbc drivers with no luck.

Kernel config and dmesg output?
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Tue Dec 30 
14:31:47 CET 2003 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  i386
===


pgp0.pgp
Description: signature


Re: dhcp

2004-01-27 Thread Melvyn Sopacua
On Tuesday 27 January 2004 16:48, Brian H wrote:

 I am trying to get dhclient to work on my laptop, but after a reboot there
 is an entry in the /var/db/dhclient.leases and ifconfig produces 0.0.0.0
 for inet.
 I took a look at /var/log/messages and there was nothing in there about
 dhclient or DHCP.

Run:
dhclient -d ep0

And post the output.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Tue Dec 30 
14:31:47 CET 2003 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  i386
===


pgp0.pgp
Description: signature


Re: FreeBSD 5.1 support for Dell Integrated audio?

2004-01-29 Thread Melvyn Sopacua
On Wednesday 28 January 2004 16:36, Anthony Discolo wrote:

 # Sound card support
 device  pcm # PCM audio

Add the following:
#
# SMB bus
#
# System Management Bus support is provided by the 'smbus' device.
# Access to the SMBus device is via the 'smb' device (/dev/smb*),
# which is a child of the 'smbus' device.
#
# Supported devices:
# smb   standard io through /dev/smb*
#
# Supported SMB interfaces:
# iicsmbI2C to SMB bridge with any iicbus interface
# bktr  brooktree848 I2C hardware interface
# intpm Intel PIIX4 (82371AB, 82443MX) Power Management Unit
# alpm  Acer Aladdin-IV/V/Pro2 Power Management Unit
# ichsmbIntel ICH SMBus controller chips (82801AA, 82801AB, 82801BA)
# viapm VIA VT82C586B/596B/686A and VT8233 Power Management Unit
# amdpm AMD 756 Power Management Unit
# nfpm  NVIDIA nForce Power Management Unit
#
device  smbus   # Bus support, required for smb below.

#device  intpm
#device  alpm
device  ichsmb
#device  viapm
#device  amdpm
#device  nfpm

device  smb

Because:

 pci0: serial bus, SMBus at device 31.3 (no driver attached)
 pci0: multimedia, audio at device 31.5 (no driver attached)

I'm not saying this will work, but it'll at least register the SMBus, which 
might clear some issues for the audio card.

These lines we're taken from /sys/conf/NOTES, which together 
with /sys/$your_arch/conf/NOTES pretty much makes up the old LINT file in 
previous FreeBSD releases.

-- 
Melvyn

===
FreeBSD sarevok.idg.nl 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 18:01:18 
CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: Using bind9, instead of the default bind8

2004-01-30 Thread Melvyn Sopacua
On Friday 30 January 2004 20:31, stan wrote:
 On Fri, Jan 30, 2004 at 04:52:12PM -, Edmund Craske wrote:
  There's something wrong with the rc.conf stuff for named if you install
  the bind9 port over the base bind8 (by doing a make
  -DPORT_REPLACES_BASE_BIND9 install clean in dns/bind9) because of
  differences in command line arguments. Of course, you could just work it
  out and hash it together, or leave the base bind8 alone entirely and
  install bind9 as a separate port... It doesn't really matter either way,
  just make sure you're executing the bind9 named instead of the bind8 one.

 Thnaks for the advice.

 I found the startup flags issue. it's as simple as not needing the -g
 bind. Only the -u bind is allowd.

 I suppose I should make an effort to run this chrooted. Given that I did
 specify the DPORT_REPLACES_BASE_BIND9 optin, would the correct palce tp
 chroot be /etc/namedb?

I've got a patch for this for -CURRENT (rcng), filed it at:
http://www.freebsd.org/cgi/query-pr.cgi?pr=61647
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: 5.2 kernel compilation error

2004-01-30 Thread Melvyn Sopacua
On Saturday 31 January 2004 01:29, paul wrote:
 after i fresh 5.2 install i cvsup using the tag releng_5_2 do a make
 world i then tryed doing a custom kernel and recieve the following error
 i also tryed make buildkernel make kernel and recieve the same error

 sh ../../../conf/newvers.sh GENERIC
 cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
 -Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I../../..
 -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
 -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd
 -I../../../contrib/ngatm -D_KERNEL -include opt_global.h -fno-common
 -finline-limit=15000 -fno-strict-aliasing  -mno-align-long-strings
 -mpreferred-stack-boundary=2 -ffreestanding -Werror  vers.c
 vers.c:30:18: unknown escape sequence '\.'
 *** Error code 1


Which directory is this (make reports it after the error code)?
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Mysql socket security (Was: Re: i found something ugly about freeBSD)

2004-01-30 Thread Melvyn Sopacua
On Friday 30 January 2004 10:20, Jorn Argelo wrote:

 It's up to the administrator of the server to make sure that users
 can't reach the /tmp partition then.

Ehm, you really don't want to advise this.

A proper solution:

/etc/my.cnf:
[mysqld]
socket = /var/run/mysql/socket

Then:
mkdir /var/run/mysql
chown mysql:staff /var/run/mysql
chmod 750 /var/run/mysql

This assumes users in group staff are allowed to access mysql. DO NOT use the 
mysql group - that is best left with only the mysql user in it.

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: NFS performances on 5.1

2004-01-31 Thread Melvyn Sopacua
On Saturday 31 January 2004 16:02, Jacques Beigbeder wrote:

   time dd=/fileserver/aFile of=/fileserver/otherFile bs=32768


 NFS clienttime# pkts
 === === ==
 Solaris   3.11s   2296
 Linux Redhat9 2.42s   1929
 FreeBSD 5.1   19.72s  14887   !!!
 FreeBSD 4.9   3.04s   6380
 FreeBSD 5.2   2.98s   5941

 All FreeBSD uses: mount_nfs -U -3 -r 32768 -w 32768 ...

 Question: is there any tuning on 5.1 to get better performances?

Did you read the notes in src/UPDATING saying:
NOTE TO PEOPLE WHO THINK THAT FreeBSD 5.x IS SLOW:

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: Using the ATAPI/CAM Driver

2004-01-31 Thread Melvyn Sopacua
On Saturday 31 January 2004 11:31, Jeff Elkins wrote:

 That succeeded in freezing the permissions from boot to boot, but I still
 get the error cd9660: /dev/cd0: Device not configured when I try to mount
 a cd via the passthrough device: mount -t cd9660 /dev/cd0 /cdrom

 I _can_ mount cds using the /dev/acd* devices, while using the /dev/cd*
 devices for writing.  Is this the way atapi cdrws are supposed to work
 under freebsd?

So, is cam compiled into the kernel? Do you have the xpt SCSI driver?
If cam is configured correctly, there should be mentioning of cd0 
in /var/run/dmesg.boot and the cd's should be listed via:

camcontrol devlist

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: apache is seg faulting. why ?

2004-01-31 Thread Melvyn Sopacua
On Friday 30 January 2004 13:40, julien Beauviala wrote:

 the following :
  pid 72041 (httpd), uid 80: exited on signal 11
  pid 72040 (httpd), uid 80: exited on signal 11
  pid 72099 (httpd), uid 80: exited on signal 11
  pid 72039 (httpd), uid 80: exited on signal 11
  pid 74202 (httpd), uid 80: exited on signal 11

Make sure you're up-to-date - it may be a security hole.

Otherwise: use top(1) and check if at some point you see a httpd process 
spinning wildly for a long time, while memory grows.

A frequent problem, is that somebody coded an infinite loop, filling a 
variable and then the process runs outof memory and segfaults.

PHP code like this for example:
$i = 11;
$buffer = '';
while ( $i != 10 )
{
$buffer .= 'hello';
$i++;
}

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: apache is seg faulting. why ?

2004-01-31 Thread Melvyn Sopacua
On Saturday 31 January 2004 17:36, Jon-Eirik Pettersen wrote:
 Melvyn Sopacua wrote:
 On Friday 30 January 2004 13:40, julien Beauviala wrote:
 the following :
 pid 72041 (httpd), uid 80: exited on signal 11
 pid 72040 (httpd), uid 80: exited on signal 11
 pid 72099 (httpd), uid 80: exited on signal 11
 pid 72039 (httpd), uid 80: exited on signal 11
 pid 74202 (httpd), uid 80: exited on signal 11
 
 Make sure you're up-to-date - it may be a security hole.
 
 Otherwise: use top(1) and check if at some point you see a httpd process
 spinning wildly for a long time, while memory grows.
 
 A frequent problem, is that somebody coded an infinite loop, filling a
 variable and then the process runs outof memory and segfaults.
 
 PHP code like this for example:
 $i = 11;
 $buffer = '';
 while ( $i != 10 )
 {
  $buffer .= 'hello';
  $i++;
 }

 PHP does have memory-limits.

Yes, but if the shell limit for uid 80 is less then php's memory limit, you 
still have a segfault.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: Power off

2004-01-31 Thread Melvyn Sopacua
On Saturday 31 January 2004 23:36, Yuri Grebenkin wrote:

 Hi. I used to run poweroff on RH Linux. Now I'm under FreeBSD 4.9 and I
 can't turn power off - I have to push button by my hand after running halt
 that prints that system has halted and ready to reboot. Is there any way
 to turn power off by software?

halt -p
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: Building a custom release, not working

2004-01-31 Thread Melvyn Sopacua
On Saturday 31 January 2004 22:06, Chad M Stewart wrote:

 I printed off the FreeBSD Release Engineering document and read through
 it.  I then proceeded to create a local copy of the CVS tree.

And did you checkout /usr/src with that local copy? And did you do a make 
buildworld, to populate /usr/obj with the output of that new tree.

ie:
cd /usr
mv src src.old
cvs -d/home/cms/cvs_root co -r RELENG_4_9 src
cd src
make buildworld
# might be sensible to do, not strictly necessary:
# make buildkernel KERNCONF=YOUR_KERNEL
# make installkernel KERNCONF=YOUR_KERNEL
# reboot
# make installworld
# mergemaster
cd release
make release options...


-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: NFS performances on 5.1

2004-01-31 Thread Melvyn Sopacua
On Saturday 31 January 2004 19:03, Harald Schmalzbauer wrote:
 On Saturday 31 January 2004 17:11, Melvyn Sopacua wrote:

  Did you read the notes in src/UPDATING saying:
  NOTE TO PEOPLE WHO THINK THAT FreeBSD 5.x IS SLOW:

 Could you pleas explain that numbers?

No, because you also failed to mention if you've read that section and 
disabled WITNESS and so on.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: Using the ATAPI/CAM Driver

2004-01-31 Thread Melvyn Sopacua
On Saturday 31 January 2004 18:54, Jeff Elkins wrote:

   I _can_ mount cds using the /dev/acd* devices, while using the /dev/cd*
   devices for writing.  Is this the way atapi cdrws are supposed to work
   under freebsd?
 
  So, is cam compiled into the kernel? Do you have the xpt SCSI driver?
  If cam is configured correctly, there should be mentioning of cd0
  in /var/run/dmesg.boot and the cd's should be listed via:
 
  camcontrol devlist

 kathix# camcontrol devlist
 DMI MultiFlash 3.00  at scbus0 target 0 lun 0 (pass0,da0)
 DMI MultiFlash 3.00  at scbus0 target 0 lun 1 (pass1,da1)
 DMI MultiFlash 3.00  at scbus0 target 0 lun 2 (pass2,da2)
 DMI MultiFlash 3.00  at scbus0 target 0 lun 3 (pass3,da3)
 SEAGATE ST15230N 0638at scbus1 target 0 lun 0 (pass4,da4)
 PLEXTOR DVDR   PX-708A 1.03  at scbus3 target 0 lun 0 (pass5,cd0)
 TOSHIBA CD-ROM XM-6202B 1110 at scbus3 target 1 lun 0 (pass6,cd1)


 cd0 at ata1 bus 0 target 0 lun 0
 cd0: PLEXTOR DVDR   PX-708A 1.03 Removable CD-ROM SCSI-0 device
 cd0: 16.000MB/s transfers

 cd1 at ata1 bus 0 target 1 lun 0
 cd1: TOSHIBA CD-ROM XM-6202B 1110 Removable CD-ROM SCSI-0 device
 cd1: 16.000MB/s transfers

Try getting rid of the DMI devices. As you can see above, the cd's claim bus0, 
while cam puts them on bus 3. Still a chance that the seagate overrides them 
though.

If: 
cdrecord dev=3,0,0 yourfiles.iso

works correctly, you might want to follow this up to -current or -hardware.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: Create a package index

2004-01-31 Thread Melvyn Sopacua
On Sunday 01 February 2004 02:21, Daniela wrote:

 I'm creating a custom installation CD-ROM (4.9-R).
 I have downloaded a subset of the available packages, but the problem is:
 I don't know how to automatically create the index for them, and make the
 symlinks in the appropriate directories.

see: /usr/src/release/scripts/mkpkgindex.sh 
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: Using the ATAPI/CAM Driver

2004-02-01 Thread Melvyn Sopacua
On Sunday 01 February 2004 00:54, Jeff Elkins wrote:
 On Saturday 31 January 2004 6:35 pm, Melvyn Sopacua wrote:
 On Saturday 31 January 2004 18:54, Jeff Elkins wrote:
I _can_ mount cds using the /dev/acd* devices, while using the
/dev/cd* devices for writing.  Is this the way atapi cdrws are
supposed to work under freebsd?
  
   So, is cam compiled into the kernel? Do you have the xpt SCSI driver?
   If cam is configured correctly, there should be mentioning of cd0
   in /var/run/dmesg.boot and the cd's should be listed via:
  
   camcontrol devlist
 
  kathix# camcontrol devlist
  DMI MultiFlash 3.00  at scbus0 target 0 lun 0 (pass0,da0)
  DMI MultiFlash 3.00  at scbus0 target 0 lun 1 (pass1,da1)
  DMI MultiFlash 3.00  at scbus0 target 0 lun 2 (pass2,da2)
  DMI MultiFlash 3.00  at scbus0 target 0 lun 3 (pass3,da3)
  SEAGATE ST15230N 0638at scbus1 target 0 lun 0 (pass4,da4)
  PLEXTOR DVDR   PX-708A 1.03  at scbus3 target 0 lun 0 (pass5,cd0)
  TOSHIBA CD-ROM XM-6202B 1110 at scbus3 target 1 lun 0 (pass6,cd1)
 
 
  cd0 at ata1 bus 0 target 0 lun 0
  cd0: PLEXTOR DVDR   PX-708A 1.03 Removable CD-ROM SCSI-0 device
  cd0: 16.000MB/s transfers
 
  cd1 at ata1 bus 0 target 1 lun 0
  cd1: TOSHIBA CD-ROM XM-6202B 1110 Removable CD-ROM SCSI-0 device
  cd1: 16.000MB/s transfers
 
 Try getting rid of the DMI devices. As you can see above, the cd's claim
  bus0, while cam puts them on bus 3. Still a chance that the seagate
  overrides them though.
 
 If:
 cdrecord dev=3,0,0 yourfiles.iso
 
 works correctly, you might want to follow this up to -current or
  -hardware.

 Thanks.

 All recording functions work, both with cdrecord and growisofs.  The only
 issue is being unable to mount with /dev/cd0, /dev/cd1. I realise that I'm
 in uncharted waters with 5.2, and I appreciate the reply.

Does cdrecord work with dev=/dev/cd0 also?
You did fixate those cd's (shouldn't give a device not configured, but I/O 
error if you didn't, but just to make sure).
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: Using the ATAPI/CAM Driver

2004-02-01 Thread Melvyn Sopacua
On Sunday 01 February 2004 00:54, Jeff Elkins wrote:

 All recording functions work, both with cdrecord and growisofs.  The only
 issue is being unable to mount with /dev/cd0, /dev/cd1. I realise that I'm
 in uncharted waters with 5.2, and I appreciate the reply.

Actually - I just tried to mount a blank cd, and that now gives device not 
configured, so I guess you need to fixate the cd's.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: volumecontrol does not work on 5.2

2004-02-01 Thread Melvyn Sopacua
On Sunday 01 February 2004 16:17, Sebastian Kutsch wrote:

 I have a onboard soundcard with a sis 7012 soundchipset.
 I have compiled the kernel with the pcm device-driver and the chipset
 gets recogniced as you can see at the dmesg output:

 pcm0: SiS 7012 port 0xd800-0xd87f,0xdc00-0xdcff irq 18 at device 2.7
 on pci0
 pcm0: C-Media Electronics CMI9739 AC97 Codec

 I get sound but can't control the volume. I can turn the volume off or
 on, but that all I can do.

 Has anyone an Idea what the problem is?

What is the output of the mixer command without any arguments?
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: volumecontrol does not work on 5.2

2004-02-01 Thread Melvyn Sopacua
On Sunday 01 February 2004 21:59, Sebastian Kutsch wrote:
 On Sun, 1 Feb 2004 20:49:11 +0100

 Melvyn Sopacua [EMAIL PROTECTED] wrote:
  On Sunday 01 February 2004 16:17, Sebastian Kutsch wrote:
   I have a onboard soundcard with a sis 7012 soundchipset.
   I have compiled the kernel with the pcm device-driver and the
   chipset gets recogniced as you can see at the dmesg output:
  
   pcm0: SiS 7012 port 0xd800-0xd87f,0xdc00-0xdcff irq 18 at device
   2.7 on pci0
   pcm0: C-Media Electronics CMI9739 AC97 Codec
  
   I get sound but can't control the volume. I can turn the volume off
   or on, but that all I can do.
  
   Has anyone an Idea what the problem is?
 
  What is the output of the mixer command without any arguments?

 I have got all mixer-devices and they have the standard values.

 -- begin of shelloutput 

 Mixer vol  is currently set to  20:20
 Mixer pcm  is currently set to  20:20
 Mixer speaker  is currently set to  10:10
 Mixer line is currently set to  75:75
 Mixer mic  is currently set to   0:0
 Mixer cd   is currently set to  75:75
 Mixer rec  is currently set to   0:0
 Mixer ogainis currently set to  50:50
 Mixer line1is currently set to  75:75
 Mixer phin is currently set to   0:0
 Mixer phoutis currently set to   0:0
 Mixer videois currently set to  75:75

 --end of shelloutput --

 Changing mixer pcm to 0 turns the volume off. Changing mixer vol
 does nothing.

These values are very device dependant. For instance, mixer vol does nothing 
if I plugin the headphone on this laptop, I should use mixer ogain for the 
headphone. ogain, vol, speaker are all output volume controllers and pcm is 
for volume control for the input stream, generated by the computer.
So try ogain and speaker and see if they work for you.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: KDE on 5.2-Release

2004-02-01 Thread Melvyn Sopacua
On Sunday 01 February 2004 02:09, mj001 wrote:

 I downloaded and installed 5.2-RELEASE.  KDE comes up with its
 blue background, shows the login dialog, apparently accepts
 the login, but then hangs.  The central splash-screen image
 never appears.

 Any similar experience, suggestions of how to diagnose the
 problem, please? Anything else I can post that would help?

I suppose you're using kdm. Disable it, then create an .xinitrc, with like so:
echo 'exec /usr/local/bin/startkde'  ~/.xinitrc

then type 'startx'.

WARNING: Backup your files when needed and if you fear losing settings, 
consider setting up a virgin user account first.

If this works properly, this narrows down the problem to kdm. If it doesn't, 
then CTRL-ALT_BACKSPACE to stop X and KDE and start x via:
nohup startx

Exit the same way when it hangs and examine nohup.out for errors and oddities.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: An idea

2004-02-01 Thread Melvyn Sopacua
On Sunday 01 February 2004 22:27, Jorn Argelo wrote:


 If you like the idea, feel free to sign up at www.wcborstel.nl/forum/ (note
 the last / is required). If you don't like it, I'd like to hear that as
 well.

Well - I don't think it's a good idea to start a forum, with a 'vs' topic :). 
Probably the best thing about BSD's, is that there is no quest for world 
domination, no war on some Redmond-based company, but just a desire to get 
the best out of a computer, where best is defined clearly and kept in mind 
during development.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: named question...

2004-02-01 Thread Melvyn Sopacua
On Sunday 01 February 2004 22:41, Xpression wrote:
 Hi list, I have running named/BIND as DNS server, recently I have
 some problems and I don't know the source of it, I have checked the logs
 and config files but there is nothing unusual, here is my configs files,
 any suggestion ???

It might help to define some problems.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: What kind of crash is this ? (kernel ? userland ? )

2004-02-01 Thread Melvyn Sopacua
On Sunday 01 February 2004 03:40, Joe Schmoe wrote:

 I can ssh to the system, it gives me the BSD copyright and the uname
 message, but never ever gives me a prompt.  What is going on in this
 scenario ?  What kind of things have you seen that cause a crash like this
 ?

Prolly not a crash, but an SSH problem or very busy system. If you press 
CTRL-C, what happens?
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: volumecontrol does not work on 5.2

2004-02-02 Thread Melvyn Sopacua
On Monday 02 February 2004 07:34, Sebastian Kutsch wrote:
 On Mon, 2 Feb 2004 00:39:27 +0100

 Melvyn Sopacua [EMAIL PROTECTED] wrote:
  On Sunday 01 February 2004 21:59, Sebastian Kutsch wrote:
   On Sun, 1 Feb 2004 20:49:11 +0100
  
   Melvyn Sopacua [EMAIL PROTECTED] wrote:
On Sunday 01 February 2004 16:17, Sebastian Kutsch wrote:
 I have a onboard soundcard with a sis 7012 soundchipset.
 I have compiled the kernel with the pcm device-driver and the
 chipset gets recogniced as you can see at the dmesg output:

 pcm0: SiS 7012 port 0xd800-0xd87f,0xdc00-0xdcff irq 18 at
 device 2.7 on pci0
 pcm0: C-Media Electronics CMI9739 AC97 Codec

 I get sound but can't control the volume. I can turn the volume
 off or on, but that all I can do.

 Has anyone an Idea what the problem is?
   
What is the output of the mixer command without any arguments?
  
   I have got all mixer-devices and they have the standard values.

[cut defaults]

  These values are very device dependant. For instance, mixer vol does
  nothing if I plugin the headphone on this laptop, I should use mixer
  ogain for the headphone. ogain, vol, speaker are all output volume
  controllers and pcm is for volume control for the input stream,
  generated by the computer. So try ogain and speaker and see if they
  work for you.

 My problem is that none but pcm does anything. With the following mixer
 values I have the max. volume I can get. setting mixer pcm to 0 would
 turn the volum off.

I googled some - seems like the card has some oddities:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg10573.html
http://mythtv.org/pipermail/mythtv-dev/2003-December/016309.html

And even one freebsd specific (unanswered):
http://lists.freebsd.org/pipermail/freebsd-current/2003-September/010976.html

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: 4 CD ISOs for 5.2 ?

2004-02-03 Thread Melvyn Sopacua
On Tuesday 03 February 2004 13:41, Kris Kennaway wrote:

 Only the first 2 CDs are made available on the FTP site.  The other
 two contain a subset of packages; the full set of packages is
 available on the FTP site, just not in ISO format.

Regarding the first cd:
make release
only creates a 'mini-install', not the 600M iso that is on the site. This one 
misses perl for one and some dependencies fail.
I followed release(7) and the docs on the site - how can I create the 
official disc1 and can that be done, without restarting the entire make 
release process?
-- 
Melvyn

===
FreeBSD sarevok.idg.nl 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 18:01:18 
CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: konstruct, kde 3.2

2004-02-03 Thread Melvyn Sopacua
On Wednesday 04 February 2004 00:17, Darryl N. Grant wrote:

 Seems to be downloading w/ gmake.  What is the difference between make
 and gmake?

Too much to sum up, but basically - gmake is GNU's make and make(1) is BSD's 
make. In this particular case, logical statements are not preceded with a 
period, which is the main difference:
gmake: if defined
make: .if defined

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: 4 CD ISOs for 5.2 ?

2004-02-03 Thread Melvyn Sopacua
On Tuesday 03 February 2004 23:20, Scott Long wrote:
 Kris Kennaway wrote:
  On Tue, Feb 03, 2004 at 04:52:14PM +0100, Melvyn Sopacua wrote:
 On Tuesday 03 February 2004 13:41, Kris Kennaway wrote:
 Only the first 2 CDs are made available on the FTP site.  The other
 two contain a subset of packages; the full set of packages is
 available on the FTP site, just not in ISO format.
 
 Regarding the first cd:
 make release
 only creates a 'mini-install', not the 600M iso that is on the site. This
  one misses perl for one and some dependencies fail.
 
  AFAIK packages are included by hand.

 Correct.  We've talked about enhancing the scripts so that this gets
 included automatically, but it can be problematic since the source
 location of the packages might be unknown at the time of the build.

Do you mean the distfiles here, or the resulting packages?
If talking about the packages, isn't it as simple as moving the 
$CHROOT_DIR/usr/ports/packages into $CHROOT_DIR/R/cdrom and using a similar 
approach as portupgrade? Otherwise an ls */*/*.tbz should print a workable 
list.

If the distfiles, then one can advise in the release manpage, to do:
/usr/src/release/scripts/print-cdrom-packages.sh 1 | xargs portinstall 
--fetch-only

and then proceed with RELEASEDISTFILES argument.

Life would be a lot simpler if portupgrade was moved into base :)

 I followed release(7) and the docs on the site - how can I create the
 official disc1 and can that be done, without restarting the entire make
 release process?
 
  I don't know more specifics.
 
  Kris

 The 'rerelease' target will start up a build where it left off, without
 cleaning the CHROOTDIR area first.

Hmm - this is much clearer then:
Assumes that the output of a release build has been manually modified, and 
performs the minimal number of steps to rebuild the release using the 
intermediate output of the previous ``make release''.

 The RELEASENOUPDATE flag will 
 prevent the scripts for doing a cvs update on the tree.  Both of these
 are useful for restarting a paused build.  Also, depending on what
 actions you want to modify or restart, you might need to remove certain
 makefile marker files at $CHROOTDIR/usr/obj/usr/src/release.

Thanx, I'll see how things go.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: bsd equiv of trace?

2004-02-08 Thread Melvyn Sopacua
On Monday 09 February 2004 06:34, Chad M Stewart wrote:
 What is the BSD equivalent of trace on Solaris?

Prolly ktrace.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: /dev/dsp device busy - one possible solution

2004-02-08 Thread Melvyn Sopacua
On Monday 09 February 2004 01:37, Mike Harding wrote:

 I was playing around with kde 3.2 and a crashing artsd was locking up
 my sound system - any further attempts to use sound from gnome or xmms
 or anything failed with

 /dev/dsp - device busy

 messages.  fstat and lsof showed nothing holding the device.  A reboot
 would fix it, but why reboot FreeBSD?

 I then remembered from a while ago that if I did the following...

 # cat /dev/dsp

 and then of course cntl-C to stop the output

 the device was no longer busy!

What would be interesting to know, if that output stops sometime. Try:
cat /dev/dsp  /var/tmp/out.wav

That would mean, that arts has something written to the device upon crash and 
the device blocks, waiting for somebody to unload it.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: ipmon fills up partition

2004-04-17 Thread Melvyn Sopacua
On Saturday 17 April 2004 18:00, Matthew Seaman wrote:

  Adding /var/run/ipmon.pid at the end of newsyslog.conf line above stops
  the above symptom, but ipmon stopped logging after each rotation.

 This should be the correct thing to do: ipmon should interpret a HUP
 signal to mean 'reopen log files' -- unless it's changed dramatically
 between 4.x and 5.x[*], in which case you'll have to hunt down what
 should be done instead by reading the documentation or the code or
 something.

It does:
ipmon.c:1452
   if (donehup) {
donehup = 0;
if (newlog) {
fclose(log);
log = newlog;
newlog = NULL;
}
}


And:
static void handlehup(sig)
int sig;
{
FILE*fp;

signal(SIGHUP, handlehup);
if (logfile  (fp = fopen(logfile, a)))
newlog = fp;
init_tabs();
donehup = 1;
}

The only codepath I can see, that could cause this behavior, would be if the 
fopen fails, because newsyslog is holding a lock on the file at the time it 
signals ipmon.

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Sun Apr  4 
02:24:06 CEST 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  i386
===


pgp0.pgp
Description: signature


Mounting a dvd with ufs filesystem

2003-11-29 Thread Melvyn Sopacua
Hi,

from the manpage of growisofs, it says it supports burning alternate 
filesystems. This works Ok.

I tried (/dev/dvd=/dev/cd0c=cam/atapi):
mkisofs -dvd-compat -speed=2 -Z /dev/dvd=/dev/ad0s1a

Command executed successfully and put my root partition on the DVD. Now - how 
does one mount this?

mount -o ro /dev/dvd /mnt

gives me an incorrect superblock.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 
00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
===


pgp0.pgp
Description: signature


Re: phpbb + Checksum mismatch

2003-11-29 Thread Melvyn Sopacua
On Sunday 30 November 2003 03:15, Bryan Cassidy wrote:

 Trying to install www/phpbb. I get a Checksum mismatch error for
 phpBB-2.0.6.tar.bz2. 

Yes. They updated the packages without changing the version number to fix a 
security issue (yep, real smart).
The maintainer has already sent a PR about this, but the ports are in a 
code-freeze at the moment.

To fix it:
make makesum

distinfo should look like:
MD5 (phpBB-2.0.6.tar.bz2) = 6574f13e2c7b66fda4faf1b2ddacae48

Or see:
http://www.freebsd.org/cgi/query-pr.cgi?pr=59741

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 
00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
===


pgp0.pgp
Description: signature


Re: Weird display problem

2003-11-29 Thread Melvyn Sopacua
On Sunday 30 November 2003 04:32, Daniela wrote:
andte_Mathematik/ in Mozilla and scroll down the page. I once had this a
 long time ago with 4.8 (now I have 4.9), but I can't remember the browser I
 was using and the exact site (it was something in Google directory).

 How can I solve the problem, or at least find out what causes it?

Did you install x11-fonts/mozilla-fonts?
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 
00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
===


pgp0.pgp
Description: signature


Re: A fast / batch way for checking mp3 and movies ?

2003-11-30 Thread Melvyn Sopacua
On Sunday 30 November 2003 12:58, Ion-Mihai Tetcu wrote:
 Do to a corupted southbridge on myu old mobo I've found myself with
 about 50G of mp3s and movies some ok some corrupted. Does anyone know of
 what tools I could use to batch check them. I would need something like
 a list of those that are corrupted.

There's audio/mp3_check which accepts an arbitrary number of files (ie: you 
can wrap it in find+xargs). 
I'm not sure how much time this may cost though.

As for video: this entirely depends on the format and what 'corrupted' means 
exactly. A corrupted header might be easy to find, but other than that, most 
(if not all) video formats allow for arbitrary lengths, which means that each 
frame has it's own checksum or equivalent.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 
00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
===


pgp0.pgp
Description: signature


Re: php4...

2003-11-30 Thread Melvyn Sopacua
On Sunday 30 November 2003 08:54, Gary Kline wrote:

   Another look at the php4  build clued me in.  It was a
   one-line hack to the Makefile... .

You shouldn't hack the Makefile, cause now you have both www/mod_php4 and 
lang/php4 installed and screwed up dependencies.

You should uninstall www/mod_php4 (just force it). Then install lang/php4.

The lang/php4 port will check for the existence of an apache installation and 
install the apache module (which is www/mod_php4) accordingly.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 
00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
===


pgp0.pgp
Description: signature


Re: MySQL question...

2003-11-30 Thread Melvyn Sopacua
On Sunday 30 November 2003 17:36, Xpression wrote:

 Hi all, I've finished installing MySQL on
 FreeBSD-4.5 RELEASE, now I've to add the users to control
 their databases, but I'm confused...

Right. Because this is not a FreeBSD issue but a MySQL issue. MySQL users have 
nothing to do with the local users for the operating system.

You only need the 'mysql' user, which is created by the port, and read:
http://www.mysql.com/doc/en/Privileges.html

All databases will go under /var/db/mysql and the quick and dirty answer is:
mysql -e GRANT ALL ON $dbname.* TO '$dbuser'@'localhost' IDENTIFIED BY 
'$userpasswd'

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 
00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
===


pgp0.pgp
Description: signature


Re: How to use a mirrord cvs repository

2003-11-30 Thread Melvyn Sopacua
On Sunday 30 November 2003 17:54, Stephen Corbesero wrote:

 There are several places which clearly describe how to do the cvs
 mirroring, but how do i use the mirror locally?  I was successful in
 grabbing the repository.:

Let's say you've mirrored the repository in /home/ncvs (like the default in 
cvs-supfile).

On that machine, you mv /usr/src /usr/src.old.
Then cd into /usr and:
cvs -d/home/ncvs co -rYOUR_TAG_HERE src

Edit /etc/make.conf:
CVS_UPDATE= yes
CVSROOT?=   /home/ncvs

Unset any SUP* variables to make the 'make update' target work correctly.
Adjust the CVSROOT variable if you share the src mirror between machines. Have 
a look at the cvs(1) manpage for examples of that, allthough probably the 
best method is to have /home/ncvs available via NFS on the local network, 
because it doesn't require you to allow 'root' to ssh to other machines or 
setup a pserver.

Remove /usr/src.old once your satisfied :)
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 
00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
===


pgp0.pgp
Description: signature


Re: apache has fallen [and it won't get up]

2003-11-30 Thread Melvyn Sopacua
On Sunday 30 November 2003 19:41, Marty Landman wrote:

 [Sun Nov 30 11:14:53 2003] [alert] (EAI 7)No address associated with
 hostname: mod_unique_id: unable to find IPv4 address of
 SwamiSalami.face2interface.domain
 Configuration Failed

Disable mod_unique_id in httpd.conf to get it back up-and-running.
The real error is probably in /etc/resolv.conf not pointing to a valid 
nameserver.

 Also [maybe an Apache not FBSD question] is
 there a difference between an Apache restart vs. a system reboot as far as
 config problems becoming manifest. I'm guessing that there is.

No - there's a relation between mod_unique_id and DNS (and a relation between 
mod_unique_id and mod_user_track and a relation between HostNameLookups and 
DNS).

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 
00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
===


pgp0.pgp
Description: signature


Re: apache has fallen [and it won't get up]

2003-11-30 Thread Melvyn Sopacua
On Sunday 30 November 2003 20:56, Marty Landman wrote:

 At 02:01 PM 11/30/2003, Melvyn Sopacua wrote:
 Disable mod_unique_id in httpd.conf to get it back up-and-running.

 Ok, this worked.. thank you Melvyn.

You're welcome (been there :).

 The real error is probably in /etc/resolv.conf not pointing to a valid
 nameserver.

 Interesting. /etc/resolv.conf has last been changed like 10 minutes ago
 [not knowingly by me though]. All it says is

 search mshome.net
 nameserver 192.168.0.1

Looks like a DHCP layout. Are you running dhclient (ie: have 
ifconfig_IFACE=DHCP in /etc/rc.conf)?

 Since my workstation is delliver.mshome.net and also shares its internet
 connection on my lan via ics from and its ip addr on the lan is as shown,
 what's up do you think?

I think typing:
host delliver.mshome.net

*on that machine* doesn't give a valid ip address or an adress that is not on 
the workstation.
Since you're refering to 'ics' I guess you're gateway is an MS box and doesn't 
run DNS or a DNS forwarder at best.

 Also would like to add that other intranet tools seem to still be ok
 including

 - lynx
 - ftp [in and out]
 - ssh [in]
 - intra-box email
 - ping

These do not resolve the local hostname on the machine itself, which is what 
mod_unique_id tries to do though.

 If it's really just apache that's having the trouble I wonder if it could
 be a race condition? I notice that apache starts from a shell cmd when fbsd
 reboots.

 Swami: ls -l /usr/local/etc/rc.d/*.sh
 -r-xr-xr--  1 root  pgsql  875 Nov 11 17:24
 /usr/local/etc/rc.d/010.pgsql.sh -rwxr-x--x  1 root  wheel  407 Nov 12
 19:33 /usr/local/etc/rc.d/apache2.sh -rwxr-xr--  1 root  wheel  144 Nov 12
 16:18 /usr/local/etc/rc.d/landns.root.sh Swami:

 What determines the sequence in which these three scripts run?

Exactly what you're typing: it's lexacilly sorted - to be exact: sorted 
according to the glob(3) implementation.

If you need landns.root.sh to start first, rename it to:
010.landns.root.sh

Just in case you're wondering:
000.* is used for ldconfig(8)'s shared library paths, like 'lib/mysql' and 
'lib/kde3' so you might wanna steer clear of that.

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 
00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
===


pgp0.pgp
Description: signature


Re: How to determine which distribution sets were installed

2003-11-30 Thread Melvyn Sopacua
On Sunday 30 November 2003 08:52, Allan Bowhill wrote:

 On  0, Paul van Berlo [EMAIL PROTECTED] wrote:
 :Hello,
 :
 :is there an easy way to determine which distribution sets were installed
 :during the FreeBSD installation and after that? I inherited a server and
 :want to make sure what is and is not installed. Of course I can do all of
 :this manually, but I was hoping FreeBSD keeps a log or something
 :somewhere.

 I am not %100 sure, but I think you might have to do it manually. I
 don't think FreeBSD keeps records of what was originally chosen
 in /stand/sysinstall for distribution sets on a first-time installation.

Right - because it doesn't make sence to do so.
If you choose 'developer' during the 'standard installation' but later install 
the XFree86 port, you essentially now have an 'X-Developer' distribution set.

In a well-maintained system, /etc/make.conf should reflect any alterations to 
the base installation and the rest can be found in /var/db/pkg/*.

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 
00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
===


pgp0.pgp
Description: signature


Re: php4...

2003-11-30 Thread Melvyn Sopacua
On Sunday 30 November 2003 21:13, Gary Kline wrote:
 On Sun, Nov 30, 2003 at 01:40:07PM +0100, Melvyn Sopacua wrote:
  On Sunday 30 November 2003 08:54, Gary Kline wrote:
 Another look at the php4  build clued me in.  It was a
 one-line hack to the Makefile... .
 
  You shouldn't hack the Makefile, cause now you have both www/mod_php4 and
  lang/php4 installed and screwed up dependencies.
 
  You should uninstall www/mod_php4 (just force it). Then install
  lang/php4.
 
  The lang/php4 port will check for the existence of an apache installation
  and install the apache module (which is www/mod_php4) accordingly.

   Thanks for your help.  Last May when I first started working
   with php another genteman said to forget lang/php4 and
   just install mod_php4.  This worked for awhile.  Now that
   I'm trying to merge php with mysql || postresql, things are
   more complcated.

If somebody tells you to 'forget about something', the next question should be 
'why?' :).

www/mod_php4:   ONLY the apache module.
www/php4-cgi:   ONLY the CGI module
lang/mod_php4-cli:  ONLY the Command Line Interface

lang/php4:  By default the CLI module and if 'apxs' is found
it  will install the apache module as well.

Since you now need both the CLI as well as the apache module, you should 
uninstall www/mod_php4 and install lang/php4.

As a side note:
Having a php-cli available for cronjobs is *very* convenient, that's why I 
always go with that port even when I've got no immediate use for it. Last 
time I checked www/phpgroupware requires it for cleanups and sending out 
alerts. Additionally you can run the test suite:
cd /usr/ports/lang/php4  make test

which will identify possible problems in your setup.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 
00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
===


pgp0.pgp
Description: signature


Re: php4...

2003-11-30 Thread Melvyn Sopacua
On Sunday 30 November 2003 21:39, Gary Kline wrote:


FUDforum can utilize either MySQL or PosgreSQL database to store it's
data, unfortunately, your PHP does not have support for either one.
Please install or load the appropriate database extension and then
re-run the install script.

From the Makefile:

# There are many ways to select which extensions you want to enable, either
# in interactive mode or in batch mode.
#
# By default, the enabled extensions are: CTYPE, MYSQL, OVERLOAD, PCRE, POSIX,
# SESSION, TOKENIZER, XML and ZLIB. This behaviour can be changed overriding
# the PHP4_OPTIONS variable (e.g. PHP4_OPTIONS=EXT1 EXT2 EXT3).
#
# Another way is to use the WITH_EXT and WITHOUT_EXT knobs, for additional
# and default extensions respectively (implies batch mode).
#
# The last way reads an extension file, located in ~/php4_options (the
# location is overridable by the PHP4_OPTFILE variable). You may find an
# example in scripts/php4_options (interactive mode only).

If you make sure that no 'WITH_*' variables are set (check MAKE_ARGS in /usr/
local/etc/pkgtools.conf if you're using portupgrade and/or /etc/make.conf) 
then attached file, placed as /root/php4_options will get you a php 
installation, that will most probably forfill your needs.

You will get a screen (if you don't, then there's still a WITH_* variable 
defined somewhere or the variable 'BATCH') which allows you to add/delete 
modules, the same way that /stand/sysinstall does it.

Adjust as necessary. After you're done installing, the actual file (ie: with 
the changes you made) now resides in:
/usr/ports/lang/php4/scripts/php4_options

Copy that over to /root/php4_options and the next time you upgrade/install the 
dialog will contain your defaults and you can just select 'OK'.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 
00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
===
WITH_BCMATH=OFF
WITH_BZIP2=ON
WITH_CALENDAR=ON
WITH_CDB=OFF
WITH_CRACK=OFF
WITH_CTYPE=ON
WITH_CURL=ON
WITH_DB4=OFF
WITH_DBASE=OFF
WITH_DBX=OFF
WITH_DOMXML=ON
WITH_DOMXSLT=ON
WITH_EXIF=ON
WITH_FILEPRO=OFF
WITH_FRIBIDI=OFF
WITH_FTP=ON
WITH_GD=ON
WITH_GDBM=OFF
WITH_GETTEXT=ON
WITH_GMP=OFF
WITH_HYPERWAVE=OFF
WITH_ICONV=ON
WITH_IMAP=OFF
WITH_INIFILE=ON
WITH_INTERBASE=OFF
WITH_MBSTRING=ON
WITH_MCAL=OFF
WITH_MCVE=OFF
WITH_MCRYPT=ON
WITH_MHASH=ON
WITH_MIME=ON
WITH_MING=ON
WITH_MNOGOSEARCH=OFF
WITH_MYSQL=ON
WITH_NCURSES=ON
WITH_OPENLDAP=ON
WITH_OPENSSL=ON
WITH_ORACLE=OFF
WITH_OVERLOAD=ON
WITH_PCNTL=ON
WITH_PCRE=ON
WITH_PDFLIB=ON
WITH_POSIX=ON
WITH_POSTGRESQL=OFF
WITH_PSPELL=OFF
WITH_READLINE=OFF
WITH_RECODE=OFF
WITH_SESSION=ON
WITH_SHMOP=OFF
WITH_SNMP=OFF
WITH_SOCKETS=ON
WITH_SYBASEDB=OFF
WITH_SYBASECT=OFF
WITH_SYSVSEM=OFF
WITH_SYSVSHM=OFF
WITH_TOKENIZER=ON
WITH_UNIXODBC=OFF
WITH_WDDX=OFF
WITH_XML=ON
WITH_XMLRPC=ON
WITH_XSLT=OFF
WITH_YAZ=OFF
WITH_YP=OFF
WITH_ZIP=ON
WITH_ZLIB=ON


pgp0.pgp
Description: signature


Re: php4...

2003-11-30 Thread Melvyn Sopacua
On Sunday 30 November 2003 21:53, Matthew Seaman wrote:

 You may also need the PEAR DB abstraction layer: try installing the
 databases/pear-DB port.

That's FUD :)

IE: FUDforum doesn't require PEAR::DB.

http://fud.prohost.org/doc/d/html/installation.html#install.verify.config

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 
00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
===


pgp0.pgp
Description: signature


Re: php4...

2003-11-30 Thread Melvyn Sopacua
On Sunday 30 November 2003 22:01, Melvyn Sopacua wrote:

 Adjust as necessary. After you're done installing, the actual file (ie:
 with the changes you made) now resides in:
 /usr/ports/lang/php4/scripts/php4_options

 Copy that over to /root/php4_options and the next time you upgrade/install
 the dialog will contain your defaults and you can just select 'OK'.

While I just hacked together a possible solution for this problem, I noticed I 
made an error here.

The scripts/php4_options file is just a default and is not modified. The 
modifications are written to work/Makefile.inc and have a different form than 
the options file.

Basically - you need to remember yourself which modifications you made and 
modify /root/php4_options yourself.

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 
00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
===


pgp0.pgp
Description: signature


Re: MySQL question...

2003-11-30 Thread Melvyn Sopacua
On Sunday 30 November 2003 22:57, DG wrote:

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of
  Melvyn Sopacua
  Sent: Monday, 1 December 2003 3:54 AM
  To: FreeBSD-questions
  Cc: Xpression
  Subject: Re: MySQL question...

 snip

  All databases will go under /var/db/mysql and the quick and
  dirty answer is:
  mysql -e GRANT ALL ON $dbname.* TO '$dbuser'@'localhost'
  IDENTIFIED BY
  '$userpasswd'
 
  --
  Melvyn

 Something I've wondered is why the default location for the MySQL databasi
 is /var/db/mysql?  Yes /var/db seems to make sense, but most /var
 filesystems would be fairly small.

By tradition /var is for 'variable data'.
By tradition, /var has been used for mail and news and as such do not require 
large partitions unless you run binary newsgroups. Therefore most /var 
partitions are small.
However - I agree that the chosen default is not up-to-par with the use of 
MySQL, especially since you would take smaller fragment size for a /var 
partition if you have a busy mail- or newsserver and that certainly won't 
benefit MySQL.

 Is it generally common practice to create a symbolic link to somewhere on,
 say, /usr to store the databasi?

If you know beforehand that you're going to run a mysql database with large 
databases (or use innodb which will never shrink!), than it's wise to create 
a large partition /var/db/mysql on boot.

Otherwise you can set the DB_DIR variable during installation of MySQL to 
f.e.:
/usr/local/var/mysql

which is not unheard of. On my workstation I use /usr/db/mysql, but on my 
workstation I also have a 15G /usr partition.

Whichever you choose, it's best to choose a DB_DIR ending in /mysql, so you 
can always decide to add another disk and mount that as $DB_DIR.

By the way: don't underestimate the size of the binary logs, especially with 
large inserts.

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 
00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
===


pgp0.pgp
Description: signature


Re: apache has fallen [and it won't get up]

2003-11-30 Thread Melvyn Sopacua
On Monday 01 December 2003 01:39, Marty Landman wrote:


 I think typing:
 host delliver.mshome.net
 
 *on that machine* doesn't give a valid ip address or an adress that is not
  on the workstation.

 Actually I got the corrent ip's for each of my four windoz boxes by
 querying each with their name on mshome.net.

 Since you're refering to 'ics' I guess you're gateway is an MS box and
 doesn't
 run DNS or a DNS forwarder at best.

 Right, I think. It's a windoz xp home edition box getting dns via dial-up.
 At least I think I'm saying that correctly.

I checked your original message again. It says something about some 
SwamiSalami hostname. Is that by any chance the 'ServerName' of the main 
server? That is what mod_unique_id is trying to resolve. If no ServerName is 
set, it takes the hostname of the computer.

 The apache manual entry for mod_unique_id didn't say a whole lot. This must
 be a default and I wonder if it's something I will eventually miss. What's
 it do, or can you point to a more in depth explanation I can read?

It creates a unique id for every request. This is used by mod_usertrack to 
generate a session id.

There are some other modules that also use this feature, but I can't think of 
any off-hand. It's also convenient if you use an log-analyzer that checks 
whether there are duplicate lines. You can log the created id in a separate 
field and thus make sure that the same file requested twice within a second, 
from the same host, by the same browser (think /images/spacer.gif) is 
something else then a duplicate logline in the file.

In a nutshell: if you don't care about mod_usertrack or wrongly detected 
duplicate loglines, you have no use for mod_unique_id. Any other apache 
module requiring it, will complain soon enough, but since you have it running 
without - you seem to have no such dependency.

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 
00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
===


pgp0.pgp
Description: signature


Re: php4...

2003-11-30 Thread Melvyn Sopacua
On Monday 01 December 2003 02:29, Gary Kline wrote:

   Yipes!  No wonder no FUD port has been done! 

You mean this?

(I'm still trying to improve this, but need a hack on bsd.php.mk to make it 
more user-friendly).

Oh - just create /usr/ports/www/fudforum, cd into it and sh /path/to/
fudforum.sh.

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 
00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
===


pgp0.pgp
Description: signature


Re: php4...

2003-11-30 Thread Melvyn Sopacua
[ inlined since it was stripped ]

On Monday 01 December 2003 02:29, Gary Kline wrote:

   Yipes!  No wonder no FUD port has been done! 

You mean this?

(I'm still trying to improve this, but need a hack on bsd.php.mk to make it 
more user-friendly).

Oh - just create /usr/ports/www/fudforum, cd into it and sh /path/to/
fudforum.sh.

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 
00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
===

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering sh file.  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#   Makefile
#   distinfo
#   pkg-descr
#   pkg-message
#   pkg-plist
#
echo x - Makefile
sed 's/^X//' Makefile  'END-of-Makefile'
X# New ports collection makefile for: FUDForum
X# Date created:30 Nov 2003
X# Whom:Melvyn Sopacua
X#
X# $Id$
X# $FreeBSD$
X#
X
XPORTNAME=  fudforum
XPORTVERSION=   2.6.0.r8
XCATEGORIES=www
XMASTER_SITES=  http://fud.prohost.org/download/
X# http://fud.prohost.org/download/FUDforum_zl_2-6-0RC8.tar.bz2
XDISTNAME=  FUDforum_zl_${PORTVERSION:S/.r/RC/:S/./-/g}
X
XMAINTAINER=[EMAIL PROTECTED]
XCOMMENT=   A robust, fully customizable and extremely scalable forums package
X
XWRKSRC=${WRKDIR}/FUDforum2
XNO_BUILD=  yes
XUSE_BZIP2= yes
X
XFUDDIR?=   www/data-dist/${PORTNAME}
XPLIST_SUB+=FUDDIR=${FUDDIR}
XDB_TYPE?=  mysql4
X
X.if ${DB_TYPE} == mysql4
XLIB_DEPENDS+=  mysqlclient.12:${PORTSDIR}/databases/mysql40-client
X.else
X.if ${DB_TYPE} == mysql3
XLIB_DEPENDS+=  mysqlclient.10:${PORTSDIR}/databases/mysql323-client
X.else
X.if ${DB_TYPE} == pgsql
XLIB_DEPENDS+=  pq:${PORTSDIR}/databases/postgresql-client
X.endif
X.endif
X.endif
XWANT_PHP_CLI=  yes
XWANT_PHP_WEB=  yes
X
XFUDDOCS=   COPYING CREDITS README
X
X.include bsd.port.pre.mk
X.include ${.CURDIR}/../../lang/php4/bsd.php.mk
X
Xpre-extract:
X   @${ECHO_MSG} You can select the Database to use by defining DB_TYPE
X   @${ECHO_MSG} Default: mysql4
X   @${ECHO_MSG} 
X   @${ECHO_MSG} You can select the installation directory by setting
X   @${ECHO_MSG} FUDDIR relative to ${PREFIX}
X   @${ECHO_MSG} Default: www/data-dist/${PORTNAME}
X   @${ECHO_MSG} 
X
Xdo-install:
X   @${MKDIR} ${PREFIX}/${FUDDIR}
X   ${CP} ${WRKSRC}/*.php ${PREFIX}/${FUDDIR}
X.if !defined(NOPORTDOCS)
X   @${ECHO_MSG} Installing Documentation into ${DOCSDIR}
X   @${ECHO_MSG} 
X   @${MKDIR} ${DOCSDIR}
X.for f in ${FUDDOCS}
X   @${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR}/
X.endfor
X.endif
X
Xpost-install:
X   @${CAT} ${PKGMESSAGE}
X
X.include bsd.port.post.mk
END-of-Makefile
echo x - distinfo
sed 's/^X//' distinfo  'END-of-distinfo'
XMD5 (FUDforum_zl_2-6-0RC8.tar.bz2) = e5543f56b961c840c2de9abdc59ef714
END-of-distinfo
echo x - pkg-descr
sed 's/^X//' pkg-descr  'END-of-pkg-descr'
XFUDforum is a highly customizable forum package, with a large feature set. 
The 
Xeasy to use administration control panel allows the administrator to easily 
Xconfigure and control the many features available. The forum also includes an 
Xinteractive help package, which helps to familiarize users with the full 
Xpotential of FUDforum.
X
XWWW: http://fud.prohost.org/
END-of-pkg-descr
echo x - pkg-message
sed 's/^X//' pkg-message  'END-of-pkg-message'
X*
X*  Installation Instructions   *
X*
X
X1) This step applies ONLY to users who's PHP has a memory limit.
X
X   Make sure that the directory the install script is in is either writable 
by 
X   the webserver or that a fudforum_archive file exists and is writable by 
X   the webserver. The latter applies only to users on servers WITHOUT 
X   safe_mode.
X   
X2) Using your web browser run the install.php script. In a default install, 
X   run:
X   http://localhost/fudforum/install.php
X
X3) The install wizard will then take you through 5 steps at the end of which 
X   you will have a working FUDforum installed on your server.
X
X*
X*  Uninstall Instructions  *
X*
X
XRun the uninstall.php script PRIOR to pkg_delete/pkg_deinstall to remove the
Xdirectories and files created by the install.php script.
X
END-of-pkg-message
echo x - pkg-plist
sed 's/^X//' pkg-plist  'END-of-pkg-plist'
X%%PORTDOCS%%share/doc/fudforum/COPYING
X%%PORTDOCS%%share/doc/fudforum/CREDITS
X%%PORTDOCS%%share/doc/fudforum/README
X%%FUDDIR%%/install.php
X%%FUDDIR%%/uninstall.php
[EMAIL PROTECTED] %%FUDDIR%%
[EMAIL PROTECTED] share/doc/fudforum
END-of-pkg-plist

Re: Remove ^M characters from xhtml file

2003-11-30 Thread Melvyn Sopacua
On Monday 01 December 2003 04:39, Bryan Cassidy wrote:

 Well, I take that back. It worked on 1 file and then ir started erasing
 the contents of the file.

 On Sun, 30 Nov 2003 21:29:13 -0600

 Bryan Cassidy [EMAIL PROTECTED] wrote:

  Sorry about sending you a e-mail directly. The tr -d '/r'  name 

  Robin Schoonover [EMAIL PROTECTED] wrote:
   name). Also you can use the tr command (tr -d '\r'  name 

Spot the difference.

Another way: perl -pi.bak -e 's/\r$//' *.xhtml

BTW: why is this even an issue that needs a solution? XHTML doesn't care one 
way or the other, since all linear spacing is folded into one space.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 
00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
===


pgp0.pgp
Description: signature


Re: apache has fallen [and it won't get up]

2003-11-30 Thread Melvyn Sopacua
On Monday 01 December 2003 03:14, Marty Landman wrote:

 Is that by any chance the 'ServerName' of the main server? That is what
 mod_unique_id is trying to resolve. If no ServerName is set, it takes the
 hostname of the computer.

 I've specified in httpd.conf

 ServerName 192.168.0.7:80

Drop the :80 there. In fact - since you're overriding it below, it's not even 
used.

 In a VirtualHost directive

 VirtualHost *
  ServerName SwamiSalami.face2interface.domain

If this is litterally what you have, then it's no surprise as '.domain' is not 
a valid 'country' (TLD or Top Level Domain in DNS terms).

My guess is, you should have:
ServerName swamisalami.face2interface.com

(Educated guess really: swamisalami.face2interface.com has address 
216.157.5.252)

I seem to be getting too used to people obscuring their actual host names with 
fabrications for privacy reasons (rantcould we just all stick to 
example.com for that?/rant).

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 
00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
===


pgp0.pgp
Description: signature


Re: php4...

2003-11-30 Thread Melvyn Sopacua
On Monday 01 December 2003 04:50, Gary Kline wrote:
 On Mon, Dec 01, 2003 at 03:39:37AM +0100, Melvyn Sopacua wrote:
  On Monday 01 December 2003 02:29, Gary Kline wrote:
 Yipes!  No wonder no FUD port has been done! 
 
  You mean this?
 
  (I'm still trying to improve this, but need a hack on bsd.php.mk to make
  it more user-friendly).
 
  Oh - just create /usr/ports/www/fudforum, cd into it and sh /path/to/
  fudforum.sh.
 
  --
  Melvyn

   fudforum.sh??  Hm, looks like I grabbed the wrong .bz2

No - the mailinglist software stripped the attachment. It was a shar archive 
(see my message 5 minutes later), which is commonly used to distribute new 
ports or proposals for that. What I did after I proposed this software to 
you, is create a port for it, and find out for myself what issues would arise 
if a port would be created. It's a pretty straight-forward port actually 
which doesn't need much magic.

The only annoying thing is that there's no way currently for a port to 
determine which php extensions have actually been compiled into php, other 
then guessing if the mysql library is there, then probably the php build has 
the mysql extension as well, which is not necessarily the case.

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 
00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
===


pgp0.pgp
Description: signature


Re: network security sysctl mib's

2003-12-01 Thread Melvyn Sopacua
On Monday 01 December 2003 20:59, fbsd_user wrote:

 net.inet.icmp.drop_redirect=1
 net.inet.icmp.log_redirect=0

icmp(4)

 net.inet.ip.redirect=0

 net.inet.ip.sourceroute=0
 net.inet.ip.accept_sourceroute=0

inet(4)

 net.inet.icmp.bmcastecho=0

icmp(4)

 net.inet.tcp.blackhole=2
 net.inet.udp.blackhole=1

 net.inet.tcp.log_in_vain=1
 net.inet.udp.log_in_vain=1

tcp(4) and udp(4)

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #2: Mon Dec  1 
17:58:47 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
===


pgp0.pgp
Description: signature


Re: network security sysctl mib's

2003-12-03 Thread Melvyn Sopacua
On Tuesday 02 December 2003 18:29, fbsd_user wrote:

 Thank you for responding with pointers to where I
 can find some very limited documented info on the
 MIB's I asked about.

You're welcome.


 The only conclusion one can draw from the test results is that
 IPFILTER gets access to the packets before the log_in_vain  Mib
 does.  To extrapolate on this, it would indicate the other network
 security Mibs I pointed out in my original post are in the same boat
 as log_in_vain.

I haven't looked at specifics, but this sounds logical to me. MIB's control or 
inform about system states. A firewall's task is to prevent stuff from 
entering the system.

 The remaining question then is does the IPFW firewall work the same
 way. If it does then all those network security Mib's only have
 effect on FBSD systems that are not running an firewall.

Not necessarily. You blocked all traffic, so the system does not register the 
specific event you're looking at. Did you try just enabling the firewall but 
setting an allow all rule?


 It's my opinion that in today's world of such emphasis on network
 security that an clear understand of these MIB's are absolutely
 necessary, indispensable, requisite information that has to be
 disseminated to the FBSD community and not buried in some obscure,
 very hard to find place like it currently is.

Documentation on many MIB's is hard to find indeed. Maybe you should join the 
documentation team to help out - but - in this specific case, the 2 ( ipfw2 
on -CURRENT makes 3 even) firewall implementations are well documented and 
should instead be used if one is concerned about security, because they can 
log and handle anything *before* it enters the system.

 Here is the documentation I created in the sysctl.conf file. What do
 you think about it?

I would have to look at specifics and I think [EMAIL PROTECTED] would be a 
more appropreate place to get some definitive answers.

-- 
Melvyn

===
FreeBSD sarevok.idg.nl 5.2-BETA FreeBSD 5.2-BETA #0: Wed Dec  3 20:13:44 CET 
2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOACPI  
i386
===


pgp0.pgp
Description: signature


Re: Weird display problem

2003-12-04 Thread Melvyn Sopacua
On Wednesday 03 December 2003 19:59, Daniela wrote:
 On Sunday 30 November 2003 02:56, Melvyn Sopacua wrote:
  On Sunday 30 November 2003 04:32, Daniela wrote:
  andte_Mathematik/ in Mozilla and scroll down the page. I once had this a
   long time ago with 4.8 (now I have 4.9), but I can't remember the
   browser I was using and the exact site (it was something in Google
   directory).
  
   How can I solve the problem, or at least find out what causes it?
 
  Did you install x11-fonts/mozilla-fonts?

 Yes, just installed it and restarted the X server, but the problem is still
 there. Is this a known bug?

Well actually - there is/was a known problem with the Mozilla-fonts package 
and Mozilla. If you're having these problems without the Mozilla-fonts 
package as well, we're looking at something else.

What's your X version, your display driver and most notably the memory on the 
vidcard and your RAM?
You don't see this with any other page (cause I really can't find anything 
special about that page that could trigger Moz-weirdness)?

Are you using Xft for your fonts?
-- 
Melvyn

===
FreeBSD sarevok.idg.nl 5.2-BETA FreeBSD 5.2-BETA #1: Thu Dec  4 12:47:31 CET 
2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  i386
===


pgp0.pgp
Description: signature


Re: ipfilter traffic blocking and tcpdump snort etc

2003-12-05 Thread Melvyn Sopacua
On Friday 05 December 2003 11:58, Jez Hancock wrote:

 Let me rephrase that one :P  I meant is there a method - for example
 such as adding some kind of routing via arp - so that packets are
 dropped on the floor even quicker than they would be via the firewall
 method?

You could bind the ip's to the loopback interface, but I think the firewall 
setup is quicker.

-- 
Melvyn

===
FreeBSD sarevok.idg.nl 5.2-BETA FreeBSD 5.2-BETA #1: Thu Dec  4 12:47:31 CET 
2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  i386
===


pgp0.pgp
Description: signature