debian/0000775000000000000000000000000012266316535007201 5ustar debian/copyright0000664000000000000000000000217111432050721011117 0ustar This package was debianized by Jeremy T. Bouse on Sat, 19 May 2001 02:23:28 -0700. It was downloaded from http://www.stafford.uklinux.net/libesmtp/ Copyright: Copyright (C) 2001-2005 Brian Stafford This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian GNU/Linux systems, the complete text of the Lesser GNU General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. debian/libesmtp6.files0000664000000000000000000000004511432065210012112 0ustar usr/lib/lib*.so.* usr/lib/esmtp/*.so debian/libesmtp-dev.manpages0000664000000000000000000000003111432050721013265 0ustar debian/libesmtp-config.1 debian/libesmtp-dev.dirs0000664000000000000000000000004211432050721012435 0ustar usr/lib usr/lib/esmtp usr/include debian/libesmtp6.postinst0000664000000000000000000000235011432050721012675 0ustar #! /bin/sh # postinst script for libesmtp # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-deconfigure' `in-favour' # `removing' # # for details, see /usr/share/doc/packaging-manual/ # # quoting from the policy: # Any necessary prompting should almost always be confined to the # post-installation script, and should be protected with a conditional # so that unnecessary prompting doesn't happen if a package's # installation fails and the `postinst' is called with `abort-upgrade', # `abort-remove' or `abort-deconfigure'. case "$1" in configure) ldconfig ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 0 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/changelog0000664000000000000000000001740512266316526011062 0ustar libesmtp (1.0.6-1ubuntu2) trusty; urgency=low * Rebuild using dh-autoreconf for usable shared libs on ppc64el (resolving FTBFS for reverse-build-dependencies on said arch). -- Daniel T Chen Fri, 17 Jan 2014 16:08:55 -0500 libesmtp (1.0.6-1ubuntu1) saucy; urgency=low * Use dh_autotools-dev to update config.{sub,guess} for AArch64. -- Matthias Klose Thu, 10 Oct 2013 14:02:18 +0200 libesmtp (1.0.6-1build3) quantal; urgency=low * Rebuild for new armel compiler default of ARMv5t. -- Colin Watson Thu, 04 Oct 2012 16:25:30 +0100 libesmtp (1.0.6-1build2) precise; urgency=low * No-change rebuild against current pkgbinarymangler to fix broken md5sums. (LP: #875466) -- Martin Pitt Tue, 28 Feb 2012 12:06:46 +0100 libesmtp (1.0.6-1build1) oneiric; urgency=low * Rebuild for OpenSSL 1.0.0. -- Colin Watson Tue, 17 May 2011 10:22:00 +0100 libesmtp (1.0.6-1) unstable; urgency=low * New upstream release * Convert packaging to 3.0 (quilt) format -- Jeremy T. Bouse Sun, 15 Aug 2010 19:04:20 -0400 libesmtp (1.0.4-5) unstable; urgency=low * debian/control: Updated Standards-Version to 3.9.0 * Fixes for CVE-2010-1192 handling NULL bytes (Closes: #572960) - thanks to Jan Lieskovsky -- Jeremy T. Bouse Wed, 21 Jul 2010 00:00:47 -0400 libesmtp (1.0.4-4) unstable; urgency=low * Add debian/watch file for DEHS * debian/control: Add Vcs-* headers -- Jeremy T. Bouse Sun, 13 Dec 2009 11:15:45 -0500 libesmtp (1.0.4-3) unstable; urgency=low * Update to 3.8.3 standards policy * Acknowledge previous version fixed header.c issue (Closes: #294231) (LP: #227680) -- Jeremy T. Bouse Sat, 28 Nov 2009 01:32:38 -0500 libesmtp (1.0.4-2) unstable; urgency=low * Fix headers.c (Closes: #310968, #451860, #355568) * Fix smtp-tls.c (Closes: #311191) * Correct libesmtp-config man page (Closes: #254635) -- Jeremy T. Bouse Thu, 05 Jun 2008 23:35:31 -0400 libesmtp (1.0.4-1) unstable; urgency=low * New upstream release -- Jeremy T. Bouse Wed, 04 Jun 2008 10:32:51 -0400 libesmtp (1.0.3-1.1) unstable; urgency=low * Porter NMU. * Libtool update (Closes: #314432) -- Aurelien Jarno Sun, 10 Dec 2006 21:49:26 +0100 libesmtp (1.0.3-1) unstable; urgency=low * New upstream release * Patched libesmtp.h to include (Closes: #202648) -- Jeremy T. Bouse Sat, 1 May 2004 17:50:31 -0700 libesmtp (1.0.1-1) unstable; urgency=low * Accept NMU upload (Closes: #217441) * Created source with orig+diff (Closes: #216425) -- Jeremy T. Bouse Sat, 1 May 2004 17:07:35 -0700 libesmtp (1.0.1-0.1) unstable; urgency=high * NMU * New upstream release * [debian/rules] Run configure in env PTHREAD_LIBS="-lpthread" to ensure the libraries are linked with complete inter-library dependencies. (Closes: #187354) -- J.H.M. Dassen (Ray) Sun, 28 Dec 2003 19:52:14 +0100 libesmtp (1.0-2) unstable; urgency=low * Build-depend on autotools-dev to use new config.{sub,guess} (Closes: 182160) -- Jeremy T. Bouse Sun, 23 Feb 2003 10:25:48 -0800 libesmtp (1.0-1) unstable; urgency=low * New upstream release (Closes: #173315) * New build environment * Corrected debian/copyright (Closes: #173280, #173284) * Rebuilt against new libssl (Closes: #177452) -- Jeremy T. Bouse Tue, 11 Feb 2003 11:33:28 -0800 libesmtp (0.8.11-2) unstable; urgency=low * Turned on OpenSSL support for SMTP STARTTLS extension -- Jeremy T. Bouse Wed, 6 Mar 2002 08:55:59 -0800 libesmtp (0.8.11-1) unstable; urgency=low * New upstream release * Corrects buffer overflow bug (Closes: #136491) -- Jeremy T. Bouse Wed, 6 Mar 2002 08:37:48 -0800 libesmtp (0.8.10p1-1) unstable; urgency=low * New upstream release -- Jeremy T. Bouse Thu, 31 Jan 2002 08:11:40 -0800 libesmtp (0.8.9-1) unstable; urgency=low * New upstream release -- Jeremy T. Bouse Tue, 22 Jan 2002 14:23:27 -0800 libesmtp (0.8.8-1) unstable; urgency=low * New upstream release -- Jeremy T. Bouse Wed, 5 Dec 2001 08:00:38 -0800 libesmtp (0.8.7-3) unstable; urgency=low * Corrected bug in crammd5/md5.h (Closes: #121658) Diff patch sent upstream as appears to be a mistake from 0.8.6 variable declaration change -- Jeremy T. Bouse Thu, 29 Nov 2001 11:51:35 -0800 libesmtp (0.8.7-2) unstable; urgency=low * Fix problem with thinking uploads were NMUs -- Jeremy T. Bouse Tue, 27 Nov 2001 12:17:57 -0800 libesmtp (0.8.7-1) unstable; urgency=low * New upstream release * Corrected shlibs versioning (Closes: #120107) -- Jeremy T. Bouse Mon, 26 Nov 2001 18:35:51 -0800 libesmtp (0.8.6-2) unstable; urgency=low * Added Build-Conflicts in debian/control to keep from being built against SSL (violation of current crypto in main policy) as been discovered during examination of buildd logs (specifically m68k) -- Jeremy T. Bouse Sun, 4 Nov 2001 00:52:21 -0800 libesmtp (0.8.6-1) unstable; urgency=low * New upstream release -- Jeremy T. Bouse Tue, 30 Oct 2001 21:55:18 -0800 libesmtp (0.8.4-1) unstable; urgency=low * New upstream release (Closes: #110798) -- Jeremy T. Bouse Fri, 31 Aug 2001 08:28:45 -0700 libesmtp (0.8.3-1) unstable; urgency=low * New upstream bug-fix release -- Jeremy T. Bouse Mon, 9 Jul 2001 09:40:26 -0700 libesmtp (0.8.2-1) unstable; urgency=low * New upstream bug-fix release * Included the require-all-recipients option to build -- Jeremy T. Bouse Sun, 1 Jul 2001 13:20:49 -0700 libesmtp (0.8.1-1) unstable; urgency=low * New upstream bug-fix release * Notes from author regarding release: Two uninitialised variable bugs that might cause the protocol to quit without sending anything to the server were fixed. Many more compiler warnings were enabled when compiling with gcc. Compiles should generally be much cleaner. -- Jeremy T. Bouse Fri, 15 Jun 2001 08:58:20 -0700 libesmtp (0.8.0-1) unstable; urgency=low * New upstream release * Notes from author regarding release: Support for more SMTP extensions. Socket buffering reworked to use non-blocking sockets (to avoid the PIPELINING deadlock situation described in RFC 2920). -- Jeremy T. Bouse Fri, 15 Jun 2001 08:47:42 -0700 libesmtp (0.7.4-4) unstable; urgency=low * Cleaned up build environment -- Jeremy T. Bouse Tue, 12 Jun 2001 09:02:43 -0700 libesmtp (0.7.4-3) unstable; urgency=low * Added lintian overrides for module plug-ins -- Jeremy T. Bouse Mon, 11 Jun 2001 10:22:15 -0700 libesmtp (0.7.4-2) unstable; urgency=low * Corrected Build-Depends (closes: #100045) -- Jeremy T. Bouse Sat, 9 Jun 2001 00:18:17 -0700 libesmtp (0.7.4-1) unstable; urgency=low * New upstream release -- Jeremy T. Bouse Tue, 5 Jun 2001 15:42:24 -0700 libesmtp (0.7.3-2) unstable; urgency=low * Corrected error in Section (devel -> libs) * Included manpage for libesmtp-config (produced via help2man) -- Jeremy T. Bouse Tue, 5 Jun 2001 15:37:57 -0700 libesmtp (0.7.3-1) unstable; urgency=low * Initial Release. -- Jeremy T. Bouse Fri, 1 Jun 2001 22:23:00 -0700 Local variables: mode: debian-changelog End: debian/libesmtp-dev.files0000664000000000000000000000007711432050721012606 0ustar usr/lib/*.a usr/lib/esmtp/*.a usr/lib/*.so usr/include usr/bin debian/libesmtp6.examples0000664000000000000000000000001311432050721012622 0ustar examples/* debian/libesmtp-config.10000664000000000000000000000121611432050721012327 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. .TH LIBESMTP-CONFIG "1" "June 2001" "libesmtp-config 0.7.3" FSF .SH NAME libesmtp-config \- script to get information about the installed version of libgcrypt .SH SYNOPSIS .B libesmtp-config [\fIOPTION\fR] .SH DESCRIPTION Known values for OPTION are: .TP \fB\-\-prefix\fR=\fIDIR\fR change libesmtp prefix [default /usr] .TP \fB\-\-libs\fR print library linking information .TP \fB\-\-cflags\fR print pre-processor and compiler flags .TP \fB\-\-plugindir\fR print authentication plugin location .TP \fB\-\-help\fR display this help and exit .TP \fB\-\-version\fR output version information debian/dirs0000664000000000000000000000002111432050721010040 0ustar usr/bin usr/sbin debian/patches/0000775000000000000000000000000011432060375010620 5ustar debian/patches/sys-types-h0000664000000000000000000000057711432050721012753 0ustar diff -urN libesmtp-1.0.1/libesmtp.h libesmtp-1.0.1.new/libesmtp.h --- libesmtp-1.0.1/libesmtp.h 2003-09-11 18:40:40.000000000 +0000 +++ libesmtp-1.0.1.new/libesmtp.h 2004-05-02 00:38:42.000000000 +0000 @@ -36,6 +36,10 @@ * use to locate the next hop MTA are not implemented. */ +#ifndef _SYS_TYPES_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif debian/patches/series0000664000000000000000000000002611432060430012023 0ustar headers-c sys-types-h debian/patches/headers-c0000664000000000000000000000054111432050721012370 0ustar diff -urN libesmtp-1.0.4/headers.c libesmtp-1.0.4.new/headers.c --- libesmtp-1.0.4/headers.c 2008-06-05 23:25:10.000000000 -0400 +++ libesmtp-1.0.4.new/headers.c 2008-06-05 23:25:02.000000000 -0400 @@ -334,7 +334,7 @@ mbox->mailbox = strdup (mailbox); mbox->next = NULL; - mbox->next = header->value; + header->value = mbox; return 1; } debian/libesmtp6.dirs0000664000000000000000000000002611432050721011751 0ustar usr/lib usr/lib/esmtp debian/watch0000664000000000000000000000021411432050721010211 0ustar version=2 http://www.stafford.uklinux.net/libesmtp/download.html (?:.*/)?libesmtp-?_?([\d+\.]+|\d+)\.(tar.*|tgz|zip|gz|bz2|) debian uupdate debian/control0000664000000000000000000000272012266315743010605 0ustar Source: libesmtp Section: libs Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Jeremy T. Bouse Build-Depends: debhelper (>> 7.0.50), quilt (>= 0.46-7~), libltdl3-dev, libssl-dev, dh-autoreconf Standards-Version: 3.9.1 Homepage: http://www.stafford.uklinux.net/libesmtp/ Vcs-Git: git://git.debian.org/collab-maint/libesmtp.git Vcs-Browser: http://git.debian.org/?p=collab-maint/libesmtp.git Package: libesmtp6 Architecture: any Section: libs Depends: ${shlibs:Depends}, ${misc:Depends} Replaces: libesmtp5 Description: LibESMTP SMTP client library LibESMTP is a library to manage posting (or submission of) electronic mail using SMTP to a preconfigured Mail Transport Agent (MTA) such as Exim. It may be used as part of a Mail User Agent (MUA) or another program that must be able to post electronic mail but where mail functionality is not the program's primary purpose. Package: libesmtp-dev Architecture: any Section: libdevel Depends: libesmtp6 (= ${binary:Version}), libc6-dev, ${misc:Depends} Description: LibESMTP SMTP client library development files LibESMTP is a library to manage posting (or submission of) electronic mail using SMTP to a preconfigured Mail Transport Agent (MTA) such as Exim. It may be used as part of a Mail User Agent (MUA) or another program that must be able to post electronic mail but where mail functionality is not the program's primary purpose. debian/source/0000775000000000000000000000000011432054272010470 5ustar debian/source/format0000664000000000000000000000001411432054272011676 0ustar 3.0 (quilt) debian/compat0000664000000000000000000000000211432050721010361 0ustar 7 debian/rules0000775000000000000000000000043412266316110010247 0ustar #!/usr/bin/make -f export DH_VERBOSE=1 %: dh --with quilt,autoreconf $@ override_dh_auto_configure: dh_auto_configure -- --with-auth-plugin-dir="/usr/lib/esmtp" --enable-etrn override_dh_install: dh_install dh_movefiles override_dh_makeshlibs: dh_makeshlibs -Xusr/lib/esmtp debian/scripts/0000775000000000000000000000000011432050721010652 5ustar debian/scripts/file2cat0000664000000000000000000000025311432050721012266 0ustar #!/bin/sh if [ "$1" = "" ]; then echo "Usage: file2cat " exit 1 fi case "$1" in *.gz|*.Z|*.tgz) cmd=zcat;; *.bz|*.bz2) cmd=bzcat;; *) cmd=cat;; esac $cmd $1 debian/scripts/dpkg-arch.mk0000664000000000000000000000067211432050721013050 0ustar # see dpkg-architecture(8) DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH) DEB_BUILD_GNU_CPU := $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU) DEB_BUILD_GNU_SYSTEM := $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM) DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) DEB_HOST_GNU_SYSTEM := $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM) DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) debian/scripts/dbs-build.mk0000664000000000000000000000472211432050721013055 0ustar #!/usr/bin/make -f # Separate tarball/patch build system by Adam Heath # Modified by Ben Collins SHELL := /bin/bash -e SOURCE_DIR := build-tree STAMP_DIR := stampdir PATCH_DIR := debian/patches patched := $(STAMP_DIR)/patch unpacked := $(STAMP_DIR)/unpack ifdef TAR_DIR BUILD_TREE := $(SOURCE_DIR)/$(TAR_DIR) else BUILD_TREE := $(SOURCE_DIR) endif setup: $(dh_mak_deps) dh_testdir @-up-scripts $(MAKE) -f debian/rules $(unpacked) $(patched) $(patched)/: $(STAMP_DIR)/created $(unpacked) test -d $(STAMP_DIR)/patches || mkdir -p $(STAMP_DIR)/patches @if [ -d "$(PATCH_DIR)" ]; then \ mkdir -p $(STAMP_DIR)/log/patches; \ for f in `(cd $(PATCH_DIR); find -type f ! -name 'chk-*') | sort | \ sed s,'\./',,g`; do \ stampfile=$(STAMP_DIR)/patches/$$f; \ log=$(STAMP_DIR)/log/patches/$$f; \ if [ ! -e $$stampfile ]; then \ echo -n "Applying patch $(PATCH_DIR)/$$f ... "; \ if $(SHELL) debian/scripts/file2cat $(PATCH_DIR)/$$f | \ (cd $(BUILD_TREE);patch -p1 --no-backup-if-mismatch) > $$log 2>&1; then \ echo successful.; \ touch $$stampfile; \ else \ echo "failed! (check $$log for reason)"; \ exit 1; \ fi; \ else \ echo Already applied $(PATCH_DIR)/$$f.; \ fi; \ done; \ fi touch $@ $(unpacked): $(STAMP_DIR)/created mkdir -p $(STAMP_DIR)/sources $(SOURCE_DIR) $(STAMP_DIR)/log/sources @for f in `find upstream/tarballs -type f -maxdepth 1 -name \*.tgz -o -name \*.tar.gz -o \ -name \*.tar.bz -o -name \*.tar.bz2 | sort | sed s,'\./',,g`; do \ stampfile=$(STAMP_DIR)/sources/`basename $$f`; \ log=$(STAMP_DIR)/log/sources/`basename $$f`; \ if [ ! -e $$stampfile ]; then \ echo -n "Extracting source $$f ... "; \ if $(SHELL) debian/scripts/file2cat $$f | \ (cd $(SOURCE_DIR); tar xv) > $$log 2>&1; then \ echo successful.; \ touch $$stampfile; \ else \ echo failed!; \ exit 1; \ fi; \ else \ echo Already unpacked $$f.; \ fi; \ done touch $@ make_patch: mv $(BUILD_TREE) $(BUILD_TREE).new rm -rf $(STAMP_DIR) $(MAKE) -f debian/rules $(unpacked) $(patched) ifndef TAR_DIR diff -urN $(BUILD_TREE) $(BUILD_TREE).new > new.diff else (cd $(SOURCE_DIR) && diff -urN $(TAR_DIR) $(TAR_DIR).new || true) > new.diff endif rm -rf $(BUILD_TREE) mv $(BUILD_TREE).new $(BUILD_TREE) @echo; ls -l new.diff $(STAMP_DIR)/created: test -d $(STAMP_DIR) || mkdir $(STAMP_DIR) touch $(STAMP_DIR)/created