Name: skey Version: 1.1.5 Release: 2mamba Summary: A `one-time password' authentication system Group: Applications/Security Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.openbsd.org/faq/faq8.html#SKey Source: http://www.sanitarium.net/unix_stuff/skey/skey-%{version}.tar.bz2 Patch0: skey-1.1.5-fix-fixpaths.patch License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description S/Key is a ``one-time password'' authentication system. It can be useful for people who don't have the ability to use an encrypted channel which protects their authentication credentials in transit, as can be established using ssh(1). %package -n libskey Group: System/Libraries Summary: A `one-time password' authentication system library %description -n libskey S/Key is a ``one-time password'' authentication system. It can be useful for people who don't have the ability to use an encrypted channel which protects their authentication credentials in transit, as can be established using ssh(1). This package contains static libraries and header files need for development. %package devel Group: Development/Libraries Summary: Static libraries and headers for %{name} %description devel S/Key is a ``one-time password'' authentication system. It can be useful for people who don't have the ability to use an encrypted channel which protects their authentication credentials in transit, as can be established using ssh(1). This package contains static libraries and header files need for development. #% debug_package %prep %setup -q %patch0 -p1 %build %if "%{_host}" != "%{_build}" ./configure \ --sysconfdir=%{_sysconfdir} \ --prefix=%{_prefix} \ --mandir=%{_mandir} \ --host=%{_host} \ --build=%{_build} \ --target=%{_target_platform} sed -i "/HAVE_RMD160_H/d" config.h sed -i "/HAVE_SHA1_H/d" config.h %else %configure --enable-shared %endif %make CC=%{_host}-gcc CPP=%{_host}-gcc %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall chmod 0644 %{buildroot}%{_libdir}/libskey.a %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_sysconfdir}/skeykeys %{_bindir}/skey %{_bindir}/skeyaudit %{_bindir}/skeyinfo %{_bindir}/skeyinit %{_bindir}/skeyprune %{_mandir}/man1/skey.1* %{_mandir}/man1/skeyaudit.1* %{_mandir}/man1/skeyinfo.1* %{_mandir}/man1/skeyinit.1* %{_mandir}/man8/skeyprune.1* %doc CHANGES README %files devel %defattr(-,root,root) %{_includedir}/rmd160.h %{_includedir}/sha1.h %{_includedir}/skey.h %{_libdir}/libskey.a %changelog * Sun Nov 29 2020 Automatic Build System 1.1.5-2mamba - added build fix patch * Tue Feb 09 2010 Silvan Calarco 1.1.5-1mamba - package created by autospec