Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2014 20:57:42 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r369121 - in head/mail/pop3proxy: . files
Message-ID:  <201409232057.s8NKvg14009916@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Tue Sep 23 20:57:42 2014
New Revision: 369121
URL: http://svnweb.freebsd.org/changeset/ports/369121
QAT: https://qat.redports.org/buildarchive/r369121/

Log:
  Convert to USES=autoreconf

Added:
  head/mail/pop3proxy/files/patch-configure.in   (contents, props changed)
Modified:
  head/mail/pop3proxy/Makefile
  head/mail/pop3proxy/files/patch-ssl

Modified: head/mail/pop3proxy/Makefile
==============================================================================
--- head/mail/pop3proxy/Makefile	Tue Sep 23 20:47:12 2014	(r369120)
+++ head/mail/pop3proxy/Makefile	Tue Sep 23 20:57:42 2014	(r369121)
@@ -12,9 +12,17 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	POP3 Proxy Server derived from UP IMAP Proxy
 
 GNU_CONFIGURE=	yes
-USE_AUTOTOOLS=	autoconf213
+USES=		autoreconf
+USE_OPENSSL=	yes
 USE_RC_SUBR=	pop3proxyd
 
+post-patch:
+	@${MV} ${WRKSRC}/aclocal.m4 ${WRKSRC}/acinclude.m4
+	@${REINPLACE_CMD} 's/HAVE_LIBSSL/HAVE_LIBCRYPTO/' \
+		${WRKSRC}/include/pop3proxy.h ${WRKSRC}/src/icc.c \
+		${WRKSRC}/src/imapcommon.c ${WRKSRC}/src/main.c \
+		${WRKSRC}/src/request.c
+
 do-install:
 	(cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} pop3proxystat pop3proxyd \
 		${STAGEDIR}${PREFIX}/sbin)

Added: head/mail/pop3proxy/files/patch-configure.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/pop3proxy/files/patch-configure.in	Tue Sep 23 20:57:42 2014	(r369121)
@@ -0,0 +1,15 @@
+--- configure.in.orig
++++ configure.in
+@@ -15,10 +15,10 @@
+ 
+ dnl Check for BSD sockets
+ AC_CHECK_FUNC(connect, ,
+-	AC_CHECK_LIB(nsl, gethostbyname, ,)
++	[AC_CHECK_LIB(nsl, gethostbyname, ,)
+ 	AC_CHECK_LIB(socket, connect, ,
+ 		AC_ERROR([Can't compile without BSD sockets!!!])
+-	)
++	)]
+ )
+ 
+ 

Modified: head/mail/pop3proxy/files/patch-ssl
==============================================================================
--- head/mail/pop3proxy/files/patch-ssl	Tue Sep 23 20:47:12 2014	(r369120)
+++ head/mail/pop3proxy/files/patch-ssl	Tue Sep 23 20:57:42 2014	(r369121)
@@ -8,14 +8,3 @@
  #include <openssl/rand.h>
  #include <limits.h>
  #endif
---- config.h.in	Tue Apr 20 10:26:46 2004
-+++ config.h.in	Sun Dec 10 11:27:13 2006
-@@ -27,7 +27,7 @@
- #undef HAVE_LIBSOCKET
- 
- /* Define to 1 if you have the `ssl' library (-lssl). */
--#undef HAVE_LIBSSL
-+#define HAVE_LIBSSL 1
- 
- /* Define to 1 if you have the <memory.h> header file. */
- #undef HAVE_MEMORY_H



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409232057.s8NKvg14009916>