diff options
author | obache <obache@pkgsrc.org> | 2007-09-08 12:26:14 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2007-09-08 12:26:14 +0000 |
commit | 3517179001742f058d34ea079e23e55bdb43ec98 (patch) | |
tree | d717a825980f0d53744e10eea3ea8938b9d5b122 /mail | |
parent | 74b42a4d1a1a0e6ca86fadd00d4c8dafa451c724 (diff) | |
download | pkgsrc-3517179001742f058d34ea079e23e55bdb43ec98.tar.gz |
Re-add libsieve version 2.2.5.
This library was forked from CMS Sieve, it had existed here before.
Changes from fork:
libSieve 2.2.5
--------------
- Allowed CFLAGS to pass through Makefile.am
(thanks to Bernard Johnson).
- Use # instead of __STRING for assertion stringification.
- Fixed off-by-one when reallocing space for repeated headers
(thanks to Petri Laine).
libSieve 2.2.4
--------------
- Improved several test scripts.
- Fixed a memory leak in header parsing.
- Fixed a memory leak in comparator lookup.
- Accepted patch from Steffen Schuetz to respect :from in vacation action.
libSieve 2.2.3
--------------
- Numeric relational comparators were backwards.
libSieve 2.2.2
--------------
- Added more test scripts.
- Added support for RFC 3431 Relational comparators.
- Fixed segfault when parsing group syntax with empty address list.
libSieve 2.2.1
--------------
- Removed accidental dependency on Check.
- Added exception handling system.
- Added test runner scripts to sv_test.
libSieve 2.2.0
--------------
- Updated top-level README.
- Fixed address test not working.
- Fixed innocuous yet annoying GCC 4 warnings.
libSieve 2.1.13
---------------
- Fixed capabilities missingspaces.
- Fixed alloca.h in vasnprintf for FreeBSD.
libSieve 2.1.12
---------------
- Fixed namespace issue with vasnprintf.
libSieve 2.1.11
---------------
- Minor fixes to build with flex 2.5.33.
- Updated to Vacation draft 6.
- Updated to imap4flags.
- Dropped support for imapflags.
- Added callback for subaddress rather than
using a hardcoded user+mailbox format.
- Added a callback for debug messages.
- Regex is always built in now.
- Fixed multiline "text: string ." blocks.
libSieve 2.1.10
--------------
- Fixed sieve2_listextensions.
- Fixed segfault when client returns null
pointers from the getenvelope callback.
- Improved handling of extension require's.
- Fixed segfault when parsing zero length address.
libSieve 2.1.9
--------------
- Fixed subaddress, getenvelope and vacation.
- Added additional debugging messages.
- Added new and updated draft rfc's.
libSieve 2.1.8
--------------
- Created a testsuite of scripts and messages
to exercise RFC and Draft comformance.
- Fixed a memory allocation issue that prevented
the library from being used again after sieve2_free
had been called.
libSieve 2.1.7
--------------
- Rewrote the API again. I finally like it!
- Settled on the LGPL for all of my new code.
- Replaced the RSA MD5 implementation with
a public domain version.
- Documentation updated for the new API.
libSieve 2.1.6
--------------
- Added a set of error-retrieval functions.
libSieve 2.1.5
--------------
(formerly libsieve 2.2.0_pre3)
- CFLAGS now includes -Wall and compiles very
cleanly. Messages from lex/yacc are benign.
- Namespace cleanups: internal global functions
prefixed with "libsieve_" for consistency.
- Local regex library, borrowed from GNU glibc
2.3.2. Used under LGPL license version 2.1.
- Compiles under Win32 with Visual C++, with
many thanks to Brandon Knitter.
libSieve 2.1.4
--------------
(formerly libsieve 2.2.0_pre1)
- Sieve 2 API has begun. More changes should
be expected during the 2.1 series.
- All later-CMU code removed and/or replaced;
original licensing is now entirely old-CMU
style and augmented by the GNU GPL as it is
placed on all new code and applies to the
distribution as a whole from here forward.
- "Poor man's parsers" for RFC 2/822 addresses
and message headers replaced with lex/yacc.
- Extensive Valgrinding performed to identify
memory leaks; no known leaks remain.
- Many more changes, amounting to perhaps a
70% rewrite of all code.
libSieve 2.1.3
--------------
- Accepted patches from Timo Sirainen:
- Added function xstrconcat
- Changed strdup to strndup
- Changed strcpy to xstrcpy
- Changed uglies to xstrconcat
- Rebuild .y and .l in Makefile.am
- Changed int to size_t where applicable
- Added explicit casting where applicable
- Accepted patches from Oliver Tappe:
- Fixed examples for the web site
- Removed useless headers
- Now builds on BeOS
- Cleaned up lots of K&R style function declarations
libSieve 2.1.2
--------------
- Changed `timestamp` to $timestamp in configure scripts.
- Added missing autoconf and libtool scripts.
- Fixed a typo in index.html
libSieve 2.1.1
--------------
- First public release of the libSieve distribution.
- com_err library removed.
- Conversion to GNU autotools for the build process.
libSieve 2.1.0
--------------
- Forked from CMU Sieve 2.1.
- SourceForge project site and a new web site and CVS tree and prepared.
- Dependencies on libCyrus trimmed to a bare minimum.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/libsieve/DESCR | 5 | ||||
-rw-r--r-- | mail/libsieve/Makefile | 18 | ||||
-rw-r--r-- | mail/libsieve/PLIST | 4 | ||||
-rw-r--r-- | mail/libsieve/buildlink3.mk | 19 | ||||
-rw-r--r-- | mail/libsieve/distinfo | 5 |
5 files changed, 51 insertions, 0 deletions
diff --git a/mail/libsieve/DESCR b/mail/libsieve/DESCR new file mode 100644 index 00000000000..d06110fd829 --- /dev/null +++ b/mail/libsieve/DESCR @@ -0,0 +1,5 @@ +This code is a standalone library providing an interpreter for RFC 3028 Sieve +and various extensions. It is based upon code distributed with the Cyrus Mail +Server prior to CMU's switch to a more restrictive license. The libSieve API +attempts to be easy to use and extensible, and replaces the more rigid API in +the Cyrus Sieve implementation. diff --git a/mail/libsieve/Makefile b/mail/libsieve/Makefile new file mode 100644 index 00000000000..3df2a5d4bf3 --- /dev/null +++ b/mail/libsieve/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.8 2007/09/08 12:26:15 obache Exp $ +# + +DISTNAME= libsieve-2.2.5 +CATEGORIES= mail +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libsieve/} + +MAINTAINER= obache@NetBSD.org +HOMEPAGE= http://libsieve.sourceforge.net/ +COMMENT= Library for parsing, sorting and filtering mail + +USE_LANGUAGES= c +USE_LIBTOOL= yes +GNU_CONFIGURE= yes + +CONFIGURE_DIRS= src + +.include "../../mk/bsd.pkg.mk" diff --git a/mail/libsieve/PLIST b/mail/libsieve/PLIST new file mode 100644 index 00000000000..ff95b363f5e --- /dev/null +++ b/mail/libsieve/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.4 2007/09/08 12:26:15 obache Exp $ +include/sieve2.h +include/sieve2_error.h +lib/libsieve.la diff --git a/mail/libsieve/buildlink3.mk b/mail/libsieve/buildlink3.mk new file mode 100644 index 00000000000..46286397db6 --- /dev/null +++ b/mail/libsieve/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1 2007/09/08 12:26:15 obache Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBSIEVE_BUILDLINK3_MK:= ${LIBSIEVE_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= libsieve +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibsieve} +BUILDLINK_PACKAGES+= libsieve +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libsieve + +.if ${LIBSIEVE_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.libsieve+= libsieve>=2.2.5 +BUILDLINK_PKGSRCDIR.libsieve?= ../../mail/libsieve +.endif # LIBSIEVE_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/mail/libsieve/distinfo b/mail/libsieve/distinfo new file mode 100644 index 00000000000..88a82409d84 --- /dev/null +++ b/mail/libsieve/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.4 2007/09/08 12:26:15 obache Exp $ + +SHA1 (libsieve-2.2.5.tar.gz) = 27816679f4d8ecbaf8a3504cc47aad7015e7719b +RMD160 (libsieve-2.2.5.tar.gz) = bcb4912008592a7372bacc336575f8416a105acd +Size (libsieve-2.2.5.tar.gz) = 573924 bytes |