Bug 39963 - New port: Tool to convert Outlook .pst to Unix mbox
Summary: New port: Tool to convert Outlook .pst to Unix mbox
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-28 23:50 UTC by Nate Underwood
Modified: 2003-01-18 02:15 UTC (History)
0 users

See Also:


Attachments
libpst.shar (2.95 KB, text/plain)
2002-06-28 23:50 UTC, Nate Underwood
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Underwood 2002-06-28 23:50:01 UTC
A small CLI tool to convert M$ Outlook .pst files to standard Unix mbox files.  Port is named libpst...actual binary is readpst.
Comment 1 chrislaco 2002-12-14 01:55:26 UTC
I noticed libpst hadn't been add to ports yet and found this PR which is 
still open.

I've updated the shar/port files for the latest 0.4.1 version.

Thanks,
-=Chris



--- libpst.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:
#
#       libpst/Makefile
#       libpst/distinfo
#       libpst/files
#       libpst/pkg-comment
#       libpst/pkg-descr
#       libpst/pkg-plist
#       libpst/files/patch-aa
#       libpst/files/patch-ab
#       libpst/files/patch-ac
#
echo x - libpst/Makefile
sed 's/^X//' >libpst/Makefile << 'END-of-libpst/Makefile'
X# New ports collection makefile for:   libpst
X# Date created:        28 June 2002
X# Whom:                Nate Underwood <natey@natey.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=      libpst
XPORTVERSION=   0.4.1
XCATEGORIES=    mail converters
XMASTER_SITES=  http://telia.dl.sourceforge.net/sourceforge/ol2mbox/
XDISTNAME=      libpst_0.4.1
XEXTRACT_SUFX=  .tgz
X
XMAINTAINER=    natey@natey.com
X
X.include <bsd.port.mk>
END-of-libpst/Makefile
echo x - libpst/distinfo
sed 's/^X//' >libpst/distinfo << 'END-of-libpst/distinfo'
XMD5 (libpst_0.4.1.tgz) = c574f5c6938cb73bccf7b661b0ad1329
END-of-libpst/distinfo
echo c - libpst/files
mkdir -p libpst/files > /dev/null 2>&1
echo x - libpst/pkg-comment
sed 's/^X//' >libpst/pkg-comment << 'END-of-libpst/pkg-comment'
XA tool for converting Outlook .pst files to Unix mbox format
END-of-libpst/pkg-comment
echo x - libpst/pkg-descr
sed 's/^X//' >libpst/pkg-descr << 'END-of-libpst/pkg-descr'
Xreadpst: A tool for converting Outlook .pst files to Unix mbox format
X
XThe aim of this project is to provide libraries and applications for the
Xconversion of Outlook and Outlook Express data files to Linux MBOX format.
X
XWWW: http://sourceforge.net/projects/ol2mbox
X
X- Natey
Xnatey@natey.com
END-of-libpst/pkg-descr
echo x - libpst/pkg-plist
sed 's/^X//' >libpst/pkg-plist << 'END-of-libpst/pkg-plist'
Xbin/readpst
END-of-libpst/pkg-plist
echo x - libpst/files/patch-aa
sed 's/^X//' >libpst/files/patch-aa << 'END-of-libpst/files/patch-aa'
X--- libpst.c.orig      Fri Dec 13 20:32:35 2002
X+++ libpst.c   Fri Dec 13 20:32:40 2002
X@@ -3,8 +3,6 @@
X #include <time.h>
X #include <string.h>
X #include <ctype.h>
X-#include <getopt.h>
X-//#include <values.h>
X #include <limits.h>
X
X #include <errno.h>
END-of-libpst/files/patch-aa
echo x - libpst/files/patch-ab
sed 's/^X//' >libpst/files/patch-ab << 'END-of-libpst/files/patch-ab'
X--- readpst.c.orig     Fri Dec 13 20:26:53 2002
X+++ readpst.c  Fri Dec 13 20:27:06 2002
X@@ -3,7 +3,6 @@
X #include <time.h>
X #include <string.h>
X #include <ctype.h>
X-#include <getopt.h>
X #include <limits.h>
X
X #ifndef WIN32
END-of-libpst/files/patch-ab
echo x - libpst/files/patch-ac
sed 's/^X//' >libpst/files/patch-ac << 'END-of-libpst/files/patch-ac'
X--- Makefile   Mon Feb 11 12:32:21 2002
X+++ Makefile.new       Fri Jun 28 14:04:12 2002
X@@ -1,3 +1,7 @@
X+PREFIX   = /usr/local
X+EPREFIX  = $(PREFIX)
X+BINDIR   = $(EPREFIX)/bin
X+
X all: readpst
X
X libpst.o: libpst.c libpst.h define.h
X@@ -13,6 +17,14 @@
X
X timeconv.o: timeconv.c timeconv.h common.h
X       gcc -c -Wall -Werror timeconv.c -g -o timeconv.o
X+
X+install: installbin
X+
X+installbin: readpst
X+      mkdir -p $(BINDIR)
X+      cp readpst $(BINDIR)
X+      strip $(BINDIR)/readpst
X+      chmod 755 $(BINDIR)/readpst
X
X clean:
X       rm -f core readpst libpst.o timeconv.o libstrfunc.o *~
END-of-libpst/files/patch-ac
exit
--- libpst.shar ends here ---
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2003-01-18 02:14:33 UTC
State Changed
From-To: open->closed

Commited, thanks! 
(needed some tweaking in files/patch-ac and I've changed the 
MASTER_SITES to use the right name)