summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-01-18 02:14:32 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-01-18 02:14:32 +0000
commitcaaa6963da08c2802a1f7eda1b152f8d1b5bc0da (patch)
tree21c8b8d35cf417377518d81396f46687f879241f /mail
parentFix the checksum for patch.3.3.11.1. In diff'ing the new patch to the older (diff)
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 <natey@natey.com>
Notes
Notes: svn path=/head/; revision=73366
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile1
-rw-r--r--mail/libpst/Makefile18
-rw-r--r--mail/libpst/distinfo1
-rw-r--r--mail/libpst/files/patch-aa11
-rw-r--r--mail/libpst/files/patch-ab10
-rw-r--r--mail/libpst/files/patch-ac24
-rw-r--r--mail/libpst/pkg-comment1
-rw-r--r--mail/libpst/pkg-descr9
-rw-r--r--mail/libpst/pkg-plist1
9 files changed, 76 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 73275640371d..ba75d273c223 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -95,6 +95,7 @@
SUBDIR += libesmtp
SUBDIR += libetpan
SUBDIR += liboe
+ SUBDIR += libpst
SUBDIR += librfc822
SUBDIR += listmanager
SUBDIR += lmtp2nntp
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 <natey@natey.com>
+#
+# $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 <bsd.port.mk>
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 <time.h>
+ #include <string.h>
+ #include <ctype.h>
+-#include <getopt.h>
+-//#include <values.h>
+ #include <limits.h>
+
+ #include <errno.h>
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 <time.h>
+ #include <string.h>
+ #include <ctype.h>
+-#include <getopt.h>
+ #include <limits.h>
+
+ #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