Hello all I've created an rpm for DenyHosts http://denyhosts.sourceforge.net/ which I find pretty useful. A brief synopsis first: Summary: DenyHosts is a utility to help sys admins thwart ssh hackers Description: DenyHosts is a python program that automatically blocks ssh attacks by adding entries to /etc/hosts.deny. DenyHosts will also inform Linux administrators about offending hosts, attacked users and suspicious logins. I'm pretty inexperienced at rpm building, still learning really, and I was wondering if someone could take a look at the source rpm I've created and let me know if it's ok. You can find it here: http://www.craigmillar.org/DenyHosts-2.4b-5.src.rpm I'm attaching the spec file at the end of this message as well. My main concern with the spec file is that I'd like the main executable to be renamed denyhosts from denyhosts.py. I tried the following lines: ln -sf ../../usr/bin/denyhosts.py $RPM_BUILD_ROOT%_prefix/bin/denyhosts This works - but results in denyhosts and denyhosts.py in /usr/bin, so this is in the linked to version. mv ../../usr/bin/denyhosts.py $RPM_BUILD_ROOT%_prefix/bin/denyhosts This doesn't work at all, which baffles me somewhat, as it's referencing the same directory. Bah. Finally, if this package is considered useful, how do I go about submitting it for wider use? I can't promise to maintain it, but I think it's a pretty nifty tool that would be of benefit to others. Thanks for any responses Craig
participants (1)
-
Craig Millar