Re: apache 2.2.22_8

2012-09-16 Thread Odhiambo Washington
On Sat, Sep 15, 2012 at 8:30 PM, Solmin Vladimir v...@celicom.ru wrote:

 Hi!
 Im using apache 2.2.22_6 with make options in /etc/make.conf

 # apache22
 .if ${.CURDIR} == ${PORTSDIR}/www/apache22
 WITH_SUEXEC=YES
 SUEXEC_DOCROOT= /www
 SUEXEC_USERDIR= /www/*/cgi-bin
 SUEXEC_LOGFILE= /var/log/suexec.log
 WITH_APACHE_PERF_TUNING=yes
 .endif

 But after svn co /usr/ports today i'm see next:

 $portupgrade -arR
 ** Port marked as IGNORE: www/apache22:
 is marked as broken: WITH/WITHOUT parameters are obsolete. The
 port use the new options NG framework. Please read
 http://wiki.freebsd.org/Ports/**Options/OptionsNGhttp://wiki.freebsd.org/Ports/Options/OptionsNG

 but a don't understand how i must set SUEXEC_DOCROOT, SUEXEC_USERDIR and
 SUEXEC_LOGFILE in NG framework format...

 Please help show me how


I have read that instruction and I am also not clear with what the correct
syntax is for /etc/make.conf.

I have come up with this:

# apache22
.if ${.CURDIR} == ${PORTSDIR}/www/apache22
${APACHE22}_SET=SUEXEC
${APACHE22}_SET=SUEXEC_DOCROOT /www
${APACHE22}_SET=SUEXEC_USERDIR  /www/*/cgi-bin

${APACHE22}_SET=SUEXEC_LOGFILE /var/log/suexec.log
.endif

 I cant say if that's how it should be, but I think:-)


Hopefully, Chris can help us understand the syntax better.

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8.1 - 8.3

2012-09-16 Thread Laszlo Danielisz
Today I'm going to have some time and will do the upgrade. 
Thanks for all of you for the support!

-- 
Laszlo Danielisz
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On 2012. September 15. at 23:32, Robert Bonomi wrote:

  From owner-freebsd-questi...@freebsd.org 
  (mailto:owner-freebsd-questi...@freebsd.org) Sat Sep 15 11:58:42 2012
  To: freebsd-questions@freebsd.org (mailto:freebsd-questions@freebsd.org)
  From: Michael Powell nightre...@hotmail.com 
  (mailto:nightre...@hotmail.com)
  Date: Sat, 15 Sep 2012 12:56:49 -0400
  Subject: Re: 8.1 - 8.3
  
  Laszlo Danielisz wrote:
  
   Hey Guys,
   
   If I want to upgrade from 8.1-RELEASE-p11 to 8.3 do I need to also update
   installed packages? One more thing: by when has 8.3 release maintenance?
   Maybe I'm blind but I haven't found the date on freebsd.org 
   (http://freebsd.org)
   
  
  
  When updating within a major release version such as 8.1 to 8.x the ABI is 
  stable and remains the same so it is not necessary to update the third 
  party 
  packages/ports. 
  
 
 
 Note: this is _generally_ accurate. There are *rare* exceptions -- things
 that have to be compiled against against the actual kernel in use, because
 they go rummaging through kernel internal data structures.
 
 Historically, lsof wa one such program.
 
 Such programs tended to have *LOUD* caveats in the build documentation,
 and run-time checks for kernel version consistency. 
 
 In 30+ years as a sysadmin, I think I've only encoundered abouut _four_
 such programs. 
 
 
 ,
 ___
 freebsd-questions@freebsd.org (mailto:freebsd-questions@freebsd.org) mailing 
 list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org 
 (mailto:freebsd-questions-unsubscr...@freebsd.org)
 
 


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


Re: Minecraft sound (ALSA)

2012-09-16 Thread Stephan Schindel

Yes thank you :) I just had to remove .asoundrc and now it's working :)

Am 14.09.2012 17:39, schrieb Stephan Schindel:

Hey guys!
I would like to play Minecraft on my FreeBSD box, so I installed 
games/minecraft-client. It starts, but I do not have any sound. The 
reason for that is that Minecraft uses ALSA and ALSA does not find any 
soundcards:


   Starting up SoundSystem...
   Initializing LWJGL OpenAL
(The LWJGL binding of OpenAL.  For more information, see
   http://www.lwjgl.org)
   AL lib: alsa.c:960: no playback cards found...
   AL lib: alsa.c:1017: no capture cards found...
   ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
   ALSA lib conf.c:4154:(_snd_config_evaluate) function
   snd_func_card_driver returned error: No such file or directory

I am not sure what to do here and how to wrap my OSS system in an ALSA 
system. I installed audio/alsa-lib, audio/alsa-plugins and 
audio/alsa-utils. My asoundrc looks like this at the moment:


   pcm.oss {
type oss
device /dev/dsp
   }


However I cannot play any MP3s via aplay. Do you have any ideas?

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


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


Re: apache 2.2.22_8

2012-09-16 Thread Chris Rees
On 16 September 2012 07:19, Odhiambo Washington odhia...@gmail.com wrote:
 On Sat, Sep 15, 2012 at 8:30 PM, Solmin Vladimir v...@celicom.ru wrote:

 Hi!
 Im using apache 2.2.22_6 with make options in /etc/make.conf

 # apache22
 .if ${.CURDIR} == ${PORTSDIR}/www/apache22
 WITH_SUEXEC=YES
 SUEXEC_DOCROOT= /www
 SUEXEC_USERDIR= /www/*/cgi-bin
 SUEXEC_LOGFILE= /var/log/suexec.log
 WITH_APACHE_PERF_TUNING=yes
 .endif

 But after svn co /usr/ports today i'm see next:

 $portupgrade -arR
 ** Port marked as IGNORE: www/apache22:
 is marked as broken: WITH/WITHOUT parameters are obsolete. The
 port use the new options NG framework. Please read
 http://wiki.freebsd.org/Ports/Options/OptionsNG

 but a don't understand how i must set SUEXEC_DOCROOT, SUEXEC_USERDIR and
 SUEXEC_LOGFILE in NG framework format...

 Please help show me how


 I have read that instruction and I am also not clear with what the correct
 syntax is for /etc/make.conf.

 I have come up with this:


 # apache22
 .if ${.CURDIR} == ${PORTSDIR}/www/apache22
 ${APACHE22}_SET=SUEXEC
 ${APACHE22}_SET=SUEXEC_DOCROOT /www
 ${APACHE22}_SET=SUEXEC_USERDIR  /www/*/cgi-bin


 ${APACHE22}_SET=SUEXEC_LOGFILE /var/log/suexec.log
 .endif

  I cant say if that's how it should be, but I think:-)


 Hopefully, Chris can help us understand the syntax better.

Thanks for copying me in, I'm not on this list.

You're very close!

You need to use ${UNIQUENAME}_SET, and to find the UNIQUENAME you need to;

[crees@pegasus]~% cd /usr/ports/www/apache22
[crees@pegasus]/usr/ports/www/apache22% make -VUNIQUENAME
apache22

Now we know it's apache22, we can use:

# (No need to bother with .if ${.CURDIR} any more)

apache22_SET+= SUEXEC
SUEXEC_DOCROOT= /www
SUEXEC_USERDIR= /www/*/cgi-bin
SUEXEC_LOGFILE= /var/log/suexec.log

I'm not sure what APACHE_PERF_TUNING is; you may find it's been
deprecated.  Check with apache@ about that.  If I've somehow missed
that, you can just add it to the apache22_SET list:

apache22_SET+= SUEXEC APACHE_PERF_TUNING

Hope that helps!

Chris

(corresponding to WITHOUT is ${UNIQUENAME}_UNSET)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: apache 2.2.22_8

2012-09-16 Thread Odhiambo Washington
Hi Chris,

Thanks for this.

Hopefully, you can modify the Wiki to have this information and even
examples:)

Personally, I use `make config` and have never needed to do much with
/etc/make.conf as regards the ports.




On Sun, Sep 16, 2012 at 11:17 AM, Chris Rees cr...@freebsd.org wrote:

 On 16 September 2012 07:19, Odhiambo Washington odhia...@gmail.com
 wrote:
  On Sat, Sep 15, 2012 at 8:30 PM, Solmin Vladimir v...@celicom.ru wrote:
 
  Hi!
  Im using apache 2.2.22_6 with make options in /etc/make.conf
 
  # apache22
  .if ${.CURDIR} == ${PORTSDIR}/www/apache22
  WITH_SUEXEC=YES
  SUEXEC_DOCROOT= /www
  SUEXEC_USERDIR= /www/*/cgi-bin
  SUEXEC_LOGFILE= /var/log/suexec.log
  WITH_APACHE_PERF_TUNING=yes
  .endif
 
  But after svn co /usr/ports today i'm see next:
 
  $portupgrade -arR
  ** Port marked as IGNORE: www/apache22:
  is marked as broken: WITH/WITHOUT parameters are obsolete. The
  port use the new options NG framework. Please read
  http://wiki.freebsd.org/Ports/Options/OptionsNG
 
  but a don't understand how i must set SUEXEC_DOCROOT, SUEXEC_USERDIR and
  SUEXEC_LOGFILE in NG framework format...
 
  Please help show me how
 
 
  I have read that instruction and I am also not clear with what the
 correct
  syntax is for /etc/make.conf.
 
  I have come up with this:
 
 
  # apache22
  .if ${.CURDIR} == ${PORTSDIR}/www/apache22
  ${APACHE22}_SET=SUEXEC
  ${APACHE22}_SET=SUEXEC_DOCROOT /www
  ${APACHE22}_SET=SUEXEC_USERDIR  /www/*/cgi-bin
 
 
  ${APACHE22}_SET=SUEXEC_LOGFILE /var/log/suexec.log
  .endif
 
   I cant say if that's how it should be, but I think:-)
 
 
  Hopefully, Chris can help us understand the syntax better.

 Thanks for copying me in, I'm not on this list.

 You're very close!

 You need to use ${UNIQUENAME}_SET, and to find the UNIQUENAME you need to;

 [crees@pegasus]~% cd /usr/ports/www/apache22
 [crees@pegasus]/usr/ports/www/apache22% make -VUNIQUENAME
 apache22

 Now we know it's apache22, we can use:

 # (No need to bother with .if ${.CURDIR} any more)

 apache22_SET+= SUEXEC
 SUEXEC_DOCROOT= /www
 SUEXEC_USERDIR= /www/*/cgi-bin
 SUEXEC_LOGFILE= /var/log/suexec.log

 I'm not sure what APACHE_PERF_TUNING is; you may find it's been
 deprecated.  Check with apache@ about that.  If I've somehow missed
 that, you can just add it to the apache22_SET list:

 apache22_SET+= SUEXEC APACHE_PERF_TUNING

 Hope that helps!

 Chris

 (corresponding to WITHOUT is ${UNIQUENAME}_UNSET)




-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: apache 2.2.22_8

2012-09-16 Thread Chris Rees
On 16 September 2012 09:32, Odhiambo Washington odhia...@gmail.com wrote:
 Hi Chris,

 Thanks for this.

 Hopefully, you can modify the Wiki to have this information and even
 examples:)

There are examples on the Wiki page already, but in a confusing order.
 I've put in a link, and a tip on how to find UNIQUENAME.

 Personally, I use `make config` and have never needed to do much with
 /etc/make.conf as regards the ports.

True, but some people like to share their make.conf around machines :)

Chris


 On Sun, Sep 16, 2012 at 11:17 AM, Chris Rees cr...@freebsd.org wrote:

 On 16 September 2012 07:19, Odhiambo Washington odhia...@gmail.com
 wrote:
  On Sat, Sep 15, 2012 at 8:30 PM, Solmin Vladimir v...@celicom.ru wrote:
 
  Hi!
  Im using apache 2.2.22_6 with make options in /etc/make.conf
 
  # apache22
  .if ${.CURDIR} == ${PORTSDIR}/www/apache22
  WITH_SUEXEC=YES
  SUEXEC_DOCROOT= /www
  SUEXEC_USERDIR= /www/*/cgi-bin
  SUEXEC_LOGFILE= /var/log/suexec.log
  WITH_APACHE_PERF_TUNING=yes
  .endif
 
  But after svn co /usr/ports today i'm see next:
 
  $portupgrade -arR
  ** Port marked as IGNORE: www/apache22:
  is marked as broken: WITH/WITHOUT parameters are obsolete. The
  port use the new options NG framework. Please read
  http://wiki.freebsd.org/Ports/Options/OptionsNG
 
  but a don't understand how i must set SUEXEC_DOCROOT, SUEXEC_USERDIR
  and
  SUEXEC_LOGFILE in NG framework format...
 
  Please help show me how
 
 
  I have read that instruction and I am also not clear with what the
  correct
  syntax is for /etc/make.conf.
 
  I have come up with this:
 
 
  # apache22
  .if ${.CURDIR} == ${PORTSDIR}/www/apache22
  ${APACHE22}_SET=SUEXEC
  ${APACHE22}_SET=SUEXEC_DOCROOT /www
  ${APACHE22}_SET=SUEXEC_USERDIR  /www/*/cgi-bin
 
 
  ${APACHE22}_SET=SUEXEC_LOGFILE /var/log/suexec.log
  .endif
 
   I cant say if that's how it should be, but I think:-)
 
 
  Hopefully, Chris can help us understand the syntax better.

 Thanks for copying me in, I'm not on this list.

 You're very close!

 You need to use ${UNIQUENAME}_SET, and to find the UNIQUENAME you need to;

 [crees@pegasus]~% cd /usr/ports/www/apache22
 [crees@pegasus]/usr/ports/www/apache22% make -VUNIQUENAME
 apache22

 Now we know it's apache22, we can use:

 # (No need to bother with .if ${.CURDIR} any more)

 apache22_SET+= SUEXEC
 SUEXEC_DOCROOT= /www
 SUEXEC_USERDIR= /www/*/cgi-bin
 SUEXEC_LOGFILE= /var/log/suexec.log

 I'm not sure what APACHE_PERF_TUNING is; you may find it's been
 deprecated.  Check with apache@ about that.  If I've somehow missed
 that, you can just add it to the apache22_SET list:

 apache22_SET+= SUEXEC APACHE_PERF_TUNING

 Hope that helps!

 Chris

 (corresponding to WITHOUT is ${UNIQUENAME}_UNSET)




 --
 Best regards,
 Odhiambo WASHINGTON,
 Nairobi,KE
 +254733744121/+254722743223
 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 I can't hear you -- I'm using the scrambler.

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


Re: apache 2.2.22_8

2012-09-16 Thread Odhiambo Washington
On Sun, Sep 16, 2012 at 11:47 AM, Chris Rees cr...@freebsd.org wrote:

 On 16 September 2012 09:32, Odhiambo Washington odhia...@gmail.com
 wrote:
  Hi Chris,
 
  Thanks for this.
 
  Hopefully, you can modify the Wiki to have this information and even
  examples:)

 There are examples on the Wiki page already, but in a confusing order.
  I've put in a link, and a tip on how to find UNIQUENAME.

  Personally, I use `make config` and have never needed to do much with
  /etc/make.conf as regards the ports.

 True, but some people like to share their make.conf around machines :)

 Chris


My machines are all identical too, except for parameters related to
$hostname, DNS and passwords.
I mostly used /usr/local/etc/pkgtools.conf before, then `make config` and
now I believe I am gonna switch to /etc/make.conf but only where I must
finely customize.
One thing has crossed my mind now: What happens with make -DWITH_* in this
new development of optionsNG?? I have manually built ports that way before.
And what about those who want to use portinstall -m WITH_OPTx=1
WITH_OPTy=1, etc?



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: apache 2.2.22_8

2012-09-16 Thread Chris Rees
On 16 September 2012 10:20, Odhiambo Washington odhia...@gmail.com wrote:


 On Sun, Sep 16, 2012 at 11:47 AM, Chris Rees cr...@freebsd.org wrote:

 On 16 September 2012 09:32, Odhiambo Washington odhia...@gmail.com
 wrote:
  Hi Chris,
 
  Thanks for this.
 
  Hopefully, you can modify the Wiki to have this information and even
  examples:)

 There are examples on the Wiki page already, but in a confusing order.
  I've put in a link, and a tip on how to find UNIQUENAME.

  Personally, I use `make config` and have never needed to do much with
  /etc/make.conf as regards the ports.

 True, but some people like to share their make.conf around machines :)

 Chris


 My machines are all identical too, except for parameters related to
 $hostname, DNS and passwords.
 I mostly used /usr/local/etc/pkgtools.conf before, then `make config` and
 now I believe I am gonna switch to /etc/make.conf but only where I must
 finely customize.
 One thing has crossed my mind now: What happens with make -DWITH_* in this
 new development of optionsNG?? I have manually built ports that way before.
 And what about those who want to use portinstall -m WITH_OPTx=1 WITH_OPTy=1,
 etc?

Still works fine for nearly all ports, but just for apache ports there
appears to be subtle problems with the logic since it's so
complicated.  That's why Olli chose to disable the WITH_ option style
for Apache, and I think it was the right decision.

I would suggest you learn the new (just as simple) syntax and see how
you get on with it :)

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


Re: apache 2.2.22_8

2012-09-16 Thread Odhiambo Washington
On Sun, Sep 16, 2012 at 12:25 PM, Chris Rees cr...@freebsd.org wrote:

 On 16 September 2012 10:20, Odhiambo Washington odhia...@gmail.com
 wrote:
 
 
  On Sun, Sep 16, 2012 at 11:47 AM, Chris Rees cr...@freebsd.org wrote:
 
  On 16 September 2012 09:32, Odhiambo Washington odhia...@gmail.com
  wrote:
   Hi Chris,
  
   Thanks for this.
  
   Hopefully, you can modify the Wiki to have this information and even
   examples:)
 
  There are examples on the Wiki page already, but in a confusing order.
   I've put in a link, and a tip on how to find UNIQUENAME.
 
   Personally, I use `make config` and have never needed to do much with
   /etc/make.conf as regards the ports.
 
  True, but some people like to share their make.conf around machines :)
 
  Chris
 
 
  My machines are all identical too, except for parameters related to
  $hostname, DNS and passwords.
  I mostly used /usr/local/etc/pkgtools.conf before, then `make config` and
  now I believe I am gonna switch to /etc/make.conf but only where I must
  finely customize.
  One thing has crossed my mind now: What happens with make -DWITH_* in
 this
  new development of optionsNG?? I have manually built ports that way
 before.
  And what about those who want to use portinstall -m WITH_OPTx=1
 WITH_OPTy=1,
  etc?

 Still works fine for nearly all ports, but just for apache ports there
 appears to be subtle problems with the logic since it's so
 complicated.  That's why Olli chose to disable the WITH_ option style
 for Apache, and I think it was the right decision.

 I would suggest you learn the new (just as simple) syntax and see how
 you get on with it :)

 Chris


I was thinking this optionsNG has already been adopted for all ports.

Thanks for the examples though. They are good enough for me to learn the
ropes..


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: apache 2.2.22_8

2012-09-16 Thread Chris Rees
On 16 September 2012 10:37, Odhiambo Washington odhia...@gmail.com wrote:


 On Sun, Sep 16, 2012 at 12:25 PM, Chris Rees cr...@freebsd.org wrote:

 On 16 September 2012 10:20, Odhiambo Washington odhia...@gmail.com
 wrote:
 
 
  On Sun, Sep 16, 2012 at 11:47 AM, Chris Rees cr...@freebsd.org wrote:
 
  On 16 September 2012 09:32, Odhiambo Washington odhia...@gmail.com
  wrote:
   Hi Chris,
  
   Thanks for this.
  
   Hopefully, you can modify the Wiki to have this information and even
   examples:)
 
  There are examples on the Wiki page already, but in a confusing order.
   I've put in a link, and a tip on how to find UNIQUENAME.
 
   Personally, I use `make config` and have never needed to do much with
   /etc/make.conf as regards the ports.
 
  True, but some people like to share their make.conf around machines :)
 
  Chris
 
 
  My machines are all identical too, except for parameters related to
  $hostname, DNS and passwords.
  I mostly used /usr/local/etc/pkgtools.conf before, then `make config`
  and
  now I believe I am gonna switch to /etc/make.conf but only where I must
  finely customize.
  One thing has crossed my mind now: What happens with make -DWITH_* in
  this
  new development of optionsNG?? I have manually built ports that way
  before.
  And what about those who want to use portinstall -m WITH_OPTx=1
  WITH_OPTy=1,
  etc?

 Still works fine for nearly all ports, but just for apache ports there
 appears to be subtle problems with the logic since it's so
 complicated.  That's why Olli chose to disable the WITH_ option style
 for Apache, and I think it was the right decision.

 I would suggest you learn the new (just as simple) syntax and see how
 you get on with it :)

 Chris


 I was thinking this optionsNG has already been adopted for all ports.

 Thanks for the examples though. They are good enough for me to learn the
 ropes..


Both syntaxes will work with old and new-style port OPTIONS.

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


Re: apache 2.2.22_8

2012-09-16 Thread Jerry
On Sun, 16 Sep 2012 09:17:55 +0100
Chris Rees articulated:

 You need to use ${UNIQUENAME}_SET, and to find the UNIQUENAME you
 need to;
 
 [crees@pegasus]~% cd /usr/ports/www/apache22
 [crees@pegasus]/usr/ports/www/apache22% make -VUNIQUENAME
 apache22
 
 Now we know it's apache22, we can use:

I tried this with postfix and the postfix-current port and both
returned the same unique name. Is that to be expected? I would have
though that two different ports would return different unique names.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
The trouble with a lot of self-made men is that they worship their
creator.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8.1 - 8.3

2012-09-16 Thread Polytropon
On Sat, 15 Sep 2012 16:32:42 -0500 (CDT), Robert Bonomi wrote:
  From owner-freebsd-questi...@freebsd.org  Sat Sep 15 11:58:42 2012
  To: freebsd-questions@freebsd.org
  From: Michael Powell nightre...@hotmail.com
  Date: Sat, 15 Sep 2012 12:56:49 -0400
  Subject: Re: 8.1 - 8.3
 
  Laszlo Danielisz wrote:
 
   Hey Guys,
   
   If I want to upgrade from 8.1-RELEASE-p11 to 8.3 do I need to also update
   installed packages? One more thing: by when has 8.3 release maintenance?
   Maybe I'm blind but I haven't found the date on freebsd.org
   
 
  When updating within a major release version such as 8.1 to 8.x the ABI is 
  stable and remains the same so it is not necessary to update the third 
  party 
  packages/ports. 
 
 Note: this is _generally_ accurate.   There are *rare* exceptions -- things
 that have to be compiled against against the actual kernel in use, because
 they go rummaging through kernel internal data structures.
 
 Historically, lsof wa one such program.
 
 Such programs tended to have *LOUD* caveats in the build documentation,
 and run-time checks for kernel version consistency. 
 
 In 30+ years as a sysadmin, I think I've only encoundered abouut _four_
 such programs. 

There may be one addition: Sometimes, programs originating
from ports become part of the OS (the base system). If I
remember correctly, that happened in the 7.x branch with
xz (becoming /usr/bin/xz). In such cases, it's good to
revier the related ports.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


have desktop on freebsd

2012-09-16 Thread saeedeh motlagh
*hello guys,

i installed freebsd8.2 and upgraded my portsnap.then i installed X11 and
gnome2 and configured x11 but it does not work correctly. when i run startx
command, it has the following error:

failed to load module fbdev

when i install fbdev from /x11-drivers/xf86-video-fbdev the other error
occurred:
loadmodule: module fbdevhw does not have a fbdevhwModuleData data object

i try to change my driver from fbdev to vesa. in order to do that, i change
the name of driver in Xorg.conf but the same error happend again.

anybody knows how i should solve it to have desktop on my freebsd box?
*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: have desktop on freebsd

2012-09-16 Thread Stephan Schindel

Am 16.09.2012 13:59, schrieb saeedeh motlagh:

*hello guys,

i installed freebsd8.2 and upgraded my portsnap.then i installed X11 and
gnome2 and configured x11 but it does not work correctly. when i run startx
command, it has the following error:

failed to load module fbdev

when i install fbdev from /x11-drivers/xf86-video-fbdev the other error
occurred:
loadmodule: module fbdevhw does not have a fbdevhwModuleData data object

i try to change my driver from fbdev to vesa. in order to do that, i change
the name of driver in Xorg.conf but the same error happend again.

anybody knows how i should solve it to have desktop on my freebsd box?
*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

What video card do you have? You need to have the correct driver installed.

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


Re: kinternet alternative in FreeBSD

2012-09-16 Thread Ian Smith
In freebsd-questions Digest, Vol 432, Issue 6, Message: 15
On Fri, 14 Sep 2012 11:26:57 +0200 Polytropon free...@edvax.de wrote:
  On Fri, 14 Sep 2012 11:05:03 +0200, suseuse...@lajt.hu wrote:
   Matthias, Polytropon:
[..]
   Thank you for your answers.
   I am using KDE 3.5.10. I would like to use FreeBSD as a desktop machine
   for replacing openSUSE if it is possible at all.
  
  I don't see a reason why this shouldn't be possible. Many years
  ago, FreeBSD 4 obsoleted Linux as my home desktop, and I do not
  regret the choice. Depending on what _you_ actually *do* with
  your computer, there _may_ be certain obstacles.
  
   For clarity, I do not need exactly kinternet, I want only an GUI frontend
   for pppdial which possibly resides in system tray and can be used to 
   control
   network connections.

  As I said, I've heared of a tool named kppp, and according to
  the traditional naming convention in KDE (of _that_ time), I
  assume this is a KDE program for dealing with ppp. Even though
  networking is done at OS level which doesn't have such a tight
  integration with desktop environments as this is done in
  Linux (as the big three desktop environments are quite
  Linux-centric), ppp can be invoked by the user (if he has
  been granted the required permissions by the system administrator).
  If a KDE program can communicate with the ppp command line
  tool, it should work.

Well the trouble is that KPPP only ever supported pppd, and FreeBSD had 
finally dropped pppd by 8.0.  Many users requested user ppp(8) support 
in KDE and specifically KPPP, since nearly everyone was using ppp(8) 
even while pppd was supported.  KDE folks showed no interest, and noone 
on our side worked on adding ppp(8) support - as I recall, anyway :)

No wonder Linux folks hide pppd operation in wrappers and tray gadgets; 
manually configuring pppd on Mandrake or Debian with half a zillion conf 
files is a job best left to robots, indeed.  It wasn't nearly so bad on 
FreeBSD, as detailed in: http://www.freebsd.org/doc/handbook/ppp.html 
(for FreeBSD 7.X only) but pppd still lacked functionality that had been 
straightforward in ppp(8) since at least '98 when I set it up for ISP 
dialout and 3 dialup 33.6kbps modems .. no X on that box of course.

   In openSUSE kinternet is a frontend for smpppd package.
   smpppd requires ppp. I will try to look into it whether  smpppd  can
   work with FreeBSD's ppp.
  
  That sounds like an interesting approach. Good luck!

On this 8.2-R system I checked /usr/ports; no mention of smpppd. 
grepping /usr/ports/net/* for pppd|PPPD found a few things, including a 
port of pppd itself, presumably one could install that.

t23% find /usr/ports -iname \*smpppd\*
t23% find /usr/ports/net -exec grep -Hi smpppd {} \;
t23% find /usr/ports/net -exec grep -Hi pppd {} \;
[.. snippets ..]
/usr/ports/net/Makefile:SUBDIR += pppd23
[..]
/usr/ports/net/l2tpd/files/patch-Makefile: # pools to pass to pppd ...
/usr/ports/net/poptop/files/patch-pptpctrl.c:   
  syslog(LOG_DEBUG, CTRL: pppd speed = %s, speed);
/usr/ports/net/poptop/files/patch-pptpctrl.c:+  
  syslog(LOG_DEBUG, CTRL: BSD userland ppp system label = %s,
[..]
usr/ports/net/pppd23/Makefile:# New ports collection makefile for: pppd 2.3.11
[..]
/usr/ports/net/pptpclient/files/patch-aa:-PPPD = /usr/sbin/pppd
/usr/ports/net/pptpclient/files/patch-aa:+PPPD = /usr/sbin/ppp
/usr/ports/net/rp-pppoe/Makefile:# New ports collection makefile for: popular 
pppd pppoe client
[..]
/usr/ports/net/xisp/pkg-descr:The xisp package implements a 
  user-friendly X interface to pppd/chat

The latter might be of use with the ports pppd 2.3 (or later by now)

The xisp package implements a user-friendly X interface to pppd/chat
and provides maximum feedback from the dial-in and login phases on a
browser screen, as well as a manual login terminal window. It also
provides greater versatility in interrupting a call in progress and in
general enhances the user's feeling of what's going on, especially
if he/she is not all that well acquainted with the intricacies of
system log files. Xisp also has means to track your phonecosts.

WWW: http://xisp.hellug.gr/;

So if suseuser wants to stick with the familiar rather than learning to 
use FreeBSD's ppp(8), perhaps some of that may help.

  I know that's basically possible. Many years ago, I wrote
  a Tcl/Tk-based frontend with buttons to enable / disable
  the connection, see the status and the elapsed time. If
  that has been possible, chances are good that KDE in its
  much advanced manner has something comparable.

Maybe there's something new in KDE4.  I'm sticking with 3.5 on my T23; 
I only have 768MB RAM :) and it does everything I need on the desktop.

It's not that hard to setup KDE desktop bottons to run whatever scripts 
you might need to start/stop/whatever with user ppp(8), but I've never 
bothered since mpd does a fine job of fulltime PPPoE, and gkrellm keeps 
and displays good 

What are negative permissions?

2012-09-16 Thread Gary Aitken
Can someone explainn to me what negative group permissions are?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: What are negative permissions?

2012-09-16 Thread Odhiambo Washington
On Sun, Sep 16, 2012 at 9:57 PM, Gary Aitken free...@dreamchaser.orgwrote:

 Can someone explainn to me what negative group permissions are?


In what context, sir?


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: What are negative permissions?

2012-09-16 Thread Matthew Seaman
On 16/09/2012 19:57, Gary Aitken wrote:
 Can someone explainn to me what negative group permissions are?

It's where the group ownership of a file gives it fewer permissions than
are allowed for the world in general.

Suppose you have a file with these permissions and ownership:

foo bar -rwx---r-x

The owner -- foo -- has full read, write and execute permissions on the
file.  Anyone has read and execute permissions.  But the group -- bar --
has no permissions.

Now, logically, you might think that the world permissions would
override the lack of group permissions, but in fact, that's not what
happens.  Permissions like that mean 'everyone *except* members of group
bar can read and execute this.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: What are negative permissions?

2012-09-16 Thread Matthias Apitz
El día Sunday, September 16, 2012 a las 08:37:48PM +0100, Matthew Seaman 
escribió:

 It's where the group ownership of a file gives it fewer permissions than
 are allowed for the world in general.
 
 Suppose you have a file with these permissions and ownership:
 
 foo bar -rwx---r-x
 
 ...

So far so good (and correct) the theory. But, could you imagine a real
world example where this makes any sense?

thanks

matthias

-- 
Matthias Apitz   |  /\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211   |  / \ - Respect for open standards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: What are negative permissions?

2012-09-16 Thread Michael Sierchio
On Sun, Sep 16, 2012 at 12:50 PM, Matthias Apitz g...@unixarea.de wrote:

 El día Sunday, September 16, 2012 a las 08:37:48PM +0100, Matthew Seaman
 escribió:

  It's where the group ownership of a file gives it fewer permissions than
  are allowed for the world in general.
 
  Suppose you have a file with these permissions and ownership:
 
  foo bar -rwx---r-x
 
  ...

 So far so good (and correct) the theory. But, could you imagine a real
 world example where this makes any sense?


Group permissions are rather blunt, and if you want fine-grained access
controls, you'll need to enable ACLs.  However...

Imagine, if you will, a group entitled guest, with the semantics you
might normally associate with that name - then using negative group
permissions on a directory effectively prevents traversal beyond that point
for members of that group.

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


Re: What are negative permissions?

2012-09-16 Thread Robert Bonomi
 Michael Sierchio ku...@tenebras.com wrote:
 On Sun, Sep 16, 2012 at 12:50 PM, Matthias Apitz g...@unixarea.de wrote:
  El dia Sunday, September 16, 2012 a las 08:37:48PM +0100, Matthew Seaman
  escribio:
 
   It's where the group ownership of a file gives it fewer permissions than
   are allowed for the world in general.
  
   Suppose you have a file with these permissions and ownership:
  
   foo bar -rwx---r-x
  
   ...
 
  So far so good (and correct) the theory. But, could you imagine a real
  world example where this makes any sense?

 Group permissions are rather blunt, and if you want fine-grained access
 controls, you'll need to enable ACLs.  However...

 Imagine, if you will, a group entitled guest, with the semantics you
 might normally associate with that name - then using negative group
 permissions on a directory effectively prevents traversal beyond that point
 for members of that group.

It's also 'convenient' for an anonymous ftp 'upload' directory -- set the 
upload directory  permissions to '-w--w-rw-' and any 'username' in the 
'anonymous' group can only upload files to that directory -- can't get
a directory listing, read any files, or change directory.  BUT, any
'non-anonymous' user _can_ do those things.

There are many kinds of special case scenarios where it is desirable
to make something 'generally available' to ths users, but -deny- access
to a specific group of users.  Negative permissions is a simple, and
simplistic, approach to the issue -- but it is a 'traditional' one, from
the days before extended access-control lists.


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


[SOLVED] Upgrade to 8.3 broke pam_ldap

2012-09-16 Thread Olivier Nicole
Hi,

I did it...

 After upgrading from 7.3 o 8.3 pam_ldap stopped working.
 
 LDAP server has been running on a different machine for ages, it is
 still running.
 
 Connection to the server is still there: when I enter a wrong password
 I get a distinct error message.
 
 When I enter the correct password, I get: 
 
   Sep 11 18:05:00 ufo2 login: pam_acct_mgmt(): error in service module
 
 I recompiled openldap_client, pam_ldap and nss_ldap, but not to avail.

Stupid mistake, when I upgraded I erased the modified contents of 
/etc/nss_switch.conf

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


Re: have desktop on freebsd

2012-09-16 Thread saeedeh motlagh
my video card is intel, you mean i should change my driver to intel?
could you please tell me how to do that? i change my driver type from
fbdev to vesa in xorg.conf file but it has the fbdevhw error yet. i
think i should do something else to change my driver.
please let me know if i'm making mistake and how to fix it.
thanks


On 9/16/12, Stephan Schindel s...@tp1.rub.de wrote:
 Am 16.09.2012 13:59, schrieb saeedeh motlagh:
 *hello guys,

 i installed freebsd8.2 and upgraded my portsnap.then i installed X11 and
 gnome2 and configured x11 but it does not work correctly. when i run
 startx
 command, it has the following error:

 failed to load module fbdev

 when i install fbdev from /x11-drivers/xf86-video-fbdev the other error
 occurred:
 loadmodule: module fbdevhw does not have a fbdevhwModuleData data
 object

 i try to change my driver from fbdev to vesa. in order to do that, i
 change
 the name of driver in Xorg.conf but the same error happend again.

 anybody knows how i should solve it to have desktop on my freebsd box?
 *
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org
 What video card do you have? You need to have the correct driver installed.

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

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