[csw-devel] SF.net SVN: gar:[5457] csw/mgar/pkg/openssh/trunk

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Tue Jun 30 20:57:56 CEST 2009


Revision: 5457
          http://gar.svn.sourceforge.net/gar/?rev=5457&view=rev
Author:   chninkel
Date:     2009-06-30 18:57:56 +0000 (Tue, 30 Jun 2009)

Log Message:
-----------
openssh: fixed cswinitsmf stuffs

Modified Paths:
--------------
    csw/mgar/pkg/openssh/trunk/Makefile
    csw/mgar/pkg/openssh/trunk/checksums
    csw/mgar/pkg/openssh/trunk/files/CSWossh.prototype
    csw/mgar/pkg/openssh/trunk/files/CSWosshlpk.prototype

Modified: csw/mgar/pkg/openssh/trunk/Makefile
===================================================================
--- csw/mgar/pkg/openssh/trunk/Makefile	2009-06-30 17:40:52 UTC (rev 5456)
+++ csw/mgar/pkg/openssh/trunk/Makefile	2009-06-30 18:57:56 UTC (rev 5457)
@@ -37,10 +37,12 @@
 CATALOGNAME_CSWossh = openssh
 SPKG_DESC_CSWossh = OpenSSH Secure Shell server 
 REQUIRED_PKGS_CSWossh = CSWosslrt CSWtcpwrap CSWzlib CSWkrb5lib CSWosshclient
+SPKG_CLASSES_CSWossh = none cswpreserveconf cswinitsmf
 
 CATALOGNAME_CSWosshclient = openssh_client
 SPKG_DESC_CSWosshclient = OpenSSH Secure Shell client 
 REQUIRED_PKGS_CSWosshclient = CSWosslrt CSWzlib CSWkrb5lib 
+SPKG_CLASSES_CSWosshclient = none cswpreserveconf
 
 
 ###### Upstream and OpenCSW files information #######
@@ -54,6 +56,9 @@
 DISTNAME = $(GARNAME)-$(DISTVERSION)
 
 DISTFILES  = $(GARNAME)-$(DISTVERSION).tar.gz
+DISTFILES += CSWossh.prototype CSWossh.preinstall CSWossh.checkinstall
+DISTFILES += CSWosshlpk.prototype CSWosshlpk.preinstall CSWosshlpk.checkinstall
+DISTFILES += CSWosshclient.prototype
 DISTFILES += changelog.CSW
 
 DISTFILES += cswopenssh sshd.smf_wrapper cswopenssh.xml
@@ -77,7 +82,6 @@
 
 # we're using conf handling class from the cswclassutils package
 REQUIRED_PKGS += CSWcswclassutils
-SPKG_CLASSES = none cswpreserveconf
 
 
 ##### Build and installation information #####
@@ -103,6 +107,7 @@
 	CATALOGNAME_CSWosshlpk = openssh_lpk
 	SPKG_DESC_CSWosshlpk = $(SPKG_DESC_CSWossh) with ldap public key support
 	REQUIRED_PKGS_CSWosshlpk = $(REQUIRED_PKGS_CSWossh) CSWoldaprt
+	SPKG_CLASSES_CSWosshlpk = none cswpreserveconf cswinitsmf
 	MASTER_SITES += http://openssh-lpk.googlecode.com/svn/trunk/patch/contrib/
 	PATCHFILES += contrib-openssh-lpk-5.2p1-0.3.9.patch
 	CONFIGURE_ARGS += --with-ldap
@@ -122,8 +127,14 @@
 	@$(MAKECOOKIE)
 
 # adding documentation files
-post-merge: merge-config-files merge-doc-files
+post-merge: merge-config-files merge-doc-files merge-init-files
 
+merge-init-files:
+	ginstall -D "$(WORKDIR_FIRSTMOD)/cswopenssh" "$(PKGROOT)/etc/opt/csw/init.d/cswopenssh"
+	ginstall -D "$(WORKDIR_FIRSTMOD)/cswopenssh.xml" "$(PKGROOT)/var/opt/csw/svc/manifest/network/cswopenssh.xml"
+	ginstall -D "$(WORKDIR_FIRSTMOD)/sshd.smf_wrapper" "$(PKGROOT)/opt/csw/sbin/sshd.smf_wrapper"
+
+
 merge-doc-files:
 	for DOCDIR in $(foreach _PKG,$(PACKAGES),$(call catalogname,$(_PKG))); do \
 		ginstall -d $(PKGROOT)/$(docdir)/$$DOCDIR; \

Modified: csw/mgar/pkg/openssh/trunk/checksums
===================================================================
--- csw/mgar/pkg/openssh/trunk/checksums	2009-06-30 17:40:52 UTC (rev 5456)
+++ csw/mgar/pkg/openssh/trunk/checksums	2009-06-30 18:57:56 UTC (rev 5457)
@@ -1,3 +1,10 @@
+1d3d6d477c09e59c514e637fa3a2f7a4  download/CSWossh.checkinstall
+0993813fa5c752215f892cb67c86816f  download/CSWossh.preinstall
+62fa255ecd680eeeadc13d1188a61ff1  download/CSWossh.prototype
+5ce2cd89c1c7478a8c728e4688b26c90  download/CSWosshclient.prototype
+1d3d6d477c09e59c514e637fa3a2f7a4  download/CSWosshlpk.checkinstall
+0993813fa5c752215f892cb67c86816f  download/CSWosshlpk.preinstall
+22ffa2a9b7bf310d58d3b299805a41b1  download/CSWosshlpk.prototype
 a51dd54a24d61cad406d02343cc826f0  download/changelog.CSW
 9153031524651a18e7edaed4637aa769  download/contrib-openssh-lpk-5.2p1-0.3.9.patch
 a5ebb2e3fdaa06c3c9edba55aac5f83b  download/cswopenssh

Modified: csw/mgar/pkg/openssh/trunk/files/CSWossh.prototype
===================================================================
--- csw/mgar/pkg/openssh/trunk/files/CSWossh.prototype	2009-06-30 17:40:52 UTC (rev 5456)
+++ csw/mgar/pkg/openssh/trunk/files/CSWossh.prototype	2009-06-30 18:57:56 UTC (rev 5457)
@@ -28,3 +28,4 @@
 f none /opt/csw/share/man/man8/sshd.8 0644 root bin
 d none /opt/csw/share/openssh 0755 root bin
 d none /var/empty
+f none /var/opt/csw/svc/manifest/network/cswopenssh.xml 0644 root sys

Modified: csw/mgar/pkg/openssh/trunk/files/CSWosshlpk.prototype
===================================================================
--- csw/mgar/pkg/openssh/trunk/files/CSWosshlpk.prototype	2009-06-30 17:40:52 UTC (rev 5456)
+++ csw/mgar/pkg/openssh/trunk/files/CSWosshlpk.prototype	2009-06-30 18:57:56 UTC (rev 5457)
@@ -32,3 +32,4 @@
 f none /opt/csw/share/man/man8/sshd.8 0644 root bin
 d none /opt/csw/share/openssh 0755 root bin
 d none /var/empty
+f none /var/opt/csw/svc/manifest/network/cswopenssh.xml 0644 root sys


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