File sshfp.spec of Package sshfp

#
# spec file for package sshfp
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           sshfp
Version:        1.2.2
Release:        0
Summary:        RFC4255 DNS SSHFP record generator
License:        GPLv2+
Group:          Productivity/Networking/DNS/Utilities
URL:            http://www.xelerance.com/software/sshfp/	
#Git-Clone:	git://git.openswan.org/scm/sshfp.git

Source:         sshfp-%version.tar.xz
Patch0:         0001-fix-invalid-reference-to-hostname-in-check_keytype.diff
Requires:       python-dnspython python-ldns
BuildRequires:  python xz
BuildArch:      noarch

%description
sshfp generates DNS SSHFP records from SSH public keys. sshfp can
take public keys from a knownhosts file or from scanning the host's
sshd daemon. The ssh client can use these SSHFP records if you set
"VerifyHostKeyDNS yes" in the file /etc/ssh/ssh_config.

%prep
%setup -q
%patch0 -p1

%build
make %{?_smp_mflags}

%install
mkdir -p "%buildroot/%_bindir" "%buildroot/%_mandir"
make install DESTDIR="%buildroot"

%files
%defattr(-,root,root)
%_bindir/*
%_mandir/*/*
%doc BUGS CHANGES COPYING README

%changelog
openSUSE Build Service is sponsored by