- Initial version

OBS-URL: https://build.opensuse.org/package/show/security/oath-toolkit?expand=0&rev=1
This commit is contained in:
Cristian Rodríguez 2011-02-05 14:46:34 +00:00 committed by Git OBS Bridge
commit f15997dc31
5 changed files with 138 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:354765375e88229b3efb10836026373f7ab7cadfc804de3df5d361f2c2775789
size 385060

5
oath-toolkit.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Sat Feb 5 14:46:45 UTC 2011 - cristian.rodriguez@opensuse.org
- Initial version

106
oath-toolkit.spec Normal file
View File

@ -0,0 +1,106 @@
#
# spec file for package
#
# Copyright (c) 2010 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/
#
# norootforbuild
Name: oath-toolkit
Version: 1.4.5.12_git201101302220
Release: 0
License: GPLv3
Summary: Makes it possible to build one-time password authentication systems
Url: http://www.nongnu.org/oath-toolkit/
Group: Productivity/Networking/Security
Source: http://download.savannah.nongnu.org/releases/oath-toolkit/oath-toolkit-%{version}.tar.bz2
BuildRequires: pam-devel gtk-doc pkgconfig gengetopt bison
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Makes it possible to build one-time password authentication systems·
%package -n pam_oath
Summary: Makes it possible to build one-time password authentication systems
Group: Productivity/Networking/Security
%description -n pam_oath
Makes it possible to build one-time password authentication systems·
%package -n liboath0
Summary: Makes it possible to build one-time password authentication systems
Group: Productivity/Networking/Security
%description -n liboath0
Makes it possible to build one-time password authentication systems
%package -n liboath-devel
Summary: Makes it possible to build one-time password authentication systems
Group: Productivity/Networking/Security
Requires: liboath0 = %{version}
Requires: glibc-devel
%description -n liboath-devel
Makes it possible to build one-time password authentication systems
%prep
%setup -q
%build
autoreconf -fiv
%configure --with-pam-dir=/%{_lib}/security \
--disable-silent-rules \
--with-pic \
--disable-static
make %{?_smp_mflags}
%install
%makeinstall
find %{buildroot} -type f -name "*.la" -print -delete
%clean
%__rm -rf %{buildroot}
%post -n liboath0 -p /sbin/ldconfig
%postun -n liboath0 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc ChangeLog README COPYING
%{_bindir}/oathtool
%{_mandir}/man1/oathtool.*.*
%files -n pam_oath
%defattr(-,root,root)
/%{_lib}/security/pam_oath.so
%files -n liboath0
%defattr(-,root,root)
%{_libdir}/liboath.so.*
%files -n liboath-devel
%defattr(-,root,root)
%{_libdir}/liboath.so
%dir %{_includedir}/liboath
%{_includedir}/liboath/oath.h
%{_libdir}/pkgconfig/liboath.pc
%changelog