python now requires X11 installed

2009-05-12 Thread travis+ml-python
Hello,

I used to run all my OpenBSD servers with no X11.

Now, to build nmap, you seem to need python.  There are no FLAVORS and
so no obvious way to prevent it from requiring python.

And to build python, you need X11R6 installed.  There are no FLAVORS
as there used to be, to compile without tkinter to avoid requiring
X11R6.

Is it possible to install these without installing X11R6?  Maybe I
just don't understand the way ports work well enough.

And, why the change?
-- 
Obama Nation | My emails do not have attachments; it's a digital signature
that your mail program doesn't understand. | 
http://www.subpacefield.org/~travis/ 
If you are a spammer, please email j...@subspacefield.org to get blacklisted.


pgpZmAC7Pyq2D.pgp
Description: PGP signature


Re: python now requires X11 installed

2009-05-12 Thread travis+ml-python
On Tue, May 12, 2009 at 11:10:46PM +0200, Antoine Jacoutot wrote:
> Why don't you use packages?

I just tried, and that solved my problem.

I tried to install python from there and it worked just fine.

I liked the ports system but understand Theo's points.

I have this script which basically does a lot of post-installation
work, installing a lot of ports, doing some manual configuration, etc.

Now, I'm not quite sure how to convert it to use packages.

The problem is that it was relatively easy to "cd /usr/ports/foo/bar
&& make install clean".

If I use the packages system, I seem to have to know what version
I want to install.  This seems like it'd be really unstable, since
the versions will change from release to release.

So to convert the script to work with any release, I'd have to figure
out a way to get a listing and select the latest release from the
listing.

Is there an easy way to do this?
-- 
Obama Nation | My emails do not have attachments; it's a digital signature
that your mail program doesn't understand. | 
http://www.subpacefield.org/~travis/ 
If you are a spammer, please email j...@subspacefield.org to get blacklisted.


pgpbHqnaofZk4.pgp
Description: PGP signature


Re: python now requires X11 installed

2009-05-12 Thread travis+ml-python
Thanks all, package stemming drastically simplified my auto-installer.

It was much more fragile before, since, say, /usr/ports/mail/mutt/snapshot
might or might not be there in new releases.
-- 
Obama Nation | My emails do not have attachments; it's a digital signature
that your mail program doesn't understand. | 
http://www.subpacefield.org/~travis/ 
If you are a spammer, please email j...@subspacefield.org to get blacklisted.


pgpBPdutjidga.pgp
Description: PGP signature