Re: OpenBSD 4.3 arrived to Chile

2008-05-06 Thread Gerardo Santana Gómez Garrido
On Tue, May 6, 2008 at 1:21 PM, Jorge Medina [EMAIL PROTECTED] wrote:
 Hi Guy's.
  My copy of OpenBSD arrived yesterday and it's in my hands.

  Thanks

But how long did it take to travel that far?

It takes one _month_ to arrive to Mexico, and it's one country - ok, a
big one - away from Canada :-\

-- 
Gerardo Santana



Re: Window Manager

2008-05-05 Thread Gerardo Santana Gómez Garrido
On Mon, May 5, 2008 at 6:55 PM, Gonzalo Lionel Rodriguez
[EMAIL PROTECTED] wrote:
 if fvwm (default) had a traybar (and taskbar) for programs like pidgin or
  aMSN, that4s be great.

if you don't like fvwm (it's certainly ugly) you can try the options
mentioned. I prefer KDE.

By the way, there's a mailing list about OpenBSD for Spanish speakers here:

http://groups.google.com/group/OpenBSD-Mexico

-- 
Gerardo Santana



Problems building bison on OpenBSD 4.3

2008-03-25 Thread Gerardo Santana Gómez Garrido
I'm running OpenBSD 4.3-stable on i386. Ports are 4.3-stable too.
I tried to build bison and got the following error. Any ideas?

--- 8 ---
Making all in examples
Making all in calc++
make  all-am
if c++ -DHAVE_CONFIG_H -I. -I. -I../..-I/usr/local/include  -O2
-pipe -MT calc++-scanner.o -MD -MP -MF .deps/calc++-scanner.Tpo -c
-o calc++-scanner.o calc++-scanner.cc;  then mv -f
.deps/calc++-scanner.Tpo .deps/calc++-scanner.Po; else rm -f
.deps/calc++-scanner.Tpo; exit 1; fi
In file included from ./calc++-scanner.ll:2:
/usr/include/g++/cstdlib:49:28: bits/c++config.h: No such file or directory
In file included from ./calc++-scanner.ll:5:
/usr/include/g++/string:45:28: bits/c++config.h: No such file or directory
In file included from /usr/include/g++/string:46,
 from ./calc++-scanner.ll:5:
/usr/include/g++/bits/stringfwd.h:44:28: bits/c++config.h: No such
file or directory
In file included from /usr/include/g++/bits/char_traits.h:46,
 from /usr/include/g++/string:47,
 from ./calc++-scanner.ll:5:
/usr/include/g++/bits/fpos.h:44:24: bits/c++io.h: No such file or directory
In file included from /usr/include/g++/bits/fpos.h:45,
 from /usr/include/g++/bits/char_traits.h:46,
 from /usr/include/g++/string:47,
 from ./calc++-scanner.ll:5:
/usr/include/g++/cwchar:49:28: bits/c++config.h: No such file or directory
In file included from /usr/include/g++/bits/fpos.h:45,
 from /usr/include/g++/bits/char_traits.h:46,
 from /usr/include/g++/string:47,
 from ./calc++-scanner.ll:5:
/usr/include/g++/cwchar:65: error: conflicting types for `typedef struct
   mbstate_t mbstate_t'
/usr/include/stddef.h:64: error: previous declaration as `typedef union
   __mbstate_t mbstate_t'
In file included from /usr/include/g++/bits/char_traits.h:46,
 from /usr/include/g++/string:47,
 from ./calc++-scanner.ll:5:
/usr/include/g++/bits/fpos.h:63: error: 'streamoff' is used as a type, but is
   not defined as a type.
/usr/include/g++/bits/fpos.h:77: error: syntax error before `__off'
/usr/include/g++/bits/fpos.h:78: error: missing ';' before right brace
/usr/include/g++/bits/fpos.h:80: error: semicolon missing after declaration of
   `std::fpos_StateT'
/usr/include/g++/bits/fpos.h: In constructor `std::fpos_StateT::fpos()':
/usr/include/g++/bits/fpos.h:75: error: class `std::fpos_StateT' does not
   have any field named `_M_off'
/usr/include/g++/bits/fpos.h: At global scope:
/usr/include/g++/bits/fpos.h:80: error: syntax error before `(' token
/usr/include/g++/bits/fpos.h:80: error: ISO C++ forbids defining types within
   return type
/usr/include/g++/bits/fpos.h:80: error: non-member function `std::fpos_StateT
   std::invalid operator()' cannot have `const' method qualifier
/usr/include/g++/bits/fpos.h:80: error: semicolon missing after declaration of
   `class std::fpos_StateT'
/usr/include/g++/bits/fpos.h:82: error: syntax error before `' token
In file included from /usr/include/g++/bits/char_traits.h:46,
 from /usr/include/g++/string:47,
 from ./calc++-scanner.ll:5:
/usr/include/g++/bits/fpos.h:39:1: unterminated #ifndef
In file included from /usr/include/g++/string:47,
 from ./calc++-scanner.ll:5:
/usr/include/g++/bits/char_traits.h:40:1: unterminated #ifndef
In file included from ./calc++-scanner.ll:5:
/usr/include/g++/string:40:1: unterminated #ifndef
*** Error code 1

Stop in /usr/ports/devel/bison/w-bison-2.1p0/bison-2.1/examples/calc++
(line 104 of /usr/share/mk/sys.mk).
*** Error code 1

Stop in /usr/ports/devel/bison/w-bison-2.1p0/bison-2.1/examples/calc++
(line 246 of Makefile).
*** Error code 1

Stop in /usr/ports/devel/bison/w-bison-2.1p0/bison-2.1/examples (line
274 of Makefile).
*** Error code 1

Stop in /usr/ports/devel/bison/w-bison-2.1p0/bison-2.1 (line 344 of Makefile).
*** Error code 1

Stop in /usr/ports/devel/bison/w-bison-2.1p0/bison-2.1 (line 243 of Makefile).
*** Error code 1

Stop in /usr/ports/devel/bison (line 2092 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/bison (line 1392 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/bison (line 1890 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/bison (line 1422 of
/usr/ports/infrastructure/mk/bsd.port.mk).
--- 8 ---


-- 
Gerardo Santana



Re: Problems building bison on OpenBSD 4.3

2008-03-25 Thread Gerardo Santana Gómez Garrido
On 3/25/08, Matthias Kilian [EMAIL PROTECTED] wrote:
 On Tue, Mar 25, 2008 at 02:28:07PM -0600, Gerardo Santana Gsmez Garrido
wrote:
   I'm running OpenBSD 4.3-stable on i386. Ports are 4.3-stable too.


 How? It's not even released.


Building it from source.

--
Gerardo Santana



Re: Problems building bison on OpenBSD 4.3

2008-03-25 Thread Gerardo Santana Gómez Garrido
On 3/25/08, Marc Espie [EMAIL PROTECTED] wrote:
 On Tue, Mar 25, 2008 at 02:51:27PM -0600, Gerardo Santana Gsmez Garrido
wrote:
   On 3/25/08, Matthias Kilian [EMAIL PROTECTED] wrote:

   On Tue, Mar 25, 2008 at 02:28:07PM -0600, Gerardo Santana Gsmez Garrido

  wrote:
  I'm running OpenBSD 4.3-stable on i386. Ports are 4.3-stable too.
   
   
How? It's not even released.
  
  
   Building it from source.


 You managed to fuck up the build order, somehow. Your c++ compiler can't
  find its headers.

  You probably want to move /usr/include  out of the way and regenerate it
  correctly.


Thank you Marc. That fixed the problem

--
Gerardo Santana



Re: [OT] Pursuing Management to adopt OpenBSD

2008-03-20 Thread Gerardo Santana Gómez Garrido
On 3/20/08, Chris [EMAIL PROTECTED] wrote:
 I been trying (rather unsuccessfully) to convince various clients and
  employers to adopt OpenBSD. Most people, I find, are resistent to
  change and would not use anything they are not familiar with. Others
  would say that if I leave the job, it would be hard to find people who
  can use (or even heard of) OpenBSD and in some places Management never
  heard of OpenBSD and have very little clue as to how good or bad it is
  compared to Linux/ Solaris and Windows thus they will just knock off
  the proposal in 2 seconds.

  Is there any way I could convince these people to make the move to
  OpenBSD? Suggestions, tips and tricks along with real life examples
  would be much appreciated. Thanks.

Managers are all alike. Their priority is to save their asses, to have
someone to blame in case of problems. That's why they spend a lot of
money in big contracts with Big Companies and don't like to take any
risk with software that doesn't have commercial support.

I've been lucky, because wherever I have gone, the network is a mess.
That gives me the justification to fix the problem with that
wonderful, security-oriented and free tool called OpenBSD.

After that, I've documented every maintenance task. That way your
manager can be confident that, when a truck hits you, anyone can get
the documentation and keep maintaining the thing.

-- 
Gerardo Santana



Re: [OT] Pursuing Management to adopt OpenBSD

2008-03-20 Thread Gerardo Santana Gómez Garrido
On 3/20/08, Gerardo Santana Gsmez Garrido [EMAIL PROTECTED] wrote:
  After that, I've documented every maintenance task. That way your
  manager can be confident that, when a truck hits you, anyone can get
  the documentation and keep maintaining the thing.

Anyone with a Unix/Unix-like background, of course. The documentation
should be dumbed down enough to find it easy to follow for these guys,
which is not very difficult, given OpenBSD ease of use.


--
Gerardo Santana



Re: [OFFTOPIC] Naming convention for programs

2008-03-10 Thread Gerardo Santana Gómez Garrido
Thank you guys for your ideas. I'll give them a second thought before deciding.

Regards,

-- 
Gerardo Santana



[OFFTOPIC] Naming convention for programs

2008-03-07 Thread Gerardo Santana Gómez Garrido
We're writing a set of tools at work and I'm thinking of establishing
a naming convention to enforce, before we get more programs deployed.

I was thinking of verb-subject, or verb_subject, or viceversa.

As always, I looked at OpenBSD for inspiration, and found

pkg_*
ssh-*
rpc.*

where the prefix is actually a sort of name space. And

user*
group*
skey*

no separator between subject and verb.

Based on your experiences, and ignoring for a moment the historical
reason, which naming convention would you use and why.

--
Gerardo Santana



Re: Linus about C++

2007-12-28 Thread Gerardo Santana Gómez Garrido
On 12/28/07, Marc Espie [EMAIL PROTECTED] wrote:
 - python or perl, which work just fine... perl has about the same set of
 defects as C++ (except for speed and reflection). python is probably about
 the same, I don't use it enough to comment.

or Ruby (of Smalltalk heritage), which I suppose you haven't used
enough to comment. It is said to be more OO than Python and Perl.

-- 
Gerardo Santana



Re: OpenBSD kernel janitors

2007-11-03 Thread Gerardo Santana Gómez Garrido
2007/11/3, Darren Spruell [EMAIL PROTECTED]:
 On Nov 3, 2007 4:29 AM, Karel Kulhavy [EMAIL PROTECTED] wrote:
   They write code, then they submit it, it does not suck too much and they
   take the suggestions of the current project leads. Then they resubmit
   better code.
  
   The rest of us should simply buy CD's, ask and answer the occasional
 
  Buy CD's until you get into the situation I got into with Vim Vandeputte
  - ordered a hoodie as a xmas present, he said he can ship it until xmas,
  and the first reply was after xmas.
 
  Take this, add the name calling and unfriendly atmosphere on the mailing 
  list
  and you have an explanation why the OpenBSD isn't more popular than is
  - because there are factors that motivate people away from OpenBSD.
 
  More popular OpenBSD means more people sending donations.

 Your first problem is that you think this is some kind of popularity
 contest. It isn't. No one cares as much that openbsd adoption
 increases as they do about it being a good system. No one ever has.
 That's why no one will be sad when I call you a tool. Tool.

 You are the latest (again and again) in a long string of whiners. If
 you can't tell from the general tones of the responses you've gotten,
 your drivel bores people. Your whining doesn't contribute to anything
 useful, so you're not going to get anywhere with it. You're really
 just a bona fide troll.

 DS



Can we stop the thread here please? You are not contributing anything
positive to the discussion.

And anybody else that doesn't have anything positive to add to this
and any other thread please refrain from posting.

Developers can say whatever they want, OpenBSD is their project.
Actually, it's Theo's project.

But everybody else please stop the insanity. Nobody is whining or
trolling here. Except those that insist in calling names and posing as
mean. Probably because they think it's cool to be mean in the OpenBSD
mailing list.

Guess what. You only look stupid.

Just because developers pose as mean doesn't grant you any right to do
so. It doesn't mean it's right either.

Instead of replying and replying, and bashing the newcomers, could you
please SHUT UP! and hack?. There would be no long whining and trolling
threads if everybody thought before hitting reply and preferably
ignored the supposedly trolls' and whiners' posts.

To Karel and the rest asking legitimate questions, don't take offense.
Developers can't invest time in teaching, or writing roadmaps, or todo
lists. Period.

Stop arguing or giving ideas. Nobody is listening.

And don't even think of taking offense from the rest. Sadly, those
mean posts are the result of a trend that started some years ago,
from the newcomers by the way.



P.S. Sorry Darren for directing it to you. Nothing personal! ;-) You
just happened to be the last poster.
-- 
Gerardo Santana



OpenBSD CD sets arriving to Mexico

2007-10-30 Thread Gerardo Santana Gómez Garrido
I ordered it on September 18th and I got them today, October 30th (for
those paisanos that want to know how long it takes.)

I'm already running OpenBSD 4.2 of course from some time ago, but
didn't want to miss the opportunity to get my DVD case and stickers to
show off to my co-workers.

Actually I bought two sets because I'm giving one to a client.
Everyone of them gets an original CD set.

A note for the maintainer of www.openbsd.org/orders.html: e-compugraf
doesn't seem to sell OpenBSD in Mexico any more. I had to order it
directly to Canada.

I'm just waiting for my polo t-shirt that surprisingly didn't arrive
along with my CD sets (and I say surprisingly because wrapping the CD
sets with the t-shirt makes sense; shipping it separately and making
me pay for that doesn't.)


P.S. Hey, only one sticker??
-- 
Gerardo Santana



Re: OpenBSD CD sets arriving to Mexico

2007-10-30 Thread Gerardo Santana Gómez Garrido
2007/10/30, Antti Harri [EMAIL PROTECTED]:

 On Tue, 30 Oct 2007, Gerardo Santana Gsmez Garrido wrote:

  P.S. Hey, only one sticker??

 One? I have big puffy, OpenBSD and OpenSSH
 stickers.

Certainly. I realized my mistake after sending the message.

A mug* and a keychain is all I need now to be happy.


* Yes, I've read those discussions.

--
Gerardo Santana



Re: OpenBSD kernel janitors

2007-10-30 Thread Gerardo Santana Gómez Garrido
2007/10/30, Miod Vallat [EMAIL PROTECTED]:
  Is there a list similar to Linux kernel janitors also for OpenBSD? It's a 
  list
  of tasks for which you don't have to be experienced in the particular OS
  internals to be able to complete them properly.

 No, there isn't.

 There are, however, two de-facto janitors for the OpenBSD kernels:
 martin@ and I. Those janitors, however, are experienced developers.

 Quite frankly, the idea of the janitor being a rookie scares the hell
 out of me. How can you trust people if these people admittedly do not
 know what they are doing, or why they are doing things one way and not
 another?

 That said, I have a huge todolist, as a brain dump in text format. A
 good quarter of it are simple tasks, which one may consider janitor
 level.

 I am even considering posting it to tech@ on a rainy day with a bit more
 details.

 I am adamant I'll find volunteers to work on the various items.

 But in order to be able to trust their work, I'll need to share
 knowledge and make sure these people are smart and bold enough to
 understand what they are doing.

 This is not a problem, per se. The problem is - as usual - time. There
 are items on my list I don't have time to do, which would take me N
 hours.

 If I need to talk to someone and ``hold his/her hand'' and guide
 him/her for 4*N hours, I've lost even more time.

 I am not reluctant to share my experience. I just don't have enough time
 to do this, and I can not guarantee I'll be able to devote those 4*N
 hours to someone to help him/her get started and work on nice things.

 That's a waste, because these janitoring tasks make you learn a lot of
 things in no time.

 But I don't want to betray the trust of people willing to help, as long
 as I am able to help them get started until they can fly by themselves,
 by not being there enough time in the beginning.

 Working on the kernel is not something you can do with a ``1 hour every
 week or every month'' rate. You need to dive for a longer time,
 especially at the beginning, because there are many things to get
 acquainted with. That's when you need as much support as possible. And
 that's the kind of support I, as an individual, can not provide.

 Miod

I had a similar problem at work.

After investing a lot of time training a new engineer to accomplish
[database, servers, network] administration tasks, taking his/her
hand, guiding him/her through the steps I want him/her to make things
the-way-I-want-it... they leave.

And I have to start all over again with the next engineer. I was tired of that.

The last time, I made her write the documentation in Docbook,
foolproof guides, for the next engineer. Problem solved, more or less.

Marc Espie is so good at that for example. Anybody with basic skills
and enough interest can port software to OpenBSD.

My point is that maybe instead of tutoring a person, time is better
used writing documentation or guidelines about where to start, what
steps to follow and how to do things the-way-you-want. These documents
will reach more people and have more impact than tutoring someone.

I would bring art@ to the discussion too, who has been reluctant to
tutoring people but that has a lot of knowledge that would be a pitty
that he gets hit by a truck before sharing some! ;-)

Or probably the documentation of the kernel itself as a project would
help. [Recalling...] which was Espie's idea sometime ago. Well Karel,
you may start with this.

Just my 20 centavos.

-- 
Gerardo Santana



Re: OpenBSd or HP-UX?

2007-08-29 Thread Gerardo Santana Gómez Garrido
2007/8/29, Joachim Schipper [EMAIL PROTECTED]:
 On Tue, Aug 28, 2007 at 09:45:01PM +0200, Marc Balmer wrote:
  Joachim Schipper wrote:
  P.S. One more issue: you *do* realize that getting OpenBSD to
  authenticate against LDAP is not entirely trivial, right? This might be
  a serious problem if the LDAP system is to handle network-wide logins...
 
  OpenBSD can not authenticat against an LDAP server.  Well, stricly speaking
  it can, but you have duplicate all accounts on OpenBSD.  So realistically
  it can't.

 Yes, that's what I meant. Sorry for being so oblique, but I presumed the
 original poster was aware of this issue.

 Mind you, duplicating all accounts on OpenBSD isn't actually impossible
 in almost all sane circumstances - it's just that you lose most of the
 benefits of LDAP.

 Joachim

I haven't setup an LDAP server on OpenBSD yet but I'm thinking of it.
I was surprised with your message. Isn't using sysutils/login_ldap and
configuring it in /etc/login.conf enough for authenticating OpenBSD
users against an LDAP server? Why do you have to duplicate accounts?

Thanks

-- 
Gerardo Santana



Re: binpatch, was: moving kernels...

2007-01-08 Thread Gerardo Santana Gómez Garrido

If anybody is interested, a mailing list has been opened to follow the
discussion on and contributions to binpatch:

https://lists.sourceforge.net/lists/listinfo/openbsdbinpatch-misc

--
Gerardo Santana



Re: binpatch, was: moving kernels...

2007-01-06 Thread Gerardo Santana Gómez Garrido

2007/1/6, Ingo Schwarze [EMAIL PROTECTED]:

Marcos Laufer wrote on Sat, Jan 06, 2007 at 11:03:10AM -0300:
 From: Tasmanian Devil [EMAIL PROTECTED]

 http://openbsdbinpatch.sourceforge.net/ :-)

 Wow, that openbsdbinpatch looks pretty good! I 've just downloaded it
 and the idea of making binary patches in order to easily copy them to
 other similar machines is excellent.

Indeed it is a simple and powerful idea, and the code is not too
difficult to understand.  It worked for me when i used it.

Yet, be careful.  Binpatch is *definitely* unsupported by the
OpenBSD project.  The standard way to do the task is release(8).
What is more, Binpatch is essentially unsupported by its author,
too.  Neither Gerardo nor me take the time to update it regularly,
nowadays.

More than a year ago, i checked and edited the Makefile, made it
easier to understand, easier to maintain, shorter and more robust.
Several of my suggestions were incorporated by Gerardo into the
Sourceforge 1.0.0 release, but not all - mostly because i sent those
changes in more than one batch, and he found no time to process
the last of these batches.  I did not pursue the subject rigourously
enough to get commit access to the SF repository myself.

So if you use it, you will probably need to do maintenance work
yourself, first of all adapting it to OpenBSD 4.0.

 It would be great if openbsdbinpatch could be configured like
 TEPATCHE specifying the folder where to get the patches from,
 instead of specifiyng patch by patch in the Makefile, so it
 could be used to patch any OpenBSD version, not just the last
 one.
 Perhaps someone with some programming skills could do it.

Maybe i shall come back to the project, maybe not.
Currently, it is not near the top of my priority list.




Hello there,

First of all, thanks for the kind words.

Let me clarify some things:

binpatch is mainly bsd.binpatch.mk. That's all.
There's an 'include' target that I haven't yet implemented but which
is trivial to do. Some people have already sent me a patch for it.

Makefile is supposed to be maintained by you, adding new patches as
they are announced.

Some time ago I suggested to use a kind of XML feed for errata such
that it would be easy to retrieve it and generate/modify a Makefile
from it. It was almost ignored back then.

What do you think now?

We can always parse errata.html (I think that's what tepatche does)
but it is not ellegant nor we can trust that it will always work.
Developers are not precisely HTML gurus and  are not so correctness
driven coding HTML than they are coding C.

--
Gerardo Santana
http://santanatechnotes.blogspot.com/



Re: ksh: cannot fork - try again ??

2006-04-14 Thread Gerardo Santana Gómez Garrido
2006/4/14, Jacob Yocom-Piatt [EMAIL PROTECTED]:
 since i've started doing C programming on my openbsd-3.8 release machine, i've
 had a problem with running processes. sometimes i get the following message 
 when
 trying to issue shell commands:

 ksh: cannot fork - try again

 looking at my ulimit output, i see the following:

 $ ulimit -a
 time(cpu-seconds)unlimited
 file(blocks) unlimited
 coredump(blocks) unlimited
 data(kbytes) 524288
 stack(kbytes)4096
 lockedmem(kbytes)316622
 memory(kbytes)   945236
 nofiles(descriptors) 128
 processes128

 should i change my login class settings in /etc/login.conf, or is sufficient 
 to
 change them with $ ulimit -n 128, etc.? i'm not sure what's going on here, 
 so
 any advice is appreciated.

 this is my desktop machine and i have a lot of stuff open concurrently on it.

Hhmmm... is it KDE?, it may use many file descriptors, specially while
browsing with Konqueror.



 cheers,
 jake




--
Gerardo Santana
Between individuals, as between nations, respect for the rights of
others is peace - Don Benito Juarez
http://santanatechnotes.blogspot.com/



Re: anoncvs prompts for password

2006-01-15 Thread Gerardo Santana Gómez Garrido
2006/1/15, Ramiro Aceves [EMAIL PROTECTED]:
 Two days later, I wanted to cvs up the souce from my OpenBSD box, and
 was stuck at the cvs prompt, when It asks me for a password:
 Script started on Sun Jan 15 11:20:34 2006
 # cd /usr
 # export CVSROOT=[EMAIL PROTECTED]:/cvs
 # cvs up -Pd
 [EMAIL PROTECTED]'s password:
 Permission denied, please try again.
 [EMAIL PROTECTED]'s password: cvs [update aborted]: received
 interr
 
 # exit
 
 Script done on Sun Jan 15 11:21:28 2006
 
 I have searched in the FAQ with no clues.
 
 Thanks in advance for your help
 
 Ramiro
 
 
 


 I have investigated it further, and:

 When yesterday I tried another mirror, changing CVROOT env variable, I
 asumed that cvs up -Pd will pick the new mirror. But it picks instead
 the mirror that is on the /usr/src/CVS directory, so in order to use the
 new mirror, I needed to use the -d$CVROOT parameter.

Alternatively you can change CVS/Root in each directory:

find . -name Root -exec perl -i -pe
's,.*,[EMAIL PROTECTED]:/cvs,' {} \;

--
Gerardo Santana
Between individuals, as between nations, respect for the rights of
others is peace - Don Benito Juarez
http://santanatechnotes.blogspot.com/



Re: anoncvs prompts for password

2006-01-15 Thread Gerardo Santana Gómez Garrido
2006/1/15, Ramiro Aceves [EMAIL PROTECTED]:
 
 When yesterday I tried another mirror, changing CVROOT env variable, I
 asumed that cvs up -Pd will pick the new mirror. But it picks instead
 the mirror that is on the /usr/src/CVS directory, so in order to use the
 new mirror, I needed to use the -d$CVROOT parameter.
 
 
  Alternatively you can change CVS/Root in each directory:
 
  find . -name Root -exec perl -i -pe
  's,.*,[EMAIL PROTECTED]:/cvs,' {} \;
 
  --

 Thank you Gerardo for the tip!

I'm not happy with spawning perl each time a file is found, though.
That looks more like a job for sed, not perl.

I recalled there was a patch for sed to add in-place editing and
wondered what happened to it. I thought it was commited.

I just found the thread:

http://marc.theaimsgroup.com/?l=openbsd-techm=112831218022633w=2

I hope it can be reconsidered.

--
Gerardo Santana
Between individuals, as between nations, respect for the rights of
others is peace - Don Benito Juarez
http://santanatechnotes.blogspot.com/



Re: errata 001_perl.patch

2006-01-12 Thread Gerardo Santana Gómez Garrido
2006/1/12, Joerg Streckfuss [EMAIL PROTECTED]:
 hi list.

 last night i patched my openbsd-3.8
 soekris-box. Everything went fine.
 I've got another box for firewalling with
 512MB-flash standard setup, but without any
 compiler-suite installed. Of course i want to patch this
 box as soon as possible. shoud i copy the complete
 perl-files to this box? or is there a smarter way
 to have an upgraded system?


http://binpatch.openbsd.org.mx/

*if* you trust me.

--
Gerardo Santana
Between individuals, as between nations, respect for the rights of
others is peace - Don Benito Juarez
http://santanatechnotes.blogspot.com/



Re: Ruby queries

2005-12-18 Thread Gerardo Santana Gómez Garrido
2005/12/17, Edd Barrett [EMAIL PROTECTED]:
 Hello misc@openbsd.org,

 I have been tinkering with ruby on OpenBSD recently, and I have come across
 the following troubles, which I have researched on google and marc, but no
 cigar:

 a) I have been unable to configure mod_ruby. First if all I jumped in and
 added a LoadModule line and also an AddType line to my httpd.conf, and hoped
 it would work. It didnt.  Secondly I constulted the mod_ruby webpage, which
 offers a more complicated solution, which also didnt work. Then I stumbled
 across mod_ruby-enable in the packing list, which pretty much does what I
 did in the first case, but copies the .so to another dir (is this
 neccessary? Unaccounted for files are not good). So my basic question is how
 do you set up mod_ruby, and could it be documented someplace?


This may not be your case but if you want to use Rails I suggest you
to try lighttpd + fastcgi, it is recommended over mod_ruby.



 b) Which pkg holds tcltklib? If I try to run any program that requires tk,
 then I get an error like this:
 /usr/local/lib/ruby/1.8/tk.rb:7:in `require': No such file to load --
 tcltklib

 I have tcl, tk, tcllib installed.

Ruby is not asking for a Tcl or Tk library, but for the ruby interface
to these libraries named tcltklib.

You probably need to build it yourself from sources; it is located
under ext/tcltklib.

--
Gerardo Santana
Between individuals, as between nations, respect for the rights of
others is peace - Don Benito Juarez
http://santanatechnotes.blogspot.com/



Re: OpenBSD website Design.

2005-09-11 Thread Gerardo Santana Gómez Garrido
2005/9/7, Siju George [EMAIL PROTECTED]:
 Hi,
 
 One of my friends sent me this new OpenBSD website design he created.
 Please have a look at it :-D
 
 http://mayuresh.freeshell.org/openbsd/
 
 Thankyou so much
 
 Kind Regards
 
 Siju

By the way, it's a nice design indeed. Clean and usable. I'm thinking
of borrowing some ideas from it :)

-- 
Gerardo Santana
Between individuals, as between nations, respect for the rights of
others is peace - Don Benito Juarez



Writing errataXX.html easier and providing a kind of RSS feed of vulnerabilities at the same time

2005-08-27 Thread Gerardo Santana Gómez Garrido
What if we had something like this:

errata release=3.7
patch id=12 name=copy type=security date=2005-03-16 arch=amd64
More stringent checking should be done in the
a 
href=http://www.openbsd.org/cgi-bin/man.cgi?query=copyamp;sektion=9;copy(9)/a
functions to prevent their misuse.
/patch

!-- more patches here --
patch ... 
patch
/errata

We would be able to build the respective errataXX.html from it,
separating format from content, and providing at the same time a kind
of RSS feed for those who want it (like me). The benefits would be
many:

For developers maintaining errataXX.html:

- One single place for changing the format of _all_ the errataXX.html
pages (layout, links to new releases, colors, ...)
- No need to mess with HTML when adding a new patch, except for
writing the patch description.
- No more errors because of copying an old errataXX.html as a base for
writing the new errata.html

We could even use it for sending a mail automatically to security-announce@

For translators:

- Focus on translating the text only
- No need to track changes in the format of the pages any more :)

For users:

- A simple, easy to parse file for getting errata up to date
- Eases the writing of scripts for automating patching

XSL would do the magic here. It would be as easy as:

$ xsltproc  errata.xsl  errata-37.xml  errata37.html

We only have to edit errata.xsl to change the layout/format for all
the errataXX.html files. We could even write a Makefile for that.
errataXX.html would be not the only pages generated from a script
(groups.html is already generated from one).

If any developer/translator/user is still reading this and thinks it
would be good idea ... you can find two samples and the XSL script in
the URL provided below. It's a working _prototype_ that I could
developer further if it is of any interest. It may lack of many things
yet (update date  time comes to mind).

http://www.openbsd.org.mx/santana/errata/

-- 
Gerardo Santana



RSS feed for errata

2005-08-24 Thread Gerardo Santana Gómez Garrido
This has been discussed before. I think many people here agree this
would be very useful. Some has even volunteered to do it, but I
haven't found anything in Google about it yet.

So, the question is ?has anybody made it?, otherwise, ?is anybody
willing to do it?

-- 
Gerardo Santana



Re: RSS feed for errata

2005-08-24 Thread Gerardo Santana Gómez Garrido
2005/8/24, Gerardo Santana Gsmez Garrido [EMAIL PROTECTED]:
 This has been discussed before. I think many people here agree this
 would be very useful. Some has even volunteered to do it, but I
 haven't found anything in Google about it yet.
 
 So, the question is ?has anybody made it?, otherwise, ?is anybody
 willing to do it?

I've just found this from a message by dhartmei in undeadly:

http://undeadly.org/cgi?action=errata

It seems like a first attempt like Daniel says. Is it going to be
improved  maintained? Just to know if I should wait for it or start
coding it myself.

-- 
Gerardo Santana



Re: RSS feed for errata

2005-08-24 Thread Gerardo Santana Gómez Garrido
2005/8/24, Ray Percival [EMAIL PROTECTED]:
 On Wed, Aug 24, 2005 at 01:03:04AM -0500, Gerardo Santana Gsmez Garrido wrote:
  2005/8/24, Gerardo Santana Gsmez Garrido [EMAIL PROTECTED]:
   This has been discussed before. I think many people here agree this
   would be very useful. Some has even volunteered to do it, but I
   haven't found anything in Google about it yet.
  
   So, the question is ?has anybody made it?, otherwise, ?is anybody
   willing to do it?
 
  I've just found this from a message by dhartmei in undeadly:
 
  http://undeadly.org/cgi?action=errata
 
  It seems like a first attempt like Daniel says. Is it going to be
  improved  maintained? Just to know if I should wait for it or start
  coding it myself.
  http://www.vuxml.org/
 This is what I use. Could use some work but it is up to date and seems to be 
 maintained.

That's for ports  packages. I'm talking about something similar for
the base system.

-- 
Gerardo Santana



Re: ayuda con sendmail

2005-08-18 Thread Gerardo Santana Gómez Garrido
2005/8/18, Efrin Sanchez [EMAIL PROTECTED]:
 no pueden salir ni entrar correos

[snip]

  que puedo hacer
 

La lista de corre en espaqol esta aqum/The Spanish mailing list is here:

http://groups.google.com.mx/group/OpenBSD-Mexico/

?Seguro que es un OpenBSD? Tal parece que no pudo resolver el dominio
gmail.com, quiza algzn problema con el servidor DNS o tu conexisn a
Internet.

Continuemos la discusisn en la direccisn que te envii.

-- 
Gerardo Santana Gsmez Garrido
http://www.openbsd.org.mx/santana/
Entre los individuos, como entre las naciones, el respeto al derecho
ajeno es la paz -Don Benito Juarez



Re: binpatch

2005-08-17 Thread Gerardo Santana Gómez Garrido
2005/8/16, Ingo Schwarze [EMAIL PROTECTED]:
 Hi Gerardo, hi Gaby,
 
 Gerardo Santana Gsmez Garrido wrote on Tue, Aug 16, 2005 at 08:56:39AM -0500:
  On 8/16/05, Gaby vanhegan [EMAIL PROTECTED] wrote:
 
  http://www.openbsd.org.mx/pub/binpatch/
  Has not built any patches for 3.7, despite there being 4 security
  advisories published about it.
 
  I stop to build them [ironically] because of lack of resources.
  I lost them some months ago when I was unemployed (in January).
  But you can always donate to help me buy a new hard disk/PC and
  pay my Internet bill :)
 
  Are there any other binpatch providers out there the people use?
 
 Not yet.  But recently, i ported binpatch to OpenBSD 3.7 for my
 own use.  Gerardo, would you think it useful if i put the result
 public on www.studis.de?  Would you be willing to cross-check
 in order to identify possible bugs?

It's ok for me. I think it would be useful for many people. I already
got your changes, but I haven't had the time to check them. From the
summary, they look very important.

I'm looking forward to rethink binpatch, since I built it the first
time for a more complex scenario that is not relevant. Coincidentally,
I was studying the great pkgtools by Marc Espie and it has given me
some ideas to create the patchtools ;-)

With a framework like that, users would be able to install/uninstall
patches, track the patches installed and automate updates easily,
things I have been asked for many times.

 
 We do have fast Ethernet (100 Mb/s) access to the german
 Wissenschaftsnetz and are allowed to use it for research 
 study puposes - which should in this case apply, imho.
 Of course, i cannot guarantee that our server will stand
 the load if *very* many people start using that - but i doubt
 it will generate more traffic than the several dozen mailing
 lists we are already running...

Great. It's a pitty I'm too far from Germany to benefit from it
(uploading the binary patches). But if you can afford serving the
binary patches, it would be nice to have a mirror.

I'm ordering a new hard disk right now.

Thanks Ingo.


 
 Yours,
   Ingo
 
 --
 Ingo Schwarze [EMAIL PROTECTED]
 University of Karlsruhe student organisation
 
 


-- 
Gerardo Santana



Re: Text editor

2005-08-06 Thread Gerardo Santana Gómez Garrido
On 8/6/05, Mike Henker [EMAIL PROTECTED] wrote:
 Hi yesterday I installed OpenBSD 3.7 seem to be all ok, my question is
 how I can edit the files of the operating system,what editor you
 recommand? (I m a newbie) If isn t in the default installation how can I
 install it? I saw the FAQ and the man but I can t find info about this
 doubt. Thanks
 
 Salutes,
 Mike

vi is my editor of choice. But if you don't have a UNIX background you
might want to try joe.

-- 
Gerardo Santana Gsmez Garrido
http://www.openbsd.org.mx/santana/
Entre los individuos, como entre las naciones, el respeto al derecho
ajeno es la paz -Don Benito Juarez



Re: '.' in username

2005-07-21 Thread Gerardo Santana Gómez Garrido
On 7/20/05, Tim Hammerquist [EMAIL PROTECTED] wrote:
 Shawn K. Quinn wrote:
  Bruno Rohee wrote:
   Thus breaking a behaviour that people have been used too for about
   the last 30 years.
 
  Telnet was used for most of the last 30 years, too.
 
 telnet is still a wonderful tool that I use all the time.
 
 $ telnet hostname 25
 
 $ telnet hostname 80
 
 $ telnet hostname 22
 
 It's great for testing basic service availability, version strings, or
 even a manual session without a lot of process overhead or connection
 negotiation.
 
 Tim

He meant telnetd of course

-- 
Gerardo Santana Gsmez Garrido
http://www.openbsd.org.mx/santana/
Entre los individuos, como entre las naciones, el respeto al derecho
ajeno es la paz -Don Benito Juarez



Re: Theo gave an interview to Forbes Mag. about Linux

2005-06-17 Thread Gerardo Santana Gómez Garrido
The best part for me:

I think our code quality is higher, just because that's really a big
focus for us

_Quality_ is the point.

On 6/17/05, Steven Day [EMAIL PROTECTED] wrote:
 I love this part
 
  You know what I found? Right in the kernel, in the heart of the operating
 system, I found a developer's comment that said, 'Does this belong here?'
 Lok says. What kind of confidence does that inspire? Right then I knew it
 was time to switch.
 
 On 6/17/05, J. Lievisse Adriaanse [EMAIL PROTECTED] wrote:
 
  Not everybody there is happy about Theo's words...oh well, what gives ;-)
 
  Jasper
 
  On Fri, 17 Jun 2005 16:25:56 +0100
  Stephen Marley [EMAIL PROTECTED] wrote:
 
   On Fri, Jun 17, 2005 at 04:48:31PM +0200, J. Lievisse Adriaanse wrote:
Theo gave an interview to Forbes Magazine, in which he stated: It's
terrible, De Raadt says. Everyone is using it, and they don't
realize how bad it is. And the Linux people will just stick with it
and add to it rather than stepping back and saying, 'This is garbage
and we should fix it.'
  
   Heh. Theo never did pull his punches. I suppose there's now a war going
   on in /. ? :)
  
   --
   stephen
  
 
 
  --
  checking whether you're still watching...probaly not :-)
  /usr/ports/x11/wmx configure script.
 
 


-- 
Gerardo Santana Gsmez Garrido
http://www.openbsd.org.mx/santana/
Entre los individuos, como entre las naciones, el respeto al derecho
ajeno es la paz -Don Benito Juarez



Re: i don't *mean* to be stupid. it just happens. need a refresher...

2005-06-08 Thread Gerardo Santana Gómez Garrido
Well, you could have looked at the Makefile inside /usr/ports :)

make search key='something'

On 6/8/05, Rick Barter [EMAIL PROTECTED] wrote:
 I've obviously spent too much time away from the console lately.  I am
 looking for a package and can't, for the life of me, remember how to
 find them.
 
 I know there is a search key option to a command, but I can't remember
 which command.  make?  pkg_info?  I've tried searching the archives,
 but I can't seem to find it.  I've looked for 'find package' and 'find
 port'.  I found a package finder at http://ports.puffy.nu/?f=s, but
 this doesn't really help me remember the proper command.
 
 Also, it says ethereal is in /usr/ports/net/ethereal, but I can't find it.
 
 Like the subject says, 'i don't *mean* to be stupid.  it just happens.
   need a refresher...'
 
 Any help is appreciated,
 
 rvb
 
 


-- 
Gerardo Santana Gsmez Garrido
http://www.openbsd.org.mx/santana/
Entre los individuos, como entre las naciones, el respeto al derecho
ajeno es la paz -Don Benito Juarez



Re: [slightly OT] Zaurus -- to buy or not to buy?

2005-05-31 Thread Gerardo Santana Gómez Garrido
On 5/31/05, Marc Espie [EMAIL PROTECTED] wrote:
 On Tue, May 31, 2005 at 11:11:08PM +0200, Matthias Kilian wrote:
  - Keyboard: it's a little bit small (of course). What's your experience
using it?
 
 The keyboard has got an amazing good feel considering its size. Of course,
 your mileage may vary, but I find it really nice.
 
 

I was thinking of buying one too [when I get paid... someday], the
idea of having a pocket computer with a full featured OS (wireless
networking, services, X, etc..) is soo irresistible.

The problem is I'm in Mexico, not Europe. Are they still available in the USA?

P.S. Marc, did you get the qmake patch?

-- 
Gerardo Santana Gsmez Garrido
http://www.openbsd.org.mx/santana/
Entre los individuos, como entre las naciones, el respeto al derecho
ajeno es la paz -Don Benito Juarez



Re: OBSD 3.7 ports -- mysql

2005-05-24 Thread Gerardo Santana Gómez Garrido
This can help:

bsd.port.mk(5)

On 5/24/05, Russell Fulton [EMAIL PROTECTED] wrote:
 On Tue, 2005-05-24 at 22:31 -0400, Bryan Allen wrote:
  On May 24, 2005, at 9:25 PM, Russell Fulton wrote:
 
   Hi Folks,
I've just installed mysql from the ports on my 3.7 system. All
   went
   well (I did not see any errors) but so far as I can see only the
   client
   stuff was installed.  The server is there in the ports tree
   under /usr/local/libexec/mysqld but it is not installed.  Nor does
   there appear to be a start up script or safe-mysqld.
  
   Any ideas?
 
  env SUBPACKAGE=-server when you make install, or install it from
  the package it compiles and places in:
 
 Thanks Bryan -- some other kind soul pointed out that this example is in
 the ports man page.  Something I had not found before, sigh... We live
 an learn and sometime even remember what we have learnt!
 
 I would have found it really helpful if the 'make install' had warned me
 that there were sub-packages and referred me to the man page.  I'd be
 happy to submit a patch to do this if I could figure out where
 bsd.port.mk lives.
 
 I spent several hours going though the Makefile and googling but failed
 to find the vital info.  I did see the sub package reference in the make
 file but failed to figure out that these were imported from the
 environment.
 
 Cheers, Russell
 
 [demime 1.01d removed an attachment of type application/x-pkcs7-signature 
 which had a name of smime.p7s]
 
 


-- 
Gerardo Santana



Re: How to debug something like this?

2005-05-23 Thread Gerardo Santana Gómez Garrido
On 5/23/05, Wijnand Wiersma [EMAIL PROTECTED] wrote:
 2005/5/24, Gerardo Santana Gsmez Garrido [EMAIL PROTECTED]:
  On 5/22/05, Wijnand Wiersma [EMAIL PROTECTED] wrote:
   Hi all,
  
   this maybe offtopic, but I am almost desparate.
  
   Last night I migrated the nedbsd.nl 3.5 server to a other machine running 
   3.7.
   The specs are the same, except for the network card. On 3.5 I used
   fxp0, now I use xl0.
  
   Everything works fine (well, I do miss nullfs but use loopback nfs as
   a substitute now), except for the jabber services.
   I use jabberd 1.4.3.1
 
  Would it be difficult to use jabberd-2.0s8 instead?
 
 Well, never really looked at it. But I was dissapointed 2.0s4 was in ports.


My fault. I had been away from the computer for a while for strong
reasons, ...hard times.

 And that port only had mysql support and I don't want mysql on my
 server. If you could add a postgresql flavor :-)

Done. See patch in ports@
It needs someone to test it though :

 Using a database backend would be great though.
 
 But it will take lots of testing for me.

It's very straightforward. I'm running it with MySQL. I can help you
with PostgreSQL.

 
 Wijnand
 


-- 
Gerardo Santana Gsmez Garrido
http://www.openbsd.org.mx/santana/
Entre los individuos, como entre las naciones, el respeto al derecho
ajeno es la paz -Don Benito Juarez



Re: OpenBSD 3.7 Torrents are now available

2005-05-20 Thread Gerardo Santana Gómez Garrido
On 5/20/05, Dan Bond [EMAIL PROTECTED] wrote:
 Because it's the source?

That precesily the reason why those files should be available in that link.

 I was trying to work that one out too but
 didn't really get around to working it out.

??

 
 Dan
 
 On 5/20/05, Gerardo Santana Gsmez Garrido [EMAIL PROTECTED] wrote:
  On 5/19/05, andrew fresh [EMAIL PROTECTED] wrote:
   You can get OpenBSD 3.7 from the torrent site here:
  
   http://openbsd.somedomain.net/index.php?version=latest+release
  
  
   quick links:
  
   AMD 64:
   http://openbsd.somedomain.net/torrents/OpenBSD_3_7_amd64-2005-05-19-1824.torrent
  
   i386:
   http://openbsd.somedomain.net/torrents/OpenBSD_3_7_i386-2005-05-19-2115.torrent
  
   Anything else you should be able to get from the url above.  Not all 
   architectures are synced yet, but they are going.
 
 
  http://openbsd.somedomain.net/torrents/OpenBSD_3_7-2005-05-19-1703.torrent
 
 
  doesn't have ports.tar.gz, src.tar.gz and sys.tar.gz :-S
 
 
  
   l8rZ,
   --
   andrew - ICQ# 253198 - JID: [EMAIL PROTECTED]
Proud member: http://www.mad-techies.org
  
   BOFH excuse of the day: Your computer's union contract is set to expire
   at midnight.
  
  
 
 
  --
  Gerardo Santana
 
 
 


-- 
Gerardo Santana