version 1.20, 2008/08/14 14:27:53
|
version 1.21, 2008/11/05 21:07:36
|
|
|
with_test_user=$optarg | with_test_user=$optarg |
;; | ;; |
| |
|
--with-test-user-pass=*) |
|
with_test_user-pass=$optarg |
|
;; |
|
|
|
--with-temp-build-dir=*) |
|
with_temp_build_dir=$optarg |
|
;; |
|
|
*) | *) |
echo "$0: unknown option: $opt" | echo "$0: unknown option: $opt" |
exit 1 | exit 1 |
|
|
Install super-user programs here. | Install super-user programs here. |
--libdir=DIR | --libdir=DIR |
Install libraries here. | Install libraries here. |
--incluedir=DIR |
--includedir=DIR |
Install include files here. | Install include files here. |
--datadir=DIR | --datadir=DIR |
Install data files here. | Install data files here. |
|
|
Specify an alternative PAM directory location (defaults to /etc/pam.d). | Specify an alternative PAM directory location (defaults to /etc/pam.d). |
--with-test-user=USER | --with-test-user=USER |
The USER for user-related tests (must refer to actual OS user). | The USER for user-related tests (must refer to actual OS user). |
|
This feature is used only with the pegasus test suite |
|
--with-test-user-pass=PASSWORD |
|
The PASSWORD for user-related tests (must refer to actual OS user). |
|
This feature is used only with the pegasus test suite. |
--enable-ssl | --enable-ssl |
Enable SSL feature | Enable SSL feature |
--with-ssl=DIR | --with-ssl=DIR |
|
|
--enable-binary-repository | --enable-binary-repository |
Enable the binary repository feature, resulting in a smaller CIM | Enable the binary repository feature, resulting in a smaller CIM |
repository disk footprint. | repository disk footprint. |
|
--with-temp-build-dir=directory |
|
Uses defined temporary directory for all work files during build and |
|
test process. |
--with-solaris-defaults | --with-solaris-defaults |
Enables reasonable defaults for the Solaris platform. These | Enables reasonable defaults for the Solaris platform. These |
includes: | includes: |
|
|
includedir=$prefix/include | includedir=$prefix/include |
fi | fi |
| |
# --datadir: |
|
|
|
if [ -z "$datadir" ]; then |
|
datadir=$prefix/share |
|
fi |
|
|
|
if [ -z "$with_pam" ]; then | if [ -z "$with_pam" ]; then |
with_pam=/etc/pam.d | with_pam=/etc/pam.d |
fi | fi |
| |
if [ -z "$with_test_user" ]; then |
|
with_test_user=guest |
|
fi |
|
|
|
##============================================================================== | ##============================================================================== |
## | ## |
## Verify --with-ssl directory. | ## Verify --with-ssl directory. |
|
|
## Verify --with-external-slp - Test for valid keyword and no openslp option | ## Verify --with-external-slp - Test for valid keyword and no openslp option |
## | ## |
##============================================================================== | ##============================================================================== |
##if [ ! -z "$with_external_slp" ]; then |
if [ ! -z "$with_external_slp" ]; then |
|
external_slp_types="openslp,solarisslp,none" |
|
if [ ! -z "with_open_slp" ]; then |
|
echo Error: trying to use both --with-open-slp and --with-external-slp" |
|
exit 1 |
|
fi |
|
pos=`expr index ${external_slp_types} ${with_external_slp}` |
|
|
|
if (( $pos = 0 )); then |
|
echo "$0: Error: $with_external_slp value is not valid external type" |
|
exit 1; |
|
fi |
|
fi |
|
if |
| |
## if [ "$with_external_slp" = "openslp ]; then |
|
## echo "$0: Error: No such directory: --with-openslp=$with_external_slp_dir" |
|
## exit 1; |
|
## fi |
|
| |
##fi |
|
##============================================================================== | ##============================================================================== |
## | ## |
## Verify --with-external-slp-dir directory. | ## Verify --with-external-slp-dir directory. |
|
|
fi | fi |
| |
if [ "$with-test-user" != "1" ]; then | if [ "$with-test-user" != "1" ]; then |
echo "export PEGASUS_TEST_USERID=$with_test_user" >> $options |
echo "export PEGASUS_TEST_USER_ID=$with_test_user" >> $options |
|
fi |
|
|
|
if [ "$with-test-user-pass" != "1" ]; then |
|
echo "export PEGASUS_TEST_USER_PASS=$with_test_user_pass" >> $options |
fi | fi |
| |
echo "created $options" | echo "created $options" |