48b4c5b537
- mutiple SSL cert files can now be added to the MRCI_PUB_KEY env variable via colon seperated ':' path strings to complete the cert chain if such a thing is required. It is no longer necessary to merge to multiple certs into one to complete a cert chain. - added -load_ssl command line option so cert data can be re-loaded in real time without the need to stop-start the host. - added more detailed error messages to the SSL loading process for easier debugging. - major changes to the build system include the use of python scripts instead of the linux shell script file. - linux_build.sh was removed since it is no longer needed. - the new build process now run 2 python scripts: build.py and then install.py. - the resulting installer if built no longer uses makeself. the installation and/or self extracting process is now handled entirely by python and the install.py script. The main reason for this change is to lay the ground work for multi- platform support. It is still linux only for now but adding windows support will be much easier in the future thanks to python's cross- platform support.
100 lines
2.7 KiB
Prolog
100 lines
2.7 KiB
Prolog
#-------------------------------------------------
|
|
#
|
|
# Project created by QtCreator 2017-03-19
|
|
#
|
|
# This file is part of MRCI.
|
|
#
|
|
# MRCI is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# MRCI is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with MRCI under the LICENSE.md file. If not, see
|
|
# <http://www.gnu.org/licenses/>.
|
|
#
|
|
#-------------------------------------------------
|
|
|
|
QT -= gui
|
|
QT += network
|
|
QT += sql
|
|
|
|
CONFIG += console
|
|
CONFIG -= app_bundle
|
|
|
|
TARGET = build/mrci
|
|
OBJECTS_DIR = build
|
|
MOC_DIR = build
|
|
RCC_DIR = build
|
|
|
|
win32 {
|
|
|
|
LIBS += -llibeay32 -lssleay32
|
|
|
|
} else {
|
|
|
|
LIBS += -lcrypto -lssl
|
|
|
|
}
|
|
|
|
SOURCES += src/main.cpp \
|
|
src/async_funcs.cpp \
|
|
src/cmd_object.cpp \
|
|
src/cmd_proc.cpp \
|
|
src/commands/channels.cpp \
|
|
src/commands/cmd_ranks.cpp \
|
|
src/commands/p2p.cpp \
|
|
src/mem_share.cpp \
|
|
src/module.cpp \
|
|
src/session.cpp \
|
|
src/db.cpp \
|
|
src/make_cert.cpp \
|
|
src/tcp_server.cpp \
|
|
src/unix_signal.cpp \
|
|
src/common.cpp \
|
|
src/shell.cpp \
|
|
src/db_setup.cpp \
|
|
src/commands/users.cpp \
|
|
src/commands/mods.cpp \
|
|
src/commands/info.cpp \
|
|
src/commands/cast.cpp \
|
|
src/commands/admin.cpp \
|
|
src/commands/auth.cpp \
|
|
src/commands/acct_recovery.cpp \
|
|
src/commands/table_viewer.cpp \
|
|
src/commands/fs.cpp
|
|
|
|
HEADERS += \
|
|
src/cmd_object.h \
|
|
src/cmd_proc.h \
|
|
src/commands/channels.h \
|
|
src/commands/cmd_ranks.h \
|
|
src/commands/p2p.h \
|
|
src/mem_share.h \
|
|
src/module.h \
|
|
src/session.h \
|
|
src/db.h \
|
|
src/make_cert.h \
|
|
src/tcp_server.h \
|
|
src/unix_signal.h \
|
|
src/common.h \
|
|
src/shell.h \
|
|
src/db_setup.h \
|
|
src/commands/users.h \
|
|
src/commands/mods.h \
|
|
src/commands/info.h \
|
|
src/commands/cast.h \
|
|
src/commands/admin.h \
|
|
src/commands/auth.h \
|
|
src/commands/acct_recovery.h \
|
|
src/commands/table_viewer.h \
|
|
src/commands/fs.h
|
|
|
|
RESOURCES += \
|
|
cmd_docs.qrc
|