version 1.20.2.19, 2005/04/19 19:06:01
|
version 1.20.2.22, 2005/04/21 07:03:53
|
|
|
# | # |
# Package spec for PEGASUS 2.4 | # Package spec for PEGASUS 2.4 |
# | # |
%define srcRelease 3 |
%define srcRelease 1 |
Summary: OpenPegasus WBEM Services for Linux | Summary: OpenPegasus WBEM Services for Linux |
Name: tog-pegasus | Name: tog-pegasus |
Version: 2.4.1.Beta |
Version: 2.4.1 |
Release: 3 |
Release: 1 |
Group: Systems Management/Base | Group: Systems Management/Base |
Copyright: Open Group Pegasus Open Source | Copyright: Open Group Pegasus Open Source |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} |
|
|
openssl req -x509 -days 3650 -newkey rsa:2048 \ | openssl req -x509 -days 3650 -newkey rsa:2048 \ |
-nodes -config %PEGASUS_CONFIG_DIR/ssl.cnf \ | -nodes -config %PEGASUS_CONFIG_DIR/ssl.cnf \ |
-keyout %PEGASUS_CONFIG_DIR/key.pem -out %PEGASUS_CONFIG_DIR/cert.pem 2>>%INSTALL_LOG | -keyout %PEGASUS_CONFIG_DIR/key.pem -out %PEGASUS_CONFIG_DIR/cert.pem 2>>%INSTALL_LOG |
|
chmod 700 %PEGASUS_CONFIG_DIR/*.pem |
cat %PEGASUS_CONFIG_DIR/key.pem > %PEGASUS_CONFIG_DIR/file_2048.pem | cat %PEGASUS_CONFIG_DIR/key.pem > %PEGASUS_CONFIG_DIR/file_2048.pem |
|
chmod 400 %PEGASUS_CONFIG_DIR/file_2048.pem |
cat %PEGASUS_CONFIG_DIR/cert.pem > %PEGASUS_CONFIG_DIR/server_2048.pem | cat %PEGASUS_CONFIG_DIR/cert.pem > %PEGASUS_CONFIG_DIR/server_2048.pem |
|
chmod 400 %PEGASUS_CONFIG_DIR/server_2048.pem |
cat %PEGASUS_CONFIG_DIR/cert.pem > %PEGASUS_CONFIG_DIR/client_2048.pem | cat %PEGASUS_CONFIG_DIR/cert.pem > %PEGASUS_CONFIG_DIR/client_2048.pem |
chmod 700 %PEGASUS_CONFIG_DIR/*.pem |
chmod 400 %PEGASUS_CONFIG_DIR/client_2048.pem |
| |
rm -f %PEGASUS_CONFIG_DIR/key.pem %PEGASUS_CONFIG_DIR/cert.pem | rm -f %PEGASUS_CONFIG_DIR/key.pem %PEGASUS_CONFIG_DIR/cert.pem |
| |