cdrstats/cdrstats.patch

Fri, 07 Sep 2012 19:08:07 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 07 Sep 2012 19:08:07 +0200
changeset 667
9dacbd1d1aa2
permissions
-rw-r--r--

Correct build configuration in Solaris subdir, correct english grammar,
remove irrelevant strip notice, introduce custom CFLAG logic, facilitate
use of Solaris Studio compiler with needed build configuration
adjustments, conditionally build 64 bit position independent code,
and accommodate tun(7) in newer Solaris releases by renaming driver
and module from conflicting 'tun' to 'vtun'. These changes include
some nonstandard 'I give up' logic causing out of tree builds by
manipulating the PATH, for example.

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