anchor.diff:        PythonOption TracUriRoot ${config.projectsLocation}
         PythonOption PYTHON_EGG_CACHE /var/trac/egg-cache
       </Location>
  +    ${if config.ldapAuthentication.enable then ''
  +      <LocationMatch "^${config.projectsLocation}/[^/]+/login$">
  +        AuthType Basic
  +        AuthName "${config.ldapAuthentication.name}"
  +        AuthBasicProvider "ldap"
  +        AuthLDAPURL "${config.ldapAuthentication.url}"
  +        authzldapauthoritative Off
  +        require valid-user
  +    '' else ""}
  +    </LocationMatch>
     '';
     
     globalEnvVars = singleton
  
positive.code:       default = "wwwrun";
        description = "Group under which Trac runs.";
      };
      
    };
  
  
negative.code:             pkgs.setuptools
              pkgs.pythonPackages.genshi
              pkgs.pythonPackages.psycopg2
              pkgs.python.modules.sqlite3
              subversion
            ];
      };
  