pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/libsnert Libsnert is a support library for milter...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e62ba3fb376a
branches:  trunk
changeset: 463076:e62ba3fb376a
user:      manu <manu%pkgsrc.org@localhost>
date:      Mon Oct 27 17:56:58 2003 +0000

description:
Libsnert is a support library for milter-sender, a real-time sender
address validation milter for sendmail

diffstat:

 mail/libsnert/DESCR            |   1 +
 mail/libsnert/Makefile         |  67 ++++++++++++++++++++++++++++++++++++++++++
 mail/libsnert/PLIST            |  40 +++++++++++++++++++++++++
 mail/libsnert/buildlink2.mk    |  17 ++++++++++
 mail/libsnert/distinfo         |   7 ++++
 mail/libsnert/patches/patch-aa |  16 ++++++++++
 mail/libsnert/patches/patch-ab |  14 ++++++++
 mail/libsnert/patches/patch-ac |  14 ++++++++
 8 files changed, 176 insertions(+), 0 deletions(-)

diffs (208 lines):

diff -r 7dc553b0f8c1 -r e62ba3fb376a mail/libsnert/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/libsnert/DESCR       Mon Oct 27 17:56:58 2003 +0000
@@ -0,0 +1,1 @@
+Support library for milter-sender
diff -r 7dc553b0f8c1 -r e62ba3fb376a mail/libsnert/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/libsnert/Makefile    Mon Oct 27 17:56:58 2003 +0000
@@ -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@localhost
+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 -r 7dc553b0f8c1 -r e62ba3fb376a mail/libsnert/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/libsnert/PLIST       Mon Oct 27 17:56:58 2003 +0000
@@ -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 -r 7dc553b0f8c1 -r e62ba3fb376a mail/libsnert/buildlink2.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/libsnert/buildlink2.mk       Mon Oct 27 17:56:58 2003 +0000
@@ -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 -r 7dc553b0f8c1 -r e62ba3fb376a mail/libsnert/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/libsnert/distinfo    Mon Oct 27 17:56:58 2003 +0000
@@ -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 -r 7dc553b0f8c1 -r e62ba3fb376a mail/libsnert/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/libsnert/patches/patch-aa    Mon Oct 27 17:56:58 2003 +0000
@@ -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 -r 7dc553b0f8c1 -r e62ba3fb376a mail/libsnert/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/libsnert/patches/patch-ab    Mon Oct 27 17:56:58 2003 +0000
@@ -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 -r 7dc553b0f8c1 -r e62ba3fb376a mail/libsnert/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/libsnert/patches/patch-ac    Mon Oct 27 17:56:58 2003 +0000
@@ -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



Home | Main Index | Thread Index | Old Index