Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2003 04:34:41 +0200
From:      "YazzY" <yazzy@yazzy.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/56666: Support for MySQL 4.x for courier-imap-2.1.1 
Message-ID:  1063161280@lapdance
Resent-Message-ID: <200309100240.h8A2eFle019690@freefall.freebsd.org>

| raw e-mail | index | archive | help

>Number:         56666
>Category:       ports
>Synopsis:       Support for MySQL 4.x for courier-imap-2.1.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 09 19:40:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     YazzY
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
YazzY.org 
>Environment:


System: FreeBSD lapdance 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Sep  8 16:58:13 CEST 2003     root@lapdance:/usr/obj/usr/src/sys/LAPDANCE i386  


>Description:


Included automatic detection of the version of installed MySQL libraries. Support for MySQL 4.x with a patch.


>How-To-Repeat:





>Fix:


--- courier-imap-2.1.1.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	courier-imap
#	courier-imap/files
#	courier-imap/files/patch-ldap
#	courier-imap/files/patch-mysql
#	courier-imap/files/patch-Makefile.in
#	courier-imap/files/patch-authlib::Makefile.in
#	courier-imap/Makefile
#	courier-imap/distinfo
#	courier-imap/pkg-descr
#	courier-imap/pkg-plist
#
echo c - courier-imap
mkdir -p courier-imap > /dev/null 2>&1
echo c - courier-imap/files
mkdir -p courier-imap/files > /dev/null 2>&1
echo x - courier-imap/files/patch-ldap
sed 's/^X//' >courier-imap/files/patch-ldap << 'END-of-courier-imap/files/patch-ldap'
X--- authlib/configure.orig	Mon Apr  8 23:36:04 2002
X+++ authlib/configure	Mon Apr  8 23:35:24 2002
X@@ -554,6 +554,10 @@
X   > $cache_file
X fi
X 
X+CFLAGS="$CFLAGS -I/usr/local/include"
X+CPPFLAGS="$CPPFLAGS -I/usr/local/include"
X+LDFLAGS="-L/usr/local/lib $LDFLAGS"
X+
X ac_ext=c
X # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
X ac_cpp='$CPP $CPPFLAGS'
END-of-courier-imap/files/patch-ldap
echo x - courier-imap/files/patch-mysql
sed 's/^X//' >courier-imap/files/patch-mysql << 'END-of-courier-imap/files/patch-mysql'
X--- authlib/configure.orig	Wed Sep 10 00:51:36 2003
X+++ authlib/configure	Wed Sep 10 01:04:27 2003
X@@ -6766,9 +6766,9 @@
X if test "$doauthmysql" = ""
X then
X 	LIBS="$MYSQL_LIBS $LIBS"
X-	echo "$as_me:$LINENO: checking for mysql_connect" >&5
X-echo $ECHO_N "checking for mysql_connect... $ECHO_C" >&6
X-if test "${ac_cv_func_mysql_connect+set}" = set; then
X+       echo "$as_me:$LINENO: checking for mysql_real_connect" >&5
X+echo $ECHO_N "checking for mysql_real_connect... $ECHO_C" >&6
X+if test "${ac_cv_func_mysql_real_connect+set}" = set; then
X   echo $ECHO_N "(cached) $ECHO_C" >&6
X else
X   cat >conftest.$ac_ext <<_ACEOF
X@@ -6779,7 +6779,7 @@
X cat >>conftest.$ac_ext <<_ACEOF
X /* end confdefs.h.  */
X /* System header to define __stub macros and hopefully few prototypes,
X-    which can conflict with char mysql_connect (); below.
X+    which can conflict with char mysql_real_connect (); below.  */
X     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
X     <limits.h> exists even on freestanding compilers.  */
X #ifdef __STDC__
X@@ -6794,14 +6794,14 @@
X #endif
X /* We use char because int might match the return type of a gcc2
X    builtin and then its argument prototype would still apply.  */
X-char mysql_connect ();
X+char mysql_real_connect ();
X /* The GNU C library defines this for functions which it implements
X     to always fail with ENOSYS.  Some functions are actually named
X     something starting with __ and the normal name is an alias.  */
X-#if defined (__stub_mysql_connect) || defined (__stub___mysql_connect)
X+#if defined (__stub_mysql_real_connect) || defined (__stub___mysql_real_connect)
X choke me
X #else
X-char (*f) () = mysql_connect;
X+char (*f) () = mysql_real_connect;
X #endif
X #ifdef __cplusplus
X }
X@@ -6810,7 +6810,7 @@
X int
X main ()
X {
X-return f != mysql_connect;
X+return f != mysql_real_connect;
X   ;
X   return 0;
X }
X@@ -6827,18 +6827,18 @@
X   ac_status=$?
X   echo "$as_me:$LINENO: \$? = $ac_status" >&5
X   (exit $ac_status); }; }; then
X-  ac_cv_func_mysql_connect=yes
X+  ac_cv_func_mysql_real_connect=yes
X else
X   echo "$as_me: failed program was:" >&5
X sed 's/^/| /' conftest.$ac_ext >&5
X 
X-ac_cv_func_mysql_connect=no
X+ac_cv_func_mysql_real_connect=no
X fi
X rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
X fi
X-echo "$as_me:$LINENO: result: $ac_cv_func_mysql_connect" >&5
X-echo "${ECHO_T}$ac_cv_func_mysql_connect" >&6
X-if test $ac_cv_func_mysql_connect = yes; then
X+echo "$as_me:$LINENO: result: $ac_cv_func_mysql_real_connect" >&5
X+echo "${ECHO_T}$ac_cv_func_mysql_real_connect" >&6
X+if test $ac_cv_func_mysql_real_connect = yes; then
X   doauthmysql="yes"
X 
X fi
X@@ -6930,9 +6930,9 @@
X else
X 	saveLIBS="$LIBS"
X 	LIBS="$MYSQL_LIBS $LIBS"
X-	echo "$as_me:$LINENO: checking for mysql_connect" >&5
X-echo $ECHO_N "checking for mysql_connect... $ECHO_C" >&6
X-if test "${ac_cv_func_mysql_connect+set}" = set; then
X+	echo "$as_me:$LINENO: checking for mysql_real_connect" >&5
X+echo $ECHO_N "checking for mysql_real_connect... $ECHO_C" >&6
X+if test "${ac_cv_func_mysql_real_connect+set}" = set; then
X   echo $ECHO_N "(cached) $ECHO_C" >&6
X else
X   cat >conftest.$ac_ext <<_ACEOF
X@@ -6943,7 +6943,7 @@
X cat >>conftest.$ac_ext <<_ACEOF
X /* end confdefs.h.  */
X /* System header to define __stub macros and hopefully few prototypes,
X-    which can conflict with char mysql_connect (); below.
X+    which can conflict with char mysql_real_connect (); below.
X     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
X     <limits.h> exists even on freestanding compilers.  */
X #ifdef __STDC__
X@@ -6958,14 +6958,14 @@
X #endif
X /* We use char because int might match the return type of a gcc2
X    builtin and then its argument prototype would still apply.  */
X-char mysql_connect ();
X+char mysql_real_connect ();
X /* The GNU C library defines this for functions which it implements
X     to always fail with ENOSYS.  Some functions are actually named
X     something starting with __ and the normal name is an alias.  */
X-#if defined (__stub_mysql_connect) || defined (__stub___mysql_connect)
X+#if defined (__stub_mysql_real_connect) || defined (__stub___mysql_real_connect)
X choke me
X #else
X-char (*f) () = mysql_connect;
X+char (*f) () = mysql_real_connect;
X #endif
X #ifdef __cplusplus
X }
X@@ -6974,7 +6974,7 @@
X int
X main ()
X {
X-return f != mysql_connect;
X+return f != mysql_real_connect;
X   ;
X   return 0;
X }
X@@ -6991,18 +6991,18 @@
X   ac_status=$?
X   echo "$as_me:$LINENO: \$? = $ac_status" >&5
X   (exit $ac_status); }; }; then
X-  ac_cv_func_mysql_connect=yes
X+  ac_cv_func_mysql_real_connect=yes
X else
X   echo "$as_me: failed program was:" >&5
X sed 's/^/| /' conftest.$ac_ext >&5
X 
X-ac_cv_func_mysql_connect=no
X+ac_cv_func_mysql_real_connect=no
X fi
X rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
X fi
X-echo "$as_me:$LINENO: result: $ac_cv_func_mysql_connect" >&5
X-echo "${ECHO_T}$ac_cv_func_mysql_connect" >&6
X-if test $ac_cv_func_mysql_connect = yes; then
X+echo "$as_me:$LINENO: result: $ac_cv_func_mysql_real_connect" >&5
X+echo "${ECHO_T}$ac_cv_func_mysql_real_connect" >&6
X+if test $ac_cv_func_mysql_real_connect = yes; then
X   AUTHMYSQL="authmysql"
X 		HAVE_AUTHMYSQL=1
X else
END-of-courier-imap/files/patch-mysql
echo x - courier-imap/files/patch-Makefile.in
sed 's/^X//' >courier-imap/files/patch-Makefile.in << 'END-of-courier-imap/files/patch-Makefile.in'
X--- Makefile.in.orig	Wed Jul  2 02:30:46 2003
X+++ Makefile.in	Sun Jul 20 14:09:49 2003
X@@ -132,7 +132,7 @@
X EXTRA_DIST = 00README.NOW.OR.SUFFER README README.cygwin automake.fix COPYING.GPL sysconftool
X 
X sysconf_DATA = imapd.dist imapd-ssl.dist pop3d.dist pop3d-ssl.dist \
X-	imapd.cnf pop3d.cnf quotawarnmsg.example
X+	quotawarnmsg.example
X 
X libexec_SCRIPTS = imapd.rc imapd-ssl.rc pop3d.rc pop3d-ssl.rc
X 
X@@ -351,8 +351,8 @@
X 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
X 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
X 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
X-	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
X-	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
X+	  echo " %%INSTALL_MAN%% $$file $(DESTDIR)$(man1dir)/$$inst"; \
X+	  %%INSTALL_MAN%% $$file $(DESTDIR)$(man1dir)/$$inst; \
X 	done
X uninstall-man1:
X 	@$(NORMAL_UNINSTALL)
X@@ -394,8 +394,8 @@
X 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
X 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
X 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
X-	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
X-	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
X+	  echo " %%INSTALL_MAN%% $$file $(DESTDIR)$(man8dir)/$$inst"; \
X+	  %%INSTALL_MAN%% $$file $(DESTDIR)$(man8dir)/$$inst; \
X 	done
X uninstall-man8:
X 	@$(NORMAL_UNINSTALL)
X@@ -873,6 +873,7 @@
X 
X install-data-local: install-man
X 	for f in `cat authlib/modulelist ; . authlib/authdaemonrc ; echo $$authmodulelist ` ; do \
X+		continue ; \
X 		test "$$f" = "authpam" || continue ; \
X 		test -d $(DESTDIR)/etc/pam.d || continue ; \
X 		test -w $(DESTDIR)/etc/pam.d || continue ; \
END-of-courier-imap/files/patch-Makefile.in
echo x - courier-imap/files/patch-authlib::Makefile.in
sed 's/^X//' >courier-imap/files/patch-authlib::Makefile.in << 'END-of-courier-imap/files/patch-authlib::Makefile.in'
X--- authlib/Makefile.in.orig	Sun Jul 20 12:01:18 2003
X+++ authlib/Makefile.in	Sun Jul 20 12:56:12 2003
X@@ -1341,7 +1341,7 @@
X 	$(mkinstalldirs) $(DESTDIR)$(man7dir) ; \
X 	for f in $(man_MANS) "" ; do \
X 		test "$$f" = "" && continue ; \
X-		$(INSTALL_DATA) $$f $(DESTDIR)$(man7dir) ; done ; \
X+		%%INSTALL_MAN%% $$f $(DESTDIR)$(man7dir) ; done ; \
X 	cd $(DESTDIR)$(man7dir) || exit 1 ; \
X 		for f in $(man_LINKS) "" ; do \
X 			test "$$f" = "" && continue ; \
END-of-courier-imap/files/patch-authlib::Makefile.in
echo x - courier-imap/Makefile
sed 's/^X//' >courier-imap/Makefile << 'END-of-courier-imap/Makefile'
X# New ports collection makefile for: courierimap
X# Date created:		Wed Sep 10 01:49:43 CEST 2003
X# Whom:			Martin Jessa <yazzy@yazzy.org>
X#
X# $FreeBSD: ports/mail/courier-imap/Makefile,v 1.57 2003/09/01 14:51:03 dinoex Exp $
X#
X
XPORTNAME=	courier-imap
XPORTVERSION=	2.1.1
XPORTREVISION=	0
XPORTEPOCH=	1
XCATEGORIES=	mail ipv6
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	courier
X
XMAINTAINER=	oliver@FreeBSD.org
XCOMMENT=	IMAP (and POP3) server that provides access to Maildir mailboxes
X
XUSE_BZIP2=	yes
XUSE_REINPLACE=	yes
XUSE_PERL5=	yes
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
X
X#
X# options available:
X#
X# WITHOUT_OPENSSL:		Don't build in TLS support
X# WITHOUT_PAM:			Don't build in PAM support
X# WITHOUT_AUTHDAEMON		Don't build the authdaemon
X# WITH_CRAM:			Build in CRAM-MD5 authentication support
X# WITH_VPOPMAIL:		Build in vpopmail support
X# WITH_MYSQL:			Build in mysql support
X# WITH_POSTGRESQL:		Build in postgresql support
X# WITH_LDAP:			Build in ldap support with openldap 2.1
X# WITH_LDAP21:			Build in ldap support with openldap 2.1
X# WITH_LDAP20:			Build in ldap support with openldap 2.0
X# WITH_LDAP1:			Build in ldap support with openldap 1.x
X# WITH_FAM:			Build in fam support for IDLE command
X#
X
XCONFDIR?=	${PREFIX}/etc/${PORTNAME}
XRCDIR?=		${PREFIX}/etc/rc.d
XUSERDB?=	${PREFIX}/etc/userdb
XLIBEXECDIR?=	${PREFIX}/libexec/${PORTNAME}
X
XVPOPMAILDIR?=	${LOCALBASE}/vpopmail
X
XPLIST_SUB=	CONFDIR=${CONFDIR:S,^${PREFIX}/,,} \
X		RCDIR=${RCDIR:S,^${PREFIX}/,,} \
X		USERDB=${USERDB:S,^${PREFIX}/,,} \
X		LIBEXECDIR=${LIBEXECDIR:S,^${PREFIX}/,,}
X
X.if !defined(WITHOUT_OPENSSL)
XUSE_OPENSSL=	YES
XPLIST_SUB+=	OPENSSLFLAG=
X.else
XPLIST_SUB+=	OPENSSLFLAG="@comment "
X.endif
X
XCONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
XCONFIGURE_ARGS=	--without-authshadow \
X		--sysconfdir=${CONFDIR} \
X		--with-userdb=${USERDB} \
X		--datadir=${DATADIR} \
X		--libexecdir=${LIBEXECDIR} \
X		--enable-workarounds-for-imap-client-bugs \
X		--enable-unicode \
X		--disable-root-check \
X		--with-locking-method=fcntl
X
X.if !defined(WITH_VPOPMAIL)
XCONFIGURE_ARGS+=--without-authvchkpw
XPLIST_SUB+=	VPOPMAILFLAG="@comment "
X.else
XCONFIGURE_ARGS+=--with-authvchkpw
XBUILD_DEPENDS+=	${VPOPMAILDIR}/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail
XPLIST_SUB+=	VPOPMAILFLAG=""
X.endif
X
X.if defined(WITH_LDAP)
XWITH_LDAP21=	yes
X.endif
X
X.if !defined(WITH_LDAP1) && !defined(WITH_LDAP20) && !defined(WITH_LDAP21)
XCONFIGURE_ARGS+=--without-authldap
XPLIST_SUB+=	LDAPFLAG="@comment "
X.else
XCONFIGURE_ARGS+=--with-authldap
XPLIST_SUB+=	LDAPFLAG=""
X
X.if defined(WITH_LDAP21)
XLIB_DEPENDS=	ldap.2:${PORTSDIR}/net/openldap21-client \
X		lber.2:${PORTSDIR}/net/openldap21-client
X.elseif defined(WITH_LDAP20)
XLIB_DEPENDS=	ldap.2:${PORTSDIR}/net/openldap20-client \
X		lber.2:${PORTSDIR}/net/openldap20-client
X.else
XLIB_DEPENDS=	ldap.1:${PORTSDIR}/net/openldap12 \
X		lber.1:${PORTSDIR}/net/openldap12
X.endif
X.endif
X
X.if !defined(WITH_MYSQL)
XCONFIGURE_ARGS+=--without-authmysql
XPLIST_SUB+=	MYSQLFLAG="@comment "
X.else
X.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.10)
XLIB_DEPENDS+=	mysqlclient.10:${PORTSDIR}/databases/mysql323-client
XPLIST_SUB+=	MYSQLFLAG=""
X.elif exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.14)
XLIB_DEPENDS+=	mysqlclient.14:${PORTSDIR}/databases/mysql41-client
XPLIST_SUB+=	MYSQLFLAG=""
X.else
XLIB_DEPENDS+=	mysqlclient.12:${PORTSDIR}/databases/mysql40-client
XPLIST_SUB+=	MYSQLFLAG=""
X.endif
XCONFIGURE_ARGS+=--with-authmysql \
X		--with-mysql-libs=${LOCALBASE}/lib/mysql \
X		--with-mysql-includes=${LOCALBASE}/include/mysql
X.endif
X
X.if !defined(WITH_POSTGRESQL)
XCONFIGURE_ARGS+=--without-authpgsql
XPLIST_SUB+=	PGSQLFLAG="@comment "
X.else
XPOSTGRESQL_PORT?=	databases/postgresql7
XLIB_DEPENDS+=	pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
XPLIST_SUB+=	PGSQLFLAG=""
X.endif
X
X.if !defined(WITHOUT_AUTHDAEMON)
XCONFIGURE_ARGS+=--with-authdaemon
XPLIST_SUB+=	AUTHDFLAG=""
X.else
XCONFIGURE_ARGS+=--without-authdaemon
XPLIST_SUB+=	AUTHDFLAG="@comment "
X.endif
X
X.if !defined(WITHOUT_PAM)
XCONFIGURE_ARGS+=--with-authpam
X.else
XCONFIGURE_ARGS+=--without-authpam
X.endif
X
X.if !defined(WITH_CRAM)
XCONFIGURE_ARGS+=--without-authcram
X.else
XCONFIGURE_ARGS+=--with-authcram
X.endif
X
X.if defined(WITH_FAM)
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LDFLAGS="${LDFLAGS}"
XLDFLAGS+=	-L${LOCALBASE}/lib
XLIB_DEPENDS+=	fam.0:${PORTSDIR}/devel/fam
X.endif
X
XMAN1=		couriertcpd.1 maildirkw.1 maildirmake.1
XMAN7=		authlib.7
XMAN8=		makeuserdb.8 userdb.8 userdbpw.8 \
X		deliverquota.8 imapd.8 mkimapdcert.8 mkpop3dcert.8
X
XMLINKS=		authlib.7 authpwd.7 \
X		authlib.7 authuserdb.7 \
X		authlib.7 authshadow.7 \
X		authlib.7 authpam.7 \
X		authlib.7 authvchkpw.7 \
X		authlib.7 authcram.7 \
X		authlib.7 authldap.7 \
X		authlib.7 authmysql.7 \
X		authlib.7 authdaemon.7 \
X		authlib.7 authdaemond.7 \
X		makeuserdb.8 pw2userdb.8 \
X		makeuserdb.8 vchkpw2userdb.8
X
XEXTRA_DOCS=	README INSTALL AUTHORS imap/ChangeLog
X
X.include <bsd.port.pre.mk>
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|^case x$$lockmethod in|${TEST} \&\& &|g' \
X		${WRKSRC}/liblock/configure
X	@${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g' \
X		${WRKSRC}/authlib/configure
X	@${REINPLACE_CMD} -e 's|^@INSTALLAUTHMODULES@$$|& @AUTHMODULES@|' \
X		${WRKSRC}/authlib/installlist.in
X	@${REINPLACE_CMD} -e 's|%%INSTALL_MAN%%|${INSTALL_MAN}|' \
X		${WRKSRC}/Makefile.in ${WRKSRC}/authlib/Makefile.in
X
Xpost-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/authlib/authtest ${PREFIX}/bin/
X.for i in imapd pop3d
X	${INSTALL_DATA} ${WRKSRC}/imap/${i}.cnf ${CONFDIR}/${i}.cnf.dist
X	${LN} -s ${LIBEXECDIR}/${i}.rc ${RCDIR}/${PORTNAME}-${i}.sh.sample
X	${LN} -s ${LIBEXECDIR}/${i}-ssl.rc ${RCDIR}/${PORTNAME}-${i}-ssl.sh.sample
X.endfor
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.for a in ${EXTRA_DOCS}
X	${INSTALL_DATA} ${WRKSRC}/${a} ${DOCSDIR}
X.endfor
X.endif
X	@${ECHO_MSG} ""
X	@${ECHO_MSG} "You will have to run ${DATADIR}/mkimapdcert to create"
X	@${ECHO_MSG} "a self-signed certificate if you want to use imapd-ssl."
X	@${ECHO_MSG} "And you will have to copy and edit the *.dist files to *"
X	@${ECHO_MSG} "in ${CONFDIR}."
X	@${ECHO_MSG} ""
X
X.include <bsd.port.post.mk>
END-of-courier-imap/Makefile
echo x - courier-imap/distinfo
sed 's/^X//' >courier-imap/distinfo << 'END-of-courier-imap/distinfo'
XMD5 (courier-imap-2.1.1.tar.bz2) = 71d9e88053351dbf7df04943189ec1cd
END-of-courier-imap/distinfo
echo x - courier-imap/pkg-descr
sed 's/^X//' >courier-imap/pkg-descr << 'END-of-courier-imap/pkg-descr'
XCourier-IMAP is a server that provides IMAP access to Maildir mailboxes.
XThis IMAP server does NOT handle traditional mailbox files
X(/var/spool/mail, and derivatives), it was written for the specific
Xpurpose of providing IMAP access to Maildirs.
X
XCourier-IMAP implements some extensions to the basic Maildir mail
Xstorage format in order to support some additional features, such as
Xfolders and "soft" quotas. This is done in a way that's backwards
Xcompatible with the standard Maildir users (although, of course, they
Xwill ignore the additional features). Other software that understands
Xand uses the same Maildir extensions is SqWebMail, and maildrop.
X
XFeatures:
X     * Extremely small footprint.
X     * Abstract authentication modules.
X     * Virtual mailbox support.
X     * Pop3 daemon.
X
XWWW:	http://www.inter7.com/courierimap/
END-of-courier-imap/pkg-descr
echo x - courier-imap/pkg-plist
sed 's/^X//' >courier-imap/pkg-plist << 'END-of-courier-imap/pkg-plist'
Xbin/authtest
X%%OPENSSLFLAG%%bin/couriertls
Xbin/deliverquota
Xbin/imapd
Xbin/maildirkw
Xbin/maildirmake
Xbin/pop3d
X%%AUTHDFLAG%%%%CONFDIR%%/authdaemonrc.dist
X%%LDAPFLAG%%%%CONFDIR%%/authldaprc.dist
X%%MYSQLFLAG%%%%CONFDIR%%/authmysqlrc.dist
X%%PGSQLFLAG%%%%CONFDIR%%/authpgsqlrc.dist
X%%CONFDIR%%/imapd-ssl.dist
X%%CONFDIR%%/imapd.cnf.dist
X%%CONFDIR%%/imapd.dist
X%%CONFDIR%%/pop3d-ssl.dist
X%%CONFDIR%%/pop3d.cnf.dist
X%%CONFDIR%%/pop3d.dist
X%%CONFDIR%%/quotawarnmsg.example
X%%RCDIR%%/courier-imap-imapd.sh.sample
X%%RCDIR%%/courier-imap-imapd-ssl.sh.sample
X%%RCDIR%%/courier-imap-pop3d.sh.sample
X%%RCDIR%%/courier-imap-pop3d-ssl.sh.sample
X%%LIBEXECDIR%%/authlib/authcustom
X%%AUTHDFLAG%%%%LIBEXECDIR%%/authlib/authdaemon
X%%AUTHDFLAG%%%%LIBEXECDIR%%/authlib/authdaemond
X%%LDAPFLAG%%%%LIBEXECDIR%%/authlib/authdaemond.ldap
X%%MYSQLFLAG%%%%LIBEXECDIR%%/authlib/authdaemond.mysql
X%%PGSQLFLAG%%%%LIBEXECDIR%%/authlib/authdaemond.pgsql
X%%AUTHDFLAG%%%%LIBEXECDIR%%/authlib/authdaemond.plain
X%%LIBEXECDIR%%/authlib/authpam
X%%LIBEXECDIR%%/authlib/authuserdb
X%%VPOPMAILFLAG%%%%LIBEXECDIR%%/authlib/authvchkpw
X%%LIBEXECDIR%%/courierlogger
X%%LIBEXECDIR%%/couriertcpd
X%%LIBEXECDIR%%/imapd-ssl.rc
X%%LIBEXECDIR%%/imapd.rc
X%%LIBEXECDIR%%/makedatprog
X%%LIBEXECDIR%%/pop3d-ssl.rc
X%%LIBEXECDIR%%/pop3d.rc
Xsbin/imaplogin
Xsbin/makeuserdb
Xsbin/mkimapdcert
Xsbin/mkpop3dcert
Xsbin/pop3login
Xsbin/pw2userdb
Xsbin/userdb
Xsbin/userdbpw
Xsbin/vchkpw2userdb
Xshare/courier-imap/makeuserdb
Xshare/courier-imap/mkimapdcert
Xshare/courier-imap/mkpop3dcert
Xshare/courier-imap/pw2userdb
Xshare/courier-imap/userdb
Xshare/courier-imap/vchkpw2userdb
X%%DOCSDIR%%/AUTHORS
X%%DOCSDIR%%/ChangeLog
X%%DOCSDIR%%/INSTALL
X%%DOCSDIR%%/README
X%%AUTHDFLAG%%@dirrm var/authdaemon
X@dirrm var
X@dirrm %%DOCSDIR%%
X@dirrm share/courier-imap
X@dirrm %%LIBEXECDIR%%/authlib
X@dirrm %%LIBEXECDIR%%
X@dirrm %%CONFDIR%%
END-of-courier-imap/pkg-plist
exit


--- courier-imap-2.1.1.shar ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1063161280>