Re: Compiling OpenBSD source in order to get the customized 'uname' version.

2011-04-21 Thread Jan Stary
On Apr 20 19:33:06, Stefan N wrote:
 Hi All,
 
 I have a plan to do some testing to compile and build release of OpenBSD from 
 the source code.
 My question is which part of the source code do I need to modify 
 in order to get and use the my own and customized 'uname' (eg: TestBSD)?
 
 # uname -a
 TestBSD server.lab.com 1.0-RELEASE GENERIC.MP#0 amd64
 
 
 Thank you in advance.
 
 Regards,
 Stefanus

I remember seeing a source code of something for the first time.
I recognized the string constants, changed press enter to press boobs
(or whatever) and recompiled. The result was absolutely awesome.



Re: Compiling OpenBSD source in order to get the customized 'uname' version.

2011-04-21 Thread Otto Moerbeek
On Wed, Apr 20, 2011 at 07:33:06PM -0700, Stefan N wrote:

 Hi All,
 
 I have a plan to do some testing to compile and build release of OpenBSD from 
 the source code.
 My question is which part of the source code do I need to modify 
 in order to get and use the my own and customized 'uname' (eg: TestBSD)?
 
 # uname -a
 TestBSD server.lab.com 1.0-RELEASE GENERIC.MP#0 amd64
 
 
 Thank you in advance.
 
 Regards,
 Stefanus

What problem are you trying to solve? Changing the ostype will likely
cause all kind of trouble with configure scripts etc.

-Otto



Compiling OpenBSD source in order to get the customized 'uname' version.

2011-04-20 Thread Stefan N
Hi All,

I have a plan to do some testing to compile and build release of OpenBSD from 
the source code.
My question is which part of the source code do I need to modify 
in order to get and use the my own and customized 'uname' (eg: TestBSD)?

# uname -a
TestBSD server.lab.com 1.0-RELEASE GENERIC.MP#0 amd64


Thank you in advance.

Regards,
Stefanus



Re: Compiling OpenBSD source in order to get the customized 'uname' version.

2011-04-20 Thread STeve Andre'

On 04/20/11 22:33, Stefan N wrote:

Hi All,

I have a plan to do some testing to compile and build release of OpenBSD from
the source code.
My question is which part of the source code do I need to modify
in order to get and use the my own and customized 'uname' (eg: TestBSD)?

# uname -a
TestBSD server.lab.com 1.0-RELEASE GENERIC.MP#0 amd64


Thank you in advance.

Regards,
Stefanus

man myname