Problem updating msmtp port

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem updating msmtp port

Simon Kuhnle
Hi,

I was trying to update mail/msmtp to version 1.4.7 and I'm running into
a problem I can't solve by myself. Perhaps somebody is willing to help
me out. (The maintainer is no help as he didn't respond to my mail
written one month ago...).

I updated the distname, did a make makesum and patched the patch file
to let apply cleanly (diff is attached).

But a make configure says:
        configure: WARNING: Cannot find OpenSSL, disabling

I can not see why this happens. WANTLIB contains ssl and in 1.4.6 it
does find OpenSSL without problems.

Am I overlooking something?

--
simon

msmtp.patch (1K) Download Attachment
attachment1 (194 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Problem updating msmtp port

steven mestdagh
Simon Kuhnle [2006-11-05, 00:26:42]:

> Hi,
>
> I was trying to update mail/msmtp to version 1.4.7 and I'm running into
> a problem I can't solve by myself. Perhaps somebody is willing to help
> me out. (The maintainer is no help as he didn't respond to my mail
> written one month ago...).
>
> I updated the distname, did a make makesum and patched the patch file
> to let apply cleanly (diff is attached).
>
> But a make configure says:
> configure: WARNING: Cannot find OpenSSL, disabling
>
> I can not see why this happens. WANTLIB contains ssl and in 1.4.6 it
> does find OpenSSL without problems.
>
> Am I overlooking something?

yes, sometimes you need to examine config.log if things go wrong.
try the following.

Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/msmtp/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile 31 Jul 2006 20:53:00 -0000 1.6
+++ Makefile 5 Nov 2006 00:27:25 -0000
@@ -2,7 +2,7 @@
 
 COMMENT= "SMTP plugin for MUAs"
 
-DISTNAME= msmtp-1.4.6
+DISTNAME= msmtp-1.4.7
 CATEGORIES= mail
 
 HOMEPAGE= http://msmtp.sourceforge.net/
@@ -25,6 +25,7 @@
 CONFIGURE_STYLE= gnu
 CONFIGURE_ARGS= --disable-gsasl \
  --with-ssl=openssl
+CONFIGURE_ENV= LIBS="-lcrypto"
 
 post-install:
  ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/msmtp
Index: distinfo
===================================================================
RCS file: /cvs/ports/mail/msmtp/distinfo,v
retrieving revision 1.6
diff -u -r1.6 distinfo
--- distinfo 31 Jul 2006 20:53:00 -0000 1.6
+++ distinfo 5 Nov 2006 00:27:25 -0000
@@ -1,4 +1,4 @@
-MD5 (msmtp-1.4.6.tar.bz2) = 0f76ca980151db88d5c26dda995c8701
-RMD160 (msmtp-1.4.6.tar.bz2) = 7376694c801123db43efc1f6ad629b65c1ff4095
-SHA1 (msmtp-1.4.6.tar.bz2) = 5be0dec135421ff91b740983f3ce30ae740d5da1
-SIZE (msmtp-1.4.6.tar.bz2) = 530538
+MD5 (msmtp-1.4.7.tar.bz2) = 9c87a1f40e05dae4896622b56ec71b56
+RMD160 (msmtp-1.4.7.tar.bz2) = 7affd5a339a865638437e093d4e3aba5b6addbcf
+SHA1 (msmtp-1.4.7.tar.bz2) = 0e907a2269babe5eeb04e5aa8b766b13c8ab714e
+SIZE (msmtp-1.4.7.tar.bz2) = 527853
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/mail/msmtp/patches/patch-configure,v
retrieving revision 1.2
diff -u -r1.2 patch-configure
--- patches/patch-configure 31 Jul 2006 20:53:00 -0000 1.2
+++ patches/patch-configure 5 Nov 2006 00:27:25 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-configure,v 1.2 2006/07/31 20:53:00 alek Exp $
---- configure.orig Sat Jun 17 20:42:00 2006
-+++ configure Mon Jul 31 00:10:15 2006
-@@ -868,14 +868,14 @@ localstatedir='${prefix}/var'
+--- configure.orig Sun Aug 20 16:56:10 2006
++++ configure Sun Nov  5 01:26:17 2006
+@@ -814,14 +814,14 @@ localstatedir='${prefix}/var'
  includedir='${prefix}/include'
  oldincludedir='/usr/include'
  docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
@@ -18,8 +18,8 @@
 
  ac_prev=
  ac_dashdash=
-@@ -27246,10 +27246,10 @@ GMSGFMT!$GMSGFMT$ac_delim
- XGETTEXT!$XGETTEXT$ac_delim
+@@ -22406,10 +22406,10 @@ XGETTEXT!$XGETTEXT$ac_delim
+ XGETTEXT_015!$XGETTEXT_015$ac_delim
  MSGMERGE!$MSGMERGE$ac_delim
  INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
 -LIBICONV!$LIBICONV$ac_delim
@@ -30,4 +30,4 @@
 +LIBINTL!$LTLIBINTL$ac_delim
  LTLIBINTL!$LTLIBINTL$ac_delim
  POSUB!$POSUB$ac_delim
- LIBGNUTLS_CONFIG!$LIBGNUTLS_CONFIG$ac_delim
+ HAVE_LIBGNUTLS!$HAVE_LIBGNUTLS$ac_delim

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Reply | Threaded
Open this post in threaded view
|

Re: Problem updating msmtp port

Simon Kuhnle
On Sun, Nov 05, 2006 at 01:29:12AM +0100, steven mestdagh wrote:
> yes, sometimes you need to examine config.log if things go wrong.
> try the following.
[...]
> +CONFIGURE_ENV= LIBS="-lcrypto"

Thank you very much Steven. That did the job.
I attached the patch. Works for me on i386.

It's a maintainer timeout again. Sent him a mail about one month
ago and didn't get a response. BTW, it's maintainer timeout since update
to 1.4.5

--
simon

attachment0 (194 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Problem updating msmtp port

Simon Kuhnle
Here's the patch now. Sorry.

msmtp.patch (2K) Download Attachment
attachment1 (194 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Problem updating msmtp port

steven mestdagh
In reply to this post by Simon Kuhnle
Simon Kuhnle [2006-11-05, 14:57:41]:

> On Sun, Nov 05, 2006 at 01:29:12AM +0100, steven mestdagh wrote:
> > yes, sometimes you need to examine config.log if things go wrong.
> > try the following.
> [...]
> > +CONFIGURE_ENV= LIBS="-lcrypto"
>
> Thank you very much Steven. That did the job.
> I attached the patch. Works for me on i386.
>
> It's a maintainer timeout again. Sent him a mail about one month
> ago and didn't get a response. BTW, it's maintainer timeout since update
> to 1.4.5

well, do you want to maintain it?

there's another problem with this port. it pulls in libidn if it is
present, but the configure script is a little broken, it makes it link
in the static library, maybe you could have it use a flag like -lidn
instead?

alternatively, disable idn, i don't know if this is needed.

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm