Re: [gentoo-user] DVD authoring and AV sync problems with mpeg2 source

2005-10-17 Thread Ezequiel Tolnay

Ezequiel Tolnay wrote:

   I was wondering if any of you has had a similar problem and figured 
a way to maintain the AV in sync after converting an mpeg to AVI 
format, or if any of you can give me any clues as to why is this 
happening and a way to prevent/solve it.


After much fidling with it, I found a solution for it, and would like to 
share it with whoever has this problem in the future. The problem is 
basically that the mpeg2 source has repeated frames, and the transcode 
utility filters them without compensating with the audio, thus creating 
a synching issue. If the source is already mpeg2 for video and audio but 
the dvdauthor doesn't like it, that's because the video also needs to be 
built for DVD (some kind of meta information between frames, or 
something like that). The same for other formats such as SVCD.


   In my case the video had already the proper codecs (both mpeg2), the 
proper size (352x288 for PAL, which is fine), and the proper audio 
bitrate (224), but not formatted for DVD. To format it properly, use the 
following:


mencoder -oac copy -ovc copy -of mpeg -mpegopts format=dvd -vf harddup 
-o dvdformatted.mpg original.mpg


   Should your source be in a different format, mencoder can take care 
of the proper transformations, there is a tutorial and a series of 
examples about  it at 
www.mplayerhq.hu/DOCS/HTML/en/menc-feat-vcd-dvd.html (the page takes an 
eternity to load, by the way...). To create the DVD I used qdvdauthor, 
which is quite primitive but gets the job done quite nicely.


Happy authoring!

Ezequiel
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Where is aticonfig (bug confirmation, please)?

2005-10-17 Thread Richard Fish

Holly Bostick wrote:


As you all might know, I have an ati card. I just installed the new
8.18.6 drivers yesterday.

I was later hanging around on the Rage3D Linux Drivers forum, and
noticed mention of a utility called 'aticonfig', which apparently is a
workalike for fglrxconfig (the xorg.conf configurator), but (also
apparently) works better than fglrxconfig; not least because it
--apparently-- adds to your currently-existing xorg.conf, rather than
creating a (garbage) one from scratch.

So naturally I thought I'd try running it but I don't seem to have
it, and I don't know why.

 



I'm guessing the following line from the 8.18.6 ebuild is the reason: :-)

   rm -rf ${WORKDIR}/usr/X11R6/bin/{aticonfig,fglrx_pplay}

My guess is that it should be added to the ati-drivers-extra ebuild, but 
I don't see it there, so yes, it looks worthy of a bug report to me.


-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dmesg for Previous Boot?

2005-10-17 Thread Richard Fish

Jerry McBride wrote:


On Monday 17 October 2005 14:18, Richard Fish wrote:
 


Jerry McBride wrote:
   


No. Once the kernel reboots, the dmesg data is lost. Unless ofcourse you
put this in /etc/conf.d/local.start:

#!/bin/bash
# /etc/conf.d/local.start
/bin/dmesg > /var/log/dmesg
 


FYI, the bootmisc init script already does this for you, or at least it
does with the ~x86 baselayout.  Just "rc-update -a bootmisc boot" if it
isn't already turned on.

   



Richard, where is this documented? I've missed it entirely
 



Well, the authoritative document is "less /etc/init.d/bootmisc". ;->  I 
don't know if it is documented somewhere else.  You should find:


   # Create an 'after-boot' dmesg log
   #
   touch /var/log/dmesg
   chmod 640 /var/log/dmesg
   dmesg > /var/log/dmesg

I just checked the stable baselayout (1.11.13-r1), and it seems to be there.

-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dmesg for Previous Boot?

2005-10-17 Thread Jerry McBride
On Monday 17 October 2005 14:18, Richard Fish wrote:
> Jerry McBride wrote:
> >No. Once the kernel reboots, the dmesg data is lost. Unless ofcourse you
> > put this in /etc/conf.d/local.start:
> >
> >#!/bin/bash
> ># /etc/conf.d/local.start
> >/bin/dmesg > /var/log/dmesg
>
> FYI, the bootmisc init script already does this for you, or at least it
> does with the ~x86 baselayout.  Just "rc-update -a bootmisc boot" if it
> isn't already turned on.
>

Richard, where is this documented? I've missed it entirely


-- 

**
 Registered Linux User Number 185956
  FSF Associate Member number 2340 since 05/20/2004
 Join me in chat at #linux-users on irc.freenode.net
Buy an Xbox for $149.00, run linux on it and Microsoft loses $150.00!
 8:17pm  up 29 days, 10:42,  1 user,  load average: 0.06, 0.08, 0.09
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dmesg for Previous Boot?

2005-10-17 Thread Jerry McBride
On Monday 17 October 2005 13:18, Christoph Gysin wrote:
> Jerry McBride wrote:
> > No. Once the kernel reboots, the dmesg data is lost. Unless ofcourse you
> > put this in /etc/conf.d/local.start:
> >
> > #!/bin/bash
> > # /etc/conf.d/local.start
> > /bin/dmesg > /var/log/dmesg
> >
> > Then you will at the least have a log of the current dmesg, which could
> > be rotated.
>
> Yes that would be possible. But since the OP's kernel doesn't even boot up,
> it's not an option.
>

He was asking how to see the previous dmesg output this would do it on 
future boot ups...




> With baselayout 1.12.0 there will be an option in /etc/rc.conf called
> RC_BOOTLOG="yes" to enable saving kernel output to /var/log *after* a
> successful boot.
>
> Christoph
> --
> echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" [EMAIL PROTECTED]

-- 

**
 Registered Linux User Number 185956
  FSF Associate Member number 2340 since 05/20/2004
 Join me in chat at #linux-users on irc.freenode.net
Buy an Xbox for $149.00, run linux on it and Microsoft loses $150.00!
 8:15pm  up 29 days, 10:40,  1 user,  load average: 0.05, 0.07, 0.08
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CDMA phone line for Asterisk?

2005-10-17 Thread Stroller


On Oct 17, 2005, at 10:08 pm, Michael Crute wrote:
On 10/17/05, Widyachacra Rajapaksha <[EMAIL PROTECTED]> 
wrote: Dear friends,


im very new to asterisk, even diz z my 1st mail to the list. am 
working for a smb company & it has two main CDMA telepone 
connections. now they wants to deploy a pbx & get out 20 
nods(telephone extensions)


You will probably have better luck asking this on their forum [1] than 
you will here since this is the Gentoo Users list.

 
[1] http://forums.digium.com/


Or on the Asterisk-users mailing list, which is VERY active.
http://lists.digium.com/mailman/listinfo/asterisk-users

Stroller.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CVS problem

2005-10-17 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Peter Gordon wrote:

>gentuxx said:
>
>>[EMAIL PROTECTED]'s password:
>>cvs server: cannot open /root/CVSROOT/config: Permission denied
>>Cannot access /root/CVSROOT
>>Permission denied
>>
>>Here's the perms on the file:
>>
>>[EMAIL PROTECTED] / $ ls -l /var/lib/cvs/root/CVSROOT/config
>>- -rwxrwxr-x 1 cvsd cvsd 4082 Oct 17 13:15
>>/var/lib/cvs/root/CVSROOT/config
>
>
>It looks to me like it's using the CVSROOT in /root (the root user's
>home directory) instead of in /var/lib/cvs/root. Files in /root are not
>normally viewable by any other user. Are you sure this is not the case?
>
>--Peter

Well, I turned on debugging in the config file to see if I could get
any info there.  What it *does* provide though, is an indication that
the chroot is working:

Oct 17 14:30:41 gentoo cvsd[11011]: debug: chroot(/var/lib/cvs) done

Also, if I put the full path (/var/lib/cvs/root) in the CVSROOT
variable, it errors that there is no such directory.  So I believe the
chroot'ing is happening correctly, I just don't understand why I'm
being denied permission through SSH.

- --
gentux
echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDVCJDLYGSSmmWCZMRAqzMAKCWf6KnZ2XyxpicTrmPcUGP932scwCgrore
MZT5fOsYmr8gOWh67xz42v0=
=zQQb
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] what diz mean?

2005-10-17 Thread Zac Medico

Gentoo Shadow wrote:
tcp0  0 10.1.0.64:33612  
strategiy.com:http  ESTABLISHED
tcp0  0 10.1.0.64:33621  
strategiy.com:http  ESTABLISHED




That looks like an outgoing connection from a web browser (note the high port 
numbers).  The netstat -p option will cause the PID/Program name to show in the 
output.

Zac
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] what diz mean?

2005-10-17 Thread Dave Nebinger
On Monday 17 October 2005 05:44 pm, El Nino wrote:
> i don't have a running web server. am just using my lap to surf de net. i
> thought some one accessing my lap over de net. what do u think?

My bad, first address is where the connection is from, second is where the 
address is to.

So from your OP, you are connected via http out to strategiy.com.

If you don't think it's your browser doing this, you can do a "netstat -ap" to 
print the program that has the connection open.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] pure-ftpd & address bind

2005-10-17 Thread Kanogin A.A.
Hello gentoo-user,

  Option SERVER="-S ftp.zxc.nnov.ru,21" in /etc/conf.d/pure-ftpd must
  bind ftp only on ftp.zxc.nnov.ru, but all can acces through it's ip
  address and other domain addresses.
  How i can prevent see on other domains this ftp server?

-- 
С наилучшими пожеланиями,
 Каногин Саша  mailto:[EMAIL PROTECTED]


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] what diz mean?

2005-10-17 Thread El Nino
i don't have a running web server. am just using my lap to surf de net.
i thought some one accessing my lap over de net. what do u think?On 10/18/05, Dave Nebinger <[EMAIL PROTECTED]
> wrote:On Monday 17 October 2005 05:19 pm, Gentoo Shadow wrote:> tcp 0 0 
10.1.0.64:33612 > strategiy.com:httpESTABLISHED tcp 0 0 10.1.0.64:33621
>  strategiy.com:httpESTABLISHED>> so help me... what diz mean? why this?It means there are two incoming HTTP connections to your box from
strategiy.com.  Check your web server logs and you should be able to identifythe resources they're hitting.-- ..."The future lies ahead."
 ___< Have you mooed today? > ---\^__^ \   (oo) \___
(__)
\
)\/\||--w  |||  
||2.6.13-gentoo-r2


Re: [gentoo-user] 2.6.10 and realtime [was: "where is 'kat'"]

2005-10-17 Thread Christoph Eckert

> I was unaware that kat is so cutting edge - guess thats why there is
> no ebuild for it yet. I may wait a bit for it to mature a bit more :)

kat will also run on older kernels, but then it runs without auto 
notification if files have changed, so each katalog needs to be 
maintained manually.


Best regards


ce
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CVS problem

2005-10-17 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Michael Crute wrote:

> On 10/17/05, *gentuxx* <[EMAIL PROTECTED]
> > wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi all,
>
> I just set up cvsd using the Wiki How-To here:
> http://gentoo-wiki.com/HOWTO_CVS_Server. Nice little How-To, and I
> seemed to get every thing set up fine. I was able to import the
> first
> module with the :pserver: protocol, but then decided that I
> should go
> with the SSH modification instead. So, I went through, added my
> user
> to the cvsd group, changed the CVSROOT to user the :ext: protocol.
> Now when I try to export the module, I get a permission denied
> error!
>
> [EMAIL PROTECTED]'s password:
> cvs server: cannot open /root/CVSROOT/config: Permission denied
> Cannot access /root/CVSROOT
> Permission denied
>
> Here's the perms on the file:
>
> [EMAIL PROTECTED] / $ ls -l /var/lib/cvs/root/CVSROOT/config
> - -rwxrwxr-x 1 cvsd cvsd 4082 Oct 17 13:15
> /var/lib/cvs/root/CVSROOT/config
>
> I'm in the group, the permissions should be right. Why isn't this
> working?
>
>
> Check the directory perms too.
>
> -Mike

Here's the whole tree:

[EMAIL PROTECTED] / $ ls -ld /var/lib
drwxr-xr-x  37 root root 4096 Oct 17 13:15 /var/lib
[EMAIL PROTECTED] / $ ls -ld /var/lib/cvs
drwxr-xr-x  10 cvsd cvsd 4096 Oct 17 14:12 /var/lib/cvs
[EMAIL PROTECTED] / $ ls -ld /var/lib/cvs/root
drwxrwxr-x  3 cvsd cvsd 4096 Oct 17 14:11 /var/lib/cvs/root
[EMAIL PROTECTED] / $ ls -ld /var/lib/cvs/root/CVSROOT
drwxrwxr-x  3 cvsd cvsd 4096 Oct 17 14:18 /var/lib/cvs/root/CVSROOT
[EMAIL PROTECTED] / $ ls -ld /var/lib/cvs/root/CVSROOT/config
- -rwxrwxr-x  1 cvsd cvsd 4082 Oct 17 14:11 /var/lib/cvs/root/CVSROOT/config


The weird thing is, that it seems to work fine in :pserver: mode.  Can
it not do both at the same time?  It would be nice to have anonymous
be read only, and SSH for the writers

>
> --
> 
> Michael E. Crute
> Software Developer
> SoftGroup Development Corporation
>
> Linux, because reboots are for installing hardware.
> "In a world without walls and fences, who needs windows and gates?"



- --
gentux
echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDVBmDLYGSSmmWCZMRAicOAJ9bFHGMbBgU1dvDTD8/a7LDNtvjvwCdHSRQ
qK8pdIw6ysRfhxVrVTlgrXk=
=4BQR
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Collecting USE variables

2005-10-17 Thread Ciaran McCreesh
On Mon, 17 Oct 2005 23:28:22 +0200 Alexander Skwar
<[EMAIL PROTECTED]> wrote:
| Why is ipv6 in make.defaults? Most people don't (yet) use
| ipv6 and compiling in ipv6 support may make some applications
| be overly bloat.

It's part of a vast Gentoo conspiracy to covertly switch everyone over
to ipv6 and kidnap all the world's goats.

-- 
Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
Mail: ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm



pgpwfMMurADEq.pgp
Description: PGP signature


Re: [gentoo-user] what diz mean?

2005-10-17 Thread Dave Nebinger
On Monday 17 October 2005 05:19 pm, Gentoo Shadow wrote:
> tcp 0 0 10.1.0.64:33612 
> strategiy.com:httpESTABLISHED tcp 0 0 10.1.0.64:33621
>  strategiy.com:httpESTABLISHED
>
> so help me... what diz mean? why this?

It means there are two incoming HTTP connections to your box from 
strategiy.com.  Check your web server logs and you should be able to identify 
the resources they're hitting.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Collecting USE variables

2005-10-17 Thread Alexander Skwar
Ciaran McCreesh schrieb:
> On Mon, 17 Oct 2005 22:29:12 +0200 Alexander Skwar
> <[EMAIL PROTECTED]> wrote:
> | > Dead easy. For applications which have optional emboss support, the
> | > most sensible behaviour is to enable it by default.
> | 
> | Why is 3dfx not enabled by default for xorg?
> 
> Because most people who use applications which have a 3dfx USE flag do
> not require 3dfx support.

Why is ipv6 in make.defaults? Most people don't (yet) use
ipv6 and compiling in ipv6 support may make some applications
be overly bloat.


Alexander Skwar
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CVS problem

2005-10-17 Thread Peter Gordon
gentuxx said:
> [EMAIL PROTECTED]'s password:
> cvs server: cannot open /root/CVSROOT/config: Permission denied
> Cannot access /root/CVSROOT
> Permission denied
>
> Here's the perms on the file:
>
> [EMAIL PROTECTED] / $ ls -l /var/lib/cvs/root/CVSROOT/config
> - -rwxrwxr-x  1 cvsd cvsd 4082 Oct 17 13:15
> /var/lib/cvs/root/CVSROOT/config

It looks to me like it's using the CVSROOT in /root (the root user's
home directory) instead of in /var/lib/cvs/root. Files in /root are not
normally viewable by any other user. Are you sure this is not the case?

--Peter
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CVS problem

2005-10-17 Thread Peter Gordon
gentuxx said:
> [EMAIL PROTECTED]'s password:
> cvs server: cannot open /root/CVSROOT/config: Permission denied
> Cannot access /root/CVSROOT
> Permission denied
>
> Here's the perms on the file:
>
> [EMAIL PROTECTED] / $ ls -l /var/lib/cvs/root/CVSROOT/config
> - -rwxrwxr-x  1 cvsd cvsd 4082 Oct 17 13:15
> /var/lib/cvs/root/CVSROOT/config

It looks to me like it's using the CVSROOT in /root (the root user's
home directory) instead of in /var/lib/cvs/root. Files in /root are not
normally viewable by any other user. Are you sure this is not the case?

--Peter
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Ltmodem won't autoload?

2005-10-17 Thread Dmitry Comoda
Hi everybody,

I have recently emerged ltmodem,but it won't autoload. Previously
I have never had any troubles to use it, but now.. When I modprobe
ltmodem and ltserial, it works and probably I will be able to add
them to /etc/modules.autoload.d/kernel-2.6 , but I doubt it's the right
way and there are lt_autoload binaries in /sbin. Is that udev? Any
ideas and files to check? Thanks much.

Dmitry.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] what diz mean?

2005-10-17 Thread Gentoo Shadow
dear friends,

when i just run #netstat it shows some unrequested foregin addresses, some of r;

tcp   
0  0
10.1.0.64:33612
strategiy.com:http  ESTABLISHED
tcp   
0  0
10.1.0.64:33621
strategiy.com:http  ESTABLISHED

so help me... what diz mean? why this?-- ..."The future lies ahead." ___< Have you mooed today? > ---\^__^
 \   (oo) \___
(__)
\
)\/\||--w  |||  
||2.6.13-gentoo-r2-AIT-v3.53


Re: [gentoo-user] CVS problem

2005-10-17 Thread Michael Crute
On 10/17/05, gentuxx <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-Hash: SHA1Hi all,I just set up cvsd using the Wiki How-To here:
http://gentoo-wiki.com/HOWTO_CVS_Server.  Nice little How-To, and Iseemed to get every thing set up fine.  I was able to import the firstmodule with the :pserver: protocol, but then decided that I should go
with the SSH modification instead.  So, I went through, added my userto the cvsd group, changed the CVSROOT to user the :ext: protocol.Now when I try to export the module, I get a permission denied error!
[EMAIL PROTECTED]'s password:cvs server: cannot open /root/CVSROOT/config: Permission deniedCannot access /root/CVSROOTPermission deniedHere's the perms on the file:[EMAIL PROTECTED] / $ ls -l /var/lib/cvs/root/CVSROOT/config
- -rwxrwxr-x  1 cvsd cvsd 4082 Oct 17 13:15 /var/lib/cvs/root/CVSROOT/configI'm in the group, the permissions should be right.  Why isn't thisworking?
Check the directory perms too.
 
-Mike-- Michael E. CruteSoftware DeveloperSoftGroup Development CorporationLinux, because reboots are for installing hardware."In a world without walls and fences, who needs windows and gates?" 



Re: [gentoo-user] CDMA phone line for Asterisk?

2005-10-17 Thread Michael Crute
On 10/17/05, Widyachacra Rajapaksha <[EMAIL PROTECTED]> wrote:
Dear friends,
im very new to asterisk, even diz z my 1st mail to the list. am working for a smb company & it has two main CDMA telepone connections. now they wants to deploy a pbx & get out 20 nods(telephone extensions). so 1:) is this possible with Asterisk? & our both CDMA phones are HUAWEI ETS2000 Series models, those came with USB serial converter data cable(diz can connect to de pc USB+work with linux ti_usb_3410_5052 kernel module).
2:) how can i configure the USB CDMA phone line for Asterisk(if 1st=yes)?so please guide me to do diz project...you can find de HUAWEI CDMA phone details 
http://www.huawei.com/mobileweb/en/products/view.do?id=152 
 
You will probably have better luck asking this on their forum [1] than you will here since this is the Gentoo Users list.
 
[1] http://forums.digium.com/
 
-Mike-- Michael E. CruteSoftware DeveloperSoftGroup Development CorporationLinux, because reboots are for installing hardware."In a world without walls and fences, who needs windows and gates?" 



[gentoo-user] pure-ftpd & anonymous bandwidth

2005-10-17 Thread Vladislav Chugunov

how to set bandwidth for anonymous users in pure-ftpd??

-- 
# ~$> fortune
# ~$>
You may call me by my name, Wirth, or by my value, Worth.
- Nicklaus Wirth
# ~$>
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] CVS problem

2005-10-17 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

I just set up cvsd using the Wiki How-To here:
http://gentoo-wiki.com/HOWTO_CVS_Server.  Nice little How-To, and I
seemed to get every thing set up fine.  I was able to import the first
module with the :pserver: protocol, but then decided that I should go
with the SSH modification instead.  So, I went through, added my user
to the cvsd group, changed the CVSROOT to user the :ext: protocol.
Now when I try to export the module, I get a permission denied error!

[EMAIL PROTECTED]'s password:
cvs server: cannot open /root/CVSROOT/config: Permission denied
Cannot access /root/CVSROOT
Permission denied

Here's the perms on the file:

[EMAIL PROTECTED] / $ ls -l /var/lib/cvs/root/CVSROOT/config
- -rwxrwxr-x  1 cvsd cvsd 4082 Oct 17 13:15 /var/lib/cvs/root/CVSROOT/config

I'm in the group, the permissions should be right.  Why isn't this
working?


- --
gentux
echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDVBEILYGSSmmWCZMRAjraAKDPdVw+T0mkWlyFCF9ZwFzntb7ArwCgvKJw
LmVFDQKKY9jw9mmXjfptt5E=
=PGUr
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Collecting USE variables

2005-10-17 Thread Holly Bostick
Alexander Skwar schreef:
> No, that doesn't make sense. A simple question: Why is 3dfx not in 
> the default set of USE flags? If you install a graphics software, 
> like xorg, 3dfx users probably want it. And if you're not a 3dfx 
> user, it won't do harm.

For something like 3dfx, this is not necessarily true. I've certainly
had packages (mplayer, kernel) fail because *hardware* support was
enabled for things I couldn't use (and even things I should be able to
use but can't for this package-- I generally have to compile mplayer
-mmx and -sse or it won't compile, even though my AMD CPU supports both
instruction sets).

In general, I've found both the kernel and individual packages to be
quite sensitive when compiling optional support for hardware that is not
present.

So in that example, it likely *can* do harm.

Optional *software* support is a different matter entirely.

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Collecting USE variables

2005-10-17 Thread Ciaran McCreesh
On Mon, 17 Oct 2005 22:31:45 +0200 Alexander Skwar
<[EMAIL PROTECTED]> wrote:
| Yep. Same as enabling the optional emboss support. If
| you're arguing, that some settings lead to bloated
| systems, then /NO/ USE flag at all should be enabled. If
| you're arguing, that "most sensible behaviour is to enable
| it by default", then /EVERY/ USE flag should be enabled
| by default.

Not at all. It's a question of numbers. Of all of the people who use
applications which have emboss in IUSE, most will want it enabled. Of
all of the people who use applications which have, say, 3dfx enabled,
most will not want it.

-- 
Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
Mail: ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm



pgpwjVMowamHH.pgp
Description: PGP signature


Re: [gentoo-user] Collecting USE variables

2005-10-17 Thread Ciaran McCreesh
On Mon, 17 Oct 2005 22:29:12 +0200 Alexander Skwar
<[EMAIL PROTECTED]> wrote:
| > Dead easy. For applications which have optional emboss support, the
| > most sensible behaviour is to enable it by default.
| 
| Why is 3dfx not enabled by default for xorg?

Because most people who use applications which have a 3dfx USE flag do
not require 3dfx support.

-- 
Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
Mail: ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm



pgpdkOD0bJNWL.pgp
Description: PGP signature


Re: [gentoo-user] Collecting USE variables

2005-10-17 Thread Alexander Skwar
Ciaran McCreesh schrieb:
> On Mon, 17 Oct 2005 21:54:58 +0200 Alexander Skwar
> <[EMAIL PROTECTED]> wrote:
> | Ciaran McCreesh schrieb:
> | > So, for things with optional emboss support, by default the emboss
> | > support will be enabled. Which makes sense, because if you're
> | > installing science apps, you'll probably want it, and if you're not
> | > installing science apps you'll never see it anyway.
> | 
> | No, that doesn't make sense. A simple question: Why is 3dfx
> | not in the default set of USE flags? If you install a graphics
> | software, like xorg, 3dfx users probably want it. And if you're
> | not a 3dfx user, it won't do harm.
> 
> Bloat.

Yep. Same as enabling the optional emboss support. If
you're arguing, that some settings lead to bloated
systems, then /NO/ USE flag at all should be enabled. If
you're arguing, that "most sensible behaviour is to enable
it by default", then /EVERY/ USE flag should be enabled
by default.

Alexander Skwar
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Collecting USE variables

2005-10-17 Thread Alexander Skwar
Ciaran McCreesh schrieb:
> On Mon, 17 Oct 2005 21:52:00 +0200 Alexander Skwar
> <[EMAIL PROTECTED]> wrote:
> | But, you're quite right, I also can't see why something
> | as arcane as emboss is in hte default set of USE flags.
> 
> Dead easy. For applications which have optional emboss support, the
> most sensible behaviour is to enable it by default.

Why is 3dfx not enabled by default for xorg? Why are
ANY USE flags disabled? Applying the same logic, it
seems that every (non conflicting) USE flag should be
enabled.

Alexander Skwar
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] CDMA phone line for Asterisk?

2005-10-17 Thread Widyachacra Rajapaksha
Dear friends,

im very new to asterisk, even diz z my 1st mail to the list. am working
for a smb company & it has two main CDMA telepone connections. now
they wants to deploy a pbx & get out 20 nods(telephone extensions).
so 1:) is this possible with Asterisk? & our both CDMA phones are
HUAWEI
ETS2000 Series models, those came with USB serial converter data
cable(diz can connect to de pc USB+work with linux ti_usb_3410_5052
kernel
module).

2:) how can i configure the USB CDMA phone line for Asterisk(if 1st=yes)?


so please guide me to do diz project...

you can find de HUAWEI CDMA phone details http://www.huawei.com/mobileweb/en/products/view.do?id=152

 ---
Widyachacra Rajapaksha
Linux Administrator
Adapt Information Technologies

-- ---the path to freedom.--- 2.6.13-gentoo-r2-AIT-v3.53


Re: [gentoo-user] Collecting USE variables

2005-10-17 Thread Ciaran McCreesh
On Mon, 17 Oct 2005 21:54:58 +0200 Alexander Skwar
<[EMAIL PROTECTED]> wrote:
| Ciaran McCreesh schrieb:
| > So, for things with optional emboss support, by default the emboss
| > support will be enabled. Which makes sense, because if you're
| > installing science apps, you'll probably want it, and if you're not
| > installing science apps you'll never see it anyway.
| 
| No, that doesn't make sense. A simple question: Why is 3dfx
| not in the default set of USE flags? If you install a graphics
| software, like xorg, 3dfx users probably want it. And if you're
| not a 3dfx user, it won't do harm.

Bloat.

-- 
Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
Mail: ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm



pgpLLWacR6Qzy.pgp
Description: PGP signature


Re: [gentoo-user] Collecting USE variables

2005-10-17 Thread Ciaran McCreesh
On Mon, 17 Oct 2005 21:52:00 +0200 Alexander Skwar
<[EMAIL PROTECTED]> wrote:
| But, you're quite right, I also can't see why something
| as arcane as emboss is in hte default set of USE flags.

Dead easy. For applications which have optional emboss support, the
most sensible behaviour is to enable it by default.

-- 
Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
Mail: ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm



pgpHRi4F6qGtA.pgp
Description: PGP signature


Re: [gentoo-user] Collecting USE variables

2005-10-17 Thread Alexander Skwar
Ciaran McCreesh schrieb:

> So, for things with optional emboss support, by default the emboss
> support will be enabled. Which makes sense, because if you're
> installing science apps, you'll probably want it, and if you're not
> installing science apps you'll never see it anyway.

No, that doesn't make sense. A simple question: Why is 3dfx
not in the default set of USE flags? If you install a graphics
software, like xorg, 3dfx users probably want it. And if you're
not a 3dfx user, it won't do harm.

Alexander Skwar
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Collecting USE variables

2005-10-17 Thread Alexander Skwar
Jorge Almeida schrieb:
> On Thu, 13 Oct 2005, Holly Bostick wrote:

> kde or gnome are DE's. I'm sure every member of the scientific community
> needs at least one,

What would they need that for? And what's the use of the USE
flag? It would make sense, if those *packages* were installed.

> and so putting
> both of the major ones as default may be an user friendly attitude. 

"User Friendly"... Well... That's not correct. *USER* *FRIENDLY*
would be, if *everything* was turned on (as long as it doesn't
conflict). This would be user friendly, as a lot of stuff would
work faster - but it would also lead to *WAY* too fat systems,
which, some might say, isn't user friendly at all.

But, you're quite right, I also can't see why something
as arcane as emboss is in hte default set of USE flags.

Alexander Skwar
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to use EXTRA_ECONF?

2005-10-17 Thread Neil Bothwick
On Mon, 17 Oct 2005 19:14:54 +0200, Holly Bostick wrote:

> But you're saying I could have just added echo >>
> /etc/portage/env.d/media-libs/libsdl 'FEATURES="nostrip"' to
> /etc/portage/bashrc and I would have been done, all those times-- could
> have just emerged normally?

No, you put the settings in /etc/portage/env.d/cate-gory/package. Use the
attached script for bashrc.

> But man 5 portage doesn't say anything about /etc/portage/env.d,

It wouldn't, that directory is used by that particular bashrc script.

bashrc is run by ebuild at various stages of the process.


-- 
Neil Bothwick

If bankers can count, how come they have eight windows and only four 
tellers?


pgpidRHtirJFp.pgp
Description: PGP signature


Re: [gentoo-user] how to use EXTRA_ECONF?

2005-10-17 Thread Ciaran McCreesh
On Mon, 17 Oct 2005 11:19:55 -0300 Matias Grana <[EMAIL PROTECTED]>
wrote:
| I'm trying to compile  vim  with +clipboard support. One can do this
| by passing  --enable-clipboard  to configure. There's no USE flag for
| this feature.

Incorrect. USE="vim-with-x".

-- 
Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
Mail: ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm



pgpUoxNmCNBUk.pgp
Description: PGP signature


Re: [gentoo-user] how to use EXTRA_ECONF?

2005-10-17 Thread Neil Bothwick
On Mon, 17 Oct 2005 12:28:51 -0500, Paul Varner wrote:

> Finally, this doesn't mean that you shouldn't use Neil's suggestion.
> Just make sure that you are comfortable with the supplied bashrc before
> implementing.

And don't blame me if it does go BOOM! :)


-- 
Neil Bothwick

"Mr. Worf, scan that ship." "Aye Captain. 300 dpi?"


pgpncToCB2gD6.pgp
Description: PGP signature


Re: [gentoo-user] porno filtering using squid?

2005-10-17 Thread Thomas T. Veldhouse

znx wrote:


How about Squid Guard?
http://www.squidguard.org/

With free blacklists
http://ftp.tdcnorge.no/pub/www/proxy/squidGuard/contrib/

 

I use both of these and it works pretty darn well.   Configuring per 
user is straight forward, although setting up anything other than identd 
is a bit of a troubesome scenario.


Tom Veldhouse

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] porno filtering using squid?

2005-10-17 Thread znx
How about Squid Guard?
http://www.squidguard.org/

With free blacklists
http://ftp.tdcnorge.no/pub/www/proxy/squidGuard/contrib/

Which you can vet .. add some remove some..

On 15/10/05, Gentoo Shadow <[EMAIL PROTECTED]> wrote:
> dear friends,
>  1) how to band(block) porno web url(s)+web contents using squid-cache
> server?

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Where is aticonfig (bug confirmation, please)?

2005-10-17 Thread Holly Bostick
As you all might know, I have an ati card. I just installed the new
8.18.6 drivers yesterday.

I was later hanging around on the Rage3D Linux Drivers forum, and
noticed mention of a utility called 'aticonfig', which apparently is a
workalike for fglrxconfig (the xorg.conf configurator), but (also
apparently) works better than fglrxconfig; not least because it
--apparently-- adds to your currently-existing xorg.conf, rather than
creating a (garbage) one from scratch.

So naturally I thought I'd try running it but I don't seem to have
it, and I don't know why.

It's in the RPM (looked at the one in distfiles using file-roller).

And all the other bin files in the rpm in distfiles are in /opt/ati/bin,
dated yesterday.

Except aticonfig.

Which, locate, and find don't find it, either as a user or root. It
apparently did not get installed.

In fact, this is the case; I just re-installed the drivers to see the
output, and no mention is made of the file:
(piped to prevent Thunderbird confusing this with a quote)

|>>> Install ati-drivers-8.18.6 into
/var/tmp/portage/ati-drivers-8.18.6/image/ category media-video
| * Installing fglrx module
|man:
|making executable: /usr/lib/libfglrx_gamma.so.1.0
|>>> Completed installing ati-drivers-8.18.6 into
/var/tmp/portage/ati-drivers-8.18.6/image/
|
|>>> Merging media-video/ati-drivers-8.18.6 to /
|--- /etc/
|--- /etc/env.d/
|>>> /etc/env.d/09ati
|--- /lib/
|--- /lib/modules/
|--- /lib/modules/2.6.13-gentoo-r4/
|--- /lib/modules/2.6.13-gentoo-r4/video/
|>>> /lib/modules/2.6.13-gentoo-r4/video/fglrx.ko
|--- /opt/
|--- /opt/ati/
|--- /opt/ati/bin/
|>>> /opt/ati/bin/fglrxinfo
|>>> /opt/ati/bin/fglrx_xgamma
|>>> /opt/ati/bin/fglrxconfig
|--- /usr/
|--- /usr/lib/
|--- /usr/lib/modules/
|--- /usr/lib/modules/dri/
|>>> /usr/lib/modules/dri/atiogl_a_dri.so
|>>> /usr/lib/modules/dri/fglrx_dri.so
|--- /usr/lib/modules/linux/
|>>> /usr/lib/modules/linux/libfglrxdrm.a
|--- /usr/lib/modules/drivers/
|>>> /usr/lib/modules/drivers/fglrx_drv.o
|--- /usr/lib/opengl/
|--- /usr/lib/opengl/ati/
|>>> /usr/lib/opengl/ati/lib/
|>>> /usr/lib/opengl/ati/lib/libGL.so.1.2
|>>> /usr/lib/opengl/ati/lib/libGL.la
|>>> /usr/lib/opengl/ati/lib/libGL.so -> libGL.so.1.2
|>>> /usr/lib/opengl/ati/extensions -> ../xorg-x11/extensions
|>>> /usr/lib/opengl/ati/include -> ../xorg-x11/include
|>>> /usr/lib/libfglrx_gamma.so.1.0
|>>> /usr/lib/libfglrx_gamma.a
|--- /usr/include/
|--- /usr/include/GL/
|>>> /usr/include/GL/glxATI.h
|>>> /usr/include/GL/glATI.h
|--- /usr/include/X11/
|--- /usr/include/X11/extensions/
|>>> /usr/include/X11/extensions/fglrx_gamma.h
|>>> /usr/lib/opengl/ati/lib/libGL.so.1 -> libGL.so.1.2
|>>> Safely unmerging already-installed instance...
|--- !mtime obj /usr/lib/opengl/ati/lib/libGL.so.1.2
|--- !mtime obj /usr/lib/opengl/ati/lib/libGL.la
|--- !mtime obj /usr/lib/modules/linux/libfglrxdrm.a
|--- !mtime obj /usr/lib/modules/drivers/fglrx_drv.o
|--- !mtime obj /usr/lib/modules/dri/fglrx_dri.so
|--- !mtime obj /usr/lib/modules/dri/atiogl_a_dri.so
|--- !mtime obj /usr/lib/libfglrx_gamma.so.1.0
|--- !mtime obj /usr/lib/libfglrx_gamma.a
|--- !mtime obj /usr/include/X11/extensions/fglrx_gamma.h
|--- !mtime obj /usr/include/GL/glxATI.h
|--- !mtime obj /usr/include/GL/glATI.h
|--- !mtime obj /opt/ati/bin/fglrxinfo
|--- !mtime obj /opt/ati/bin/fglrxconfig
|--- !mtime obj /opt/ati/bin/fglrx_xgamma
|--- cfgpro obj /lib/modules/2.6.13-gentoo-r4/video/fglrx.ko
|--- cfgpro dir /lib/modules/2.6.13-gentoo-r4/video
|--- cfgpro dir /lib/modules/2.6.13-gentoo-r4
|--- !mtime obj /etc/env.d/09ati
|--- cfgpro dir /etc/env.d

Interestingly enough, only 3 of the 7 files in /usr/X11R6/bin in the RPM
that are eventually installed to /opt/ati/bin were updated: fglrxinfo,
fglrxinfo, and fglrx_xgamma.

I know that fglrx_glxgears and fireglcontrol are installed by
ati-drivers-extra, so I re-emerged that as well:

|>>> Merging media-video/ati-drivers-extra-8.18.6 to /
|--- /opt/
|--- /opt/ati/
|--- /opt/ati/bin/
|>>> /opt/ati/bin/fireglcontrol
|>>> /opt/ati/bin/fgl_glxgears
|--- /usr/
|--- /usr/share/
|--- /usr/share/applications/
|>>> /usr/share/applications/fireglcontrol.desktop
|--- /usr/share/pixmaps/
|>>> /usr/share/pixmaps/ati.xpm

So this means that there are *two* files in the /usr/X11R6/bin folder in
the RPM that are not installed by the ebuild:

aticonfig
fglrx_pplay (whatever that may be)

Now this looks very much like a bug in the ebuild to me, but I'm also
kinda p.o.'d by the whole ATI situation (morrowind fails to run with
these drives, apparently), I don't feel all that well (another cold),
and I just don't want to charge onto b.g.o. and risk pissing off the dev
team with something along the lines of 'you guys suck!' (first, because
they don't, and second, because I like to save my rudeness points for
situations where they might do some good, rather than just waste them
because my judgement is temporarily poor).

So I don't quite know what to ask any interested parties on the list to
confirm, but 1) do

Re: [gentoo-user] Syslog-ng has shell port open... SOLVED

2005-10-17 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dave Nebinger wrote:

>On Monday 17 October 2005 02:00 pm, Dave Nebinger wrote:
>
>>So I'm busy tracking down a tcp connection issue on my server and I see
>>that *.shell is open (not a good thing).
>>
>>So I do the 'netstat -pl' command to see who has that socket open and, low
>>and behold, it happens to be syslog-ng.
>
>
>My bad. Forgot that under tcp 544 is shell, but under udp 544 is syslog. I
>had both tcp and udp open, which is why shell port was open.
>
>Dave

Actually, the port is 514 by default, which for TCP is the rsh/rlogin
(remote shell/login) port and UDP is the syslog port.  When you do a
netstat it resolves the names for the ports based on what's in
/etc/services.  There may be a reason you would want to run syslog-ng
in TCP mode, which would show up as *.shell.  But I guess you figured
out you don't need TCP syslog.  ;-)

- --
gentux
echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDU+p/LYGSSmmWCZMRAj0rAKCObOFvK/Rjxh3eO58pM97M9h+Z3ACgwRZA
7WzdJhAPNeO0LhC2qWq69Yc=
=wZg2
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dmesg for Previous Boot?

2005-10-17 Thread Ian Brandt
Richard Fish wrote:
> Jerry McBride wrote:
> 
> FYI, the bootmisc init script already does this for you, or at least it
> does with the ~x86 baselayout.  Just "rc-update -a bootmisc boot" if it
> isn't already turned on.
> 
> Also, syslog-ng will dump the kernel log to /var/log/messages when it
> starts up.  I don't know about other loggers, but they should do
> something similar.
> 
> Of course, none of that helps you if your root filesystem doesn't mount!
> 
> -Richard
> 

Thanks to all for the replies.

It seems my filesystem isn't coming up as there is no evidence of the
boot anywhere under /var/log.  Guess I'll need to have the NOC console in.

I did find an old thread on the Linux Kernel list that discusses the
subject:

http://www.linuxhq.com/lnxlists/linux-kernel/lk_9905_01/index.html#00404

The only implementation I found was:

http://w.ods.org/tools/kmsgdump/

But that requires a floppy, which my server doesn't have.

~Ian

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Syslog-ng has shell port open... SOLVED

2005-10-17 Thread Dave Nebinger
On Monday 17 October 2005 02:00 pm, Dave Nebinger wrote:
> So I'm busy tracking down a tcp connection issue on my server and I see
> that *.shell is open (not a good thing).
>
> So I do the 'netstat -pl' command to see who has that socket open and, low
> and behold, it happens to be syslog-ng.

My bad.  Forgot that under tcp 544 is shell, but under udp 544 is syslog.  I 
had both tcp and udp open, which is why shell port was open.

Dave
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Syslog-ng has shell port open...

2005-10-17 Thread Dave Nebinger
So I'm busy tracking down a tcp connection issue on my server and I see that 
*.shell is open (not a good thing).

So I do the 'netstat -pl' command to see who has that socket open and, low and 
behold, it happens to be syslog-ng.

So I'm thinking that's kinda odd, there's no reason that syslog-ng should have 
the shell port open for any reason.

Looking at my syslog-ng.conf file, the only sources I have defined are:

source src {unix-stream("/dev/log");
internal();
pipe("/proc/kmsg");
udp();
tcp(max_connections(10));
};

These, to me, do not look like they should result in an open shell port.

Anyone out there with ideas as to why it is opened by syslog-ng and how I can 
get it closed down?

Thanks!

Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.6.10 and realtime [was: "where is 'kat'"]

2005-10-17 Thread Dave S

Christoph Eckert wrote:


Furthermore, the best use is with recent kernels with the new
notify mechanism. Unfortunately, I'm still on 2.6.10 here due to
realtime audio needs :( .
 


   Hi! Can you provide a bit more info on that item?
   



See the post of Mark.

I still use a vanilla 2.6.10 with the realtime-LSM patch applied. I had 
no luck with the newer kernels due to probs with my hardware (2.6.11) 
or PAM needed to be patched. So I went back to 2.6.10. But I'd 
recommend to use the most recent solution, though there's most often 
less documentation.



Best regards


   ce

 

I was unaware that kat is so cutting edge - guess thats why there is no 
ebuild for it yet. I may wait a bit for it to mature a bit more :)


Thanks once again

Dave
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Windowmaker font problems solved

2005-10-17 Thread Rob
The steps I took:

1.  emerge -C windowmaker-
2.  emerge enlightenment
3.  user uses enlightenment

It has no problems finding all of the fonts.

I just didn't have any more energy left trying to track down windowmaker
problems.

So now, the only important step left in my Gentoo system is tweeking my
iptables example file to my use.

I am happy.

Rob.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to use EXTRA_ECONF?

2005-10-17 Thread Paul Varner
On Mon, 2005-10-17 at 19:14 +0200, Holly Bostick wrote:
> But man 5 portage doesn't say anything about /etc/portage/env.d, and it
> doesn't say anything much about what precisely you can put in
> /etc/portage/bashrc either:

The /etc/portage/bashrc file can be (ab)used to do all kinds of things
with the emerge command. Because the use of it can allow a user to not
only shoot themselves in the foot, but blow up the entire system, it
isn't heavily documented. 

Basically, it is one of those things that if you don't know what you are
doing, then either stay away from it or have extensive backups of your
system.

Finally, this doesn't mean that you shouldn't use Neil's suggestion.
Just make sure that you are comfortable with the supplied bashrc before
implementing.

Regards,
Paul
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to use EXTRA_ECONF?

2005-10-17 Thread Holly Bostick
Neil Bothwick schreef:
> On Mon, 17 Oct 2005 11:19:55 -0300, Matias Grana wrote:
> 
> 
>> I'm trying to compile  vim  with +clipboard support. One can do
>> this by passing  --enable-clipboard  to configure. There's no USE
>> flag for this feature. After some research, I've learned that the
>> way to do this is to configure the  EXTRA_ECONF  variable. Now the
>> question is: is there a file to put these variables in? Something
>> like /etc/portage/package.use but for econfs?
> 
> 
> You can set variables for individual ebuilds using
> /etc/portage/bashrc. save the attached file as /etc/portage/bashrc
> then do
> 
> mkdir -p /etc/portage/env.d/app-editors echo
> >>/etc/portage/env.d/app-editors/vim
> 'EXTRA_ECONF="--enable-clipboard"'
> 
> You can use this to set variables, or override default settings, for
> any package.
> 
> 

Oh, Neil, you're kidding, right? I'd had to use FEATURES="-nostrip" on
the command line for *ages* to get SDL to emerge unstripped so that it
would work with NWMovies (the hack that allows Neverwinter Nights to
play movies inside the game, like normal); the only reason I stopped was
because with the very most recent versions of SDL even that doesn't work
and I have to compile it manually after hacking one line in video.c.

But you're saying I could have just added echo >>
/etc/portage/env.d/media-libs/libsdl 'FEATURES="nostrip"' to
/etc/portage/bashrc and I would have been done, all those times-- could
have just emerged normally?

But man 5 portage doesn't say anything about /etc/portage/env.d, and it
doesn't say anything much about what precisely you can put in
/etc/portage/bashrc either:

SYNOPSIS
   /etc/
  make.globals
  make.conf(5)

   /etc/make.profile/
  deprecated
  make.defaults
  packages
  packages.build
  package.provided
  parent
  use.defaults
  use.mask
  virtuals

   /etc/portage/
  bashrc
  package.mask
  package.unmask
  package.keywords
  package.use
  mirrors
  categories

   /etc/portage/profile/
  site-specific overrides of /etc/make.profile/

   /usr/portage/profiles/
  arch.list
  categories
  info_pkgs
  info_vars
  package.mask
  profiles.desc
  thirdpartymirrors
  use.desc
  use.local.desc
  use.mask

   /var/lib/portage/
  world

(note no /etc/portage/env.d mentioned, so how would one know to create
it or that it would be recognized by Portage)

   /etc/portage/

  bashrc If needed, this file can be used to set up a
special environment  for  ebuilds,  different  from  the
 standard root environment.  The syntax is the same
as for any other bash script.

(this says almost nothing, frankly, unless you are very familiar with
the 'standard root environment for ebuilds', and again, doesn't say
anything about which particular features of this enviroment may be
varied by this file, or if any of them may not be, in true 'not yet
implemented' fashion).

But then again, I restrict myself to the last stable version of Portage:

* sys-apps/portage
 Available versions:  2.0.51.22-r3 ~2.0.53_rc5 [M]2.1.0_alpha20050718
 Installed:   2.0.51.22-r3

Is it possible that the man page is updated in the unstable versions, or
that this is implemented in the unstable versions only, or are you just
very clever to have figured this all out :-) ?

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Best Tomcat performance?

2005-10-17 Thread Dave Nebinger
On Monday 17 October 2005 12:48 pm, A. Khattri wrote:
> Which combination of Tomcat and JVM gives the best performance?
> (or is this question not relevant?)

I'd say irrelevant.  Basically your performance will be controlled by the 
amount of memory you have, the number of child daemons you allow, and the 
basic speed of your system.

Each instance is going to require a big chunk of memory to stay resident and 
not get swapped out; if your limited on memory you're going to find yourself 
swapping like crazy and performance is going to blow.

You should try to identify how much memory each process is consuming then 
adjust the number of child processes to keep them within the amount of 
available memory.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SMP/HT & top

2005-10-17 Thread A. Khattri
On Sun, 16 Oct 2005, Mark Knecht wrote:

>Was I mistaken in thinking that a true SMP system and also a hyper
> threading system would show two processors in top? I am trying out a
> new HT kernel built this morning. I've enabled both SMP support and
> hyper threading support but top shows only a single processor.

What kind of CPU is it? And what kind of FSB? Not all P4's have
hyperthreading (as I discovered recently).


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SMP/HT & top

2005-10-17 Thread A. Khattri
On Sun, 16 Oct 2005, Chris Boot wrote:

> Yes. You may need to press '1' once you have started top to show each
> processor individually. See the top manpage to see how you can set this
> as the default.

You can also press ? in top (like in many command-line apps) to show a
quick help page. There should be a keypress to write a .toprc file :-)


-- 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Best Tomcat performance?

2005-10-17 Thread A. Khattri

Which combination of Tomcat and JVM gives the best performance?
(or is this question not relevant?)


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.6.10 and realtime [was: "where is 'kat'"]

2005-10-17 Thread Christoph Eckert

> > Furthermore, the best use is with recent kernels with the new
> > notify mechanism. Unfortunately, I'm still on 2.6.10 here due to
> > realtime audio needs :( .
>
> Hi! Can you provide a bit more info on that item?

See the post of Mark.

I still use a vanilla 2.6.10 with the realtime-LSM patch applied. I had 
no luck with the newer kernels due to probs with my hardware (2.6.11) 
or PAM needed to be patched. So I went back to 2.6.10. But I'd 
recommend to use the most recent solution, though there's most often 
less documentation.


Best regards


ce




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] porno filtering using squid?

2005-10-17 Thread Michael Crute
On 10/17/05, Stroller <[EMAIL PROTECTED]> wrote:
On Oct 17, 2005, at 2:18 pm, Hans-Werner Hilse wrote:>>> 
http://dansguardian.org/?page=copyright2 I read that as "your friend can download it for non-commercial use &>> then distribute it to you for free under the GPL for you to use for
>> commercial purposes".>> I don't agree. In my opinion the legal status of this document is that> it carries two licences but no option to freely chose between them if> you're using it commercially.

OK I have read this thing probably a dozen times and here is really what I understand him to say. You are not buying licenses to the code or the use of that code. The code in itself is GPL regardless of who you are (commercial or not). The license you are paying for is the ability to download the code from his site. Private users can download the code as much as they would like but commercial users can only download once unless they buy a license then they can download as much as they want. Thus if you use a distro like Debian you can install the package and be legally OK because you didn't download the code from his site, you downloaded the binary from Debian. So its all about downloads not really selective licensing if I read this correctly.

 
-Mike-- Michael E. CruteSoftware DeveloperSoftGroup Development CorporationLinux, because reboots are for installing hardware."In a world without walls and fences, who needs windows and gates?" 



Re: [gentoo-user] how to use EXTRA_ECONF?

2005-10-17 Thread Peter Gordon
Neil Bothwick said:
> mkdir -p /etc/portage/env.d/app-editors
> echo >>/etc/portage/env.d/app-editors/vim
> 'EXTRA_ECONF="--enable-clipboard"'
>
> You can use this to set variables, or override default settings, for any
> package.

Ooh that's quite nifty. I'll have to write that one down. Thanks, Neil. :)

--Peter
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /sbin/runscript.sh: line 32: /var/lib/init.d/softlevel: No such file or directory

2005-10-17 Thread Dave Nebinger
On Monday 17 October 2005 11:09 am, Peter Gordon wrote:
>
> I'm not at my Gentoo box, so I can't verify this at the moent, but I think
> it's part of sys-apps/baselayout.

Nope, it's not part of baselayout nor any other package (see below).

> To check these things for future reference, one can install the
> app-portage/gentoolkit package and use something like the following:
> # equery belongs /path/to/file

This only works if it was a file that was installed via portage.  As I 
indicated in another post this file is created when the system boots, so it 
falls outside of what equery would report.

The gentoo init system creates the file when it starts, it is not installed 
via portage.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to use EXTRA_ECONF?

2005-10-17 Thread Tom Martin
On Mon, Oct 17, 2005 at 11:19:55AM -0300, Matias Grana <[EMAIL PROTECTED]> 
wrote:
> Sure I can set it by hand for one emerge, but I'd like to set
> EXTRA_ECONF to "--enable-clipboard" forever.

You could try using /etc/portage/bashrc, see portage(5). Use at your own
risk.

Hope that helps,
Tom

-- 
Tom Martin, http://dev.gentoo.org/~slarti
AMD64, net-mail, shell-tools, vim, recruiters
Gentoo Linux


pgpWmiOkdVzjA.pgp
Description: PGP signature


Re: [gentoo-user] /sbin/runscript.sh: line 32: /var/lib/init.d/softlevel: No such file or directory

2005-10-17 Thread Thomas T. Veldhouse

Dave Nebinger wrote:

softlevel just contains the name of the level that you booted under, most 
likely "default" on a line by itself.


It looks like this file is created when the system boots, as mine is dated for 
when my system was cycled last.


Possibly you could try hand creating this file, but if possible you might be 
better off recycling the system alltogether.
 



Yes, that makes sense.  I am still booted from the boot CD on initial 
install.  I am remote and attempting to build as much of the software as 
I can.   Copying this file from the bootcd virtual filesystem seems to 
work ... fortunately, it didn't actually hose the network setup when it 
tried to start net.eth0.


Thanks!

Tom Veldhouse

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to use EXTRA_ECONF?

2005-10-17 Thread Neil Bothwick
On Mon, 17 Oct 2005 11:19:55 -0300, Matias Grana wrote:

> I'm trying to compile  vim  with +clipboard support. One can do this by
> passing  --enable-clipboard  to configure. There's no USE flag for this
> feature. After some research, I've learned that the way to do this is to
> configure the  EXTRA_ECONF  variable. Now the question is: is there a
> file to put these variables in? Something like /etc/portage/package.use
> but for econfs?

You can set variables for individual ebuilds using /etc/portage/bashrc.
save the attached file as /etc/portage/bashrc then do

mkdir -p /etc/portage/env.d/app-editors
echo >>/etc/portage/env.d/app-editors/vim 'EXTRA_ECONF="--enable-clipboard"'

You can use this to set variables, or override default settings, for any
package.


-- 
Neil Bothwick

The trouble with doing something right the first time is that nobody
appreciates how difficult it was.


bashrc
Description: Binary data


pgpdKuMEXIsvZ.pgp
Description: PGP signature


Re: [gentoo-user] /sbin/runscript.sh: line 32: /var/lib/init.d/softlevel: No such file or directory

2005-10-17 Thread Peter Gordon
> when I try to start mysql.  It seems to be an issue with the package
> that runscript.sh is part of ... which is what package?  (it has been
> awhile since I lasted worked with Gentoo, so I am not sure the method to
> find out which package a file belongs too).

I'm not at my Gentoo box, so I can't verify this at the moent, but I think
it's part of sys-apps/baselayout.

To check these things for future reference, one can install the
app-portage/gentoolkit package and use something like the following:
# equery belongs /path/to/file

Hope that helps!

--Peter
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /sbin/runscript.sh: line 32: /var/lib/init.d/softlevel: No such file or directory

2005-10-17 Thread Dave Nebinger
On Monday 17 October 2005 10:57 am, Thomas T. Veldhouse wrote:
> Is anybody seeing this in recent x86 stable?
>
> I just built a stock 2005.1 system on a classic Athlon platform and I am
> getting;
>
> "/sbin/runscript.sh: line 32: /var/lib/init.d/softlevel: No such file or
> directory"

softlevel just contains the name of the level that you booted under, most 
likely "default" on a line by itself.

It looks like this file is created when the system boots, as mine is dated for 
when my system was cycled last.

Possibly you could try hand creating this file, but if possible you might be 
better off recycling the system alltogether.

Dave
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] /sbin/runscript.sh: line 32: /var/lib/init.d/softlevel: No such file or directory

2005-10-17 Thread Thomas T. Veldhouse
Is anybody seeing this in recent x86 stable? 

I just built a stock 2005.1 system on a classic Athlon platform and I am 
getting;


"/sbin/runscript.sh: line 32: /var/lib/init.d/softlevel: No such file or 
directory"


when I try to start mysql.  It seems to be an issue with the package 
that runscript.sh is part of ... which is what package?  (it has been 
awhile since I lasted worked with Gentoo, so I am not sure the method to 
find out which package a file belongs too).


Thanks in advance,

Tom Veldhouse
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] porno filtering using squid?

2005-10-17 Thread Stroller


On Oct 17, 2005, at 2:18 pm, Hans-Werner Hilse wrote:



http://dansguardian.org/?page=copyright2

I read that as "your friend can download it for non-commercial use &
then distribute it to you for free under the GPL for you to use for
commercial purposes".


I don't agree. In my opinion the legal status of this document is that
it carries two licences but no option to freely chose between them if
you're using it commercially.


I read that as the terms of the download, true enough, but once the 
author licenses to a non-commercial user under the GPL he licenses them 
to:


   ... copy and distribute verbatim copies of the Program's source
   code as you receive it, in any medium, provided that you
   conspicuously and appropriately publish on each copy an
   appropriate copyright notice and disclaimer of warranty; keep
   intact all the notices that refer to this License and to the
   absence of any warranty; and give any other recipients of the
   Program a copy of this License along with the Program.

... In the mentioned way to circumvent the license, there's the 
question if

- the "GPL" really is a GPL here.


ISTM that if he's licensed the code to non-commercial users under the 
GPL then the GPL must really be the GPL. I do see your point, but I 
don't see how the author could dispute the above text of the license 
he's issued.


There are some parallels to Sveasoft's position here - they'll give the 
GPL source code to registered users who pay for it but they'll cancel 
your registration & ban you from their forums if you do redistribute it 
under the GPL. Although I think this is highly unethical (considering 
that their GPL code is derived from other peoples' work) and that it 
places "further restrictions on the recipients' exercise of the rights 
granted" it's worth noting that neither has it been challenged legally, 
nor has Sveasoft made any attempt to pursue legally anyone for 
redistribution.


Stroller.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] openoffice 2 rc3 & revdep rebuild

2005-10-17 Thread Paul Varner
On Mon, 2005-10-17 at 05:58 -0400, Philip Webb wrote:
> 051016 John J. Foster wrote:
> > I've been fighting the install of OOo rc3 for a few days now.
> > Everything is fine until running revdep-rebuild,
> > which wants to re-install the OOo I just installed.
> 
> I haven't done this with OO, but my experience is
> that Revdep-rebuild always wants to remerge what I just merged,
> so I do '^c' & merge the other listed items by hand.
> It looks like a bug in Revdep-rebuild: report it, if you want.

There is no need to open a bug as it is a known issue with
revdep-rebuild.  Your best bet to install gentoolkit-0.2.1_pre8 and
follow the instructions in Holly's message.

The issue is being actively worked on and by the time that
gentoolkit-0.2.1 is released as stable, the issue should be resolved.

Regards,
Paul
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Configure two bridges in /etc/conf.d/net

2005-10-17 Thread Jonathan Wright

Denny Schierz wrote:

Rather than having 'need net.eth0 net.eth1', stick in the code/functions
that create the interfaces. You can create the bridge then and it should
work on reboot.


It works, i made a simply script, that creates the devices, before "net"
starts. :-)


np.

--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.13-gentoo-r3-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 2 days,  4:04,  0 users,  load average: 0.67, 0.43, 0.38
--
 "War. Rape. Murder. Poverty. Equal rights for gays. Guess  which
 one the Southern Baptist Convention is protesting?"

  ~ The Value of Families
--
gentoo-user@gentoo.org mailing list



[gentoo-user] how to use EXTRA_ECONF?

2005-10-17 Thread Matias Grana
Hi;
I'm trying to compile  vim  with +clipboard support. One can do this by
passing  --enable-clipboard  to configure. There's no USE flag for this
feature. After some research, I've learned that the way to do this is to
configure the  EXTRA_ECONF  variable. Now the question is: is there a
file to put these variables in? Something like /etc/portage/package.use
but for econfs?
Sure I can set it by hand for one emerge, but I'd like to set
EXTRA_ECONF to "--enable-clipboard" forever.

TIA,
Matias
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dmesg for Previous Boot?

2005-10-17 Thread Richard Fish

Jerry McBride wrote:

No. Once the kernel reboots, the dmesg data is lost. Unless ofcourse you put 
this in /etc/conf.d/local.start:


#!/bin/bash
# /etc/conf.d/local.start
/bin/dmesg > /var/log/dmesg
 



FYI, the bootmisc init script already does this for you, or at least it 
does with the ~x86 baselayout.  Just "rc-update -a bootmisc boot" if it 
isn't already turned on.


Also, syslog-ng will dump the kernel log to /var/log/messages when it 
starts up.  I don't know about other loggers, but they should do 
something similar.


Of course, none of that helps you if your root filesystem doesn't mount!

-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] porno filtering using squid?

2005-10-17 Thread Stroller


On Oct 17, 2005, at 2:18 pm, Hans-Werner Hilse wrote:



http://dansguardian.org/?page=copyright2

I read that as "your friend can download it for non-commercial use &
then distribute it to you for free under the GPL for you to use for
commercial purposes".


I don't agree. In my opinion the legal status of this document is that
it carries two licences but no option to freely chose between them if
you're using it commercially...


I meant to say in my last post - this is, in this instance, a pretty 
academic argument.


The licensing cost for DansGuardian is pennies (less than £0.50 on 100 
machines, for big ISPs less than £0.15) per machine. The cost of 
getting a lawyer to interpret our arguments would surely exceed this, 
and the money would be far better spent supporting the author of this 
open-source software.


But I like academic arguments.  :D

Stroller.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] porno filtering using squid?

2005-10-17 Thread Holly Bostick
Michael Crute schreef:
> On 10/15/05, Renat Golubchyk <[EMAIL PROTECTED]> wrote:
> 
>> On Sun, 16 Oct 2005 04:43:18 +0600 Gentoo Shadow 
>> <[EMAIL PROTECTED]> wrote:
>> 
>>> is it free to use for commercial purposes?
>> 
>> It's GPL.
>> 
>> 
> 
> After a fashion. Read the pricing page.
> 
> -Mike
> 
 I've gotta say, I would avoid this on general principle after reading
the pricing page (and the license):

> We are not Value Added Tax registered as the revenue is too small so
>  there is no VAT to pay within the EU. The EURO prices are the same
> as USD.
> 

However the *value* of the U.S. Dollar is not the same as the Euro, so
if you pay in Euros, you're actually paying *more* than the American
customers-- you might even still save money if you paid the fees to
convert to USD from Euros (since there's no VAT). It's not like PayPal
cares what currency you pay in, so it's within the realm of possiblility
that you could do that).


> What you will get
> 
> By paying for a download license for DansGuardian you will get:
> 
> * A nice warm fuzzy feeling inside knowing you are supporting Open 
> Source development and so all humanity. * A license to download 
> DansGuardian 2. * Free public non-commercial support via the mailing
>  list. * Free upgrades as they become available.
> 
> By paying for a download license for DansGuardian you will *not* get:
> 
> 
> 
> 
> * A guarantee of anything from me. * Commercial support. * 
> DansGuardian on any physical media. * Printed documentation.
> 

So I'm paying for what, exactly? Certainly not most of the features that
I would normally expect as a commercial customer (no support, no media,
no docs, no *guarantees* I mean, geez).

> Commercial Support
> 
> As of 1st Jan 2003, there is no commercial support available from the
>  author. This is due to a lack of time to adequately provide support.
>  Anyone who has purchased support will be honoured until 1st June 
> 2003. If you require commercial support, you have two possibilities:
> 
> * (a) Purchase a commercial version of DansGuardian which comes with 
> support such as SmoothGuardian. This is highly recommended software 
> and is the only commercial software using DansGuardian technology 
> that is officially endorsed. All other software using DansGuardian is
>  not official. SmoothGuardian has resellers all over the world who 
> will be able to talk to you in your timezone and bill you in your 
> local currency. * (b) Purchase support from an IT consultant in your 
> area. You are allowed to solicit for commercial support on the 
> mailing list.

So when I pay for the app, I don't get support unless I pay for support
from someone else. Rght. Will the author of this included Smooth
Guardian support me? I don't know... but I should know, before I shell
out at least 90 euros for this application.

Not to mention, if I'm paying the author money, why doesn't he have time
to support me? Or share his profits with someone to support me if he's
physically incapable for some reason? I find it unbelievable that the
author would expect me to accept these conditions (but then, people
accept a lot of conditions that I find unbelievable, chief among them
that it's OK and normal to reformat and reinstall your OS to solve a
relatively minor technical problem that the OS-- which you paid for--
does not allow you to fix in any other way. So clearly I am not normal
in my understanding of what constitutes a reasonable condition in this
regard).

Plus this insanely confusing license that does not really make it clear
what the rights and privileges that *I have paid for* actually are?

No, thanks thank goodness I have no need for this application.
Because I'd tie myself into a pretzel before using it, no matter how
much I needed it.

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Configure two bridges in /etc/conf.d/net

2005-10-17 Thread Denny Schierz
hi,

On Mo, 2005-10-17 at 13:19 +0100, Jonathan Wright wrote:

> Rather than having 'need net.eth0 net.eth1', stick in the code/functions
> that create the interfaces. You can create the bridge then and it should
> work on reboot.

It works, i made a simply script, that creates the devices, before "net"
starts. :-)

thanks


-- 
Sicherheit verständlich http://www.sides.de
GnuPG Key http://pgp.upb.de:11371/pks/lookup?op=get&search=0xAB7D3FE0



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


Re: [gentoo-user] Dmesg for Previous Boot?

2005-10-17 Thread Christoph Gysin

Jerry McBride wrote:
No. Once the kernel reboots, the dmesg data is lost. Unless ofcourse you put 
this in /etc/conf.d/local.start:


#!/bin/bash
# /etc/conf.d/local.start
/bin/dmesg > /var/log/dmesg

Then you will at the least have a log of the current dmesg, which could be 
rotated.


Yes that would be possible. But since the OP's kernel doesn't even boot up, it's 
not an option.


With baselayout 1.12.0 there will be an option in /etc/rc.conf called 
RC_BOOTLOG="yes" to enable saving kernel output to /var/log *after* a successful 
boot.


Christoph
--
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] porno filtering using squid?

2005-10-17 Thread Hans-Werner Hilse
Hi,

On Mon, 17 Oct 2005 04:37:25 +0100
Stroller <[EMAIL PROTECTED]> wrote:

> http://dansguardian.org/?page=copyright2
> 
> I read that as "your friend can download it for non-commercial use & 
> then distribute it to you for free under the GPL for you to use for 
> commercial purposes".

I don't agree. In my opinion the legal status of this document is that
it carries two licences but no option to freely chose between them if
you're using it commercially. It's GPLed only in a non-commercial
context. You'd need a lawyer (most probably this isn't enough, you'd
need a court and a judge's decision instead) to exactly analyze the
clause and it's problematic "upon downloading" clause. It says "GPL"ed
(and even has some mentioning of RMS) but it isn't clearly GPL, though.
In the mentioned way to circumvent the license, there's the question if

- redistributing to another (commercial) party is "relicencing" (only
the author - or holder of copyright in other countries' laws - can do
this)
- the "GPL" really is a GPL here.


-hwh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] binary comparison

2005-10-17 Thread Rasmus Andersen
On Mon, Oct 17, 2005 at 09:01:35PM +0930, Shawn Haggett wrote:
> >'diff' is text oriented tool. I there some kind of such tool
> >oriented to binary files/subtrees comparison?
> >
> >Thanks!
> > 
> >
> 'od | diff'

'cmp'

Rasmus
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Wiki Howto: Xorg and Fonts, did I fatally screw up the directions?

2005-10-17 Thread Hans-Werner Hilse
Hi,

On Fri, 14 Oct 2005 13:54:34 -0700
Rob <[EMAIL PROTECTED]> wrote:

> I wonder about this, because I enable the xtt module in my 
> /etc/X11/xorg.conf, but I get an error message that the xtt module 
> cannot be found.  Using slocate I confirmed that xtt is nowhere to be found.

It's not compiled on gentoo, AFAIK. For that reason xorgconfig has a
dummy entry for it - it _theoretically_ can be compiled from the xorg
sources. xtt is a little bit outdated, AFAIK. I'd suggest using
freetype instead - although it doesn't do artifical weights and slants
of the fonts. If you really, really need xtt, you'd have to make an
overlay ebuild and add that relevant line to the "host.cf"-generation.

-hwh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Configure two bridges in /etc/conf.d/net

2005-10-17 Thread Jonathan Wright
Denny Schierz wrote:
>>or are you trying to create the bridges aswell from scratch?
> 
> jupp, creating from scratch. the bridges don't exist, at startup.

>From the sounds of it, that's ur problem. The script doesn't know it
needs to create the bridges and assumes they're there ready.

As you have a set of virtual ports to connect using the bridges, why
don't you use a little hack and create a depend() function to insert the
code needed to create the interfaces for the bridge:

# If any of the ports require extra configuration - for example wireless
# or ppp devices - we need to write a depend function for the bridge so
# they get configured correctly.
# This is exactly the same as a depend() function in our init scripts
#depend_br0() {
#   need net.eth0 net.eth1
#}

Rather than having 'need net.eth0 net.eth1', stick in the code/functions
that create the interfaces. You can create the bridge then and it should
work on reboot.

-- 
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.13-gentoo-r3-djnauk-b1 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
 up 2 days,  2:06,  0 users,  load average: 0.75, 0.36, 0.22
--
 "The radical right is so homophobic  that  they're  blaming  global
 warming on the AIDS quilt."

 ~ Dennis Miller
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Configure two bridges in /etc/conf.d/net

2005-10-17 Thread Denny Schierz
hi,

On Mo, 2005-10-17 at 13:00 +0100, Jonathan Wright wrote:

> or are you trying to create the bridges aswell from scratch?

jupp, creating from scratch. the bridges don't exist, at startup.


-- 
Sicherheit verständlich http://www.sides.de
GnuPG Key http://pgp.upb.de:11371/pks/lookup?op=get&search=0xAB7D3FE0



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


Re: [gentoo-user] Configure two bridges in /etc/conf.d/net

2005-10-17 Thread Jonathan Wright
Denny Schierz wrote:
>>From the looks of it, you haven't told the system which two network
>>ports need to be bridged together. Also, do you have
>>net-misc/bridge-utils installed?
> 
> no, i haven't cause these are only virtual devices for xen. They don't
> have to do any with eth0/1.
> 
> I can do everything per hand, but not with the start/stop script.

So the bridges already exist on the system and they just needs
configuring, or are you trying to create the bridges aswell from scratch?

-- 
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.13-gentoo-r3-djnauk-b1 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
 up 2 days,  1:48,  0 users,  load average: 0.34, 0.27, 0.19
--
 "President Bush said  he  was  'troubled'  by  gay  people  getting
 married in San Francisco. He said on important issues like this the
 people should make the decision, not judges. Unless of course we're
 choosing a president, then he prefers judges."

  ~ Jay Leno
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Configure two bridges in /etc/conf.d/net

2005-10-17 Thread Denny Schierz
hi,

On Mo, 2005-10-17 at 12:21 +0100, Jonathan Wright wrote:

> From the looks of it, you haven't told the system which two network
> ports need to be bridged together. Also, do you have
> net-misc/bridge-utils installed?

no, i haven't cause these are only virtual devices for xen. They don't
have to do any with eth0/1.

I can do everything per hand, but not with the start/stop script.

cu denny


-- 
Sicherheit verständlich http://www.sides.de
GnuPG Key http://pgp.upb.de:11371/pks/lookup?op=get&search=0xAB7D3FE0



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


Re: [gentoo-user] [OT] binary comparison

2005-10-17 Thread Shawn Haggett

Andrew Gaydenko wrote:


Hi!

'diff' is text oriented tool. I there some kind of such tool
oriented to binary files/subtrees comparison?

Thanks!
 


'od | diff'
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Configure two bridges in /etc/conf.d/net

2005-10-17 Thread Jonathan Wright
Denny Schierz wrote:
> bridge="xenintbr"
> config_xeninetbr=( "10.0.10.3/24" )
> brctl_xeninetbr=( "setfd 0" "sethello 0" "stp off" )
> 
> What is wrong?

I've not setup a bridge before, but according the example in
/etc/conf.d/net.example;

# To add ports to bridge br0
#bridge_br0="eth0 eth1"

#config_br0=( "dhcp" )
(and so on...)


>From the looks of it, you haven't told the system which two network
ports need to be bridged together. Also, do you have
net-misc/bridge-utils installed?

-- 
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.13-gentoo-r3-djnauk-b1 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
 up 1 day, 10:34,  2 users,  load average: 0.31, 0.15, 0.05
--
 "The next  time  someone  asks  you,  'Hey,  howdja  get  to  be  a
 homosexual anyway?' tell them, 'Homosexuals  are  chosen  first  on
 talent, then  interview...  then  the  swimsuit  and  evening  gown
 competition pretty much gets rid of the rest of them.'"

~ Karen Williams
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dmesg for Previous Boot?

2005-10-17 Thread Jerry McBride
On Sunday 16 October 2005 18:25, Ian Brandt wrote:
> Hi,
>
> Is it possible to get the dmesg for the boot prior to the current one?
>

No. Once the kernel reboots, the dmesg data is lost. Unless ofcourse you put 
this in /etc/conf.d/local.start:

#!/bin/bash
# /etc/conf.d/local.start
/bin/dmesg > /var/log/dmesg

Then you will at the least have a log of the current dmesg, which could be 
rotated.


-- 

**
 Registered Linux User Number 185956
  FSF Associate Member number 2340 since 05/20/2004
 Join me in chat at #linux-users on irc.freenode.net
Buy an Xbox for $149.00, run linux on it and Microsoft loses $150.00!
 7:21am  up 28 days, 21:46,  1 user,  load average: 0.05, 0.07, 0.08
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Configure two bridges in /etc/conf.d/net

2005-10-17 Thread Denny Schierz
On Mo, 2005-10-17 at 13:00 +0200, Denny Schierz wrote:

> i need two bridges, but i don't understand, how to configure it
> in /etc/conf.d/net:

[...]

> What is wrong?

saw a small typo in xenintetbr and xenintbr, but nothing changed. It
does not work.

-- 
Sicherheit verständlich http://www.sides.de
GnuPG Key http://pgp.upb.de:11371/pks/lookup?op=get&search=0xAB7D3FE0



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


[gentoo-user] Configure two bridges in /etc/conf.d/net

2005-10-17 Thread Denny Schierz
hi,

i need two bridges, but i don't understand, how to configure it
in /etc/conf.d/net:

#
#
# Bridge
#
##

## Internal Bridged Network.

bridge="xenintbr"
config_xeninetbr=( "10.0.10.3/24" )
brctl_xeninetbr=( "setfd 0" "sethello 0" "stp off" )

## Internal Bridged Network for Internet

bridge="xeninetbr"
config_xenintbr=( "10.0.5.1/24" )
brctl_xenintbr=( "setfd 0" "sethello 0" "stp off" )

#depend_br0() {
#   need net.eth0 net.eth1
#}

Links:

lrwxrwxrwx  1 root root18 Oct 17 12:56 /etc/init.d/net.xeninetbr
-> /etc/init.d/net.lo
lrwxrwxrwx  1 root root18 Oct 17 12:56 /etc/init.d/net.xenintbr
-> /etc/init.d/net.lo

Starting:

rohan init.d # /etc/init.d/net.xenintbr start
 * Starting xenintbr
 *   Bringing up xenintbr
 * 10.0.5.1/24
 * xenintbr does not
exist   
  

[ !! ]
rohan init.d # nano /etc/conf.d/net
rohan init.d # /etc/init.d/net.xeninetbr start
 * Starting xeninetbr
 *   Bringing up xeninetbr
 * 10.0.10.3/24
 * xeninetbr does not exist 


What is wrong?

cu denny

-- 
Sicherheit verständlich http://www.sides.de
GnuPG Key http://pgp.upb.de:11371/pks/lookup?op=get&search=0xAB7D3FE0



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


Re: [gentoo-user] Dmesg for Previous Boot?

2005-10-17 Thread Christoph Gysin

Ian Brandt wrote:

Is it possible to get the dmesg for the boot prior to the current one?


No it isn't. dmesg shows the ring buffer contents of the running kernel.


I'm trying to remotely upgrade from the 2.4 to 2.6 kernel.  I followed
the migration guide, but I got something wrong because my server
didn't come back up after reboot.  Fortunately I used lilo -R to boot
to the 2.6 kernel, so using remote power cycle I was able to get back
to my working 2.4.  The problem is now I have no idea how to tell what
went wrong?


Perhaps your kernel failed to mount the root filesystem. Where should it write 
the messages to in this case? ;-)


You could add a serial console to the host, which lets you catch the output 
generated by the kernel during boot.


Christoph
--
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] openoffice 2 rc3 & revdep rebuild

2005-10-17 Thread Holly Bostick
John J. Foster schreef:
> Good evening,
> 
> I've been fighting the install of OOo rc3 for a few days now.
> Everything is fine until running revdep-rebuild, which wants to
> re-install the OOo I just installed. I remember having trouble with
> various binary packages before, including OOo, which I always solved,
> or hid, by NOT having /opt in revdep-rebuilds search dirs. That was
> the first place I looked, thinking that an update along the way had
> changed something. Sure enough, /opt was back in there. However, now
> OOo is looking like it's installing to regular directory structures,
> and I don't want to remove those from checking.

But you can remove *specific* directories from checking-- like the ooo
directory.

I'm just now testing this by adding

/usr/lib/openoffice

to

SEARCH_DIRS_MASK="/opt/OpenOffice.org /opt/sun-jre-bin-1.5.0.03
/usr/lib/openoffice"

in /etc/make.conf

and I'm running revdep-rebuild -p to see if OO.o still comes up (I found
this directory by doing a locate, but I didn't pay attention when
emerging -rc2, so I don't know if it's correct).

The whole point of the SEARCH_DIRS_MASK is to mask specific directories,
not 'general' giant swathes of the tree, so I'm not quite sure what the
issue is, except that the directory to mask has changed (from
/opt/OpenOffice.org to /usr/lib/openoffice or wherever).

The results from Saturday (I run revdep-rebuild -p as a weekly cron job
and get the results mailed to me):

All prepared. Starting rebuild...
emerge --oneshot -q -p =app-crypt/seahorse-0.7.9
=app-office/abiword-2.2.10 =app-office/openoffice-bin-2.0.0_rc2
=dev-perl/gnome2-wnck-0.10 =gnome-extra/libgda-1.0.4
=mail-client/mail-notification-1.1 =x11-misc/devilspie-0.10

These are the packages that I would merge, in order:

Calculating dependencies    ...done!
[ebuild   R   ] app-crypt/seahorse-0.7.9
[ebuild   R   ] app-office/abiword-2.2.10
[ebuild   R   ] app-office/openoffice-bin-2.0.0_rc2
[ebuild   R   ] dev-perl/gnome2-wnck-0.10
[ebuild   R   ] gnome-extra/libgda-1.0.4
[ebuild   R   ] mail-client/mail-notification-1.1
[ebuild   R   ] x11-misc/devilspie-0.10

(I performed this rebuild, so any further revdep-rebuilds would just
include OO.o)

And the results from today, after adding the /usr/lib/openoffice
directory to the search mask:

Evaluating package order... done.
  (/root/.revdep-rebuild.5_order)

Dynamic linking on your system is consistent... All done.

OpenOffice.org does not appear, so I'll take that as confirmation that
the directory is correct.

Give it a try.

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] openoffice 2 rc3 & revdep rebuild

2005-10-17 Thread Philip Webb
051016 John J. Foster wrote:
> I've been fighting the install of OOo rc3 for a few days now.
> Everything is fine until running revdep-rebuild,
> which wants to re-install the OOo I just installed.

I haven't done this with OO, but my experience is
that Revdep-rebuild always wants to remerge what I just merged,
so I do '^c' & merge the other listed items by hand.
It looks like a bug in Revdep-rebuild: report it, if you want.

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban & Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Reaching my network over the internet

2005-10-17 Thread Jonathan Wright

John Jolet wrote:

Why do though all the hassle of setting up a VPN when you can use SSH to
provide a secure tunnel into the network and use that instead? Works
fine for me.

# ssh -L5900:hostname:5900 [EMAIL PROTECTED]
# vncviewer localhost:0


Okay, now show me the instance where you want box->internet->box->vnc server.


That does provide a tunnel between two boxes. It's quick and simple to 
setup and can be used by any ssh client, regardless of the system. 
Whether you're on Unix or Linux. You can even do it using Windows using 
PuTTY.


It's good to know in case if you need access but don't have a box that 
can't do VPN, or there's a problem with the VPN.


If you want to open it up for some reason to another box, you can use 
the gateway switch (-g) and SSH will listed to all incoming connections 
on that port on the remote computer.


# ssh -g -L5900:remote:5900 [EMAIL PROTECTED]:port

If you set up openvpn on your ssh server, you easily can tunnel across it.  
Doing that with ssh would add another tunnel.  Takes 5 minutes to set up.


I'm not disagreeing with you, but a VPN can add a whole level of 
complexity and setup, whereas if you just want to remotely access a VNC 
server across the Internet, SSH works great and has added security built in.


If you want to access more than VPN, i.e. SMB, or need the remote 
computer to 'appear' on the local network for some reason, VPN is fine - 
go ahead and use it.


KISS - keep it short and simple.

--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.13-gentoo-r3-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 1 day, 21:39,  0 users,  load average: 0.64, 0.46, 0.33
--
 "My mother took me to a psychiatrist when I was fifteen  because
 she thought I was a latent homosexual. There was nothing  latent
 about it."

  ~ Amanda Bearse
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Reaching my network over the internet

2005-10-17 Thread Neil Bothwick
On Sun, 16 Oct 2005 21:27:22 -0400, Dave Nebinger wrote:

> Unless you really feel comfortable with your own security
> infrastructure, your best bet is to edit your /etc/ssh/sshd_config file
> and change the port number to only something you'd think of in the
> higher range of port numbers.

Disabling password logins will also help, although it is not practical
for everyone.


-- 
Neil Bothwick

How is it possible to have a civil war?


pgpUMiYRsiPhD.pgp
Description: PGP signature


Re: [gentoo-user] automounter [solved]

2005-10-17 Thread Neil Bothwick
On Sun, 16 Oct 2005 22:09:47 -0300, Matthew R. Lee wrote:

> I had dbus, hal, and ivman in my package.keywords file.  I'm not sure
> why, something must have asked me to put them there but I can't
> remember what, though the only other package that I have that depends
> on dbus is kdebase-kioslaves.  Anyway, I removed them from
> package.keywords.  emerge --unmerge(d) the packages and then emerged
> the older versions.  Now everything is working.  Don't ask me why,
> because I don't know, but now I can go home to my bed :-)

The HAL API changed with the 0.5 series. You cannot mix older and newer
versions of the software. The version of Ivman you are using requires
HAL 0.4x and the corresponding DBUS. The later versions were package
masked until recently, when they were unmasked (KDE 3.5 needs the later
versions, maybe GNOME 2.12 too) your emerge world updated to incompatible
versions.

The safest solution is to put

>=sys-apps/hal-0.5
>=sys-apps/dbus-0.36

into /etc/portage/package.mask


-- 
Neil Bothwick

Nobody's perfect and since I'm nobody...!


pgpjJM8jDZNE0.pgp
Description: PGP signature