[csw-devel] SF.net SVN: gar:[21470] csw/mgar/pkg/openssl1/trunk

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Tue Jul 9 16:20:44 CEST 2013


Revision: 21470
          http://gar.svn.sourceforge.net/gar/?rev=21470&view=rev
Author:   chninkel
Date:     2013-07-09 14:20:43 +0000 (Tue, 09 Jul 2013)
Log Message:
-----------
openssl1/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/openssl1/trunk/Makefile
    csw/mgar/pkg/openssl1/trunk/files/changelog.CSW

Removed Paths:
-------------
    csw/mgar/pkg/openssl1/trunk/files/CSWlibssl1-0-0.checkinstall
    csw/mgar/pkg/openssl1/trunk/files/CSWlibssl1-0-0.postinstall
    csw/mgar/pkg/openssl1/trunk/files/CSWlibssl1-0-0.preinstall

Modified: csw/mgar/pkg/openssl1/trunk/Makefile
===================================================================
--- csw/mgar/pkg/openssl1/trunk/Makefile	2013-07-09 13:45:09 UTC (rev 21469)
+++ csw/mgar/pkg/openssl1/trunk/Makefile	2013-07-09 14:20:43 UTC (rev 21470)
@@ -79,7 +79,6 @@
 MASTER_SITES = http://www.openssl.org/source/
 
 DISTFILES  = $(NAME)-$(VERSION).tar.gz 
-DISTFILES += CSWlibssl1-0-0.checkinstall CSWlibssl1-0-0.preinstall CSWlibssl1-0-0.postinstall
 DISTFILES += changelog.CSW README.CSW
 DISTFILES += map.openssl.libcrypto map.openssl.libssl map.openssl.engines
 

Deleted: csw/mgar/pkg/openssl1/trunk/files/CSWlibssl1-0-0.checkinstall
===================================================================
--- csw/mgar/pkg/openssl1/trunk/files/CSWlibssl1-0-0.checkinstall	2013-07-09 13:45:09 UTC (rev 21469)
+++ csw/mgar/pkg/openssl1/trunk/files/CSWlibssl1-0-0.checkinstall	2013-07-09 14:20:43 UTC (rev 21470)
@@ -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/openssl1/trunk/files/CSWlibssl1-0-0.postinstall
===================================================================
--- csw/mgar/pkg/openssl1/trunk/files/CSWlibssl1-0-0.postinstall	2013-07-09 13:45:09 UTC (rev 21469)
+++ csw/mgar/pkg/openssl1/trunk/files/CSWlibssl1-0-0.postinstall	2013-07-09 14:20:43 UTC (rev 21470)
@@ -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/openssl1/trunk/files/CSWlibssl1-0-0.preinstall
===================================================================
--- csw/mgar/pkg/openssl1/trunk/files/CSWlibssl1-0-0.preinstall	2013-07-09 13:45:09 UTC (rev 21469)
+++ csw/mgar/pkg/openssl1/trunk/files/CSWlibssl1-0-0.preinstall	2013-07-09 14:20:43 UTC (rev 21470)
@@ -1,11 +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
-	mv -f /opt/csw/ssl/certs/* /opt/csw/etc/ssl/certs
-        rmdir "/opt/csw/ssl/certs" 
-fi
-
-true

Modified: csw/mgar/pkg/openssl1/trunk/files/changelog.CSW
===================================================================
--- csw/mgar/pkg/openssl1/trunk/files/changelog.CSW	2013-07-09 13:45:09 UTC (rev 21469)
+++ csw/mgar/pkg/openssl1/trunk/files/changelog.CSW	2013-07-09 14:20:43 UTC (rev 21470)
@@ -1,3 +1,11 @@
+openssl (1.0.1e,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:14:39 +0200
+
 openssl (1.0.1e,rev=2013.03.22) unstable
 
   * Fixed missing 64 bits libraries bug

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