[csw-devel] SF.net SVN: gar:[5076] csw/mgar/pkg/openldap/trunk

valholla at users.sourceforge.net valholla at users.sourceforge.net
Wed May 27 21:43:48 CEST 2009


Revision: 5076
          http://gar.svn.sourceforge.net/gar/?rev=5076&view=rev
Author:   valholla
Date:     2009-05-27 19:43:48 +0000 (Wed, 27 May 2009)

Log Message:
-----------
smf support and start/stop script

Modified Paths:
--------------
    csw/mgar/pkg/openldap/trunk/Makefile
    csw/mgar/pkg/openldap/trunk/checksums
    csw/mgar/pkg/openldap/trunk/files/cswopenldap

Property Changed:
----------------
    csw/mgar/pkg/openldap/trunk/


Property changes on: csw/mgar/pkg/openldap/trunk
___________________________________________________________________
Modified: svn:externals
   - gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2

   + gar https://gar.svn.sf.net/svnroot/gar/csw/mgar/gar/v2


Modified: csw/mgar/pkg/openldap/trunk/Makefile
===================================================================
--- csw/mgar/pkg/openldap/trunk/Makefile	2009-05-27 19:28:41 UTC (rev 5075)
+++ csw/mgar/pkg/openldap/trunk/Makefile	2009-05-27 19:43:48 UTC (rev 5076)
@@ -14,7 +14,6 @@
 MASTER_SITES = ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/
 DISTFILES  = $(GARNAME)-$(GARVERSION).tgz
 DISTFILES += $(call admfiles,CSWoldap)
-DISTFILES += cswopenldap openldap.xml svc-openldap
 DISTFILES += README.CSW openldaprc
 
 LICENSE = COPYRIGHT
@@ -54,9 +53,6 @@
 
 CONFIGURE_ARGS = $(DIRPATHS)
 
-EXTRA_BUILD_ISAS_sparc = sparcv9
-EXTRA_BUILD_ISAS_i386  = pentium_pro amd64
-
 PKGFILES_CSWoldapclient  = $(bindir)/.*
 PKGFILES_CSWoldapclient += $(mandir)/man1/.*
 
@@ -67,6 +63,8 @@
 PKGFILES_CSWoldaprt += $(sysconfdir)/ldap.conf
 PKGFILES_CSWoldaprt += $(mandir)/man5/ldap.conf.5
 
+PROTOTYPE_FILTER = awk '$$$$3 ~/\/init.d\/cswopenldap$$$$/ { $$$$2 = "cswinitsmf" } { print }'
+
 include gar/category.mk
 
 CFLAGS := $(filter-out -I%,$(CFLAGS))
@@ -75,6 +73,8 @@
 INSTALL_SCRIPTS += custom
 
 install-custom:
+	ginstall -D $(DOWNLOADDIR)/cswopenldap \
+		$(DESTDIR)/etc/opt/csw/init.d/cswopenldap
 	@for file in $(EXTRA_DOCS); do \
 		ginstall -D $(WORKDIR)/$$file $(DESTDIR)$(docdir)/$(GARNAME)/$$file; \
 	done

Modified: csw/mgar/pkg/openldap/trunk/checksums
===================================================================
--- csw/mgar/pkg/openldap/trunk/checksums	2009-05-27 19:28:41 UTC (rev 5075)
+++ csw/mgar/pkg/openldap/trunk/checksums	2009-05-27 19:43:48 UTC (rev 5076)
@@ -3,6 +3,9 @@
 d7e13ba31a8de786f7cdbe3d529a9728  download/cswopenldap
 ed5b86e9d2b372d10edfe3bb59fee165  download/openldap-2.4.16.tgz
 0e57547ad2b5fedca9f0bd4beaddfe39  download/openldap.xml
+d7e13ba31a8de786f7cdbe3d529a9728  download/cswopenldap
+ed5b86e9d2b372d10edfe3bb59fee165  download/openldap-2.4.16.tgz
+0e57547ad2b5fedca9f0bd4beaddfe39  download/openldap.xml
 ab2ac7519b092ce8d16124c5270bfec0  download/openldaprc
 d3dee9018137c39f357859b652e3a67c  download/patch-oldap-2.4.16-ntlm.diff
 e15c2020566e56f02118e75c89111f15  download/svc-openldap

Modified: csw/mgar/pkg/openldap/trunk/files/cswopenldap
===================================================================
--- csw/mgar/pkg/openldap/trunk/files/cswopenldap	2009-05-27 19:28:41 UTC (rev 5075)
+++ csw/mgar/pkg/openldap/trunk/files/cswopenldap	2009-05-27 19:43:48 UTC (rev 5076)
@@ -34,6 +34,7 @@
 SLURPD=/opt/csw/libexec/slurpd
 
 # Source startup options
+[ -r /lib/svc/share/smf_include.sh ] && . /lib/svc/share/smf_include.sh
 [ -r /opt/csw/etc/openldaprc ] && . /opt/csw/etc/openldaprc
 [ -r /etc/opt/csw/openldaprc ] && . /etc/opt/csw/openldaprc
 


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