Page MenuHomeFreeBSD

security/py-fail2ban: Update to 0.9.6
ClosedPublic

Authored by lifanov on Dec 26 2016, 4:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 4, 2:47 PM
Unknown Object (File)
Oct 24 2024, 1:04 AM
Unknown Object (File)
Oct 1 2024, 5:40 PM
Unknown Object (File)
Sep 29 2024, 8:46 PM
Unknown Object (File)
Sep 28 2024, 1:57 PM
Unknown Object (File)
Sep 22 2024, 7:31 PM
Unknown Object (File)
Sep 22 2024, 1:40 AM
Unknown Object (File)
Sep 22 2024, 12:15 AM
Subscribers

Details

Summary

Update fail2ban to version 0.9.6

Bugzilla: 215239
Submitted by: John W. O'Brien <john@saltant.com>
Reviewed by: matthew
Approved by: theis@gmx.at (maintainer), matthew (mentor)
Differential revision: https://reviews.freebsd.org/D8917

Test Plan
  • portlint: OK (no new warnings)
  • poudriere: OK (10.3R amd64 with py27, py34, py35)

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

lifanov retitled this revision from to security/py-fail2ban: Update to 0.9.6.
lifanov updated this object.
lifanov edited the test plan for this revision. (Show Details)
lifanov added a reviewer: matthew.
lifanov added a subscriber: koobs.
security/py-fail2ban/files/patch-setup.py
31 ↗(On Diff #23279)

Hard-coding '/usr/local' as the value of $LOCALBASE should be avoided. One approach is
to insert a token like %%LOCALBASE%% via patch files, and then substitute in the value
of $LOCALBASE by using ${REINPLACE_CMD} in post-patch:

Hmmm... PR 215239 has been closed as a duplicate of PR 215354. I'd only mention 215354 in the commit log.

security/py-fail2ban/files/patch-setup.py
31 ↗(On Diff #23279)

Also: /usr/local/usr/local -- that's clearly wrong, which is reflected in the
poudriere output:

====> Running Q/A tests (stage-qa)
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: @dir %%ETCDIR%%
Error: Orphaned: @dir usr/local/usr/local/%%ETCDIR%%/fail2ban.d
Error: Orphaned: @dir usr/local/usr/local/%%ETCDIR%%/jail.d
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: @dir %%ETCDIR%%/fail2ban.d
Error: Missing: @dir %%ETCDIR%%/jail.d
===> Error: Plist issues found.
*** [check-plist] Error code 1

OK, cool, thanks! I'll figure it out with the maintainer. The duplicate situation is that he said that he attached what was an identical patch to his PR, so I would like to give credit to the other submitter as well.

lifanov edited edge metadata.

OK, cool, thanks! I'll figure it out with the maintainer. The duplicate situation is that he said that he attached what was an identical patch to his PR, so I would like to give credit to the other submitter as well.

You've mentioned his name in 'Submitted by' -- that should be fine.

address matthew's feedback by using John W. O'Brien's version instead

Maintainer approved both submissions and this is the one that was
tested. I verified it myself and it works and plist is clean.

inline comments addressed using a different patch

address matthew's feedback by using John W. O'Brien's version instead

Maintainer approved both submissions and this is the one that was
tested. I verified it myself and it works and plist is clean.

Yeah. Always test things yourself.

matthew edited edge metadata.

Looks good.

This revision is now accepted and ready to land.Dec 27 2016, 7:23 PM
This revision was automatically updated to reflect the committed changes.