X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2FMakefile;h=2365d927c5467877b3184f0bd0e4577056c2ca00;hb=849215ea0f1c442422f9d4d99ce175e7c5122502;hp=148c8542f277ae8dc7c9937fa8a6f4bef9c6a090;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941;p=freeside.git diff --git a/rt/Makefile b/rt/Makefile index 148c8542f..2365d927c 100644 --- a/rt/Makefile +++ b/rt/Makefile @@ -51,10 +51,10 @@ # -PERL = /Users/falcone/perl5/perlbrew/bin/perl +PERL = /usr/bin/perl INSTALL = /usr/bin/install -c -RT_LAYOUT = relative +RT_LAYOUT = Freeside CONFIG_FILE_PATH = /opt/rt3/etc CONFIG_FILE = $(CONFIG_FILE_PATH)/RT_Config.pm @@ -70,7 +70,7 @@ TAG = rt-$(RT_VERSION_MAJOR)-$(RT_VERSION_MINOR)-$(RT_VERSION_PATCH) # This is the group that all of the installed files will be chgrp'ed to. -RTGROUP = www +RTGROUP = freeside # User which should own rt binaries. @@ -82,11 +82,11 @@ LIBS_OWNER = root # Group that should own all of RT's libraries, generally root. LIBS_GROUP = bin -WEB_USER = www -WEB_GROUP = www +WEB_USER = freeside +WEB_GROUP = freeside -APACHECTL = /usr/sbin/apachectl +APACHECTL = # {{{ Files and directories @@ -112,9 +112,9 @@ LOCAL_PLUGIN_PATH = /opt/rt3/local/plugins LOCAL_ETC_PATH = /opt/rt3/local/etc LOCAL_LIB_PATH = /opt/rt3/local/lib LOCAL_LEXICON_PATH = /opt/rt3/local/po -MASON_HTML_PATH = /opt/rt3/share/html +MASON_HTML_PATH = /var/www/freeside/rt MASON_LOCAL_HTML_PATH = /opt/rt3/local/html -MASON_DATA_PATH = /opt/rt3/var/mason_data +MASON_DATA_PATH = /usr/local/etc/freeside/masondata MASON_SESSION_PATH = /opt/rt3/var/session_data RT_LOG_PATH = /opt/rt3/var/log @@ -170,6 +170,7 @@ SYSTEM_BINARIES = rt-attributes-viewer \ rt-email-dashboards \ rt-email-group-admin \ rt-server \ + rt-session-viewer \ rt-test-dependencies \ rt-clean-sessions \ rt-shredder \ @@ -194,7 +195,7 @@ ETC_FILES = acl.Informix \ # {{{ Web frontend -WEB_HANDLER = fastcgi +WEB_HANDLER = modperl2 # }}} @@ -206,7 +207,7 @@ WEB_HANDLER = fastcgi # "Pg" is known to work # "Informix" is known to work -DB_TYPE = mysql +DB_TYPE = Pg # Set DBA to the name of a unix account with the proper permissions and # environment to run your commandline SQL sbin @@ -218,7 +219,7 @@ DB_TYPE = mysql # For Oracle, you want 'system' # For Informix, you want 'informix' -DB_DBA = root +DB_DBA = freeside DB_HOST = localhost @@ -244,9 +245,9 @@ DB_RT_HOST = localhost # set this to the name you want to give to the RT database in # your database server. For Oracle, this should be the name of your sid -DB_DATABASE = rt3 -DB_RT_USER = rt_user -DB_RT_PASS = rt_pass +DB_DATABASE = freeside +DB_RT_USER = freeside +DB_RT_PASS = # }}} @@ -317,7 +318,7 @@ fixperms: chmod $(RT_READABLE_DIR_MODE) $(DESTDIR)$(RT_BIN_PATH) chmod 0755 $(DESTDIR)$(RT_ETC_PATH) - cd $(DESTDIR)$(RT_ETC_PATH) && chmod 0400 $(ETC_FILES) + cd $(DESTDIR)$(RT_ETC_PATH) && chmod 0400 $(ETC_FILES) || true #TODO: the config file should probably be able to have its # owner set separately from the binaries.