Opened 4 years ago

Closed 4 years ago

#49026 closed update (fixed)

fail2ban update to 0.9.3

Reported by: fclaire@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch maintainer Cc: kurthindenburg (Kurt Hindenburg)
Port: fail2ban

Description

Please find the Portfile and patches for fail2ban v0.9.3

Attachments (15)

patch-bin-fail2ban-client.diff (422 bytes) - added by fclaire@… 4 years ago.
patch-bin-fail2ban-server.diff (558 bytes) - added by fclaire@… 4 years ago.
patch-config-action.d-osx-afctl.conf.diff (514 bytes) - added by fclaire@… 4 years ago.
patch-config-fail2ban.conf.diff (1.1 KB) - added by fclaire@… 4 years ago.
patch-config-jail.conf.diff (344 bytes) - added by fclaire@… 4 years ago.
patch-config-paths-common.conf.diff (375 bytes) - added by fclaire@… 4 years ago.
patch-config-paths-osx.conf.diff (734 bytes) - added by fclaire@… 4 years ago.
patch-fail2ban-client-configreader.py.diff (407 bytes) - added by fclaire@… 4 years ago.
patch-fail2ban-server-filterpoll.py.diff (488 bytes) - added by fclaire@… 4 years ago.
patch-fail2ban-tests-misctestcase.py.diff (560 bytes) - added by fclaire@… 4 years ago.
patch-fail2ban-tests-utils.py.diff (483 bytes) - added by fclaire@… 4 years ago.
pf-icefloor.conf (1.5 KB) - added by fclaire@… 4 years ago.
Portfile (4.6 KB) - added by fclaire@… 4 years ago.
Portfile-fail2ban.diff (4.4 KB) - added by fclaire@… 4 years ago.
patch-setup.py.diff (2.1 KB) - added by fclaire@… 4 years ago.

Download all attachments as: .zip

Change History (26)

Changed 4 years ago by fclaire@…

Changed 4 years ago by fclaire@…

Changed 4 years ago by fclaire@…

Changed 4 years ago by fclaire@…

Changed 4 years ago by fclaire@…

Attachment: patch-config-jail.conf.diff added

Changed 4 years ago by fclaire@…

Changed 4 years ago by fclaire@…

Changed 4 years ago by fclaire@…

Changed 4 years ago by fclaire@…

Changed 4 years ago by fclaire@…

Changed 4 years ago by fclaire@…

Changed 4 years ago by fclaire@…

Attachment: pf-icefloor.conf added

comment:1 Changed 4 years ago by mf2k (Frank Schima)

Per the guidelines, please instead attach a unified diff of the Portfile so we can easily see what changes you are proposing. The patchfiles are fine as is.

Changed 4 years ago by fclaire@…

Attachment: Portfile added

Changed 4 years ago by fclaire@…

Attachment: Portfile-fail2ban.diff added

comment:2 Changed 4 years ago by fclaire@…

Here's the Portfile unified diff.

I also uploaded a new Portfile to fix the $homepage URL where the last / was missing (I noticed it with the diff).

comment:3 Changed 4 years ago by mf2k (Frank Schima)

Keywords: haspatch maintainer added
Version: 2.3.3

comment:4 Changed 4 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:5 Changed 4 years ago by kurthindenburg (Kurt Hindenburg)

Are you aware it is putting files into /opt/local/usr?

Warning: violation by /opt/local/usr

ls /opt/local/usr/share/doc/fail2ban/                                                                           
DEVELOP                 FILTERS                 README.Solaris          README.md               run-rootless.txt

comment:6 Changed 4 years ago by fclaire@…

Where should these doc files go ?

comment:7 Changed 4 years ago by kurthindenburg (Kurt Hindenburg)

/opt/local/share/doc/fail2ban

Changed 4 years ago by fclaire@…

Attachment: patch-setup.py.diff added

comment:8 Changed 4 years ago by fclaire@…

I've uploaded a new patch-setup.py.diff putting the doc under /opt/local/share/doc/fail2ban/.

comment:9 Changed 4 years ago by kurthindenburg (Kurt Hindenburg)

It appears pf-icefloor.conf hasn't been changed.

Also, do you want to force LANG=en_GB.UTF-8 in the startup item?

Here's what I have currently:

M       Portfile
A       files/patch-bin-fail2ban-client.diff
A       files/patch-bin-fail2ban-server.diff
D       files/patch-client-csocket.py.diff
A       files/patch-config-action.d-osx-afctl.conf.diff
M       files/patch-config-fail2ban.conf.diff
M       files/patch-config-jail.conf.diff
A       files/patch-config-paths-common.conf.diff
A       files/patch-config-paths-osx.conf.diff
A       files/patch-fail2ban-client-configreader.py.diff
D       files/patch-fail2ban-client.diff
D       files/patch-fail2ban-regex.diff
A       files/patch-fail2ban-server-filterpoll.py.diff
D       files/patch-fail2ban-server.diff
A       files/patch-fail2ban-tests-misctestcase.py.diff
A       files/patch-fail2ban-tests-utils.py.diff
D       files/patch-server-server.py.diff
D       files/patch-server__filterpoll.py-increase-error-threshold.diff
D       files/patch-setup.cfg.diff
M       files/patch-setup.py.diff

comment:10 Changed 4 years ago by fclaire@…

Without the LANG forced in the startup item fail2ban doesn't start. I think it's an OSX problem but couldn't find another way to fix it.

Indeed the pf-icefloor.conf didn't change. The M/A/D list looks OK to me.

There's a lot of changes between 0.8 and 0.9 versions which explains such differences.

comment:11 Changed 4 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

Thanks - let me know if any isn't correct r140986

Note: See TracTickets for help on using tickets.