-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathInstantMirror.spec
91 lines (67 loc) · 2.53 KB
/
InstantMirror.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
Name: InstantMirror
Version: 0.24
Release: 1%{?dist}
Summary: Reverse Proxy Cache for Static HTTP Mirroring
Group: System Environment/Daemons
License: GPLv2+
URL: https://github.com/opoplawski/InstantMirror
Source0: https://github.com/opoplawski/InstantMirror/archive/%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: make
Requires: python3-mod_wsgi
Requires: python3-webob
%description
Instantly create a HTTP mirror of remote static HTTP content.
For example, you can instantly create a Fedora mirror on your local network.
Files that you download from your mirror are downloaded from an upstream web
server, passed to your client as it arrives, then stored on the server when
the download is complete. Subsequent downloads of that same file are served
from the cache directory, quick and efficient.
Cached files are conveniently stored in their original directory structure and
filenames on the server filesystem. This allows flexibility to do things like:
- use rsync on the very same directory structure to fully populate the cache
- serve the tree over other protocols like NFS
%prep
%setup -q
%install
%make_install
%files
%doc README.md TODO COPYING
%{_datadir}/%{name}/
%config(noreplace) %{_sysconfdir}/httpd/conf.d/InstantMirror.conf
%changelog
* Mon Aug 22 2022 Orion Poplawski 0.24-1
- Return upstream response status for range requests
* Fri Jun 24 2022 Orion Poplawski 0.23-1
- Add .zck to default immutable fiiles
- Allow immutable file list to be overriden
- Only check for updated file once per hour by default
- Allow min_age to be chenged
* Mon May 16 2022 Orion Poplawski 0.22-1
- Really fix username encoding
* Tue May 10 2022 Orion Poplawski 0.21-1
- Handle generic HTTP error responses
- Fix username encoding
* Sun Feb 06 2022 Orion Poplawski 0.20-1
- Rewrite to use webob
* Tue Jan 18 2022 Orion Poplawski 0.14-1
- Update to 0.14
* Fri Oct 1 2021 Orion Poplawski 0.13-1
- Update to 0.13
* Mon Aug 30 2021 Orion Poplawski 0.12-1
- Update to 0.12
* Mon Aug 30 2021 Orion Poplawski 0.11-1
- Update to 0.11
* Mon Aug 30 2021 Orion Poplawski 0.10-1
- Update to 0.10
* Thu Feb 11 2021 Orion Poplawski 0.9-1
- Update to 0.9
* Mon May 6 2019 Orion Poplawski 0.8-1
- Update to 0.8
* Tue Mar 17 2015 Orion Poplawski 0.7-1
- Update to current running version
* Thu Aug 23 2012 Orion Poplawski 0.6-1
- Update to current running version
* Thu Jun 25 2009 Orion Poplawski 0.5-1
- Update to current running version