[CentOS] saslauthd question and sendmail

2008-12-26 Thread swilting
the commande

[root @ r13 *** ~] # sasl2-shared-mechlist 
Available mechanisms: 
GSSAPI, ANONYMOUS CRAM-MD5, DIGEST-MD5, LOGIN, PLAIN, NTLM 
Library media: 
EXTERNAL, NTLM, PLAIN, LOGIN, DIGEST-MD5, CRAM-MD5, ANONYMOUS, GSSAPI 
[root @ r13151 ~] # 

indicates the presence of all options the customer smtp 

in the page 
http://www.sendmail.org/~ca/email/auth.html 

it indicates that you have to edit 
/etc/sysconfig/saslauthd 
it seems to me 

I have to try to change the option pam present in the file 

in plain login 

but after impossible to restart 

/sbin/service saslauthd restart 

is not working anymore

my question is related Sendmail 
I try to configure 

I thank you for all your returns 

sl

ps:Excuse my bad English I am French


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Something to test in php 5.2

2008-12-26 Thread Michael A. Peters
Since people are testing php 5.2 in the CentOS repo - here's a bug I 
found in my own build of 5.2 that probably is a general php bug - but is 
worth testing on the CentOS testing packages.

If using imagefttext with a Postscript type 1 font -

$lstring="©" . date("Y") . " My Real Name";

or

$lstring=html_entity_decode("©", ENT_COMPAT, "UTF-8") . date("Y") . 
"My Real Name";

both result in a ' instead of a © when rendered on the image.

Works fine with a TrueType font, only an issue with Type1 fonts.

Well, I only tried the second (with html_entity) with a ttf font, but 
point is it doesn't do what it is suppose to do with ps fonts.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] saslauthd question and sendmail

2008-12-26 Thread Kai Schaetzl
Swilting wrote on Fri, 26 Dec 2008 11:58:05 +0100:

> I have to try to change the option pam present in the file 
> 
> in plain login 
> 
> but after impossible to restart

This is wrong. You probably edited MECH=
This sets the method for checking the password not the SASL encryption 
method. You probably want to add plain and login to the the allowed SASL 
authentication mechanisms. Set this back to what it was before or to 
MECH=shadow (this is how it works for me on CentOS 4). Make sure that 
/usr/lib/sasl2/Sendmail.conf contains the line
pwcheck_method: pwcheck saslauthd
and check that a helo contains this line:
250-AUTH PLAIN LOGIN
(how to do this is shown on Claus' page under "Initial test").

> ps:Excuse my bad English I am French

There is a French list and you should use that if your MTA still doesn't 
SMTP AUTH now. You will probably need to edit your sendmail.mc file. Add 
the ehlo output from above to your explanation there, and your CentOS 
version.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Question on USB to CF device

2008-12-26 Thread Jerry Geis
I have this USB to CF device  I tried to plug in today. Below is dmesg 
output when I plug it in.
I was hoping it would look just like a USB thumbdrive.
Is there something special I would have to do to be able to read the USB 
to CF device?

Looks like its trying to make it /dev/sdd but I continue to get the 
errors at the end.

Thank,
jerry

Dec 26 08:41:53 devgeisquad kernel: usb 1-4: new high speed USB device 
using ehci_hcd and address 83
Dec 26 08:41:53 devgeisquad kernel: usb 1-4: configuration #1 chosen 
from 1 choice
Dec 26 08:41:53 devgeisquad kernel: scsi37 : SCSI emulation for USB Mass 
Storage devices
Dec 26 08:41:58 devgeisquad kernel: scsi 37:0:0:0: Direct-Access 
Generic- Multi-Card   1.00 PQ: 0 ANSI: 0 CCS
Dec 26 08:41:58 devgeisquad kernel: usb 1-4: USB disconnect, address 83
Dec 26 08:41:58 devgeisquad kernel: sd 37:0:0:0: [sdd] READ CAPACITY failed
Dec 26 08:41:58 devgeisquad kernel: sd 37:0:0:0: [sdd] Result: 
hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
Dec 26 08:41:58 devgeisquad kernel: sd 37:0:0:0: [sdd] Sense not available.
Dec 26 08:41:58 devgeisquad kernel: sd 37:0:0:0: [sdd] Write Protect is off
Dec 26 08:41:58 devgeisquad kernel: sd 37:0:0:0: [sdd] Assuming drive 
cache: write through
Dec 26 08:41:58 devgeisquad kernel: sd 37:0:0:0: [sdd] Attached SCSI 
removable disk
Dec 26 08:41:58 devgeisquad kernel: sd 37:0:0:0: Attached scsi generic 
sg3 type 0
Dec 26 08:41:59 devgeisquad kernel: usb 1-4: new high speed USB device 
using ehci_hcd and address 84
Dec 26 08:42:14 devgeisquad kernel: usb 1-4: device descriptor read/64, 
error -110
Dec 26 08:42:29 devgeisquad kernel: usb 1-4: device descriptor read/64, 
error -110
Dec 26 08:42:29 devgeisquad kernel: usb 1-4: new high speed USB device 
using ehci_hcd and address 85
Dec 26 08:42:44 devgeisquad kernel: usb 1-4: device descriptor read/64, 
error -110
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Fasttrack Repo on CentOS 4

2008-12-26 Thread Johnny Hughes
Vandaman wrote:
> A quick question on the fasttrack repo which is now
> up to date with upstream. Why is the fasttrack repo not
> in the main CentOS-Base.repo file but contrib which has never
> had anything is included in the main CentOS-Base.repo file?
> 

As I have stated before, CentOS does not maintain the fastrack repo for
all the versions we release.  IN fact ... it is only maintained (to the
best of my knowledge) by me on CentOS-4 i386 and x86_64.

> The goal of CentOS is to be binary-compatible with upstream so
> fasttrack is "more important" in this regard than contrib. 
> Upsteam ships with the main channels as well as fasttrack.
>

Fast track is something that was added later by upstream ... as such it
requires changes to existing packages to roll in.  Contrib was rolled in
at the beginning of CentOS, so it was designed with that already in there.

All of this takes time, something that I don't have an unlimited supply of.

Upstream does NOT ship with fastrack turned on .. and it is a channel on
RHN, not really part of. They also have many other channels available
that CentOS does not have time to provide, like MRG, the Z series repos
and others.  If you want all the bells and whistles that a multi-million
corporation can provide, feel free to actually BUY a RHEL license :D

> As CentOS includes the repos in one repo file rather than having 
> separate files, this tradition should be considered for fasttrack
> as well.

I will look at rolling in changes to the CentOS-Base.repo file ...
however, if someone has ever changed their file, then it will not get
updated anyway as a CentOS-Base.repo.rpmnew will be created in that case.

I am certainly open to do things that makes CentOS better and I have no
problems making changes that are convenient, but I also do not think
that downloading a text file for an added repo is that difficult.



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Fasttrack Repo on CentOS 4

2008-12-26 Thread Vandaman
Johnny Hughes  wrote:

> As I have stated before, CentOS does not maintain the
> fastrack repo for
> all the versions we release.  IN fact ... it is only
> maintained (to the
> best of my knowledge) by me on CentOS-4 i386 and x86_64.
> 
> Fast track is something that was added later by upstream
> ... as such it
> requires changes to existing packages to roll in.  Contrib
> was rolled in
> at the beginning of CentOS, so it was designed with that
> already in there.
> 

I agree with you though for the benefit of those who may not be 
aware, this post by the upstream QE Manager illustrates what the 
fasttrack channel entails 

https://www.redhat.com/archives/nahant-list/2006-April/msg3.html

Fasttrack packages should make it into the next Quarterly Update so 
with time they join into the main repo.

> I am certainly open to do things that makes CentOS better
> and I have no
> problems making changes that are convenient, but I also do
> not think
> that downloading a text file for an added repo is that
> difficult.
> 

I did not download the file because I thought it was easier to hack it
into the existing CentOS-Base.repo file. 
http://lists.centos.org/pipermail/centos/2008-December/069850.html

The reason I asked on the mailing list was not because I did not want to 
download a separate txt file, but if the CentOS 4 branch is running in a 
certain way, it makes it easier if those newly joining and those established 
carry on the old path.

Certainly from CentOS 4.8 it would be easier to slot it into the main 
CentOS-Base.repo file and then ship with it disabled. For now people could
just download the text file.

Regards,
Vandaman.



  

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] yum install audacity --enablerepo=*\rpmforge Error in Dependency Resolution

2008-12-26 Thread JohnS
]# yum install audacity --enablerepo=*\rpmforge

Was this not going to be fixed for dep resolution. I'm not on the
rpmforge list and remember this issue  from a while ago.

14:02:18 : Error in Dependency Resolution
14:02:18 : Missing Dependency: libwx_gtk2u_adv-2.6.so.0 is needed by
package audacity
Missing Dependency: libwx_gtk2u_xrc-2.6.so.0 is needed by package
audacity
Missing Dependency: libwx_gtk2u_html-2.6.so.0(WXU_2.6) is needed by
package audacity
Missing Dependency: libwx_gtk2u_html-2.6.so.0 is needed by package
audacity
Missing Dependency: libwx_baseu_net-2.6.so.0(WXU_2.6) is needed by
package audacity
Missing Dependency: libwx_baseu-2.6.so.0 is needed by package audacity
Missing Dependency: libwx_gtk2u_qa-2.6.so.0 is needed by package
audacity
Missing Dependency: libwx_gtk2u_core-2.6.so.0(WXU_2.6) is needed by
package audacity
Missing Dependency: libwx_gtk2u_core-2.6.so.0(WXU_2.6.2) is needed by
package audacity
Missing Dependency: libwx_baseu-2.6.so.0(WXU_2.6) is needed by package
audacity
Missing Dependency: libwx_baseu_net-2.6.so.0 is needed by package
audacity
Missing Dependency: libwx_gtk2u_core-2.6.so.0 is needed by package
audacity
Missing Dependency: libwx_baseu_xml-2.6.so.0 is needed by package
audacity

-- 
~/john

OpenPGP Sig:BA91F079

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 2 internet connections and one for backup

2008-12-26 Thread Bob Taylor

On Thu, 2008-12-25 at 18:46 -0500, Mark A. Lewis wrote:
> Top-posting this just to get your panties in an even bigger knot.
> 
> Come on dude, go have a beer or something and stop being a prick.
> 
> -Original Message-
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf 
> Of Vandaman
> Sent: Thursday, December 25, 2008 6:02 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] 2 internet connections and one for backup
> 
> Mark A. Lewis wrote:
> 
> > Apparently, someone didn't get what they wanted for
> > Christmas, is grumpy and feels like being the list police.
> > Lighten up man...
> > 
> 
> Do me a favour while I turn the Christmas Turkey. Ask this
> geezer called Mark A. Lewis to stop top-posting. 

Guys, you're on a two way street. Having said that, it happens you're
both right and you're both wrong.

Happy New Year.
-- 
Bob Taylor

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum install audacity --enablerepo=*\rpmforge Error in Dependency Resolution

2008-12-26 Thread MHR
On Fri, Dec 26, 2008 at 11:08 AM, JohnS  wrote:
> ]# yum install audacity --enablerepo=*\rpmforge
>
> Was this not going to be fixed for dep resolution. I'm not on the
> rpmforge list and remember this issue  from a while ago.
>

We just had this discussion earlier this week - see
http://lists.centos.org/pipermail/centos/2008-December/069878.html for
the thread (and, next time, take a look in the archives if you're not
going to read the list... :-).

BTW, for those interested, the solution I found, with much help from
Akemi, works on both 32 and 64 bit platforms.

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 2 internet connections and one for backup

2008-12-26 Thread Vandaman
Bob Taylor wrote:

> Guys, you're on a two way street. Having said that, it
> happens you're
> both right and you're both wrong.
> 

I post on several mailing lists and have never seen any jackass
become abusive because he does not want to follow the guidelines
of that mailing list. Have you seen any yourself?

Regards,
Vandaman.


  

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum install audacity --enablerepo=*\rpmforge Error in Dependency Resolution

2008-12-26 Thread JohnS

On Fri, 2008-12-26 at 11:53 -0800, MHR wrote:
> On Fri, Dec 26, 2008 at 11:08 AM, JohnS  wrote:
> > ]# yum install audacity --enablerepo=*\rpmforge
> >
> > Was this not going to be fixed for dep resolution. I'm not on the
> > rpmforge list and remember this issue  from a while ago.

> We just had this discussion earlier this week - see
> http://lists.centos.org/pipermail/centos/2008-December/069878.html for
> the thread (and, next time, take a look in the archives if you're not
> going to read the list... :-).

Mark, actually i do read the list. It's that mid life crisis thing i
guess. I thought it was discussed but could not remember. Did search the
list archive but I seached for xmms-midi. I need something to convert
*.midi files to *.mp3. Found out audacity would do that but no install.
I found a xmms-midi plugin on pbone but it seems to be trashed. XMMS
will load the midi file and either play it all or half the midi file and
then want play the next midi file.

This is for a client of mine and I need a way to play or rip midi files.
Giong to try this way first and see how it turns out.
http://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=16273&forum=38

> BTW, for those interested, the solution I found, with much help from
> Akemi, works on both 32 and 64 bit platforms.
 
And this is the same way you done this?

johnStanley


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 2 internet connections and one for backup

2008-12-26 Thread Robert
Vandaman wrote:
> Bob Taylor wrote:
>
>   
>> Guys, you're on a two way street. Having said that, it
>> happens you're
>> both right and you're both wrong.
>>
>> 
>
> I post on several mailing lists and have never seen any jackass
> become abusive because he does not want to follow the guidelines
> of that mailing list. Have you seen any yourself?
>
> Regards,
> Vandaman.
>
>   
It does make one wonder why some people either don't make an effort to 
conform to guidelines -or- do make an effort to not conform.  Of all the 
annoying practices we see, though, top posting seems fairly innocuous 
-if- irrelevant content is snipped without wrecking attributions.

But then, I ask you how many bottom-posted messages do we see in which 
it's impossible to determine who said what?   To me, that's important 
because unlike airport TSA people who are forbidden to "profile",  I'm 
gonna mentally weigh answers based on who said it.

Just one man's opinion...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum install audacity --enablerepo=*\rpmforge Error in Dependency Resolution

2008-12-26 Thread MHR
On Fri, Dec 26, 2008 at 12:35 PM, JohnS  wrote:
>
> And this is the same way you done this?
>
> johnStanley
>

I used the method described in the forum to install audacity-nonfree
(except that for the 32 bit version, there were a couple of libraries
I needed to add - libsample and its -devel, which are yum
installable from the base).

I was using audacity to normalize a slew of mp3s I'd downloaded so
they wouldnt be so dynamically different from others in the same
playlist.  I've never tried to use it to convert a MIDI file to an
MP3, but if it can read and play the MIDI file, it will allow you to
export it to WAV, MP3, OGG or  format.

BTW, the audacity-nonfree is free, but it includes the LAME encoder
for MP# exports, which the base audacity did/does _not_ include.

Here are the libraries I installed on my 32-bit work desktop (YMMV):

compat-wxGTK26-2.6.4-2.el5.ccrma
libsamplerate-devel-0.1.2-1.2.el5.rf
libsamplerate-0.1.2-1.2.el5.rf
audacity-nonfree-1.3.2-0.4.beta.lvn6

Good luck.

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 2 internet connections and one for backup

2008-12-26 Thread MHR
On Fri, Dec 26, 2008 at 12:54 PM, Robert  wrote:
> Vandaman wrote:
>> Bob Taylor wrote:
>>
>>> Guys, you're on a two way street. Having said that, it
>>> happens you're
>>> both right and you're both wrong.
>>
>> I post on several mailing lists and have never seen any jackass
>> become abusive because he does not want to follow the guidelines
>> of that mailing list. Have you seen any yourself?
>>
>> Regards,
>> Vandaman.
>>
> It does make one wonder why some people either don't make an effort to
> conform to guidelines -or- do make an effort to not conform.  Of all the
> annoying practices we see, though, top posting seems fairly innocuous
> -if- irrelevant content is snipped without wrecking attributions.
>
> But then, I ask you how many bottom-posted messages do we see in which
> it's impossible to determine who said what?   To me, that's important
> because unlike airport TSA people who are forbidden to "profile",  I'm
> gonna mentally weigh answers based on who said it.
>
> Just one man's opinion...

It also does not hurt at least to try to be polite about it.  Rude, or
even flat (i.e., those open to interpretation as rude), comments don't
help.  Trust me on this one - I know (perhaps you've seen this from
me?), and I've been posting on mailing lists, discussion groups,
newsgroups and such since 1979 or so.  I've flamed and been flamed,
been rude and been polite.  Polite works.

Now, can we put this OT tangent to bed?

Thanks.

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Security advice, please

2008-12-26 Thread Warren Young
jk...@kinz.org wrote:
> 
> Hi Warren, Nice explanation.

Thanks!

> I would like to ask what you
> recommend people do if they want to be able to ssh in from 
> anywhere on the internet. Say they are going to be traveling and
> they know they will have to login from machines they have no
> control over, like an internet cafe or a Hotel's business
> services suite? 

Much of what I have to say on this has been said by others here already, 
but since you asked me, I'll repeat it.

You cannot trust hardware that's been in anyone else's hands.  A 
compromised computer can be made to do *anything*.  Furthermore, 
technology exists to make it extremely difficult to tell whether it has 
been compromised.  Therefore, you must carry hardware you control, and 
that hardware must be resistant to attack.  Whether it's a hacked-up 
Palm III running uC Linux or a MacBook Air, you must be in control of 
it, top-to-bottom, if you are going to trust it with the keys it needs 
to get into your home from the outside.  If you can't trust the 
hardware, don't give it the keys.

Whatever portable system you choose, the key store must be strongly 
encrypted, or you must use a strong password on the individual keys. 
Again, this is the key to your home.  If the hardware gets stolen, you 
want those keys to be unusable.  Ideally, you want stolen hardware to be 
virtually worthless until reformatted.

I have two portable systems that I trust enough to give them the keys to 
my home system.

My primary portable is a MacBook Pro with the home directory encrypted 
with OS X's FileVault feature.  This is AES encryption, keyed with my 
login password, which is suitably strong.  Since my entire home 
directory is encrypted, I don't bother to use passwords on the ssh keys 
I keep on that system.  (I also use secure virtual memory on this 
system, for what that's worth.)

The other portable is a little Asus Eee 701, reformatted to run Ubuntu 
Eee.  (Since renamed Easy Peasy...wince...)  I haven't yet got it doing 
full disk encryption, so I password-protect its ssh key.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 2 internet connections and one for backup

2008-12-26 Thread MHR
On Fri, Dec 26, 2008 at 1:18 PM, MHR  wrote:
>
> It also does not hurt at least to try to be polite about it.  Rude, or
> even flat (i.e., those open to interpretation as rude), comments don't
> help.  Trust me on this one - I know (perhaps you've seen this from
> me?), and I've been posting on mailing lists, discussion groups,
> newsgroups and such since 1979 or so.  I've flamed and been flamed,
> been rude and been polite.  Polite works.
>
> Now, can we put this OT tangent to bed?
>
> Thanks.
>

PS (yeah, yeah, I know) especially to Mr. Vandaman:  I've noticed that
a lot of your postings are fairly concise, or one might say clipped.
I gather that this is how you post, and this is not a criticism, just
an observation: most people, especially us annoying colonists,
perceive clipped as being rude, even if it is not intended to be.  An
extra word or two to soften the blow can often help.

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Security advice, please

2008-12-26 Thread Anne Wilson
On Friday 26 December 2008 21:18:27 Warren Young wrote:
> The other portable is a little Asus Eee 701, reformatted to run Ubuntu
> Eee.  (Since renamed Easy Peasy...wince...)  I haven't yet got it doing
> full disk encryption, so I password-protect its ssh key.

Since I can't encrypt the whole disk at the moment, I also set a BIOS 
password.  Just another hoop to jump through.  Hopefully each hoop is strong 
enough on its own.  Together they should make the hardware entirely un-
enticing :-)

Anne


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Security advice, please

2008-12-26 Thread Warren Young
jk...@kinz.org wrote:
> You are visiting the Otis Public Library in Norwich CT.  They have Linux
> based public workstations (w/Internet access). 
> (http://www.otislibrarynorwich.org/index.htm)

Do you trust the library, all of their employees, and every person who 
has ever used the computer you sit down at with the keys to your home? 
No?  Don't give them the keys to your home.

> Or you are a consultant visiting a corporate client who doesn't allow
> "outside equipment" to be used on their network, so they maintain
> specific machines for "guests" to use. (Hint, "DOD" )

Ditto.

Additionally, when using your employer's equipment, or your own 
equipment at on your employer's premises, the company is legally 
entitled to watch whatever you do, and demand that you provide keys so 
they can see through any encryption.  Don't trust your employer with the 
keys to your home?  Don't access your home system from work.

> example three - A TSA attendant "accidentally" drops your
> laptop.. in front of a forklift... (Merry Christmas!)

Life is hard.  You cannot plan for every eventuality.

> All your ideas are good ones to which I would add using port knocking
> (not perfect at all but adds an additional small barrier) 

Port knocking is just a type of key.  If you use this from a system you 
do not trust or where the owner of the system has a right to know all 
the keys used on it and you don't want that person to know the key, 
don't give the key to that system.

> Unfortunately, the worst case scenario ( a compromised machine
> that does key logging) which you pointed out, will always be a 
> potential problem.. 

This is more than just a potential hazard.  There are *millions* of 
zombies on the Internet now.  Since there are only about a billion PCs 
in active use in the world, this means the chances of you borrowing time 
on a computer that's zombified is maybe 1 in a hundred.  Would you get 
in a car if the chances of getting into an accident were 1:100?

The odds shift when you trust the security of the hardware.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum install audacity --enablerepo=*\rpmforge Error in Dependency Resolution

2008-12-26 Thread JohnS

On Fri, 2008-12-26 at 13:14 -0800, MHR wrote:
> On Fri, Dec 26, 2008 at 12:35 PM, JohnS  wrote:
> >
> > And this is the same way you done this?
> >
> > johnStanley
> >
> 
> I used the method described in the forum to install audacity-nonfree
> (except that for the 32 bit version, there were a couple of libraries
> I needed to add - libsample and its -devel, which are yum
> installable from the base).
> 
> I was using audacity to normalize a slew of mp3s I'd downloaded so
> they wouldnt be so dynamically different from others in the same
> playlist.  I've never tried to use it to convert a MIDI file to an
> MP3, but if it can read and play the MIDI file, it will allow you to
> export it to WAV, MP3, OGG or  format.
> 
> BTW, the audacity-nonfree is free, but it includes the LAME encoder
> for MP# exports, which the base audacity did/does _not_ include.
> 
> Here are the libraries I installed on my 32-bit work desktop (YMMV):
> 
> compat-wxGTK26-2.6.4-2.el5.ccrma
> libsamplerate-devel-0.1.2-1.2.el5.rf
> libsamplerate-0.1.2-1.2.el5.rf
> audacity-nonfree-1.3.2-0.4.beta.lvn6

Thanks for the help Mark. so far I have all packages needed except wxGTK
rather big for a dialup connection. Will get it later tonight at work.

yum install libsamplerate --enablerepo=*\rpmforge
yum install libsamplerate-devel --enablerepo=*\rpmforge
rpm -Uvh soundtouch-1.3.1-6.el5.ccrma.i386.rpm ccrma
rpm -Uvh wxCompat ccrma
rpm -i --nodeps audacity-1.3.5-0.5.beta.el5.ccrma.i386.rpm  
yum install wxGTK.i386 --enablerepo=*\rpmforge

If the audacity from crma is not free? Then I will check out the livna
one. I'm thing I should not need the devel libs either.

thanks for the help

JohnStanley

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installing RHEL5.3

2008-12-26 Thread Matej Cepl
On 2008-12-24, 14:00 GMT, Alain PORTAL wrote:
> More info in the updated bug:
> https://bugzilla.redhat.com/show_bug.cgi?id=3D477708#c5

Thanks Alain, this looks really pretty bad. Bug updated and 
maintainer asked to take a look at it.

Matěj

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Bash Script for Beginners! oh dear :'(

2008-12-26 Thread Matej Cepl
On 2008-12-24, 01:22 GMT, MHR wrote:
> On Tue, Dec 23, 2008 at 4:34 PM, Matej Cepl wrote:
>> On 2008-12-23, 12:15 GMT, James Bensley wrote:
>>> find . -exec grep -q "$1" '{}' \; -print >> ./found_files
>>
>> I think you can have only one action (either -exec or -print),
>> but not sure about it. Anyway, my first instinct when things are
>> getting to be more complicated is to use while cycle, like this:
>>
>> find . |while read FILE ; do
>>if grep "$FILE" '{}' >/dev/null 2>&1 ; then
>>echo "$FILE" >> ./found_files
>>fi
>> done
>>
>
> I don't think the '{}' construct for 'find' will work on the other
> side of a pipe

Of course, that's what I get from copying original text. Should 
read:

find . |while read FILE ; do
   if grep "$FILE" "$1" >/dev/null 2>&1 ; then
   echo "$FILE" >> ./found_files
   fi
done

Matěj Cepl

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installing RHEL5.3

2008-12-26 Thread Alain PORTAL
Le vendredi 26 décembre 2008, Matej Cepl a écrit :
> On 2008-12-24, 14:00 GMT, Alain PORTAL wrote:
> > More info in the updated bug:
> > https://bugzilla.redhat.com/show_bug.cgi?id=3D477708#c5
>
> Thanks Alain, this looks really pretty bad. Bug updated and
> maintainer asked to take a look at it.

This is me, Matěj, who thank you to help me in finding a solution to be able 
to use CentOS on my laptop.
Of course, I agree to do all the tests mainteners would want.

Regards,
Alain
-- 
Les pages de manuel Linux en français
http://manpagesfr.free.fr/


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Something to test in php 5.2

2008-12-26 Thread Ignacio Vazquez-Abrams
On Fri, 2008-12-26 at 03:10 -0800, Michael A. Peters wrote:
> Since people are testing php 5.2 in the CentOS repo - here's a bug I 
> found in my own build of 5.2 that probably is a general php bug - but is 
> worth testing on the CentOS testing packages.
> 
> If using imagefttext with a Postscript type 1 font -
> 
> $lstring="©" . date("Y") . " My Real Name";
> 
> or
> 
> $lstring=html_entity_decode("©", ENT_COMPAT, "UTF-8") . date("Y") . 
> "My Real Name";
> 
> both result in a ' instead of a © when rendered on the image.
> 
> Works fine with a TrueType font, only an issue with Type1 fonts.
> 
> Well, I only tried the second (with html_entity) with a ttf font, but 
> point is it doesn't do what it is suppose to do with ps fonts.

What do wget and od have to say about what's being returned?

-- 
Ignacio Vazquez-Abrams 

PLEASE don't CC me; I'm already subscribed


signature.asc
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Beginner - need suggestion to improve BACKUP script

2008-12-26 Thread partha chowdhury
hallo list,

  I have recently started to learn shell scripting.  Now 
i am trying to write a script to backup /etc and /var to my home dir in 
a separate folder and then backup the home dir to usb drive using rsync. 
My goal is when i will run the script it will output status to standard 
output in form  of bold messages with time and simultaneously logs to 
another file in /root dir. I have labled the usb drive as 
"usb-mass-storage". the script runs fine according to my requirement. 
Now i need suggestion to improve the script further. Thank you.

the script is as follows:

> #!/bin/sh
> if blkid |grep USB-Mass-Storage
> then
> if [ -d /media/backup ]
> then
> /bin/mount LABEL=USB-Mass-Storage /media/backup
> echo 
> "- " 
> >> /root/backup.log
> echo $(date) >> /root/backup.log
> /etc/rc.d/init.d/named stop &> /dev/null
> echo "CONFIGURATION backup starting "|tee -a /root/backup.log
> /usr/bin/rsync -a --progress --delete /etc/ ~freedom/backup/etc/ >> 
> /root/backup.log;echo "CONFIGURATION backup finished" |tee -a 
> /root/backup.log;echo "VARIABLE backup starting"|tee -a 
> /root/backup.log;/usr/bin/rsync -a --progress --delete 
> --exclude=ftp/pub/media/ /var/ ~freedom/backup/var/ >> /root/backup.log; echo 
> "VARIABLE backup finished" |tee -a /root/backup.log;/etc/rc.d/init.d/named 
> start&> /dev/null
> echo " Now we are going to backup $(date)" |tee -a /root/backup.log
> /usr/bin/rsync -a --progress --delete /home/freedom/ /media/backup/ |tee -a 
> /root/backup.log; echo "BACKUP FINISHED $(date)" |tee -a /root/backup.log
> else
> echo "$(date)   DISTDIR does not exist" |tee -a /root/backup.log
> fi
> else
> echo "$(date)   USB drive not entered"|tee -a /root/backup.log
> fi

1>the /root/backup.log is the log file
2>i stop the named service before starting backup as i run the named 
process in a chroooted environment and if  i trey to manually backup 
/var with rsync i get :/var/named/chroot/proc/kcore:  has vanished !
3>my home dir is /home/freedom
4>i exclude the /var/ftp/pub/media/ folder as it is just the copy of 
centos 5 dvd which i use as my local base repo.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos