|
|
e2c15b1 |
Summary: PAM bindings for Python
|
|
|
e2c15b1 |
Name: PyPAM
|
|
|
e2c15b1 |
Version: 0.5.0
|
|
|
f6ca0c7 |
Release: 45%{?dist}
|
|
|
3203dca |
# Note that the upstream site is dead.
|
|
|
e2c15b1 |
Source0: http://www.pangalactic.org/PyPAM/%{name}-%{version}.tar.gz
|
|
|
e2c15b1 |
Url: http://www.pangalactic.org/PyPAM
|
|
|
e2c15b1 |
Patch0: PyPAM-dlopen.patch
|
|
|
c74fcee |
Patch1: PyPAM-0.5.0-dealloc.patch
|
|
|
7464aac |
Patch2: PyPAM-0.5.0-nofree.patch
|
|
|
3203dca |
Patch3: PyPAM-0.5.0-memory-errors.patch
|
|
|
ac237f7 |
Patch4: PyPAM-0.5.0-return-value.patch
|
|
|
080e64c |
Patch5: PyPAM-python3-support.patch
|
|
|
e2c15b1 |
License: LGPLv2
|
|
|
ddf9712 |
BuildRequires: pam-devel
|
|
|
1c39550 |
BuildRequires: gcc
|
|
|
080e64c |
%filter_provides_in %{python3_sitearch}/PAM*.so$
|
|
|
e2c15b1 |
%filter_setup
|
|
|
e2c15b1 |
|
|
|
ec6d7b1 |
%global _description\
|
|
|
e2c15b1 |
PAM (Pluggable Authentication Module) bindings for Python.
|
|
|
e2c15b1 |
|
|
|
ec6d7b1 |
%description %_description
|
|
|
ec6d7b1 |
|
|
|
080e64c |
%package -n python3-PyPAM
|
|
|
080e64c |
Summary: PAM bindings for Python 3
|
|
|
080e64c |
BuildRequires: python3-devel
|
|
|
080e64c |
|
|
|
080e64c |
%description -n python3-PyPAM
|
|
|
080e64c |
PAM (Pluggable Authentication Module) bindings for Python 3.
|
|
|
080e64c |
|
|
|
e2c15b1 |
%prep
|
|
|
e2c15b1 |
%setup -q
|
|
|
e2c15b1 |
%patch0 -p1 -b .dlopen
|
|
|
92996d6 |
%patch1 -p1 -b .dealloc
|
|
|
7464aac |
%patch2 -p1 -b .nofree
|
|
|
3203dca |
%patch3 -p1 -b .memory
|
|
|
ac237f7 |
%patch4 -p1 -b .retval
|
|
|
080e64c |
%patch5 -p0 -b .python3
|
|
|
e2c15b1 |
# remove prebuild rpm and others binaries
|
|
|
e2c15b1 |
rm -rf build dist
|
|
|
e2c15b1 |
|
|
|
e2c15b1 |
%build
|
|
|
8504aeb |
%set_build_flags
|
|
|
8504aeb |
CFLAGS="$CFLAGS -fno-strict-aliasing" %{__python3} setup.py build
|
|
|
080e64c |
|
|
|
e2c15b1 |
%install
|
|
|
080e64c |
%{__python3} setup.py install --root=$RPM_BUILD_ROOT
|
|
|
080e64c |
|
|
|
e2c15b1 |
# Make sure we don't include binary files in the docs
|
|
|
e2c15b1 |
chmod 644 examples/pamtest.py
|
|
|
e2c15b1 |
rm -f examples/pamexample
|
|
|
e2c15b1 |
|
|
|
080e64c |
%check
|
|
|
080e64c |
PYTHONPATH=build/lib.linux-`uname -m`-%{python3_version}/ %{__python3} tests/PamTest.py
|
|
|
080e64c |
|
|
|
080e64c |
%files -n python3-PyPAM
|
|
|
080e64c |
%{python3_sitearch}/PAM*.so
|
|
|
080e64c |
%{python3_sitearch}/*.egg-info
|
|
|
99e66d7 |
%license COPYING
|
|
|
99e66d7 |
%doc AUTHORS NEWS README ChangeLog INSTALL
|
|
|
080e64c |
%doc examples
|
|
|
e2c15b1 |
|
|
|
e2c15b1 |
%changelog
|
|
|
f6ca0c7 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-45
|
|
|
f6ca0c7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
f6ca0c7 |
|
|
|
387edc6 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-44
|
|
|
387edc6 |
- Rebuilt for Python 3.8
|
|
|
387edc6 |
|
|
|
a5c0616 |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-43
|
|
|
a5c0616 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
a5c0616 |
|
|
|
babd30b |
* Mon Jul 15 2019 Miroslav Suchý <msuchy@redhat.com> 0.5.0-42
|
|
|
babd30b |
- simplify spec
|
|
|
babd30b |
- fix build issue
|
|
|
babd30b |
|
|
|
ddf9712 |
* Fri Jul 12 2019 Miroslav Suchý <msuchy@redhat.com> 0.5.0-41
|
|
|
ddf9712 |
- stop building python2 bindings
|
|
|
ddf9712 |
|
|
|
f53dea8 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-40
|
|
|
f53dea8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
f53dea8 |
|
|
|
0dd1639 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-39
|
|
|
0dd1639 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
0dd1639 |
|
|
|
241ae7d |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-38
|
|
|
241ae7d |
- Rebuilt for Python 3.7
|
|
|
241ae7d |
|
|
|
28af4b6 |
* Sat May 05 2018 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-37
|
|
|
28af4b6 |
- Update Python macros to new packaging standards
|
|
|
28af4b6 |
(See https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build)
|
|
|
28af4b6 |
|
|
|
1c39550 |
* Mon Feb 19 2018 Miroslav Suchý <msuchy@redhat.com> 0.5.0-36
|
|
|
1c39550 |
- add gcc as buildrequires
|
|
|
1c39550 |
|
|
|
52f6103 |
* Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.5.0-35
|
|
|
52f6103 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
52f6103 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
52f6103 |
|
|
|
28cc0e6 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-34
|
|
|
28cc0e6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
28cc0e6 |
|
|
|
99e66d7 |
* Mon Aug 21 2017 Miroslav Suchý <msuchy@redhat.com> 0.5.0-33
|
|
|
99e66d7 |
- remove obsoleted parts of spec
|
|
|
99e66d7 |
|
|
|
5103c7f |
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.5.0-32
|
|
|
5103c7f |
- Add Provides for the old name without %%_isa
|
|
|
5103c7f |
|
|
|
ec6d7b1 |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.5.0-31
|
|
|
ec6d7b1 |
- Python 2 binary package renamed to python2-pypam
|
|
|
ec6d7b1 |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
ec6d7b1 |
|
|
|
d71cbe1 |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-30
|
|
|
d71cbe1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
d71cbe1 |
|
|
|
a0e9cd1 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-29
|
|
|
a0e9cd1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
a0e9cd1 |
|
|
Igor Gnatenko |
57d988c |
* Fri Jul 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.5.0-28
|
|
Igor Gnatenko |
57d988c |
- Rebuild due to bug in RPM (RHBZ #1468476)
|
|
Igor Gnatenko |
57d988c |
|
|
|
92e8b46 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-27
|
|
|
92e8b46 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
92e8b46 |
|
|
|
bf8a5bb |
* Thu Dec 22 2016 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-26
|
|
|
bf8a5bb |
- Rebuild for Python 3.6
|
|
|
bf8a5bb |
|
|
|
87a8b9f |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-25
|
|
|
87a8b9f |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
87a8b9f |
|
|
|
bba1a51 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-24
|
|
|
bba1a51 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
bba1a51 |
|
|
|
e83492d |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-23
|
|
|
e83492d |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
e83492d |
|
|
|
c3fd6ac |
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-22
|
|
|
c3fd6ac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
c3fd6ac |
|
|
|
dd1cb58 |
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-21
|
|
|
dd1cb58 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
dd1cb58 |
|
|
|
080e64c |
* Tue Jun 24 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.5.0-20
|
|
|
080e64c |
- Add Python 3 support.
|
|
|
080e64c |
|
|
|
9597c94 |
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-19
|
|
|
9597c94 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
9597c94 |
|
|
|
8a13baa |
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-18
|
|
|
8a13baa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
8a13baa |
|
|
|
8872a48 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-17
|
|
|
8872a48 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
8872a48 |
|
|
|
9f6d562 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-16
|
|
|
9f6d562 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
9f6d562 |
|
|
|
c34a70a |
* Mon May 7 2012 Tomáš Mráz <tmraz@redhat.com> - 0.5.0-15
|
|
|
c34a70a |
- fix one more memory leak
|
|
|
c34a70a |
|
|
|
ac237f7 |
* Mon May 7 2012 Tomáš Mráz <tmraz@redhat.com> - 0.5.0-14
|
|
|
ac237f7 |
- always return the error code in exceptions (#819244)
|
|
|
ac237f7 |
|
|
|
3203dca |
* Fri May 4 2012 Tomáš Mráz <tmraz@redhat.com> - 0.5.0-13
|
|
|
3203dca |
- fix memory manipulation errors (leaks, doublefree CVE-2012-1502)
|
|
|
3203dca |
|
|
|
e6217ec |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-12
|
|
|
e6217ec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
e6217ec |
|
|
|
7464aac |
* Wed Feb 23 2011 Miroslav Suchý <msuchy@redhat.com> 0.5.0-10
|
|
|
7464aac |
- 679714 - deallocate the conversation response only in case of error
|
|
|
7464aac |
|
|
|
49d07df |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-10
|
|
|
49d07df |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
49d07df |
|
|
|
f1d55dd |
* Wed Jan 19 2011 Miroslav Suchý <msuchy@redhat.com> 0.5.0-9
|
|
|
c74fcee |
- 658955 - fix two bugs in the PAM object deallocation
|
|
|
c74fcee |
- add -fno-strict-aliasing to CFLAGS
|
|
|
c74fcee |
|
|
|
e2c15b1 |
* Thu Aug 05 2010 Miroslav Suchý <msuchy@redhat.com> 0.5.0-7
|
|
|
e2c15b1 |
- 612998 - PyPAM do not work with python3 (msuchy@redhat.com)
|
|
|
e2c15b1 |
|
|
|
e2c15b1 |
* Thu Aug 05 2010 Miroslav Suchý <msuchy@redhat.com> 0.5.0-6
|
|
|
e2c15b1 |
- 612998 - fix condition for BR (msuchy@redhat.com)
|
|
|
e2c15b1 |
|
|
|
e2c15b1 |
* Thu Aug 05 2010 Miroslav Suchý <msuchy@redhat.com> 0.5.0-5
|
|
|
e2c15b1 |
- 612998 - return back BR for python
|
|
|
e2c15b1 |
|
|
|
e2c15b1 |
* Thu Aug 05 2010 Miroslav Suchý <msuchy@redhat.com> 0.5.0-4
|
|
|
e2c15b1 |
- 612998 - remove binaries. Just in case
|
|
|
e2c15b1 |
- 612998 - filter provide PAMmodule.so()(64bit)
|
|
|
e2c15b1 |
- 612998 - do not use INSTALLED_FILES feature, and enumerate files manualy
|
|
|
e2c15b1 |
- 612998 - use %%{__python} in %%build section
|
|
|
e2c15b1 |
- 612998 - fix buildrequires for PyPAM
|
|
|
e2c15b1 |
- 612998 - add macros for rhel5
|
|
|
e2c15b1 |
|
|
|
e2c15b1 |
* Fri Jul 09 2010 Miroslav Suchý <msuchy@redhat.com> 0.5.0-3
|
|
|
e2c15b1 |
- rebuild
|
|
|
e2c15b1 |
|
|
|
e2c15b1 |
* Fri Jul 09 2010 Miroslav Suchý <msuchy@redhat.com> 0.5.0-2
|
|
|
e2c15b1 |
- rebase PyPAM-dlopen.patch to latest source
|
|
|
e2c15b1 |
|
|
|
e2c15b1 |
* Fri Jul 09 2010 Miroslav Suchý <msuchy@redhat.com> 0.5.0-1
|
|
|
e2c15b1 |
- rebase to PyPAM 0.5.0
|
|
|
e2c15b1 |
|
|
|
e2c15b1 |
* Fri Mar 06 2009 Devan Goodwin <dgoodwin@redhat.com> 0.4.2-26
|
|
|
e2c15b1 |
- Fix bad patch whitespace.
|
|
|
e2c15b1 |
|
|
|
e2c15b1 |
* Fri Feb 27 2009 Dennis Gilmore 0.4.2-25
|
|
|
e2c15b1 |
- rebuild to pick up ppc ppc64 ia64 arches
|
|
|
e2c15b1 |
|
|
|
e2c15b1 |
* Fri Feb 27 2009 Devan Goodwin <dgoodwin@redhat.com> 0.4.2-23
|
|
|
e2c15b1 |
- Rebuild for new rel-eng tools.
|
|
|
e2c15b1 |
|
|
|
e2c15b1 |
* Fri May 16 2008 Michael Mraka <michael.mraka@redhat.com> 0.4.2-20
|
|
|
e2c15b1 |
- fixed file ownership
|
|
|
e2c15b1 |
|
|
|
e2c15b1 |
* Tue Jun 22 2004 Mihai Ibanescu <misa@redhat.com> 0.4.2-5
|
|
|
e2c15b1 |
- Rebuilt
|
|
|
e2c15b1 |
|
|
|
e2c15b1 |
* Fri Jul 11 2003 Mihai Ibanescu <misa@redhat.com>
|
|
|
e2c15b1 |
- Adapted the original rpm to build with python 2.2
|