-
Notifications
You must be signed in to change notification settings - Fork 1
/
python-certutils.spec
118 lines (86 loc) · 3.7 KB
/
python-certutils.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# python-certutils package ----------------------------------------------------
%define debug_package %{nil}
Name: python-certutils
Version: 0.16
Release: 1%{?dist}
Summary: Common code for manipulating X.509 certificates
Group: Development/Languages
License: GPLv2+
URL: https://github.com/splice/python-certutils
Source0: %{name}-%{version}.tar.gz
BuildRequires: python-setuptools
BuildRequires: python2-devel
%description
Common code for manipulating X.509 certificates
%prep
%setup -q
%build
pushd src
%{__python} setup.py build
popd
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_sysconfdir}/splice/certs/
mkdir -p %{buildroot}/%{_bindir}
pushd src
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
popd
cp -R etc/splice/certs/generate %{buildroot}/%{_sysconfdir}/splice/certs/
cp bin/* %{buildroot}/%{_bindir}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{python_sitelib}/certutils
%{python_sitelib}/python_certutils*
%{_sysconfdir}/splice/certs/generate
%{_bindir}
%changelog
* Tue Aug 13 2013 John Matthews <[email protected]> 0.16-1
- Don't build a debuginfo package ([email protected])
* Wed Oct 31 2012 John Matthews <[email protected]> 0.15-1
- Fix for CertFileUtils & Added validate private key to certificate method
* Wed Oct 31 2012 John Matthews <[email protected]> 0.14-1
- Update for parsing a cert when running with an unpatched m2crypto
* Mon Oct 29 2012 John Matthews <[email protected]> 0.13-1
- Fix to create output directory when generating splice identity certs
* Fri Oct 26 2012 John Matthews <[email protected]> 0.12-1
- Added script to generate a Splice Server identity certificate for testing
* Fri Oct 26 2012 John Matthews <[email protected]> 0.11-1
- Update to comment out default Apache ssl settings ([email protected])
* Fri Oct 26 2012 John Matthews <[email protected]> 0.10-1
- Changed names of generated certs to clearly call out they are for the HTTPS
setup ([email protected])
* Thu Oct 25 2012 John Matthews <[email protected]> 0.9-1
- Packaging updates for certificate generation files ([email protected])
* Thu Oct 25 2012 John Matthews <[email protected]> 0.8-1
- Update for selinux rules in developer setup ([email protected])
- Adding x509 certificate generation & configuration scripts - Will be able to
create a new CA and Server Certificate for https connections - Configures
apache through the splice.conf to use these generated certificates
- Added a CertificateParseException and updated get_subject_pieces() to throw
this when bad data is passed in ([email protected])
* Thu Oct 18 2012 John Matthews <[email protected]> 0.7-1
- Fixed parsing of a certs subject to use m2crypto and not our own code, now
able to parse subjects with more than just CN set. ([email protected])
- SELinux script currently only needed for development setup, applies 'lib_t'
to src directory ([email protected])
* Tue Oct 16 2012 James Slagle <[email protected]> 0.6-1
- Allow any subject attribute to be passed to the request generate method
- This should be a BuildRequires ([email protected])
* Tue Oct 16 2012 James Slagle <[email protected]> 0.5-1
- Fix default parameter value ([email protected])
* Mon Oct 15 2012 James Slagle <[email protected]> 0.4-1
- Updated gitignore ([email protected])
- Updates ([email protected])
* Mon Oct 15 2012 James Slagle <[email protected]> 0.3-1
- Package egg files ([email protected])
- Add setup.py ([email protected])
* Mon Oct 15 2012 James Slagle <[email protected]> 0.2-1
- new package built with tito