[csw-devel] SF.net SVN: gar:[21471] csw/mgar/pkg/openssl/trunk

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Tue Jul 9 16:26:58 CEST 2013


Revision: 21471
          http://gar.svn.sourceforge.net/gar/?rev=21471&view=rev
Author:   chninkel
Date:     2013-07-09 14:26:58 +0000 (Tue, 09 Jul 2013)
Log Message:
-----------
openssl/trunk: removed checkinstall, preinstall and postinstall scripts that are not necessary anymore (Solaris 8 support and old modification of certificates location)

Modified Paths:
--------------
    csw/mgar/pkg/openssl/trunk/Makefile
    csw/mgar/pkg/openssl/trunk/files/changelog.CSW

Removed Paths:
-------------
    csw/mgar/pkg/openssl/trunk/files/CSWlibssl0-9-8.checkinstall
    csw/mgar/pkg/openssl/trunk/files/CSWlibssl0-9-8.postinstall
    csw/mgar/pkg/openssl/trunk/files/CSWlibssl0-9-8.preinstall

Modified: csw/mgar/pkg/openssl/trunk/Makefile
===================================================================
--- csw/mgar/pkg/openssl/trunk/Makefile	2013-07-09 14:20:43 UTC (rev 21470)
+++ csw/mgar/pkg/openssl/trunk/Makefile	2013-07-09 14:26:58 UTC (rev 21471)
@@ -136,7 +136,7 @@
 
 DISTFILES  = $(NAME)-$(VERSION).tar.gz 
 DISTFILES += CSWopenssl.prototype
-DISTFILES += CSWlibssl0-9-8.checkinstall CSWlibssl0-9-8.preinstall CSWlibssl0-9-8.postinstall CSWlibssl0-9-8.prototype-i386 CSWlibssl0-9-8.prototype-sparc
+DISTFILES += CSWlibssl0-9-8.prototype-i386 CSWlibssl0-9-8.prototype-sparc
 DISTFILES += CSWlibssl-dev.prototype-i386 CSWlibssl-dev.prototype-sparc
 DISTFILES += CSWopenssl-utils.prototype 
 DISTFILES += changelog.CSW README.CSW

Deleted: csw/mgar/pkg/openssl/trunk/files/CSWlibssl0-9-8.checkinstall
===================================================================
--- csw/mgar/pkg/openssl/trunk/files/CSWlibssl0-9-8.checkinstall	2013-07-09 14:20:43 UTC (rev 21470)
+++ csw/mgar/pkg/openssl/trunk/files/CSWlibssl0-9-8.checkinstall	2013-07-09 14:26:58 UTC (rev 21471)
@@ -1,48 +0,0 @@
-#!/bin/sh
-
-PLATFORM=`/usr/bin/uname -p`
-VERSION=`/usr/bin/uname -r`
-
-# Solaris 8 requires patches to have /dev/random and /dev/urandom.
-if [ $VERSION -eq "5.8" ]; then
-
-	if [ ! -c $PKG_ROOT_DIR/dev/random ] && [ ! -p $PKG_ROOT_DIR/dev/random ]; then
-		echo "ERROR: /dev/random must exist."
-		err=1
-	fi
-
-	if [ ! -c $PKG_ROOT_DIR/dev/urandom ] && [ ! -p $PKG_ROOT_DIR/dev/urandom ]; then
-		echo "ERROR: /dev/urandom must exist."
-		err=1
-	fi
-
-	if [ "$err" = "1" ]; then
-		if [ $PLATFORM -eq "sparc" ]; then
-			echo "Please install patch 112438."
-		elif [ $PLATFORM -eq "i386" ]; then
-			echo "Please install patch 112439."
-		fi
-		exit 1
-	fi
-fi
-
-# Certification Authority have been moved under /opt/csw/etc/ssl/certs
-# under the ca_certificates package control
-# and /opt/csw/ssl/certs is now a symbolic links 
-
-# we test if certificates were manually installed in this directory
-if [ ! -h "/opt/csw/ssl/certs" ] &&  [ -d "/opt/csw/ssl/certs" ] && [ -n "`ls -1 /opt/csw/ssl/certs/`" ]; then
-
-	echo "Custom certificates have been installed in /opt/csw/ssl/certs/."
-	echo "They will be moved under /opt/csw/etc/ssl/certs."
-	echo "see /opt/csw/share/doc/openssl_rt/README.CSW for more information"
-        echo "about CA."
-
-	# we define the MOVE_CERTS variable so preinstall and postinstall scripts
-	# will now they have to do something about theses certificates
-	cat >>$1 <<!
-MOVE_CERTS=Yes
-!
-fi
-
-exit 0

Deleted: csw/mgar/pkg/openssl/trunk/files/CSWlibssl0-9-8.postinstall
===================================================================
--- csw/mgar/pkg/openssl/trunk/files/CSWlibssl0-9-8.postinstall	2013-07-09 14:20:43 UTC (rev 21470)
+++ csw/mgar/pkg/openssl/trunk/files/CSWlibssl0-9-8.postinstall	2013-07-09 14:26:58 UTC (rev 21471)
@@ -1,9 +0,0 @@
-
-
-# we regenerate the certificate hash if we moved certificates from the old /opt/csw/ssl/certs 
-# directory to /opt/csw/etc/ssl/certs
-if [ "$MOVE_CERTS" = "Yes" ]; then
-	[ ! -x "/opt/csw/sbin/update-ca-certificates" ] || /opt/csw/sbin/update-ca-certificates
-fi
-
-true

Deleted: csw/mgar/pkg/openssl/trunk/files/CSWlibssl0-9-8.preinstall
===================================================================
--- csw/mgar/pkg/openssl/trunk/files/CSWlibssl0-9-8.preinstall	2013-07-09 14:20:43 UTC (rev 21470)
+++ csw/mgar/pkg/openssl/trunk/files/CSWlibssl0-9-8.preinstall	2013-07-09 14:26:58 UTC (rev 21471)
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-# Certification Authority have been moved under /opt/csw/etc/ssl/certs
-# under the ca_certificates package control
-# /opt/csw/ssl/certs should now be a symbolic links 
-if [ "$MOVE_CERTS" = "Yes" ]; then
-	( 
-	cd /opt/csw/ssl/certs
-	if [ $? -eq 0 ] && [ `pwd` = "/opt/csw/ssl/certs" ]; then
-		find . -type f | while read FILE; do
-			mkdir -p -m 0755 "/opt/csw/etc/ssl/certs/`dirname $FILE`"
-			mv "$FILE" "/opt/csw/etc/ssl/certs/$FILE"
-		done		
-		find . ! -name "." -type d -exec rmdir '{}' ';'
-	fi
-	)
-	rmdir "/opt/csw/ssl/certs" 2>/dev/null || mv "/opt/csw/ssl/certs" "/opt/csw/ssl/certs.sav"
-fi
-
-true

Modified: csw/mgar/pkg/openssl/trunk/files/changelog.CSW
===================================================================
--- csw/mgar/pkg/openssl/trunk/files/changelog.CSW	2013-07-09 14:20:43 UTC (rev 21470)
+++ csw/mgar/pkg/openssl/trunk/files/changelog.CSW	2013-07-09 14:26:58 UTC (rev 21471)
@@ -1,3 +1,11 @@
+openssl (0.9.8y,REV=2013.07.09) unstable
+
+  * Removed checkinstall, preinstall and postinstall scripts
+    that are not necessary anymore (Solaris 8 support and 
+    old modification of certificates location).
+
+   -- Yann Rouillard <yann at opencsw.org>  Tue, 09 Jul 2013 16:23:34 +0200
+
 openssl (0.9.8y,REV=2013.03.06) unstable
 
   * New upstream release.

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list