[Bug 523199] Review Request: ncrack - high-speed network authentication cracking tool

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

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=523199





--- Comment #17 from Martin Gieseking <martin.gieseking@xxxxxx>  2009-09-22 16:43:52 EDT ---
Created an attachment (id=362136)
 --> (https://bugzilla.redhat.com/attachment.cgi?id=362136)
extends ncrack to look in /etc for configuration files

I've attached a patch that extends the ncrack sources to also look in /etc for
config files. Steve, you should ask upstream to apply it to the sources or add
another mechanism that allows relocating file ncrack-services.

The spec file must also be modified:
- in the %setup section, apply the patch (with option -p1)

- add the following to %install:
  mkdir $RPM_BUILD_ROOT%{_sysconfdir}
  mv $RPM_BUILD_ROOT%{_datadir}/%{name}/ncrack-services
$RPM_BUILD_ROOT%{_sysconfdir}

- add %config %{_sysconfdir}/ncrack-services to the %files section

This is just a suggestion. If necessary, feel free to modify it.


Toshio, is it required to put the config file in a subfolder of /etc, or can we
place it directly in /etc?

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]