pkgsrc/mail/libesmtp/Makefile

30 lines
723 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.27 2008/03/11 18:47:40 tnn Exp $
DISTNAME= libesmtp-1.0.4
PKGREVISION= 1
CATEGORIES= mail devel
MASTER_SITES= http://www.stafford.uklinux.net/libesmtp/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= dolemite@wuli.nu
HOMEPAGE= http://www.stafford.uklinux.net/libesmtp/
COMMENT= Library to manage posting of electronic mail
USE_TOOLS+= gmake
USE_LIBTOOL= yes
Updated to 1.0.1. Changes: 2002-09-12 Stable Version 1.0.1 released -------------------------------------- * protocol.c smtp-auth.c smtp-bdat.c smtp-etrn.c smtp-tls.c More thoroughly check return value from read_smtp_response(). * libesmtp.h errors.c Added new "Client error" error code. This is just a cop-out, used when an API called by libesmtp fails. * base64.c Make conversions immune to NULL source data, * examples/mail-file.c Cleaned up some compiler warnings * siobuf.[hc] Added a few extra sio_ calls. Not actually used in libESMTP though. * concatenate.c errors.c getaddrinfo.c headers.c htable.c * protocol.c siobuf.c Don't perform zero length operations using the memxxx() functions. This may avoid segfaults on some platforms or libraries. * siobuf.c Improved handling of flushes in sio_write() particularly in the case where data would exactly fill remaining space in the buffer. * rfc2822date.c Correct leap year compensation for January and February in libesmtp_mktime(). * examples/Makefile Changed compiler flags from -ansi to -std=c99 and added -W * headers.c Eliminated bug where find_header() could pass -1 to the length argument of memchr() causing a core dump on some architectures. * libesmtp-private.h protocol.c smtp-bdat.c M$ Exchange does not accept a chunk size of 0 in BDAT 0 LAST as explicitly permitted by RFC 3030, *sigh*. Hackish workaround implemented. * configure.in Makefile.am Added DIST_SUBDIRS macro to make sure tarball gets built properly. This one slipped past 'make distcheck' last time for some reason but then autoconf & friends are totally inscruitable. * ntlm/ntlmdes.c OpenSSL 0.9.7 changes some typedefs. Changed to suit, should still be compatible with previous OpenSSL versions.
2003-09-24 11:12:19 +02:00
GNU_CONFIGURE= yes
USE_OLD_DES_API= yes
Updated to 1.0.1. Changes: 2002-09-12 Stable Version 1.0.1 released -------------------------------------- * protocol.c smtp-auth.c smtp-bdat.c smtp-etrn.c smtp-tls.c More thoroughly check return value from read_smtp_response(). * libesmtp.h errors.c Added new "Client error" error code. This is just a cop-out, used when an API called by libesmtp fails. * base64.c Make conversions immune to NULL source data, * examples/mail-file.c Cleaned up some compiler warnings * siobuf.[hc] Added a few extra sio_ calls. Not actually used in libESMTP though. * concatenate.c errors.c getaddrinfo.c headers.c htable.c * protocol.c siobuf.c Don't perform zero length operations using the memxxx() functions. This may avoid segfaults on some platforms or libraries. * siobuf.c Improved handling of flushes in sio_write() particularly in the case where data would exactly fill remaining space in the buffer. * rfc2822date.c Correct leap year compensation for January and February in libesmtp_mktime(). * examples/Makefile Changed compiler flags from -ansi to -std=c99 and added -W * headers.c Eliminated bug where find_header() could pass -1 to the length argument of memchr() causing a core dump on some architectures. * libesmtp-private.h protocol.c smtp-bdat.c M$ Exchange does not accept a chunk size of 0 in BDAT 0 LAST as explicitly permitted by RFC 3030, *sigh*. Hackish workaround implemented. * configure.in Makefile.am Added DIST_SUBDIRS macro to make sure tarball gets built properly. This one slipped past 'make distcheck' last time for some reason but then autoconf & friends are totally inscruitable. * ntlm/ntlmdes.c OpenSSL 0.9.7 changes some typedefs. Changed to suit, should still be compatible with previous OpenSSL versions.
2003-09-24 11:12:19 +02:00
CONFIGURE_ARGS+= --enable-all
2003-09-24 11:55:18 +02:00
CONFIGURE_ARGS+= --disable-isoc
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MIRIX-5*)
CONFIGURE_ARGS+= --enable-emulate-getaddrinfo
.endif
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"