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.

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

mercurial