Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Oct 2005 17:26:28 GMT
From:      Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/88245: [NEW PORT] mail/mbox2mdir: Convert mailbox format to Qmail maildir writen in C
Message-ID:  <200510301726.j9UHQSCI042328@www.freebsd.org>
Resent-Message-ID: <200510301730.j9UHUHJ1059019@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         88245
>Category:       ports
>Synopsis:       [NEW PORT] mail/mbox2mdir: Convert mailbox format to Qmail maildir writen in C
>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:   Sun Oct 30 17:30:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jose Alonso Cardenas Marquez
>Release:        FreeBSD 6.0-RC1 i386
>Organization:
BSDPeru (http://www.bsd.org.pe)
>Environment:
FreeBSD HellFire.BSD.org.pe 6.0-RC1 FreeBSD 6.0-RC1 #0: Sat Oct 29 10:17:26 PET 2005    
>Description:
mbox2mdir is a small program to convert mail stored in in UN*X Mailbox format to QMail's 
Maildir format. It can (optionally) also truncate source Mailbox file upon successful conversion. 
I use it to move mail delivered by /bin/mail or sendmail to QMail maildirs, but of course there 
are many other possible uses for it.

WWW:	http://sageshome.net/oss/mbox2mdir.php
>How-To-Repeat:
              
>Fix:
--- mbox2mdir-1.3.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:
#
#	mbox2mdir
#	mbox2mdir/pkg-descr
#	mbox2mdir/Makefile
#	mbox2mdir/distinfo
#
echo c - mbox2mdir
mkdir -p mbox2mdir > /dev/null 2>&1
echo x - mbox2mdir/pkg-descr
sed 's/^X//' >mbox2mdir/pkg-descr << 'END-of-mbox2mdir/pkg-descr'
Xmbox2mdir is a small program to convert mail stored in in UN*X Mailbox format to QMail's 
XMaildir format. It can (optionally) also truncate source Mailbox file upon successful conversion. 
XI use it to move mail delivered by /bin/mail or sendmail to QMail maildirs, but of course there 
Xare many other possible uses for it.
X
XWWW:	http://sageshome.net/oss/mbox2mdir.php
END-of-mbox2mdir/pkg-descr
echo x - mbox2mdir/Makefile
sed 's/^X//' >mbox2mdir/Makefile << 'END-of-mbox2mdir/Makefile'
X# New ports collection makefile for:	mbox2mdir
X# Date created:		2005-10-30
X# Whom:			Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mbox2mdir
XPORTVERSION=	1.3
XCATEGORIES=	mail
XMASTER_SITES=	http://sageshome.net/downloads/oss/
X
XMAINTAINER=	acardenas@bsd.org.pe
XCOMMENT=	Convert mailbox format to Qmail maildir writen in C
X
XUSE_BZIP2=	yes
XNO_BUILD=	yes
XUSE_REINPLACE=	yes
X
XPLIST_FILES+=	bin/mbox2mdir
X
Xpre-install:
X	@${REINPLACE_CMD} -e 's|CC=g++ -O3|CC=${CXX} ${CXXFLAGS}|g' \
X		${WRKSRC}/Makefile
Xdo-install:
X	@cd ${WRKSRC} && ${GMAKE}
X	${INSTALL_PROGRAM} ${WRKSRC}/mbox2mdir ${PREFIX}/bin
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-mbox2mdir/Makefile
echo x - mbox2mdir/distinfo
sed 's/^X//' >mbox2mdir/distinfo << 'END-of-mbox2mdir/distinfo'
XMD5 (mbox2mdir-1.3.tar.bz2) = 7dda0022100de6d044765951d11bce18
XSIZE (mbox2mdir-1.3.tar.bz2) = 9066
END-of-mbox2mdir/distinfo
exit
--- mbox2mdir-1.3.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?200510301726.j9UHQSCI042328>