From sgk@kolobov.com  Sat Apr  5 16:32:04 2003
Return-Path: <sgk@kolobov.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E694B37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  5 Apr 2003 16:32:04 -0800 (PST)
Received: from outpost.lukarcos.com (outpost.globcon.net [62.141.88.161])
	by mx1.FreeBSD.org (Postfix) with SMTP id 55D4343F3F
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  5 Apr 2003 16:32:03 -0800 (PST)
	(envelope-from sgk@kolobov.com)
Received: (qmail 22364 invoked from network); 6 Apr 2003 00:31:58 -0000
Received: from h166.lukarcos.com (HELO kolobov.com) (62.141.88.166)
  by outpost.globcon.net with SMTP; 6 Apr 2003 00:31:58 -0000
Received: (qmail 1160 invoked by uid 911); 6 Apr 2003 00:31:04 -0000
Message-Id: <20030406003104.1159.qmail@kolobov.com>
Date: 6 Apr 2003 00:31:04 -0000
From: Sergei Kolobov <sergei@kolobov.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] mail/bincimap: Light-weight IMAP server for Maildir
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         50630
>Category:       ports
>Synopsis:       [NEW PORT] mail/bincimap: Light-weight IMAP server for Maildir
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 05 16:40:11 PST 2003
>Closed-Date:    Sat Apr 26 18:38:33 PDT 2003
>Last-Modified:  Sat Apr 26 18:38:33 PDT 2003
>Originator:     Sergei Kolobov
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD elf.chetwood.ru 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sun Mar 16 04:38:45 MSK 2003
>Description:
Binc IMAP is a GPL licensed IMAP4rev1 server for Maildir, written in C++. 
It strives to be stable, fast, flexible, and RFC compliant.

For those familiar with qmail-pop3d, this IMAP server will be the natural
choice. It is invoked similarily and uses checkpassword to authenticate. 

Author:	Andreas Aardal Hanssen <bincimap@andreas.hanssen.name>
WWW:	http://www.bincimap.org/

Tested on:	5.0-CURRENT and 4.8-RC
Supercedes:	ports/50459

NOTE:	This port can also make use the proposed USE_GNUGETOPT option 
	(see ports/50323).
>How-To-Repeat:
>Fix:
--- bincimap.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:
#
#	bincimap
#	bincimap/Makefile
#	bincimap/distinfo
#	bincimap/pkg-descr
#	bincimap/pkg-plist
#
echo c - bincimap
mkdir -p bincimap > /dev/null 2>&1
echo x - bincimap/Makefile
sed 's/^X//' >bincimap/Makefile << 'END-of-bincimap/Makefile'
X# New ports collection makefile for:	bincimap
X# Date created:		27 Mar 2003
X# Whom:			Sergei Kolobov <sergei@kolobov.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	bincimap
XPORTVERSION=	1.1.3
XCATEGORIES=	mail
XMASTER_SITES=	http://www.bincimap.org/dl/tarballs/
X
XMAINTAINER=	sergei@kolobov.com
XCOMMENT=	Light-weight IMAP server for Maildir
X
XUSE_BZIP2=	yes
XGNU_CONFIGURE=	yes
X
XCONFIG_DIR?=	${PREFIX}/etc/${PORTNAME}
XPLIST_SUB+=	CONFIG_DIR="${CONFIG_DIR:S,^${PREFIX}/,,}"
X
XCONFIGURE_ARGS+=	--sysconfdir=${CONFIG_DIR}
XCONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
X
X.if defined(WITHOUT_OPENSSL)
XCONFIGURE_ARGS+=	--without-ssl
X.else
XCONFIGURE_ARGS+=	--with-ssl
XUSE_OPENSSL=	yes
X.endif
X
XMAN1=		bincimap-up.1 bincimapd.1
XMAN5=		bincimap.conf.5
XDOCS=		AUTHORS ChangeLog README doc/bincimap*
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 500041
XLIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
XCPPFLAGS+=	-I${LOCALBASE}/include
XLDFLAGS+=	-L${LOCALBASE}/lib -lgnugetopt
XCONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
X.endif
X
Xpost-install:
X	@${MKDIR} ${CONFIG_DIR}
X	@cd ${WRKSRC}/conf && \
X	    ${INSTALL_DATA} bincimap.conf ${CONFIG_DIR} && \
X	    ${INSTALL_DATA} bincimap.conf ${CONFIG_DIR}/bincimap.conf.sample
X.for dir in xinetd supervise/imap/log supervise/imaps/log
X	@${MKDIR} ${EXAMPLESDIR}/${dir}
X.endfor
X	@cd ${WRKSRC}/conf && \
X	    ${INSTALL_DATA} xinetd-bincimap ${EXAMPLESDIR}/xinetd/imap && \
X	    ${INSTALL_DATA} xinetd-bincimaps ${EXAMPLESDIR}/xinetd/imaps
X	@cd ${WRKSRC}/service && \
X	    ${INSTALL_DATA} run ${EXAMPLESDIR}/supervise/imap && \
X	    ${INSTALL_DATA} log/run ${EXAMPLESDIR}/supervise/imap/log && \
X	    ${INSTALL_DATA} run-ssl ${EXAMPLESDIR}/supervise/imaps/run && \
X	    ${INSTALL_DATA} log/run ${EXAMPLESDIR}/supervise/imaps/log
X	@cd ${WRKSRC}/man && \
X	    ${INSTALL_MAN} ${MAN1} ${MANPREFIX}/man/man1 && \
X	    ${INSTALL_MAN} ${MAN5} ${MANPREFIX}/man/man5
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	@cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-bincimap/Makefile
echo x - bincimap/distinfo
sed 's/^X//' >bincimap/distinfo << 'END-of-bincimap/distinfo'
XMD5 (bincimap-1.1.3.tar.bz2) = 60bedd4bf699a6b357be91635fe27205
END-of-bincimap/distinfo
echo x - bincimap/pkg-descr
sed 's/^X//' >bincimap/pkg-descr << 'END-of-bincimap/pkg-descr'
XBinc IMAP is a GPL licensed IMAP4rev1 server for Maildir, written in C++. 
XIt strives to be stable, fast, flexible, and RFC compliant.
X
XFor those familiar with qmail-pop3d, this IMAP server will be the natural
Xchoice. It is invoked similarily and uses checkpassword to authenticate. 
X
XAuthor:	Andreas Aardal Hanssen <bincimap@andreas.hanssen.name>
XWWW:	http://www.bincimap.org/
END-of-bincimap/pkg-descr
echo x - bincimap/pkg-plist
sed 's/^X//' >bincimap/pkg-plist << 'END-of-bincimap/pkg-plist'
Xbin/bincimapd
Xbin/bincimap-up
X%%CONFIG_DIR%%/bincimap.conf.sample
X@unexec rmdir %%CONFIG_DIR%% 2>/dev/null || true
X%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
X%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/bincimap-faq.html
X%%PORTDOCS%%%%DOCSDIR%%/bincimap-goals.html
X%%PORTDOCS%%%%DOCSDIR%%/bincimap-imapdir.html
X%%PORTDOCS%%%%DOCSDIR%%/bincimap-tech.html
X%%PORTDOCS%%%%DOCSDIR%%/bincimap.css
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X%%EXAMPLESDIR%%/xinetd/imap
X%%EXAMPLESDIR%%/xinetd/imaps
X@dirrm %%EXAMPLESDIR%%/xinetd
X%%EXAMPLESDIR%%/supervise/imap/run
X%%EXAMPLESDIR%%/supervise/imap/log/run
X@dirrm %%EXAMPLESDIR%%/supervise/imap/log
X@dirrm %%EXAMPLESDIR%%/supervise/imap
X%%EXAMPLESDIR%%/supervise/imaps/run
X%%EXAMPLESDIR%%/supervise/imaps/log/run
X@dirrm %%EXAMPLESDIR%%/supervise/imaps/log
X@dirrm %%EXAMPLESDIR%%/supervise/imaps
X@dirrm %%EXAMPLESDIR%%/supervise
X@dirrm %%EXAMPLESDIR%%
END-of-bincimap/pkg-plist
exit
--- bincimap.shar ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: vanilla 
State-Changed-When: Sat Apr 26 18:38:26 PDT 2003 
State-Changed-Why:  
Obsolete PR. Bincimap committed by ports/51401. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50630 
>Unformatted:
