Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2019 04:34:10 +0000 (UTC)
From:      Koichiro Iwao <meta@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r504616 - in head/finance/quickfix: . files
Message-ID:  <201906200434.x5K4YAg6007354@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: meta
Date: Thu Jun 20 04:34:10 2019
New Revision: 504616
URL: https://svnweb.freebsd.org/changeset/ports/504616

Log:
  finance/quickfix: Update to 1.15.1
  
  - Remove MAKE_JOBS_UNSAFE as it build paralelly now
  - Switch to GitHub
  
  PR:		238569
  Submitted by:	m.tsatsenko@gmail.com (maintainer)

Added:
  head/finance/quickfix/files/patch-configure.ac   (contents, props changed)
  head/finance/quickfix/files/patch-m4_ax__python.m4   (contents, props changed)
  head/finance/quickfix/files/patch-m4_ax__ruby.m4   (contents, props changed)
  head/finance/quickfix/files/patch-src_ruby_Makefile.am   (contents, props changed)
Deleted:
  head/finance/quickfix/files/patch-configure
  head/finance/quickfix/files/patch-src-python-Makefile.in
  head/finance/quickfix/files/patch-src-ruby-Makefile.in
Modified:
  head/finance/quickfix/Makefile
  head/finance/quickfix/distinfo
  head/finance/quickfix/pkg-plist

Modified: head/finance/quickfix/Makefile
==============================================================================
--- head/finance/quickfix/Makefile	Thu Jun 20 03:41:14 2019	(r504615)
+++ head/finance/quickfix/Makefile	Thu Jun 20 04:34:10 2019	(r504616)
@@ -2,9 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	quickfix
-PORTVERSION=	1.14.3
+PORTVERSION=	1.15.1
 CATEGORIES=	finance devel
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
 
 MAINTAINER=	m.tsatsenko@gmail.com
 COMMENT=	Free FIX Protocol Implementation
@@ -15,14 +14,17 @@ BROKEN_powerpc64=	fails to configure: unable to find s
 
 BUILD_DEPENDS=	bash:shells/bash
 
-USES=		gmake iconv libtool shebangfix ssl
+USES=		gmake iconv libtool autoreconf shebangfix ssl
+
+USE_GITHUB=	yes
+GH_TAGNAME=	v1.15.1
+
 USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
 SHEBANG_FILES=	examples/tradeclientgui/banzai/build.sh
 HAS_CONFIGURE=	yes
 CONFIGURE_ENV=	CXX=${CXX} CC=${CC} LIBS=-L${LOCALBASE}/lib/
-WRKSRC=		${WRKDIR}/${PORTNAME}
-MAKE_JOBS_UNSAFE=yes
+CONFIGURE_ARGS+=	--without-python --without-python3
 
 OPTIONS_DEFINE=	MYSQL PGSQL PYTHON RUBY JAVA
 OPTIONS_DEFAULT=	MYSQL
@@ -31,10 +33,11 @@ PGSQL_USES=	pgsql
 PGSQL_CONFIGURE_WITH=	postgresql
 MYSQL_USES=	mysql
 MYSQL_CONFIGURE_WITH=	mysql
-PYTHON_USES=	python
-PYTHON_CONFIGURE_WITH=	python
+PYTHON_USES=	python:2.7
+PYTHON_CONFIGURE_WITH=	python2
 RUBY_USE=	ruby=yes
 RUBY_CONFIGURE_WITH=	ruby
+RUBY_LIB_DEPENDS+=libunwind.so:devel/libunwind
 JAVA_USE=	java=yes
 JAVA_CONFIGURE_WITH=	java
 
@@ -45,12 +48,14 @@ post-extract:
 		${WRKSRC}/src/ruby/make_ruby.sh
 	@${REINPLACE_CMD} -e 's|CXX = g++|CXX = ${CXX}|' \
 		${WRKSRC}/UnitTest++/Makefile
+pre-configure:
+	cd ${WRKSRC} && ${sh} ${WRKSRC}/bootstrap
 	@${REINPLACE_CMD} -e 's|pkgconfdir = .*|pkgconfdir=${LOCALBASE}/libdata/pkgconfig|' \
 		${WRKSRC}/Makefile.in
-post-configure:
+pre-build:
 	${GMAKE} -C ${WRKSRC}/UnitTest++ TestUnitTest++
 
 post-install-RUBY-on:
-	${STRIP_CMD} ${STAGEDIR}${RUBY_SITELIBDIR}/quickfix.so
+	${STRIP_CMD} ${STAGEDIR}${RUBY_SITEARCHLIBDIR}/quickfix.so
 
 .include <bsd.port.mk>

Modified: head/finance/quickfix/distinfo
==============================================================================
--- head/finance/quickfix/distinfo	Thu Jun 20 03:41:14 2019	(r504615)
+++ head/finance/quickfix/distinfo	Thu Jun 20 04:34:10 2019	(r504616)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1519587218
-SHA256 (quickfix-1.14.3.tar.gz) = f6e8bdb004eaf45e50f63005b8c2611cb0afd42cf70f110f600c852aa572342d
-SIZE (quickfix-1.14.3.tar.gz) = 21803784
+TIMESTAMP = 1560234014
+SHA256 (quickfix-quickfix-1.15.1-v1.15.1_GH0.tar.gz) = 1c4322a68704526ca3d1f213e7b0dcd30e067a8815be2a79b2ab1197ef70dcf7
+SIZE (quickfix-quickfix-1.15.1-v1.15.1_GH0.tar.gz) = 15919362

Added: head/finance/quickfix/files/patch-configure.ac
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/finance/quickfix/files/patch-configure.ac	Thu Jun 20 04:34:10 2019	(r504616)
@@ -0,0 +1,11 @@
+--- configure.ac.orig	2019-06-11 07:14:11 UTC
++++ configure.ac
+@@ -198,7 +198,7 @@ AC_TRY_COMPILE(
+ 	[#include <sys/timeb.h>],
+ 	[timeb tb;
+          ftime(&tb)],
+-	has_ftime=true, has_ftime=false)
++	has_ftime=false, has_ftime=false)
+ 
+ if test $has_ftime = true
+ then AC_MSG_RESULT(yes)

Added: head/finance/quickfix/files/patch-m4_ax__python.m4
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/finance/quickfix/files/patch-m4_ax__python.m4	Thu Jun 20 04:34:10 2019	(r504616)
@@ -0,0 +1,43 @@
+--- m4/ax_python.m4.orig	2018-04-16 02:40:31 UTC
++++ m4/ax_python.m4
+@@ -18,10 +18,13 @@ AC_ARG_WITH(python2,
+ has_python3=false
+ AC_ARG_WITH(python3,
+     [  --with-python3           will use $PYTHON to find python],
+-    [
++    [if test $withval == "no"
++     then
++       has_python3=false
++     else
+        has_python=true
+        has_python3=true
+-    ],
++    fi],
+     has_python3=false
+ )
+ 
+@@ -44,20 +47,20 @@ AC_SUBST(PYTHON3_PREFIX)
+ 
+ if test $has_python2 = true
+ then
+-    PYTHON2_INCLUDE_PATH=[`python2 -c 'from distutils import sysconfig; print( sysconfig.get_python_inc(1) )'`]
++    PYTHON2_INCLUDE_PATH=[`python2.7 -c 'from distutils import sysconfig; print( sysconfig.get_python_inc(1) )'`]
+     PYTHON2_CFLAGS="-I${PYTHON2_INCLUDE_PATH}"
+     AC_SUBST(PYTHON2_CFLAGS)
+-    PYTHON2_SITE_PACKAGES=[`python2 -c 'from distutils import sysconfig; print( sysconfig.get_python_lib(1) )'`]
++    PYTHON2_SITE_PACKAGES=[`python2.7 -c 'from distutils import sysconfig; print( sysconfig.get_python_lib(1) )'`]
+     AC_SUBST(PYTHON2_SITE_PACKAGES)
+     AC_DEFINE(HAVE_PYTHON2, 1, Define if you have python2)
+ fi
+ 
+ if test $has_python3 = true
+ then
+-    PYTHON3_INCLUDE_PATH=[`python3 -c 'from distutils import sysconfig; print( sysconfig.get_python_inc(1) )'`]
++    PYTHON3_INCLUDE_PATH=[`python3.6 -c 'from distutils import sysconfig; print( sysconfig.get_python_inc(1) )'`]
+     PYTHON3_CFLAGS="-I${PYTHON3_INCLUDE_PATH}"
+     AC_SUBST(PYTHON3_CFLAGS)
+-    PYTHON3_SITE_PACKAGES=[`python3 -c 'from distutils import sysconfig; print( sysconfig.get_python_lib(1) )'`]
++    PYTHON3_SITE_PACKAGES=[`python3.6 -c 'from distutils import sysconfig; print( sysconfig.get_python_lib(1) )'`]
+     AC_SUBST(PYTHON3_SITE_PACKAGES)
+     AC_DEFINE(HAVE_PYTHON3, 1, Define if you have python3)
+ fi

Added: head/finance/quickfix/files/patch-m4_ax__ruby.m4
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/finance/quickfix/files/patch-m4_ax__ruby.m4	Thu Jun 20 04:34:10 2019	(r504616)
@@ -0,0 +1,20 @@
+--- m4/ax_ruby.m4.orig	2018-04-16 02:40:31 UTC
++++ m4/ax_ruby.m4
+@@ -2,7 +2,7 @@ AC_DEFUN([AX_RUBY],
+ [
+ RUBY=${RUBY:-"ruby"}
+ 
+-RUBY_PREFIX=[`$RUBY -e 'require "rbconfig"; print Config::CONFIG["archdir"], "\n"'`]
++RUBY_PREFIX=[`$RUBY -e 'require "rbconfig"; print RbConfig::CONFIG["archdir"], "\n"'`]
+ AC_SUBST(RUBY_PREFIX)
+ 
+ has_ruby=false
+@@ -21,7 +21,7 @@ if test $has_ruby = true
+ then
+     RUBY_CFLAGS="-I${RUBY_PREFIX}" 
+     AC_SUBST(RUBY_CFLAGS)
+-    RUBY_SITE_PACKAGES=[`ruby -e 'require "rbconfig"; print Config::CONFIG["sitedir"], "\n"'`]
++    RUBY_SITE_PACKAGES=[`ruby -e 'require "rbconfig"; print RbConfig::CONFIG["sitearchdir"], "\n"'`]
+     AC_SUBST(RUBY_SITE_PACKAGES)
+     AC_DEFINE(HAVE_RUBY, 1, Define if you have ruby)
+ fi

Added: head/finance/quickfix/files/patch-src_ruby_Makefile.am
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/finance/quickfix/files/patch-src_ruby_Makefile.am	Thu Jun 20 04:34:10 2019	(r504616)
@@ -0,0 +1,16 @@
+--- src/ruby/Makefile.am.orig	2018-04-16 02:40:31 UTC
++++ src/ruby/Makefile.am
+@@ -16,9 +16,10 @@ clean-local:
+ 	rm -rf $(local_ruby_lib)
+ 
+ install-exec-local:
+-	cp -f $(top_builddir)/lib/ruby/*.rb $(RUBY_SITE_PACKAGES)
+-	cp -f $(top_builddir)/lib/ruby/quickfix.so $(RUBY_SITE_PACKAGES) || :
+-	cp -f $(top_builddir)/lib/ruby/quickfix.bundle $(RUBY_SITE_PACKAGES) || :
++	$(MKDIR_P) "$(DESTDIR)$(RUBY_SITE_PACKAGES)"
++	cp -f $(top_builddir)/lib/ruby/*.rb "$(DESTDIR)$(RUBY_SITE_PACKAGES)"
++	cp -f $(top_builddir)/lib/ruby/quickfix.so "$(DESTDIR)$(RUBY_SITE_PACKAGES)" || :
++	cp -f $(top_builddir)/lib/ruby/quickfix.bundle "$(DESTDIR)$(RUBY_SITE_PACKAGES)" || :
+ 
+ uninstall-local:
+ 	rm -rf $(RUBY_SITE_PACKAGES)/quickfix*.rb

Modified: head/finance/quickfix/pkg-plist
==============================================================================
--- head/finance/quickfix/pkg-plist	Thu Jun 20 03:41:14 2019	(r504615)
+++ head/finance/quickfix/pkg-plist	Thu Jun 20 04:34:10 2019	(r504616)
@@ -42,13 +42,16 @@ include/quickfix/NullStore.h
 include/quickfix/OdbcConnection.h
 include/quickfix/OdbcLog.h
 include/quickfix/OdbcStore.h
+include/quickfix/PUGIXML_DOMDocument.h
 include/quickfix/Parser.h
 include/quickfix/PostgreSQLConnection.h
 include/quickfix/PostgreSQLLog.h
 include/quickfix/PostgreSQLStore.h
-include/quickfix/PUGIXML_DOMDocument.h
 include/quickfix/Queue.h
 include/quickfix/Responder.h
+include/quickfix/SSLSocketAcceptor.h
+include/quickfix/SSLSocketConnection.h
+include/quickfix/SSLSocketInitiator.h
 include/quickfix/Session.h
 include/quickfix/SessionFactory.h
 include/quickfix/SessionID.h
@@ -62,12 +65,18 @@ include/quickfix/SocketConnector.h
 include/quickfix/SocketInitiator.h
 include/quickfix/SocketMonitor.h
 include/quickfix/SocketServer.h
+include/quickfix/ThreadedSSLSocketAcceptor.h
+include/quickfix/ThreadedSSLSocketConnection.h
+include/quickfix/ThreadedSSLSocketInitiator.h
 include/quickfix/ThreadedSocketAcceptor.h
 include/quickfix/ThreadedSocketConnection.h
 include/quickfix/ThreadedSocketInitiator.h
 include/quickfix/TimeRange.h
 include/quickfix/Utility.h
+include/quickfix/UtilitySSL.h
 include/quickfix/Values.h
+include/quickfix/config-all.h
+include/quickfix/dirent_windows.h
 include/quickfix/fix40/Advertisement.h
 include/quickfix/fix40/Allocation.h
 include/quickfix/fix40/AllocationInstructionAck.h
@@ -663,14 +672,16 @@ include/quickfix/fixt11/SequenceReset.h
 include/quickfix/fixt11/TestRequest.h
 include/quickfix/index.h
 include/quickfix/stdafx.h
+include/quickfix/stdint_msvc.h
 include/quickfix/strptime.h
+include/quickfix/wx/sharedptr.h
 lib/libquickfix.so
-lib/libquickfix.so.16
-lib/libquickfix.so.16.0.1
+lib/libquickfix.so.17
+lib/libquickfix.so.17.0.0
 libdata/pkgconfig/quickfix.pc
 %%PYTHON%%%%PYTHON_SITELIBDIR%%/_quickfix.so
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/_quickfix.so.12
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/_quickfix.so.12.0.0
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/_quickfix.so.13
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/_quickfix.so.13.0.0
 %%PYTHON%%%%PYTHON_SITELIBDIR%%/quickfix.py
 %%PYTHON%%%%PYTHON_SITELIBDIR%%/quickfix40.py
 %%PYTHON%%%%PYTHON_SITELIBDIR%%/quickfix41.py
@@ -681,29 +692,18 @@ libdata/pkgconfig/quickfix.pc
 %%PYTHON%%%%PYTHON_SITELIBDIR%%/quickfix50sp1.py
 %%PYTHON%%%%PYTHON_SITELIBDIR%%/quickfix50sp2.py
 %%PYTHON%%%%PYTHON_SITELIBDIR%%/quickfixt11.py
-%%RUBY%%%%RUBY_SITELIBDIR%%/quickfix_fields.rb
-%%RUBY%%%%RUBY_SITELIBDIR%%/quickfix40.rb
-%%RUBY%%%%RUBY_SITELIBDIR%%/quickfix_ruby.rb
-%%RUBY%%%%RUBY_SITELIBDIR%%/quickfix50sp1.rb
-%%RUBY%%%%RUBY_SITELIBDIR%%/quickfix50.rb
-%%RUBY%%%%RUBY_SITELIBDIR%%/quickfix50sp2.rb
-%%RUBY%%%%RUBY_SITELIBDIR%%/quickfix43.rb
-%%RUBY%%%%RUBY_SITELIBDIR%%/quickfix.so
-%%RUBY%%%%RUBY_SITELIBDIR%%/quickfix41.rb
-%%RUBY%%%%RUBY_SITELIBDIR%%/quickfix42.rb
-%%RUBY%%%%RUBY_SITELIBDIR%%/quickfix44.rb
-%%RUBY%%%%RUBY_SITELIBDIR%%/quickfixt11.rb
-%%RUBY%%%%DATADIR%%/quickfix_fields.rb
-%%RUBY%%%%DATADIR%%/quickfix40.rb
-%%RUBY%%%%DATADIR%%/quickfix_ruby.rb
-%%RUBY%%%%DATADIR%%/quickfix50sp1.rb
-%%RUBY%%%%DATADIR%%/quickfix50.rb
-%%RUBY%%%%DATADIR%%/quickfix50sp2.rb
-%%RUBY%%%%DATADIR%%/quickfix43.rb
-%%RUBY%%%%DATADIR%%/quickfix41.rb
-%%RUBY%%%%DATADIR%%/quickfix42.rb
-%%RUBY%%%%DATADIR%%/quickfix44.rb
-%%RUBY%%%%DATADIR%%/quickfixt11.rb
+%%RUBY%%%%RUBY_SITEARCHLIBDIR%%/quickfix.so
+%%RUBY%%%%RUBY_SITEARCHLIBDIR%%/quickfix40.rb
+%%RUBY%%%%RUBY_SITEARCHLIBDIR%%/quickfix41.rb
+%%RUBY%%%%RUBY_SITEARCHLIBDIR%%/quickfix42.rb
+%%RUBY%%%%RUBY_SITEARCHLIBDIR%%/quickfix43.rb
+%%RUBY%%%%RUBY_SITEARCHLIBDIR%%/quickfix44.rb
+%%RUBY%%%%RUBY_SITEARCHLIBDIR%%/quickfix50.rb
+%%RUBY%%%%RUBY_SITEARCHLIBDIR%%/quickfix50sp1.rb
+%%RUBY%%%%RUBY_SITEARCHLIBDIR%%/quickfix50sp2.rb
+%%RUBY%%%%RUBY_SITEARCHLIBDIR%%/quickfix_fields.rb
+%%RUBY%%%%RUBY_SITEARCHLIBDIR%%/quickfix_ruby.rb
+%%RUBY%%%%RUBY_SITEARCHLIBDIR%%/quickfixt11.rb
 %%DATADIR%%/FIX40.xml
 %%DATADIR%%/FIX41.xml
 %%DATADIR%%/FIX42.xml
@@ -713,3 +713,14 @@ libdata/pkgconfig/quickfix.pc
 %%DATADIR%%/FIX50SP1.xml
 %%DATADIR%%/FIX50SP2.xml
 %%DATADIR%%/FIXT11.xml
+%%RUBY%%%%DATADIR%%/quickfix40.rb
+%%RUBY%%%%DATADIR%%/quickfix41.rb
+%%RUBY%%%%DATADIR%%/quickfix42.rb
+%%RUBY%%%%DATADIR%%/quickfix43.rb
+%%RUBY%%%%DATADIR%%/quickfix44.rb
+%%RUBY%%%%DATADIR%%/quickfix50.rb
+%%RUBY%%%%DATADIR%%/quickfix50sp1.rb
+%%RUBY%%%%DATADIR%%/quickfix50sp2.rb
+%%RUBY%%%%DATADIR%%/quickfix_fields.rb
+%%RUBY%%%%DATADIR%%/quickfix_ruby.rb
+%%RUBY%%%%DATADIR%%/quickfixt11.rb



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