Commit Graph

674 Commits

Author SHA1 Message Date
Vitalii Koshura 47143b940a
Merge pull request #3481 from smoe/patch-1
Remove remnants to subversion
2020-05-06 23:16:04 +02:00
Rytis Slatkevičius 4cd2dad0da
Grammar in configure.ac 2020-03-13 14:12:07 +02:00
Steffen Möller 916918b2f7
Remove remnants to subversion
I had a problem running that code on "ash". It looked right to me, no idea whatt could possibly be wrong about it, but since there is no need for that piece of code anyway, it should just go.
2020-02-28 18:35:17 +01:00
David Anderson 62b26017b6 update version to 7.17; update installshield files 2020-01-23 22:58:59 -08:00
James Molson a513855d55 FreeBSD: Add a check in configure.ac and in lib/Makefile.am link to
execinfo.
2019-07-11 16:40:30 +02:00
Kevin Reed 58b44085f1
Merge pull request #3141 from BOINC/dpa_vbox60
update vboxwrapper (COM version) for Vbox 6.0
2019-06-20 11:55:12 -05:00
David Anderson 98abb78ada Increment version #s in configure.ac and version.h too (to 26202) 2019-05-12 22:26:18 -07:00
Christian Beer 6dbf55fd9a Tests: add unit testing framework using googletest
* enable coverage reports from gcc and disable optimizations via option to configure
* install googletest library into buildcache
* script to compile and run unit tests using cmake
* first set of unit tests originaly contributed by Keith Uplinger

There are several hardcoded paths and assumptions made in order to get this working on Travis CI. New tooling is using cmake for cross platform builds and as such is not easy to use with an autotools based system.
It's not ideal but better than nothing.
2019-04-20 13:30:03 +02:00
Christian Beer 231f1b997e Test: Move old test code
Keep it around for reference when designing new tests. Added a readme so new contributors are not confused.
2019-04-13 14:57:23 +02:00
Uplinger e39bf2374d
Merge pull request #3077 from JuhaSointusalo/update-copyrights
update copyright year
2019-04-10 14:02:29 -05:00
Juha Sointusalo 3fd0e8b116 update copyright year 2019-04-08 21:50:03 +03:00
Juha Sointusalo ce3db105b0 build: remove Fortran checks
While science apps may use Fortran BOINC itself doesn't use it making
the checks useless.

Removing the checks reduces verbosity of configure a little bit making
its output more accessible.
2019-03-22 22:12:04 +02:00
David Anderson b8271e9cdc client: change version to 7.15.0 2018-11-16 16:40:07 -08:00
Christian Beer c2a529dad7
Merge pull request #2782 from EvaSDK/configure-bashism
Drop bashisms in configure.ac and macros
2018-10-28 10:20:42 +01:00
Gilles Dartiguelongue 0844c86caa Reduces unneeded calls to test 2018-10-24 16:52:33 +02:00
Gilles Dartiguelongue e3b51af149 Remove bashisms
[[ and == are bash operators. Replace some instances of these tests by
AS_IF which is the proper M4sh way.
2018-10-24 16:46:02 +02:00
Gilles Dartiguelongue 4d883da17d Make missing MySQL fatal when enable_server=yes
Closes: #1970.
2018-10-24 15:55:12 +02:00
Juha Sointusalo aa0fcd72b3 build: remove the test for /proc/self/exe
When building BOINC on MSYS+MinGW the build time environment does have
/proc but the run time environment never has /proc.

BSDs consider /proc to be an optional feature and, as such, /proc may be
present at build time but missing at run time or vice versa.

This makes checking for /proc/self/exe in configure unreliable and the
check is better done at run time. get_real_executable_path() is the only
user of the test result and has already been changed to do the check at
run time.
2018-09-22 18:40:24 +03:00
David Anderson 1bffea8aaf update installshield files; update version #s; fix Win custom action build 2018-07-17 12:42:39 -07:00
Juha Sointusalo 50a79e0f34 build: remove NO_PER_THREAD_LOCALE stuff
NO_PER_THREAD_LOCALE has been replaced by HAVE__CONFIGTHREADLOCALE and
HAVE_USELOCALE.

Also remove HAVE_DECL__CONFIGTHREADLOCALE which was used only for
NO_PER_THREAD_LOCALE.
2018-03-28 16:21:33 +03:00
Juha Sointusalo 6e2204c082 build: check for per-thread locale support
Allows fixing and cleaning up per-thread locale support in Manager and
libboinc.

locale.h and xlocale.h were checked for libboinc_graphics. Move
xlocale.h check to correct place and remove locale.h check. locale.h has
been part of C standard library since C89.

The support for per-thread locales cannot be reliably inferred from the
existence of different headers. Some systems declare uselocale() in
locale.h, others in xlocale.h and xlocale.h is no longer included in GNU
libc. Instead explicitly check for uselocale() and
_configthreadlocale().

Add uselocale() check result to Mac config.h so that the #ifdef mazes
can be simplified.

Also correct quoting in AC_CHECK_FUNCS and AC_CHECK_HEADERS calls.
2018-03-28 16:07:54 +03:00
RichardHaselgrove 0f628055b7 in preparation for next development cycle 2018-02-09 12:22:30 +00:00
Bryan Quigley 2674c25be4 Add generated systemd unit
Both Fedora and Debian have their own systemd units for boinc;
this is based on elements of both so we stop duplicating effort.

This also adds minimal confinement to protect the home directories.

Also added clean to init.d script and made it only install if a
init.d directory already exists.

Closes: #2255
2018-02-02 16:06:45 -05:00
David Anderson 2dae052594 vboxwrapper: bump version to 26200 2017-11-05 21:05:42 -08:00
Juha Sointusalo e0aa45e1c1
Merge pull request #1863 from BOINC/fix_issue-1227
Build: use default sysconfdir instead of /etc
2017-10-29 22:54:38 +02:00
David Anderson 12fd645406 increment client version to 7.9.0 2017-09-22 22:58:29 -07:00
Christian Beer d5ca370329 Build: use default sysconfdir instead of /etc
When using --prefix this override tries to install files from client/scripts to /etc instead of ${prefix}/etc. This is against what the user wants and leads to an error message as normally only root can install files to /etc. There is no need to be backwards compatible in this place as installs are usually done via repository packages.
This still uses /etc to determine where the config file should be copied to which is ok because the user most likely wants to use the Client on the machine it was built on.

Note: The startup scripts and config files in client/scripts are outdated and might not work on recent Linux distributions. Newer ones can be found in the Debian/Fedora packages.
2017-04-11 13:54:42 +02:00
Christian Beer 31e8427469 Manager/Lib: fix 'New Manager window' function on Linux
This was not working because the manager was not detecting its own executable name and path so it couldn't start a new instance of itself. Windows and Mac use different codepaths so it worked there.
The new library function can be extended for Windows and Mac to avoid code duplication.
2017-03-16 18:31:42 +01:00
Fabrice Fontaine 312520b74a Check execinfo.h availability in configure.ac
Currently, execinfo.h is included in lib/diagnostics.cpp if __GLIBC__ is
defined. However, this does not work when cross-compiling boinc with
uclibc-ng. So, instead, check the presence of execinfo.h in configure.ac
and update lib/diagnostics.cpp accordingly.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2017-02-26 11:02:55 +01:00
David Anderson 2af9a36c92 configure: check curl only if building client 2016-12-17 11:27:19 -08:00
David Anderson ed3283faf3 configure: check curl only if building client 2016-12-17 11:24:55 -08:00
Eric J Korpela 0c08a4ef92 Work around for bug in RHEL6 curl 7.19.7 port (curl-config --libs reports
incorrectly.)
2016-09-07 16:31:13 -07:00
Rom Walton db235ff199 BUILD: Update vboxwrappers version to 26197. 2016-08-08 08:10:17 -07:00
Rom Walton 6a0713c0a0 BUILD: Update vboxwrappers version to 26196. 2016-07-12 23:15:16 -07:00
Rom Walton fe6dfb418a BUILD: Update vboxwrappers version to 26195. 2016-07-12 23:03:44 -07:00
Rom Walton 211cb04be9 BUILD: Update vboxwrappers version to 26194. 2016-07-04 16:31:42 -07:00
Rom Walton 0fc08e0ffa BUILD: Update vboxwrappers version to 26193. 2016-06-15 23:46:22 -07:00
Rom Walton d0aec882f2 BUILD: Update vboxwrappers version to 26192. 2016-06-14 09:52:18 -07:00
Rom Walton 95ff3db917 BUILD: Update vboxwrappers version to 26191. 2016-06-13 19:47:02 -07:00
Rom Walton 6e792288e4 BUILD: Update vboxwrappers version to 26190. 2016-06-13 09:51:13 -07:00
Rom Walton bf53dc8a01 BUILD: Update vboxwrappers version to 26189. 2016-06-12 22:04:52 -07:00
Rom Walton f68d6951e8 BUILD: Update vboxwrappers version to 26188. 2016-06-12 20:37:31 -07:00
Rom Walton 2d2beded16 BUILD: Update vboxwrappers version to 26187. 2016-06-10 08:08:38 -07:00
Rom Walton a1b337aaa0 BUILD: Update vboxwrappers version to 26186. 2016-06-03 23:16:59 -07:00
Rom Walton 5d0ac6d573 BUILD: Update vboxwrappers version to 26185. 2016-06-03 23:00:48 -07:00
Rom Walton 52ab02ae92 BUILD: Update vboxwrappers version to 26184. 2016-02-10 15:06:54 -05:00
Christian Beer 6a4b7899b3 BUILD: fix curl detection
Since curl is needed for the libraries and the libraries are needed for everything else check for libcurl by default.
2016-02-09 10:19:03 +01:00
Rom Walton efcbc3c38d BUILD: Update vboxwrappers version to 26183. 2016-02-07 17:20:00 -05:00
Rom Walton c080bba6bf BUILD: Update vboxwrappers version to 26182. 2016-02-03 21:58:34 -05:00
Rom Walton d44644111c BUILD: Update vboxwrappers version to 26181. 2016-02-03 21:56:29 -05:00