SF.net SVN: gar:[25674] csw/mgar/pkg/openssl1/branches

cgrzemba at users.sourceforge.net cgrzemba at users.sourceforge.net
Wed Apr 20 08:09:52 CEST 2016


Revision: 25674
          http://sourceforge.net/p/gar/code/25674
Author:   cgrzemba
Date:     2016-04-20 06:09:52 +0000 (Wed, 20 Apr 2016)
Log Message:
-----------
openssl1/branches/ips: create IPS recipe

Modified Paths:
--------------
    csw/mgar/pkg/openssl1/branches/ips/Makefile

Added Paths:
-----------
    csw/mgar/pkg/openssl1/branches/ips/

Modified: csw/mgar/pkg/openssl1/branches/ips/Makefile
===================================================================
--- csw/mgar/pkg/openssl1/trunk/Makefile	2016-04-12 13:28:18 UTC (rev 25658)
+++ csw/mgar/pkg/openssl1/branches/ips/Makefile	2016-04-20 06:09:52 UTC (rev 25674)
@@ -31,6 +31,9 @@
 GARCOMPILER = SOS12U4
 GARCOMPILER_TYPE = $(if $(findstring GCC,$(GARCOMPILER)),GNU,SUN)
 
+IPS_PACKAGE_PREFIX = library/security/
+IPS_VERSION = 1.0.2.5
+
 PACKAGES = CSWlibssl1-0-0 CSWlibssl-dev CSWopenssl-utils
 
 PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386 solaris11-sparc solaris11-i386
@@ -38,10 +41,10 @@
 RUNTIME_DEP_PKGS_CSWlibssl1-0-0 = $(RUNTIME_DEP_PKGS_CSWlibssl1-0-0_$(GARCOMPILER_TYPE))
 RUNTIME_DEP_PKGS_CSWlibssl1-0-0_GNU = CSWlibgcc-s1
 SPKG_DESC_CSWlibssl1-0-0 = Openssl 1.0 runtime libraries
-PKGFILES_CSWlibssl1-0-0 = $(PKGFILES_RT)
-PKGFILES_CSWlibssl1-0-0 += $(libdir)(/[^/]*)?/openssl-1.0.0/engines/.*
-PKGFILES_CSWlibssl1-0-0 += $(prefix)/etc/ssl/private $(prefix)/etc/ssl/certs
-PKGFILES_CSWlibssl1-0-0 += $(docdir)/libssl1_0_0/.*
+# PKGFILES_CSWlibssl1-0-0 = $(PKGFILES_RT)
+# PKGFILES_CSWlibssl1-0-0 += $(libdir)(/[^/]*)?/openssl-1.0.0/engines/.*
+# PKGFILES_CSWlibssl1-0-0 += $(prefix)/etc/ssl/private $(prefix)/etc/ssl/certs
+# PKGFILES_CSWlibssl1-0-0 += $(docdir)/libssl1_0_0/.*
 
 RUNTIME_DEP_PKGS_CSWlibssl-dev = CSWlibssl1-0-0
 SPKG_DESC_CSWlibssl-dev = Openssl 1.0 development support files
@@ -249,6 +252,11 @@
 	fi
 	@$(MAKECOOKIE)
 
+# pre-build:
+# 	echo " ==> run 'gmake depend'"
+# 	cd $(WORKSRC) && gmake depend
+# 	@$(MAKECOOKIE)
+
 pre-configure-modulated:
 	echo " ==> Creating configure script"
 	cd $(WORKSRC) && ln -nf Configure configure
@@ -261,7 +269,7 @@
 	@$(MAKECOOKIE)
 
 install-conf-misc:
-	[ ! -f "$(PKGROOT)$(sysconfdir)/ssl/openssl.cnf" ] || \
+	[  $(PKGFORMAT)="ips" -o ! -f "$(PKGROOT)$(sysconfdir)/ssl/openssl.cnf" ] || \
 		mv "$(PKGROOT)$(sysconfdir)/ssl/openssl.cnf" $(PKGROOT)$(sysconfdir)/ssl/openssl.cnf.CSW
 	[ ! -d "$(PKGROOT)$(sysconfdir)/ssl/misc" ] || \
 		( ginstall -d "$(PKGROOT)/$(prefix)/ssl/" && mv "$(PKGROOT)$(sysconfdir)/ssl/misc/" "$(PKGROOT)/$(prefix)/ssl/" )
@@ -276,7 +284,7 @@
 post-merge-all: merge-doc install-conf-misc
 
 
-NUM_CPUS := $(shell psrinfo | wc -l | awk '{ print $$1 }')
+NUM_CPUS := $(shell /usr/sbin/psrinfo | wc -l | awk '{ print $$1 }')
 
 package-fast:
 	PARALLELMODULATIONS=1 PARALLELMFLAGS="-j" $(MAKE) package

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