SF.net SVN: gar:[26453] csw/mgar/pkg/dovecot/branches

jake_goerzen at users.sourceforge.net jake_goerzen at users.sourceforge.net
Wed Aug 15 19:39:01 CEST 2018


Revision: 26453
          http://sourceforge.net/p/gar/code/26453
Author:   jake_goerzen
Date:     2018-08-15 17:38:59 +0000 (Wed, 15 Aug 2018)
Log Message:
-----------
dovecot/branches/stable-2.2: create snapshot of trunk before upgrade to version 2.3

Added Paths:
-----------
    csw/mgar/pkg/dovecot/branches/stable-2.2/
    csw/mgar/pkg/dovecot/branches/stable-2.2/Makefile
    csw/mgar/pkg/dovecot/branches/stable-2.2/checksums

Removed Paths:
-------------
    csw/mgar/pkg/dovecot/branches/stable-2.2/Makefile
    csw/mgar/pkg/dovecot/branches/stable-2.2/checksums

Deleted: csw/mgar/pkg/dovecot/branches/stable-2.2/Makefile
===================================================================
--- csw/mgar/pkg/dovecot/trunk/Makefile	2018-03-04 10:50:31 UTC (rev 26373)
+++ csw/mgar/pkg/dovecot/branches/stable-2.2/Makefile	2018-08-15 17:38:59 UTC (rev 26453)
@@ -1,163 +0,0 @@
-# TODO
-# - SSL certs to /etc/opt/csw/ssl?
-# - /var/run/dovecot instead of /var/opt/csw/run?
-NAME = dovecot
-VERSION = 2.2.33.2
-GARTYPE = v2
-
-DESCRIPTION = Secure IMAP server
-define BLURB
-  Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems,
-  written with security primarily in mind. Dovecot is an excellent choice for
-  both small and large installations. It's fast, simple to set up, requires no
-  special administration and it uses very little memory.
-endef
-
-SPKG_SOURCEURL = http://dovecot.org/
-MASTER_SITES   = http://dovecot.org/releases/2.2/
-DISTFILES      = $(NAME)-$(VERSION).tar.gz
-UFILES_REGEX   = $(NAME)-(\d+(?:\.\d+)*).tar.gz
-
-GARCOMPILER	= GNU
-
-PACKAGES  = CSWdovecot CSWdovecot-dev
-
-CATALOGNAME_CSWdovecot = dovecot
-CATALOGNAME_CSWdovecot-dev = dovecot_dev
-
-SPKG_DESC_CSWdovecot = Secure IMAP server
-SPKG_DESC_CSWdovecot-dev = Dovecot secure IMAP server header files
-
-RUNTIME_DEP_PKGS_CSWdovecot += CSWlibmysqlclient18
-RUNTIME_DEP_PKGS_CSWdovecot += CSWlibiconv2
-RUNTIME_DEP_PKGS_CSWdovecot += CSWlibz1
-RUNTIME_DEP_PKGS_CSWdovecot += CSWlibbz2-1-0
-RUNTIME_DEP_PKGS_CSWdovecot += CSWlibkrb5-3
-RUNTIME_DEP_PKGS_CSWdovecot += CSWlibpq5
-RUNTIME_DEP_PKGS_CSWdovecot += CSWlibsqlite3-0
-RUNTIME_DEP_PKGS_CSWdovecot += CSWlibssl1-0-0
-RUNTIME_DEP_PKGS_CSWdovecot += CSWliblber2-4-2
-RUNTIME_DEP_PKGS_CSWdovecot += CSWlibldap2-4-2
-RUNTIME_DEP_PKGS_CSWdovecot += CSWliblzma5
-RUNTIME_DEP_PKGS_CSWdovecot += CSWlibintl9
-RUNTIME_DEP_PKGS_CSWdovecot += CSWlibicui18n57
-RUNTIME_DEP_PKGS_CSWdovecot += CSWlibicuuc57
-RUNTIME_DEP_PKGS_CSWdovecot += CSWlibgcc-s1
-RUNTIME_DEP_PKGS_CSWdovecot += CSWlibwrap1
-
-PKGFILES_CSWdovecot-dev = $(PKGFILES_DEVEL)
-
-# These directories belong to CSWosslrt
-PROTOTYPE_FILTER  = awk '\
-	$$$$3 == "/opt/csw/ssl/certs" { next } \
-	$$$$3 == "/opt/csw/ssl/private" { next } \
-	 { print }'
-
-REINPLACEMENTS += ul
-
-REINPLACE_MATCH_ul = /usr/local
-REINPLACE_WITH_ul = $(prefix)
-REINPLACE_FILES_ul += src/plugins/fts/decode2text.sh
-REINPLACE_FILES_ul += doc/wiki/LDA.Sendmail.txt
-REINPLACE_FILES_ul += doc/wiki/CompilingSource.txt
-REINPLACE_FILES_ul += doc/wiki/HowTo.PopBSMTPAndDovecot.txt
-
-# No test suite for Dovecot available
-TEST_SCRIPTS	=
-
-# Disable git patching to preserve correct git-commit hash in dovecot source.
-NOGITPATCH = 1
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-gssapi
-CONFIGURE_ARGS += --with-ldap
-CONFIGURE_ARGS += --with-mysql
-CONFIGURE_ARGS += --with-pgsql
-CONFIGURE_ARGS += --with-sqlite
-CONFIGURE_ARGS += --with-ssl=openssl
-CONFIGURE_ARGS += --with-ssldir=/etc/opt/csw/ssl
-CONFIGURE_ARGS += --with-zlib
-CONFIGURE_ARGS += --with-bzlib
-CONFIGURE_ARGS += --with-libwrap
-
-BUILD64 = 1
-ISAEXEC = 1
-
-EXTRA_INC = /opt/csw/include/mysql /opt/csw/include/postgresql
-
-STRIP_DIRS  = $(DESTDIR)$(libexecdir)/dovecot
-
-# cswclassutils integration
-INITSMF    = /etc/opt/csw/init.d/cswdovecot
-USERGROUP = /etc/opt/csw/pkg/CSWdovecot/cswusergroup
-SAMPLECONF = .*/dovecot.pem $(sysconfdir)/dovecot/dovecot.conf
-MIGRATE_FILES = dovecot.conf
-
-# the perl search and replace is missing this.  Need to rework the below perl
-# lines.  For now overriding since the file(s) are only documentation.
-
-PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
-
-# override needed until ld inconsistancy is resolved on buildfarm
-CHECKPKG_OVERRIDES_CSWdovecot += surplus-dependency|CSWlibintl9
-
-include gar/category.mk
-
-pre-install-modulated:
-	perl -pi -e 's|/etc/ssl|/etc/opt/csw/ssl|' $(WORKSRC)/doc/mkcert.sh
-	perl -pi -e '\
-		s| /var/run| /var/opt/csw/run|; \
-		s| /etc/ssl| /etc/opt/csw/ssl|; \
-		s| /usr/libexec| /opt/csw/libexec/dovecot|; \
-		s| /usr/lib/dovecot| /opt/csw/lib/dovecot|; \
-		s| /usr/local| /opt/csw|;' \
-		$(WORKSRC)/doc/example-config/dovecot.conf
-	perl -pi -e '\
-		s|/etc/ssl|/etc/opt/csw/ssl|; \
-		s|/usr/local|/opt/csw|;' \
-		$(WORKSRC)/doc/example-config/conf.d/*
-	@$(MAKECOOKIE)
-
-post-install-modulated: DOCDEST = $(DESTDIR)$(docdir)/$(NAME)
-post-install-modulated: DOCS = NEWS AUTHORS COPYING.LGPL COPYING.MIT
-post-install-modulated: CSWDOCS=README.CSW changelog.CSW
-post-install-modulated: SSLDIR = $(DESTDIR)/etc/opt/csw/ssl
-post-install-modulated:
-
-	perl -pi -e '\
-		s|/etc/ssl|/etc/opt/csw/ssl|; \
-		s|/usr/local|/opt/csw|; \
-		s|/usr/share|/opt/csw/share|;' \
-		$(DESTDIR)/opt/csw/share/doc/dovecot/wiki/*
-
-	# Include these in the pkg. dovecot will create them otherwise
-	# with root:root ownership, which conflicts with other pkg's
-	ginstall -d $(DESTDIR)$(localstatedir)/run 
-	ginstall -d $(DESTDIR)$(localstatedir)/lib
-
-	cp $(FILEDIR)/dovecot-minimal.conf \
-		$(DESTDIR)$(sysconfdir)/dovecot/dovecot.conf
-
-	# Create self-signed sample cert
-	ginstall -d $(SSLDIR)/certs
-	ginstall -d $(SSLDIR)/private
-	( cd $(WORKSRC)/doc; SSLDIR=$(SSLDIR) /bin/sh ./mkcert.sh )
-	chmod 400 $(SSLDIR)/private/dovecot.pem
-
-	# Copy documentation (upstream + CSW) and mkcert.sh
-	ginstall -d $(DOCDEST)
-	cp $(addprefix $(FILEDIR)/,$(CSWDOCS)) $(DOCDEST)
-	cp $(addprefix $(WORKSRC)/,$(DOCS))    $(DOCDEST)
-	ginstall -m 755 $(WORKSRC)/doc/mkcert.sh $(DOCDEST)
-	cp $(WORKSRC)/doc/dovecot-openssl.cnf $(DOCDEST)
-
-	# Copy init script
-	ginstall -Dm 755 $(FILEDIR)/cswdovecot  \
-		$(DESTDIR)/etc/opt/csw/init.d/cswdovecot
-
-	# Copy cswusergroup
-	ginstall -m 755 -d $(DESTDIR)/etc/opt/csw/pkg/CSWdovecot
-	ginstall -m 444 $(FILEDIR)/cswusergroup \
-		$(DESTDIR)/etc/opt/csw/pkg/CSWdovecot/
-
-	@$(MAKECOOKIE)

Copied: csw/mgar/pkg/dovecot/branches/stable-2.2/Makefile (from rev 26427, csw/mgar/pkg/dovecot/trunk/Makefile)
===================================================================
--- csw/mgar/pkg/dovecot/branches/stable-2.2/Makefile	                        (rev 0)
+++ csw/mgar/pkg/dovecot/branches/stable-2.2/Makefile	2018-08-15 17:38:59 UTC (rev 26453)
@@ -0,0 +1,163 @@
+# TODO
+# - SSL certs to /etc/opt/csw/ssl?
+# - /var/run/dovecot instead of /var/opt/csw/run?
+NAME = dovecot
+VERSION = 2.2.36
+GARTYPE = v2
+
+DESCRIPTION = Secure IMAP server
+define BLURB
+  Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems,
+  written with security primarily in mind. Dovecot is an excellent choice for
+  both small and large installations. It's fast, simple to set up, requires no
+  special administration and it uses very little memory.
+endef
+
+SPKG_SOURCEURL = http://dovecot.org/
+MASTER_SITES   = http://dovecot.org/releases/2.2/
+DISTFILES      = $(NAME)-$(VERSION).tar.gz
+UFILES_REGEX   = $(NAME)-(\d+(?:\.\d+)*).tar.gz
+
+GARCOMPILER	= GNU
+
+PACKAGES  = CSWdovecot CSWdovecot-dev
+
+CATALOGNAME_CSWdovecot = dovecot
+CATALOGNAME_CSWdovecot-dev = dovecot_dev
+
+SPKG_DESC_CSWdovecot = Secure IMAP server
+SPKG_DESC_CSWdovecot-dev = Dovecot secure IMAP server header files
+
+RUNTIME_DEP_PKGS_CSWdovecot += CSWlibmysqlclient18
+RUNTIME_DEP_PKGS_CSWdovecot += CSWlibiconv2
+RUNTIME_DEP_PKGS_CSWdovecot += CSWlibz1
+RUNTIME_DEP_PKGS_CSWdovecot += CSWlibbz2-1-0
+RUNTIME_DEP_PKGS_CSWdovecot += CSWlibkrb5-3
+RUNTIME_DEP_PKGS_CSWdovecot += CSWlibpq5
+RUNTIME_DEP_PKGS_CSWdovecot += CSWlibsqlite3-0
+RUNTIME_DEP_PKGS_CSWdovecot += CSWlibssl1-0-0
+RUNTIME_DEP_PKGS_CSWdovecot += CSWliblber2-4-2
+RUNTIME_DEP_PKGS_CSWdovecot += CSWlibldap2-4-2
+RUNTIME_DEP_PKGS_CSWdovecot += CSWliblzma5
+RUNTIME_DEP_PKGS_CSWdovecot += CSWlibintl9
+RUNTIME_DEP_PKGS_CSWdovecot += CSWlibicui18n57
+RUNTIME_DEP_PKGS_CSWdovecot += CSWlibicuuc57
+RUNTIME_DEP_PKGS_CSWdovecot += CSWlibgcc-s1
+RUNTIME_DEP_PKGS_CSWdovecot += CSWlibwrap1
+
+PKGFILES_CSWdovecot-dev = $(PKGFILES_DEVEL)
+
+# These directories belong to CSWosslrt
+PROTOTYPE_FILTER  = awk '\
+	$$$$3 == "/opt/csw/ssl/certs" { next } \
+	$$$$3 == "/opt/csw/ssl/private" { next } \
+	 { print }'
+
+REINPLACEMENTS += ul
+
+REINPLACE_MATCH_ul = /usr/local
+REINPLACE_WITH_ul = $(prefix)
+REINPLACE_FILES_ul += src/plugins/fts/decode2text.sh
+REINPLACE_FILES_ul += doc/wiki/LDA.Sendmail.txt
+REINPLACE_FILES_ul += doc/wiki/CompilingSource.txt
+REINPLACE_FILES_ul += doc/wiki/HowTo.PopBSMTPAndDovecot.txt
+
+# No test suite for Dovecot available
+TEST_SCRIPTS	=
+
+# Disable git patching to preserve correct git-commit hash in dovecot source.
+NOGITPATCH = 1
+
+CONFIGURE_ARGS  = $(DIRPATHS)
+CONFIGURE_ARGS += --with-gssapi
+CONFIGURE_ARGS += --with-ldap
+CONFIGURE_ARGS += --with-mysql
+CONFIGURE_ARGS += --with-pgsql
+CONFIGURE_ARGS += --with-sqlite
+CONFIGURE_ARGS += --with-ssl=openssl
+CONFIGURE_ARGS += --with-ssldir=/etc/opt/csw/ssl
+CONFIGURE_ARGS += --with-zlib
+CONFIGURE_ARGS += --with-bzlib
+CONFIGURE_ARGS += --with-libwrap
+
+BUILD64 = 1
+ISAEXEC = 1
+
+EXTRA_INC = /opt/csw/include/mysql /opt/csw/include/postgresql
+
+STRIP_DIRS  = $(DESTDIR)$(libexecdir)/dovecot
+
+# cswclassutils integration
+INITSMF    = /etc/opt/csw/init.d/cswdovecot
+USERGROUP = /etc/opt/csw/pkg/CSWdovecot/cswusergroup
+SAMPLECONF = .*/dovecot.pem $(sysconfdir)/dovecot/dovecot.conf
+MIGRATE_FILES = dovecot.conf
+
+# the perl search and replace is missing this.  Need to rework the below perl
+# lines.  For now overriding since the file(s) are only documentation.
+
+PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
+
+# override needed until ld inconsistancy is resolved on buildfarm
+CHECKPKG_OVERRIDES_CSWdovecot += surplus-dependency|CSWlibintl9
+
+include gar/category.mk
+
+pre-install-modulated:
+	perl -pi -e 's|/etc/ssl|/etc/opt/csw/ssl|' $(WORKSRC)/doc/mkcert.sh
+	perl -pi -e '\
+		s| /var/run| /var/opt/csw/run|; \
+		s| /etc/ssl| /etc/opt/csw/ssl|; \
+		s| /usr/libexec| /opt/csw/libexec/dovecot|; \
+		s| /usr/lib/dovecot| /opt/csw/lib/dovecot|; \
+		s| /usr/local| /opt/csw|;' \
+		$(WORKSRC)/doc/example-config/dovecot.conf
+	perl -pi -e '\
+		s|/etc/ssl|/etc/opt/csw/ssl|; \
+		s|/usr/local|/opt/csw|;' \
+		$(WORKSRC)/doc/example-config/conf.d/*
+	@$(MAKECOOKIE)
+
+post-install-modulated: DOCDEST = $(DESTDIR)$(docdir)/$(NAME)
+post-install-modulated: DOCS = NEWS AUTHORS COPYING.LGPL COPYING.MIT
+post-install-modulated: CSWDOCS=README.CSW changelog.CSW
+post-install-modulated: SSLDIR = $(DESTDIR)/etc/opt/csw/ssl
+post-install-modulated:
+
+	perl -pi -e '\
+		s|/etc/ssl|/etc/opt/csw/ssl|; \
+		s|/usr/local|/opt/csw|; \
+		s|/usr/share|/opt/csw/share|;' \
+		$(DESTDIR)/opt/csw/share/doc/dovecot/wiki/*
+
+	# Include these in the pkg. dovecot will create them otherwise
+	# with root:root ownership, which conflicts with other pkg's
+	ginstall -d $(DESTDIR)$(localstatedir)/run 
+	ginstall -d $(DESTDIR)$(localstatedir)/lib
+
+	cp $(FILEDIR)/dovecot-minimal.conf \
+		$(DESTDIR)$(sysconfdir)/dovecot/dovecot.conf
+
+	# Create self-signed sample cert
+	ginstall -d $(SSLDIR)/certs
+	ginstall -d $(SSLDIR)/private
+	( cd $(WORKSRC)/doc; SSLDIR=$(SSLDIR) /bin/sh ./mkcert.sh )
+	chmod 400 $(SSLDIR)/private/dovecot.pem
+
+	# Copy documentation (upstream + CSW) and mkcert.sh
+	ginstall -d $(DOCDEST)
+	cp $(addprefix $(FILEDIR)/,$(CSWDOCS)) $(DOCDEST)
+	cp $(addprefix $(WORKSRC)/,$(DOCS))    $(DOCDEST)
+	ginstall -m 755 $(WORKSRC)/doc/mkcert.sh $(DOCDEST)
+	cp $(WORKSRC)/doc/dovecot-openssl.cnf $(DOCDEST)
+
+	# Copy init script
+	ginstall -Dm 755 $(FILEDIR)/cswdovecot  \
+		$(DESTDIR)/etc/opt/csw/init.d/cswdovecot
+
+	# Copy cswusergroup
+	ginstall -m 755 -d $(DESTDIR)/etc/opt/csw/pkg/CSWdovecot
+	ginstall -m 444 $(FILEDIR)/cswusergroup \
+		$(DESTDIR)/etc/opt/csw/pkg/CSWdovecot/
+
+	@$(MAKECOOKIE)

Deleted: csw/mgar/pkg/dovecot/branches/stable-2.2/checksums
===================================================================
--- csw/mgar/pkg/dovecot/trunk/checksums	2018-03-04 10:50:31 UTC (rev 26373)
+++ csw/mgar/pkg/dovecot/branches/stable-2.2/checksums	2018-08-15 17:38:59 UTC (rev 26453)
@@ -1 +0,0 @@
-85c3e903870aee914be93889a6ea98ea  dovecot-2.2.33.2.tar.gz

Copied: csw/mgar/pkg/dovecot/branches/stable-2.2/checksums (from rev 26427, csw/mgar/pkg/dovecot/trunk/checksums)
===================================================================
--- csw/mgar/pkg/dovecot/branches/stable-2.2/checksums	                        (rev 0)
+++ csw/mgar/pkg/dovecot/branches/stable-2.2/checksums	2018-08-15 17:38:59 UTC (rev 26453)
@@ -0,0 +1 @@
+a8d6492584025b2413e82ea48de3cd5f  dovecot-2.2.36.tar.gz

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