*/*: sync with upstream
Taken from: FreeBSD
This commit is contained in:
parent
48054a990c
commit
7f8ba1959b
271 changed files with 5573 additions and 1469 deletions
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= josm
|
||||
PORTVERSION= 11223
|
||||
PORTVERSION= 11427
|
||||
CATEGORIES= astro java
|
||||
MASTER_SITES= http://josm.openstreetmap.de/download/ \
|
||||
http://mirror.amdmi3.ru/distfiles/
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1478878313
|
||||
SHA256 (josm-snapshot-11223.jar) = 488fa22200753b01ec06bb192c8cfc016733b3c0db767abc442738942e85613b
|
||||
SIZE (josm-snapshot-11223.jar) = 10800433
|
||||
TIMESTAMP = 1484072960
|
||||
SHA256 (josm-snapshot-11427.jar) = 0326e6656efbc492448c5e9966857a768709ddddb7e65e930f44bf9972aa6fb9
|
||||
SIZE (josm-snapshot-11427.jar) = 11086142
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= qmapshack
|
||||
PORTVERSION= 1.7.1
|
||||
PORTVERSION= 1.7.2
|
||||
CATEGORIES= astro
|
||||
MASTER_SITES= https://bitbucket.org/maproom/qmapshack/downloads/
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1474306176
|
||||
SHA256 (qmapshack-1.7.1.tar.gz) = 5da33e575fec11c1bfe097ab9c89c9d815124436b5ebf736ec0681acbda4a509
|
||||
SIZE (qmapshack-1.7.1.tar.gz) = 5201773
|
||||
TIMESTAMP = 1482157356
|
||||
SHA256 (qmapshack-1.7.2.tar.gz) = 830471acfaf3ed2743a8aaac2fc85c2c5039fbc0e7b8d1c462c5e0b4fc3ce10b
|
||||
SIZE (qmapshack-1.7.2.tar.gz) = 7256732
|
||||
|
|
|
|||
|
|
@ -1,11 +0,0 @@
|
|||
--- src/gis/CGisListWks.cpp.orig 2016-09-19 19:38:41.441780000 +0200
|
||||
+++ src/gis/CGisListWks.cpp 2016-09-19 19:38:56.183055000 +0200
|
||||
@@ -346,7 +346,7 @@
|
||||
QAction * action = menu->addAction(QIcon(icon), text);
|
||||
action->setCheckable(true);
|
||||
|
||||
- auto func = bind(&CGisListWks::slotSetSortMode, this, mode, std::placeholders::_1);
|
||||
+ auto func = std::bind(&CGisListWks::slotSetSortMode, this, mode, std::placeholders::_1);
|
||||
connect(action, &QAction::toggled, this, func);
|
||||
|
||||
actionGroup->addAction(action);
|
||||
|
|
@ -6,7 +6,7 @@ PORTVERSION= 1.2
|
|||
CATEGORIES= astro geography
|
||||
MASTER_SITES= LOCAL/madpilot/xearth
|
||||
|
||||
MAINTAINER= ler@lerctr.org
|
||||
MAINTAINER= ler@FreeBSD.org
|
||||
COMMENT= Set the root window to the image of earth
|
||||
|
||||
USE_XORG= x11 xext sm ice xt
|
||||
|
|
|
|||
|
|
@ -284,6 +284,7 @@
|
|||
44.89, -93.35, "bdrewery" # Minneapolis, MN, USA
|
||||
42.02, -93.67, "ghelmer" # Ames, IA, USA
|
||||
29.834, -95.00, " ,chris" # Houston, TX, USA
|
||||
30.47702408 -97.64801025 "ler" # Pflugerville, TX, USA
|
||||
30.715833 -95.5525, "ade" # Huntsville, TX, USA
|
||||
37.0625, -95.677068, "kmacy" # Palo Alto, CA, USA
|
||||
29.7925, -95.8225, "dwcjr" # Katy, TX, USA
|
||||
|
|
|
|||
|
|
@ -416,6 +416,7 @@
|
|||
SUBDIR += libvorbis
|
||||
SUBDIR += libworkman
|
||||
SUBDIR += libxmp
|
||||
SUBDIR += lilv
|
||||
SUBDIR += lingot
|
||||
SUBDIR += linux-c6-alsa-lib
|
||||
SUBDIR += linux-c6-alsa-plugins-oss
|
||||
|
|
@ -739,6 +740,7 @@
|
|||
SUBDIR += splay
|
||||
SUBDIR += splaytk
|
||||
SUBDIR += squash
|
||||
SUBDIR += sratom
|
||||
SUBDIR += streamripper
|
||||
SUBDIR += streamtranscoder
|
||||
SUBDIR += stymulator
|
||||
|
|
|
|||
|
|
@ -105,7 +105,9 @@ DOCS_DISTFILES= Csound${PORTVERSION:R}_manual_html.zip:manual
|
|||
MAKE_ARGS+= Word64=1
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD
|
||||
CXXLIB= c++
|
||||
.endif
|
||||
|
||||
BROKEN_powerpc64= Does not build
|
||||
|
||||
|
|
|
|||
33
audio/lilv/Makefile
Normal file
33
audio/lilv/Makefile
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# Created by: Michael Beer <beerml@sigma6audio.de>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= lilv
|
||||
PORTVERSION= 0.24.0
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= http://download.drobilla.net/
|
||||
|
||||
MAINTAINER= beerml@sigma6audio.de
|
||||
COMMENT= Lilv makes the use of LV2 plugins as simple as possible
|
||||
|
||||
LICENSE= ISCL
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BUILD_DEPENDS= lv2>=1.14.0:audio/lv2
|
||||
LIB_DEPENDS= libserd-0.so:devel/serd libsord-0.so:devel/sord libsratom-0.so:audio/sratom libsndfile.so:audio/libsndfile
|
||||
|
||||
USES= pkgconfig python:build tar:bzip2 waf
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
post-install:
|
||||
@${MV} ${STAGEDIR}${PREFIX}/lib/pkgconfig/*.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/
|
||||
@${MV} ${STAGEDIR}${PREFIX}/share/man/man1 ${STAGEDIR}${PREFIX}/man/
|
||||
@${RMDIR} ${STAGEDIR}${PREFIX}/share/man
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblilv-0.so.0.24.0
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lilv-bench
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lv2apply
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lv2bench
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lv2info
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lv2ls
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
audio/lilv/distinfo
Normal file
3
audio/lilv/distinfo
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1483909389
|
||||
SHA256 (lilv-0.24.0.tar.bz2) = fa60de536d3648aa3b1a445261fd77bd80d0246a071eed2e7ca51ea91a27fb9e
|
||||
SIZE (lilv-0.24.0.tar.bz2) = 244079
|
||||
7
audio/lilv/pkg-descr
Normal file
7
audio/lilv/pkg-descr
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
Lilv is a C library to make the use of LV2 plugins as simple as possible
|
||||
for applications. Lilv is the successor to SLV2, rewritten to be significantly
|
||||
faster and have minimal dependencies. It is stable, well-tested
|
||||
software (the included test suite covers over 90% of the code) in use
|
||||
by several applications.
|
||||
|
||||
WWW: http://drobilla.net/software/lilv/
|
||||
16
audio/lilv/pkg-plist
Normal file
16
audio/lilv/pkg-plist
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
bin/lilv-bench
|
||||
bin/lv2apply
|
||||
bin/lv2bench
|
||||
bin/lv2info
|
||||
bin/lv2ls
|
||||
etc/bash_completion.d/lilv
|
||||
include/lilv-0/lilv/lilv.h
|
||||
include/lilv-0/lilv/lilvmm.hpp
|
||||
lib/liblilv-0.so
|
||||
lib/liblilv-0.so.0
|
||||
lib/liblilv-0.so.0.24.0
|
||||
libdata/pkgconfig/lilv-0.pc
|
||||
man/man1/lv2apply.1.gz
|
||||
man/man1/lv2info.1.gz
|
||||
man/man1/lv2ls.1.gz
|
||||
@dir lib/pkgconfig
|
||||
26
audio/sratom/Makefile
Normal file
26
audio/sratom/Makefile
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# Created by: Michael Beer <beerml@sigma6audio.de>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= sratom
|
||||
PORTVERSION= 0.6.0
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= http://download.drobilla.net/
|
||||
|
||||
MAINTAINER= beerml@sigma6audio.de
|
||||
COMMENT= Sratom is a library for serialising LV2 atoms to/from RDF
|
||||
|
||||
LICENSE= ISCL
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
LIB_DEPENDS= libserd-0.so:devel/serd libsord-0.so:devel/sord
|
||||
BUILD_DEPENDS= lv2>=1.14.0:audio/lv2
|
||||
|
||||
USES= pkgconfig python:build tar:bzip2 waf
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
post-install:
|
||||
@${MV} ${STAGEDIR}${PREFIX}/lib/pkgconfig/*.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsratom-0.so.0.6.0
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
audio/sratom/distinfo
Normal file
3
audio/sratom/distinfo
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1475784219
|
||||
SHA256 (sratom-0.6.0.tar.bz2) = 440ac2b1f4f0b7878f8b95698faa1e8f8c50929a498f68ec5d066863626a3d43
|
||||
SIZE (sratom-0.6.0.tar.bz2) = 149340
|
||||
4
audio/sratom/pkg-descr
Normal file
4
audio/sratom/pkg-descr
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
Sratom is a library for serialising LV2 atoms to/from RDF,
|
||||
particularly the Turtle syntax.
|
||||
|
||||
WWW: http://drobilla.net/software/sratom
|
||||
6
audio/sratom/pkg-plist
Normal file
6
audio/sratom/pkg-plist
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
include/sratom-0/sratom/sratom.h
|
||||
lib/libsratom-0.so
|
||||
lib/libsratom-0.so.0
|
||||
lib/libsratom-0.so.0.6.0
|
||||
libdata/pkgconfig/sratom-0.pc
|
||||
@dir lib/pkgconfig
|
||||
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= WAP-wbxml
|
||||
PORTVERSION= 1.14
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= converters perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
|
@ -11,10 +12,10 @@ MAINTAINER= bofh@FreeBSD.org
|
|||
COMMENT= Binarization of XML file
|
||||
|
||||
LICENSE= ART20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= p5-XML-DOM>=0:textproc/p5-XML-DOM \
|
||||
p5-I18N-Charset>=0:misc/p5-I18N-Charset \
|
||||
p5-Data-Dumper>=0:devel/p5-Data-Dumper
|
||||
p5-I18N-Charset>=0:misc/p5-I18N-Charset
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
USES= dos2unix perl5
|
||||
|
|
|
|||
|
|
@ -557,6 +557,9 @@
|
|||
SUBDIR += percona55-server
|
||||
SUBDIR += percona56-client
|
||||
SUBDIR += percona56-server
|
||||
SUBDIR += percona57-client
|
||||
SUBDIR += percona57-pam-for-mysql
|
||||
SUBDIR += percona57-server
|
||||
SUBDIR += pg_activity
|
||||
SUBDIR += pg_citus
|
||||
SUBDIR += pg_qualstats
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
PORTNAME= ldb
|
||||
PORTVERSION= 1.1.29
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 0
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= SAMBA
|
||||
|
|
@ -20,7 +20,6 @@ WAF_CMD= buildtools/bin/waf
|
|||
CONFIGURE_LOG= bin/config.log
|
||||
|
||||
USE_OPENLDAP= yes
|
||||
WANT_OPENLDAP_SASL= yes
|
||||
|
||||
PKGCONFIGDIR?= ${PREFIX}/libdata/pkgconfig
|
||||
PLIST_SUB+= PKGCONFIGDIR=${PKGCONFIGDIR:S;${PREFIX}/;;}
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ BROKEN_mips64= Fails to build: error: conflicting declaration typedef long int
|
|||
|
||||
OPTIONS_DEFINE= PYTHON TCL DOCS
|
||||
OPTIONS_DEFAULT= PYTHON
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
|
|
@ -30,9 +31,6 @@ OPTIONS_DEFAULT= PYTHON
|
|||
USES+= python
|
||||
CONFIGURE_ARGS+= --with-python=${LOCALBASE}
|
||||
CATEGORIES+= python
|
||||
PLIST_SUB+= WITH_PYTHON=""
|
||||
.else
|
||||
PLIST_SUB+= WITH_PYTHON="@comment "
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MTCL}
|
||||
|
|
@ -41,25 +39,20 @@ CATEGORIES+= tcl
|
|||
CONFIGURE_ARGS+=--with-tcl=${TCL_INCLUDEDIR}
|
||||
CONFIGURE_ENV+= TCL_LIBDIR=${TCL_LIBDIR}
|
||||
PLIST_SUB+= TCL_V="${TCL_VER}"
|
||||
PLIST_SUB+= WITH_TCL=""
|
||||
.else
|
||||
PLIST_SUB+= WITH_TCL="@comment "
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
${REINPLACE_CMD} -e "s=doc/==" ${WRKSRC}/../Metakit.html
|
||||
${REINPLACE_CMD} -e "s|= tclsh|=${TCLSH}|" \
|
||||
@${REINPLACE_CMD} -e "s=doc/==" ${WRKSRC}/../Metakit.html
|
||||
@${REINPLACE_CMD} -e "s|= tclsh|=${TCLSH}|" \
|
||||
${WRKSRC}/../unix/Makefile.in
|
||||
${REINPLACE_CMD} -e "s=python2.[0-9]=${PYTHON_VERSION}=" \
|
||||
@${REINPLACE_CMD} -e "s=python2.[0-9]=${PYTHON_VERSION}=" \
|
||||
${WRKSRC}/../unix/Makefile.in ${WRKSRC}/../unix/configure
|
||||
|
||||
post-build:
|
||||
.if ${PORT_OPTIONS:MPYTHON}
|
||||
post-build-PYTHON-on:
|
||||
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
|
||||
${WRKSRC}/../python
|
||||
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
|
||||
${WRKSRC}/../python
|
||||
.endif
|
||||
|
||||
pre-install:
|
||||
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
|
||||
|
|
@ -74,12 +67,12 @@ post-install:
|
|||
${INSTALL_DATA} ${WRKSRC}/../Metakit.html ${WRKSRC}/../CHANGES \
|
||||
${WRKSRC}/../README ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
test:
|
||||
do-test:
|
||||
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
||||
${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test)
|
||||
.if ${PORT_OPTIONS:MTCL}
|
||||
|
||||
do-test-TCL-on:
|
||||
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
||||
${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test-tcl)
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -4,12 +4,12 @@ include/mk4str.h
|
|||
include/mk4str.inl
|
||||
lib/libmk4.so
|
||||
lib/libmk4.so.0
|
||||
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/Mk4py.so
|
||||
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/metakit.py
|
||||
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/metakit.pyc
|
||||
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/metakit.pyo
|
||||
%%WITH_TCL%%lib/tcl%%TCL_V%%/Mk4tcl/Mk4tcl.so
|
||||
%%WITH_TCL%%lib/tcl%%TCL_V%%/Mk4tcl/pkgIndex.tcl
|
||||
%%PYTHON%%%%PYTHON_SITELIBDIR%%/Mk4py.so
|
||||
%%PYTHON%%%%PYTHON_SITELIBDIR%%/metakit.py
|
||||
%%PYTHON%%%%PYTHON_SITELIBDIR%%/metakit.pyc
|
||||
%%PYTHON%%%%PYTHON_SITELIBDIR%%/metakit.pyo
|
||||
%%TCL%%lib/tcl%%TCL_V%%/Mk4tcl/Mk4tcl.so
|
||||
%%TCL%%lib/tcl%%TCL_V%%/Mk4tcl/pkgIndex.tcl
|
||||
%%PORTDOCS%%%%DOCSDIR%%/api/c4_Bytes.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/api/c4_BytesProp.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/api/c4_BytesProp_desc.html
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= mysql
|
||||
PORTREVISION?= 0
|
||||
PORTREVISION?= 1
|
||||
PKGNAMESUFFIX= 80-client
|
||||
|
||||
COMMENT= Multithreaded SQL database (client)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
--- include/CMakeLists.txt.orig 2016-03-28 18:06:12 UTC
|
||||
--- include/CMakeLists.txt.orig 2016-08-25 12:32:09 UTC
|
||||
+++ include/CMakeLists.txt
|
||||
@@ -38,6 +38,7 @@ SET(HEADERS_ABI
|
||||
@@ -37,6 +37,7 @@ SET(HEADERS_ABI
|
||||
|
||||
SET(HEADERS
|
||||
${HEADERS_ABI}
|
||||
|
|
@ -8,3 +8,95 @@
|
|||
my_dbug.h
|
||||
m_string.h
|
||||
my_sys.h
|
||||
@@ -64,6 +65,81 @@ SET(HEADERS
|
||||
thr_cond.h
|
||||
thr_mutex.h
|
||||
thr_rwlock.h
|
||||
+ base64.h
|
||||
+ c_string_less.h
|
||||
+ crypt_genhash_impl.h
|
||||
+ depth_first_search.h
|
||||
+ dur_prop.h
|
||||
+ ft_global.h
|
||||
+ heap.h
|
||||
+ i_callable.h
|
||||
+ instance_callback.h
|
||||
+ lf.h
|
||||
+ mutex_lock.h
|
||||
+ my_aes.h
|
||||
+ my_atomic.h
|
||||
+ my_base.h
|
||||
+ my_bit.h
|
||||
+ my_bitmap.h
|
||||
+ my_check_opt.h
|
||||
+ my_compare.h
|
||||
+ my_compare.h.orig
|
||||
+ my_default.h
|
||||
+ my_icp.h
|
||||
+ my_md5.h
|
||||
+ my_md5_size.h
|
||||
+ my_murmur3.h
|
||||
+ my_rdtsc.h
|
||||
+ my_rnd.h
|
||||
+ my_sqlcommand.h
|
||||
+ my_stacktrace.h
|
||||
+ my_thread_os_id.h
|
||||
+ my_time.h
|
||||
+ my_timer.h
|
||||
+ my_tree.h
|
||||
+ my_uctype.h
|
||||
+ my_user.h
|
||||
+ myisam.h
|
||||
+ myisam.h.orig
|
||||
+ myisammrg.h
|
||||
+ myisampack.h
|
||||
+ mysql.h.pp
|
||||
+ mysql_version.h.in
|
||||
+ mysys_err.h
|
||||
+ nullable.h
|
||||
+ password.h
|
||||
+ pfs_cond_provider.h
|
||||
+ pfs_error_provider.h
|
||||
+ pfs_file_provider.h
|
||||
+ pfs_idle_provider.h
|
||||
+ pfs_memory_provider.h
|
||||
+ pfs_metadata_provider.h
|
||||
+ pfs_mutex_provider.h
|
||||
+ pfs_rwlock_provider.h
|
||||
+ pfs_socket_provider.h
|
||||
+ pfs_stage_provider.h
|
||||
+ pfs_statement_provider.h
|
||||
+ pfs_table_provider.h
|
||||
+ pfs_thread_provider.h
|
||||
+ pfs_transaction_provider.h
|
||||
+ prealloced_array.h
|
||||
+ priority_queue.h
|
||||
+ probes_mysql.d.base
|
||||
+ probes_mysql.h
|
||||
+ probes_mysql_nodtrace.h
|
||||
+ queues.h
|
||||
+ rwlock_scoped_lock.h
|
||||
+ scope_guard.h
|
||||
+ service_versions.h
|
||||
+ sha1.h
|
||||
+ sha2.h
|
||||
+ sql_chars.h
|
||||
+ sql_string.h
|
||||
+ str_uca_type.h
|
||||
+ template_utils.h
|
||||
+ thr_lock.h
|
||||
+ violite.h
|
||||
+ welcome_copyright_notice.h
|
||||
${HEADERS_GEN_CONFIGURE}
|
||||
)
|
||||
|
||||
@@ -76,5 +152,9 @@ INSTALL(DIRECTORY mysql/ DESTINATION ${I
|
||||
PATTERN "*.h"
|
||||
PATTERN "psi_abi*" EXCLUDE
|
||||
)
|
||||
+INSTALL(DIRECTORY atomic/ DESTINATION ${INSTALL_INCLUDEDIR}/atomic COMPONENT Development
|
||||
+ PATTERN "*.h"
|
||||
+ PATTERN "psi_abi*" EXCLUDE
|
||||
+)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -10,36 +10,85 @@ bin/mysqlimport
|
|||
bin/mysqlpump
|
||||
bin/mysqlshow
|
||||
bin/mysqlslap
|
||||
include/mysql/binary_log_types.h
|
||||
include/mysql/atomic/gcc_atomic.h
|
||||
include/mysql/atomic/gcc_sync.h
|
||||
include/mysql/atomic/generic-msvc.h
|
||||
include/mysql/atomic/solaris.h
|
||||
include/mysql/base64.h
|
||||
include/mysql/big_endian.h
|
||||
include/mysql/binary_log_types.h
|
||||
include/mysql/byte_order_generic.h
|
||||
include/mysql/byte_order_generic_x86.h
|
||||
include/mysql/c_string_less.h
|
||||
include/mysql/crypt_genhash_impl.h
|
||||
include/mysql/decimal.h
|
||||
include/mysql/depth_first_search.h
|
||||
include/mysql/dur_prop.h
|
||||
include/mysql/errmsg.h
|
||||
include/mysql/ft_global.h
|
||||
include/mysql/hash.h
|
||||
include/mysql/heap.h
|
||||
include/mysql/i_callable.h
|
||||
include/mysql/instance_callback.h
|
||||
include/mysql/keycache.h
|
||||
include/mysql/lf.h
|
||||
include/mysql/little_endian.h
|
||||
include/mysql/m_ctype.h
|
||||
include/mysql/m_string.h
|
||||
include/mysql/mutex_lock.h
|
||||
include/mysql/my_aes.h
|
||||
include/mysql/my_alloc.h
|
||||
include/mysql/my_atomic.h
|
||||
include/mysql/my_base.h
|
||||
include/mysql/my_bit.h
|
||||
include/mysql/my_bitmap.h
|
||||
include/mysql/my_byteorder.h
|
||||
include/mysql/my_check_opt.h
|
||||
include/mysql/my_command.h
|
||||
include/mysql/my_compare.h
|
||||
include/mysql/my_compiler.h
|
||||
include/mysql/my_config.h
|
||||
include/mysql/my_dbug.h
|
||||
include/mysql/my_default.h
|
||||
include/mysql/my_dir.h
|
||||
include/mysql/my_getopt.h
|
||||
include/mysql/my_global.h
|
||||
include/mysql/my_icp.h
|
||||
include/mysql/my_list.h
|
||||
include/mysql/my_md5.h
|
||||
include/mysql/my_md5_size.h
|
||||
include/mysql/my_murmur3.h
|
||||
include/mysql/my_rdtsc.h
|
||||
include/mysql/my_rnd.h
|
||||
include/mysql/my_sqlcommand.h
|
||||
include/mysql/my_stacktrace.h
|
||||
include/mysql/my_sys.h
|
||||
include/mysql/my_thread.h
|
||||
include/mysql/my_thread_local.h
|
||||
include/mysql/my_thread_os_id.h
|
||||
include/mysql/my_time.h
|
||||
include/mysql/my_timer.h
|
||||
include/mysql/my_tree.h
|
||||
include/mysql/my_uctype.h
|
||||
include/mysql/my_user.h
|
||||
include/mysql/my_xml.h
|
||||
include/mysql/myisam.h
|
||||
include/mysql/myisammrg.h
|
||||
include/mysql/myisampack.h
|
||||
include/mysql/mysql.h
|
||||
include/mysql/mysql.h.pp
|
||||
include/mysql/mysql/client_authentication.h
|
||||
include/mysql/mysql/client_plugin.h
|
||||
include/mysql/mysql/client_plugin.h.pp
|
||||
include/mysql/mysql/com_data.h
|
||||
include/mysql/mysql/components/component_implementation.h
|
||||
include/mysql/mysql/components/my_service.h
|
||||
include/mysql/mysql/components/service.h
|
||||
include/mysql/mysql/components/service_implementation.h
|
||||
include/mysql/mysql/components/services/dynamic_loader.h
|
||||
include/mysql/mysql/components/services/dynamic_loader_scheme_file.h
|
||||
include/mysql/mysql/components/services/persistent_dynamic_loader.h
|
||||
include/mysql/mysql/components/services/registry.h
|
||||
include/mysql/mysql/get_password.h
|
||||
include/mysql/mysql/group_replication_priv.h
|
||||
include/mysql/mysql/innodb_priv.h
|
||||
|
|
@ -58,36 +107,15 @@ include/mysql/mysql/plugin_keyring.h.pp
|
|||
include/mysql/mysql/plugin_query_rewrite.h
|
||||
include/mysql/mysql/plugin_trace.h
|
||||
include/mysql/mysql/plugin_validate_password.h
|
||||
include/mysql/mysql/components/component_implementation.h
|
||||
include/mysql/mysql/components/my_service.h
|
||||
include/mysql/mysql/components/service.h
|
||||
include/mysql/mysql/components/service_implementation.h
|
||||
include/mysql/mysql/components/services/dynamic_loader.h
|
||||
include/mysql/mysql/components/services/dynamic_loader_scheme_file.h
|
||||
include/mysql/mysql/components/services/persistent_dynamic_loader.h
|
||||
include/mysql/mysql/components/services/registry.h
|
||||
include/mysql/mysql/psi/mysql_cond.h
|
||||
include/mysql/mysql/psi/mysql_error.h
|
||||
include/mysql/mysql/psi/mysql_mutex.h
|
||||
include/mysql/mysql/psi/mysql_rwlock.h
|
||||
include/mysql/mysql/psi/psi_cond.h
|
||||
include/mysql/mysql/psi/psi_error.h
|
||||
include/mysql/mysql/psi/psi_file.h
|
||||
include/mysql/mysql/psi/psi_idle.h
|
||||
include/mysql/mysql/psi/psi_mdl.h
|
||||
include/mysql/mysql/psi/psi_mutex.h
|
||||
include/mysql/mysql/psi/psi_rwlock.h
|
||||
include/mysql/mysql/psi/psi_socket.h
|
||||
include/mysql/mysql/psi/psi_stage.h
|
||||
include/mysql/mysql/psi/psi_statement.h
|
||||
include/mysql/mysql/psi/psi_table.h
|
||||
include/mysql/mysql/psi/psi_thread.h
|
||||
include/mysql/mysql/psi/psi_transaction.h
|
||||
include/mysql/mysql/psi/mysql_file.h
|
||||
include/mysql/mysql/psi/mysql_idle.h
|
||||
include/mysql/mysql/psi/mysql_mdl.h
|
||||
include/mysql/mysql/psi/mysql_memory.h
|
||||
include/mysql/mysql/psi/mysql_mutex.h
|
||||
include/mysql/mysql/psi/mysql_ps.h
|
||||
include/mysql/mysql/psi/mysql_rwlock.h
|
||||
include/mysql/mysql/psi/mysql_socket.h
|
||||
include/mysql/mysql/psi/mysql_sp.h
|
||||
include/mysql/mysql/psi/mysql_stage.h
|
||||
|
|
@ -96,7 +124,20 @@ include/mysql/mysql/psi/mysql_table.h
|
|||
include/mysql/mysql/psi/mysql_thread.h
|
||||
include/mysql/mysql/psi/mysql_transaction.h
|
||||
include/mysql/mysql/psi/psi_base.h
|
||||
include/mysql/mysql/psi/psi_cond.h
|
||||
include/mysql/mysql/psi/psi_error.h
|
||||
include/mysql/mysql/psi/psi_file.h
|
||||
include/mysql/mysql/psi/psi_idle.h
|
||||
include/mysql/mysql/psi/psi_mdl.h
|
||||
include/mysql/mysql/psi/psi_memory.h
|
||||
include/mysql/mysql/psi/psi_mutex.h
|
||||
include/mysql/mysql/psi/psi_rwlock.h
|
||||
include/mysql/mysql/psi/psi_socket.h
|
||||
include/mysql/mysql/psi/psi_stage.h
|
||||
include/mysql/mysql/psi/psi_statement.h
|
||||
include/mysql/mysql/psi/psi_table.h
|
||||
include/mysql/mysql/psi/psi_thread.h
|
||||
include/mysql/mysql/psi/psi_transaction.h
|
||||
include/mysql/mysql/service_command.h
|
||||
include/mysql/mysql/service_locking.h
|
||||
include/mysql/mysql/service_my_plugin_log.h
|
||||
|
|
@ -125,29 +166,65 @@ include/mysql/mysql_com.h
|
|||
include/mysql/mysql_com_server.h
|
||||
include/mysql/mysql_time.h
|
||||
include/mysql/mysql_version.h
|
||||
include/mysql/mysql_version.h.in
|
||||
include/mysql/mysqld_ername.h
|
||||
include/mysql/mysqld_error.h
|
||||
include/mysql/mysys_err.h
|
||||
include/mysql/nullable.h
|
||||
include/mysql/password.h
|
||||
include/mysql/pfs_cond_provider.h
|
||||
include/mysql/pfs_error_provider.h
|
||||
include/mysql/pfs_file_provider.h
|
||||
include/mysql/pfs_idle_provider.h
|
||||
include/mysql/pfs_memory_provider.h
|
||||
include/mysql/pfs_metadata_provider.h
|
||||
include/mysql/pfs_mutex_provider.h
|
||||
include/mysql/pfs_rwlock_provider.h
|
||||
include/mysql/pfs_socket_provider.h
|
||||
include/mysql/pfs_stage_provider.h
|
||||
include/mysql/pfs_statement_provider.h
|
||||
include/mysql/pfs_table_provider.h
|
||||
include/mysql/pfs_thread_provider.h
|
||||
include/mysql/pfs_transaction_provider.h
|
||||
include/mysql/plugin.h
|
||||
include/mysql/plugin_audit.h
|
||||
include/mysql/plugin_ftparser.h
|
||||
include/mysql/plugin_group_replication.h
|
||||
include/mysql/plugin_keyring.h
|
||||
include/mysql/plugin_validate_password.h
|
||||
include/mysql/prealloced_array.h
|
||||
include/mysql/priority_queue.h
|
||||
include/mysql/probes_mysql.d.base
|
||||
include/mysql/probes_mysql.h
|
||||
include/mysql/probes_mysql_nodtrace.h
|
||||
include/mysql/queues.h
|
||||
include/mysql/rwlock_scoped_lock.h
|
||||
include/mysql/scope_guard.h
|
||||
include/mysql/service_versions.h
|
||||
include/mysql/sha1.h
|
||||
include/mysql/sha2.h
|
||||
include/mysql/sql_chars.h
|
||||
include/mysql/sql_common.h
|
||||
include/mysql/sql_string.h
|
||||
include/mysql/sslopt-case.h
|
||||
include/mysql/sslopt-longopts.h
|
||||
include/mysql/sslopt-vars.h
|
||||
include/mysql/str_uca_type.h
|
||||
include/mysql/template_utils.h
|
||||
include/mysql/thr_cond.h
|
||||
include/mysql/thr_lock.h
|
||||
include/mysql/thr_mutex.h
|
||||
include/mysql/thr_rwlock.h
|
||||
include/mysql/typelib.h
|
||||
include/mysql/violite.h
|
||||
include/mysql/welcome_copyright_notice.h
|
||||
lib/mysql/libmysqlclient.a
|
||||
lib/mysql/libmysqlclient.so
|
||||
lib/mysql/libmysqlclient.so.21
|
||||
lib/mysql/libmysqlservices.a
|
||||
lib/mysql/libmysqlclient_r.a
|
||||
lib/mysql/libmysqlclient_r.so
|
||||
lib/mysql/libmysqlclient_r.so.21
|
||||
lib/mysql/libmysqlservices.a
|
||||
libdata/pkgconfig/mysqlclient.pc
|
||||
man/man1/comp_err.1.gz
|
||||
man/man1/mysql.1.gz
|
||||
|
|
|
|||
43
databases/percona57-client/Makefile
Normal file
43
databases/percona57-client/Makefile
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
# Created by: Mark Felder <feld@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= percona
|
||||
PORTREVISION?= 0
|
||||
PKGNAMESUFFIX= 57-client
|
||||
|
||||
COMMENT= Multithreaded SQL database (client)
|
||||
|
||||
LICENSE= GPLv2+
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../percona57-server
|
||||
|
||||
OPTIONS_EXCLUDE=TOKUDB
|
||||
|
||||
PKGMESSAGE= ${.CURDIR}/pkg-message
|
||||
PATCHDIR= ${.CURDIR}/files
|
||||
PLIST= ${.CURDIR}/pkg-plist
|
||||
|
||||
CONFLICTS_INSTALL= mysql*-client-* \
|
||||
mariadb*-client-* \
|
||||
percona5[0-68-9]-client-*
|
||||
|
||||
CMAKE_ARGS+= -DWITHOUT_SERVER=1
|
||||
|
||||
USE_LDCONFIG= ${PREFIX}/lib/mysql
|
||||
|
||||
MANPAGES= comp_err.1 mysql.1 mysql_config.1 mysql_config_editor.1 \
|
||||
mysql_waitpid.1 mysqladmin.1 mysqlbinlog.1 \
|
||||
mysqlcheck.1 mysqldump.1 mysqlimport.1 mysqlshow.1 mysqlslap.1
|
||||
|
||||
CLIENT_ONLY= yes
|
||||
|
||||
# Percona renamed the libraries, until we decide how to deal with it create some symlinks
|
||||
# to prevent breaking installed ports.
|
||||
post-install:
|
||||
${LN} -s libperconaserverclient.so ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient.so
|
||||
${LN} -s libperconaserverclient.so.20 ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient.so.20
|
||||
${LN} -s libperconaserverclient.a ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.a
|
||||
${LN} -s libperconaserverclient.so ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.so
|
||||
${LN} -s libperconaserverclient.so.20 ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.so.20
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
36
databases/percona57-client/files/patch-CMakeLists.txt
Normal file
36
databases/percona57-client/files/patch-CMakeLists.txt
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
--- CMakeLists.txt.orig 2016-11-27 19:44:54 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -613,8 +613,8 @@ ENDIF()
|
||||
|
||||
ADD_SUBDIRECTORY(extra)
|
||||
ADD_SUBDIRECTORY(client)
|
||||
-ADD_SUBDIRECTORY(sql/share)
|
||||
ADD_SUBDIRECTORY(libservices)
|
||||
+ADD_SUBDIRECTORY(support-files)
|
||||
|
||||
IF(UNIX)
|
||||
ADD_SUBDIRECTORY(man)
|
||||
@@ -684,14 +684,13 @@ ELSE()
|
||||
SET(CPACK_GENERATOR "TGZ")
|
||||
ENDIF()
|
||||
ADD_SUBDIRECTORY(packaging/WiX)
|
||||
-ADD_SUBDIRECTORY(packaging/solaris)
|
||||
|
||||
IF(UNIX)
|
||||
- INSTALL(FILES Docs/mysql.info DESTINATION ${INSTALL_INFODIR} OPTIONAL COMPONENT Info)
|
||||
ENDIF()
|
||||
#
|
||||
# RPM installs documentation directly from the source tree
|
||||
#
|
||||
+IF(FALSE)
|
||||
IF(NOT INSTALL_LAYOUT MATCHES "RPM")
|
||||
INSTALL(FILES COPYING LICENSE.mysql
|
||||
DESTINATION ${INSTALL_DOCREADMEDIR}
|
||||
@@ -714,6 +713,7 @@ IF(NOT INSTALL_LAYOUT MATCHES "RPM")
|
||||
PATTERN "sp-imp-spec.txt" EXCLUDE
|
||||
)
|
||||
ENDIF()
|
||||
+ENDIF()
|
||||
|
||||
INCLUDE(CPack)
|
||||
|
||||
43
databases/percona57-client/files/patch-client_CMakeLists.txt
Normal file
43
databases/percona57-client/files/patch-client_CMakeLists.txt
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
--- client/CMakeLists.txt.orig 2016-11-27 19:44:54 UTC
|
||||
+++ client/CMakeLists.txt
|
||||
@@ -47,6 +47,7 @@ IF(UNIX)
|
||||
TARGET_LINK_LIBRARIES(mysql ${MY_READLINE_LIBRARY})
|
||||
ENDIF(UNIX)
|
||||
|
||||
+IF(FALSE)
|
||||
IF(NOT WITHOUT_SERVER)
|
||||
MYSQL_ADD_EXECUTABLE(mysql_upgrade
|
||||
upgrade/program.cc
|
||||
@@ -57,10 +58,13 @@ ADD_COMPILE_FLAGS(
|
||||
TARGET_LINK_LIBRARIES(mysql_upgrade perconaserverclient client_base mysqlcheck_core)
|
||||
ADD_DEPENDENCIES(mysql_upgrade GenFixPrivs GenSysSchema)
|
||||
ENDIF()
|
||||
+ENDIF()
|
||||
|
||||
+IF(FALSE)
|
||||
MYSQL_ADD_EXECUTABLE(mysqltest mysqltest.cc COMPONENT Test)
|
||||
SET_SOURCE_FILES_PROPERTIES(mysqltest.cc PROPERTIES COMPILE_FLAGS "-DTHREADS")
|
||||
TARGET_LINK_LIBRARIES(mysqltest perconaserverclient regex)
|
||||
+ENDIF()
|
||||
|
||||
ADD_CONVENIENCE_LIBRARY(mysqlcheck_core check/mysqlcheck_core.cc)
|
||||
TARGET_LINK_LIBRARIES(mysqlcheck_core perconaserverclient)
|
||||
@@ -78,8 +82,10 @@ TARGET_LINK_LIBRARIES(mysqlimport percon
|
||||
MYSQL_ADD_EXECUTABLE(mysqlshow mysqlshow.c)
|
||||
TARGET_LINK_LIBRARIES(mysqlshow perconaserverclient)
|
||||
|
||||
+IF(FALSE)
|
||||
MYSQL_ADD_EXECUTABLE(mysql_plugin mysql_plugin.c)
|
||||
TARGET_LINK_LIBRARIES(mysql_plugin perconaserverclient)
|
||||
+ENDIF()
|
||||
|
||||
MYSQL_ADD_EXECUTABLE(mysqlbinlog mysqlbinlog.cc)
|
||||
ADD_COMPILE_FLAGS(
|
||||
@@ -122,7 +128,6 @@ IF(WIN32)
|
||||
ENDIF(WIN32)
|
||||
|
||||
SET_TARGET_PROPERTIES (
|
||||
- mysql_plugin
|
||||
mysqlcheck
|
||||
mysqldump
|
||||
mysqlimport
|
||||
16
databases/percona57-client/files/patch-client__mysql.cc
Normal file
16
databases/percona57-client/files/patch-client__mysql.cc
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
--- client/mysql.cc.orig 2016-11-27 19:44:54 UTC
|
||||
+++ client/mysql.cc
|
||||
@@ -1903,11 +1903,11 @@ static void usage(int version)
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_READLINE
|
||||
- printf("%s Ver %s Distrib %s, for %s (%s) using %s %s\n",
|
||||
+ printf("%s Ver %s Distrib %s Percona, for %s (%s) using %s %s\n",
|
||||
my_progname, VER, MYSQL_SERVER_VERSION, SYSTEM_TYPE, MACHINE_TYPE,
|
||||
readline, rl_library_version);
|
||||
#else
|
||||
- printf("%s Ver %s Distrib %s, for %s (%s)\n", my_progname, VER,
|
||||
+ printf("%s Ver %s Distrib %s Percona, for %s (%s)\n", my_progname, VER,
|
||||
MYSQL_SERVER_VERSION, SYSTEM_TYPE, MACHINE_TYPE);
|
||||
#endif
|
||||
|
||||
33
databases/percona57-client/files/patch-extra_CMakeLists.txt
Normal file
33
databases/percona57-client/files/patch-extra_CMakeLists.txt
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
--- extra/CMakeLists.txt.orig 2016-11-27 19:44:54 UTC
|
||||
+++ extra/CMakeLists.txt
|
||||
@@ -45,6 +45,7 @@ ENDIF()
|
||||
|
||||
ADD_CUSTOM_COMMAND(OUTPUT ${PROJECT_BINARY_DIR}/include/mysqld_error.h
|
||||
${PROJECT_BINARY_DIR}/sql/share/english/errmsg.sys
|
||||
+ COMMAND mkdir -p ${PROJECT_BINARY_DIR}/sql/share/
|
||||
COMMAND comp_err
|
||||
--charset=${PROJECT_SOURCE_DIR}/sql/share/charsets
|
||||
--out-dir=${PROJECT_BINARY_DIR}/sql/share/
|
||||
@@ -73,6 +74,7 @@ IF (WIN32 AND WITH_SSL_PATH AND HAVE_CRY
|
||||
ENDIF()
|
||||
|
||||
|
||||
+IF(FALSE)
|
||||
MYSQL_ADD_EXECUTABLE(my_print_defaults my_print_defaults.c)
|
||||
TARGET_LINK_LIBRARIES(my_print_defaults mysys mysys_ssl)
|
||||
SET_TARGET_PROPERTIES(my_print_defaults PROPERTIES LINKER_LANGUAGE CXX)
|
||||
@@ -142,11 +144,14 @@ IF(WITH_INNOBASE_STORAGE_ENGINE)
|
||||
TARGET_LINK_LIBRARIES(innochecksum mysys mysys_ssl ${LZ4_LIBRARY})
|
||||
ADD_DEPENDENCIES(innochecksum GenError)
|
||||
ENDIF()
|
||||
+ENDIF()
|
||||
|
||||
+IF(FALSE)
|
||||
IF(UNIX)
|
||||
MYSQL_ADD_EXECUTABLE(resolve_stack_dump resolve_stack_dump.cc)
|
||||
TARGET_LINK_LIBRARIES(resolve_stack_dump mysys mysys_ssl)
|
||||
ENDIF()
|
||||
+ENDIF()
|
||||
|
||||
# In published release builds on Solaris, we need to bundle gcc source.
|
||||
# PB2 will take care of putting it in extra/ when needed
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
--- include/CMakeLists.txt.orig 2016-11-27 19:44:54 UTC
|
||||
+++ include/CMakeLists.txt
|
||||
@@ -38,6 +38,7 @@ SET(HEADERS_ABI
|
||||
|
||||
SET(HEADERS
|
||||
${HEADERS_ABI}
|
||||
+ hash.h
|
||||
my_dbug.h
|
||||
m_string.h
|
||||
my_sys.h
|
||||
11
databases/percona57-client/files/patch-include_my__compare.h
Normal file
11
databases/percona57-client/files/patch-include_my__compare.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- include/my_compare.h.orig 2016-11-27 19:44:54 UTC
|
||||
+++ include/my_compare.h
|
||||
@@ -40,7 +40,7 @@ extern "C" {
|
||||
But beware the dependency of MI_MAX_POSSIBLE_KEY_BUFF and HA_MAX_KEY_LENGTH.
|
||||
*/
|
||||
|
||||
-#define HA_MAX_KEY_LENGTH 1000 /* Max length in bytes */
|
||||
+#define HA_MAX_KEY_LENGTH 4000 /* Max length in bytes */
|
||||
#define HA_MAX_KEY_SEG 16 /* Max segments for key */
|
||||
|
||||
#define HA_MAX_POSSIBLE_KEY_BUFF (HA_MAX_KEY_LENGTH + 24+ 6+6)
|
||||
11
databases/percona57-client/files/patch-include_myisam.h
Normal file
11
databases/percona57-client/files/patch-include_myisam.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- include/myisam.h.orig 2016-11-27 19:44:54 UTC
|
||||
+++ include/myisam.h
|
||||
@@ -45,7 +45,7 @@ extern "C" {
|
||||
The following defines can be increased if necessary.
|
||||
But beware the dependency of MI_MAX_POSSIBLE_KEY_BUFF and MI_MAX_KEY_LENGTH.
|
||||
*/
|
||||
-#define MI_MAX_KEY_LENGTH 1000 /* Max length in bytes */
|
||||
+#define MI_MAX_KEY_LENGTH 4000 /* Max length in bytes */
|
||||
#define MI_MAX_KEY_SEG 16 /* Max segments for key */
|
||||
|
||||
#define MI_MAX_KEY_BUFF (MI_MAX_KEY_LENGTH+MI_MAX_KEY_SEG*6+8+8)
|
||||
13
databases/percona57-client/files/patch-man_CMakeLists.txt
Normal file
13
databases/percona57-client/files/patch-man_CMakeLists.txt
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
--- man/CMakeLists.txt.orig 2015-11-29 19:16:24 UTC
|
||||
+++ man/CMakeLists.txt
|
||||
@@ -15,10 +15,6 @@
|
||||
|
||||
# Copy man pages
|
||||
FILE(GLOB MAN1_FILES *.1)
|
||||
-FILE(GLOB MAN1_EXCLUDE make_win_bin_dist.1)
|
||||
-FILE(GLOB MAN1_NDB ndb*.1)
|
||||
-FILE(GLOB MAN8_FILES *.8)
|
||||
-FILE(GLOB MAN8_NDB ndb*.8)
|
||||
IF(MAN1_FILES)
|
||||
IF(MAN1_EXCLUDE)
|
||||
LIST(REMOVE_ITEM MAN1_FILES ${MAN1_EXCLUDE})
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
--- mysys_ssl/my_default.cc.orig 2016-11-27 19:44:54 UTC
|
||||
+++ mysys_ssl/my_default.cc
|
||||
@@ -114,7 +114,7 @@ static my_bool defaults_already_read= FA
|
||||
|
||||
/* Which directories are searched for options (and in which order) */
|
||||
|
||||
-#define MAX_DEFAULT_DIRS 6
|
||||
+#define MAX_DEFAULT_DIRS 7
|
||||
#define DEFAULT_DIRS_SIZE (MAX_DEFAULT_DIRS + 1) /* Terminate with NULL */
|
||||
static const char **default_directories = NULL;
|
||||
|
||||
@@ -1416,7 +1416,10 @@ static const char **init_default_directo
|
||||
|
||||
#if defined(DEFAULT_SYSCONFDIR)
|
||||
if (DEFAULT_SYSCONFDIR[0])
|
||||
+ {
|
||||
errors += add_directory(alloc, DEFAULT_SYSCONFDIR, dirs);
|
||||
+ errors += add_directory(alloc, DEFAULT_SYSCONFDIR "/mysql", dirs);
|
||||
+ }
|
||||
#endif /* DEFAULT_SYSCONFDIR */
|
||||
|
||||
#endif
|
||||
@@ -1488,7 +1491,7 @@ int check_file_permissions(const char *f
|
||||
MY_STAT stat_info;
|
||||
|
||||
if (!my_stat(file_name,&stat_info,MYF(0)))
|
||||
- return 1;
|
||||
+ return 0;
|
||||
/*
|
||||
Ignore .mylogin.cnf file if not exclusively readable/writable
|
||||
by current user.
|
||||
|
|
@ -0,0 +1,67 @@
|
|||
--- scripts/CMakeLists.txt.orig 2016-11-27 19:44:54 UTC
|
||||
+++ scripts/CMakeLists.txt
|
||||
@@ -19,7 +19,7 @@ IF(NOT CMAKE_CROSSCOMPILING)
|
||||
TARGET_LINK_LIBRARIES(comp_sql)
|
||||
ENDIF()
|
||||
|
||||
-
|
||||
+IF(FALSE)
|
||||
# Build mysql_fix_privilege_tables.sql (concatenate 2 sql scripts)
|
||||
IF(NOT WIN32 OR CMAKE_CROSSCOMPILING)
|
||||
FIND_PROGRAM(CAT_EXECUTABLE cat DOC "path to the executable")
|
||||
@@ -63,6 +63,7 @@ ADD_CUSTOM_TARGET(GenFixPrivs
|
||||
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/mysql_fix_privilege_tables_sql.c
|
||||
${CMAKE_CURRENT_BINARY_DIR}/sql_commands_sys_schema.h
|
||||
)
|
||||
+ENDIF()
|
||||
|
||||
# If we do not have performance schema compiled in then sys will not work,
|
||||
# so only create an empty sys database with an auto-generated file,
|
||||
@@ -143,6 +144,7 @@ IF(NOT WITHOUT_SERVER)
|
||||
)
|
||||
ENDIF()
|
||||
|
||||
+IF(FALSE)
|
||||
IF(UNIX)
|
||||
FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/make_binary_distribution
|
||||
"cd ${CMAKE_BINARY_DIR} && '${CMAKE_CPACK_COMMAND}' -G TGZ --config CPackConfig.cmake\n" )
|
||||
@@ -150,6 +152,7 @@ IF(UNIX)
|
||||
COMMAND chmod +x ${CMAKE_CURRENT_BINARY_DIR}/make_binary_distribution
|
||||
)
|
||||
ENDIF()
|
||||
+ENDIF()
|
||||
|
||||
IF(NOT WITHOUT_SERVER)
|
||||
INSTALL(FILES
|
||||
@@ -347,6 +350,8 @@ MACRO(EXTRACT_LINK_LIBRARIES target var)
|
||||
GET_FILENAME_COMPONENT(lib "${lib}" NAME_WE)
|
||||
STRING(REGEX REPLACE "^lib" "" lib "${lib}")
|
||||
SET(${var} "${${var}}-l${lib} " )
|
||||
+ ELSEIF(lib STREQUAL "-pthread")
|
||||
+ SET(${var} "${${var}}-pthread " )
|
||||
ELSE()
|
||||
SET(${var} "${${var}}-l${lib} " )
|
||||
ENDIF()
|
||||
@@ -430,21 +435,7 @@ ELSE()
|
||||
# On Unix, most of the files end up in the bin directory
|
||||
SET(mysql_config_COMPONENT COMPONENT Development)
|
||||
|
||||
- IF(WITH_SYSTEMD)
|
||||
- SET(BIN_SCRIPTS
|
||||
- mysql_config
|
||||
- mysqldumpslow
|
||||
- ps_tokudb_admin
|
||||
- )
|
||||
- ELSE()
|
||||
- SET(BIN_SCRIPTS
|
||||
- mysql_config
|
||||
- mysqldumpslow
|
||||
- mysqld_multi
|
||||
- mysqld_safe
|
||||
- ps_tokudb_admin
|
||||
- )
|
||||
- ENDIF()
|
||||
+ SET(BIN_SCRIPTS mysql_config)
|
||||
|
||||
SET(PKGCONFIG_FILE ${LIBMYSQL_OS_OUTPUT_NAME}.pc)
|
||||
STRING(REGEX REPLACE "/mysql$" "" PKGCONFIG_DIR "${INSTALL_LIBDIR}")
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
--- support-files/CMakeLists.txt.orig 2016-11-27 19:44:54 UTC
|
||||
+++ support-files/CMakeLists.txt
|
||||
@@ -44,14 +44,17 @@ ELSE()
|
||||
SET(inst_location ${INSTALL_SUPPORTFILESDIR})
|
||||
ENDIF()
|
||||
|
||||
+IF(FALSE)
|
||||
SET(inifile my-default)
|
||||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${inifile}.cnf.sh
|
||||
${CMAKE_CURRENT_BINARY_DIR}/${inifile}.${ini_file_extension} @ONLY)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${inifile}.${ini_file_extension}
|
||||
DESTINATION ${inst_location} COMPONENT IniFiles)
|
||||
+ENDIF()
|
||||
|
||||
IF(UNIX)
|
||||
SET(prefix ${CMAKE_INSTALL_PREFIX})
|
||||
+IF(FALSE)
|
||||
FOREACH(script mysqld_multi.server mysql-log-rotate)
|
||||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${script}.sh
|
||||
${CMAKE_CURRENT_BINARY_DIR}/${script} @ONLY )
|
||||
@@ -68,9 +71,11 @@ IF(UNIX)
|
||||
IF(INSTALL_SUPPORTFILESDIR)
|
||||
INSTALL(FILES magic DESTINATION ${inst_location} COMPONENT SupportFiles)
|
||||
ENDIF()
|
||||
+ENDIF()
|
||||
|
||||
INSTALL(FILES mysql.m4 DESTINATION ${INSTALL_SHAREDIR}/aclocal COMPONENT Development)
|
||||
|
||||
+IF(FALSE)
|
||||
SET(bindir ${prefix}/${INSTALL_BINDIR})
|
||||
SET(sbindir ${prefix}/${INSTALL_SBINDIR})
|
||||
SET(scriptdir ${prefix}/${INSTALL_SCRIPTDIR})
|
||||
@@ -83,3 +88,4 @@ IF(UNIX)
|
||||
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ
|
||||
GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
|
||||
ENDIF()
|
||||
+ENDIF()
|
||||
13
databases/percona57-client/files/patch-vio_viosocket.c
Normal file
13
databases/percona57-client/files/patch-vio_viosocket.c
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
--- vio/viosocket.c.orig 2016-11-27 19:44:54 UTC
|
||||
+++ vio/viosocket.c
|
||||
@@ -45,6 +45,10 @@
|
||||
static void (*before_io_wait)(void)= 0;
|
||||
static void (*after_io_wait)(void)= 0;
|
||||
|
||||
+#ifdef __FreeBSD__
|
||||
+#define s6_addr32 __u6_addr.__u6_addr32
|
||||
+#endif
|
||||
+
|
||||
/* Wait callback macros (both performance schema and threadpool */
|
||||
#define START_SOCKET_WAIT(locker, state_ptr, sock, which, timeout) \
|
||||
do \
|
||||
143
databases/percona57-client/pkg-plist
Normal file
143
databases/percona57-client/pkg-plist
Normal file
|
|
@ -0,0 +1,143 @@
|
|||
bin/mysql
|
||||
bin/mysqladmin
|
||||
bin/mysqlbinlog
|
||||
bin/mysqlcheck
|
||||
bin/mysql_config
|
||||
bin/mysql_config_editor
|
||||
bin/mysqldump
|
||||
bin/mysqlimport
|
||||
bin/mysqlpump
|
||||
bin/mysql_secure_installation
|
||||
bin/mysqlshow
|
||||
bin/mysqlslap
|
||||
bin/mysql_ssl_rsa_setup
|
||||
include/mysql/big_endian.h
|
||||
include/mysql/binary_log_types.h
|
||||
include/mysql/byte_order_generic.h
|
||||
include/mysql/byte_order_generic_x86.h
|
||||
include/mysql/decimal.h
|
||||
include/mysql/errmsg.h
|
||||
include/mysql/hash.h
|
||||
include/mysql/keycache.h
|
||||
include/mysql/little_endian.h
|
||||
include/mysql/m_ctype.h
|
||||
include/mysql/m_string.h
|
||||
include/mysql/my_alloc.h
|
||||
include/mysql/my_byteorder.h
|
||||
include/mysql/my_command.h
|
||||
include/mysql/my_compiler.h
|
||||
include/mysql/my_config.h
|
||||
include/mysql/my_dbug.h
|
||||
include/mysql/my_dir.h
|
||||
include/mysql/my_getopt.h
|
||||
include/mysql/my_global.h
|
||||
include/mysql/my_list.h
|
||||
include/mysql/mysql/client_authentication.h
|
||||
include/mysql/mysql/client_plugin.h
|
||||
include/mysql/mysql/client_plugin.h.pp
|
||||
include/mysql/mysql/com_data.h
|
||||
include/mysql/mysql_com.h
|
||||
include/mysql/mysql_com_server.h
|
||||
include/mysql/mysqld_ername.h
|
||||
include/mysql/mysqld_error.h
|
||||
include/mysql/mysql_embed.h
|
||||
include/mysql/mysql/get_password.h
|
||||
include/mysql/mysql/group_replication_priv.h
|
||||
include/mysql/mysql.h
|
||||
include/mysql/mysql/innodb_priv.h
|
||||
include/mysql/mysql/mysql_lex_string.h
|
||||
include/mysql/mysql/plugin_audit.h
|
||||
include/mysql/mysql/plugin_audit.h.pp
|
||||
include/mysql/mysql/plugin_auth_common.h
|
||||
include/mysql/mysql/plugin_auth.h
|
||||
include/mysql/mysql/plugin_auth.h.pp
|
||||
include/mysql/mysql/plugin_ftparser.h
|
||||
include/mysql/mysql/plugin_ftparser.h.pp
|
||||
include/mysql/mysql/plugin_group_replication.h
|
||||
include/mysql/mysql/plugin.h
|
||||
include/mysql/mysql/plugin_keyring.h
|
||||
include/mysql/mysql/plugin_keyring.h.pp
|
||||
include/mysql/mysql/plugin_trace.h
|
||||
include/mysql/mysql/plugin_validate_password.h
|
||||
include/mysql/mysql/psi/mysql_file.h
|
||||
include/mysql/mysql/psi/mysql_idle.h
|
||||
include/mysql/mysql/psi/mysql_mdl.h
|
||||
include/mysql/mysql/psi/mysql_memory.h
|
||||
include/mysql/mysql/psi/mysql_ps.h
|
||||
include/mysql/mysql/psi/mysql_socket.h
|
||||
include/mysql/mysql/psi/mysql_sp.h
|
||||
include/mysql/mysql/psi/mysql_stage.h
|
||||
include/mysql/mysql/psi/mysql_statement.h
|
||||
include/mysql/mysql/psi/mysql_table.h
|
||||
include/mysql/mysql/psi/mysql_thread.h
|
||||
include/mysql/mysql/psi/mysql_transaction.h
|
||||
include/mysql/mysql/psi/psi_base.h
|
||||
include/mysql/mysql/psi/psi.h
|
||||
include/mysql/mysql/psi/psi_memory.h
|
||||
include/mysql/mysql/service_command.h
|
||||
include/mysql/mysql/service_locking.h
|
||||
include/mysql/mysql/service_my_plugin_log.h
|
||||
include/mysql/mysql/service_my_snprintf.h
|
||||
include/mysql/mysql/service_mysql_alloc.h
|
||||
include/mysql/mysql/service_mysql_keyring.h
|
||||
include/mysql/mysql/service_mysql_password_policy.h
|
||||
include/mysql/mysql/service_mysql_string.h
|
||||
include/mysql/mysql/service_parser.h
|
||||
include/mysql/mysql/service_rpl_transaction_ctx.h
|
||||
include/mysql/mysql/service_rpl_transaction_write_set.h
|
||||
include/mysql/mysql/service_rules_table.h
|
||||
include/mysql/mysql/service_security_context.h
|
||||
include/mysql/mysql/services.h
|
||||
include/mysql/mysql/services.h.pp
|
||||
include/mysql/mysql/service_srv_session.h
|
||||
include/mysql/mysql/service_srv_session_info.h
|
||||
include/mysql/mysql/service_ssl_wrapper.h
|
||||
include/mysql/mysql/service_thd_alloc.h
|
||||
include/mysql/mysql/service_thd_engine_lock.h
|
||||
include/mysql/mysql/service_thd_wait.h
|
||||
include/mysql/mysql/service_thread_scheduler.h
|
||||
include/mysql/mysql/thread_pool_priv.h
|
||||
include/mysql/mysql/thread_type.h
|
||||
include/mysql/mysql_time.h
|
||||
include/mysql/mysql_version.h
|
||||
include/mysql/my_sys.h
|
||||
include/mysql/my_thread.h
|
||||
include/mysql/my_thread_local.h
|
||||
include/mysql/my_xml.h
|
||||
include/mysql/plugin_audit.h
|
||||
include/mysql/plugin_ftparser.h
|
||||
include/mysql/plugin_group_replication.h
|
||||
include/mysql/plugin.h
|
||||
include/mysql/plugin_keyring.h
|
||||
include/mysql/plugin_validate_password.h
|
||||
include/mysql/sql_common.h
|
||||
include/mysql/sql_state.h
|
||||
include/mysql/sslopt-case.h
|
||||
include/mysql/sslopt-longopts.h
|
||||
include/mysql/sslopt-vars.h
|
||||
include/mysql/thr_cond.h
|
||||
include/mysql/thr_mutex.h
|
||||
include/mysql/thr_rwlock.h
|
||||
include/mysql/typelib.h
|
||||
lib/mysql/libmysqlclient_r.a
|
||||
lib/mysql/libmysqlclient_r.so
|
||||
lib/mysql/libmysqlclient_r.so.20
|
||||
lib/mysql/libmysqlclient.so
|
||||
lib/mysql/libmysqlclient.so.20
|
||||
lib/mysql/libmysqlservices.a
|
||||
lib/mysql/libperconaserverclient.a
|
||||
lib/mysql/libperconaserverclient.so
|
||||
lib/mysql/libperconaserverclient.so.20
|
||||
libdata/pkgconfig/perconaserverclient.pc
|
||||
man/man1/comp_err.1.gz
|
||||
man/man1/mysql.1.gz
|
||||
man/man1/mysqladmin.1.gz
|
||||
man/man1/mysqlbinlog.1.gz
|
||||
man/man1/mysqlcheck.1.gz
|
||||
man/man1/mysql_config.1.gz
|
||||
man/man1/mysql_config_editor.1.gz
|
||||
man/man1/mysqldump.1.gz
|
||||
man/man1/mysqlimport.1.gz
|
||||
man/man1/mysqlshow.1.gz
|
||||
man/man1/mysqlslap.1.gz
|
||||
share/aclocal/mysql.m4
|
||||
33
databases/percona57-pam-for-mysql/Makefile
Normal file
33
databases/percona57-pam-for-mysql/Makefile
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# Created by: Mark Felder <feld@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= percona57
|
||||
PORTREVISION?= 0
|
||||
PKGNAMESUFFIX= -pam-for-mysql
|
||||
|
||||
COMMENT= PAM plugin for MySQL
|
||||
|
||||
LICENSE= GPLv2+
|
||||
|
||||
RUN_DEPENDS=# This plugin has no run dependencies. It should work with any desired mysql client/server.
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../percona57-server
|
||||
|
||||
PKGMESSAGE= ${.CURDIR}/pkg-message
|
||||
PATCHDIR= ${MASTERDIR}/files
|
||||
FILESDIR= ${.CURDIR}/files
|
||||
PLIST= ${.CURDIR}/pkg-plist
|
||||
DESCR= ${.CURDIR}/pkg-descr
|
||||
|
||||
CONFLICTS_INSTALL= percona5[0-68-9]-pam-for-mysql* \
|
||||
percona-pam-for-mysql*
|
||||
|
||||
CMAKE_ARGS+= -DWITH_PAM=1
|
||||
|
||||
PLUGIN_ONLY= yes
|
||||
|
||||
do-install:
|
||||
(cd ${WRKSRC}/plugin/percona-pam-for-mysql && ${MAKE} ${MAKE_ARGS} install)
|
||||
${INSTALL_DATA} ${FILESDIR}/pam.conf ${STAGEDIR}${PREFIX}/etc/pam.d/mysqld.sample
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
12
databases/percona57-pam-for-mysql/files/pam.conf
Normal file
12
databases/percona57-pam-for-mysql/files/pam.conf
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#
|
||||
# PAM configuration for the "mysqld" service
|
||||
#
|
||||
|
||||
# auth
|
||||
auth include system
|
||||
|
||||
# account
|
||||
account include system
|
||||
|
||||
# password
|
||||
password include system
|
||||
3
databases/percona57-pam-for-mysql/pkg-descr
Normal file
3
databases/percona57-pam-for-mysql/pkg-descr
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
Percona PAM authentication plugin for MySQL.
|
||||
|
||||
WWW: https://www.percona.com/
|
||||
10
databases/percona57-pam-for-mysql/pkg-message
Normal file
10
databases/percona57-pam-for-mysql/pkg-message
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
Documentation for using percona-pam-for-mysql authentication plugin can
|
||||
be found at:
|
||||
|
||||
https://www.percona.com/doc/percona-pam-for-mysql/index.html
|
||||
|
||||
Please note that you need this plugin installed on both the client and
|
||||
server for authentication to be successful.
|
||||
|
||||
This version of the plugin is compatible with the new auth plugin API
|
||||
introduced in MySQL 5.7.
|
||||
5
databases/percona57-pam-for-mysql/pkg-plist
Normal file
5
databases/percona57-pam-for-mysql/pkg-plist
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
@sample etc/pam.d/mysqld.sample
|
||||
lib/mysql/plugin/auth_pam.so
|
||||
lib/mysql/plugin/auth_pam_compat.so
|
||||
lib/mysql/plugin/dialog.so
|
||||
@dir lib/mysql/plugin/debug
|
||||
147
databases/percona57-server/Makefile
Normal file
147
databases/percona57-server/Makefile
Normal file
|
|
@ -0,0 +1,147 @@
|
|||
# Created by: Mark Felder <feld@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME?= percona
|
||||
DISTVERSION= 5.7.16-10
|
||||
PORTREVISION?= 1
|
||||
CATEGORIES= databases ipv6
|
||||
MASTER_SITES= http://www.percona.com/downloads/Percona-Server-5.7/Percona-Server-${DISTVERSION}/source/tarball/:percona \
|
||||
SF/boost/boost/1.59.0:boost
|
||||
PKGNAMESUFFIX?= 57-server
|
||||
DISTNAME= percona-server-${DISTVERSION}
|
||||
DISTFILES= percona-server-${DISTVERSION}${EXTRACT_SUFX}:percona \
|
||||
boost_1_59_0${EXTRACT_SUFX}:boost
|
||||
|
||||
MAINTAINER= feld@FreeBSD.org
|
||||
COMMENT?= Multithreaded SQL database (server)
|
||||
|
||||
LICENSE?= GPLv2+
|
||||
|
||||
LIB_DEPENDS= libevent.so:devel/libevent2 \
|
||||
liblz4.so:archivers/liblz4
|
||||
|
||||
BROKEN_powerpc64= Does not build
|
||||
|
||||
SLAVEDIRS= databases/percona57-client \
|
||||
databases/percona57-pam-for-mysql
|
||||
USES= bison:build cmake compiler:c11 compiler:c++11-lib \
|
||||
cpe libedit localbase perl5 shebangfix
|
||||
|
||||
MY_DBDIR= /var/db/mysql
|
||||
MY_SECDIR= /var/db/mysql_secure
|
||||
MY_TMPDIR= /var/db/mysql_tmpdir
|
||||
|
||||
DATADIR= ${LOCALBASE}/share/mysql
|
||||
DOCSDIR= ${LOCALBASE}/share/doc/mysql
|
||||
|
||||
CMAKE_ARGS+= -DINSTALL_LAYOUT=FREEBSD \
|
||||
-DINSTALL_DOCDIR="share/doc/mysql" \
|
||||
-DINSTALL_LDCONFIGDIR="${LOCALBASE}/libdata/ldconfig" \
|
||||
-DINSTALL_PKGCONFIGDIR="${LOCALBASE}/libdata/pkgconfig" \
|
||||
-DINSTALL_DOCREADMEDIR="share/doc/mysql" \
|
||||
-DINSTALL_INCLUDEDIR="include/mysql" \
|
||||
-DINSTALL_INFODIR="info" \
|
||||
-DINSTALL_LIBDIR="lib/mysql" \
|
||||
-DINSTALL_MANDIR="man" \
|
||||
-DINSTALL_MYSQLDATADIR="/var/db/mysql" \
|
||||
-DINSTALL_SECURE_FILE_PRIVDIR="${MY_SECDIR}" \
|
||||
-DINSTALL_MYSQLSHAREDIR="share/mysql" \
|
||||
-DINSTALL_MYSQLTESTDIR="share/mysql/tests" \
|
||||
-DINSTALL_PLUGINDIR="lib/mysql/plugin" \
|
||||
-DINSTALL_SBINDIR="libexec" \
|
||||
-DINSTALL_SCRIPTDIR="bin" \
|
||||
-DINSTALL_SHAREDIR="share" \
|
||||
-DINSTALL_SQLBENCHDIR="share/mysql" \
|
||||
-DINSTALL_SUPPORTFILESDIR="share/mysql" \
|
||||
-DWITH_UNIT_TESTS=0 \
|
||||
-DWITH_EDITLINE=system \
|
||||
-DWITH_LIBWRAP=0 \
|
||||
-DWITH_LZ4=system \
|
||||
-DWITH_ZLIB=system \
|
||||
-DINSTALL_MYSQLTESTDIR=0 \
|
||||
-DWITH_BOOST="${WRKDIR}/boost_1_59_0"
|
||||
|
||||
SHEBANG_FILES= scripts/*.pl* scripts/*.sh
|
||||
|
||||
.ifdef USE_MYSQL
|
||||
.error You have `USE_MYSQL' variable defined either in environment or in make(1) arguments. Please undefine and try again.
|
||||
.endif
|
||||
|
||||
SUB_LIST= MY_DBDIR=${MY_DBDIR} \
|
||||
MY_SECDIR=${MY_SECDIR} \
|
||||
MY_TMPDIR=${MY_TMPDIR}
|
||||
|
||||
PLIST_SUB= MY_DBDIR=${MY_DBDIR} \
|
||||
MY_SECDIR=${MY_SECDIR} \
|
||||
MY_TMPDIR=${MY_TMPDIR}
|
||||
|
||||
.ifdef CLIENT_ONLY
|
||||
# Client part
|
||||
USES+= libedit
|
||||
.elifdef PLUGIN_ONLY
|
||||
# For building plugins (percona-pam-for-mysql, etc)
|
||||
# Currently do nothing special
|
||||
USES+= libedit
|
||||
.else
|
||||
# MySQL-Server part
|
||||
OPTIONS_DEFINE= OPENSSL FASTMTX INNODBMEMCACHED TOKUDB
|
||||
OPTIONS_DEFAULT= OPENSSL INNODBMEMCACHED
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
FASTMTX_DESC= Replace mutexes with spinlocks
|
||||
FASTMTX_CMAKE_ON= -DWITH_FAST_MUTEXES=1
|
||||
INNODBMEMCACHED_DESC= InnoDB Memcached plugin
|
||||
INNODBMEMCACHED_CMAKE_ON= -DWITH_INNODB_MEMCACHED=1
|
||||
OPENSSL_CMAKE_ON= -DWITH_SSL=system
|
||||
OPENSSL_USES= ssl
|
||||
TOKUDB_DESC= TokuDB Engine (experimental)
|
||||
TOKUDB_CMAKE_ON= -DUSE_CTAGS=0
|
||||
TOKUDB_EXTRA_PATCHES=${PATCHDIR}/extrapatch-tokudb
|
||||
|
||||
USES+=mysql:57p
|
||||
|
||||
CONFLICTS_INSTALL= mysql*-server-* \
|
||||
mariadb*-server-* \
|
||||
percona5[0-68-9]-server-*
|
||||
|
||||
USE_RC_SUBR= mysql-server
|
||||
|
||||
USERS= mysql
|
||||
GROUPS= mysql
|
||||
|
||||
INFO= mysql
|
||||
|
||||
USE_LDCONFIG+= ${PREFIX}/lib/mysql/plugin
|
||||
|
||||
MANPAGES= my_print_defaults.1 myisam_ftdump.1 myisamchk.1 myisamlog.1 myisampack.1 \
|
||||
mysql.server.1 mysql_convert_table_format.1 mysql_fix_extensions.1 \
|
||||
mysql_install_db.1 mysql_plugin.1 mysql_secure_installation.1 mysql_setpermission.1 \
|
||||
mysql_tzinfo_to_sql.1 mysql_upgrade.1 mysql_zap.1 mysqlbug.1 \
|
||||
mysqld_multi.1 mysqld_safe.1 mysqldumpslow.1 mysqlhotcopy.1 mysqlman.1 \
|
||||
mysqltest.1 perror.1 replace.1 resolve_stack_dump.1 resolveip.1
|
||||
|
||||
CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON"
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}/var/db/mysql
|
||||
${MKDIR} ${STAGEDIR}${ETCDIR}/keyring
|
||||
${MKDIR} ${STAGEDIR}${MY_SECDIR}
|
||||
${MKDIR} ${STAGEDIR}${MY_TMPDIR}
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's/*.1/${MANPAGES}/' ${WRKSRC}/man/CMakeLists.txt
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "arm"
|
||||
BROKEN= Does not compile on arm
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MTOKUDB}
|
||||
NOT_FOR_ARCHS= i386
|
||||
NOT_FOR_ARCHS_REASON= TokuDB not supported on 32-bit platforms, see \
|
||||
https://github.com/percona/PerconaFT/blob/master/README.md
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
5
databases/percona57-server/distinfo
Normal file
5
databases/percona57-server/distinfo
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
TIMESTAMP = 1481662079
|
||||
SHA256 (percona-server-5.7.16-10.tar.gz) = 1e88233d4bc5fd9a6910f2cc01ad5aca7d751f036cdba5a1c9954e1e25300347
|
||||
SIZE (percona-server-5.7.16-10.tar.gz) = 74341476
|
||||
SHA256 (boost_1_59_0.tar.gz) = 47f11c8844e579d02691a607fbd32540104a9ac7a2534a8ddaef50daf502baac
|
||||
SIZE (boost_1_59_0.tar.gz) = 83709983
|
||||
29
databases/percona57-server/files/extra-patch-config.h.cmake
Normal file
29
databases/percona57-server/files/extra-patch-config.h.cmake
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
--- Makefile
|
||||
+++ Makefile
|
||||
@@ -95,8 +95,8 @@ post-patch:
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
-.if ${ARCH} == "arm"
|
||||
-BROKEN= Does not compile on arm
|
||||
+.if ${ARCH} == "armv6"
|
||||
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-config.h.cmake
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
||||
--- /dev/null
|
||||
+++ files/extra-patch-config.h.cmake
|
||||
@@ -0,0 +1,12 @@
|
||||
+--- config.h.cmake.orig 2014-12-05 16:24:02 UTC
|
||||
++++ config.h.cmake
|
||||
+@@ -151,7 +151,8 @@
|
||||
+ #cmakedefine HAVE_FESETROUND 1
|
||||
+ #cmakedefine HAVE_FINITE 1
|
||||
+ #cmakedefine HAVE_FP_EXCEPT 1
|
||||
+-#cmakedefine HAVE_FPSETMASK 1
|
||||
++#cmakedefine HAVE_FPSETMASK 0
|
||||
++#cmakedefine HAVE_FEDISABLEEXCEPT 1
|
||||
+ #cmakedefine HAVE_FSEEKO 1
|
||||
+ #cmakedefine HAVE_FSYNC 1
|
||||
+ #cmakedefine HAVE_FTIME 1
|
||||
92
databases/percona57-server/files/extrapatch-tokudb
Normal file
92
databases/percona57-server/files/extrapatch-tokudb
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
--- storage/tokudb/CMakeLists.txt.orig 2016-03-03 15:32:33.000000000 +0200
|
||||
+++ storage/tokudb/CMakeLists.txt 2016-03-08 10:13:58.000000000 +0200
|
||||
@@ -1,6 +1,6 @@
|
||||
SET(TOKUDB_VERSION 5.6.29-76.2)
|
||||
# PerconaFT only supports x86-64 and cmake-2.8.9+
|
||||
-IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND
|
||||
+IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "amd64" AND
|
||||
NOT CMAKE_VERSION VERSION_LESS "2.8.9")
|
||||
CHECK_CXX_SOURCE_COMPILES(
|
||||
"
|
||||
@@ -118,5 +118,5 @@
|
||||
tokudb_thread.cc)
|
||||
MYSQL_ADD_PLUGIN(tokudb ${TOKUDB_SOURCES} STORAGE_ENGINE MODULE_ONLY
|
||||
LINK_LIBRARIES tokufractaltree_static tokuportability_static ${ZLIB_LIBRARY} stdc++)
|
||||
-SET(CMAKE_MODULE_LINKER_FLAGS_RELEASE "${CMAKE_MODULE_LINKER_FLAGS_RELEASE} -flto -fuse-linker-plugin")
|
||||
-SET(CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO "${CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO} -flto -fuse-linker-plugin")
|
||||
+SET(CMAKE_MODULE_LINKER_FLAGS_RELEASE "${CMAKE_MODULE_LINKER_FLAGS_RELEASE} ")
|
||||
+SET(CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO "${CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO} ")
|
||||
--- plugin/tokudb-backup-plugin/Percona-TokuBackup/backup/CMakeLists.txt.orig 2016-03-03 15:31:53.000000000 +0200
|
||||
+++ plugin/tokudb-backup-plugin/Percona-TokuBackup/backup/CMakeLists.txt 2016-03-10 11:13:23.772664272 +0200
|
||||
@@ -69,7 +69,7 @@
|
||||
endif ()
|
||||
endfunction(add_space_separated_property)
|
||||
|
||||
-set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -flto -UNDEBUG")
|
||||
+set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -UNDEBUG")
|
||||
if (NOT CMAKE_CXX_COMPILER_ID MATCHES Clang)
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -s")
|
||||
endif ()
|
||||
--- plugin/tokudb-backup-plugin/Percona-TokuBackup/backup/backup.cc.orig 2016-03-03 15:31:53.000000000 +0200
|
||||
+++ plugin/tokudb-backup-plugin/Percona-TokuBackup/backup/backup.cc 2016-03-08 10:40:07.000000000 +0200
|
||||
@@ -85,7 +85,7 @@
|
||||
if (oflag & O_CREAT) {
|
||||
va_list ap;
|
||||
va_start(ap, oflag);
|
||||
- mode_t mode = va_arg(ap, mode_t);
|
||||
+ mode_t mode = va_arg(ap, int);
|
||||
va_end(ap);
|
||||
the_manager.lock_file_op();
|
||||
fd = call_real_open(file, oflag, mode);
|
||||
--- plugin/tokudb-backup-plugin/Percona-TokuBackup/backup/file_hash_table.cc.orig 2016-03-03 15:31:53.000000000 +0200
|
||||
+++ plugin/tokudb-backup-plugin/Percona-TokuBackup/backup/file_hash_table.cc 2016-03-08 10:37:19.000000000 +0200
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
#include <string.h>
|
||||
#include <pthread.h>
|
||||
-#include <malloc.h>
|
||||
+#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "source_file.h"
|
||||
--- plugin/tokudb-backup-plugin/Percona-TokuBackup/backup/real_syscalls.cc.orig 2016-03-03 15:31:53.000000000 +0200
|
||||
+++ plugin/tokudb-backup-plugin/Percona-TokuBackup/backup/real_syscalls.cc 2016-03-08 10:38:58.000000000 +0200
|
||||
@@ -104,7 +104,7 @@
|
||||
if (oflag & O_CREAT) {
|
||||
va_list op;
|
||||
va_start(op, oflag);
|
||||
- mode_t mode = va_arg(op, mode_t);
|
||||
+ mode_t mode = va_arg(op, int);
|
||||
va_end(op);
|
||||
return real_open(file, oflag, mode);
|
||||
} else {
|
||||
--- storage/tokudb/PerconaFT/CMakeLists.txt.orig 2016-06-30 13:35:08.000000000 +0200
|
||||
+++ storage/tokudb/PerconaFT/CMakeLists.txt 2016-07-29 23:07:37.871068000 +0200
|
||||
@@ -82,7 +82,7 @@
|
||||
|
||||
install(
|
||||
FILES README.md COPYING.AGPLv3 COPYING.GPLv2 PATENTS
|
||||
- DESTINATION .
|
||||
+ DESTINATION ${INSTALL_DOCDIR}
|
||||
COMPONENT tokukv_misc
|
||||
)
|
||||
|
||||
--- storage/tokudb/PerconaFT/buildheader/CMakeLists.txt.orig 2016-07-29 23:30:26.557847000 +0200
|
||||
+++ storage/tokudb/PerconaFT/buildheader/CMakeLists.txt 2016-07-29 23:30:32.695950000 +0200
|
||||
@@ -1,6 +1,6 @@
|
||||
set_directory_properties(PROPERTIES INCLUDE_DIRECTORIES "")
|
||||
|
||||
-file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/runcat.sh" "#!/bin/bash
|
||||
+file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/runcat.sh" "#!/bin/sh
|
||||
out=$1; shift
|
||||
exec \"$@\" >$out")
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
set_property(TARGET make_tdb APPEND PROPERTY COMPILE_DEFINITIONS _GNU_SOURCE)
|
||||
add_custom_command(
|
||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/db.h"
|
||||
- COMMAND bash runcat.sh "${CMAKE_CURRENT_BINARY_DIR}/db.h" $<TARGET_FILE:make_tdb>
|
||||
+ COMMAND sh runcat.sh "${CMAKE_CURRENT_BINARY_DIR}/db.h" $<TARGET_FILE:make_tdb>
|
||||
DEPENDS make_tdb)
|
||||
add_custom_target(install_tdb_h DEPENDS
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/db.h")
|
||||
96
databases/percona57-server/files/mysql-server.in
Normal file
96
databases/percona57-server/files/mysql-server.in
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
# PROVIDE: mysql
|
||||
# REQUIRE: LOGIN
|
||||
# KEYWORD: shutdown
|
||||
|
||||
#
|
||||
# Add the following line to /etc/rc.conf to enable mysql:
|
||||
# mysql_enable (bool): Set to "NO" by default.
|
||||
# Set it to "YES" to enable MySQL.
|
||||
# mysql_limits (bool): Set to "NO" by default.
|
||||
# Set it to yes to run `limits -e -U mysql`
|
||||
# just before mysql starts.
|
||||
# mysql_dbdir (str): Default to "%%MY_DBDIR%%"
|
||||
# Base database directory.
|
||||
# mysql_confdir (str): Default to "%%ETCDIR%%"
|
||||
# Base configuration directory.
|
||||
# mysql_optfile (str): Server-specific option file.
|
||||
# Default to "${mysql_confdir}/my.cnf".
|
||||
# mysql_pidfile (str): Custum PID file path and name.
|
||||
# Default to "${mysql_dbdir}/${hostname}.pid".
|
||||
# mysql_args (str): Custom additional arguments to be passed
|
||||
# to mysqld_safe (default empty).
|
||||
#
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="mysql"
|
||||
rcvar=mysql_enable
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${mysql_enable="NO"}
|
||||
: ${mysql_limits="NO"}
|
||||
: ${mysql_dbdir="%%MY_DBDIR%%"}
|
||||
: ${mysql_confdir="%%ETCDIR%%"}
|
||||
if [ -f "${mysql_dbdir}/my.cnf" ]; then
|
||||
: ${mysql_optfile="${mysql_dbdir}/my.cnf"}
|
||||
else
|
||||
: ${mysql_optfile="${mysql_confdir}/my.cnf"}
|
||||
fi
|
||||
|
||||
mysql_user="mysql"
|
||||
mysql_limits_args="-e -U ${mysql_user}"
|
||||
: ${hostname:=`/bin/hostname`}
|
||||
pidfile=${mysql_pidfile:-"${mysql_dbdir}/${hostname}.pid"}
|
||||
command="/usr/sbin/daemon"
|
||||
command_args="-c -f %%PREFIX%%/bin/mysqld_safe --defaults-extra-file=${mysql_optfile} --basedir=%%PREFIX%% --datadir=${mysql_dbdir} --pid-file=${pidfile} --user=${mysql_user} ${mysql_args}"
|
||||
procname="%%PREFIX%%/libexec/mysqld"
|
||||
start_precmd="${name}_prestart"
|
||||
start_postcmd="${name}_poststart"
|
||||
mysql_install_db="%%PREFIX%%/bin/mysql_install_db"
|
||||
mysql_install_db_args="--defaults-extra-file=${mysql_optfile} --basedir=%%PREFIX%% --datadir=${mysql_dbdir} --mysqld-file=${procname} --user=${mysql_user}"
|
||||
|
||||
mysql_create_auth_tables()
|
||||
{
|
||||
eval $mysql_install_db $mysql_install_db_args >/dev/null 2>/dev/null
|
||||
}
|
||||
|
||||
mysql_prestart()
|
||||
{
|
||||
if [ -f "${mysql_dbdir}/my.cnf" ]; then
|
||||
echo ""
|
||||
echo "Please keep in mind that the default location for my.cnf has changed"
|
||||
echo "from \"%%MY_DBDIR%%/my.cnf\" to \"%%ETCDIR%%/my.cnf\". "
|
||||
echo "Please merge your existing my.cnf with the new default and move"
|
||||
echo "it to \"%%ETCDIR%%/my.cnf\"."
|
||||
echo "If you do not want to move your my.cnf to the new location then"
|
||||
echo "you must set \"mysql_optfile\" in /etc/rc.conf to \"/var/db/mysql/my.cnf\"."
|
||||
echo ""
|
||||
fi
|
||||
|
||||
if [ ! -d "${mysql_dbdir}/mysql" ]; then
|
||||
mysql_create_auth_tables || return 1
|
||||
fi
|
||||
if checkyesno mysql_limits; then
|
||||
eval `/usr/bin/limits ${mysql_limits_args}` 2>/dev/null
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
||||
mysql_poststart()
|
||||
{
|
||||
local timeout=15
|
||||
while [ ! -f "${pidfile}" -a ${timeout} -gt 0 ]; do
|
||||
timeout=$(( timeout - 1 ))
|
||||
sleep 1
|
||||
done
|
||||
return 0
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||
40
databases/percona57-server/files/patch-CMakeLists.txt
Normal file
40
databases/percona57-server/files/patch-CMakeLists.txt
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
--- CMakeLists.txt.orig 2016-11-27 19:44:54 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -621,12 +621,10 @@ IF(UNIX)
|
||||
ENDIF()
|
||||
|
||||
IF(NOT WITHOUT_SERVER)
|
||||
- ADD_SUBDIRECTORY(testclients)
|
||||
ADD_SUBDIRECTORY(sql)
|
||||
OPTION (WITH_EMBEDDED_SERVER "Compile MySQL with embedded server" OFF)
|
||||
IF(WITH_EMBEDDED_SERVER)
|
||||
ADD_SUBDIRECTORY(libmysqld)
|
||||
- ADD_SUBDIRECTORY(libmysqld/examples)
|
||||
ENDIF(WITH_EMBEDDED_SERVER)
|
||||
ENDIF()
|
||||
|
||||
@@ -635,8 +633,6 @@ ENDIF()
|
||||
ADD_SUBDIRECTORY(scripts)
|
||||
|
||||
IF(NOT WITHOUT_SERVER)
|
||||
- ADD_SUBDIRECTORY(mysql-test)
|
||||
- ADD_SUBDIRECTORY(mysql-test/lib/My/SafeProcess)
|
||||
ADD_SUBDIRECTORY(support-files)
|
||||
IF(EXISTS ${CMAKE_SOURCE_DIR}/internal/CMakeLists.txt)
|
||||
ADD_SUBDIRECTORY(internal)
|
||||
@@ -692,6 +688,7 @@ ENDIF()
|
||||
#
|
||||
# RPM installs documentation directly from the source tree
|
||||
#
|
||||
+IF(FALSE)
|
||||
IF(NOT INSTALL_LAYOUT MATCHES "RPM")
|
||||
INSTALL(FILES COPYING LICENSE.mysql
|
||||
DESTINATION ${INSTALL_DOCREADMEDIR}
|
||||
@@ -714,6 +711,7 @@ IF(NOT INSTALL_LAYOUT MATCHES "RPM")
|
||||
PATTERN "sp-imp-spec.txt" EXCLUDE
|
||||
)
|
||||
ENDIF()
|
||||
+ENDIF()
|
||||
|
||||
INCLUDE(CPack)
|
||||
|
||||
83
databases/percona57-server/files/patch-client_CMakeLists.txt
Normal file
83
databases/percona57-server/files/patch-client_CMakeLists.txt
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
--- client/CMakeLists.txt.orig 2016-11-27 19:44:54 UTC
|
||||
+++ client/CMakeLists.txt
|
||||
@@ -32,8 +32,6 @@ INCLUDE(${MYSQL_CMAKE_SCRIPT_DIR}/compil
|
||||
|
||||
## Subdirectory with common client code.
|
||||
ADD_SUBDIRECTORY(base)
|
||||
-## Subdirectory for mysqlpump code.
|
||||
-ADD_SUBDIRECTORY(dump)
|
||||
|
||||
## We will need libeay32.dll and ssleay32.dll when running client executables.
|
||||
COPY_OPENSSL_DLLS(copy_openssl_client)
|
||||
@@ -41,11 +39,13 @@ COPY_OPENSSL_DLLS(copy_openssl_client)
|
||||
INCLUDE(${MYSQL_CMAKE_SCRIPT_DIR}/compile_flags.cmake)
|
||||
|
||||
ADD_DEFINITIONS(${SSL_DEFINES})
|
||||
+IF(FALSE)
|
||||
MYSQL_ADD_EXECUTABLE(mysql completion_hash.cc mysql.cc readline.cc ../sql-common/sql_string.cc)
|
||||
TARGET_LINK_LIBRARIES(mysql perconaserverclient)
|
||||
IF(UNIX)
|
||||
TARGET_LINK_LIBRARIES(mysql ${MY_READLINE_LIBRARY})
|
||||
ENDIF(UNIX)
|
||||
+ENDIF()
|
||||
|
||||
IF(NOT WITHOUT_SERVER)
|
||||
MYSQL_ADD_EXECUTABLE(mysql_upgrade
|
||||
@@ -65,6 +65,7 @@ TARGET_LINK_LIBRARIES(mysqltest perconas
|
||||
ADD_CONVENIENCE_LIBRARY(mysqlcheck_core check/mysqlcheck_core.cc)
|
||||
TARGET_LINK_LIBRARIES(mysqlcheck_core perconaserverclient)
|
||||
|
||||
+IF(FALSE)
|
||||
MYSQL_ADD_EXECUTABLE(mysqlcheck check/mysqlcheck.cc)
|
||||
TARGET_LINK_LIBRARIES(mysqlcheck mysqlcheck_core)
|
||||
|
||||
@@ -77,10 +78,12 @@ TARGET_LINK_LIBRARIES(mysqlimport percon
|
||||
|
||||
MYSQL_ADD_EXECUTABLE(mysqlshow mysqlshow.c)
|
||||
TARGET_LINK_LIBRARIES(mysqlshow perconaserverclient)
|
||||
+ENDIF()
|
||||
|
||||
MYSQL_ADD_EXECUTABLE(mysql_plugin mysql_plugin.c)
|
||||
TARGET_LINK_LIBRARIES(mysql_plugin perconaserverclient)
|
||||
|
||||
+IF(FALSE)
|
||||
MYSQL_ADD_EXECUTABLE(mysqlbinlog mysqlbinlog.cc)
|
||||
ADD_COMPILE_FLAGS(
|
||||
mysqlbinlog.cc
|
||||
@@ -97,9 +100,12 @@ TARGET_LINK_LIBRARIES(mysqlslap perconas
|
||||
|
||||
MYSQL_ADD_EXECUTABLE(mysql_config_editor mysql_config_editor.cc)
|
||||
TARGET_LINK_LIBRARIES(mysql_config_editor perconaserverclient)
|
||||
+ENDIF()
|
||||
|
||||
+IF(FALSE)
|
||||
MYSQL_ADD_EXECUTABLE(mysql_secure_installation mysql_secure_installation.cc)
|
||||
TARGET_LINK_LIBRARIES(mysql_secure_installation perconaserverclient)
|
||||
+ENDIF()
|
||||
|
||||
IF(UNIX AND NOT WITHOUT_SERVER)
|
||||
MYSQL_ADD_EXECUTABLE(mysql_install_db
|
||||
@@ -112,9 +118,11 @@ IF(UNIX AND NOT WITHOUT_SERVER)
|
||||
ADD_DEPENDENCIES(mysql_install_db GenBootstrapPriv GenSysSchema)
|
||||
ENDIF()
|
||||
|
||||
+IF(FALSE)
|
||||
MYSQL_ADD_EXECUTABLE(mysql_ssl_rsa_setup mysql_ssl_rsa_setup.cc path.cc logger.cc)
|
||||
TARGET_LINK_LIBRARIES(mysql_ssl_rsa_setup mysys mysys_ssl)
|
||||
SET_TARGET_PROPERTIES(mysql_ssl_rsa_setup PROPERTIES LINKER_LANGUAGE CXX)
|
||||
+ENDIF()
|
||||
|
||||
# "WIN32" also covers 64 bit. "echo" is used in some files below "mysql-test/".
|
||||
IF(WIN32)
|
||||
@@ -123,11 +131,6 @@ ENDIF(WIN32)
|
||||
|
||||
SET_TARGET_PROPERTIES (
|
||||
mysql_plugin
|
||||
- mysqlcheck
|
||||
- mysqldump
|
||||
- mysqlimport
|
||||
- mysqlshow
|
||||
- mysqlslap
|
||||
PROPERTIES HAS_CXX TRUE)
|
||||
|
||||
ADD_DEFINITIONS(-DHAVE_DLOPEN)
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
--- include/CMakeLists.txt.orig 2016-11-27 19:44:54 UTC
|
||||
+++ include/CMakeLists.txt
|
||||
@@ -69,14 +69,13 @@ SET(HEADERS
|
||||
${HEADERS_GEN_CONFIGURE}
|
||||
)
|
||||
|
||||
+IF(FALSE)
|
||||
INSTALL(FILES
|
||||
../libbinlogevents/export/binary_log_types.h
|
||||
DESTINATION ${INSTALL_INCLUDEDIR}
|
||||
- COMPONENT Development)
|
||||
-INSTALL(FILES ${HEADERS} DESTINATION ${INSTALL_INCLUDEDIR} COMPONENT Development)
|
||||
-INSTALL(DIRECTORY mysql/ DESTINATION ${INSTALL_INCLUDEDIR}/mysql COMPONENT Development
|
||||
PATTERN "*.h"
|
||||
PATTERN "psi_abi*" EXCLUDE
|
||||
)
|
||||
+ENDIF()
|
||||
|
||||
|
||||
11
databases/percona57-server/files/patch-include_my__compare.h
Normal file
11
databases/percona57-server/files/patch-include_my__compare.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- include/my_compare.h.orig 2016-11-27 19:44:54 UTC
|
||||
+++ include/my_compare.h
|
||||
@@ -40,7 +40,7 @@ extern "C" {
|
||||
But beware the dependency of MI_MAX_POSSIBLE_KEY_BUFF and HA_MAX_KEY_LENGTH.
|
||||
*/
|
||||
|
||||
-#define HA_MAX_KEY_LENGTH 1000 /* Max length in bytes */
|
||||
+#define HA_MAX_KEY_LENGTH 4000 /* Max length in bytes */
|
||||
#define HA_MAX_KEY_SEG 16 /* Max segments for key */
|
||||
|
||||
#define HA_MAX_POSSIBLE_KEY_BUFF (HA_MAX_KEY_LENGTH + 24+ 6+6)
|
||||
11
databases/percona57-server/files/patch-include_myisam.h
Normal file
11
databases/percona57-server/files/patch-include_myisam.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- include/myisam.h.orig 2016-11-27 19:44:54 UTC
|
||||
+++ include/myisam.h
|
||||
@@ -45,7 +45,7 @@ extern "C" {
|
||||
The following defines can be increased if necessary.
|
||||
But beware the dependency of MI_MAX_POSSIBLE_KEY_BUFF and MI_MAX_KEY_LENGTH.
|
||||
*/
|
||||
-#define MI_MAX_KEY_LENGTH 1000 /* Max length in bytes */
|
||||
+#define MI_MAX_KEY_LENGTH 4000 /* Max length in bytes */
|
||||
#define MI_MAX_KEY_SEG 16 /* Max segments for key */
|
||||
|
||||
#define MI_MAX_KEY_BUFF (MI_MAX_KEY_LENGTH+MI_MAX_KEY_SEG*6+8+8)
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
--- libmysql/CMakeLists.txt.orig 2016-11-27 19:44:54 UTC
|
||||
+++ libmysql/CMakeLists.txt
|
||||
@@ -231,7 +231,7 @@ IF(WIN32)
|
||||
ENDIF()
|
||||
|
||||
# Merge several convenience libraries into one big perconaserverclient
|
||||
-MERGE_LIBRARIES(perconaserverclient STATIC ${LIBS} COMPONENT Development)
|
||||
+MERGE_LIBRARIES(perconaserverclient STATIC ${LIBS} COMPONENT Development NOINSTALL)
|
||||
|
||||
# Visual Studio users need debug static library for debug projects
|
||||
IF(MSVC)
|
||||
@@ -273,7 +273,8 @@ IF(NOT DISABLE_SHARED)
|
||||
# and link them together into shared library.
|
||||
MERGE_LIBRARIES(libmysql SHARED ${LIBS}
|
||||
EXPORTS ${CLIENT_API_FUNCTIONS} ${CLIENT_API_FUNCTIONS_UNDOCUMENTED}
|
||||
- COMPONENT SharedLibraries)
|
||||
+ COMPONENT SharedLibraries NOINSTALL)
|
||||
+IF(FALSE)
|
||||
IF(UNIX)
|
||||
# libtool compatability
|
||||
IF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR APPLE)
|
||||
@@ -329,6 +330,7 @@ ENDIF()
|
||||
# to initialize api_calls[] array in api_test.c
|
||||
#
|
||||
SET(CLIENT_API_FUNCTION_LIST "")
|
||||
+ENDIF()
|
||||
FOREACH(api ${CLIENT_API_FUNCTIONS})
|
||||
SET(CLIENT_API_FUNCTION_LIST "${CLIENT_API_FUNCTION_LIST} ${api},")
|
||||
ENDFOREACH()
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
--- libservices/CMakeLists.txt.orig 2016-11-27 19:44:54 UTC
|
||||
+++ libservices/CMakeLists.txt
|
||||
@@ -35,4 +35,6 @@ SET(MYSQLSERVICES_SOURCES
|
||||
mysql_keyring_service.c)
|
||||
|
||||
ADD_CONVENIENCE_LIBRARY(mysqlservices ${MYSQLSERVICES_SOURCES})
|
||||
+IF(FALSE)
|
||||
INSTALL(TARGETS mysqlservices DESTINATION ${INSTALL_LIBDIR} COMPONENT Development)
|
||||
+ENDIF()
|
||||
13
databases/percona57-server/files/patch-man_CMakeLists.txt
Normal file
13
databases/percona57-server/files/patch-man_CMakeLists.txt
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
--- man/CMakeLists.txt.orig 2016-11-27 19:44:54 UTC
|
||||
+++ man/CMakeLists.txt
|
||||
@@ -14,9 +14,7 @@
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
# Copy man pages
|
||||
-FILE(GLOB MAN1_FILES *.1)
|
||||
-FILE(GLOB MAN1_EXCLUDE make_win_bin_dist.1)
|
||||
-FILE(GLOB MAN1_NDB ndb*.1)
|
||||
+FILE(GLOB MAN1_FILES my_print_defaults.1 myisam_ftdump.1 myisamchk.1 myisamlog.1 myisampack.1 mysql.server.1 mysql_convert_table_format.1 mysql_fix_extensions.1 mysql_install_db.1 mysql_plugin.1 mysql_secure_installation.1 mysql_setpermission.1 mysql_tzinfo_to_sql.1 mysql_upgrade.1 mysql_zap.1 mysqlbug.1 mysqld_multi.1 mysqld_safe.1 mysqldumpslow.1 mysqlhotcopy.1 mysqlman.1 mysqltest.1 perror.1 replace.1 resolve_stack_dump.1 resolveip.1)
|
||||
FILE(GLOB MAN8_FILES *.8)
|
||||
FILE(GLOB MAN8_NDB ndb*.8)
|
||||
IF(MAN1_FILES)
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
--- mysys_ssl/my_default.cc.orig 2016-11-27 19:44:54 UTC
|
||||
+++ mysys_ssl/my_default.cc
|
||||
@@ -114,7 +114,7 @@ static my_bool defaults_already_read= FA
|
||||
|
||||
/* Which directories are searched for options (and in which order) */
|
||||
|
||||
-#define MAX_DEFAULT_DIRS 6
|
||||
+#define MAX_DEFAULT_DIRS 7
|
||||
#define DEFAULT_DIRS_SIZE (MAX_DEFAULT_DIRS + 1) /* Terminate with NULL */
|
||||
static const char **default_directories = NULL;
|
||||
|
||||
@@ -1416,7 +1416,10 @@ static const char **init_default_directo
|
||||
|
||||
#if defined(DEFAULT_SYSCONFDIR)
|
||||
if (DEFAULT_SYSCONFDIR[0])
|
||||
+ {
|
||||
errors += add_directory(alloc, DEFAULT_SYSCONFDIR, dirs);
|
||||
+ errors += add_directory(alloc, DEFAULT_SYSCONFDIR "/mysql", dirs);
|
||||
+ }
|
||||
#endif /* DEFAULT_SYSCONFDIR */
|
||||
|
||||
#endif
|
||||
@@ -1488,7 +1491,7 @@ int check_file_permissions(const char *f
|
||||
MY_STAT stat_info;
|
||||
|
||||
if (!my_stat(file_name,&stat_info,MYF(0)))
|
||||
- return 1;
|
||||
+ return 0;
|
||||
/*
|
||||
Ignore .mylogin.cnf file if not exclusively readable/writable
|
||||
by current user.
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
--- scripts/CMakeLists.txt.orig 2016-11-27 19:44:54 UTC
|
||||
+++ scripts/CMakeLists.txt
|
||||
@@ -347,6 +347,8 @@ MACRO(EXTRACT_LINK_LIBRARIES target var)
|
||||
GET_FILENAME_COMPONENT(lib "${lib}" NAME_WE)
|
||||
STRING(REGEX REPLACE "^lib" "" lib "${lib}")
|
||||
SET(${var} "${${var}}-l${lib} " )
|
||||
+ ELSEIF(lib STREQUAL "-pthread")
|
||||
+ SET(${var} "${${var}}-pthread " )
|
||||
ELSE()
|
||||
SET(${var} "${${var}}-l${lib} " )
|
||||
ENDIF()
|
||||
@@ -432,13 +434,11 @@ ELSE()
|
||||
|
||||
IF(WITH_SYSTEMD)
|
||||
SET(BIN_SCRIPTS
|
||||
- mysql_config
|
||||
mysqldumpslow
|
||||
ps_tokudb_admin
|
||||
)
|
||||
ELSE()
|
||||
SET(BIN_SCRIPTS
|
||||
- mysql_config
|
||||
mysqldumpslow
|
||||
mysqld_multi
|
||||
mysqld_safe
|
||||
@@ -473,7 +473,7 @@ ELSE()
|
||||
FOREACH(file ${BIN_SCRIPTS})
|
||||
IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${file}.sh)
|
||||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${file}.sh
|
||||
- ${CMAKE_CURRENT_BINARY_DIR}/${file} ESCAPE_QUOTES @ONLY)
|
||||
+ ${CMAKE_CURRENT_BINARY_DIR}/${file} @ONLY)
|
||||
ELSEIF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${file}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/${file} COPYONLY)
|
||||
11
databases/percona57-server/files/patch-sql_json__dom.h
Normal file
11
databases/percona57-server/files/patch-sql_json__dom.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- sql/json_dom.h.orig 2017-01-05 16:09:35 UTC
|
||||
+++ sql/json_dom.h
|
||||
@@ -337,7 +337,7 @@ struct Json_key_comparator
|
||||
Json_object class.
|
||||
*/
|
||||
typedef std::map<std::string, Json_dom *, Json_key_comparator,
|
||||
- Malloc_allocator<std::pair<std::string, Json_dom *> > > Json_object_map;
|
||||
+ Malloc_allocator<std::pair<const std::string, Json_dom *> > > Json_object_map;
|
||||
|
||||
/**
|
||||
Represents a JSON container value of type "object" (ECMA), type
|
||||
19
databases/percona57-server/files/patch-sql_mysqld.cc
Normal file
19
databases/percona57-server/files/patch-sql_mysqld.cc
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
--- sql/mysqld.cc.orig 2016-11-27 19:44:54 UTC
|
||||
+++ sql/mysqld.cc
|
||||
@@ -1480,6 +1480,16 @@ static void clean_up_mutexes()
|
||||
****************************************************************************/
|
||||
|
||||
/* Initialise proxy protocol. */
|
||||
+
|
||||
+/* At least OpenBSD and NexentaCore do not
|
||||
+* define s6_addr32 for user land settings.
|
||||
+*/
|
||||
+#if !defined s6_addr32 && defined __sun__
|
||||
+# define s6_addr32 _S6_un._S6_u32
|
||||
+#elif !defined s6_addr32 && ( defined __OpenBSD__ || defined __FreeBSD__ )
|
||||
+# define s6_addr32 __u6_addr.__u6_addr32
|
||||
+#endif /* !defined s6_addr32 */
|
||||
+
|
||||
static void set_proxy()
|
||||
{
|
||||
const char *p;
|
||||
63
databases/percona57-server/files/patch-sql_sql__view.cc
Normal file
63
databases/percona57-server/files/patch-sql_sql__view.cc
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
--- sql/sql_view.cc.orig 2016-11-27 19:44:54 UTC
|
||||
+++ sql/sql_view.cc
|
||||
@@ -773,46 +773,46 @@ static const int required_view_parameter
|
||||
*/
|
||||
static File_option view_parameters[]=
|
||||
{{{ C_STRING_WITH_LEN("query")},
|
||||
- my_offsetof(TABLE_LIST, select_stmt),
|
||||
+ static_cast<int>(my_offsetof(TABLE_LIST, select_stmt)),
|
||||
FILE_OPTIONS_ESTRING},
|
||||
{{ C_STRING_WITH_LEN("md5")},
|
||||
- my_offsetof(TABLE_LIST, md5),
|
||||
+ static_cast<int>(my_offsetof(TABLE_LIST, md5)),
|
||||
FILE_OPTIONS_STRING},
|
||||
{{ C_STRING_WITH_LEN("updatable")},
|
||||
- my_offsetof(TABLE_LIST, updatable_view),
|
||||
+ static_cast<int>(my_offsetof(TABLE_LIST, updatable_view)),
|
||||
FILE_OPTIONS_ULONGLONG},
|
||||
{{ C_STRING_WITH_LEN("algorithm")},
|
||||
- my_offsetof(TABLE_LIST, algorithm),
|
||||
+ static_cast<int>(my_offsetof(TABLE_LIST, algorithm)),
|
||||
FILE_OPTIONS_ULONGLONG},
|
||||
{{ C_STRING_WITH_LEN("definer_user")},
|
||||
- my_offsetof(TABLE_LIST, definer.user),
|
||||
+ static_cast<int>(my_offsetof(TABLE_LIST, definer.user)),
|
||||
FILE_OPTIONS_STRING},
|
||||
{{ C_STRING_WITH_LEN("definer_host")},
|
||||
- my_offsetof(TABLE_LIST, definer.host),
|
||||
+ static_cast<int>(my_offsetof(TABLE_LIST, definer.host)),
|
||||
FILE_OPTIONS_STRING},
|
||||
{{ C_STRING_WITH_LEN("suid")},
|
||||
- my_offsetof(TABLE_LIST, view_suid),
|
||||
+ static_cast<int>(my_offsetof(TABLE_LIST, view_suid)),
|
||||
FILE_OPTIONS_ULONGLONG},
|
||||
{{ C_STRING_WITH_LEN("with_check_option")},
|
||||
- my_offsetof(TABLE_LIST, with_check),
|
||||
+ static_cast<int>(my_offsetof(TABLE_LIST, with_check)),
|
||||
FILE_OPTIONS_ULONGLONG},
|
||||
{{ C_STRING_WITH_LEN("timestamp")},
|
||||
- my_offsetof(TABLE_LIST, timestamp),
|
||||
+ static_cast<int>(my_offsetof(TABLE_LIST, timestamp)),
|
||||
FILE_OPTIONS_TIMESTAMP},
|
||||
{{ C_STRING_WITH_LEN("create-version")},
|
||||
- my_offsetof(TABLE_LIST, file_version),
|
||||
+ static_cast<int>(my_offsetof(TABLE_LIST, file_version)),
|
||||
FILE_OPTIONS_ULONGLONG},
|
||||
{{ C_STRING_WITH_LEN("source")},
|
||||
- my_offsetof(TABLE_LIST, source),
|
||||
+ static_cast<int>(my_offsetof(TABLE_LIST, source)),
|
||||
FILE_OPTIONS_ESTRING},
|
||||
{{(char*) STRING_WITH_LEN("client_cs_name")},
|
||||
- my_offsetof(TABLE_LIST, view_client_cs_name),
|
||||
+ static_cast<int>(my_offsetof(TABLE_LIST, view_client_cs_name)),
|
||||
FILE_OPTIONS_STRING},
|
||||
{{(char*) STRING_WITH_LEN("connection_cl_name")},
|
||||
- my_offsetof(TABLE_LIST, view_connection_cl_name),
|
||||
+ static_cast<int>(my_offsetof(TABLE_LIST, view_connection_cl_name)),
|
||||
FILE_OPTIONS_STRING},
|
||||
{{(char*) STRING_WITH_LEN("view_body_utf8")},
|
||||
- my_offsetof(TABLE_LIST, view_body_utf8),
|
||||
+ static_cast<int>(my_offsetof(TABLE_LIST, view_body_utf8)),
|
||||
FILE_OPTIONS_ESTRING},
|
||||
{{NullS, 0}, 0,
|
||||
FILE_OPTIONS_STRING}
|
||||
38
databases/percona57-server/files/patch-sql_sys__vars.cc
Normal file
38
databases/percona57-server/files/patch-sql_sys__vars.cc
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
--- sql/sys_vars.cc.orig 2016-11-27 19:44:54 UTC
|
||||
+++ sql/sys_vars.cc
|
||||
@@ -1804,7 +1804,7 @@ static Sys_var_ulong Sys_interactive_tim
|
||||
"connection before closing it",
|
||||
SESSION_VAR(net_interactive_timeout),
|
||||
CMD_LINE(REQUIRED_ARG),
|
||||
- VALID_RANGE(1, LONG_TIMEOUT), DEFAULT(NET_WAIT_TIMEOUT), BLOCK_SIZE(1));
|
||||
+ VALID_RANGE(1, INT_MAX32/1000), DEFAULT(NET_WAIT_TIMEOUT), BLOCK_SIZE(1));
|
||||
|
||||
static Sys_var_ulong Sys_join_buffer_size(
|
||||
"join_buffer_size",
|
||||
@@ -2696,7 +2696,7 @@ static Sys_var_ulong Sys_net_read_timeou
|
||||
"Number of seconds to wait for more data from a connection before "
|
||||
"aborting the read",
|
||||
SESSION_VAR(net_read_timeout), CMD_LINE(REQUIRED_ARG),
|
||||
- VALID_RANGE(1, LONG_TIMEOUT), DEFAULT(NET_READ_TIMEOUT), BLOCK_SIZE(1),
|
||||
+ VALID_RANGE(1, INT_MAX32/1000), DEFAULT(NET_READ_TIMEOUT), BLOCK_SIZE(1),
|
||||
NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(0),
|
||||
ON_UPDATE(fix_net_read_timeout));
|
||||
|
||||
@@ -2720,7 +2720,7 @@ static Sys_var_ulong Sys_net_write_timeo
|
||||
"Number of seconds to wait for a block to be written to a connection "
|
||||
"before aborting the write",
|
||||
SESSION_VAR(net_write_timeout), CMD_LINE(REQUIRED_ARG),
|
||||
- VALID_RANGE(1, LONG_TIMEOUT), DEFAULT(NET_WRITE_TIMEOUT), BLOCK_SIZE(1),
|
||||
+ VALID_RANGE(1, INT_MAX32/1000), DEFAULT(NET_WRITE_TIMEOUT), BLOCK_SIZE(1),
|
||||
NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(0),
|
||||
ON_UPDATE(fix_net_write_timeout));
|
||||
|
||||
@@ -4406,7 +4406,7 @@ static Sys_var_ulong Sys_net_wait_timeou
|
||||
"The number of seconds the server waits for activity on a "
|
||||
"connection before closing it",
|
||||
SESSION_VAR(net_wait_timeout), CMD_LINE(REQUIRED_ARG),
|
||||
- VALID_RANGE(1, IF_WIN(INT_MAX32/1000, LONG_TIMEOUT)),
|
||||
+ VALID_RANGE(1, INT_MAX32/1000),
|
||||
DEFAULT(NET_WAIT_TIMEOUT), BLOCK_SIZE(1));
|
||||
|
||||
static Sys_var_plugin Sys_default_storage_engine(
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
--- storage/innobase/buf/buf0buf.cc.orig 2016-11-27 19:44:54 UTC
|
||||
+++ storage/innobase/buf/buf0buf.cc
|
||||
@@ -333,7 +333,7 @@ typedef std::map<
|
||||
const byte*,
|
||||
buf_chunk_t*,
|
||||
std::less<const byte*>,
|
||||
- ut_allocator<std::pair<const byte*, buf_chunk_t*> > >
|
||||
+ ut_allocator<std::pair<const byte* const, buf_chunk_t*> > >
|
||||
buf_pool_chunk_map_t;
|
||||
|
||||
static buf_pool_chunk_map_t* buf_chunk_map_reg;
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
--- storage/innobase/dict/dict0stats.cc.orig 2016-11-27 19:44:54 UTC
|
||||
+++ storage/innobase/dict/dict0stats.cc
|
||||
@@ -139,7 +139,7 @@ then we would store 5,7,10,11,12 in the
|
||||
typedef std::vector<ib_uint64_t, ut_allocator<ib_uint64_t> > boundaries_t;
|
||||
|
||||
/** Allocator type used for index_map_t. */
|
||||
-typedef ut_allocator<std::pair<const char*, dict_index_t*> >
|
||||
+typedef ut_allocator<std::pair<const char* const, dict_index_t*> >
|
||||
index_map_t_allocator;
|
||||
|
||||
/** Auxiliary map used for sorting indexes by name in dict_stats_save(). */
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
--- storage/innobase/include/srv0mon.h.orig 2016-11-27 19:44:54 UTC
|
||||
+++ storage/innobase/include/srv0mon.h
|
||||
@@ -34,6 +34,10 @@ Created 12/15/2009 Jimmy Yang
|
||||
/* Required for FreeBSD so that INT64_MAX is defined. */
|
||||
#define __STDC_LIMIT_MACROS
|
||||
#endif /* __STDC_LIMIT_MACROS */
|
||||
+#ifdef __DragonFly__
|
||||
+/* The hack above doen't work for dragonfly, stdint.h already imported */
|
||||
+#include <machine/int_limits.h>
|
||||
+#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
--- storage/innobase/sync/sync0debug.cc.orig 2016-11-27 19:44:54 UTC
|
||||
+++ storage/innobase/sync/sync0debug.cc
|
||||
@@ -1717,7 +1717,7 @@ private:
|
||||
const void*,
|
||||
File,
|
||||
std::less<const void*>,
|
||||
- ut_allocator<std::pair<const void*, File> > >
|
||||
+ ut_allocator<std::pair<const void* const, File> > >
|
||||
Files;
|
||||
|
||||
typedef OSMutex Mutex;
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
--- storage/myisam/mi_dynrec.c.orig 2016-11-27 19:44:54 UTC
|
||||
+++ storage/myisam/mi_dynrec.c
|
||||
@@ -65,18 +65,13 @@ my_bool mi_dynmap_file(MI_INFO *info, my
|
||||
DBUG_RETURN(1);
|
||||
}
|
||||
/*
|
||||
- I wonder if it is good to use MAP_NORESERVE. From the Linux man page:
|
||||
- MAP_NORESERVE
|
||||
- Do not reserve swap space for this mapping. When swap space is
|
||||
- reserved, one has the guarantee that it is possible to modify the
|
||||
- mapping. When swap space is not reserved one might get SIGSEGV
|
||||
- upon a write if no physical memory is available.
|
||||
+ MAP_NORESERVE is unimplemented in FreeBSD
|
||||
*/
|
||||
info->s->file_map= (uchar*)
|
||||
my_mmap(0, (size_t) size,
|
||||
info->s->mode==O_RDONLY ? PROT_READ :
|
||||
PROT_READ | PROT_WRITE,
|
||||
- MAP_SHARED | MAP_NORESERVE,
|
||||
+ MAP_SHARED,
|
||||
info->dfile, 0L);
|
||||
if (info->s->file_map == (uchar*) MAP_FAILED)
|
||||
{
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
--- support-files/CMakeLists.txt.orig 2016-11-27 19:44:54 UTC
|
||||
+++ support-files/CMakeLists.txt
|
||||
@@ -69,7 +69,9 @@ IF(UNIX)
|
||||
INSTALL(FILES magic DESTINATION ${inst_location} COMPONENT SupportFiles)
|
||||
ENDIF()
|
||||
|
||||
+IF(FALSE)
|
||||
INSTALL(FILES mysql.m4 DESTINATION ${INSTALL_SHAREDIR}/aclocal COMPONENT Development)
|
||||
+ENDIF()
|
||||
|
||||
SET(bindir ${prefix}/${INSTALL_BINDIR})
|
||||
SET(sbindir ${prefix}/${INSTALL_SBINDIR})
|
||||
13
databases/percona57-server/files/patch-vio_viosocket.c
Normal file
13
databases/percona57-server/files/patch-vio_viosocket.c
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
--- vio/viosocket.c.orig 2016-11-27 19:44:54 UTC
|
||||
+++ vio/viosocket.c
|
||||
@@ -45,6 +45,10 @@
|
||||
static void (*before_io_wait)(void)= 0;
|
||||
static void (*after_io_wait)(void)= 0;
|
||||
|
||||
+#ifdef __FreeBSD__
|
||||
+#define s6_addr32 __u6_addr.__u6_addr32
|
||||
+#endif
|
||||
+
|
||||
/* Wait callback macros (both performance schema and threadpool */
|
||||
#define START_SOCKET_WAIT(locker, state_ptr, sock, which, timeout) \
|
||||
do \
|
||||
4
databases/percona57-server/pkg-descr
Normal file
4
databases/percona57-server/pkg-descr
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
MySQL replacement : Percona ServerPercona Server is a drop-in alternative
|
||||
for MySQL with enhanced performance and enterprise-grade features.
|
||||
|
||||
WWW: http://www.percona.com/software/percona-server
|
||||
10
databases/percona57-server/pkg-message
Normal file
10
databases/percona57-server/pkg-message
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
************************************************************************
|
||||
|
||||
Remember to run mysql_upgrade the first time you start the MySQL server
|
||||
after an upgrade from an earlier version.
|
||||
|
||||
Initial password for first time use of MySQL is saved in $HOME/.mysql_secret
|
||||
ie. when you want to use "mysql -u root -p" first you should see password
|
||||
in /root/.mysql_secret
|
||||
|
||||
************************************************************************
|
||||
182
databases/percona57-server/pkg-plist
Normal file
182
databases/percona57-server/pkg-plist
Normal file
|
|
@ -0,0 +1,182 @@
|
|||
bin/innochecksum
|
||||
bin/lz4_decompress
|
||||
bin/myisamchk
|
||||
bin/myisam_ftdump
|
||||
bin/myisamlog
|
||||
bin/myisampack
|
||||
bin/my_print_defaults
|
||||
bin/mysqld_multi
|
||||
bin/mysqld_safe
|
||||
bin/mysqldumpslow
|
||||
bin/mysql_install_db
|
||||
bin/mysql_plugin
|
||||
bin/mysqltest
|
||||
bin/mysql_tzinfo_to_sql
|
||||
bin/mysql_upgrade
|
||||
bin/mysqlxtest
|
||||
bin/perror
|
||||
bin/ps_tokudb_admin
|
||||
bin/replace
|
||||
bin/resolveip
|
||||
bin/resolve_stack_dump
|
||||
bin/zlib_decompress
|
||||
%%DATADIR%%/bulgarian/errmsg.sys
|
||||
%%DATADIR%%/charsets/armscii8.xml
|
||||
%%DATADIR%%/charsets/ascii.xml
|
||||
%%DATADIR%%/charsets/cp1250.xml
|
||||
%%DATADIR%%/charsets/cp1251.xml
|
||||
%%DATADIR%%/charsets/cp1256.xml
|
||||
%%DATADIR%%/charsets/cp1257.xml
|
||||
%%DATADIR%%/charsets/cp850.xml
|
||||
%%DATADIR%%/charsets/cp852.xml
|
||||
%%DATADIR%%/charsets/cp866.xml
|
||||
%%DATADIR%%/charsets/dec8.xml
|
||||
%%DATADIR%%/charsets/geostd8.xml
|
||||
%%DATADIR%%/charsets/greek.xml
|
||||
%%DATADIR%%/charsets/hebrew.xml
|
||||
%%DATADIR%%/charsets/hp8.xml
|
||||
%%DATADIR%%/charsets/Index.xml
|
||||
%%DATADIR%%/charsets/keybcs2.xml
|
||||
%%DATADIR%%/charsets/koi8r.xml
|
||||
%%DATADIR%%/charsets/koi8u.xml
|
||||
%%DATADIR%%/charsets/latin1.xml
|
||||
%%DATADIR%%/charsets/latin2.xml
|
||||
%%DATADIR%%/charsets/latin5.xml
|
||||
%%DATADIR%%/charsets/latin7.xml
|
||||
%%DATADIR%%/charsets/macce.xml
|
||||
%%DATADIR%%/charsets/macroman.xml
|
||||
%%DATADIR%%/charsets/README
|
||||
%%DATADIR%%/charsets/swe7.xml
|
||||
%%DATADIR%%/czech/errmsg.sys
|
||||
%%DATADIR%%/danish/errmsg.sys
|
||||
%%DATADIR%%/dictionary.txt
|
||||
%%DATADIR%%/dutch/errmsg.sys
|
||||
%%DATADIR%%/english/errmsg.sys
|
||||
%%DATADIR%%/errmsg-utf8.txt
|
||||
%%DATADIR%%/estonian/errmsg.sys
|
||||
%%DATADIR%%/fill_help_tables.sql
|
||||
%%DATADIR%%/french/errmsg.sys
|
||||
%%DATADIR%%/german/errmsg.sys
|
||||
%%DATADIR%%/greek/errmsg.sys
|
||||
%%DATADIR%%/hungarian/errmsg.sys
|
||||
%%DATADIR%%/innodb_memcached_config.sql
|
||||
%%DATADIR%%/install_rewriter.sql
|
||||
%%DATADIR%%/italian/errmsg.sys
|
||||
%%DATADIR%%/japanese/errmsg.sys
|
||||
%%DATADIR%%/korean/errmsg.sys
|
||||
%%DATADIR%%/magic
|
||||
%%DATADIR%%/my-default.cnf
|
||||
%%DATADIR%%/mysqld_multi.server
|
||||
%%DATADIR%%/mysql-log-rotate
|
||||
%%DATADIR%%/mysql_security_commands.sql
|
||||
%%DATADIR%%/mysql.server
|
||||
%%DATADIR%%/mysql_sys_schema.sql
|
||||
%%DATADIR%%/mysql_system_tables_data.sql
|
||||
%%DATADIR%%/mysql_system_tables.sql
|
||||
%%DATADIR%%/mysql_test_data_timezone.sql
|
||||
%%DATADIR%%/norwegian/errmsg.sys
|
||||
%%DATADIR%%/norwegian-ny/errmsg.sys
|
||||
%%DATADIR%%/polish/errmsg.sys
|
||||
%%DATADIR%%/portuguese/errmsg.sys
|
||||
%%DATADIR%%/romanian/errmsg.sys
|
||||
%%DATADIR%%/russian/errmsg.sys
|
||||
%%DATADIR%%/serbian/errmsg.sys
|
||||
%%DATADIR%%/slovak/errmsg.sys
|
||||
%%DATADIR%%/spanish/errmsg.sys
|
||||
%%DATADIR%%/swedish/errmsg.sys
|
||||
%%DATADIR%%/ukrainian/errmsg.sys
|
||||
%%DATADIR%%/uninstall_rewriter.sql
|
||||
include/mysql/mysqlx_error.h
|
||||
include/mysql/mysqlx_version.h
|
||||
@dir lib/mysql/plugin/debug
|
||||
@dir(mysql,mysql,) /var/db/mysql
|
||||
%%INNODBMEMCACHED%%lib/mysql/plugin/innodb_engine.so
|
||||
%%INNODBMEMCACHED%%lib/mysql/plugin/libmemcached.so
|
||||
libexec/mysqld
|
||||
lib/mysql/libmysqld.a
|
||||
lib/mysql/plugin/adt_null.so
|
||||
lib/mysql/plugin/audit_log.so
|
||||
lib/mysql/plugin/auth.so
|
||||
lib/mysql/plugin/auth_test_plugin.so
|
||||
lib/mysql/plugin/daemon_example.ini
|
||||
lib/mysql/plugin/ha_example.so
|
||||
lib/mysql/plugin/keyring_file.so
|
||||
lib/mysql/plugin/keyring_udf.so
|
||||
lib/mysql/plugin/libdaemon_example.so
|
||||
lib/mysql/plugin/libfnv1a_udf.so
|
||||
lib/mysql/plugin/libfnv_udf.so
|
||||
lib/mysql/plugin/libmurmur_udf.so
|
||||
lib/mysql/plugin/libtest_framework.so
|
||||
lib/mysql/plugin/libtest_services.so
|
||||
lib/mysql/plugin/libtest_services_threaded.so
|
||||
lib/mysql/plugin/libtest_session_detach.so
|
||||
lib/mysql/plugin/libtest_session_info.so
|
||||
lib/mysql/plugin/libtest_session_in_thd.so
|
||||
lib/mysql/plugin/libtest_sql_2_sessions.so
|
||||
lib/mysql/plugin/libtest_sql_all_col_types.so
|
||||
lib/mysql/plugin/libtest_sql_cmds_1.so
|
||||
lib/mysql/plugin/libtest_sql_commit.so
|
||||
lib/mysql/plugin/libtest_sql_complex.so
|
||||
lib/mysql/plugin/libtest_sql_errors.so
|
||||
lib/mysql/plugin/libtest_sql_lock.so
|
||||
lib/mysql/plugin/libtest_sql_processlist.so
|
||||
lib/mysql/plugin/libtest_sql_replication.so
|
||||
lib/mysql/plugin/libtest_sql_shutdown.so
|
||||
lib/mysql/plugin/libtest_sql_sqlmode.so
|
||||
lib/mysql/plugin/libtest_sql_stored_procedures_functions.so
|
||||
lib/mysql/plugin/libtest_sql_views_triggers.so
|
||||
lib/mysql/plugin/libtest_x_sessions_deinit.so
|
||||
lib/mysql/plugin/libtest_x_sessions_init.so
|
||||
lib/mysql/plugin/locking_service.so
|
||||
lib/mysql/plugin/mypluglib.so
|
||||
lib/mysql/plugin/mysql_no_login.so
|
||||
lib/mysql/plugin/mysqlx.so
|
||||
lib/mysql/plugin/qa_auth_client.so
|
||||
lib/mysql/plugin/qa_auth_interface.so
|
||||
lib/mysql/plugin/qa_auth_server.so
|
||||
lib/mysql/plugin/query_response_time.so
|
||||
lib/mysql/plugin/replication_observers_example_plugin.so
|
||||
lib/mysql/plugin/rewrite_example.so
|
||||
lib/mysql/plugin/rewriter.so
|
||||
lib/mysql/plugin/semisync_master.so
|
||||
lib/mysql/plugin/semisync_slave.so
|
||||
lib/mysql/plugin/test_security_context.so
|
||||
lib/mysql/plugin/test_udf_services.so
|
||||
lib/mysql/plugin/validate_password.so
|
||||
lib/mysql/plugin/version_token.so
|
||||
libdata/pkgconfig/LIBMYSQL_OS_OUTPUT_NAME-NOTFOUND.pc
|
||||
man/man1/myisamchk.1.gz
|
||||
man/man1/myisam_ftdump.1.gz
|
||||
man/man1/myisamlog.1.gz
|
||||
man/man1/myisampack.1.gz
|
||||
man/man1/my_print_defaults.1.gz
|
||||
man/man1/mysqld_multi.1.gz
|
||||
man/man1/mysqld_safe.1.gz
|
||||
man/man1/mysqldumpslow.1.gz
|
||||
man/man1/mysql_install_db.1.gz
|
||||
man/man1/mysqlman.1.gz
|
||||
man/man1/mysql_plugin.1.gz
|
||||
man/man1/mysql_secure_installation.1.gz
|
||||
man/man1/mysql.server.1.gz
|
||||
man/man1/mysqltest.1.gz
|
||||
man/man1/mysql_tzinfo_to_sql.1.gz
|
||||
man/man1/mysql_upgrade.1.gz
|
||||
man/man1/perror.1.gz
|
||||
man/man1/replace.1.gz
|
||||
man/man1/resolveip.1.gz
|
||||
man/man1/resolve_stack_dump.1.gz
|
||||
man/man8/mysqld.8.gz
|
||||
%%TOKUDB%%bin/tokuftdump
|
||||
%%TOKUDB%%bin/tokuft_logprint
|
||||
%%TOKUDB%%include/backup.h
|
||||
%%TOKUDB%%lib/mysql/libHotBackup.so
|
||||
%%TOKUDB%%lib/mysql/plugin/ha_tokudb.so
|
||||
%%TOKUDB%%lib/mysql/plugin/tokudb_backup.so
|
||||
%%TOKUDB%%share/doc/mysql/COPYING.AGPLv3
|
||||
%%TOKUDB%%share/doc/mysql/COPYING.GPLv2
|
||||
%%TOKUDB%%share/doc/mysql/PATENTS
|
||||
%%TOKUDB%%share/doc/mysql/README.md
|
||||
%%TOKUDB%%share/doc/mysql/README_tokudb_backup
|
||||
@dir(mysql,mysql,0750) %%ETCDIR%%/keyring
|
||||
@dir(mysql,mysql,0750) %%MY_SECDIR%%
|
||||
@dir(mysql,mysql,0750) %%MY_TMPDIR%%
|
||||
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= leveldb
|
||||
PORTVERSION= 0.20
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
|
@ -12,10 +13,16 @@ COMMENT= Thread-safe Python binding for LevelDB
|
|||
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
||||
LIB_DEPENDS= libleveldb.so:databases/leveldb
|
||||
|
||||
PORTSCOUT= skipv:0.194
|
||||
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
USES= python
|
||||
USES= localbase python
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/${PYSETUP}
|
||||
@${RM} -r ${WRKSRC}/leveldb/ ${WRKSRC}/snappy/
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/leveldb.so
|
||||
|
|
|
|||
29
databases/py-leveldb/files/patch-leveldb_object.cc
Normal file
29
databases/py-leveldb/files/patch-leveldb_object.cc
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
--- leveldb_object.cc.orig 2016-12-27 23:03:15 UTC
|
||||
+++ leveldb_object.cc
|
||||
@@ -901,9 +901,8 @@ static int PyLevelDB_init(PyLevelDB* sel
|
||||
int block_size = 4096;
|
||||
int max_open_files = 1000;
|
||||
int block_restart_interval = 16;
|
||||
- int max_file_size = 2 << 20;
|
||||
const char* kwargs[] = {"filename", "create_if_missing", "error_if_exists", "paranoid_checks", "write_buffer_size",
|
||||
- "block_size", "max_open_files", "block_restart_interval", "block_cache_size", "max_file_size", "comparator", 0};
|
||||
+ "block_size", "max_open_files", "block_restart_interval", "block_cache_size", "comparator", 0};
|
||||
|
||||
PyObject* comparator = 0;
|
||||
|
||||
@@ -917,7 +916,6 @@ static int PyLevelDB_init(PyLevelDB* sel
|
||||
&max_open_files,
|
||||
&block_restart_interval,
|
||||
&block_cache_size,
|
||||
- &max_file_size,
|
||||
&comparator))
|
||||
return -1;
|
||||
|
||||
@@ -963,7 +961,6 @@ static int PyLevelDB_init(PyLevelDB* sel
|
||||
self->_options->block_restart_interval = block_restart_interval;
|
||||
self->_options->compression = leveldb::kSnappyCompression;
|
||||
self->_options->block_cache = self->_cache;
|
||||
- self->_options->max_file_size = max_file_size;
|
||||
self->_options->comparator = self->_comparator;
|
||||
leveldb::Status status;
|
||||
|
||||
|
|
@ -1,6 +1,23 @@
|
|||
--- setup.py.orig 2016-12-27 23:05:34 UTC
|
||||
+++ setup.py
|
||||
@@ -31,11 +31,11 @@ if system == 'Darwin':
|
||||
@@ -14,15 +14,11 @@ from setuptools import setup, Extension
|
||||
|
||||
system, node, release, version, machine, processor = platform.uname()
|
||||
common_flags = [
|
||||
- '-I./leveldb/include',
|
||||
- '-I./leveldb',
|
||||
- '-I./snappy',
|
||||
+ '-I%%LOCALBASE%%/include',
|
||||
'-I.',
|
||||
'-fno-builtin-memcmp',
|
||||
'-O2',
|
||||
'-fPIC',
|
||||
- '-DNDEBUG',
|
||||
- '-DSNAPPY',
|
||||
]
|
||||
|
||||
if system == 'Darwin':
|
||||
@@ -31,11 +27,11 @@ if system == 'Darwin':
|
||||
'-DLEVELDB_PLATFORM_POSIX',
|
||||
'-Wno-error=unused-command-line-argument-hard-error-in-future',
|
||||
]
|
||||
|
|
@ -14,3 +31,62 @@
|
|||
'-DLEVELDB_PLATFORM_POSIX',
|
||||
]
|
||||
else:
|
||||
@@ -74,57 +70,11 @@ setup(
|
||||
ext_modules = [
|
||||
Extension('leveldb',
|
||||
sources = [
|
||||
- # snappy
|
||||
- './snappy/snappy.cc',
|
||||
- './snappy/snappy-stubs-internal.cc',
|
||||
- './snappy/snappy-sinksource.cc',
|
||||
- './snappy/snappy-c.cc',
|
||||
-
|
||||
- #leveldb
|
||||
- 'leveldb/db/builder.cc',
|
||||
- 'leveldb/db/c.cc',
|
||||
- 'leveldb/db/db_impl.cc',
|
||||
- 'leveldb/db/db_iter.cc',
|
||||
- 'leveldb/db/dbformat.cc',
|
||||
- 'leveldb/db/filename.cc',
|
||||
- 'leveldb/db/log_reader.cc',
|
||||
- 'leveldb/db/log_writer.cc',
|
||||
- 'leveldb/db/memtable.cc',
|
||||
- 'leveldb/db/repair.cc',
|
||||
- 'leveldb/db/table_cache.cc',
|
||||
- 'leveldb/db/version_edit.cc',
|
||||
- 'leveldb/db/version_set.cc',
|
||||
- 'leveldb/db/write_batch.cc',
|
||||
- 'leveldb/table/block.cc',
|
||||
- 'leveldb/table/block_builder.cc',
|
||||
- 'leveldb/table/filter_block.cc',
|
||||
- 'leveldb/table/format.cc',
|
||||
- 'leveldb/table/iterator.cc',
|
||||
- 'leveldb/table/merger.cc',
|
||||
- 'leveldb/table/table.cc',
|
||||
- 'leveldb/table/table_builder.cc',
|
||||
- 'leveldb/table/two_level_iterator.cc',
|
||||
- 'leveldb/util/arena.cc',
|
||||
- 'leveldb/util/bloom.cc',
|
||||
- 'leveldb/util/cache.cc',
|
||||
- 'leveldb/util/coding.cc',
|
||||
- 'leveldb/util/comparator.cc',
|
||||
- 'leveldb/util/crc32c.cc',
|
||||
- 'leveldb/util/env.cc',
|
||||
- 'leveldb/util/env_posix.cc',
|
||||
- 'leveldb/util/filter_policy.cc',
|
||||
- 'leveldb/util/hash.cc',
|
||||
- 'leveldb/util/histogram.cc',
|
||||
- 'leveldb/util/logging.cc',
|
||||
- 'leveldb/util/options.cc',
|
||||
- 'leveldb/util/status.cc',
|
||||
- 'leveldb/port/port_posix.cc',
|
||||
-
|
||||
# python stuff
|
||||
'leveldb_ext.cc',
|
||||
'leveldb_object.cc',
|
||||
],
|
||||
- libraries = ['stdc++'],
|
||||
+ libraries = ['leveldb'],
|
||||
extra_compile_args = extra_compile_args,
|
||||
)
|
||||
]
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
PORTNAME= gcalcli
|
||||
PORTVERSION= 3.2
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= deskutils python
|
||||
|
||||
MAINTAINER= ports@thelanman.net
|
||||
|
|
@ -13,10 +13,10 @@ COMMENT= Google Calendar Command Line Interface
|
|||
LICENSE= MIT
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil \
|
||||
${PYTHON_SITELIBDIR}/gdata/__init__.py:devel/py-gdata \
|
||||
${PYTHON_SITELIBDIR}/gflags.py:devel/py-gflags \
|
||||
${PYTHON_SITELIBDIR}/apiclient/__init__.py:www/py-google-api-python-client \
|
||||
${PYTHON_SITELIBDIR}/httplib2/__init__.py:www/py-httplib2
|
||||
${PYTHON_PKGNAMEPREFIX}gdata>=0:devel/py-gdata \
|
||||
${PYTHON_PKGNAMEPREFIX}google-api-python-client>=0:www/py-google-api-python-client \
|
||||
${PYTHON_PKGNAMEPREFIX}httplib2>=0:www/py-httplib2 \
|
||||
${PYTHON_PKGNAMEPREFIX}python-gflags>=0:devel/py-python-gflags
|
||||
|
||||
USES= python:-2.7
|
||||
USE_GITHUB= yes
|
||||
|
|
|
|||
|
|
@ -4254,7 +4254,6 @@
|
|||
SUBDIR += py-geojson
|
||||
SUBDIR += py-geotypes
|
||||
SUBDIR += py-gevent
|
||||
SUBDIR += py-gflags
|
||||
SUBDIR += py-git-up
|
||||
SUBDIR += py-gitdb
|
||||
SUBDIR += py-gitless
|
||||
|
|
@ -4429,6 +4428,7 @@
|
|||
SUBDIR += py-oslo.service
|
||||
SUBDIR += py-oslo.utils
|
||||
SUBDIR += py-oslo.versionedobjects
|
||||
SUBDIR += py-oslo.vmware
|
||||
SUBDIR += py-osprofiler
|
||||
SUBDIR += py-palm
|
||||
SUBDIR += py-parsedatetime
|
||||
|
|
@ -4526,6 +4526,7 @@
|
|||
SUBDIR += py-python-bugzilla
|
||||
SUBDIR += py-python-distutils-extra
|
||||
SUBDIR += py-python-editor
|
||||
SUBDIR += py-python-gflags
|
||||
SUBDIR += py-python-gist
|
||||
SUBDIR += py-python-jenkins
|
||||
SUBDIR += py-python-magic
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= cppcheck
|
||||
PORTVERSION= 1.76.1
|
||||
PORTVERSION= 1.77
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= SF
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1476714910
|
||||
SHA256 (cppcheck-1.76.1.tar.bz2) = 5bc70fdc59e242ee882ec9c98738b43e7b46919c78015a6acaceeb527f5d86d0
|
||||
SIZE (cppcheck-1.76.1.tar.bz2) = 1166292
|
||||
TIMESTAMP = 1483970126
|
||||
SHA256 (cppcheck-1.77.tar.bz2) = 1980ffe5c9c24bb6dea24514d42be3aa49d6ba7cc26c448b3543611fe8ba2619
|
||||
SIZE (cppcheck-1.77.tar.bz2) = 1188453
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gb
|
||||
PORTVERSION= 0.4.1
|
||||
PORTVERSION= 0.4.3
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= devel
|
||||
|
||||
|
|
@ -10,11 +10,10 @@ COMMENT= Project based build tool for Go
|
|||
|
||||
LICENSE= MIT
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go
|
||||
|
||||
USES= go
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= constabulary
|
||||
GH_TUPLE= pkg:errors:645ef00:errors/../src/github.com/pkg/errors
|
||||
|
||||
PLIST_FILES= bin/gb bin/gb-vendor
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
TIMESTAMP = 1463920380
|
||||
SHA256 (constabulary-gb-v0.4.1_GH0.tar.gz) = 05842117ddbfa4672a2e1c8bf7dfce23d0dd2a18e9d72d2fb7a7845c4ea2c655
|
||||
SIZE (constabulary-gb-v0.4.1_GH0.tar.gz) = 95304
|
||||
TIMESTAMP = 1483959835
|
||||
SHA256 (constabulary-gb-v0.4.3_GH0.tar.gz) = 480ae2376d20b1c3768b6600d7f9f0c9395071a692c14ea27f9560cccfb3151e
|
||||
SIZE (constabulary-gb-v0.4.3_GH0.tar.gz) = 110841
|
||||
SHA256 (pkg-errors-645ef00_GH0.tar.gz) = b2e989515688d916216dd0a1b82cd9b18e8fb4fdf0370473996bdde41b83a41f
|
||||
SIZE (pkg-errors-645ef00_GH0.tar.gz) = 11342
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= jenkins
|
||||
PORTVERSION= 2.39
|
||||
PORTVERSION= 2.40
|
||||
CATEGORIES= devel java
|
||||
MASTER_SITES= http://mirrors.jenkins-ci.org/war/${PORTVERSION}/
|
||||
DISTNAME= jenkins
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1483416315
|
||||
SHA256 (jenkins/2.39/jenkins.war) = 8a0b234803e097ef62beb35b871d0de21a465ead1cc65e507556ceafb46e5958
|
||||
SIZE (jenkins/2.39/jenkins.war) = 68598796
|
||||
TIMESTAMP = 1484076974
|
||||
SHA256 (jenkins/2.40/jenkins.war) = 34161ce5ea60117e515a8afab9ef2e3a3df26a7884e41c0de1c662ed7e8fab21
|
||||
SIZE (jenkins/2.40/jenkins.war) = 68616418
|
||||
|
|
|
|||
|
|
@ -11,18 +11,21 @@ PKGNAMEPREFIX= p5-
|
|||
MAINTAINER= Alex.Bakhtin@gmail.com
|
||||
COMMENT= Build and install Perl applications
|
||||
|
||||
RUN_DEPENDS= p5-App-Options>=0:devel/p5-App-Options \
|
||||
p5-Module-Build>=0.28:devel/p5-Module-Build
|
||||
BUILD_DEPENDS= p5-Test-Differences>=0.47:devel/p5-Test-Differences \
|
||||
p5-App-Options>=0:devel/p5-App-Options \
|
||||
p5-Module-Build>=0.28:devel/p5-Module-Build
|
||||
LICENSE= ART10 GPLv1
|
||||
LICENSE_COMB= dual
|
||||
|
||||
BUILD_DEPENDS= p5-App-Options>=0:devel/p5-App-Options \
|
||||
p5-Module-Build>=0.28:devel/p5-Module-Build
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
TEST_DEPENDS= p5-Test-Differences>=0.47:devel/p5-Test-Differences
|
||||
|
||||
NO_ARCH= yes
|
||||
USES= perl5
|
||||
USE_PERL5= modbuild
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-install:
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/CHANGES ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
||||
|
|
|
|||
|
|
@ -23,10 +23,8 @@ BUILD_DEPENDS= p5-Capture-Tiny>=0.13:devel/p5-Capture-Tiny \
|
|||
p5-Module-Pluggable>=5.1:devel/p5-Module-Pluggable
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
TEST_DEPENDS= p5-Test-Fatal>=0:devel/p5-Test-Fatal \
|
||||
p5-Data-Dumper>=0:devel/p5-Data-Dumper \
|
||||
p5-PathTools>=0:devel/p5-PathTools \
|
||||
p5-IPC-Cmd>=0:devel/p5-IPC-Cmd \
|
||||
p5-ExtUtils-MakeMaker>=6.4:devel/p5-ExtUtils-MakeMaker
|
||||
p5-IPC-Cmd>=0:devel/p5-IPC-Cmd
|
||||
|
||||
USES= perl5
|
||||
USE_PERL5= configure
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= Devel-SimpleTrace
|
||||
PORTVERSION= 0.08
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
|
@ -11,10 +11,12 @@ PKGNAMEPREFIX= p5-
|
|||
MAINTAINER= culot@FreeBSD.org
|
||||
COMMENT= Perl module for better stack traces on interpreter-generated warn/die
|
||||
|
||||
LICENSE= ART10 GPLv1
|
||||
LICENSE_COMB= dual
|
||||
LICENSE_FILE_ART10= ${WRKSRC}/LICENSE.Artistic
|
||||
|
||||
NO_ARCH= yes
|
||||
USES= perl5
|
||||
USE_PERL5= configure
|
||||
|
||||
BUILD_DEPENDS= p5-Data-Dumper>=0:devel/p5-Data-Dumper
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
PORTNAME= adb
|
||||
PORTVERSION= 1.1.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel comms python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
|
@ -12,7 +13,7 @@ COMMENT= Pure-python implementation of ADB and Fastboot protocols
|
|||
LICENSE= APACHE20
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libusb1>0:devel/py-libusb1 \
|
||||
${PYTHON_PKGNAMEPREFIX}gflags>0:devel/py-gflags \
|
||||
${PYTHON_PKGNAMEPREFIX}python-gflags>0:devel/py-python-gflags \
|
||||
${PYTHON_PKGNAMEPREFIX}m2crypto>0:security/py-m2crypto
|
||||
|
||||
NO_ARCH= yes
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
TIMESTAMP = 1473873529
|
||||
SHA256 (python-gflags-2.0.tar.gz) = 0dff6360423f3ec08cbe3bfaf37b339461a54a21d13be0dd5d9c9999ce531078
|
||||
SIZE (python-gflags-2.0.tar.gz) = 65094
|
||||
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= google-apputils
|
||||
PORTVERSION= 0.4.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
|
@ -13,7 +14,7 @@ COMMENT= Google Application Utilities for Python
|
|||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gflags>2:devel/py-gflags \
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-gflags>2:devel/py-python-gflags \
|
||||
${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz \
|
||||
${PYTHON_PKGNAMEPREFIX}dateutil>2:devel/py-dateutil
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= jep
|
||||
PORTVERSION= 3.6.1
|
||||
PORTVERSION= 3.6.2
|
||||
CATEGORIES= devel java python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1478244101
|
||||
SHA256 (jep-3.6.1.tar.gz) = e6998ab57db0097a756b57301ac3cd2f2adba773df3687f9d3b54c86424be1e2
|
||||
SIZE (jep-3.6.1.tar.gz) = 258441
|
||||
TIMESTAMP = 1484055165
|
||||
SHA256 (jep-3.6.2.tar.gz) = 7d8fa5a1424dc91d6ea408718a7a5b8e90d7c0ebe53b5b2a1c38dc6c7979db48
|
||||
SIZE (jep-3.6.2.tar.gz) = 258756
|
||||
|
|
|
|||
34
devel/py-oslo.vmware/Makefile
Normal file
34
devel/py-oslo.vmware/Makefile
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Created by: Alexander Nusov <alexander.nusov@nfvexpress.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= oslo.vmware
|
||||
PORTVERSION= 2.16.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= alexander.nusov@nfvexpress.com
|
||||
COMMENT= Oslo VMware library
|
||||
|
||||
LICENSE= APACHE20
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.8:devel/py-pbr
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}urllib3>=1.15.1:net/py-urllib3 \
|
||||
${PYTHON_PKGNAMEPREFIX}stevedore>=1.17.1:devel/py-stevedore \
|
||||
${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six \
|
||||
${PYTHON_PKGNAMEPREFIX}requests>=2.10.0:www/py-requests \
|
||||
${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.18.0:devel/py-oslo.utils \
|
||||
${PYTHON_PKGNAMEPREFIX}oslo.i18n>=2.1.0:devel/py-oslo.i18n \
|
||||
${PYTHON_PKGNAMEPREFIX}oslo.concurrency>=3.8.0:devel/py-oslo.concurrency \
|
||||
${PYTHON_PKGNAMEPREFIX}netaddr>=0:net/py-netaddr \
|
||||
${PYTHON_PKGNAMEPREFIX}lxml>=2.3:devel/py-lxml \
|
||||
${PYTHON_PKGNAMEPREFIX}eventlet>=0:net/py-eventlet \
|
||||
${PYTHON_PKGNAMEPREFIX}yaml>=3.10.0:devel/py-yaml \
|
||||
${PYTHON_PKGNAMEPREFIX}suds-jurko>=0.6:net/py-suds-jurko
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
devel/py-oslo.vmware/distinfo
Normal file
3
devel/py-oslo.vmware/distinfo
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1481137692
|
||||
SHA256 (oslo.vmware-2.16.0.tar.gz) = 53cbc0278187e94041b0877cb15b1e417c87d6726e12b522997112f9cda2f807
|
||||
SIZE (oslo.vmware-2.16.0.tar.gz) = 202785
|
||||
3
devel/py-oslo.vmware/pkg-descr
Normal file
3
devel/py-oslo.vmware/pkg-descr
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
The Oslo VMware library provides support for common VMware operations and APIs.
|
||||
|
||||
WWW: http://pypi.python.org/pypi/oslo.vmware
|
||||
|
|
@ -1,24 +1,22 @@
|
|||
# Created by: Julien Laffaye <kimelto@gmail.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gflags
|
||||
PORTVERSION= 2.0
|
||||
PORTREVISION= 3
|
||||
PORTNAME= python-gflags
|
||||
PORTVERSION= 3.1.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= python-gflags-${PORTVERSION}
|
||||
|
||||
MAINTAINER= jlaffaye@FreeBSD.org
|
||||
COMMENT= Commandline flags module for Python
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= python:2.7 shebangfix
|
||||
USE_PYTHON= autoplist distutils
|
||||
NO_ARCH= yes
|
||||
USES= python shebangfix
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
SHEBANG_FILES= gflags2man.py
|
||||
|
||||
PROJECTHOST= python-gflags
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
devel/py-python-gflags/distinfo
Normal file
3
devel/py-python-gflags/distinfo
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1478190883
|
||||
SHA256 (python-gflags-3.1.0.tar.gz) = 3377d9dbeedb99c0325beb1f535f8fa9fa131d1d8b50db7481006f0a4c6919b4
|
||||
SIZE (python-gflags-3.1.0.tar.gz) = 52165
|
||||
|
|
@ -4,4 +4,4 @@ flexibility, including built-in support for Python types, and the ability to
|
|||
define flags in the source file in which they're used. (This last is its major
|
||||
difference from OptParse.)
|
||||
|
||||
WWW: http://code.google.com/p/python-gflags/
|
||||
WWW: https://github.com/google/python-gflags
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
PORTNAME= grape-entity
|
||||
PORTVERSION= 0.6.0
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= devel rubygems
|
||||
MASTER_SITES= RG
|
||||
|
||||
|
|
@ -18,4 +19,6 @@ NO_ARCH= yes
|
|||
USE_RUBY= yes
|
||||
USES= gem
|
||||
|
||||
PORTSCOUT= ignore
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1483192396
|
||||
TIMESTAMP = 1484063701
|
||||
SHA256 (rubygem/grape-entity-0.6.0.gem) = 18c6eebfce66cb0288b9273783c057a90f05f1707c882f7347e61313829550a2
|
||||
SIZE (rubygem/grape-entity-0.6.0.gem) = 39424
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue