--- rpms/smeserver-gitweb/contribs8/smeserver-gitweb-1.1.0-remove_unused_linefeed_from_auth_error.patch 2016/06/10 07:19:52 1.1 +++ rpms/smeserver-gitweb/contribs8/smeserver-gitweb-1.1.0-remove_unused_linefeed_from_auth_error.patch 2016/06/24 11:49:15 1.2 @@ -21,3 +21,15 @@ diff -urN smeserver-gitweb-1.1.0.org/roo # Get server private IP address and mask for access to the local network only my @network_setting = split(/[\/ ]/, $networks_db->local_access_spec('private')); +diff -Nur smeserver-gitweb-1.0.0.old/root/etc/e-smith/templates/etc/gitweb.conf/60ExportAuthHook smeserver-gitweb-1.0.0/root/etc/e-smith/templates/etc/gitweb.conf/60ExportAuthHook +--- smeserver-gitweb-1.0.0.old/root/etc/e-smith/templates/etc/gitweb.conf/60ExportAuthHook 2016-06-24 06:48:38.257000000 -0400 ++++ smeserver-gitweb-1.0.0/root/etc/e-smith/templates/etc/gitweb.conf/60ExportAuthHook 2016-06-24 07:46:22.088000000 -0400 +@@ -76,7 +76,7 @@ + + # Retrieve project properties from database + my $git_db = esmith::GitDB->open_ro() or +- auth_error( "500 Internal Error", "Could not open the Git repository database!\nDoes the web server have permission to read the git database file?" ); ++ auth_error( "500 Internal Error", "Could not open the Git repository database! Does the web server have permission to read the git database file?" ); + + my $repository = $git_db->get($projectname) or + auth_error( "500 Internal Error", "The git repository '$projectname' does not seem to exist in the repository database!" );