ports: how to handle 'alternate' dependencies

2009-09-12 Thread John W
I'm just learning the guts of how ports work, and wonder: How do ports specify that any one of X, Y, Z would satisfy a dependency. For instance, when I build graphics/jalbum, it says it requires jdk16. I would rather use diablo-jdk16, since I find it faster and it is easier to install. But how

Re: ports: how to handle 'alternate' dependencies

2009-09-12 Thread John W
On Fri, Sep 11, 2009 at 11:06 PM, John W jwde...@gmail.com wrote: I'm just learning the guts of how ports work, and wonder: How do ports specify that any one of X, Y, Z would satisfy a dependency. For instance, when I build graphics/jalbum, it says it requires jdk16. I would rather use

configuring X on the Presario with the 8200M driver

2009-09-12 Thread Kenneth
Moving this discussion to freebsd-x11. I have a Presario CQ60 with the NVIDIA 8200M G, and X is working! Here are the steps to get there. Do everything as root: 1) Update your ports to the most recent. Follow the FreeBSD manual, section 4.5 Using the Ports Collection, nuke the contents of

Re: configuring X on the Presario with the 8200M driver

2009-09-12 Thread Kenneth
Step 10 should be # Xorg -config xorg.conf.new -retro -Original Message- From: Kenneth kennet...@earthlink.net Sent: Sep 12, 2009 2:12 AM To: freebsd-questions@freebsd.org, freebsd-...@freebsd.org Cc: jules.sto...@gmail.com, ges...@yahoo.com Subject: configuring X on the Presario with

Re: ports: how to handle 'alternate' dependencies

2009-09-12 Thread Dan Nelson
In the last episode (Sep 11), John W said: I'm just learning the guts of how ports work, and wonder: How do ports specify that any one of X, Y, Z would satisfy a dependency. For instance, when I build graphics/jalbum, it says it requires jdk16. I would rather use diablo-jdk16, since I

Re: ports: how to handle 'alternate' dependencies

2009-09-12 Thread Matthew Seaman
John W wrote: I'm just learning the guts of how ports work, and wonder: How do ports specify that any one of X, Y, Z would satisfy a dependency. For instance, when I build graphics/jalbum, it says it requires jdk16. I would rather use diablo-jdk16, since I find it faster and it is easier to

c++: invalid conversion from 'int' to 'const char*'

2009-09-12 Thread Boris Samorodov
Hello List, I'm porting a c++ application to FreeBSD. I've got an error: - ~/work/src/FileChannel.cpp: In member function 'QString FileChannel::errorString()': ~/work/src/FileChannel.cpp:251: error: invalid conversion from 'int' to 'const char*' ~/work/src/FileChannel.cpp:251: error:

Re: linux-pango won't install

2009-09-12 Thread Boris Samorodov
On Fri, 11 Sep 2009 23:01:23 -0600 Chad Perrin wrote: If you still want to install the port, you could just add this to the /etc/make.conf file: # Pango .if $(.CURDIR:M*/x11-toolkits/linux-pango) DISABLE_VULNERABILITIES=yes .endif How long has this been broken for 7.2?

Re: c++: invalid conversion from 'int' to 'const char*'

2009-09-12 Thread Fabian Keil
Boris Samorodov b...@ipt.ru wrote: I'm porting a c++ application to FreeBSD. I've got an error: - ~/work/src/FileChannel.cpp: In member function 'QString FileChannel::errorString()': ~/work/src/FileChannel.cpp:251: error: invalid conversion from 'int' to 'const char*'

Re: c++: invalid conversion from 'int' to 'const char*'

2009-09-12 Thread Boris Samorodov
On Sat, 12 Sep 2009 12:41:43 +0200 Fabian Keil wrote: Boris Samorodov b...@ipt.ru wrote: I'm porting a c++ application to FreeBSD. I've got an error: - ~/work/src/FileChannel.cpp: In member function 'QString FileChannel::errorString()': ~/work/src/FileChannel.cpp:251: error:

where to put `startx` serverargs

2009-09-12 Thread Alexander Best
hi there, since i don't use ipv6 X produces the following warning when starting up: _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/otaku:0 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 so i'd to start

Re: configuring X on the Presario with the 8200M driver

2009-09-12 Thread Kenneth
OK...I forgot 1 important step before rebooting (step 6 in the sequece below)... 5.5) Edit the /etc/rc.conf file... # vi /etc/rc.conf --- add the following 2 lines hald_enable=YES dbus_enable=YES -Original Message- From: Kenneth kennet...@earthlink.net Sent: Sep 12, 2009 2:23 AM To:

Re: reducing size of apache instances

2009-09-12 Thread Dominic Fandrey
John Almberg wrote: I'm starting to wonder about the Swap info from top... it never changes. It has said the same thing all day, since I've been watching it. Does that make sense? Swap: 2008M Total, 150M Used, 1858M Free, 7% Inuse That looks about normal if your RAM suffices. In that case

Rule equivalence of pf uRPF check

2009-09-12 Thread Maxim Khitrov
Hello all, I sent this message to -pf list, but no one answered. I would like to verify my assumptions regarding the way pf's uRPF check works. I'm using a Soekris net5501 board as a firewall; port 0 ($ext_if) is internet uplink, ports 1-3 ($int_if, $mil_if, $vpn_if) are separate lan segments

Re: Rule equivalence of pf uRPF check

2009-09-12 Thread Matthew Seaman
Maxim Khitrov wrote: block in quick on $int_if from !$int_if:network block in quick on !$int_if from $int_if:network block in quick from $int_if The OpenBSD pf faq states that urpf-check is equivalent to the antispoof rules, but the antispoof section lists only the last two rules in my example

How to setup mDNSResponder on FreeBSD?

2009-09-12 Thread Sagara Wijetunga
Hi all I have installed the net/mDNSResponder port on a FreeBSD 7.2 i386 computer. Set to launch the mdnsd on start up (in /etc/rc.conf). Changed hosts line in /etc/nsswitch.conf to hosts: files mdns dns. Rebooted. mDNSIdentify name.local immediately shows the IP address of the other

System Upgrade

2009-09-12 Thread Коньков Евгений
Здравствуйте, Freebsd-questions. Can I do this steps not in single user mode?? # 5. `reboot'(in single user mode: boot -s from the loader prompt). # 6. `mergemaster -p' # 7. `make installworld' # 8. `make delete-old' # 9. `mergemaster' (you may wish to

Re: System Upgrade

2009-09-12 Thread Adam Vande More
2009/9/12 Коньков Евгений kes-...@yandex.ru Здравствуйте, Freebsd-questions. Can I do this steps not in single user mode?? # 5. `reboot'(in single user mode: boot -s from the loader prompt). # 6. `mergemaster -p' # 7. `make installworld' # 8. `make delete-old' # 9.

Re: Can anyone reproduce this Samba problem?

2009-09-12 Thread John W
On Sat, Sep 5, 2009 at 6:12 PM, Karl Vogel vogelke+u...@pobox.com wrote:   http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/   has some suggestions that might help. It is a good link - In fact it's what I based my setup on. However, it relies on both 'inherit owner' and

Re[2]: System Upgrade

2009-09-12 Thread Коньков Евгений
Здравствуйте, Adam. Вы писали 12 сентября 2009 г., 19:18:28: AVM 2009/9/12 Коньков Евгений kes-...@yandex.ru Здравствуйте, Freebsd-questions. Can I do this steps not in single user mode?? # 5. `reboot'(in single user mode: boot -s from the loader prompt). # 6. `mergemaster

Re: Re[2]: System Upgrade

2009-09-12 Thread Adam Vande More
2009/9/12 Коньков Евгений kes-...@yandex.ru Здравствуйте, Adam. Вы писали 12 сентября 2009 г., 19:18:28: AVM 2009/9/12 Коньков Евгений kes-...@yandex.ru Здравствуйте, Freebsd-questions. Can I do this steps not in single user mode?? # 5. `reboot'(in single user mode: boot

Re: Rule equivalence of pf uRPF check

2009-09-12 Thread Maxim Khitrov
On Sat, Sep 12, 2009 at 9:10 AM, Matthew Seamanm.sea...@infracaninophile.co.uk wrote: Maxim Khitrov wrote: block in quick on $int_if from !$int_if:network block in quick on !$int_if from $int_if:network block in quick from $int_if The OpenBSD pf faq states that urpf-check is equivalent to

Re: System Upgrade

2009-09-12 Thread Jon Radel
YMMV??? The results of you doing this procedure may be different than mine. Your Mileage May Vary A joking reference to advertisements for new cars in the US which are required to provide gas mileage figures, which always turn out to be optimistic and used a little foot note that

Re: c++: invalid conversion from 'int' to 'const char*'

2009-09-12 Thread John L. Templer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Boris Samorodov wrote: On Sat, 12 Sep 2009 12:41:43 +0200 Fabian Keil wrote: Boris Samorodov b...@ipt.ru wrote: I'm porting a c++ application to FreeBSD. I've got an error: - ~/work/src/FileChannel.cpp: In member function 'QString

SciTE anomaly

2009-09-12 Thread Steven Friedrich
I'm running FreeBSD 7.2p3, KDE 4.3.1 I added scite port. When I GO (F5), the following ruby program issues an error and fails to work properly: puts Hello, world. What is your name? myname = gets() puts Well, hello there + myname + . Here is the output: ruby hello.rb hello.rb:2:in `gets': Bad

Re: linux-pango won't install

2009-09-12 Thread Chad Perrin
On Sat, Sep 12, 2009 at 02:19:22PM +0400, Boris Samorodov wrote: On Fri, 11 Sep 2009 23:01:23 -0600 Chad Perrin wrote: How long has this been broken for 7.2? Considering all the stuff that depends on linux-pango, I'm surprised it hasn't been fixed. It will be broken until someone