summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2003-08-15 09:50:03 +0000
committerzuntum <zuntum@pkgsrc.org>2003-08-15 09:50:03 +0000
commitc1b66327864daa180efe5999cfa6574332a33d0f (patch)
tree367389e40448c57c5eb72a795956b88ffa5f399b /mail
parentaefcc1519ed31647d06a3e9370535a74dafd0daa (diff)
downloadpkgsrc-c1b66327864daa180efe5999cfa6574332a33d0f.tar.gz
Initial import of safecat-1.11
safecat is an implementation of D. J. Bernstein's maildir algorithm. It can be used to write mail messages to a qmail-style maildir, or to write data to a "spool" directory reliably. There are no lockfiles with safecat, and nothing is left to chance. If safecat returns a successful exit status, then you can be (practically) 100% sure your data is safely committed to disk. Further, if data is written to a directory using safecat (or other implementations of the maildir algorithm), then every file in that directory is guaranteed to be complete. If safecat fails to write all of the data, there will be no file at all in the destination directory.
Diffstat (limited to 'mail')
-rw-r--r--mail/safecat/DESCR10
-rw-r--r--mail/safecat/Makefile22
-rw-r--r--mail/safecat/PLIST7
-rw-r--r--mail/safecat/distinfo4
4 files changed, 43 insertions, 0 deletions
diff --git a/mail/safecat/DESCR b/mail/safecat/DESCR
new file mode 100644
index 00000000000..dafe79cbdae
--- /dev/null
+++ b/mail/safecat/DESCR
@@ -0,0 +1,10 @@
+safecat is an implementation of D. J. Bernstein's maildir algorithm.
+It can be used to write mail messages to a qmail-style maildir, or to
+write data to a "spool" directory reliably. There are no lockfiles with
+safecat, and nothing is left to chance. If safecat returns a successful
+exit status, then you can be (practically) 100% sure your data is
+safely committed to disk. Further, if data is written to a directory
+using safecat (or other implementations of the maildir algorithm),
+then every file in that directory is guaranteed to be complete. If
+safecat fails to write all of the data, there will be no file at all
+in the destination directory.
diff --git a/mail/safecat/Makefile b/mail/safecat/Makefile
new file mode 100644
index 00000000000..3f238de47ca
--- /dev/null
+++ b/mail/safecat/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/08/15 09:50:03 zuntum Exp $
+#
+
+DISTNAME= safecat-1.11
+CATEGORIES= mail
+MASTER_SITES= http://budney.homeunix.net:8080/users/budney/linux/software/safecat/
+
+MAINTAINER= zuntum@NetBSD.org
+HOMEPAGE= http://budney.homeunix.net:8080/users/budney/linux/software/safecat.html
+COMMENT= Write data safely to a directory (using Bernstein's maildir algorithm)
+
+USE_BUILDLINK2= yes
+
+ALL_TARGET= #
+INSTALL_TARGET= setup check
+
+post-patch:
+ ${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
+ ${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld
+ ${ECHO} ${PREFIX} > ${WRKSRC}/conf-root
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/safecat/PLIST b/mail/safecat/PLIST
new file mode 100644
index 00000000000..dadb87d4a75
--- /dev/null
+++ b/mail/safecat/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/08/15 09:50:03 zuntum Exp $
+bin/maildir
+bin/safecat
+man/cat1/maildir.0
+man/cat1/safecat.0
+man/man1/maildir.1
+man/man1/safecat.1
diff --git a/mail/safecat/distinfo b/mail/safecat/distinfo
new file mode 100644
index 00000000000..5ffe4856cac
--- /dev/null
+++ b/mail/safecat/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/08/15 09:50:03 zuntum Exp $
+
+SHA1 (safecat-1.11.tar.gz) = feae513ccd8dcd7968a35590d08f6a5670adb784
+Size (safecat-1.11.tar.gz) = 33011 bytes