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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Mon Jan 16 18:49:24 CET 2012


Revision: 16781
          http://gar.svn.sourceforge.net/gar/?rev=16781&view=rev
Author:   wahwah
Date:     2012-01-16 17:49:24 +0000 (Mon, 16 Jan 2012)
Log Message:
-----------
cyrus_imapd/trunk: Update dependencies, link against bdb47

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

Modified: csw/mgar/pkg/cyrus_imapd/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cyrus_imapd/trunk/Makefile	2012-01-16 17:01:57 UTC (rev 16780)
+++ csw/mgar/pkg/cyrus_imapd/trunk/Makefile	2012-01-16 17:49:24 UTC (rev 16781)
@@ -33,19 +33,6 @@
 
 SPKG_DESC_CSWcyrusimapd = Pop and Imap server from the Cyrus mail system
 CATALOGNAME_CSWcyrusimapd = cyrus_imapd
-RUNTIME_DEP_PKGS_CSWcyrusimapd = CSWosslrt CSWsasl CSWbdb42 CSWkrb5lib CSWnetsnmp CSWzlib CSWtcpwrap CSWlibpcreposix0 CSWlibpcre0
-#SPKG_CLASSES_CSWcyrusimapd = none services cswpreserveconf cswinitsmf
-
-SPKG_DESC_CSWcyrusimapdutils = Various admin utilities for Cyrus Imapd/Popd
-CATALOGNAME_CSWcyrusimapdutils = cyrus_imapd_utils
-RUNTIME_DEP_PKGS_CSWcyrusimapdutils = CSWpmcyrus CSWosslrt CSWsasl CSWbdb42 CSWkrb5lib CSWzlib CSWlibpcreposix0 CSWlibpcre0
-#SPKG_CLASSES_CSWcyrusimapdutils = none 
-
-SPKG_DESC_CSWpmcyrus = Perl interface to Cyrus Imap functions
-CATALOGNAME_CSWpmcyrus = pm_cyrus
-RUNTIME_DEP_PKGS_CSWpmcyrus = CSWperl CSWbdb42 CSWosslrt CSWsasl CSWzlib
-#SPKG_CLASSES_CSWpmcyrus = none
-
 PKGFILES_CSWcyrusimapd = $(sbindir)/.*
 PKGFILES_CSWcyrusimapd += $(sysconfdir)/cyrus
 PKGFILES_CSWcyrusimapd += $(docdir)/cyrus_imapd/.*
@@ -57,7 +44,53 @@
 PKGFILES_CSWcyrusimapd += /etc$(prefix)/init.d/cswcyrus
 PKGFILES_CSWcyrusimapd += /var$(prefix)/svc/manifest/network/cswcyrus\.xml
 PKGFILES_CSWcyrusimapd += $(localstatedir)/cyrus.*
+RUNTIME_DEP_PKGS_CSWcyrusimapd += CSWbdb47
+RUNTIME_DEP_PKGS_CSWcyrusimapd += CSWlibcom-err3
+RUNTIME_DEP_PKGS_CSWcyrusimapd += CSWlibgssapi-krb5-2
+RUNTIME_DEP_PKGS_CSWcyrusimapd += CSWlibk5crypto3
+RUNTIME_DEP_PKGS_CSWcyrusimapd += CSWlibkrb5-3
+RUNTIME_DEP_PKGS_CSWcyrusimapd += CSWlibkrb5support0
+RUNTIME_DEP_PKGS_CSWcyrusimapd += CSWlibpcre0
+RUNTIME_DEP_PKGS_CSWcyrusimapd += CSWlibpcreposix0
+RUNTIME_DEP_PKGS_CSWcyrusimapd += CSWlibwrap1
+RUNTIME_DEP_PKGS_CSWcyrusimapd += CSWlibz1
+RUNTIME_DEP_PKGS_CSWcyrusimapd += CSWnetsnmp
+RUNTIME_DEP_PKGS_CSWcyrusimapd += CSWosslrt
+RUNTIME_DEP_PKGS_CSWcyrusimapd += CSWsasl
 
+# Expected catalogname: cyrusimapd, not cyrus_imapd
+CHECKPKG_OVERRIDES_CSWcyrusimapd += catalogname-does-not-match-pkgname
+
+SPKG_DESC_CSWcyrusimapdutils = Various admin utilities for Cyrus Imapd/Popd
+CATALOGNAME_CSWcyrusimapdutils = cyrus_imapd_utils
+PKGFILES_CSWcyrusimapdutils = $(bindir)/.*
+PKGFILES_CSWcyrusimapdutils += $(mandir)/man1/.*
+PKGFILES_CSWcyrusimapdutils += $(docdir)/cyrus_imapd_utils/.*
+RUNTIME_DEP_PKGS_CSWcyrusimapdutils += CSWbdb47
+RUNTIME_DEP_PKGS_CSWcyrusimapdutils += CSWlibcom-err3
+RUNTIME_DEP_PKGS_CSWcyrusimapdutils += CSWlibgssapi-krb5-2
+RUNTIME_DEP_PKGS_CSWcyrusimapdutils += CSWlibk5crypto3
+RUNTIME_DEP_PKGS_CSWcyrusimapdutils += CSWlibkrb5-3
+RUNTIME_DEP_PKGS_CSWcyrusimapdutils += CSWlibkrb5support0
+RUNTIME_DEP_PKGS_CSWcyrusimapdutils += CSWlibpcre0
+RUNTIME_DEP_PKGS_CSWcyrusimapdutils += CSWlibpcreposix0
+RUNTIME_DEP_PKGS_CSWcyrusimapdutils += CSWlibz1
+RUNTIME_DEP_PKGS_CSWcyrusimapdutils += CSWosslrt
+RUNTIME_DEP_PKGS_CSWcyrusimapdutils += CSWsasl
+# Expected catalogname: cyrusimapdutils, not cyrus_imapd_utils
+CHECKPKG_OVERRIDES_CSWcyrusimapdutils += catalogname-does-not-match-pkgname
+
+SPKG_DESC_CSWpmcyrus = Perl interface to Cyrus Imap functions
+CATALOGNAME_CSWpmcyrus = pm_cyrus
+PKGFILES_CSWpmcyrus = $(perllib)/.*
+PKGFILES_CSWpmcyrus += $(mandir)/man3/Cyrus::.*
+PKGFILES_CSWpmcyrus += $(docdir)/pm_cyrus/.*
+RUNTIME_DEP_PKGS_CSWpmcyrus += CSWbdb47
+RUNTIME_DEP_PKGS_CSWpmcyrus += CSWlibz1
+RUNTIME_DEP_PKGS_CSWpmcyrus += CSWosslrt
+RUNTIME_DEP_PKGS_CSWpmcyrus += CSWperl
+RUNTIME_DEP_PKGS_CSWpmcyrus += CSWsasl
+
 PROTOTYPE_MODIFIERS = cyrusdir
 PROTOTYPE_FILES_cyrusdir = $(localstatedir)/cyrus.*
 PROTOTYPE_USER_cyrusdir = cyrus
@@ -70,15 +103,6 @@
 
 LICENSE = COPYRIGHT
 
-PKGFILES_CSWcyrusimapdutils = $(bindir)/.*
-PKGFILES_CSWcyrusimapdutils += $(mandir)/man1/.*
-PKGFILES_CSWcyrusimapdutils += $(docdir)/cyrus_imapd_utils/.*
-
-PKGFILES_CSWpmcyrus = $(perllib)/.*
-PKGFILES_CSWpmcyrus += $(mandir)/man3/Cyrus::.*
-PKGFILES_CSWpmcyrus += $(docdir)/pm_cyrus/.*
-
-
 CHECKPKG_OVERRIDES_CSWcyrusimapdutils += surplus-dependency|CSWpmcyrus
 
 # Don't how to properly solve this now
@@ -181,8 +205,8 @@
 CONFIGURE_ARGS += --with-service-path=$(libexecdir)/cyrus 
 CONFIGURE_ARGS += --sysconfdir=$(sysconfdir)/cyrus 
 CONFIGURE_ARGS += --with-bdb=db-4.2
-CONFIGURE_ARGS += --with-bdb-libdir=$(prefix)/bdb42/lib 
-CONFIGURE_ARGS += --with-bdb-incdir=$(prefix)/bdb42/include 
+CONFIGURE_ARGS += --with-bdb-libdir=$(prefix)/bdb47/lib 
+CONFIGURE_ARGS += --with-bdb-incdir=$(prefix)/bdb47/include 
 CONFIGURE_ARGS += --with-openssl=$(prefix)
 CONFIGURE_ARGS += --with-sasl=$(prefix)
 CONFIGURE_ARGS += --with-perl=$(prefix)/bin/perl 
@@ -193,6 +217,10 @@
 CONFIGURE_ARGS += --with-libwrap=$(prefix)
 CONFIGURE_ARGS += --disable-nntp
 
+# To link against BerkeleyDB 4.7 explicitly
+EXTRA_LINKER_FLAGS = -R$(prefix)/bdb47/lib/\$$ISALIST
+LD_OPTIONS += -R$(prefix)/bdb47/lib/\$$ISALIST
+
 # we add the args so perl libraries are installed
 # in the correct path
 INSTALL_ARGS = INSTALLDIRS=vendor

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