From 8afc373e92d31d36e1449be25304337d3bbb7029 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 19 2015 15:53:22 +0000 Subject: import python-kdcproxy-0.3.2-1.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..769c6b1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/v0.3.2.tar.gz diff --git a/.python-kdcproxy.metadata b/.python-kdcproxy.metadata new file mode 100644 index 0000000..15ad324 --- /dev/null +++ b/.python-kdcproxy.metadata @@ -0,0 +1 @@ +1272d602e088e8608d3c02d6eb7c29c74c46c8e2 SOURCES/v0.3.2.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/python-kdcproxy.spec b/SPECS/python-kdcproxy.spec new file mode 100644 index 0000000..358315d --- /dev/null +++ b/SPECS/python-kdcproxy.spec @@ -0,0 +1,109 @@ +%global realname kdcproxy + +Name: python-%{realname} +Version: 0.3.2 +Release: 1%{?dist} +Summary: MS-KKDCP (kerberos proxy) WSGI module + +License: MIT +URL: https://github.com/npmccallum/%{realname} +Source0: https://github.com/npmccallum/%{realname}/archive/v%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python2-devel + +%if 0%{?rhel} == 0 +BuildRequires: python-tox +BuildRequires: pytest +BuildRequires: python-coverage +BuildRequires: python-webtest +BuildRequires: python-pyasn1 +BuildRequires: python-dns +BuildRequires: python-mock + +BuildRequires: python3-devel +BuildRequires: python3-pytest +BuildRequires: python3-coverage +BuildRequires: python3-webtest +BuildRequires: python3-pyasn1 +BuildRequires: python3-dns +BuildRequires: python3-mock +%endif + +Requires: python-dns +Requires: python-pyasn1 + +%description +This package contains a Python 2.x WSGI module for proxying KDC requests over +HTTP by following the MS-KKDCP protocol. It aims to be simple to deploy, with +minimal configuration. + +%if 0%{?rhel} == 0 +%package -n python3-%{realname} +Summary: MS-KKDCP (kerberos proxy) WSGI module +Requires: python3-dns +Requires: python3-pyasn1 + +%description -n python3-%{realname} +This package contains a Python 3.x WSGI module for proxying KDC requests over +HTTP by following the MS-KKDCP protocol. It aims to be simple to deploy, with +minimal configuration. +%endif + +%prep +%setup -q -n %{realname}-%{version} + +%build +%{__python} setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT +find $RPM_BUILD_ROOT%{python_sitelib}/%{realname}/ -name '*.py' -exec chmod 755 '{}' \; + +%if 0%{?rhel} == 0 +%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT +find $RPM_BUILD_ROOT%{python3_sitelib}/%{realname}/ -name '*.py' -exec chmod 755 '{}' \; +%endif + +%check +%if 0%{?rhel} == 0 +tox --sitepackages -e py27,py34 +%endif + +%files +%doc COPYING README +%{python_sitelib}/%{realname} +%{python_sitelib}/%{realname}-%{version}-*.egg-info + +%if 0%{?rhel} == 0 +%files -n python3-%{realname} +%doc COPYING README +%{python3_sitelib}/%{realname} +%{python3_sitelib}/%{realname}-%{version}-*.egg-info +%endif + +%changelog +* Mon Aug 03 2015 Nathaniel McCallum - 0.3.2-1 +- Update to 0.3.2 +- Fixes CVE-2015-5159 + +* Wed Jul 22 2015 Nathaniel McCallum - 0.3.1-1 +- Update to 0.3.1 + +* Thu Jun 18 2015 Fedora Release Engineering - 0.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Jun 10 2015 Nathaniel McCallum - 0.3-1 +- Update to 0.3 +- Run tests in Fedora (not RHEL due to python-tox) + +* Fri Oct 24 2014 Nathaniel McCallum - 0.2.1-1 +- Update to 0.2.1 + +* Thu Oct 23 2014 Nathaniel McCallum - 0.2-1 +- Update to 0.2 +- Fix EPEL7 build + +* Tue Jan 21 2014 Nathaniel McCallum - 0.1.1-1 +- Initial package