Package Details: esmtp 1.2-8

Git Clone URL: https://aur.archlinux.org/esmtp.git (read-only, click to copy)
Package Base: esmtp
Description: An easy SMTP forwarder.
Upstream URL: http://esmtp.sourceforge.net
Licenses: GPL
Conflicts: smtp-forwarder
Provides: smtp-forwarder
Submitter: arojas
Maintainer: lightdot (a821)
Last Packager: a821
Votes: 2
Popularity: 0.025647
First Submitted: 2020-05-01 18:46 (UTC)
Last Updated: 2021-08-20 07:21 (UTC)

Dependencies (4)

Required by (859)

Sources (3)

Latest Comments

a821 commented on 2021-08-16 05:54 (UTC)

Sure, you can add me as co-maintainer.

lightdot commented on 2021-08-15 18:57 (UTC)

I'll incorporate the patch, thanks for reporting.

Come to think of it, would you like to co-maintain?

a821 commented on 2021-07-08 08:54 (UTC) (edited on 2021-07-09 07:07 (UTC) by a821)

I dug a bit further and found that the problem is that libesmtp is missing libesmtp-config. I managed to get esmtp to compile by replacing it with pkg-config (inspired by debian patches). I have no idea if it still works as I do not longer use it.

This patch will have to be added to prepare followed by a call to autoconf.

--- configure.ac.old    2021-07-08 10:30:18.604777055 +0200
+++ configure.ac    2021-07-08 10:32:42.426946486 +0200
@@ -30,11 +30,11 @@
    AC_CHECK_HEADER(libesmtp.h, ,[AC_MSG_ERROR([libesmtp.h not found in $with_libesmtp])])
 fi    
 AC_MSG_CHECKING(for libESMTP)
-if libesmtp-config --version > /dev/null 2>&1
+if pkg-config libesmtp-1.0  > /dev/null 2>&1
 then
    AC_MSG_RESULT(yes)
-   CFLAGS="$CFLAGS `libesmtp-config --cflags`"
-   LIBS="$LIBS `libesmtp-config --libs`"
+   CFLAGS="$CFLAGS `pkg-config libesmtp-1.0 --cflags`"
+   LIBS="$LIBS `pkg-config libesmtp-1.0 --libs`"
 else
    AC_MSG_RESULT(no)
    AC_MSG_ERROR(libESMTP library not found)

Edit: typos.

a821 commented on 2021-07-07 09:46 (UTC)

Fails to build in a clean chroot. Note that this project is no long maintained (see upstream homepage).

Full log: http://sprunge.us/1RJLtT

$ extra-x86_64-build -r /mnt/chroot
[...]
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking libesmtp.h usability... yes
checking libesmtp.h presence... yes
checking for libesmtp.h... yes
checking for libESMTP... no
configure: error: libESMTP library not found
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /mnt/chroot/extra-x86_64/a821/build