Hi, I've updated the file denyhosts-gentoo.patch to patch against the latest version of denyhosts (2.1). The only changes needed were in the file denyhosts.cfg-dist. I've included the ebuild as well, but the only change was the version number. Very minor changes, but this is my first submission, so tell me if I'm doing something dumb! Arthur
Created attachment 79673 [details] denyhosts-2.1.ebuild V. minor change - version number in header updated from 1.1.2-r1 to 2.1
Created attachment 79675 [details, diff] denyhosts-gentoo.patch Updated the patch to fit against v2.1. Changes line numbers to match the new config file. Also, Denyhost has moved the working dir to WORK_DIR = /usr/share/denyhosts/data Gentoo previously used WORK_DIR = /var/lib/denyhosts I left /usr/share/denyhosts/data - this seems sensible to me, but I'm not sure of Gentoo policy so please correct if it's wrong.
Hmm... it seems to me that /var is where variable data (like the stuff that denyhosts uses) should be, but /usr/share is where static data (like pixmaps, help files, etc) should be. So, I'd keep it as it was before, with 'WORK_DIR = /var/lib/denyhosts' (although I may be a little biased, since I wrote the first ebuild :-p ). Also, if this patch will not apply cleanly to previous versions of denyhosts, it should be given a version number, like denyhosts-gentoo-0.1.patch. The old versions will continue to exist in portage for a while and your updates shouldn't break them.
On reflection, /var does seem like a better home. I'll update and add a version no. to the patch. Thanks for the comments (and the original ebuild), Arthur
sorry about the delay on this I've been away for a few weeks and I won't be back till next Monday. I'll be looking to get the new version just as soon as I have a few moments. Re the ebuild itself, it is a gentoo standard (one that complies with FHS2) to use /var/lib/APPNAME for application variable data.
new homepage: www.denyhosts.net
new version in cvs, thanks for reporting