|
|
0a6d4e |
Name: oath-toolkit
|
|
|
0a6d4e |
Version: 2.6.7
|
|
|
0a6d4e |
Release: 3%{?dist}
|
|
|
0a6d4e |
License: GPLv3+
|
|
|
0a6d4e |
Summary: One-time password components
|
|
|
0a6d4e |
BuildRequires: make
|
|
|
0a6d4e |
BuildRequires: pam-devel
|
|
|
0a6d4e |
BuildRequires: gtk-doc
|
|
|
0a6d4e |
BuildRequires: libtool
|
|
|
0a6d4e |
BuildRequires: libtool-ltdl-devel
|
|
|
0a6d4e |
BuildRequires: xmlsec1-devel
|
|
|
0a6d4e |
BuildRequires: xmlsec1-openssl-devel
|
|
|
0a6d4e |
BuildRequires: autoconf
|
|
|
0a6d4e |
BuildRequires: automake
|
|
|
0a6d4e |
Source0: https://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}.tar.gz
|
|
|
0a6d4e |
URL: https://www.nongnu.org/oath-toolkit/
|
|
|
0a6d4e |
Patch0: oath-toolkit-2.6.7-lockfile.patch
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%description
|
|
|
0a6d4e |
The OATH Toolkit provide components for building one-time password
|
|
|
0a6d4e |
authentication systems. It contains shared libraries, command line tools and a
|
|
|
0a6d4e |
PAM module. Supported technologies include the event-based HOTP algorithm
|
|
|
0a6d4e |
(RFC4226) and the time-based TOTP algorithm (RFC6238). OATH stands for Open
|
|
|
0a6d4e |
AuTHentication, which is the organization that specify the algorithms. For
|
|
|
0a6d4e |
managing secret key files, the Portable Symmetric Key Container (PSKC) format
|
|
|
0a6d4e |
described in RFC6030 is supported.
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%package -n liboath
|
|
|
0a6d4e |
Summary: Library for OATH handling
|
|
|
0a6d4e |
License: LGPLv2+
|
|
|
0a6d4e |
# https://fedorahosted.org/fpc/ticket/174
|
|
|
0a6d4e |
Provides: bundled(gnulib)
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%description -n liboath
|
|
|
0a6d4e |
OATH stands for Open AuTHentication, which is the organization that
|
|
|
0a6d4e |
specify the algorithms. Supported technologies include the event-based
|
|
|
0a6d4e |
HOTP algorithm (RFC4226) and the time-based TOTP algorithm (RFC6238).
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%package -n liboath-devel
|
|
|
0a6d4e |
Summary: Development files for liboath
|
|
|
0a6d4e |
License: LGPLv2+
|
|
|
0a6d4e |
Requires: liboath%{?_isa} = %{version}-%{release}
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%description -n liboath-devel
|
|
|
0a6d4e |
Development files for liboath.
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%package -n liboath-doc
|
|
|
0a6d4e |
Summary: Documentation files for liboath
|
|
|
0a6d4e |
License: LGPLv2+
|
|
|
0a6d4e |
Requires: liboath = %{version}-%{release}
|
|
|
0a6d4e |
Requires: gtk-doc
|
|
|
0a6d4e |
BuildArch: noarch
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%description -n liboath-doc
|
|
|
0a6d4e |
Documentation files for liboath.
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%package -n libpskc
|
|
|
0a6d4e |
Summary: Library for PSKC handling
|
|
|
0a6d4e |
License: LGPLv2+
|
|
|
0a6d4e |
Requires: xml-common
|
|
|
0a6d4e |
# https://fedorahosted.org/fpc/ticket/174
|
|
|
0a6d4e |
Provides: bundled(gnulib)
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%description -n libpskc
|
|
|
0a6d4e |
Library for managing secret key files, the Portable Symmetric Key
|
|
|
0a6d4e |
Container (PSKC) format described in RFC6030 is supported.
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%package -n libpskc-devel
|
|
|
0a6d4e |
Summary: Development files for libpskc
|
|
|
0a6d4e |
License: LGPLv2+
|
|
|
0a6d4e |
Requires: libpskc%{?_isa} = %{version}-%{release}
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%description -n libpskc-devel
|
|
|
0a6d4e |
Development files for libpskc.
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%package -n libpskc-doc
|
|
|
0a6d4e |
Summary: Documentation files for libpskc
|
|
|
0a6d4e |
License: LGPLv2+
|
|
|
0a6d4e |
Requires: libpskc = %{version}-%{release}
|
|
|
0a6d4e |
Requires: gtk-doc
|
|
|
0a6d4e |
BuildArch: noarch
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%description -n libpskc-doc
|
|
|
0a6d4e |
Documentation files for libpskc.
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%package -n oathtool
|
|
|
0a6d4e |
Summary: A command line tool for generating and validating OTPs
|
|
|
0a6d4e |
License: GPLv3+
|
|
|
0a6d4e |
# https://fedorahosted.org/fpc/ticket/174
|
|
|
0a6d4e |
Provides: bundled(gnulib)
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%description -n oathtool
|
|
|
0a6d4e |
A command line tool for generating and validating OTPs.
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%package -n pskctool
|
|
|
0a6d4e |
Summary: A command line tool for manipulating PSKC data
|
|
|
0a6d4e |
# https://fedorahosted.org/fpc/ticket/174
|
|
|
0a6d4e |
Provides: bundled(gnulib)
|
|
|
0a6d4e |
Requires: xmlsec1-openssl%{?_isa}
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%description -n pskctool
|
|
|
0a6d4e |
A command line tool for manipulating PSKC data.
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%package -n pam_oath
|
|
|
0a6d4e |
Summary: A PAM module for pluggable login authentication for OATH
|
|
|
0a6d4e |
Requires: pam
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%description -n pam_oath
|
|
|
0a6d4e |
A PAM module for pluggable login authentication for OATH.
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%prep
|
|
|
0a6d4e |
%setup -q
|
|
|
0a6d4e |
%patch0 -p1 -b .lockfile
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%build
|
|
|
0a6d4e |
autoreconf -fi
|
|
|
0a6d4e |
%configure --with-pam-dir=%{_libdir}/security
|
|
|
0a6d4e |
|
|
|
0a6d4e |
# Kill rpaths and link with --as-needed
|
|
|
0a6d4e |
for d in liboath libpskc pskctool oathtool pam_oath
|
|
|
0a6d4e |
do
|
|
|
0a6d4e |
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' $d/libtool
|
|
|
0a6d4e |
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' $d/libtool
|
|
|
0a6d4e |
sed -i 's| -shared | -Wl,--as-needed\0|g' $d/libtool
|
|
|
0a6d4e |
done
|
|
|
0a6d4e |
|
|
|
0a6d4e |
make %{?_smp_mflags}
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%install
|
|
|
0a6d4e |
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
|
|
0a6d4e |
|
|
|
0a6d4e |
# Remove static objects and libtool files
|
|
|
0a6d4e |
rm -f %{buildroot}%{_libdir}/*.{a,la}
|
|
|
0a6d4e |
rm -f %{buildroot}%{_libdir}/security/*.la
|
|
|
0a6d4e |
|
|
|
0a6d4e |
# Make /etc/liboath directory
|
|
|
0a6d4e |
mkdir -p -m 0600 %{buildroot}%{_sysconfdir}/liboath
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%ldconfig_scriptlets -n liboath
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%ldconfig_scriptlets -n libpskc
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%files -n liboath
|
|
|
0a6d4e |
%doc liboath/COPYING
|
|
|
0a6d4e |
%attr(0600, root, root) %dir %{_sysconfdir}/liboath
|
|
|
0a6d4e |
%{_libdir}/liboath.so.*
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%files -n liboath-devel
|
|
|
0a6d4e |
%{_includedir}/liboath
|
|
|
0a6d4e |
%{_libdir}/liboath.so
|
|
|
0a6d4e |
%{_libdir}/pkgconfig/liboath.pc
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%files -n liboath-doc
|
|
|
0a6d4e |
%{_mandir}/man3/oath*
|
|
|
0a6d4e |
%{_datadir}/gtk-doc/html/liboath/*
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%files -n libpskc
|
|
|
0a6d4e |
%doc libpskc/README
|
|
|
0a6d4e |
%{_libdir}/libpskc.so.*
|
|
|
0a6d4e |
%{_datadir}/xml/pskc
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%files -n libpskc-devel
|
|
|
0a6d4e |
%{_includedir}/pskc
|
|
|
0a6d4e |
%{_libdir}/libpskc.so
|
|
|
0a6d4e |
%{_libdir}/pkgconfig/libpskc.pc
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%files -n libpskc-doc
|
|
|
0a6d4e |
%{_mandir}/man3/pskc*
|
|
|
0a6d4e |
%{_datadir}/gtk-doc/html/libpskc/*
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%files -n oathtool
|
|
|
0a6d4e |
%doc oathtool/COPYING
|
|
|
0a6d4e |
%{_bindir}/oathtool
|
|
|
0a6d4e |
%{_mandir}/man1/oathtool.*
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%files -n pskctool
|
|
|
0a6d4e |
%{_bindir}/pskctool
|
|
|
0a6d4e |
%{_mandir}/man1/pskctool.*
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%files -n pam_oath
|
|
|
0a6d4e |
%doc pam_oath/README pam_oath/COPYING
|
|
|
0a6d4e |
%{_libdir}/security/pam_oath.so
|
|
|
0a6d4e |
|
|
|
0a6d4e |
%changelog
|
|
|
0a6d4e |
* Wed Sep 15 2021 Kaleb S. KEITHLEY <kkeithle [at] redhat.com> - 2.6.7-3
|
|
|
0a6d4e |
- rebuild with git+lookaside
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.7-2
|
|
|
0a6d4e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Mon May 3 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.6.7-1
|
|
|
0a6d4e |
- New version
|
|
|
0a6d4e |
Resolves: rhbz#1955967
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.6-2
|
|
|
0a6d4e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Wed Jan 20 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.6.6-1
|
|
|
0a6d4e |
- New version
|
|
|
0a6d4e |
Resolves: rhbz#1918498
|
|
|
0a6d4e |
- Updated source URL
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Mon Jan 4 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.6.5-1
|
|
|
0a6d4e |
- New version
|
|
|
0a6d4e |
Resolves: rhbz#1911419
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Thu Nov 12 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 2.6.4-1
|
|
|
0a6d4e |
- New version
|
|
|
0a6d4e |
Resolves: rhbz#1896920
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Mon Nov 9 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 2.6.3-1
|
|
|
0a6d4e |
- New version
|
|
|
0a6d4e |
Resolves: rhbz#1895618
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.2-6
|
|
|
0a6d4e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Mon May 4 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 2.6.2-5
|
|
|
0a6d4e |
- Added support for configurable lock file locations and set the default path
|
|
|
0a6d4e |
Resolves: rhbz#1178036
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.2-4
|
|
|
0a6d4e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.2-3
|
|
|
0a6d4e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.2-2
|
|
|
0a6d4e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Fri Jul 20 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.6.2-1
|
|
|
0a6d4e |
- New version
|
|
|
0a6d4e |
- Fixed FTBFS
|
|
|
0a6d4e |
Resolves: rhbz#1605276
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-7
|
|
|
0a6d4e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-6
|
|
|
0a6d4e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-5
|
|
|
0a6d4e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-4
|
|
|
0a6d4e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-3
|
|
|
0a6d4e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-2
|
|
|
0a6d4e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Tue Aug 4 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.6.1-1
|
|
|
0a6d4e |
- New version
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-2
|
|
|
0a6d4e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Thu May 21 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.6.0-1
|
|
|
0a6d4e |
- New version
|
|
|
0a6d4e |
- Dropped strdup-null-check patch (upstreamed)
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Fri Jan 30 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.1-9
|
|
|
0a6d4e |
- Fixed invalid reads in libpskc due to references to old (freed) xmlDoc
|
|
|
0a6d4e |
(by retain-original-xmldoc patch), patch provided by David Woodhouse
|
|
|
0a6d4e |
Resolves: rhbz#1129491
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Tue Nov 11 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.1-8
|
|
|
0a6d4e |
- Removed RHEL conditionals (not needed any more)
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Fri Nov 7 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.1-7
|
|
|
0a6d4e |
- Added check for strdup failure (by strdup-null-check patch)
|
|
|
0a6d4e |
Resolves: rhbz#1161360
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-6
|
|
|
0a6d4e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Tue Aug 5 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.1-5
|
|
|
0a6d4e |
- Added support for RHEL (i.e. no PSKC yet on RHEL)
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-4
|
|
|
0a6d4e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Thu Feb 20 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.1-3
|
|
|
0a6d4e |
- Added xmlsec1-openssl to requires
|
|
|
0a6d4e |
Resolves: rhbz#1066477
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Mon Feb 17 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.1-2
|
|
|
0a6d4e |
- Added xmlsec1-openssl-devel to buildrequires
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Thu Feb 13 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.1-1
|
|
|
0a6d4e |
- New version
|
|
|
0a6d4e |
Resolves: rhbz#1064764
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-2
|
|
|
0a6d4e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Tue Jul 23 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.0-1
|
|
|
0a6d4e |
- New version
|
|
|
0a6d4e |
Resolves: rhbz#987378
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Wed Jul 10 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.2.0-1
|
|
|
0a6d4e |
- New version
|
|
|
0a6d4e |
Resolves: rhbz#982986
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Wed Jun 5 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.2-3
|
|
|
0a6d4e |
- Fixed requirements according to reviewer comments
|
|
|
0a6d4e |
- Linked with --as-needed
|
|
|
0a6d4e |
- Fixed man pages (by man-fix patch)
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Mon Apr 8 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.2-2
|
|
|
0a6d4e |
- Added /etc/liboath directory to hold configuration / user lists
|
|
|
0a6d4e |
|
|
|
0a6d4e |
* Sun Apr 07 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.2-1
|
|
|
0a6d4e |
- Initial version
|