diff options
author | manu <manu@pkgsrc.org> | 2003-10-27 17:56:58 +0000 |
---|---|---|
committer | manu <manu@pkgsrc.org> | 2003-10-27 17:56:58 +0000 |
commit | e64d77bdb04aa23f7cf2f64d646800389819c1bb (patch) | |
tree | cd6e4351474ffc3529c384f33d5481789c4a8776 | |
parent | 7c23bd8bb45db714dd79e2c1b2b7784353fe8c7d (diff) | |
download | pkgsrc-e64d77bdb04aa23f7cf2f64d646800389819c1bb.tar.gz |
Libsnert is a support library for milter-sender, a real-time sender
address validation milter for sendmail
-rw-r--r-- | mail/libsnert/DESCR | 1 | ||||
-rw-r--r-- | mail/libsnert/Makefile | 67 | ||||
-rw-r--r-- | mail/libsnert/PLIST | 40 | ||||
-rw-r--r-- | mail/libsnert/buildlink2.mk | 17 | ||||
-rw-r--r-- | mail/libsnert/distinfo | 7 | ||||
-rw-r--r-- | mail/libsnert/patches/patch-aa | 16 | ||||
-rw-r--r-- | mail/libsnert/patches/patch-ab | 14 | ||||
-rw-r--r-- | mail/libsnert/patches/patch-ac | 14 |
8 files changed, 176 insertions, 0 deletions
diff --git a/mail/libsnert/DESCR b/mail/libsnert/DESCR new file mode 100644 index 00000000000..f158040be13 --- /dev/null +++ b/mail/libsnert/DESCR @@ -0,0 +1 @@ +Support library for milter-sender diff --git a/mail/libsnert/Makefile b/mail/libsnert/Makefile new file mode 100644 index 00000000000..c4eadde02fb --- /dev/null +++ b/mail/libsnert/Makefile @@ -0,0 +1,67 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/10/27 17:56:58 manu Exp $ +# + +DISTNAME= libsnert-1.23 +CATEGORIES= mail +MASTER_SITES= http://www.snert.com/Software/download/ +EXTRACT_SUFX= .tgz + +MAINTAINER= manu@netbsd.org +HOMEPAGE= http://www.snert.com/Software/download/ +COMMENT= Support library for milter-sender + +WRKSRC= ${WRKDIR}/com/snert/src/lib +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --with-mutex=flock +MAKEFILE= makefile +USE_BUILDLINK2= yes + +INCDIR= ${WRKSRC}/../../include +LIBDIR= ${WRKSRC}/../../lib + +do-install: + ${MKDIR} ${PREFIX}/include/com/snert/lib/crc + ${MKDIR} ${PREFIX}/include/com/snert/lib/io + ${MKDIR} ${PREFIX}/include/com/snert/lib/sys + ${MKDIR} ${PREFIX}/include/com/snert/lib/util + ${INSTALL_DATA} ${INCDIR}/com/snert/lib/autoconf.h \ + ${PREFIX}/include/com/snert/lib/ + ${INSTALL_DATA} ${INCDIR}/com/snert/lib/crc/Crc.h \ + ${INCDIR}/com/snert/lib/crc/Luhn.h \ + ${PREFIX}/include/com/snert/lib/crc + ${INSTALL_DATA} ${INCDIR}/com/snert/lib/io/Dns.h \ + ${INCDIR}/com/snert/lib/io/Error.h \ + ${INCDIR}/com/snert/lib/io/Log.h \ + ${INCDIR}/com/snert/lib/io/Message.h \ + ${INCDIR}/com/snert/lib/io/MessageStream.h \ + ${INCDIR}/com/snert/lib/io/posix.h \ + ${INCDIR}/com/snert/lib/io/Socket.h \ + ${INCDIR}/com/snert/lib/io/URI.h \ + ${PREFIX}/include/com/snert/lib/io + ${INSTALL_DATA} ${INCDIR}/com/snert/lib/sys/Mutex.h \ + ${INCDIR}/com/snert/lib/sys/Shared.h \ + ${INCDIR}/com/snert/lib/sys/Thread.h \ + ${INCDIR}/com/snert/lib/sys/Time.h \ + ${PREFIX}/include/com/snert/lib/sys + ${INSTALL_DATA} ${INCDIR}/com/snert/lib/util/BigInt.h \ + ${INCDIR}/com/snert/lib/util/Buf.h \ + ${INCDIR}/com/snert/lib/util/DebugMalloc.h \ + ${INCDIR}/com/snert/lib/util/EmailSpan.h \ + ${INCDIR}/com/snert/lib/util/getopt.h \ + ${INCDIR}/com/snert/lib/util/HashTable.h \ + ${INCDIR}/com/snert/lib/util/JavaTime.h \ + ${INCDIR}/com/snert/lib/util/md5.h \ + ${INCDIR}/com/snert/lib/util/Memory.h \ + ${INCDIR}/com/snert/lib/util/Pool.h \ + ${INCDIR}/com/snert/lib/util/Property.h \ + ${INCDIR}/com/snert/lib/util/Rotate.h \ + ${INCDIR}/com/snert/lib/util/Text.h \ + ${INCDIR}/com/snert/lib/util/Vector-new.h \ + ${INCDIR}/com/snert/lib/util/Vector.h \ + ${PREFIX}/include/com/snert/lib/util + ${INSTALL_DATA} ${INCDIR}/com/snert/lib/version.h \ + ${PREFIX}/include/com/snert/lib + ${INSTALL_DATA} ${LIBDIR}/libsnert.a ${PREFIX}/lib + +.include "../../mk/pthread.buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/mail/libsnert/PLIST b/mail/libsnert/PLIST new file mode 100644 index 00000000000..56c4f4ef32e --- /dev/null +++ b/mail/libsnert/PLIST @@ -0,0 +1,40 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/10/27 17:57:01 manu Exp $ +include/com/snert/lib/autoconf.h +include/com/snert/lib/crc/Crc.h +include/com/snert/lib/crc/Luhn.h +include/com/snert/lib/io/Dns.h +include/com/snert/lib/io/Error.h +include/com/snert/lib/io/Log.h +include/com/snert/lib/io/Message.h +include/com/snert/lib/io/MessageStream.h +include/com/snert/lib/io/posix.h +include/com/snert/lib/io/Socket.h +include/com/snert/lib/io/URI.h +include/com/snert/lib/sys/Mutex.h +include/com/snert/lib/sys/Shared.h +include/com/snert/lib/sys/Thread.h +include/com/snert/lib/sys/Time.h +include/com/snert/lib/util/BigInt.h +include/com/snert/lib/util/Buf.h +include/com/snert/lib/util/DebugMalloc.h +include/com/snert/lib/util/EmailSpan.h +include/com/snert/lib/util/getopt.h +include/com/snert/lib/util/HashTable.h +include/com/snert/lib/util/JavaTime.h +include/com/snert/lib/util/md5.h +include/com/snert/lib/util/Memory.h +include/com/snert/lib/util/Pool.h +include/com/snert/lib/util/Property.h +include/com/snert/lib/util/Rotate.h +include/com/snert/lib/util/Text.h +include/com/snert/lib/util/Vector-new.h +include/com/snert/lib/util/Vector.h +include/com/snert/lib/version.h +lib/libsnert.a +@dirrm include/com/snert/lib/util +@dirrm include/com/snert/lib/sys +@dirrm include/com/snert/lib/crc +@dirrm include/com/snert/lib/io +@dirrm include/com/snert/lib +@dirrm include/com/snert +@dirrm include/com diff --git a/mail/libsnert/buildlink2.mk b/mail/libsnert/buildlink2.mk new file mode 100644 index 00000000000..ede72a845a0 --- /dev/null +++ b/mail/libsnert/buildlink2.mk @@ -0,0 +1,17 @@ +BUILDLINK_PACKAGES+= libsnert +BUILDLINK_PKGBASE.libsnert= libsnert +BUILDLINK_DEPENDS.libsnert?= libsnert>=1.23 +BUILDLINK_PKGSRCDIR.libsnert?= ../../mail/libsnert + +EVAL_PREFIX+= BUILDLINK_PREFIX.libsnert=libsnert +BUILDLINK_PREFIX.libsnert_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.libsnert= include/com/snert/lib/*.h +BUILDLINK_FILES.libsnert+= include/com/snert/lib/crc/*.h +BUILDLINK_FILES.libsnert+= include/com/snert/lib/io/*.h +BUILDLINK_FILES.libsnert+= include/com/snert/lib/sys/*.h +BUILDLINK_FILES.libsnert+= include/com/snert/lib/util/*.h +BUILDLINK_FILES.libsnert+= lib/libsnert.a + +BUILDLINK_TARGETS+= libsnert-buildlink + +libsnert-buildlink: _BUILDLINK_USE diff --git a/mail/libsnert/distinfo b/mail/libsnert/distinfo new file mode 100644 index 00000000000..7cf19c70747 --- /dev/null +++ b/mail/libsnert/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/10/27 17:57:01 manu Exp $ + +SHA1 (libsnert-1.23.tgz) = 3bfdba152d1dbdd1da850809c2bb998cd272b819 +Size (libsnert-1.23.tgz) = 155678 bytes +SHA1 (patch-aa) = 889cb0bf31c1f52ff7c75ddf0f55aeaad076748b +SHA1 (patch-ab) = eae0da5674a1242c35477123dc3a13c699d5b0cb +SHA1 (patch-ac) = 79a5e429d739ab9425a6720b4e92383ac9b46ac3 diff --git a/mail/libsnert/patches/patch-aa b/mail/libsnert/patches/patch-aa new file mode 100644 index 00000000000..e464e7afc52 --- /dev/null +++ b/mail/libsnert/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/10/27 17:57:01 manu Exp $ +--- configure.orig Wed Oct 22 16:36:07 2003 ++++ configure Wed Oct 22 16:36:10 2003 +@@ -1498,8 +1498,12 @@ + if test "$OS" = 'Linux'; then + XARGSI='xargs -i{}' + ARCHIVE='ar rc $(LIB) {}' + COMPILE='$(CC) $(CFLAGS) $(CC_O)$*$O -c $<' ++ elif test "$OS" = 'NetBSD'; then ++ XARGSI='xargs' ++ ARCHIVE='ar rc $(LIB)' ++ COMPILE='$(CC) $(CFLAGS) $(CC_O)$*$O -c $<' + elif test "$OS" = 'FreeBSD'; then + XARGSI='xargs -J{}' + ARCHIVE='ar rc $(LIB) {}' + COMPILE='$(CC) $(CFLAGS) $(CC_O)$*$O -c $<' diff --git a/mail/libsnert/patches/patch-ab b/mail/libsnert/patches/patch-ab new file mode 100644 index 00000000000..68624d82e85 --- /dev/null +++ b/mail/libsnert/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.1.1.1 2003/10/27 17:57:01 manu Exp $ +--- io/Error.c.orig Wed Oct 22 18:17:46 2003 ++++ io/Error.c Wed Oct 22 18:17:04 2003 +@@ -110,9 +110,9 @@ + if (fmt == (const char *) 0) + fmt = "Terminated for unknown reason."; + + ErrorPrintV(file, line, fmt, args); +- ErrorPrintV(file, line, "\r\n", (va_list) 0); ++ ErrorPrintV(file, line, "\r\n", (va_list) {0}); + exit(1); + } + + void diff --git a/mail/libsnert/patches/patch-ac b/mail/libsnert/patches/patch-ac new file mode 100644 index 00000000000..fc6ee94f735 --- /dev/null +++ b/mail/libsnert/patches/patch-ac @@ -0,0 +1,14 @@ +$NetBSD: patch-ac,v 1.1.1.1 2003/10/27 17:57:01 manu Exp $ +--- ../tools/flip.c.orig Wed Oct 22 18:18:32 2003 ++++ ../tools/flip.c Wed Oct 22 18:18:44 2003 +@@ -153,9 +153,9 @@ + if (fmt == (const char *) 0) + fmt = "Terminated for unknown reason."; + + ErrorPrintV(file, line, fmt, args); +- ErrorPrintV(file, line, "\r\n", (va_list) 0); ++ ErrorPrintV(file, line, "\r\n", (va_list) {0}); + exit(1); + } + + void |