[csw-devel] SF.net SVN: gar:[16093] csw/mgar/pkg/sasl/trunk/Makefile

guengel at users.sourceforge.net guengel at users.sourceforge.net
Sun Nov 6 11:15:37 CET 2011


Revision: 16093
          http://gar.svn.sourceforge.net/gar/?rev=16093&view=rev
Author:   guengel
Date:     2011-11-06 10:15:37 +0000 (Sun, 06 Nov 2011)
Log Message:
-----------
sasl/trunk: Added saslauthd.conf sample

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

Modified: csw/mgar/pkg/sasl/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sasl/trunk/Makefile	2011-11-06 04:31:40 UTC (rev 16092)
+++ csw/mgar/pkg/sasl/trunk/Makefile	2011-11-06 10:15:37 UTC (rev 16093)
@@ -18,6 +18,7 @@
 # This file will be renamed to cswsaslauthd during install
 DISTFILES += cswsaslauthd.init
 DISTFILES += saslauthd.init.CSW
+DISTFILES += saslauthd.conf.CSW
 DISTFILES += README.sasl
 DISTFILES += README.saslauthd
 
@@ -53,6 +54,7 @@
 CHECKPKG_OVERRIDES_CSWsaslauthd += surplus-dependency|CSWsasl
 PKGFILES_CSWsaslauthd = $(sysconfdir)/init.d/cswsaslauthd
 PKGFILES_CSWsaslauthd += $(sysconfdir)/saslauthd.init.CSW
+PKGFILES_CSWsaslauthd += $(sysconfdir)/saslauthd.conf.CSW
 PKGFILES_CSWsaslauthd += $(sbindir)/testsaslauthd
 PKGFILES_CSWsaslauthd += $(sbindir)/saslauthd
 PKGFILES_CSWsaslauthd += $(mandir)/.*/saslauthd\.8
@@ -180,12 +182,27 @@
 
 include gar/category.mk
 
-post-install-modulated: install-doc fix-path-manpages
+# This is for building the sample sasl server/client
+# which can be used to test the sasl installation
+post-build-modulated:
+	test -d $(WORKSRC)/sample && cd $(WORKSRC)/sample && /usr/bin/env -i $(BUILD_ENV) $(MAKE) $(PARALLELMFLAGS) 
+	@$(MAKECOOKIE)
+
+
+post-install-modulated: install-doc fix-path-manpages install-sample
 	ginstall -d $(DESTDIR)/etc/opt/csw/init.d/
 	ginstall $(WORKDIR)/saslauthd.init.CSW $(DESTDIR)/etc/opt/csw/
+	ginstall $(WORKDIR)/saslauthd.conf.CSW $(DESTDIR)/etc/opt/csw/
 	ginstall $(WORKDIR)/cswsaslauthd.init $(DESTDIR)/etc/opt/csw/init.d/cswsaslauthd
 	@$(MAKECOOKIE)
 
+# The names 'client' and 'server' are a little generic, so we change
+# them to something more meaningfull
+install-sample:
+	test -d $(DESTDIR)$(bindir) || ginstall -d $(DESTDIR)$(bindir)
+	ginstall $(WORKSRC)/sample/.libs/client $(DESTDIR)$(bindir)/sasl-sample-client
+	ginstall $(WORKSRC)/sample/.libs/server $(DESTDIR)$(bindir)/sasl-sample-server
+
 DOC_FILES = rfc1321.txt \
                 rfc1939.txt \
                 rfc2104.txt \

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