cdrstats/cdrstats.patch

Wed, 08 Feb 2012 20:07:00 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 08 Feb 2012 20:07:00 +0200
changeset 588
300d43423c2e
permissions
-rw-r--r--

Update version, adapt patch, correct PID writing, correct build on newer
FreeBSD releases, and most importantly introduce new patch to try to
avoid segfault caused by multiple network interfaces with the same (or
no) address. This is common when configuring bridges and tunnels.

michael@323 1 Index: cdr_stats/settings.py
michael@323 2 --- cdr_stats/settings.py.orig 2010-11-23 20:49:13.000000000 +0100
michael@323 3 +++ cdr_stats/settings.py 2011-03-24 19:48:52.368398330 +0100
michael@323 4 @@ -55,6 +55,7 @@
michael@323 5 # calendars according to the current locale
michael@323 6 USE_L10N = True
michael@323 7
michael@323 8 +SERVE_ROOT = 'https://tls.europalab.com/cdr/'
michael@323 9 MEDIA_ROOT = os.path.join( APPLICATION_DIR, 'resources' )
michael@323 10 MEDIA_URL = 'http://localhost:8000/resources/'
michael@323 11 ADMIN_MEDIA_PREFIX = '/resources/admin/'
michael@323 12 Index: cdr_stats/cdr/views.py
michael@323 13 --- cdr_stats/cdr/views.py.orig 2010-11-23 20:49:13.000000000 +0100
michael@323 14 +++ cdr_stats/cdr/views.py 2011-03-23 23:47:35.524666932 +0100
michael@323 15 @@ -1,3 +1,4 @@
michael@323 16 +from django.conf import settings
michael@323 17 from django.contrib.auth.models import User
michael@323 18 from django.contrib.auth import authenticate, login, logout
michael@323 19 from django.contrib.auth.decorators import login_required

mercurial