[nycbug-talk] OpenBSD questions...
Marco Scoffier
marco
Tue Jul 12 18:43:54 EDT 2005
On Tue, Jul 12, 2005 at 06:11:38PM -0400, Ray Lai wrote:
>On Tue, Jul 12, 2005 at 05:38:54PM -0400, Marco Scoffier wrote:
>>
>> I was looking to apply the security patches to 3.7 as there is the
>> sudo issue and a zlib problem, but these are only patches to the source
>> code. I cvs'd down the source from Mickey's NY Internet repository, and
>> tried to make just "sudo" and "compress", rather than the whole /usr/src but
>> the compilation is bombing out. Is this the only way of keeping abreast
>> of the security patches? Can't find a binary sudo and compress...
>> What do you guys do?
>
>I think you have a -current source when you want -stable.
>
I don't think so. I checked it out using this little script, which I
think should give me the patch branch.
#!/bin/sh
export CVSROOT=anoncvs at anoncvs.nyc.openbsd.org:/cvs
cd /usr
cvs checkout -P -rOPENBSD_3_7 src
Just rechecked out the source, it seems there is a missing header file.
Script started on Tue Jul 12 18:38:07 2005
# cd /usr/src/usr.bin/sudo/
# make
===> lib
cc -O2 -pipe -Wall -I. -D_PATH_SUDO_NOEXEC="/usr/libexec/sudo_noexec.so" -I/usr/src/usr.bin/sudo/lib/.. -c lex.yy.c -o lex.yy.o
/usr/src/usr.bin/sudo/lib/../parse.lex:54:22: sudo.tab.h: No such file or directory
/usr/src/usr.bin/sudo/lib/../parse.lex:62: error: syntax error before "yylval"
/usr/src/usr.bin/sudo/lib/../parse.lex:62: warning: type defaults to `int' in declaration of `yylval'
/usr/src/usr.bin/sudo/lib/../parse.lex:62: warning: data definition has no type or storage class
/usr/src/usr.bin/sudo/lib/../parse.lex: In function `yylex':
/usr/src/usr.bin/sudo/lib/../parse.lex:106: error: `DEFVAR' undeclared (first use in this function)
/usr/src/usr.bin/sudo/lib/../parse.lex:106: error: (Each undeclared identifier is reported only once
/usr/src/usr.bin/sudo/lib/../parse.lex:106: error: for each function it appears in.)
/usr/src/usr.bin/sudo/lib/../parse.lex:134: error: `WORD' undeclared (first use in this function)
/usr/src/usr.bin/sudo/lib/../parse.lex:162: error: `COMMAND' undeclared (first use in this function)
/usr/src/usr.bin/sudo/lib/../parse.lex:177: error: `DEFAULTS_USER' undeclared (first use in this function)
/usr/src/usr.bin/sudo/lib/../parse.lex:180: error: `DEFAULTS_RUNAS' undeclared (first use in this function)
/usr/src/usr.bin/sudo/lib/../parse.lex:183: error: `DEFAULTS_HOST' undeclared (first use in this function)
/usr/src/usr.bin/sudo/lib/../parse.lex:186: error: `DEFAULTS' undeclared (first use in this function)
/usr/src/usr.bin/sudo/lib/../parse.lex:195: error: `HOSTALIAS' undeclared (first use in this function)
/usr/src/usr.bin/sudo/lib/../parse.lex:198: error: `CMNDALIAS' undeclared (first use in this function)
/usr/src/usr.bin/sudo/lib/../parse.lex:201: error: `USERALIAS' undeclared (first use in this function)
/usr/src/usr.bin/sudo/lib/../parse.lex:205: error: `RUNASALIAS' undeclared (first use in this function)
/usr/src/usr.bin/sudo/lib/../parse.lex:212: error: `NOPASSWD' undeclared (first use in this function)
/usr/src/usr.bin/sudo/lib/../parse.lex:218: error: `PASSWD' undeclared (first use in this function)
/usr/src/usr.bin/sudo/lib/../parse.lex:223: error: `NOEXEC' undeclared (first use in this function)
/usr/src/usr.bin/sudo/lib/../parse.lex:228: error: `EXEC' undeclared (first use in this function)
/usr/src/usr.bin/sudo/lib/../parse.lex:235: error: `NETGROUP' undeclared (first use in this function)
/usr/src/usr.bin/sudo/lib/../parse.lex:242: error: `USERGROUP' undeclared (first use in this function)
/usr/src/usr.bin/sudo/lib/../parse.lex:248: error: `NTWKADDR' undeclared (first use in this function)
/usr/src/usr.bin/sudo/lib/../parse.lex:260: error: `RUNAS' undeclared (first use in this function)
/usr/src/usr.bin/sudo/lib/../parse.lex:266: error: `ALL' undeclared (first use in this function)
/usr/src/usr.bin/sudo/lib/../parse.lex:270: error: `ALIAS' undeclared (first use in this function)
/usr/src/usr.bin/sudo/lib/../parse.lex:335: error: `COMMENT' undeclared (first use in this function)
/usr/src/usr.bin/sudo/lib/../parse.lex:357: error: `ERROR' undeclared (first use in this function)
/usr/src/usr.bin/sudo/lib/../parse.lex: In function `fill':
/usr/src/usr.bin/sudo/lib/../parse.lex:377: error: request for member `string' in something not a structure or union
/usr/src/usr.bin/sudo/lib/../parse.lex:378: error: request for member `string' in something not a structure or union
/usr/src/usr.bin/sudo/lib/../parse.lex:386: error: request for member `string' in something not a structure or union
/usr/src/usr.bin/sudo/lib/../parse.lex:388: error: request for member `string' in something not a structure or union
/usr/src/usr.bin/sudo/lib/../parse.lex:390: error: request for member `string' in something not a structure or union
/usr/src/usr.bin/sudo/lib/../parse.lex: In function `fill_cmnd':
/usr/src/usr.bin/sudo/lib/../parse.lex:400: error: request for member `command' in something not a structure or union
/usr/src/usr.bin/sudo/lib/../parse.lex:401: error: request for member `command' in something not a structure or union
/usr/src/usr.bin/sudo/lib/../parse.lex:407: error: request for member `command' in something not a structure or union
/usr/src/usr.bin/sudo/lib/../parse.lex:409: error: request for member `command' in something not a structure or union
/usr/src/usr.bin/sudo/lib/../parse.lex: In function `fill_args':
/usr/src/usr.bin/sudo/lib/../parse.lex:421: error: request for member `command' in something not a structure or union
/usr/src/usr.bin/sudo/lib/../parse.lex:432: error: request for member `command' in something not a structure or union
/usr/src/usr.bin/sudo/lib/../parse.lex:433: error: request for member `command' in something not a structure or union
/usr/src/usr.bin/sudo/lib/../parse.lex:436: error: request for member `command' in something not a structure or union
/usr/src/usr.bin/sudo/lib/../parse.lex:437: error: request for member `command' in something not a structure or union
/usr/src/usr.bin/sudo/lib/../parse.lex:441: error: request for member `command' in something not a structure or union
/usr/src/usr.bin/sudo/lib/../parse.lex:445: error: request for member `command' in something not a structure or union
/usr/src/usr.bin/sudo/lib/../parse.lex:448: error: request for member `command' in something not a structure or union
*** Error code 1
Stop in /usr/src/usr.bin/sudo/lib.
*** Error code 1
Stop in /usr/src/usr.bin/sudo.
# exit
Script done on Tue Jul 12 18:38:31 200
--
Marco
More information about the talk
mailing list