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

skayser at users.sourceforge.net skayser at users.sourceforge.net
Sat Mar 28 17:48:31 CET 2009


Revision: 4016
          http://gar.svn.sourceforge.net/gar/?rev=4016&view=rev
Author:   skayser
Date:     2009-03-28 16:48:31 +0000 (Sat, 28 Mar 2009)

Log Message:
-----------
dovecot: hacked Makefile for adjusted sieve plugin pkg version

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

Modified: csw/mgar/pkg/dovecot/trunk/Makefile
===================================================================
--- csw/mgar/pkg/dovecot/trunk/Makefile	2009-03-28 15:24:10 UTC (rev 4015)
+++ csw/mgar/pkg/dovecot/trunk/Makefile	2009-03-28 16:48:31 UTC (rev 4016)
@@ -14,9 +14,13 @@
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
 
 PACKAGES = CSWdovecot CSWdovecotdevel CSWdovecot-sieve
+CATALOGNAME_CSWdovecot = dovecot
 CATALOGNAME_CSWdovecotdevel = dovecot_devel
 CATALOGNAME_CSWdovecot-sieve = dovecot_sieve
 
+# Sieve plugin is packaged individually (see package-sieveplugin:)
+NOPACKAGE = CSWdovecot-sieve
+
 # CSWdovecot is not installed on the build farm and as such its dependent
 # packages throw errors when fed to checkpkg
 ENABLE_CHECK=0
@@ -30,6 +34,7 @@
 REQUIRED_PKGS_CSWdovecot       = CSWosslrt CSWmysql5rt CSWoldaprt CSWlibpq
 REQUIRED_PKGS_CSWdovecot      += CSWsasl CSWsqlite3 CSWzlib CSWlibnet
 REQUIRED_PKGS_CSWdovecot      += CSWbzip2 CSWiconv CSWcswclassutils
+REQUIRED_PKGS_CSWdovecot      += CSWkrb5lib
 REQUIRED_PKGS_CSWdovecotdevel  = CSWdovecot
 REQUIRED_PKGS_CSWdovecot-sieve = CSWdovecot
 
@@ -39,6 +44,7 @@
 PREREQUISITE_PKGS += CSWsasl 
 PREREQUISITE_PKGS += CSWsqlite3
 PREREQUISITE_PKGS += CSWlibpq
+PREREQUISITE_PKGS += CSWkrb5lib CSWkrb5libdev
 
 PKGFILES_CSWdovecotdevel = $(PKGFILES_DEVEL)
 PKGFILES_CSWdovecot-sieve = .*sieve.*
@@ -61,6 +67,7 @@
 
 CONFIGURE_ARGS  = $(DIRPATHS)
 CONFIGURE_ARGS += --with-pop3d
+CONFIGURE_ARGS += --with-gssapi
 CONFIGURE_ARGS += --with-lda
 CONFIGURE_ARGS += --with-ldap
 CONFIGURE_ARGS += --with-mysql
@@ -117,6 +124,13 @@
 	@rm -rf dovecot-sieve-1.1.6*
 	@$(MAKECOOKIE)
 
+# Sieve plugin needs to be packaged with version != $(GARVERSION)
+package-sieveplugin:
+	@gmake -o post-package \
+		NOPACKAGE="CSWdovecot CSWdovecotdevel" SPKG_VERSION=1.1.6 \
+		repackage
+	@$(MAKECOOKIE)
+
 post-install-modulated: DOCS = NEWS AUTHORS COPYING.LGPL COPYING.MIT
 post-install-modulated: CSWDOCS = changelog.CSW README.CSW
 post-install-modulated: DOCDEST = $(DESTDIR)$(docdir)/$(GARNAME)
@@ -143,3 +157,6 @@
 	@ginstall -m 644 $(FILEDIR)/CSWdovecot.cswusergroup \
 		$(DESTDIR)$(sysconfdir)/pkg/CSWdovecot/cswusergroup
 	@$(MAKECOOKIE)
+
+post-package: package-sieveplugin
+	@$(MAKECOOKIE)


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