Bug 95633 - bruteforceblocker needs p5-File-Tail
Summary: bruteforceblocker needs p5-File-Tail
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-11 20:10 UTC by Joe Horn
Modified: 2006-04-12 09:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Horn 2006-04-11 20:10:20 UTC
I just install bruteforceblocker on this new machine, detail of this software ports :

Port:   bruteforceblocker-1.2.3
Path:   /usr/ports/security/bruteforceblocker
Info:   Checks for SSH bruteforce and blocks given IPs
Maint:  danger@rulez.sk
B-deps:
R-deps: p5-Authen-SASL-2.10_1 p5-Compress-Zlib-1.41 p5-Digest-1.15 p5-Digest-HMAC-1.01 p5-Digest-MD5-2.36 p5-Digest-SHA1-2.11 p5-GSSAPI-0.21 p5-HTML-Parser-3.51 p5-HTML-Tagset-3.10 p5-MIME-Base64-3.07 p5-Net-1.19,1 p5-Net-DNS-0.56 p5-Net-IP-1.24 p5-Sys-Hostname-Long-1.4 p5-URI-1.35 p5-Unix-Syslog-0.100 p5-libwww-5.805 perl-5.8.8
WWW:    http://danger.rulez.sk/projects/bruteforceblocker/

But while I run /usr/local/bin/bruteforceblocker.pl , this message was shown on screen :

Can't locate File/Tail.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at /usr/local/bin/bruteforceblocker.pl line 19.
BEGIN failed--compilation aborted at /usr/local/bin/bruteforceblocker.pl line 19.

Fix: 

NO_BUILD=     yes
  USE_PERL5_RUN=        yes
--- 18,25 ----
  RUN_DEPENDS=  ${SITE_PERL}/${PERL_ARCH}/Unix/Syslog.pm:${PORTSDIR}/sysutils/p5-Unix-Syslog \
                ${SITE_PERL}/Sys/Hostname/Long.pm:${PORTSDIR}/sysutils/p5-Sys-Hostname-Long \
                ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \
!               ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \
!               ${SITE_PERL}/File/Tail.pm:${PORTSDIR}/devel/p5-File-Tail

  NO_BUILD=     yes
  USE_PERL5_RUN=        yes--R72IOSumTLUTsgWF3ppOHmye0TekVJMshWz5yzsHJLYxmM9F
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

*** /usr/ports/security/bruteforceblocker/Makefile.orig Wed Apr 12 02:58:23 2006
--- /usr/ports/security/bruteforceblocker/Makefile      Wed Apr 12 03:01:25 2006
***************
*** 18,24 ****
  RUN_DEPENDS=  ${SITE_PERL}/${PERL_ARCH}/Unix/Syslog.pm:${PORTSDIR}/sysutils/p5-Unix-Syslog \
                ${SITE_PERL}/Sys/Hostname/Long.pm:${PORTSDIR}/sysutils/p5-Sys-Hostname-Long \
                ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \
!               ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
Comment 1 Edwin Groothuis freebsd_committer 2006-04-11 23:02:45 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 Edwin Groothuis freebsd_committer 2006-04-11 23:05:05 UTC
State Changed
From-To: feedback->closed

Committed, thanks!
Comment 3 Daniel Gerzo 2006-04-12 09:35:23 UTC
Hello bug-followup,

  sorry for my late reply, but my backup-mx was a bit misconfigured,
  so I haven't received your email Edwin.

  This commit doesn't really seems right to me, since the current
  version of BruteForceBlocker in ports doesn't require File::Tail to
  run - that was only for first version 1.0, you can check the source.

  Also, I don't know why submitter had such a problem, I would say
  that he had somehow used an old version...if he needs any further
  help I will be glad to provide it through e-mail.

-- 
Sincerely,
  Daniel Gerzo