diff options
Diffstat (limited to 'usr/src/pkgdefs/SUNWopensslr')
-rw-r--r-- | usr/src/pkgdefs/SUNWopensslr/i.opensslcnf | 58 | ||||
-rw-r--r-- | usr/src/pkgdefs/SUNWopensslr/pkginfo.tmpl | 2 | ||||
-rw-r--r-- | usr/src/pkgdefs/SUNWopensslr/prototype_com | 11 | ||||
-rw-r--r-- | usr/src/pkgdefs/SUNWopensslr/r.opensslcnf | 31 |
4 files changed, 96 insertions, 6 deletions
diff --git a/usr/src/pkgdefs/SUNWopensslr/i.opensslcnf b/usr/src/pkgdefs/SUNWopensslr/i.opensslcnf new file mode 100644 index 0000000000..ea01596e76 --- /dev/null +++ b/usr/src/pkgdefs/SUNWopensslr/i.opensslcnf @@ -0,0 +1,58 @@ +#!/bin/sh +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# +# +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +# +# ident "%Z%%M% %I% %E% SMI" +# + +TAG=new +CLEANUP_FILE=/tmp/CLEANUP + +read src dest || exit 0 + +message=" +Please check out ${dest}.${TAG} to see +differencies between possibly old 0.9.7d-based configuration +file and a new 0.9.8a one. Most important change is that +default message digest algorithm for certificates (default_md +variable) changed from 'md5' to 'sha1' between those two +versions. +" + +if [ ! -f $dest ] ; then + cp $src $dest +else + cmp -s $src $dest + if [ $? != 0 ] ; then + cp $src $dest.${TAG} + echo "EXISTING_FILE_PRESERVED: ${dest} ${dest}.${TAG}" \ + >> ${CLEANUP_FILE} + echo "$message" >>${CLEANUP_FILE} + echo "$message" + fi +fi + +exit 0 diff --git a/usr/src/pkgdefs/SUNWopensslr/pkginfo.tmpl b/usr/src/pkgdefs/SUNWopensslr/pkginfo.tmpl index 18fd4283ea..7eea6a85a5 100644 --- a/usr/src/pkgdefs/SUNWopensslr/pkginfo.tmpl +++ b/usr/src/pkgdefs/SUNWopensslr/pkginfo.tmpl @@ -44,7 +44,7 @@ DESC="OpenSSL (Root)" VENDOR="Sun Microsystems, Inc." HOTLINE="Please contact your local service provider" EMAIL="" -CLASSES="none" +CLASSES="none opensslcnf" BASEDIR=/ SUNW_PKGVERS="1.0" SUNW_PKG_ALLZONES="true" diff --git a/usr/src/pkgdefs/SUNWopensslr/prototype_com b/usr/src/pkgdefs/SUNWopensslr/prototype_com index b498c261cb..2ceab54ba7 100644 --- a/usr/src/pkgdefs/SUNWopensslr/prototype_com +++ b/usr/src/pkgdefs/SUNWopensslr/prototype_com @@ -2,9 +2,8 @@ # CDDL HEADER START # # The contents of this file are subject to the terms of the -# Common Development and Distribution License, Version 1.0 only -# (the "License"). You may not use this file except in compliance -# with the License. +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. @@ -20,7 +19,7 @@ # CDDL HEADER END # # -# Copyright 2004 Sun Microsystems, Inc. All rights reserved. +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "%Z%%M% %I% %E% SMI" @@ -39,9 +38,11 @@ i pkginfo i copyright=../../common/openssl/LICENSE i depend +i i.opensslcnf +i r.opensslcnf d none etc 755 root sys d none etc/sfw 755 root bin d none etc/sfw/openssl 755 root sys d none etc/sfw/openssl/certs 755 root sys d none etc/sfw/openssl/private 700 root sys -f none etc/sfw/openssl/openssl.cnf 644 root sys +e opensslcnf etc/sfw/openssl/openssl.cnf 644 root sys diff --git a/usr/src/pkgdefs/SUNWopensslr/r.opensslcnf b/usr/src/pkgdefs/SUNWopensslr/r.opensslcnf new file mode 100644 index 0000000000..daca6a57a0 --- /dev/null +++ b/usr/src/pkgdefs/SUNWopensslr/r.opensslcnf @@ -0,0 +1,31 @@ +#!/bin/sh +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# +# +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +# +# ident "%Z%%M% %I% %E% SMI" +# + +exit 0 |