pkgsrc-Users archive

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

fail2ban missing as earmv6hf package



Hello,

I just what to understand how  pkgsrc works.

I wanted to install fail2ban package in my RPiZeroW system but it
seems not be be present as package:

netbsd-raspaZeroW# pkgin se fail2ban
No results found for fail2ban

netbsd-raspaZeroW# cat /usr/pkg/etc/pkgin/repositories.conf

...
...
# Local repository (must contain a pkg_summary.gz or bz2)
#
# file:///usr/pkgsrc/packages/All
# NetBSD OS release can look like 6.0_STABLE, do not use it as-is
https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/earmv6hf/10.0/All

I download manually pkg_summary.gz just to check:

netbsd-raspaZeroW$ wget
https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/earmv6hf/10.0/All/pkg_summary.gz

netbsd-raspaZeroW$ gunzip pkg_summary.gz

netbsd-raspaZeroW$ cat pkg_summary |grep fail2ban
netbsd-raspaZeroW$

There is no package on the summary.

If I get the pkgsrc source tree:

netbsd-raspaZeroW$ cat /usr/pkgsrc/CVS/Tag
Tpkgsrc-2024Q1

There is source for fail2ban

netbsd-raspaZeroW$ ls -lh /usr/pkgsrc/security/fail2ban/
total 41K
drwxr-xr-x   2 root  wheel  512B May 31 17:39 CVS
-rw-r--r--   1 root  wheel  268B Feb  9  2015 DESCR
-rw-r--r--   1 root  wheel  8.1K Nov 14  2023 Makefile
-rw-r--r--   1 root  wheel   29K Jul  2  2023 PLIST
-rw-r--r--   1 root  wheel  430B Jul  2  2023 distinfo
drwxr-xr-x   3 root  wheel  512B May 31 15:54 files
-rw-r--r--   1 root  wheel  269B Feb  9  2015 options.mk
drwxr-xr-x   3 root  wheel  512B May 31 15:54 patches
drwxr-xr-x  18 root  wheel  1.5K May 31 22:31 work
netbsd-raspaZeroW$

I compiled it and installed with no problems:

netbsd-raspaZeroW$ pkgin list | grep ban
fail2ban-1.0.2nb2    Scans log files and bans IP that makes too many
password failures

fail2ban works fine.

My question is. Why fail2ban is not ready as package? it is a matter
of waiting for it to appear?

Thanks.
Ramiro.


Home | Main Index | Thread Index | Old Index