Commit Graph

130 Commits

Author SHA1 Message Date
David Anderson dfaf0023d4 - build system: don't install config.h
svn path=/trunk/boinc/; revision=18430
2009-06-16 19:28:08 +00:00
David Anderson 31b929ed67 - Unix build: make it work if "diff" is missing (??)
from Michael Tughan

svn path=/trunk/boinc/; revision=17821
2009-04-15 20:46:12 +00:00
Eric J. Korpela 8f3abcc835 - Added checks for net/*.h, arpa/*.h, netinet/*.h and code to figure out
which of those files to include
    - Modified MAC address check to work on some non-Linux unixes.
      (mac_address.cpp)
    - Added suggested change to "already attached to project" checking.
      (ProjectInfoPage.cpp)
    - changed includes of standard c header files to their c++ equivalents
      (i.e. replaced <stdio.h> with <cstdio>) for namespace protection.
    - replaced "using namespace std;" with more explicit "using std::function" in
      several files.
    - Fixed bug in checking whether the os is OS/2 and added conditional OS_OS2
      to the build environment. (boinc_platform.m4,configure.ac)
    - Changed build environment to not use -nostandardlibs unless we are using
      G++ and static linkage is specified. (configure.ac)
    - Added makefiles and package building files for solaris CSW package manager.
    - Fixed bug with attempting to find login name using logname. (configure.ac)
    - Added ifdef HAVE_* protection around some include files commonly found in
      sys.
    - Added support for unified binary for x86_64/i686-pc-solaris.
      (cs_platforms.cpp)
    - generate_host_cpid() now uses MAC address on non-linux unix.
      (hostinfo_network.cpp)
    - Macro BOINC_SET_COMPILE_FLAGS now doesn't check gcc only flags on non-gcc
      compilers. (boinc_set_compile_flags.m4)
    - Library compiles no longer depend upon the library extension or require
      the library to be prefixed with lib.
    - More fixes for fcgi builds.
    - Added declaration of "struct ether_addr" and ether_ntoa().  Have not yet
      implemented ether_ntoa() for machines that don't have it, or where it is
      buggy.  (unix_util.h)
    - Added FCGI::perror() which calls FCGI_perror(). (boinc_fcgi.{h,cpp})
    - Fixed library Makefiles so that all required headers get installed.


svn path=/trunk/boinc/; revision=17388
2009-02-26 00:23:23 +00:00
David Anderson b9fc36ef84 - GUI RPC: made password file read into function
- lib: minimized FCGI library

svn path=/trunk/boinc/; revision=17133
2009-02-03 21:22:50 +00:00
Eric J. Korpela 4e60ef3003 - STILL WORK TO BE DONE TO GET locale STUFF INSTALLED PROPERLY!!!
- Update to libtool 1.5.24
- build environment:  Major automake changes that I've been warning about
  for some time.
- Now uses libtool to build libraries.
- Builds separate boinc_fcgi and sched_fcgi libraries for use with 
  FCGI server components.
- New macro "BOINC_CHECK_LIB_WITH" that executes a "AC_CHECK_LIB" on
  a library only if --with-libname[=DIR] is specified on the configure
  command line.  This is to allow inclusion of libraries when the 
  ssl, gtk, wxWidgets, or other configuration is incorrect for static
  libraries.
- Added a lot of "--with-*" for some libraries that might be required for
  static builds.
- The sea directory has been moved to packages/generic.  Changes to sea
  and the associated scripts might be required to better make use of the
  staging mechanism and shared libraries.
- Fixed includes of boinc_fcgi.h in many files.
- Fixed places where FCGI_FILE needs to be used implicitly.
- Fixed missing define of _SC_PAGESIZE on hosts that define only
  _SC_PAGE_SIZE.
- Moved build of boinc_cmd (and source file) from lib to client



svn path=/trunk/boinc/; revision=16904
2009-01-13 23:06:02 +00:00
David Anderson 5ac0aee6ce - client: add OS name into the hash for host CPID
(for multi-OS hosts)
- scheduler: use sqrt(x) instead of x in stop-checking
    for single redundancy.

svn path=/trunk/boinc/; revision=16433
2008-11-05 20:27:04 +00:00
David Anderson 98cfb8d3b0 - rename .C files to .cpp so that Doxygen will work
svn path=/trunk/boinc/; revision=16069
2008-09-26 18:20:24 +00:00
Eric J. Korpela 40e243412d - Fixed fcgi builds to use an installed version of fcgi_stdio.h rather than
a modified boinc version.
    - Added new header "boinc_fcgi.h" to be used instead of "fcgi_stdio.h".
      This header defines I/O functions in the namespace FCGI rather than using
      redefined functions the way "fcgi_stdio.h" does.  This was causing a lot
      of headaches when both <cstdio> and "fcgi_stdio.h" was called.  Using
      overloaded functions fixes this problem, except when the only difference
      between functions is the return type (for example ::fopen() returns FILE*
      and FCGI::fopen() returns FCGI_FILE*).
    - Fixed some missing "#ifdef _WIN32" blocks in filesys.C



svn path=/trunk/boinc/; revision=15984
2008-09-09 19:10:42 +00:00
David Anderson 79d6e256d8 - compile fixes for Unix
svn path=/trunk/boinc/; revision=15961
2008-09-04 13:26:35 +00:00
David Anderson 096337a241 - Add support for code-signing using x509 certificates
(from Attila Marosi)


svn path=/trunk/boinc/; revision=15958
2008-09-04 12:50:54 +00:00
David Anderson f6b1ae85b9 - certificate stuff
svn path=/trunk/boinc/; revision=15957
2008-09-04 12:17:58 +00:00
David Anderson 4387e4491b - Fix emacs mode line in Makefile.am's
svn path=/trunk/boinc/; revision=15375
2008-06-08 22:18:52 +00:00
Eric J. Korpela 1f2d65bccb - Makefiles:
added client/scripts to default client build
    removed sea from the default clientgui build
    added locale/client to the default clientgui build
    moved installed headers from $(includedir) to $(pkgincludedir) which
       is $(includedir)/boinc by default.
    removed redefinitions of $(includedir) from Makefiles.
- configure:
    added locale/client/Makefile to AC_CONFIG_FILES


svn path=/trunk/boinc/; revision=15300
2008-05-28 01:38:39 +00:00
Eric J. Korpela 51e24737bd - Build fixes for non-Win32, non-Linux, non-MacOS systems.
- configure script:
        - Added checks for functions strdup(), strdupa(),
            daemon(), stat64(), strcasestr()
        - Fixed problems with kc_mysql.m4 and wxWidgets.m4 returning
            invalid CFLAGS and LIBS flags.
        - Fixed incorrect order of pthread flag checking on solaris.
    - New files: lib/unix_util.[Ch].  Currently contains implementation of
        daemon() for systems that lack it.
    - Access to binary files in /proc was failing on some systems when compiled
        with 64 bit file access.  Rearranged headers and defines to force 32bit
        file access in hostinfo_unix.C
    - all_tty_idle() didn't work as advertised on any system as far as I can
        tell.  I rewrote it to check ttys that are not named /dev/tty[1-9].
        The old implementation was modifying a statically allocated read-only
        string, (and crashing on some systems) anyway.
    - added implementation of non-standard function strcasestr() to str_util.C
    - added #define of MAP_FILE to shmem.C, because it is missing from most
        unix systems, (and is unnecessary on linux anyway).
    - other minor bug fixes.


svn path=/trunk/boinc/; revision=14996
2008-04-01 21:44:12 +00:00
David Anderson 671524df2a - Second pass at the above. We still need run_program() in util.C.
The problem was that there's a lot of extra stuff needed
    for running apps on Windows (e.g. related to sandboxing).
    This needed to be a new function.

svn path=/trunk/boinc/; revision=14879
2008-03-10 22:36:22 +00:00
David Anderson cc2f1a20a0 - lib: moved "run program as user" stuff to a separate file,
so it doesn't screw up the linkage of apps that don't use it
- start of server-side support for coprocessors

svn path=/trunk/boinc/; revision=14878
2008-03-10 21:59:27 +00:00
David Anderson c685f66384 - client: preliminary support for detecting and reporting coprocessors
(for now, CUDA devices)

svn path=/trunk/boinc/; revision=14876
2008-03-10 20:40:35 +00:00
Frank Thomas b46bda9d6f Added clean-local target to lib/Makefile.am to remove lib/boinccmd and
lib/boinccmd.unmodified on "make clean" and also added client/boinc.unmodified
and clientgui/boincmgr.unmodified to the respective clean-local targets.


svn path=/trunk/boinc/; revision=13772
2007-10-03 23:23:02 +00:00
David Anderson ef80e8576f - Added program sched/sched_driver.C.
This generates a sequence of scheduler requests,
    with host info taken from a file,
    that you can feed into the scheduler (cgi --batch)
    to simulate things like homogeneous redundancy
- Added args to XML_PARSER::skip_unexpected() to you can say
    whether to write messages to stderr for unparsed stuff.
    This is set to true if log_flags.unparsed_xml is set (client)
    or if debug_level is 3 (server)
- removed references to $(LIBRSA) in Makefile.am's

client/
    Makefile.am
    acct_mgr.C
    gui_rpc_server_ops.C
    log_flags.C
lib/
    Makefile.am
    app_ipc.C
    gui_rpc_client_ops.C
    parse.C,h
    prefs.C
sched/
    Makefile.am
    sched_config.C
    sched_driver.C

svn path=/trunk/boinc/; revision=13090
2007-07-03 21:55:50 +00:00
Charlie Fenton 6e7a4b2240 svn path=/trunk/boinc/; revision=12384 2007-04-17 09:11:31 +00:00
Charlie Fenton 9421bc866d *** empty log message ***
svn path=/trunk/boinc/; revision=12349
2007-04-12 00:05:52 +00:00
David Anderson 8ee50511de *** empty log message ***
svn path=/trunk/boinc/; revision=12277
2007-03-28 21:30:45 +00:00
David Anderson 81effa6a7b *** empty log message ***
svn path=/trunk/boinc/; revision=12127
2007-02-21 16:26:51 +00:00
Reinhard Prix 82daa9b14e install common_defs.h
svn path=/trunk/boinc/; revision=11757
2007-01-02 22:59:05 +00:00
David Anderson 86ad19ce5f *** empty log message ***
svn path=/trunk/boinc/; revision=11672
2006-12-14 00:42:43 +00:00
David Anderson 899db9e8d3 *** empty log message ***
svn path=/trunk/boinc/; revision=11668
2006-12-13 16:04:50 +00:00
David Anderson ec058a64b2 *** empty log message ***
svn path=/trunk/boinc/; revision=11654
2006-12-12 23:23:53 +00:00
David Anderson 25b3ae2b30 *** empty log message ***
svn path=/trunk/boinc/; revision=11052
2006-08-31 21:16:36 +00:00
Walt Gribben 221f40274e *** empty log message ***
svn path=/trunk/boinc/; revision=11050
2006-08-31 18:52:26 +00:00
Rom Walton eb2e8d44fa *** empty log message ***
svn path=/trunk/boinc/; revision=10162
2006-05-19 18:39:45 +00:00
David Anderson 805c004eb2 *** empty log message ***
svn path=/trunk/boinc/; revision=10129
2006-05-15 00:27:15 +00:00
Charlie Fenton 7e58912df8 *** empty log message ***
svn path=/trunk/boinc/; revision=9505
2006-02-18 03:41:16 +00:00
Eric J. Korpela 6e30e66599 Added #ifdefs and explicit inclusion of "boinc_win.h" to files to help those
trying to compile under windows with alternate compilers.

svn path=/trunk/boinc/; revision=9077
2005-12-16 03:35:15 +00:00
Eric J. Korpela d9ee426071 Added explicit includes of "config.h" in many files to enable use of compilers
without a -include command line option.

svn path=/trunk/boinc/; revision=8896
2005-11-21 18:34:44 +00:00
Reinhard Prix 78700671d7 Mac-sources mac_backtrace.[Ch] were missing from build...
svn path=/trunk/boinc/; revision=8328
2005-09-29 21:02:27 +00:00
Reinhard Prix c8d09966cf Install header-files necessary for building workunit-generator externally linked to BOINC.
svn path=/trunk/boinc/; revision=8313
2005-09-29 11:56:28 +00:00
Rom Walton 08dc36cc74 *** empty log message ***
svn path=/trunk/boinc/; revision=7699
2005-08-31 23:20:51 +00:00
Rom Walton 16a3169022 *** empty log message ***
svn path=/trunk/boinc/; revision=7190
2005-08-04 23:35:37 +00:00
David Anderson e652c96c1b OpenSSL support
svn path=/trunk/boinc/; revision=6886
2005-08-01 22:44:40 +00:00
David Anderson 975e70f250 split GUI RPC code
svn path=/trunk/boinc/; revision=6881
2005-07-31 23:33:12 +00:00
David Anderson e40919d465 *** empty log message ***
svn path=/trunk/boinc/; revision=6394
2005-06-21 17:54:10 +00:00
Bruce Allen 06a2ff4e4e Remove redundant EXTRA_DIST
svn path=/trunk/boinc/; revision=5823
2005-04-11 08:04:03 +00:00
David Anderson 5eac73217c *** empty log message ***
svn path=/trunk/boinc/; revision=5822
2005-04-11 07:06:52 +00:00
Rom Walton 24af286e66 *** empty log message ***
svn path=/trunk/boinc/; revision=5655
2005-03-14 01:08:34 +00:00
Rom Walton fba33deb75 *** empty log message ***
svn path=/trunk/boinc/; revision=5651
2005-03-13 21:05:46 +00:00
David Anderson 2944a46d99 *** empty log message ***
svn path=/trunk/boinc/; revision=5575
2005-03-07 21:19:09 +00:00
David Anderson 0cda636912 *** empty log message ***
svn path=/trunk/boinc/; revision=5392
2005-02-10 22:26:31 +00:00
David Anderson ec08015c7e *** empty log message ***
svn path=/trunk/boinc/; revision=4850
2004-12-15 07:08:54 +00:00
David Anderson 8cab8517fd *** empty log message ***
svn path=/trunk/boinc/; revision=4846
2004-12-14 20:28:13 +00:00
David Anderson fc8c69048f *** empty log message ***
svn path=/trunk/boinc/; revision=4795
2004-12-08 20:55:53 +00:00
Bruce Allen d11fe55856 Thanks, Reinhard!
-   C extern statements so that 'API' header files can be included in C
        programs as well as C++.
-   Make install now only installs the header files needed for building
        the external APIs.

svn path=/trunk/boinc/; revision=4755
2004-12-04 00:56:22 +00:00
Eric J. Korpela 483ceaca0b *** empty log message ***
svn path=/trunk/boinc/; revision=4456
2004-10-29 04:42:37 +00:00
David Anderson 652d4c090b *** empty log message ***
svn path=/trunk/boinc/; revision=4342
2004-10-19 06:29:26 +00:00
David Anderson 57be0ccde2 *** empty log message ***
svn path=/trunk/boinc/; revision=4339
2004-10-18 01:54:28 +00:00
David Anderson c9b404bc82 *** empty log message ***
svn path=/trunk/boinc/; revision=4298
2004-10-06 20:48:03 +00:00
David Anderson 38ef18f633 *** empty log message ***
svn path=/trunk/boinc/; revision=4153
2004-09-04 23:42:27 +00:00
Karl Chen 235bdb4277 *** empty log message ***
svn path=/trunk/boinc/; revision=3662
2004-06-18 09:05:15 +00:00
David Anderson bfb0bb2c62 *** empty log message ***
svn path=/trunk/boinc/; revision=3614
2004-06-16 22:00:53 +00:00
David Anderson 0501daab73 *** empty log message ***
svn path=/trunk/boinc/; revision=3609
2004-06-16 19:59:07 +00:00
David Anderson 4df39e85e4 *** empty log message ***
svn path=/trunk/boinc/; revision=3543
2004-06-12 04:45:36 +00:00
David Anderson 4c39b058eb *** empty log message ***
svn path=/trunk/boinc/; revision=3518
2004-06-09 20:04:09 +00:00
Rom Walton bfe5669152 *** empty log message ***
svn path=/trunk/boinc/; revision=3301
2004-04-27 18:37:52 +00:00
David Anderson 4038161d07 *** empty log message ***
svn path=/trunk/boinc/; revision=3186
2004-03-29 06:14:22 +00:00
David Anderson 4348705f8f *** empty log message ***
svn path=/trunk/boinc/; revision=3158
2004-03-24 23:33:46 +00:00
Kevin Dalley 6f53b88c4e * lib/Makefile.am (libboinc_a_SOURCES): add sighandle.[Ch].
svn path=/trunk/boinc/; revision=3089
2004-03-17 05:01:29 +00:00
Karl Chen 7519dc516c *** empty log message ***
svn path=/trunk/boinc/; revision=2889
2004-01-15 23:53:13 +00:00
David Anderson 50e2c6cff2 *** empty log message ***
svn path=/trunk/boinc/; revision=2823
2003-12-24 00:50:51 +00:00
Karl Chen dad78a8c80 base64
svn path=/trunk/boinc/; revision=2717
2003-11-29 07:56:53 +00:00
Karl Chen e4d3f63780 *** empty log message ***
svn path=/trunk/boinc/; revision=2476
2003-10-15 08:47:13 +00:00
David Anderson 1a56274103 *** empty log message ***
svn path=/trunk/boinc/; revision=2453
2003-10-13 21:29:43 +00:00
David Anderson dee05eb5ad *** empty log message ***
svn path=/trunk/boinc/; revision=2452
2003-10-13 21:29:42 +00:00
Eric J. Korpela ccc3d6fde8 *** empty log message ***
svn path=/trunk/boinc/; revision=2354
2003-09-24 18:49:27 +00:00
Karl Chen 4f68791c59 *** empty log message ***
svn path=/trunk/boinc/; revision=1487
2003-06-14 22:12:16 +00:00
Karl Chen d18842700d *** empty log message ***
svn path=/trunk/boinc/; revision=1486
2003-06-14 22:05:35 +00:00
Karl Chen e87c553e8e *** empty log message ***
svn path=/trunk/boinc/; revision=1485
2003-06-14 22:04:20 +00:00
Karl Chen 784ee79c71 *** empty log message ***
svn path=/trunk/boinc/; revision=1484
2003-06-14 21:52:55 +00:00
Karl Chen 74dcb7ab20 *** empty log message ***
svn path=/trunk/boinc/; revision=1481
2003-06-14 21:52:52 +00:00
Karl Chen ebab346ca4 added result_state.h
svn path=/trunk/boinc/; revision=1480
2003-06-14 21:52:02 +00:00
Karl Chen 879617f4f8 Makefile distribution updates
svn path=/trunk/boinc/; revision=1335
2003-06-08 00:49:48 +00:00
Karl Chen defe655731 Rewrote build system using automake
svn path=/trunk/boinc/; revision=1319
2003-06-06 19:00:42 +00:00