Has anybody been able to find knock RPM's for CentOS6 already?
There is previous thread talking exactly about the same thing here, but there isn't a definitive solution.
I found a log file saying someone created them since january at:
But culdn't find the actual RPM at:
Maybe it is there, but doesn't show because of wrong filesystem permissions.
Does anybody knows how to contact pkgs.repoforge.org administrator in order to ask him/her for help?
I haven't been able to.
In the meantime, I tryed downloading the source RPM from here and build it, but it doesn't work "out of the box".
I just executed:
- Code: Select all
rpmbuild --rebuild knock-0.5-1.rf.src.rpm
But at the end I get the following error:
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -g -Wall -pedantic -fno-exceptions -D_GNU_SOURCE -I. -o src/knockd.o -c src/knockd.c
src/knockd.c:134: error: 'PATH_MAX' undeclared here (not in a function)
src/knockd.c: In function 'parseconfig':
src/knockd.c:438: warning: unused variable 'line'
src/knockd.c: In function 'get_next_one_time_sequence':
src/knockd.c:695: warning: unused variable 'line'
src/knockd.c: In function 'sniff':
src/knockd.c:1386: warning: unused variable 'parsed_stop_cmd'
src/knockd.c:1385: warning: unused variable 'parsed_start_cmd'
make: *** [src/knockd.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.6oqYpj (%build)
RPM build errors:
user dag does not exist - using root
group dag does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.6oqYpj (%build)
So I'm stuck. Maybe there is a very simple solution to fix thiese errors (I hope), but I don't know why I couldn't find it.
Any help will be really appreciated.