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

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Thu Nov 5 19:00:28 CET 2009


Revision: 7130
          http://gar.svn.sourceforge.net/gar/?rev=7130&view=rev
Author:   chninkel
Date:     2009-11-05 18:00:28 +0000 (Thu, 05 Nov 2009)

Log Message:
-----------
openssl: switch to dynamic gspec and depend file

Modified Paths:
--------------
    csw/mgar/pkg/openssl/trunk/Makefile

Removed Paths:
-------------
    csw/mgar/pkg/openssl/trunk/files/CSWossl.depend
    csw/mgar/pkg/openssl/trunk/files/CSWossl.gspec
    csw/mgar/pkg/openssl/trunk/files/CSWossldevel.depend
    csw/mgar/pkg/openssl/trunk/files/CSWossldevel.gspec
    csw/mgar/pkg/openssl/trunk/files/CSWosslrt.depend
    csw/mgar/pkg/openssl/trunk/files/CSWosslrt.gspec
    csw/mgar/pkg/openssl/trunk/files/CSWosslutils.depend
    csw/mgar/pkg/openssl/trunk/files/CSWosslutils.gspec

Modified: csw/mgar/pkg/openssl/trunk/Makefile
===================================================================
--- csw/mgar/pkg/openssl/trunk/Makefile	2009-11-05 17:33:33 UTC (rev 7129)
+++ csw/mgar/pkg/openssl/trunk/Makefile	2009-11-05 18:00:28 UTC (rev 7130)
@@ -1,9 +1,22 @@
+#####################################################################
+# OpenCSW build recipe for OpenSSL
+#
+# Copyright 2009 Yann Rouillard <yann at pleiades.fr.eu.org>
+# All rights reserved.  Use is subject to license terms.
+#
+# Redistribution and/or use, with or without modification, is
+# permitted.  This software is without warranty of any kind.  The
+# author(s) shall not be liable in the event that use of the
+# software causes damage.
+#####################################################################
+
+###### Package information #######
+
 GARNAME = openssl
 GARVERSION = 0.9.8k
-CATEGORIES = lib
-
 OPENSSL_VERSION := $(shell echo $(GARVERSION) | sed -e 's/[a-z]//g')
 OPENSSL_RELEASE := $(shell echo $(GARVERSION) | sed -e 's/[^a-z]//g')
+CATEGORIES = lib
 
 DESCRIPTION = The Open Source toolkit for SSL and TLS
 define BLURB
@@ -13,6 +26,28 @@
   as a full-strength general-purpose cryptography library.
 endef
 
+PACKAGES = CSWossl CSWosslrt CSWossldevel CSWosslutils
+
+SPKG_DESC_CSWossl = Openssl meta package
+CATALOGNAME_CSWossl = openssl
+REQUIRED_PKGS_CSWossl = CSWossldevel CSWosslutils CSWosslrt
+
+SPKG_DESC_CSWosslrt = Openssl runtime libraries
+CATALOGNAME_CSWosslrt = openssl_rt
+REQUIRED_PKGS_CSWosslrt = CSWcacertificates
+
+SPKG_DESC_CSWossldevel = Openssl development files
+CATALOGNAME_CSWossldevel = openssl_devel
+REQUIRED_PKGS_CSWossldevel = CSWosslrt
+
+SPKG_DESC_CSWosslutils = Openssl binaries and related tools 
+CATALOGNAME_CSWosslutils = openssl_utils
+REQUIRED_PKGS_CSWosslutils = CSWosslrt
+SPKG_CLASSES_CSWosslutils = none conf
+
+
+###### Upstream and opencsw files information #######
+
 MASTER_SITES = http://www.openssl.org/source/ http://openssl.org/news/
 
 # We define upstream file regex so we can be notifed of new upstream software release
@@ -20,19 +55,20 @@
 
 DISTNAME   = $(GARNAME)-$(GARVERSION)
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz 
-DISTFILES += $(call admfiles,CSWossl,depend prototype)
-DISTFILES += $(call admfiles,CSWosslrt,checkinstall preinstall postinstall depend prototype-i386 prototype-sparc)
-DISTFILES += $(call admfiles,CSWossldevel,depend prototype-i386 prototype-sparc)
-DISTFILES += $(call admfiles,CSWosslutils,depend prototype)
+DISTFILES += CSWossl.prototype
+DISTFILES += CSWosslrt.checkinstall CSWosslrt.preinstall CSWosslrt.postinstall CSWosslrt.prototype-i386 CSWosslrt.prototype-sparc
+DISTFILES += CSWossldevel.prototype-i386 CSWossldevel.prototype-sparc
+DISTFILES += CSWosslutils.prototype
 DISTFILES += changelog.CSW README.CSW
 DISTFILES += i.conf r.conf
 
 DOCFILES = CHANGES CHANGES.SSLeay PROBLEMS README FAQ README.ASN1 INSTALL NEWS README.ENGINE
 
-SPKG_CLASSES = none conf
-
 PATCHFILES = openssl.$(OPENSSL_VERSION).patch
 
+
+##### Build and installation information #####
+
 GARCOMPILER = SOS11
 
 # The list of instructions set for which we will 
@@ -84,7 +120,6 @@
 
 SKIPTEST = 1
 
-
 # support for pkcs11 engine http://blogs.sun.com/chichang1/entry/how_to_integrate_pkcs11_engine
 ifdef PKCS11
 	PATCHFILES += pkcs11_engine-0.9.8h.patch.2008-07-29

Deleted: csw/mgar/pkg/openssl/trunk/files/CSWossl.depend
===================================================================
--- csw/mgar/pkg/openssl/trunk/files/CSWossl.depend	2009-11-05 17:33:33 UTC (rev 7129)
+++ csw/mgar/pkg/openssl/trunk/files/CSWossl.depend	2009-11-05 18:00:28 UTC (rev 7130)
@@ -1,3 +0,0 @@
-P CSWossldevel openssl_devel Openssl development support
-P CSWosslutils openssl_utils Openssl binaries and related files
-P CSWosslrt openssl_rt Openssl runtime libraries

Deleted: csw/mgar/pkg/openssl/trunk/files/CSWossl.gspec
===================================================================
--- csw/mgar/pkg/openssl/trunk/files/CSWossl.gspec	2009-11-05 17:33:33 UTC (rev 7129)
+++ csw/mgar/pkg/openssl/trunk/files/CSWossl.gspec	2009-11-05 18:00:28 UTC (rev 7130)
@@ -1,7 +0,0 @@
-%var            bitname openssl
-%var            pkgname CSWossl
-%var            arch all
-%var            desc Openssl meta package
-%var 		pkgfile %{bitname}-%{SPKG_VERSION}%{SPKG_REVSTAMP}-%{SPKG_OSNAME}-all-CSW.pkg
-%include        url file://%{PKGLIB}/csw_dyndepend.gspec
-%copyright      url file://%{WORKSRC_FIRSTMOD}/LICENSE

Deleted: csw/mgar/pkg/openssl/trunk/files/CSWossldevel.depend
===================================================================
--- csw/mgar/pkg/openssl/trunk/files/CSWossldevel.depend	2009-11-05 17:33:33 UTC (rev 7129)
+++ csw/mgar/pkg/openssl/trunk/files/CSWossldevel.depend	2009-11-05 18:00:28 UTC (rev 7130)
@@ -1 +0,0 @@
-P CSWosslrt openssl_rt - Openssl runtime libraries

Deleted: csw/mgar/pkg/openssl/trunk/files/CSWossldevel.gspec
===================================================================
--- csw/mgar/pkg/openssl/trunk/files/CSWossldevel.gspec	2009-11-05 17:33:33 UTC (rev 7129)
+++ csw/mgar/pkg/openssl/trunk/files/CSWossldevel.gspec	2009-11-05 18:00:28 UTC (rev 7130)
@@ -1,5 +0,0 @@
-%var            bitname openssl_devel
-%var            pkgname CSWossldevel
-%var            desc Openssl development support
-%include        url file://%{PKGLIB}/csw_dyndepend.gspec
-%copyright      url file://%{WORKSRC_FIRSTMOD}/LICENSE

Deleted: csw/mgar/pkg/openssl/trunk/files/CSWosslrt.depend
===================================================================
--- csw/mgar/pkg/openssl/trunk/files/CSWosslrt.depend	2009-11-05 17:33:33 UTC (rev 7129)
+++ csw/mgar/pkg/openssl/trunk/files/CSWosslrt.depend	2009-11-05 18:00:28 UTC (rev 7130)
@@ -1 +0,0 @@
-P	CSWcacertificates

Deleted: csw/mgar/pkg/openssl/trunk/files/CSWosslrt.gspec
===================================================================
--- csw/mgar/pkg/openssl/trunk/files/CSWosslrt.gspec	2009-11-05 17:33:33 UTC (rev 7129)
+++ csw/mgar/pkg/openssl/trunk/files/CSWosslrt.gspec	2009-11-05 18:00:28 UTC (rev 7130)
@@ -1,5 +0,0 @@
-%var            bitname openssl_rt
-%var            pkgname CSWosslrt
-%var            desc Openssl runtime libraries
-%include        url file://%{PKGLIB}/csw_dyndepend.gspec
-%copyright      url file://%{WORKSRC_FIRSTMOD}/LICENSE

Deleted: csw/mgar/pkg/openssl/trunk/files/CSWosslutils.depend
===================================================================
--- csw/mgar/pkg/openssl/trunk/files/CSWosslutils.depend	2009-11-05 17:33:33 UTC (rev 7129)
+++ csw/mgar/pkg/openssl/trunk/files/CSWosslutils.depend	2009-11-05 18:00:28 UTC (rev 7130)
@@ -1 +0,0 @@
-P CSWosslrt openssl_rt - Openssl runtime libraries

Deleted: csw/mgar/pkg/openssl/trunk/files/CSWosslutils.gspec
===================================================================
--- csw/mgar/pkg/openssl/trunk/files/CSWosslutils.gspec	2009-11-05 17:33:33 UTC (rev 7129)
+++ csw/mgar/pkg/openssl/trunk/files/CSWosslutils.gspec	2009-11-05 18:00:28 UTC (rev 7130)
@@ -1,5 +0,0 @@
-%var            bitname openssl_utils
-%var            pkgname CSWosslutils
-%var            desc Openssl binaries and related tools 
-%include        url file://%{PKGLIB}/csw_dyndepend.gspec
-%copyright      url file://%{WORKSRC_FIRSTMOD}/LICENSE


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