From caaa6963da08c2802a1f7eda1b152f8d1b5bc0da Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sat, 18 Jan 2003 02:14:32 +0000 Subject: New port: Tool to convert Outlook .pst to Unix mbox A small CLI tool to convert M$ Outlook .pst files to standard Unix mbox files. Port is named libpst...actual binary is readpst. PR: ports/39963 Submitted by: Nate Underwood --- mail/libpst/Makefile | 18 ++++++++++++++++++ mail/libpst/distinfo | 1 + mail/libpst/files/patch-aa | 11 +++++++++++ mail/libpst/files/patch-ab | 10 ++++++++++ mail/libpst/files/patch-ac | 24 ++++++++++++++++++++++++ mail/libpst/pkg-comment | 1 + mail/libpst/pkg-descr | 9 +++++++++ mail/libpst/pkg-plist | 1 + 8 files changed, 75 insertions(+) create mode 100644 mail/libpst/Makefile create mode 100644 mail/libpst/distinfo create mode 100644 mail/libpst/files/patch-aa create mode 100644 mail/libpst/files/patch-ab create mode 100644 mail/libpst/files/patch-ac create mode 100644 mail/libpst/pkg-comment create mode 100644 mail/libpst/pkg-descr create mode 100644 mail/libpst/pkg-plist (limited to 'mail/libpst') diff --git a/mail/libpst/Makefile b/mail/libpst/Makefile new file mode 100644 index 000000000000..fb915a466260 --- /dev/null +++ b/mail/libpst/Makefile @@ -0,0 +1,18 @@ +# New ports collection makefile for: libpst +# Date created: 28 June 2002 +# Whom: Nate Underwood +# +# $FreeBSD$ +# + +PORTNAME= libpst +PORTVERSION= 0.4.1 +CATEGORIES= mail converters +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ol2mbox +DISTNAME= libpst_0.4.1 +EXTRACT_SUFX= .tgz + +MAINTAINER= natey@natey.com + +.include diff --git a/mail/libpst/distinfo b/mail/libpst/distinfo new file mode 100644 index 000000000000..fa4d9b280899 --- /dev/null +++ b/mail/libpst/distinfo @@ -0,0 +1 @@ +MD5 (libpst_0.4.1.tgz) = c574f5c6938cb73bccf7b661b0ad1329 diff --git a/mail/libpst/files/patch-aa b/mail/libpst/files/patch-aa new file mode 100644 index 000000000000..94c74e3bc8a2 --- /dev/null +++ b/mail/libpst/files/patch-aa @@ -0,0 +1,11 @@ +--- libpst.c.orig Fri Dec 13 20:32:35 2002 ++++ libpst.c Fri Dec 13 20:32:40 2002 +@@ -3,8 +3,6 @@ + #include + #include + #include +-#include +-//#include + #include + + #include diff --git a/mail/libpst/files/patch-ab b/mail/libpst/files/patch-ab new file mode 100644 index 000000000000..b71bb3d4d6f3 --- /dev/null +++ b/mail/libpst/files/patch-ab @@ -0,0 +1,10 @@ +--- readpst.c.orig Fri Dec 13 20:26:53 2002 ++++ readpst.c Fri Dec 13 20:27:06 2002 +@@ -3,7 +3,6 @@ + #include + #include + #include +-#include + #include + + #ifndef WIN32 diff --git a/mail/libpst/files/patch-ac b/mail/libpst/files/patch-ac new file mode 100644 index 000000000000..3da7417d2a0c --- /dev/null +++ b/mail/libpst/files/patch-ac @@ -0,0 +1,24 @@ +--- Makefile.orig Fri Jan 17 18:09:52 2003 ++++ Makefile Fri Jan 17 18:11:11 2003 +@@ -1,3 +1,6 @@ ++EPREFIX= $(PREFIX) ++BINDIR= $(EPREFIX)/bin ++ + all: readpst getidblock + + libpst.o: libpst.c libpst.h define.h +@@ -19,6 +22,14 @@ + + getidblock: getidblock.c define.h libpst.o common.h debug.o + gcc -Wall -Werror getidblock.c -g -o getidblock libpst.o debug.o timeconv.o ++ ++install: installbin ++ ++installbin: readpst ++ mkdir -p $(BINDIR) ++ cp readpst $(BINDIR) ++ strip $(BINDIR)/readpst ++ chmod 755 $(BINDIR)/readpst + + clean: + rm -f core readpst libpst.o timeconv.o libstrfunc.o debug.o getidblock *~ diff --git a/mail/libpst/pkg-comment b/mail/libpst/pkg-comment new file mode 100644 index 000000000000..a4cd9ac65396 --- /dev/null +++ b/mail/libpst/pkg-comment @@ -0,0 +1 @@ +A tool for converting Outlook .pst files to Unix mbox format diff --git a/mail/libpst/pkg-descr b/mail/libpst/pkg-descr new file mode 100644 index 000000000000..3db7a8831925 --- /dev/null +++ b/mail/libpst/pkg-descr @@ -0,0 +1,9 @@ +readpst: A tool for converting Outlook .pst files to Unix mbox format + +The aim of this project is to provide libraries and applications for the +conversion of Outlook and Outlook Express data files to Linux MBOX format. + +WWW: http://sourceforge.net/projects/ol2mbox + +- Natey +natey@natey.com diff --git a/mail/libpst/pkg-plist b/mail/libpst/pkg-plist new file mode 100644 index 000000000000..0ce3a21dddf9 --- /dev/null +++ b/mail/libpst/pkg-plist @@ -0,0 +1 @@ +bin/readpst -- cgit v1.2.3