- Tag for 6.1.9 release, all platforms

boinc_core_release_6_1_9

svn path=/trunk/boinc/; revision=14815
This commit is contained in:
Rom Walton 2008-02-28 15:57:42 +00:00
parent fd1f602ad5
commit 63a15edd06
6 changed files with 76 additions and 6 deletions

View File

@ -1729,3 +1729,8 @@ Charlie Feb 28 2008
clientgui/
MainDocument.cpp
ViewMessages.cpp
Rom Jan 30 2008 (HEAD)
- Tag for 6.1.9 release, all platforms
boinc_core_release_6_1_9

View File

@ -9,7 +9,7 @@ dnl not sure exactly what the minimum version is (but 2.13 wont work)
AC_PREREQ(2.57)
dnl Set the BOINC version here. You can also use the set-version script.
AC_INIT(BOINC, 6.1.8)
AC_INIT(BOINC, 6.1.9)
AC_ARG_ENABLE(debug,
AS_HELP_STRING([--enable-debug],

View File

@ -10,10 +10,10 @@
#define BOINC_MINOR_VERSION 1
/* Release part of BOINC version number */
#define BOINC_RELEASE 8
#define BOINC_RELEASE 9
/* String representation of BOINC version number */
#define BOINC_VERSION_STRING "6.1.8"
#define BOINC_VERSION_STRING "6.1.9"
#if (defined(_WIN32) || defined(__APPLE__))
/* Name of package */
@ -26,13 +26,13 @@
#define PACKAGE_NAME "BOINC"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "BOINC 6.1.8"
#define PACKAGE_STRING "BOINC 6.1.9"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "boinc"
/* Define to the version of this package. */
#define PACKAGE_VERSION "6.1.8"
#define PACKAGE_VERSION "6.1.9"
#endif /* #if (defined(_WIN32) || defined(__APPLE__)) */

View File

@ -246,6 +246,8 @@ UINT CACreateBOINCAccounts::OnExecution()
);
return ERROR_INSTALL_FAILURE;
}
SetProperty( _T("BOINC_MASTER_CREATED"), _T("1") );
}
if(pSid != NULL) {
HeapFree(GetProcessHeap(), 0, pSid);
@ -403,6 +405,7 @@ UINT CACreateBOINCAccounts::OnExecution()
return ERROR_INSTALL_FAILURE;
}
SetProperty( _T("BOINC_PROJECT_CREATED"), _T("1") );
}
if(pSid != NULL) {
HeapFree(GetProcessHeap(), 0, pSid);

View File

@ -77,7 +77,7 @@ UINT CACreateClientAuthFile::OnExecution()
uiReturnValue = GetProperty( _T("ENABLEPROTECTEDAPPLICATIONEXECUTION"), strEnableProtectedApplicationExecution );
if ( uiReturnValue ) return uiReturnValue;
uiReturnValue = GetProperty( _T("BOINC_PROJECT_USERNAME"), strBOINCProjectAccountUsername );
uiReturnValue = GetProperty( _T("BOINC_PROJECT_ISUSERNAME"), strBOINCProjectAccountUsername );
if ( uiReturnValue ) return uiReturnValue;
uiReturnValue = GetProperty( _T("BOINC_PROJECT_PASSWORD"), strBOINCProjectAccountPassword );

View File

@ -157,6 +157,68 @@ UINT CAGrantBOINCMasterRights::OnExecution()
return ERROR_INSTALL_FAILURE;
}
//
// Grant the SeAssignPrimaryTokenPrivilege to users represented by pSid.
//
Status = SetPrivilegeOnAccount(
PolicyHandle, // policy handle
pSid, // SID to grant privilege
L"SeAssignPrimaryTokenPrivilege", // Unicode privilege
TRUE // enable the privilege
);
if(Status != STATUS_SUCCESS)
{
LogMessage(
INSTALLMESSAGE_INFO,
NULL,
NULL,
NULL,
Status,
_T("SetPrivilegeOnAccount failed.")
);
LogMessage(
INSTALLMESSAGE_ERROR,
NULL,
NULL,
NULL,
NULL,
_T("Failed call to SetPrivilegeOnAccount - SeAssignPrimaryTokenPrivilege")
);
return ERROR_INSTALL_FAILURE;
}
//
// Grant the SeIncreaseQuotaPrivilege to users represented by pSid.
//
Status = SetPrivilegeOnAccount(
PolicyHandle, // policy handle
pSid, // SID to grant privilege
L"SeIncreaseQuotaPrivilege", // Unicode privilege
TRUE // enable the privilege
);
if(Status != STATUS_SUCCESS)
{
LogMessage(
INSTALLMESSAGE_INFO,
NULL,
NULL,
NULL,
Status,
_T("SetPrivilegeOnAccount failed.")
);
LogMessage(
INSTALLMESSAGE_ERROR,
NULL,
NULL,
NULL,
NULL,
_T("Failed call to SetPrivilegeOnAccount - SeIncreaseQuotaPrivilege")
);
return ERROR_INSTALL_FAILURE;
}
//
// Grant the SeDenyInteractiveLogonRight to users represented by pSid.
//