4940ec
%global commit 21aa122b5b2f107939f696297d58fe3c16d3ac7b
4940ec
%global shortcommit %(c=%{commit}; echo ${c:0:7})
4940ec
d13bce
%global selinux_variants mls strict targeted
Konstantin Ryabitsev fa5049
d13bce
%global totpcgiuser     totpcgi
d13bce
%global totpcgiprovuser totpcgiprov
Konstantin Ryabitsev fa5049
d13bce
%global fixfiles_dirs %{_localstatedir}/www/totpcgi %{_localstatedir}/www/totpcgi-provisioning %{_localstatedir}/lib/totpcgi %{_sysconfdir}/totpcgi
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
Name:       totpcgi
4940ec
Version:    0.6.0
4940ec
Release:    0.1.20190713git%{?dist}
Konstantin Ryabitsev fa5049
Summary:    A centralized totp solution based on google-authenticator
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
License:    GPLv2+
Konstantin Ryabitsev fa5049
URL:        https://github.com/mricon/totp-cgi
4940ec
Source0:    https://github.com/mricon/totp-cgi/archive/%{commit}/totp-cgi-%{shortcommit}.tar.gz
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
BuildArch:  noarch
Konstantin Ryabitsev fa5049
4940ec
BuildRequires: checkpolicy, selinux-policy-devel, python3-devel
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
Requires:   httpd, mod_ssl
4940ec
Requires:   python3-totpcgi = %{version}-%{release}
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
%description
Konstantin Ryabitsev fa5049
A CGI/FCGI application to centralize google-authenticator deployments.
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
4940ec
%package -n python3-totpcgi
Konstantin Ryabitsev fa5049
Summary:    Python libraries required for totpcgi
4940ec
Requires:   python3-bcrypt, python3-pyotp, python3-crypto, python3-passlib
Konstantin Ryabitsev fa5049
4940ec
%description -n python3-totpcgi
Konstantin Ryabitsev fa5049
This package includes the Python libraries required for totpcgi and
Konstantin Ryabitsev fa5049
totpcgi-provisioning.
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
%package provisioning
Konstantin Ryabitsev fa5049
Summary:    CGI for Google Authenticator provisioning using totpcgi
4940ec
Requires:   python3-totpcgi = %{version}-%{release}
4940ec
Requires:   httpd, mod_ssl, python3-qrcode
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
%description provisioning
Konstantin Ryabitsev fa5049
This package provides the CGI for provisioning Google Authenticator tokens
Konstantin Ryabitsev fa5049
used by totpcgi.
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
%package selinux
Konstantin Ryabitsev fa5049
Summary:    SELinux policies for totpcgi
4940ec
Requires:   python3-%{name} = %{version}-%{release}
4940ec
Requires:   selinux-policy >= %{_selinux_policy_version}
Konstantin Ryabitsev fa5049
Requires(post):   /usr/sbin/semodule, /sbin/restorecon, /sbin/fixfiles
Konstantin Ryabitsev fa5049
Requires(postun): /usr/sbin/semodule, /sbin/restorecon, /sbin/fixfiles
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
%description selinux
Konstantin Ryabitsev fa5049
This package includes SELinux policy for totpcgi and totpcgi-provisioning.
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
%prep
4940ec
%autosetup -n totp-cgi-%{commit}
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
%build
4940ec
%py3_build
Konstantin Ryabitsev fa5049
pushd selinux
Konstantin Ryabitsev fa5049
for selinuxvariant in %{selinux_variants}
Konstantin Ryabitsev fa5049
do
Konstantin Ryabitsev fa5049
  make NAME=${selinuxvariant} -f /usr/share/selinux/devel/Makefile
Konstantin Ryabitsev fa5049
  mv totpcgi.pp totpcgi.pp.${selinuxvariant}
Konstantin Ryabitsev fa5049
  make NAME=${selinuxvariant} -f /usr/share/selinux/devel/Makefile clean
Konstantin Ryabitsev fa5049
done
Konstantin Ryabitsev fa5049
popd
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
%install
4940ec
%py3_install
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
# Install config files
Konstantin Ryabitsev fa5049
mkdir -p -m 0750  %{buildroot}%{_sysconfdir}/totpcgi
Konstantin Ryabitsev fa5049
mkdir -p -m 0750 \
Konstantin Ryabitsev fa5049
    %{buildroot}%{_sysconfdir}/totpcgi/totp \
Konstantin Ryabitsev fa5049
    %{buildroot}%{_sysconfdir}/totpcgi/templates
Konstantin Ryabitsev fa5049
install -m 0640 conf/*.conf %{buildroot}%{_sysconfdir}/totpcgi/
Konstantin Ryabitsev fa5049
install -m 0640 conf/templates/*.html %{buildroot}%{_sysconfdir}/totpcgi/templates/
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
# Create the state directory
Konstantin Ryabitsev 1e08ea
mkdir -p -m 0770 %{buildroot}%{_localstatedir}/lib/totpcgi
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
# Create the CGI dirs
Konstantin Ryabitsev fa5049
mkdir -p -m 0751 \
Konstantin Ryabitsev fa5049
    %{buildroot}%{_localstatedir}/www/totpcgi \
Konstantin Ryabitsev fa5049
    %{buildroot}%{_localstatedir}/www/totpcgi-provisioning
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
# Install the web files
Konstantin Ryabitsev fa5049
install -m 0550 cgi/totp.cgi \
Konstantin Ryabitsev fa5049
    %{buildroot}%{_localstatedir}/www/totpcgi/index.cgi
Konstantin Ryabitsev fa5049
install -m 0550 cgi/provisioning.cgi \
Konstantin Ryabitsev fa5049
    %{buildroot}%{_localstatedir}/www/totpcgi-provisioning/index.cgi
Konstantin Ryabitsev fa5049
install -m 0644 cgi/*.css \
Konstantin Ryabitsev fa5049
    %{buildroot}%{_localstatedir}/www/totpcgi-provisioning/
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
# Install the httpd config files
Konstantin Ryabitsev fa5049
mkdir -p -m 0755 %{buildroot}%{_sysconfdir}/httpd/conf.d
Konstantin Ryabitsev fa5049
install -m 0644 contrib/vhost-totpcgi.conf \
Konstantin Ryabitsev fa5049
    %{buildroot}%{_sysconfdir}/httpd/conf.d/totpcgi.conf
Konstantin Ryabitsev fa5049
install -m 0644 contrib/vhost-totpcgi-provisioning.conf \
Konstantin Ryabitsev fa5049
    %{buildroot}%{_sysconfdir}/httpd/conf.d/totpcgi-provisioning.conf
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
# Install totpprov script and manpage
Konstantin Ryabitsev fa5049
mkdir -p -m 0755 %{buildroot}%{_bindir}
Konstantin Ryabitsev fa5049
install -m 0755 contrib/totpprov.py %{buildroot}%{_bindir}/totpprov
Konstantin Ryabitsev 1e08ea
mkdir -p -m 0755 %{buildroot}%{_mandir}/man1
Konstantin Ryabitsev 1e08ea
install -m 0644 contrib/totpprov.1 %{buildroot}%{_mandir}/man1/
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
# Install SELinux files
Konstantin Ryabitsev fa5049
for selinuxvariant in %{selinux_variants}
Konstantin Ryabitsev fa5049
do
Konstantin Ryabitsev fa5049
  install -d %{buildroot}%{_datadir}/selinux/${selinuxvariant}
Konstantin Ryabitsev fa5049
  install -p -m 644 selinux/totpcgi.pp.${selinuxvariant} \
Konstantin Ryabitsev fa5049
    %{buildroot}%{_datadir}/selinux/${selinuxvariant}/totpcgi.pp
Konstantin Ryabitsev fa5049
done
f58572
/usr/bin/hardlink -cv %{buildroot}%{_datadir}/selinux
Konstantin Ryabitsev fa5049
f58572
# fix python shebangs
4940ec
sed -i -e 's|/usr/bin/env python|/usr/bin/python3|' %{buildroot}/var/www/totpcgi/index.cgi
4940ec
sed -i -e 's|/usr/bin/env python|/usr/bin/python3|' %{buildroot}/var/www/totpcgi-provisioning/index.cgi
4940ec
sed -i -e 's|/usr/bin/env python|/usr/bin/python3|' %{buildroot}/usr/bin/totpprov
Konstantin Ryabitsev fa5049
4940ec
%pre -n python3-totpcgi
Konstantin Ryabitsev fa5049
# We always add both the totpcgi and totpcgi-provisioning user
Konstantin Ryabitsev fa5049
/usr/sbin/useradd -c "Totpcgi user" \
Konstantin Ryabitsev fa5049
    -M -s /sbin/nologin -d /var/lib/totpcgi %{totpcgiuser} 2> /dev/null || :
Konstantin Ryabitsev fa5049
/usr/sbin/useradd -c "Totpcgi provisioning user" \
Konstantin Ryabitsev fa5049
    -M -s /sbin/nologin -d /etc/totpcgi %{totpcgiprovuser} 2> /dev/null || :
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
# For some reason the labeling doesn't always happen correctly
Konstantin Ryabitsev fa5049
# force it if fixfiles exists
Konstantin Ryabitsev fa5049
%post
Konstantin Ryabitsev fa5049
if [ -f /sbin/fixfiles ] ; then
Konstantin Ryabitsev fa5049
  /sbin/fixfiles -R totpcgi restore || :
Konstantin Ryabitsev fa5049
fi
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
# For some reason the labeling doesn't always happen correctly
Konstantin Ryabitsev fa5049
# force it if fixfiles exists
Konstantin Ryabitsev fa5049
%post provisioning
Konstantin Ryabitsev fa5049
if [ -f /sbin/fixfiles ] ; then
Konstantin Ryabitsev fa5049
  /sbin/fixfiles -R totpcgi-provisioning restore || :
Konstantin Ryabitsev fa5049
fi
Konstantin Ryabitsev 1e08ea
# make sure /var/lib/totpcgi is 0770 totpcgiprov:totpcgi
Konstantin Ryabitsev 1e08ea
chown -R %{totpcgiprovuser}:%{totpcgiuser} %{_localstatedir}/lib/totpcgi || :
Konstantin Ryabitsev 1e08ea
chmod 0770 %{_localstatedir}/lib/totpcgi || :
Konstantin Ryabitsev 1e08ea
# make sure state files are accessible to provisioning
Konstantin Ryabitsev 1e08ea
chmod 0660 %{_localstatedir}/lib/totpcgi/*.json >/dev/null 2>&1 || :
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
%post selinux
Konstantin Ryabitsev fa5049
for selinuxvariant in %{selinux_variants}
Konstantin Ryabitsev fa5049
do
Konstantin Ryabitsev fa5049
  /usr/sbin/semodule -s ${selinuxvariant} -i \
Konstantin Ryabitsev fa5049
    %{_datadir}/selinux/${selinuxvariant}/totpcgi.pp &> /dev/null || :
Konstantin Ryabitsev fa5049
done
Konstantin Ryabitsev fa5049
/sbin/fixfiles restore %{fixfiles_dirs} || :
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
%postun selinux
Konstantin Ryabitsev fa5049
if [ $1 -eq 0 ] ; then
Konstantin Ryabitsev fa5049
  for selinuxvariant in %{selinux_variants}
Konstantin Ryabitsev fa5049
  do
Konstantin Ryabitsev fa5049
    /usr/sbin/semodule -s ${selinuxvariant} -r totpcgi &> /dev/null || :
Konstantin Ryabitsev fa5049
  done
Konstantin Ryabitsev fa5049
  /sbin/fixfiles restore %{fixfiles_dirs} || :
Konstantin Ryabitsev fa5049
fi
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
%files
Konstantin Ryabitsev fa5049
%doc README.rst INSTALL.rst
Konstantin Ryabitsev fa5049
%doc contrib
Konstantin Ryabitsev fa5049
%doc cgi/totp.fcgi
Konstantin Ryabitsev fa5049
%dir %attr(-, %{totpcgiuser}, %{totpcgiuser}) %{_localstatedir}/www/totpcgi
Konstantin Ryabitsev fa5049
%attr(-, %{totpcgiuser}, %{totpcgiuser}) %{_localstatedir}/www/totpcgi/*.cgi
Konstantin Ryabitsev fa5049
%config(noreplace) %attr(-, -, %{totpcgiuser}) %{_sysconfdir}/totpcgi/totpcgi.conf
Konstantin Ryabitsev fa5049
%config(noreplace) %{_sysconfdir}/httpd/conf.d/totpcgi.conf
Konstantin Ryabitsev 1e08ea
%attr(-, %{totpcgiprovuser}, %{totpcgiuser}) %{_localstatedir}/lib/totpcgi
Konstantin Ryabitsev fa5049
4940ec
%files -n python3-totpcgi
Konstantin Ryabitsev fa5049
%doc COPYING
4940ec
%{python3_sitelib}/*
Konstantin Ryabitsev fa5049
%dir %attr(-, %{totpcgiprovuser}, %{totpcgiuser}) %{_sysconfdir}/totpcgi
Konstantin Ryabitsev fa5049
%dir %attr(-, %{totpcgiprovuser}, %{totpcgiuser}) %{_sysconfdir}/totpcgi/totp
Konstantin Ryabitsev fa5049
%config(noreplace) %attr(-, -, %{totpcgiprovuser}) %{_sysconfdir}/totpcgi/provisioning.conf
Konstantin Ryabitsev fa5049
%{_bindir}/*
Konstantin Ryabitsev fa5049
%{_mandir}/*/*
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
%files provisioning
Konstantin Ryabitsev fa5049
%dir %attr(-, %{totpcgiprovuser}, %{totpcgiprovuser}) %{_localstatedir}/www/totpcgi-provisioning
Konstantin Ryabitsev fa5049
%attr(-, %{totpcgiprovuser}, %{totpcgiprovuser}) %{_localstatedir}/www/totpcgi-provisioning/*.cgi
Konstantin Ryabitsev fa5049
%config(noreplace) %{_localstatedir}/www/totpcgi-provisioning/*.css
Konstantin Ryabitsev fa5049
%config(noreplace) %{_sysconfdir}/httpd/conf.d/totpcgi-provisioning.conf
Konstantin Ryabitsev fa5049
%dir %attr(-, -, %{totpcgiprovuser}) %{_sysconfdir}/totpcgi/templates
Konstantin Ryabitsev fa5049
%config(noreplace) %attr(-, -, %{totpcgiprovuser}) %{_sysconfdir}/totpcgi/templates/*.html
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
%files selinux
Konstantin Ryabitsev fa5049
%doc selinux/*.{fc,if,sh,te}
Konstantin Ryabitsev fa5049
%{_datadir}/selinux/*/totpcgi.pp
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
%changelog
4940ec
* Sat Jul 13 2019 Kevin Fenzi <kevin@scrye.com> - 0.6.0-0.1-20190713git
4940ec
- Update to git head as of 20190713. 0.6.0 pre release.
4940ec
f58572
* Sat Jun 22 2019 Kevin Fenzi <kevin@scrye.com> - 0.5.5-20
f58572
- Fix further FTBFS bugs. Fixes #1676151
f58572
aba8f6
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-19
aba8f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
aba8f6
a5a639
* Tue Jul 24 2018 Miro Hrončok <mhroncok@redhat.com> - 0.5.5-18
a5a639
- Update Python macros to new packaging standards
a5a639
  (See https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package)
a5a639
907df4
* Sat Jul 21 2018 Kevin Fenzi <kevin@scrye.com> - 0.5.5-17
907df4
- Fix FTBFS bug #1606539
907df4
7a8f8f
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-16
7a8f8f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
7a8f8f
2da0fa
* Fri Mar 23 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.5.5-15
2da0fa
- Update Python 2 dependency declarations to new packaging standards
2da0fa
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
2da0fa
7aa21d
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-14
7aa21d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7aa21d
9bc70d
* Sun Dec 24 2017 Kevin Fenzi <kevin@scrye.com> - 0.5.5-13
9bc70d
- Drop dep on policyhelp. Fixes bug #1528774
9bc70d
e63e80
* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.5.5-12
e63e80
- Python 2 binary package renamed to python2-totpcgi
e63e80
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
e63e80
43e823
* Wed Aug 09 2017 Gwyn Ciesla <limburgher@gmail.com> - 0.5.5-11
43e823
- Switch to python-bcrypt, BZ 1473018.
43e823
dbfda1
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-10
dbfda1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
dbfda1
79b94e
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-9
79b94e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
79b94e
76dae8
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-8
76dae8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
76dae8
d13bce
* Sat Dec 26 2015 Kevin Fenzi <kevin@scrye.com> - 0.5.5-7
d13bce
- Fix define vs global
d13bce
c54c7d
* Wed Aug 05 2015 Kevin Fenzi <kevin@scrye.com> 0.5.5-6
c54c7d
- Apply patch for selinux policy changes. 
c54c7d
- Fixes bug #1249121
c54c7d
418ac9
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.5-5
418ac9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
418ac9
2826a2
* Thu Nov 13 2014 Till Maas <opensource@till.name> - 0.5.5-4
2826a2
- Update selinux policy, adjust types and other call
2826a2
7094cb
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.5-3
7094cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
7094cb
7a7401
* Wed May  7 2014 Michael Schwendt <mschwendt@fedoraproject.org> - 0.5.5-2
7a7401
- Use %%_selinux_policy_version macro for totpcgi-selinux dependency
7a7401
  (as defined in /usr/lib/rpm/macros.d/macros.selinux-policy) to fix
7a7401
  invalid dependency on file:///usr/share/doc/selinux-policy/html/index.html
7a7401
Konstantin Ryabitsev 1e08ea
* Fri Sep 20 2013 Konstantin Ryabitsev <mricon@kernel.org> - 0.5.5-1
Konstantin Ryabitsev 1e08ea
- Upstream 0.5.5 with new features.
Konstantin Ryabitsev 1e08ea
a5d9f2
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.4-3
a5d9f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a5d9f2
7268c1
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.4-2
7268c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7268c1
Konstantin Ryabitsev 48d40e
* Mon Dec 03 2012 Konstantin Ryabitsev <mricon@kernel.org> - 0.5.4-1
Konstantin Ryabitsev 48d40e
- Upstream 0.5.4 with security fixes.
Konstantin Ryabitsev 48d40e
Konstantin Ryabitsev fa5049
* Wed Nov 28 2012 Konstantin Ryabitsev <mricon@kernel.org> - 0.5.3-2
Konstantin Ryabitsev fa5049
- Minor fixes for fedora-review (RHBZ #880863)
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
* Tue Nov 27 2012 Konstantin Ryabitsev <mricon@kernel.org> - 0.5.3-1
Konstantin Ryabitsev fa5049
- Release 0.5.3 with minor fixes.
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
* Mon Nov 26 2012 Andrew Grimberg <agrimberg@linuxfoundation.org> - 0.5.2-2
Konstantin Ryabitsev fa5049
- Move the user adds for totpcgi & totpcgiprov to python-totpcgi package
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
* Mon Nov 19 2012 Konstantin Ryabitsev <mricon@kernel.org> - 0.5.2-1
Konstantin Ryabitsev fa5049
- Release 0.5.2 with a fix for a potential replay attack in case the
Konstantin Ryabitsev fa5049
  pincode was submitted with a typo (issue #12)
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
* Fri Jun 29 2012 Konstantin Ryabitsev <mricon@kernel.org> - 0.5.1-1
Konstantin Ryabitsev fa5049
- Release 0.5.1 with trust_http_auth functionality.
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
* Wed May 30 2012 Andrew Grimberg <agrimberg@linuxfoundation.org> - 0.5.0-2
Konstantin Ryabitsev fa5049
- Reorder the package dependencies slightly
Konstantin Ryabitsev fa5049
- Add in post scripts for totpcgi & totpcgi-provisioning for SE labeling
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
* Wed May 30 2012 Konstantin Ryabitsev <mricon@kernel.org> - 0.5.0-2
Konstantin Ryabitsev fa5049
- Use a manual fixfiles list, as we have more than one package
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
* Thu May 24 2012 Konstantin Ryabitsev <mricon@kernel.org> - 0.5.0-1
Konstantin Ryabitsev fa5049
- Split into more packages: totpcgi, python-totpcgi, totpcgi-provisioning, totpcgi-selinux
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
* Tue May 08 2012 Konstantin Ryabitsev <mricon@kernel.org> - 0.4.0-1
Konstantin Ryabitsev fa5049
- Update to 0.4.0, which adds encrypted-secret functionality.
Konstantin Ryabitsev fa5049
- Require python-crypto and python-passlib
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
* Fri May 04 2012 Konstantin Ryabitsev <mricon@kernel.org> - 0.3.1-3
Konstantin Ryabitsev fa5049
- Package SELinux using Fedora's guidelines.
Konstantin Ryabitsev fa5049
- Add contrib dir in its entirety.
Konstantin Ryabitsev fa5049
- Use config(noreplace).
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
* Tue May 01 2012 Andrew Grimberg <agrimberg@linuxfoundation.org> - 0.3.1-2
Konstantin Ryabitsev fa5049
- Exceptions on bad passwords to LDAP
Konstantin Ryabitsev fa5049
- Config for CA cert to use for verification
Konstantin Ryabitsev fa5049
- PostgreSQL pincode & secrets backends
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
* Thu Apr 12 2012 Andrew Grimberg <agrimberg@linuxfoundation.org> - 0.3.0-1
Konstantin Ryabitsev fa5049
- Bump version number
Konstantin Ryabitsev fa5049
- Split backend system
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
* Wed Apr 11 2012 Andrew Grimberg <agrimberg@linuxfoundation.org> - 0.2.0-4
Konstantin Ryabitsev fa5049
- Add in pincode.py script
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
* Mon Mar 26 2012 Andrew Grimberg <agrimberg@linuxfoundation.org> - 0.2.0-3
Konstantin Ryabitsev fa5049
- Fix path perms for /var/www/totpcgi so that apache can chdir
Konstantin Ryabitsev fa5049
- Reduce perms on /var/www/totpcgi/totp.cgi to bare minimum
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
* Fri Mar 23 2012 Konstantin Ryabitsev <mricon@kernel.org> - 0.2.0-2
Konstantin Ryabitsev fa5049
- Update to better match Fedora's spec standards.
Konstantin Ryabitsev fa5049
Konstantin Ryabitsev fa5049
* Wed Mar 21 2012 Andrew Grimberg <agrimberg@linuxfoundation.org> - 0.2.0-1
Konstantin Ryabitsev fa5049
- Initial spec file creation and packaging