Compare commits
9 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
844d066b9a | ||
|
|
3cea9ebc40 | ||
|
|
9b3d3354e5 | ||
|
|
3867782b34 | ||
|
|
d6a08485f8 | ||
|
|
27b9e303f0 | ||
|
|
6132628b24 | ||
|
|
74e6ea128d | ||
|
|
f3bed21819 |
5 changed files with 1 additions and 87 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,2 +0,0 @@
|
|||
/vault-0.0.1.tar.gz
|
||||
/vault-0.0.2.tar.gz
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
# vault
|
||||
|
||||
The vault package
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
EOL project
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
SHA512 (vault-0.0.2.tar.gz) = 377a215171291222be190ae5042d13c3db63defd9aed7261eedc75433e3261da2cf1f114bdfece9e39dbe19ee2272e7193881a8f5a29c0b30ee9553c5f862c3e
|
||||
81
vault.spec
81
vault.spec
|
|
@ -1,81 +0,0 @@
|
|||
Name: vault
|
||||
Version: 0.0.2
|
||||
Release: 1%{?dist}
|
||||
Summary: Secrets storage for automated tasks
|
||||
|
||||
License: GPLv2+
|
||||
URL: https://pagure.io/taskotron/vault
|
||||
Source0: https://releases.pagure.org/%{name}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: python2-alembic
|
||||
Requires: python2-flask
|
||||
Requires: python2-flask-httpauth
|
||||
%if 0%{?fedora} <= 27
|
||||
Requires: python-flask-login
|
||||
Requires: python-flask-wtf
|
||||
%else
|
||||
Requires: python2-flask-login
|
||||
Requires: python2-flask-wtf
|
||||
%endif
|
||||
Requires: python2-flask-oidc
|
||||
Requires: python2-flask-restful
|
||||
Requires: python2-flask-sqlalchemy
|
||||
Requires: python2-crypto
|
||||
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-setuptools
|
||||
|
||||
|
||||
%description
|
||||
Vault stores and controls encrypted data like passwords,
|
||||
API keys or other secrets.
|
||||
Implements bucket-based access control, and secret versioning.
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%check
|
||||
# This seems to be the only place where we can remove pyco files, see:
|
||||
# https://fedoraproject.org/wiki/Packaging:Python#Byte_compiling
|
||||
rm -f %{buildroot}%{_sysconfdir}/vault/*.py{c,o}
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
|
||||
# apache and wsgi settings
|
||||
install -d %{buildroot}%{_datadir}/vault/conf
|
||||
install -p -m 0644 conf/vault.conf %{buildroot}%{_datadir}/vault/conf/
|
||||
install -p -m 0644 conf/vault.wsgi %{buildroot}%{_datadir}/vault/
|
||||
|
||||
# alembic config and data
|
||||
cp -r --preserve=timestamps alembic %{buildroot}%{_datadir}/vault/
|
||||
install -p -m 0644 alembic.ini %{buildroot}%{_datadir}/vault/
|
||||
|
||||
# vault config
|
||||
install -d %{buildroot}%{_sysconfdir}/vault
|
||||
install -p -m 0644 conf/settings.py.example %{buildroot}%{_sysconfdir}/vault/settings.py
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python2_sitelib}/vault
|
||||
%{python2_sitelib}/*.egg-info
|
||||
|
||||
%{_bindir}/vault
|
||||
%dir %{_sysconfdir}/vault
|
||||
%config(noreplace) %{_sysconfdir}/vault/settings.py
|
||||
%dir %{_datadir}/vault
|
||||
%{_datadir}/vault/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed May 30 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.0.2-1
|
||||
- Use python-flask-login for F27
|
||||
- New Release
|
||||
|
||||
* Tue May 22 2018 Josef Skladanka <jskladan@redhat.com> - 0.0.1-1
|
||||
- initial packaging
|
||||
Loading…
Add table
Add a link
Reference in a new issue