Logoj0ke.net Open Build Service > Projects > Apache:Modules > apache2-mod_mirrorbrain > Changes
Sign Up | Log In

Changes of Revision 22

[-] Added mirrorbrain.changes
x
 
1
@@ -0,0 +1,1782 @@
2
+-------------------------------------------------------------------
3
+Tue Sep  7 16:26:47 UTC 2010 - poeml@cmdline.net
4
+
5
+- Debian/Ubuntu packaging (issue #4):
6
+  - user and group are now created automatically on installation
7
+  - /var/log/mirrorbrain is included in the package now
8
+
9
+-------------------------------------------------------------------
10
+Mon Sep  6 17:12:13 UTC 2010 - poeml@cmdline.net
11
+
12
+- update to (probably final) r8123
13
+- rsyncinfo.py renamed to rsyncinfo
14
+- install the bdecode tool
15
+
16
+-------------------------------------------------------------------
17
+Mon Sep  6 14:43:58 UTC 2010 - poeml@cmdline.net
18
+
19
+- update to r8115
20
+  - The module now works also when the path in the <Directory> contains
21
+    symlinks, fixing issue #17
22
+  - Further documentation updates
23
+
24
+-------------------------------------------------------------------
25
+Sun Sep  5 22:45:23 UTC 2010 - poeml@cmdline.net
26
+
27
+- update to r8112
28
+  - documentation updates
29
+  - remove the compile time check for the APR/APR-Util version and make it a
30
+    runtime check. This means that the correct database access semantics are used
31
+    even when mod_mirrorbrain is used with a different library version than it was
32
+    compiled with. Improving the fix for issue #7. N.B. A similar compile time
33
+    check to pick an appropriate format string in the SQL query is still there.
34
+
35
+-------------------------------------------------------------------
36
+Thu Sep  2 19:17:36 UTC 2010 - poeml@cmdline.net
37
+
38
+- fix postinstall script on all platforms to really run the database migration.
39
+  mb --version wasn't enough; it doesn't connect to the database.
40
+- make the postinstall script a little bit more verbose
41
+
42
+-------------------------------------------------------------------
43
+Thu Sep  2 14:38:01 UTC 2010 - poeml@cmdline.net
44
+
45
+- bug fixes for Debian Lenny / old APR (1.2)
46
+
47
+-------------------------------------------------------------------
48
+Thu Sep  2 13:24:49 UTC 2010 - poeml@cmdline.net
49
+
50
+- remove /var/run/mirrorbrain from the package, as /var/run might be created as
51
+  tmpfs during boot. It wasn't used anyway, yet. Fixing build on oS 11.3.
52
+
53
+-------------------------------------------------------------------
54
+Wed Sep  1 14:46:45 UTC 2010 - poeml@cmdline.net
55
+
56
+- update to 2.13.0.
57
+  (Release notes http://mirrorbrain.org/docs/changes/ w.i.p.)
58
+- remove requirement on the metalink package. Hashing is now done with
59
+  Python/OpenSSL.
60
+- drop obsolete patches mirrorbrain-2.12.0-issue52.patch and
61
+  mirrorbrain.diff (https://bugzilla.novell.com/show_bug.cgi?id=602434)
62
+
63
+-------------------------------------------------------------------
64
+Mon Aug 30 11:30:15 UTC 2010 - poeml@cmdline.net
65
+
66
+- add patch mirrorbrain-2.12.0-issue52.patch for
67
+  http://mirrorbrain.org/issues/issue52 (the match for client prefix/mirror
68
+  prefix should check for containment, not string match)
69
+
70
+-------------------------------------------------------------------
71
+Wed May  5 12:21:36 CEST 2010 - mls@suse.de
72
+
73
+- work around mirrorbrain bug that caused metalink files with no mirrors
74
+
75
+-------------------------------------------------------------------
76
+Sun Feb 21 15:47:23 UTC 2010 - poeml@cmdline.net
77
+
78
+- on Debian & Ubuntu, let the mirrorbrain-scanner package depend on the
79
+  libtimedate-perl package. Thanks Christophe Vandeplas from fosdem.org for 
80
+  this fix.
81
+
82
+-------------------------------------------------------------------
83
+Wed Feb 10 22:43:14 UTC 2010 - poeml@cmdline.net
84
+
85
+- update to 2.12.0 (r7957)
86
+  This release contains several important bug fixes, a new feature, and
87
+  documentation fixes.
88
+  Details: http://mirrorbrain.org/docs/changes/#release-2-12-0-r7957-feb-10-2010 
89
+  - store geographical coordinates in the mirror database records
90
+  - fix wrong hash filenames constructed by mod_mirrorbrain on Debian (issue 35)
91
+  - fix wrong URL type within Metalinks for FTP URLs (issue 23)
92
+  - fix wrong URLs printed by 'mb file ls -u' (issue 36)
93
+  - removed code for backwards compatibility for obsolete hash cache filename schemes (pre-2.10)
94
+  - try harder to catch rsync timeouts (also during connect time) (issue 12)
95
+  - fix FTP auth scanning
96
+  - fix mb db shell
97
+  - documentation enhancements
98
+
99
+-------------------------------------------------------------------
100
+Fri Dec 18 01:37:49 UTC 2009 - poeml@cmdline.net
101
+
102
+- the metalink package can't be compiled on CentOS5, because of missing
103
+  glib2-mm. Thus, don't require it on that platform so it doesn't prevent
104
+  installation.
105
+
106
+-------------------------------------------------------------------
107
+Wed Dec 16 16:45:34 UTC 2009 - poeml@cmdline.net
108
+
109
+- fix compile failure on openSUSE 11.2, where the gcc arguments order matters,
110
+  due to well-hidden SUSE_ASNEEDED=1 in the environment
111
+
112
+-------------------------------------------------------------------
113
+Wed Dec 16 15:52:30 UTC 2009 - poeml@cmdline.net
114
+
115
+- update to 2.11.3 (r7933):
116
+  * null-rsync:
117
+    - IO errors returned by rsync are handled now
118
+    - remote errors from rsync are ignored now
119
+  * mb db sizes:
120
+    - show sizes of tables from mod_stats 
121
+  * mb db shell:
122
+    - fix resuming after command suspension
123
+  * mb list:
124
+    - new options -H, -F, -R to display HTTP/FTP/rsync base URLs
125
+  * mb mirrorlist:
126
+    - try harder to not leave temp files
127
+    - add a link to our project in the footer
128
+  Documentation changes:
129
+  - MirrorBrainFallback now documented in the example mod_mirrorbrain.conf
130
+  - -t 20 option removed from the mirrorprobe call, since it's the default now
131
+  - hint about ulimits has been removed, which turned out to be a band-aid
132
+    for a purely local problem.
133
+  - hint about loading a database dump with mb db shell added
134
+  Details: http://mirrorbrain.org/docs/changes/#release-2-11-3-r7933-dec-16-2009
135
+
136
+-------------------------------------------------------------------
137
+Sat Dec  5 20:45:20 UTC 2009 - poeml@cmdline.net
138
+
139
+- update to 2.11.2 (r7917):
140
+  * mb scan:
141
+    - Improvements in scanning over FTP (missed mirrors in subdirectory scans;
142
+      files with whitespace)
143
+  * mb db (new command for database maintenance tasks):
144
+    - mb db sizes - shows sizes of all relations
145
+    - mb db shell - conveniently open a shell for the database
146
+    - mb db vacuum - cleans up dead references (previously:
147
+      The previous command, "mb vacuum", continues to work for the reason of
148
+      backwards compatibility.
149
+  * mirrorprobe:
150
+    - default timeout lowered from 60s to 20s
151
+  Details: http://mirrorbrain.org/docs/changes/#release-2-11-2-r7917-dec-5-2009
152
+
153
+-------------------------------------------------------------------
154
+Thu Dec  3 11:48:17 UTC 2009 - poeml@cmdline.net
155
+
156
+- update to 2.11.1 (r7899):
157
+  * mod_mirrorbrain:
158
+    - the compile time detection for APR < 1.3 was fixed. This affected Debian
159
+      and Ubuntu. Fixing issue #29.
160
+
161
+-------------------------------------------------------------------
162
+Wed Dec  2 03:23:44 UTC 2009 - poeml@cmdline.net
163
+
164
+- update to 2.11.0 (r7896):
165
+  * mod_mirrorbrain: 
166
+    - New feature: configure fallback mirrors via MirrorBrainFallback (see
167
+      release notes: http://mirrorbrain.org/docs/changes/#release-2-11-0-r7891-dec-2-2009
168
+    - use correct APR DBD API version semantics for row retrieval (issue #7)
169
+    - the obsolete MirrorBrainHandleDirectoryIndexLocally directive has been removed
170
+      (a warning issued where it is still found in the config)
171
+    - The default of MirrorBrainHandleHEADRequestLocally has been changed to "off".
172
+      This means in most cases, that the directive can be removed.
173
+  * The documentation for installation on Debian Lenny was tested and corrected
174
+    where needed. Credits to TheUni! 
175
+  * mb:
176
+    - Parse errors in the configuration file are not caught and and reported
177
+      nicely.
178
+    - Special characters occurring in the configured password are escaped
179
+      before passing them to SQLObject/psycopg2, thus fixing issue #27. A
180
+      remaining issue is that double quotes can't be used... a warning is
181
+      issued if it's attempted.
182
+  * mb scan:
183
+    - A warning that appeared since the last release has been removed. It was
184
+      caused by the removal of obsolete code, and purely cosmetic.
185
+  * null-rsync:
186
+    - An --exclude commandline option has been implemented, to be passed
187
+      through to rsync.
188
+    - Control over the program output can now be exerted by the two new options
189
+      --quiet and --verbose.
190
+    - Usage info is implemented (--help etc.).
191
+    - Interruptions by Ctrl-C and similar signals are intercepted now.
192
+  * metalink-hasher
193
+    - When comparing the modification time of a saved metalink hash with that
194
+      of a source file, the sub(sub-)second portion of the value could be
195
+      different from the value that has just been set by os.ulimit().  (Quite
196
+      surprisingly.) So now, we compare only the int() portion of the value.
197
+      This fixed issue #24.
198
+
199
+-------------------------------------------------------------------
200
+Tue Dec  1 23:57:59 UTC 2009 - poeml@cmdline.net
201
[-] Added mirrorbrain.spec ^
201
 
1
@@ -0,0 +1,314 @@
2
+#
3
+# spec file for package mirrorbrain
4
+#
5
+# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
6
+# This file and all modifications and additions to the pristine
7
+# package are under the same license as the package itself.
8
+#
9
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
10
+#
11
+
12
+# norootforbuild
13
+
14
+%if %{defined suse_version}
15
+%define apxs /usr/sbin/apxs2
16
+BuildRequires:  apache2-devel apache2-prefork apache2-worker 
17
+%endif
18
+#
19
+%if %{defined centos_version}
20
+%define apxs /usr/sbin/apxs
21
+BuildRequires:  httpd-devel
22
+%endif
23
+#
24
+BuildRequires:  GeoIP GeoIP-devel apache2-mod_form
25
+BuildRequires:  python-devel 
26
+#
27
+%define apache apache2
28
+%define apache_libexecdir %(%{apxs} -q LIBEXECDIR)
29
+%define apache_sysconfdir %(%{apxs} -q SYSCONFDIR)
30
+%define apache_includedir %(%{apxs} -q INCLUDEDIR)
31
+%define apache_serverroot %(%{apxs} -q PREFIX)
32
+%define apache_localstatedir %(%{apxs} -q LOCALSTATEDIR)
33
+%define apache_mmn        %(MMN=$(%{apxs} -q LIBEXECDIR)_MMN; test -x $MMN && $MMN)
34
+#
35
+Name:           mirrorbrain
36
+Summary:        A download redirector and metalink generator
37
+# to build a man page, we need to have the script functional, and thus we need more stuff
38
+# but python-cmdln is not available
39
+#BuildRequires:  help2man python-cmdln
40
+Url:            http://mirrorbrain.org/
41
+Packager:       Peter Poeml, mirrorbrain at mirrorbrain.org
42
+Version:        2.13.0
43
+Release:        0
44
+License:        Apache License 2.0, GPL
45
+Group:          Productivity/Networking/Web/Servers
46
+#
47
+# v=2.8.1+r7675; rm -rf mirrorbrain-$v; osc rm *.tar.gz; svn export -q 'http://svn.mirrorbrain.org/svn/mirrorbrain/trunk' mirrorbrain-$v; tar czf mirrorbrain-$v.tar.gz mirrorbrain-$v; osc add mirrorbrain-$v.tar.gz
48
+Source:         http://mirrorbrain.org/files/releases/mirrorbrain-%{version}.tar.gz
49
+#
50
+%if %{defined suse_version}
51
+PreReq:         pwdutils %insserv_prereq %fillup_prereq
52
+%else
53
+PreReq:         /usr/bin/getent /usr/bin/useradd /usr/bin/groupadd
54
+%endif
55
+#
56
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
57
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
58
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True)")}
59
+
60
+
61
+%description
62
+This apache module redirects clients to mirror servers, using an SQL backend,
63
+and generates metalinks.
64
+
65
+See http://mirrorbrain.org/
66
+
67
+Author: Peter Poeml <poeml@cmdline.net>
68
+
69
+%package -n apache2-mod_mirrorbrain
70
+License:        Apache License 2.0, GPL
71
+Summary:        MirrorBrain redirector Apache module
72
+Obsoletes:      apache2-mod_zrkadlo
73
+Group:          Productivity/Networking/Web/Servers
74
+# see http://mirrorbrain.org/requirements
75
+%if %{defined suse_version}
76
+Requires:       apache2 >= 2.2.6 
77
+Requires:       %{apache_mmn} 
78
+Requires:       libapr-util1 >= 1.3.0
79
+Requires:       libapr-util1-dbd-pgsql
80
+%else
81
+Requires:       httpd
82
+%endif
83
+Requires:       GeoIP apache2-mod_geoip
84
+#
85
+# for mod_form
86
+Requires:       apache2-mod_form
87
+# building with memcache support:
88
+%if %{?build_with_memcache:1}0
89
+BuildRequires:  apache2-mod_memcache
90
+Requires:       apache2-mod_memcache
91
+%define memcache_cflags -DWITH_MEMCACHE
92
+%else
93
+%define memcache_cflags %nil
94
+%endif
95
+# this module was was split off in a separate package with 2.10.1. Require it
96
+# so that existing installations will keep having it installed.
97
+# the requires can be removed later (let's say, a few months after October '09)
98
+Requires:       apache2-mod_autoindex_mb
99
+Autoreqprov:    on
100
+
101
+
102
+%description -n apache2-mod_mirrorbrain
103
+MirrorBrain is a scalable download redirector.
104
+
105
+This package contains mod_mirrorbrain, the Apache module which represents the
106
+core of MirrorBrain.
107
+
108
+
109
+%package -n apache2-mod_autoindex_mb
110
+License:        Apache License 2.0, GPL
111
+Summary:        Apache module generating directory indexes for MirrorBrain
112
+Group:          Productivity/Networking/Web/Servers
113
+%if %{defined suse_version}
114
+Requires:       %{apache_mmn} 
115
+%else
116
+Requires:       httpd
117
+%endif
118
+Requires:       apache2-mod_mirrorbrain
119
+Autoreqprov:    on
120
+
121
+
122
+%description -n apache2-mod_autoindex_mb
123
+
124
+This package contains mod_autoindex_mb, the Apache module which represents the
125
+core of MirrorBrain.
126
+
127
+This package contains mod_autoindex_mb, which is a patched mod_autoindex. It
128
+adds a little further capability as index option.
129
+
130
+It adds these two options:
131
+
132
+        <IfModule mod_autoindex_mb.c>
133
+            IndexOptions Metalink
134
+            IndexOptions Mirrorlist
135
+        </IfModule>
136
+The Metalink option adds a link named "Metalink" to the index, which links to
137
+the same file but with ".metalink" appended.
138
+
139
+The MirrorList option adds a link named "Mirrors" to the index, which links to
140
+the same resources but with "?mirrorlist" appended.
141
+
142
+
143
+%package tools
144
+License:        Apache License 2.0, GPL
145
+Summary:        MirrorBrain commandline tools
146
+Group:          Productivity/Networking/Web/Servers
147
+Requires:       python-mb python-cmdln python-sqlobject python-psycopg2
148
+Requires:       GeoIP 
149
+
150
+%description tools
151
+MirrorBrain is a scalable download redirector.
152
+
153
+This package contains utilities provided by the MirrorBrain framework to
154
+maintain the database and scan mirrors.
155
+
156
+
157
+%package -n python-mb
158
+License:        Apache License 2.0, GPL
159
+Summary:        mb, a Python module used by the MirrorBrain commandline tools
160
+Group:          Productivity/Networking/Web/Servers
161
+Requires:       python-sqlobject python-psycopg2
162
+Requires:       GeoIP 
163
+%if %{defined suse_version}
164
+%if 0%{?suse_version} < 110
165
+Recommends:     python-processing
166
+%endif
167
+%endif
168
+
169
+%description -n python-mb
170
+MirrorBrain is a scalable download redirector.
171
+
172
+This package contains a Python module (named "mb") for easily maintaining
173
+MirrorBrain.
174
+
175
+
176
+%package scanner
177
+License:        Apache License 2.0, GPL
178
+Summary:        MirrorBrain scanner
179
+Group:          Productivity/Networking/Web/Servers
180
+Requires:       perl-Config-IniFiles perl-libwww-perl perl-Digest-MD4 perl-DBD-Pg perl-TimeDate
181
+
182
+%description scanner
183
+MirrorBrain is a scalable download redirector.
184
+
185
+This package contains the mirror scanner.
186
+
187
+
188
+%prep
189
+%setup -q -n mirrorbrain-%{version}
190
+
191
+%build
192
+cd mod_mirrorbrain
193
+%{apxs} -c -Wc,"%memcache_cflags -Wall -g" mod_mirrorbrain.c
194
+cd ../mod_autoindex_mb
195
+%{apxs} -c -Wc,"%memcache_cflags -Wall -g" mod_autoindex_mb.c
196
+cd ../tools
197
+gcc $RPM_OPT_FLAGS -Wall -o geoiplookup_continent geoiplookup_continent.c -lGeoIP
198
+gcc $RPM_OPT_FLAGS -Wall -o geoiplookup_city geoiplookup_city.c -lGeoIP
199
+cd ../mb
200
+CFLAGS="%{optflags}" \
201
[+] Added debian.changelog ^
Added debian.tar.gz ^
Added mirrorbrain-2.13.0.tar.gz ^
[+] Added mirrorbrain.dsc ^