cdrstats/cdrstats.patch

Tue, 28 Aug 2012 18:28:35 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 28 Aug 2012 18:28:35 +0200
changeset 526
7ddfdb42afce
permissions
-rw-r--r--

Write a explicit dependency to pkgconfig file for getaddrinfo(3). The SVR4
dependencies libsocket and libnsl are needed by libgio and libglib at least,
and allow dependent software like gmime to build unmodified.

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