Commit Graph

4 Commits

Author SHA1 Message Date
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
Eric J. Korpela 1e08334179 - Fixes to init script.
- Commands in Makefile.am to install init scripts
    - Initial checkin of sample configuration file boinc-client.conf


svn path=/trunk/boinc/; revision=15173
2008-05-12 16:40:10 +00:00
Eric J. Korpela 5e058baa54 - Unix init script: modified to make less linux specific.
- Does not presume the existence of "pidof" or "runuser".  
    - If started with an old style Bourne shell, will try to restart
      in bash, zsh or ksh.
    - Starts with no parameters by default.
    - Logs stdout and stderr to /var/log/boinc_client.log and
      /var/log/boinc_client_err.log by default.
    - With appropriate "boinc-client.conf", the script can be run by
      a non-root user.
    - More changes are likely to be required.


svn path=/trunk/boinc/; revision=15047
2008-04-14 17:01:37 +00:00
Eric J. Korpela 03b2b7e5ef - Added init.d script (boinc-client.in) and Makefile.am to install it.
- I got this from the Fedora package.  I have modified it to create the
      run directory if it does not exist, and to not run boinc as root.
      Checking for running processes needs to be improved.
    - boinc-client.in is still very linux centric and probably won't work on
      non-linux systems or under Bourne shell without significant changes.


svn path=/trunk/boinc/; revision=15018
2008-04-04 18:29:59 +00:00