Re: How do you require Xorg?

2008-03-19 Thread Terry Sposato

Paul Schmehl wrote:
--On Wednesday, March 19, 2008 9:25 AM +1100 Terry Sposato 
[EMAIL PROTECTED] wrote:



Paul Schmehl wrote:

I'm working on porting the open-vm-tools, and the software builds, makes
and installs fine, but it obviously won't work without Xorg being
installed.  How do you ensure that the port doesn't get installed unless
Xorg is installed? Will USE_XORG= yes do the trick?



Paul,

I don't think it is a good idea to use this Knob as the open-vm-tools may
be useful for machines which don't have Xorg installed as well. For
example if vmotion etc. works with this set of tools then it will
definitely be handy for FreeBSD VM's which do not use Xorg.



OK.  Here's where I'm at.  I've got a basic port started.  I created an 
option for no X.  The default is no, so the port would build with X as 
the default build.  There's some problems with the kernel modules, and I 
would need help from a programmer to figure those problems out.  Really, 
someone needs to work with the open-vm-tools developers to update their 
kernel modules to work both with previous versions of FreeBSD (which 
they claim they already work with) and with version 7.0.  (So, some 
ifdefs would be needed.)


Is there enough demand for the userland tools that I should go ahead and 
submit the port without the kernel modules working?  I could create an 
option for them and mark it as not working right now.  (Obviously they 
would need to be an option working or not.)


Should I make no X the default install?

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Paul,

Awesome work with all of this, if you can put a tarball of the existing 
port you have done so I can test with it that would be great. I can do 
some testing against ESX Server to see what effects it has on Vmotion 
and HA and the like and report back.


Terry



signature.asc
Description: OpenPGP digital signature


Re: How do you require Xorg?

2008-03-19 Thread Wesley Shields
On Tue, Mar 18, 2008 at 09:42:06PM -0500, Paul Schmehl wrote:
 --On Wednesday, March 19, 2008 9:25 AM +1100 Terry Sposato 
 [EMAIL PROTECTED] wrote:
 
 Paul Schmehl wrote:
 I'm working on porting the open-vm-tools, and the software builds, makes
 and installs fine, but it obviously won't work without Xorg being
 installed.  How do you ensure that the port doesn't get installed unless
 Xorg is installed? Will USE_XORG= yes do the trick?
 
 
 Paul,
 
 I don't think it is a good idea to use this Knob as the open-vm-tools may
 be useful for machines which don't have Xorg installed as well. For
 example if vmotion etc. works with this set of tools then it will
 definitely be handy for FreeBSD VM's which do not use Xorg.
 
 
 OK.  Here's where I'm at.  I've got a basic port started.  I created an 
 option for no X.  The default is no, so the port would build with X as the 
 default build.  There's some problems with the kernel modules, and I would 
 need help from a programmer to figure those problems out.  Really, someone 
 needs to work with the open-vm-tools developers to update their kernel 
 modules to work both with previous versions of FreeBSD (which they claim 
 they already work with) and with version 7.0.  (So, some ifdefs would be 
 needed.)
 
 Is there enough demand for the userland tools that I should go ahead and 
 submit the port without the kernel modules working?  I could create an 
 option for them and mark it as not working right now.  (Obviously they 
 would need to be an option working or not.)
 
 Should I make no X the default install?

You can always make a slave port which defaults to X being on and have X
be off in the master port, if there is enough demand for that
configuration.  That way packages will be built for both.

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


Re: How do you require Xorg?

2008-03-19 Thread Paul Schmehl
--On Wednesday, March 19, 2008 18:53:39 +1100 Terry Sposato 
[EMAIL PROTECTED] wrote:


Awesome work with all of this, if you can put a tarball of the existing port
you have done so I can test with it that would be great. I can do some
testing against ESX Server to see what effects it has on Vmotion and HA and
the like and report back.



Not so fast.  Last night I discovered that, while the port compiles and builds 
just fine, the binaries it produces all core dump.  Apparently 7.0 has changed 
so drastically that major work needs to be done on the code to get the binaries 
working again.  I am not capable of doing that work.


I could submit the port for 6.0 and earlier, but I have no machines to test it 
on.  Pkg-plist isn't done.  The installation bits aren't done except for the 
libraries.  So, unless you know how to create ports yourself, what I have so 
far wouldn't do you any good at all.


I thought this was going to be fairly easy, but this software is extremely 
Linux-centric and needs an experience FreeBSD programmer to get it working in 
7.0


I'm wondering now if it might be easier to just build it under Linux emulation.

Any thoughts?

--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

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


Re: How do you require Xorg?

2008-03-19 Thread Paul Schmehl
--On Wednesday, March 19, 2008 08:10:54 -0400 Wesley Shields [EMAIL PROTECTED] 
wrote:


Should I make no X the default install?


You can always make a slave port which defaults to X being on and have X
be off in the master port, if there is enough demand for that
configuration.  That way packages will be built for both.



Thanks, Wesley, I didn't realize that using the slave port method would result 
in two packages rather than one.  Good to know.


--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

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


Re: How do you require Xorg?

2008-03-18 Thread Jeremy Messenger
On Tue, 18 Mar 2008 11:09:13 -0500, Paul Schmehl [EMAIL PROTECTED]  
wrote:


I'm working on porting the open-vm-tools, and the software builds, makes  
and installs fine, but it obviously won't work without Xorg being  
installed.  How do you ensure that the port doesn't get installed unless  
Xorg is installed? Will USE_XORG= yes do the trick?


http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/using-x11.html

Cheers,
Mezz


--
[EMAIL PROTECTED]  -  [EMAIL PROTECTED]
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  [EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do you require Xorg?

2008-03-18 Thread Mark Foster

Paul Schmehl wrote:
I'm working on porting the open-vm-tools, and the software builds, 
makes and installs fine, but it obviously won't work without Xorg 
being installed.  

The Xorg components should, if possible, be optional, IMO.
Anyway, thanks for working on this. Have you looked at the NetBSD 
implementation as reference?

http://pkgsrc.se/sysutils/open-vm-tools

--
Some days it's just not worth chewing through the restraints...
Mark D. Foster, CISSP [EMAIL PROTECTED]  http://mark.foster.cc/


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


Re: How do you require Xorg?

2008-03-18 Thread Paul Schmehl

--On Tuesday, March 18, 2008 09:27:34 -0700 Mark Foster [EMAIL PROTECTED] 
wrote:


The Xorg components should, if possible, be optional, IMO.
Anyway, thanks for working on this. Have you looked at the NetBSD
implementation as reference?
http://pkgsrc.se/sysutils/open-vm-tools


No, I had not.  Thanks for the tip.

They have a number of build depends as well as run depends.  My problem is that 
I already have Xorg 7.3 installed, so the software builds fine without 
requiring anything additional, and there's no documentation (that I can find) 
that tells you what software is required to build the package.  But it looks 
like I should add those build and run depends to the Makefile for the port, 
right?


Also, I just discovered that only one of the kernel modules builds correctly. 
The other three fail.  This is looking more complex than my meager skills can 
solve.


--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

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


Re: How do you require Xorg?

2008-03-18 Thread Paul Schmehl
--On Tuesday, March 18, 2008 13:46:27 -0400 Wesley Shields [EMAIL PROTECTED] 
wrote:



On Tue, Mar 18, 2008 at 12:10:15PM -0500, Paul Schmehl wrote:

--On Tuesday, March 18, 2008 09:27:34 -0700 Mark Foster [EMAIL PROTECTED]
wrote:


The Xorg components should, if possible, be optional, IMO.
Anyway, thanks for working on this. Have you looked at the NetBSD
implementation as reference?
http://pkgsrc.se/sysutils/open-vm-tools


No, I had not.  Thanks for the tip.

They have a number of build depends as well as run depends.  My problem is
that I already have Xorg 7.3 installed, so the software builds fine without
requiring anything additional, and there's no documentation (that I can
find) that tells you what software is required to build the package.  But
it looks like I should add those build and run depends to the Makefile for
the port, right?


I've found ports-mgmt/tinderbox to be great for doing build-testing of a
port.  Might be helpful for you also.



Thanks for the tip.

--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

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


Re: How do you require Xorg?

2008-03-18 Thread Wesley Shields
On Tue, Mar 18, 2008 at 12:10:15PM -0500, Paul Schmehl wrote:
 --On Tuesday, March 18, 2008 09:27:34 -0700 Mark Foster [EMAIL PROTECTED] 
 wrote:
 
 The Xorg components should, if possible, be optional, IMO.
 Anyway, thanks for working on this. Have you looked at the NetBSD
 implementation as reference?
 http://pkgsrc.se/sysutils/open-vm-tools
 
 No, I had not.  Thanks for the tip.
 
 They have a number of build depends as well as run depends.  My problem is 
 that I already have Xorg 7.3 installed, so the software builds fine without 
 requiring anything additional, and there's no documentation (that I can 
 find) that tells you what software is required to build the package.  But 
 it looks like I should add those build and run depends to the Makefile for 
 the port, right?

I've found ports-mgmt/tinderbox to be great for doing build-testing of a
port.  Might be helpful for you also.

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


Re: How do you require Xorg?

2008-03-18 Thread Terry Sposato

Paul Schmehl wrote:
I'm working on porting the open-vm-tools, and the software builds, makes 
and installs fine, but it obviously won't work without Xorg being 
installed.  How do you ensure that the port doesn't get installed unless 
Xorg is installed? Will USE_XORG= yes do the trick?




Paul,

I don't think it is a good idea to use this Knob as the open-vm-tools 
may be useful for machines which don't have Xorg installed as well. For 
example if vmotion etc. works with this set of tools then it will 
definitely be handy for FreeBSD VM's which do not use Xorg.


Terry



signature.asc
Description: OpenPGP digital signature


Re: How do you require Xorg?

2008-03-18 Thread Paul Schmehl
--On Wednesday, March 19, 2008 9:25 AM +1100 Terry Sposato 
[EMAIL PROTECTED] wrote:



Paul Schmehl wrote:

I'm working on porting the open-vm-tools, and the software builds, makes
and installs fine, but it obviously won't work without Xorg being
installed.  How do you ensure that the port doesn't get installed unless
Xorg is installed? Will USE_XORG= yes do the trick?



Paul,

I don't think it is a good idea to use this Knob as the open-vm-tools may
be useful for machines which don't have Xorg installed as well. For
example if vmotion etc. works with this set of tools then it will
definitely be handy for FreeBSD VM's which do not use Xorg.



OK.  Here's where I'm at.  I've got a basic port started.  I created an 
option for no X.  The default is no, so the port would build with X as the 
default build.  There's some problems with the kernel modules, and I would 
need help from a programmer to figure those problems out.  Really, someone 
needs to work with the open-vm-tools developers to update their kernel 
modules to work both with previous versions of FreeBSD (which they claim 
they already work with) and with version 7.0.  (So, some ifdefs would be 
needed.)


Is there enough demand for the userland tools that I should go ahead and 
submit the port without the kernel modules working?  I could create an 
option for them and mark it as not working right now.  (Obviously they 
would need to be an option working or not.)


Should I make no X the default install?

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

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