From 98c2e7a8b60c4776143f13bf98ae8fd1f76d296b Mon Sep 17 00:00:00 2001 From: Matt Wells Date: Sun, 25 May 2014 09:58:07 -0400 Subject: [PATCH] redhat build updates on fedora --- Makefile | 1 + Users.cpp | 2 +- gb-1.0.spec | 2 ++ html/admin.html | 4 +++- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ce307415..9fede9ae 100644 --- a/Makefile +++ b/Makefile @@ -468,6 +468,7 @@ geo_ip_table.o: geo_ip_table.cpp geo_ip_table.h # move this tarball into ~/rpmbuild/????? # then run rpmbuild -ba gb-1.0.spec to build the rpms +# rpm --nodeps --ignorearch -ivh gb-1.0-... to install the pkg tarball-testing: # git archive --format=tar master | gzip > gb.tar git archive --format=tar --prefix=gb-1.0/ testing > gb-1.0.tar diff --git a/Users.cpp b/Users.cpp index 9dab04e2..ac658ba3 100644 --- a/Users.cpp +++ b/Users.cpp @@ -626,7 +626,7 @@ User *Users::getUser (char *username ) { //,bool cacheLoad){ // . returns the User record on success User *Users::isUserLogged ( char *username, long ip ){ // bail out if init has failed - if ( !m_init ) return false; + if ( !m_init ) return (User *)NULL; // get the user to the login cache // get user record from cache diff --git a/gb-1.0.spec b/gb-1.0.spec index e6ef5cad..a1ba1e83 100644 --- a/gb-1.0.spec +++ b/gb-1.0.spec @@ -1,3 +1,5 @@ +%global debug_package %{nil} + Summary: A distributed web and enterprise search engine. Name: gb Version: 1.0 diff --git a/html/admin.html b/html/admin.html index 461c9191..69a65a9d 100644 --- a/html/admin.html +++ b/html/admin.html @@ -99,7 +99,9 @@ If you run into an bugs let me know so i can fix them right away: mattdwells@hot