/
sslfie.spec
50 lines (40 loc) · 1.27 KB
/
sslfie.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
# sslfie.spec: specification for building the .rpm file
# Generated with: rpmdev-newspec sslfie
Name: sslfie
Version: %{VERSION}
Release: 1%{?dist}
Summary: generate self-signed x.509 certificates for use with SSL/TLS
License: MIT
URL: https://github.com/mkropat/sslfie
Source0: %{name}_%{version}.tar.bz2
BuildArch: noarch
BuildRequires: pandoc
Requires: dialog, openssl
%description
- Supports multiple domain names in one cert with the SubjectAltName field
- Trivial to automate — the only required argument is a domain name
%prep
%setup -q
%build
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=%{buildroot} PREFIX=/usr install
mkdir -p %{buildroot}%{_unitdir}
%files
%{_bindir}/*
%{_mandir}/man1/*
%changelog
* Sun Nov 29 2015 Michael Kropat <mail@michael.kropat.name> - 0.4-1
- Add -p prompt option
- Add -r generate csr option
- Fix: support writing cert and key to same file
* Fri Jul 6 2015 Michael Kropat <mail@michael.kropat.name> - 0.3-1
- Add -K option
- Use utf8 mode
- Use SHA-2 for hashing
- Check for intermixed options gotcha
* Fri Jul 3 2015 Michael Kropat <mail@michael.kropat.name> - 0.2-1
- Tweak .deb build for PPA
* Fri Jul 3 2015 Michael Kropat <mail@michael.kropat.name> - 0.1-1
- Initial release