ipcad 2.8.1 bug: doesn't run with uid 0 which is needed for rsh

vlm at smarts-gsm.ru vlm at smarts-gsm.ru
Wed Apr 2 22:24:40 PST 2003


-- Start of PGP signed section.
> On Wed, Apr 02, 2003 at 03:40:34PM -0800, Lev Walkin wrote:
> > >Another problem is here on a FreeBSD 4.8 box, that I cant
> > >rebuild the cfgy.c file. Since the right thing to do for me
> > >was to apply the patch to the cfg.y file.
> > 
> > >I'll also attach the error-log.
> > 
> > Sorry, I don't read this language :/
> 
> Sorry was in a hurry and didn't notice.
> Don't have time now, to repeat with standard locale.
> 
> But its actually easy to repeat by:
> updating ports collection.
> Update bison port to latest.
> remove the cfgy.c file, so that bison tries to rebuilt it.
> So, you dont need necessarily my bison output.
> 
> 	Andreas ///

[vlm at spelio:~]>cd /adm/src/ipcad
[vlm at spelio:/adm/src/ipcad]>rm cfgy.c
[vlm at spelio:/adm/src/ipcad]>make
bison -y -p ipcacfg -d cfg.y
conflicts:  2 shift/reduce
gcc -O2  -DCONFIG_FILE=\"/usr/local/etc/ipcad.conf\" -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -Wall -D_REENTRANT -D_THREAD_SAFE -DPSRC_bpf -DIFST_bsd -o cfgy.o -c cfgy.c
gcc -O2  -DCONFIG_FILE=\"/usr/local/etc/ipcad.conf\" -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -Wall -D_REENTRANT -D_THREAD_SAFE -DPSRC_bpf -DIFST_bsd -o ipcad main.o ppd.o pps.o disp.o storage.o usage.o cfgy.o cfglex.o cfgread.o cfgvar.o rsh.o rshp.o dump.o import.o cshelly.o cslex.o csparse.o service.o rw.o servers.o opt.o pidfile.o sf_lite.o ips.c ips-bpf.c ppl-bpf.c capstat-bpf.c ifst_bsd.o -lpcap -pthread
[vlm at spelio:/adm/src/ipcad]>bison --version
bison (GNU Bison) 1.75


-- 
Lev Walkin
vlm at spelio.net.ru


More information about the freebsd-ports mailing list