ports/50719: [NEW PORT] mail/bincimap: Light-weight IMAP server for Maildir
Sergei Kolobov
sergei at kolobov.com
Tue Apr 8 11:50:27 UTC 2003
>Number: 50719
>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: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Apr 08 04:50:24 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Sergei Kolobov
>Release: FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD outpost.globcon.net 4.7-STABLE FreeBSD 4.7-STABLE #0: Thu Jan 2 03:13:48 MSK
>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 at andreas.hanssen.name>
WWW: http://www.bincimap.org/
Supercedes: ports/48664, ports/50459, ports/50630
Tested on: -STABLE NOTE: the port does NOT compile on -CURRENT due to GCC 3.2.2 differences. The author is notified and I am awaiting a patch.
>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 at kolobov.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= bincimap
XPORTVERSION= 1.1.4
XCATEGORIES= mail
XMASTER_SITES= http://www.bincimap.org/dl/tarballs/
X
XMAINTAINER= sergei at 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.4.tar.bz2) = d0a9631b702260ca26d82612b338e93e
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 at 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 at 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 at dirrm %%EXAMPLESDIR%%/xinetd
X%%EXAMPLESDIR%%/supervise/imap/run
X%%EXAMPLESDIR%%/supervise/imap/log/run
X at dirrm %%EXAMPLESDIR%%/supervise/imap/log
X at dirrm %%EXAMPLESDIR%%/supervise/imap
X%%EXAMPLESDIR%%/supervise/imaps/run
X%%EXAMPLESDIR%%/supervise/imaps/log/run
X at dirrm %%EXAMPLESDIR%%/supervise/imaps/log
X at dirrm %%EXAMPLESDIR%%/supervise/imaps
X at dirrm %%EXAMPLESDIR%%/supervise
X at dirrm %%EXAMPLESDIR%%
END-of-bincimap/pkg-plist
exit
--- bincimap.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list