[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:51600] sshguard (Re: fail2banが動かない



On Mon, 12 Jan 2009 13:41:44 +0900
Osamu Aoki <osamu@debian.org> wrote:
> > なお,私が導入した際Debianのパッケージsshguardのバージョンが古く
> > 問題があったので本家からソースを取得してビルドしました.
> 
> December 31, 2008が最新なのであたらしいですね。

 1.4-rc2 だと build に失敗しました。1.3 は通ります。sid です。
 
make[4]: ディレクトリ `/home/henrich/tmp/sshguard-1.4~rc2/src' に入ります
i486-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -I. -O2 -std=c99 -Wall -Wall -g -O2 -MT attack_parser.o -MD -MP -MF .deps/attack_parser.Tpo -c -o attack_parser.o attack_parser.c
attack_parser.y: In function ‘yyparse’:
attack_parser.y:120: warning: implicit declaration of function ‘gethostbyname2’
attack_parser.y:120: warning: assignment makes pointer from integer without a cast
attack_parser.y:125: warning: assignment makes pointer from integer without a cast
mv -f .deps/attack_parser.Tpo .deps/attack_parser.Po
i486-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -I. -O2 -std=c99 -Wall -Wall -g -O2 -MT attack_scanner.o -MD -MP -MF .deps/attack_scanner.Tpo -c -o attack_scanner.o attack_scanner.c
attack_scanner.c: In function ‘yy_init_buffer’:
attack_scanner.c:3806: warning: implicit declaration of function ‘fileno’
attack_scanner.l: At top level:
attack_scanner.c:3513: warning: ‘yyunput’ defined but not used
attack_scanner.c:3565: warning: ‘input’ defined but not used
mv -f .deps/attack_scanner.Tpo .deps/attack_scanner.Po
i486-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -I. -O2 -std=c99 -Wall -Wall -g -O2 -MT sshguard.o -MD -MP -MF .deps/sshguard.Tpo -c -o sshguard.o sshguard.c
sshguard.c: In function ‘pardonBlocked’:
sshguard.c:392: warning: implicit declaration of function ‘srandom’
sshguard.c:396: warning: implicit declaration of function ‘random’
mv -f .deps/sshguard.Tpo .deps/sshguard.Po
i486-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -I. -O2 -std=c99 -Wall -Wall -g -O2 -MT sshguard_whitelist.o -MD -MP -MF .deps/sshguard_whitelist.Tpo -c -o sshguard_whitelist.o sshguard_whitelist.c
mv -f .deps/sshguard_whitelist.Tpo .deps/sshguard_whitelist.Po
i486-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -I. -O2 -std=c99 -Wall -Wall -g -O2 -MT sshguard_log.o -MD -MP -MF .deps/sshguard_log.Tpo -c -o sshguard_log.o sshguard_log.c
sshguard_log.c: In function ‘sshguard_log’:
sshguard_log.c:48: warning: implicit declaration of function ‘vsyslog’
mv -f .deps/sshguard_log.Tpo .deps/sshguard_log.Po
i486-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -I. -O2 -std=c99 -Wall -Wall -g -O2 -MT sshguard_procauth.o -MD -MP -MF .deps/sshguard_procauth.Tpo -c -o sshguard_procauth.o sshguard_procauth.c
sshguard_procauth.c: In function ‘procauth_init’:
sshguard_procauth.c:52: warning: implicit declaration of function ‘srandom’
mv -f .deps/sshguard_procauth.Tpo .deps/sshguard_procauth.Po
i486-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -I. -O2 -std=c99 -Wall -Wall -g -O2 -MT sshguard_blacklist.o -MD -MP -MF .deps/sshguard_blacklist.Tpo -c -o sshguard_blacklist.o sshguard_blacklist.c
mv -f .deps/sshguard_blacklist.Tpo .deps/sshguard_blacklist.Po
i486-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -I. -O2 -std=c99 -Wall -Wall -g -O2 -MT sshguard_options.o -MD -MP -MF .deps/sshguard_options.Tpo -c -o sshguard_options.o sshguard_options.c
sshguard_options.c: In function ‘get_options_cmdline’:
sshguard_options.c:44: warning: implicit declaration of function ‘getopt’
sshguard_options.c:47: error: ‘optarg’ undeclared (first use in this function)
sshguard_options.c:47: error: (Each undeclared identifier is reported only once
sshguard_options.c:47: error: for each function it appears in.)
make[4]: *** [sshguard_options.o] エラー 1


 あと、sf.net の構成が変わっているようですが、watch ファイルの書き方は
 どうするのがいいんでしょう?パッケージの雛形そのまま使ってもダメですし。


-- 
Regards,

 Hideki Yamane     henrich @ debian.or.jp/iijmio-mail.jp
 http://wiki.debian.org/HidekiYamane