Portmanager Install - Error occured reading /usr/local/etc/pkgtools.conf

2006-12-01 Thread Willem Hendriks
When i install any port with portmanager, i get the following error-message:


** Error occured reading /usr/local/etc/pkgtools.conf:
undefined method `x11base' for nil:NilClass
** Error occured reading /usr/local/etc/pkgtools.conf:
undefined method `x11base' for nil:NilClass
...


This example was outputted after: portmanager -u, but i see it with
every install. In pkgtools.conf i indeed see x11base:


...
AFTERINSTALL = {
# Re-enable the X wrapper
'x11-servers/XFree86-4-Server' => sprintf(
 'cd %s/bin && if [ -x Xwrapper-4 ]; then ln -sf Xwrapper-4 X; fi',
 x11base()),
  }
...


When i installed some port (antiword) manually by going to
/usr/ports/textproc and do a make, make install. I dont see any error
message at all. When i do a

$ portmanager textproc/antiword

The same error gets by again. My system:
FreeBSD 6.1-RELEASE with xorg installed and working correctly. dmesg output:
http://www.xs4all.nl/~whendrik/dmesg

Greetings Willem Hendriks

(This is my first mailist question, i hope my mail client settings are
correct, and my mail is proper composed)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


portmanager error: Error occured reading /usr/local/etc/pkgtools.conf

2006-12-01 Thread Willem Hendriks
When i install any port with portmanager, i get the following error-message:


** Error occured reading /usr/local/etc/pkgtools.conf:
undefined method `x11base' for nil:NilClass
** Error occured reading /usr/local/etc/pkgtools.conf:
undefined method `x11base' for nil:NilClass
...


This example was outputted after: portmanager -u, but i see it with
every install. In pkgtools.conf i indeed see x11base:


...
AFTERINSTALL = {
# Re-enable the X wrapper
'x11-servers/XFree86-4-Server' => sprintf(
 'cd %s/bin && if [ -x Xwrapper-4 ]; then ln -sf Xwrapper-4 X; fi',
 x11base()),
  }
...


When i installed some port (antiword) manually by going to
/usr/ports/textproc and do a make, make install. I dont see any error
message at all. When i do a

$ portmanager textproc/antiword

The same error gets by again. My system:
FreeBSD 6.1-RELEASE with xorg installed and working correctly. dmesg output:
http://www.xs4all.nl/~whendrik/dmesg

Greetings Willem Hendriks

(This is my first mailist question, i hope my mail client settings are
correct, and my mail is proper composed)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portmanager error: Error occurred reading /usr/local/etc/pkgtools.conf - SOLVED

2006-12-01 Thread Willem Hendriks
Gerard wrote:
> On Friday December 01, 2006 at 07:18:16 (AM) Willem Hendriks wrote:
> 
> 
>> When i install any port with portmanager, i get the following error-message:
>>
>> 
>> ** Error occured reading /usr/local/etc/pkgtools.conf:
>> undefined method `x11base' for nil:NilClass
>> ** Error occured reading /usr/local/etc/pkgtools.conf:
>> undefined method `x11base' for nil:NilClass
>> ...
>> 
>>
>> This example was outputted after: portmanager -u, but i see it with
>> every install. In pkgtools.conf i indeed see x11base:
>>
>> 
>> ...
>> AFTERINSTALL = {
>> # Re-enable the X wrapper
>> 'x11-servers/XFree86-4-Server' => sprintf(
>>  'cd %s/bin && if [ -x Xwrapper-4 ]; then ln -sf Xwrapper-4 X; fi',
>>  x11base()),
>>   }
>> ...
>> 
>>
>> When i installed some port (antiword) manually by going to
>> /usr/ports/textproc and do a make, make install. I dont see any error
>> message at all. When i do a
>>
>> $ portmanager textproc/antiword
>>
>> The same error gets by again. My system:
>> FreeBSD 6.1-RELEASE with xorg installed and working correctly. dmesg output:
>> http://www.xs4all.nl/~whendrik/dmesg
> 
> I use 'portmanager' all the time; however, I do not avail myself of the
> pkgtool.conf file, preferring to use the pm-020.conf file instead.
> 
> Are you sure about the syntax of the pkgtools.conf file? Obviously the
> problem lies there. You could just try commenting out that section, or
> just renaming the file entirely -- portmanager will then ignore it --
> and try rebuilding the port again.
> 
> 

The files is a standard file which i didn't touched. I did not knew the
small importantce of those lines, i commented them out and no more error
message..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


PaX in FreeBSD like grsecurity and OpenBSD

2006-12-02 Thread Willem Hendriks
OpenBSD has:

Memory protection purify
 * W^X
 * .rodata segment
 * Guard pages
 * Randomized malloc()
 * Randomized mmap()
 * atexit() and stdio protection

In grsecurity there is PaX:

http://pax.grsecurity.net/

Can these features really prevent some exploits?

I tried to search equivalants in FreeBSD.

Greetings Willem Hendriks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Character 208 acts strangs in console, when moving mouse

2007-12-04 Thread Willem Hendriks
When i display character 208 in my console and move my mouse, i see the 
strangest things. 
FreeBSD 6.2-RELEASE-p8, with default screenmap and console settings.

http://www.xs4all.nl/~whendrik/download/mouse

wget and cat that file in a console to see the effect.

I tried it on my laptop and desktop PC with same kernel. Anyone else experience 
this problem/effect? I think it should be a pi character upside down, mostly 
used to draw tables in combination with other characters...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


When switching from console to X, mousebuffer gets pasted

2007-12-05 Thread Willem Hendriks
When i switch from my console to xorg (alt-F9) my mousebuffer gets automaticly 
pasted. (xorg)

For instance: I open an xterm, type some text and select it. When i do a switch 
to a console, and get back to my X with Alt-F9, the text is automaticly pasted 
into my xterm. As if i pressed the mouse3-butten. 

X.Org X Server 1.4.0
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 6.2-RELEASE-p8 i386

gr Willem Hendriks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: When switching from console to X, mousebuffer gets pasted

2007-12-07 Thread Willem Hendriks
On Wed, Dec 05, 2007 at 10:10:58PM +, Benjamin M. A'Lee wrote:
> On Wed, Dec 05, 2007 at 04:52:23PM -0500, Robert Huff wrote:
> > cpghost writes:
> > 
> > >  > For instance: I open an xterm, type some text and select it. When i
> > >  > do a switch to a console, and get back to my X with Alt-F9, the text
> > >  > is automaticly pasted into my xterm. As if i pressed the
> > >  > mouse3-butten. 
> > >  > 
> > >  > X.Org X Server 1.4.0
> > >  > Release Date: 5 September 2007
> > >  > X Protocol Version 11, Revision 0
> > >  > Build Operating System: FreeBSD 6.2-RELEASE-p8 i386
> > >  
> > >  I've noticed this too but thought I had misconfigured something
> > >  or that it was related to sysutils/screen from where I was
> > >  switching back to X. Glad to see that others are affected by this
> > >  as well; so it's really a bug.
> > 
> > I think I'm getting bit by this as well, on:
> > 
> > X.Org X Server 1.4.0
> > Release Date: 5 September 2007
> > X Protocol Version 11, Revision 0
> > Build Operating System: FreeBSD 7.0-CURRENT i386
> 
> I'm seeing this on Debian GNU/Linux, with the same version of X, so it's
> not a FreeBSD issue.
> 
>   Ben

Xorg related. It has been already reported to bugzilla:

https://bugs.freedesktop.org/show_bug.cgi?id=13144

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fortune

2008-01-08 Thread Willem Hendriks
> Is there a port for the game fortune? I recently installed 6.2 AMD64
> and I can't find it when I do a 'pkg_add -rv fortune' or 'pkg_add -rv
> fortune-mod'
> 
> The ones I find I am not interested in; such as:
> zh-fortunetw-1.3
> wmfortune-0.241_2
> fortune-mod-bible-1.0_1
> fortune-mod-bofh-2.0_3
> fortune-mod-culmea-culmilor-2005.12.15
> fortune-mod-ferengi_rules_of_acquisition-2006.01.26
> fortune-mod-futurama-0.2_3
> fortune-mod-the-godfather-2.0
> fortuneit-1.99
> pl-fortunepl-0.0.20051022
> ru-fortune-bashorgru-20070808
> ru-fortuneru-0.9
> fortunelock-0.1.2
> e17-splash-fortune-1.1_1
> 
> Am I missing something?
> 
> Thanks for your help.

You could get the latest sources with svcup, and do a make, make install in
/usr/src/games/fortune

Willem Hendriks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fortune

2008-01-08 Thread Willem Hendriks
On Tue, Jan 08, 2008 at 04:27:10PM -0500, Jerry McAllister wrote:
> On Tue, Jan 08, 2008 at 09:44:40PM +0100, Willem Hendriks wrote:
> 
> > > Is there a port for the game fortune? I recently installed 6.2 AMD64
> > > and I can't find it when I do a 'pkg_add -rv fortune' or 'pkg_add -rv
> > > fortune-mod'
> > > 
> > > The ones I find I am not interested in; such as:
> > > zh-fortunetw-1.3
> > > wmfortune-0.241_2
> > > fortune-mod-bible-1.0_1
> > > fortune-mod-bofh-2.0_3
> > > fortune-mod-culmea-culmilor-2005.12.15
> > > fortune-mod-ferengi_rules_of_acquisition-2006.01.26
> > > fortune-mod-futurama-0.2_3
> > > fortune-mod-the-godfather-2.0
> > > fortuneit-1.99
> > > pl-fortunepl-0.0.20051022
> > > ru-fortune-bashorgru-20070808
> > > ru-fortuneru-0.9
> > > fortunelock-0.1.2
> > > e17-splash-fortune-1.1_1
> > > 
> > > Am I missing something?
> > > 
> > > Thanks for your help.
> > 
> > You could get the latest sources with svcup, and do a make, make install in
> ^
> > /usr/src/games/fortune
> 
> Is that a new one on me or do you mean 'cvsup'  -- which has been
> replaced with  'csup'?
> 
> That would be the recommended way to update your ports tree.
> 
> You want to use the directive:
>   ports-all tag=.
> in your supfile to pull in the latest ports tree - which is the only one
> since it is not branched like the main OS.
> 
> Actually, you should to a full update of the OS and ports tree
> at the same time and then build and install all the system before
> installing the ports.It doesn't actually take very long any
> more on recently built 1,000+ MHz hardware which is so much faster 
> than in the good old days of 80 MHz CPUs.
> 
> jerry  
>

cvsup, sorry typo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"