ports

morpheus ports
git clone git://git.2f30.org/ports.git
Log | Files | Refs | LICENSE

commit 45f6a00544e017a2b2c4a80fd134ad726bd30252
parent a8a7c59e5edf7bca46eaa92633baf55aaa491341
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri May 23 20:11:36 +0200

add msmtp

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
msmtp/checksums | 1+
msmtp/config.h | 198+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
msmtp/depsinc.mk | 6++++++
msmtp/mkfile | 6++++++
msmtp/msmtp.mk | 15+++++++++++++++
msmtp/v.mk | 1+
6 files changed, 227 insertions(+), 0 deletions(-)
diff --git a/msmtp/checksums b/msmtp/checksums @@ -0,0 +1 @@ +68886e1eec7a63044590cf65ec8f9a2b25c77abe2209f28d6f245141d3188f23f40f9e572165e5a446342c5867cc94cc44337caf4f4d3114227a021686966ff3 msmtp-1.4.32.tar.bz2 diff --git a/msmtp/config.h b/msmtp/config.h @@ -0,0 +1,198 @@ +/* config.h. Generated from config.h.in by configure. */ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* Define to 1 if translation of program messages to the user's native + language is requested. */ +/* #undef ENABLE_NLS */ + +/* Define to 1 if you have the <arpa/inet.h> header file. */ +#define HAVE_ARPA_INET_H 1 + +/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the + CoreFoundation framework. */ +/* #undef HAVE_CFLOCALECOPYCURRENT */ + +/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in + the CoreFoundation framework. */ +/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */ + +/* Define if the GNU dcgettext() function is already present or preinstalled. + */ +/* #undef HAVE_DCGETTEXT */ + +/* Define to 1 if you have the `fmemopen' function. */ +#define HAVE_FMEMOPEN 1 + +/* Define to 1 if you have the `fseeko' function. */ +#define HAVE_FSEEKO 1 + +/* Define to 1 if you have the `fseeko64' function. */ +#define HAVE_FSEEKO64 1 + +/* Define to 1 if you have the `getpass' function. */ +#define HAVE_GETPASS 1 + +/* Define to 1 if you have the `getservbyname' function. */ +#define HAVE_GETSERVBYNAME 1 + +/* Define if the GNU gettext() function is already present or preinstalled. */ +/* #undef HAVE_GETTEXT */ + +/* Define to 1 if libgnome-keyring is available */ +/* #undef HAVE_GNOME_KEYRING */ + +/* Define if you have the iconv() function and it works. */ +/* #undef HAVE_ICONV */ + +/* Define to 1 if you have the <inttypes.h> header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define to 1 if libgnutls is available */ +#undef HAVE_LIBGNUTLS + +/* Define to 1 if libgsasl is available */ +/* #undef HAVE_LIBGSASL */ + +/* Define to 1 if libidn is available */ +#undef HAVE_LIBIDN + +/* Define to 1 if libssl is available */ +#define HAVE_LIBSSL 1 + +/* Define to 1 if you have the `link' function. */ +#define HAVE_LINK 1 + +/* Define to 1 if you have the MacOS X Keychain Services API. */ +/* #undef HAVE_MACOSXKEYRING */ + +/* Define to 1 if you have the <memory.h> header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if you have the `mkstemp' function. */ +#define HAVE_MKSTEMP 1 + +/* Define to 1 if you have the <netdb.h> header file. */ +#define HAVE_NETDB_H 1 + +/* Define to 1 if you have the `sigaction' function. */ +#define HAVE_SIGACTION 1 + +/* Define to 1 if you have the <stdint.h> header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the <stdlib.h> header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the <strings.h> header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the <string.h> header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the `strndup' function. */ +#define HAVE_STRNDUP 1 + +/* Define to 1 if you have the <sysexits.h> header file. */ +#define HAVE_SYSEXITS_H 1 + +/* Define to 1 if you have the `syslog' function. */ +#define HAVE_SYSLOG 1 + +/* Define to 1 if you have the <sys/socket.h> header file. */ +#define HAVE_SYS_SOCKET_H 1 + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the <sys/types.h> header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the <sys/wait.h> header file. */ +#define HAVE_SYS_WAIT_H 1 + +/* Define to 1 to build with TLS/SSL support */ +#define HAVE_TLS 1 + +/* Define to 1 if you have the <unistd.h> header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to 1 if you have the `vasprintf' function. */ +#define HAVE_VASPRINTF 1 + +/* Name of package */ +#define PACKAGE "msmtp" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "marlam@marlam.de" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "msmtp" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "msmtp 1.4.32" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "msmtp" + +/* Define to the home page for this package. */ +#define PACKAGE_URL "http://msmtp.sourceforge.net/" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "1.4.32" + +/* Platform triplet */ +#define PLATFORM "x86_64-unknown-linux-gnu" + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Enable extensions on AIX 3, Interix. */ +#ifndef _ALL_SOURCE +# define _ALL_SOURCE 1 +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# define _GNU_SOURCE 1 +#endif +/* Enable threading extensions on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# define _POSIX_PTHREAD_SEMANTICS 1 +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# define _TANDEM_SOURCE 1 +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# define __EXTENSIONS__ 1 +#endif + + +/* Version number of package */ +#define VERSION "1.4.32" + +/* Define to 1 if the native W32 API should be used. */ +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +#define W32_NATIVE 1 +#endif + +/* Enable large inode numbers on Mac OS X 10.5. */ +#ifndef _DARWIN_USE_64_BIT_INODE +# define _DARWIN_USE_64_BIT_INODE 1 +#endif + +/* Number of bits in a file offset, on hosts where this is settable. */ +/* #undef _FILE_OFFSET_BITS */ + +/* Define for large files, on AIX-style hosts. */ +/* #undef _LARGE_FILES */ + +/* Define to 1 if on MINIX. */ +/* #undef _MINIX */ + +/* Define to 2 if the system does not provide POSIX.1 features except with + this defined. */ +/* #undef _POSIX_1_SOURCE */ + +/* Define to 1 if you need to in order for `stat' and other things to work. */ +/* #undef _POSIX_SOURCE */ diff --git a/msmtp/depsinc.mk b/msmtp/depsinc.mk @@ -0,0 +1,6 @@ +<$bzip2_DEPDIR/v.mk + +bzip2_libdir = $bzip2_DEPDIR/bzip2-$v +bzip2_includedir = $bzip2_DEPDIR/bzip2-$v +DEPS_CFLAGS = $DEPS_CFLAGS -I${bzip2_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS -L${bzip2_libdir} -lbz2 diff --git a/msmtp/mkfile b/msmtp/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = msmtp-$v +url = http://heanet.dl.sourceforge.net/project/msmtp/msmtp/$v/msmtp-$v.tar.bz2 +mkfile = ../msmtp.mk diff --git a/msmtp/msmtp.mk b/msmtp/msmtp.mk @@ -0,0 +1,15 @@ +<../v.mk + +BIN = src/msmtp +OBJ = `{ls src/*.c | sed 's/.$/o/'} + +INSTALL_BIN = src/msmtp +INSTALL_MAN1 = `{ ls doc/*.1 } + +LOCAL_CFLAGS = \ + -I. -include `{pwd}/../config.h -I${openssl_includedir} +LOCAL_LDFLAGS = -L. -L${openssl_libdir} -lssl -lcrypto -lz + +DEPS = openssl zlib + +<$mkbuild/mk.default diff --git a/msmtp/v.mk b/msmtp/v.mk @@ -0,0 +1 @@ +v = 1.4.32