[csw-devel] SF.net SVN: gar:[20293] csw/mgar/pkg

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Mon Feb 11 01:12:50 CET 2013


Revision: 20293
          http://gar.svn.sourceforge.net/gar/?rev=20293&view=rev
Author:   wahwah
Date:     2013-02-11 00:12:48 +0000 (Mon, 11 Feb 2013)
Log Message:
-----------
Initial commit. It builds. More work needed.

It provides the same binaries as mysql does, so we can't build it the same way
as we used to build mysql. Maybe we can rename the binaries, or provide
a suffix. I would hate to build it into a different installation prefix. Or
maybe we can replace MySQL with MariaDB entirely in a future release.

Added Paths:
-----------
    csw/mgar/pkg/mariadb/
    csw/mgar/pkg/mariadb/Makefile
    csw/mgar/pkg/mariadb/branches/
    csw/mgar/pkg/mariadb/tags/
    csw/mgar/pkg/mariadb/trunk/
    csw/mgar/pkg/mariadb/trunk/Makefile
    csw/mgar/pkg/mariadb/trunk/checksums
    csw/mgar/pkg/mariadb/trunk/files/
    csw/mgar/pkg/mariadb/trunk/files/map.mysql

Added: csw/mgar/pkg/mariadb/Makefile
===================================================================
--- csw/mgar/pkg/mariadb/Makefile	                        (rev 0)
+++ csw/mgar/pkg/mariadb/Makefile	2013-02-11 00:12:48 UTC (rev 20293)
@@ -0,0 +1,2 @@
+%:
+	$(MAKE) -C trunk $*


Property changes on: csw/mgar/pkg/mariadb/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/mariadb/trunk/Makefile
===================================================================
--- csw/mgar/pkg/mariadb/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/mariadb/trunk/Makefile	2013-02-11 00:12:48 UTC (rev 20293)
@@ -0,0 +1,72 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = mariadb
+VERSION = 5.5.29
+GARTYPE = v2
+
+DESCRIPTION = Robust, scalable, and reliable SQL server
+define BLURB
+endef
+
+MASTER_SITES = http://ftp.heanet.ie/mirrors/mariadb/$(DISTNAME)/kvm-tarbake-jaunty-x86/
+#                   https://downloads.mariadb.org/f/mariadb-5.5.29/kvm-tarbake-jaunty-x86/mariadb-5.5.29.tar.gz/from/http:/ftp.heanet.ie/mirrors/mariadb
+DISTFILES  = $(DISTNAME).tar.gz
+DISTFILES += map.mysql
+
+CONFIGURE_SCRIPTS = custom
+
+GARCOMPILER = GNU
+BUILD64 = 1
+
+LINKER_MAPS ?= -M "$(abspath $(WORKDIR)/map.mysql)"
+
+TEST_TARGET =
+
+BUILD_DEP_PKGS += CSWcmake
+BUILD_DEP_PKGS += CSWbison
+EXTRA_MERGE_EXCLUDE_FILES += $(prefix)/mysql-test.*
+EXTRA_MERGE_EXCLUDE_FILES += $(prefix)/sql-bench.*
+EXTRA_MERGE_EXCLUDE_FILES += $(datadir)/mysql-test.*
+# http://forge.mysql.com/wiki/Autotools_to_CMake_Transition_Guide
+CMAKE_ARGS += -DCMAKE_INSTALL_PREFIX=$(prefix)
+CMAKE_ARGS += -DINSTALL_LAYOUT=RPM
+CMAKE_ARGS += -DMYSQL_DATADIR=$(localstatedir)
+CMAKE_ARGS += -DSYSCONFDIR=$(sysconfdir)
+CMAKE_ARGS += -DINSTALL_BINDIR=$(subst $(prefix)/,,$(bindir))
+CMAKE_ARGS += -DINSTALL_SBINDIR=$(subst $(prefix)/,,$(libexecdir))
+# CMAKE_ARGS += -DINSTALL_MANDIR=$(subst $(prefix)/,,$(mandir))
+CMAKE_ARGS += -DINSTALL_LIBDIR=$(subst $(prefix)/,,$(libdir))
+CMAKE_ARGS += -DINSTALL_PLUGINDIR=$(subst $(prefix)/,,$(libdir))/$(NAME)/plugin
+CMAKE_ARGS += -DWITH_READLINE=1
+CMAKE_ARGS += -DWITH_LIBWRAP=1
+CMAKE_ARGS += -DWITH_SSL=system
+CMAKE_ARGS += -DWITH_ZLIB=system
+CMAKE_ARGS += -DDEFAULT_CHARSET=utf8
+CMAKE_ARGS += -DDEFAULT_COLLATION=utf8_general_ci
+CMAKE_ARGS += -DWITH_COMMENT='OpenCSW'
+CMAKE_ARGS += -DCMAKE_C_FLAGS="$(CFLAGS)"
+CMAKE_ARGS += -DCMAKE_CXX_FLAGS="$(CXXFLAGS)"
+CMAKE_ARGS += -DBUILD_CONFIG=mysql_release
+# CMAKE_ARGS += -DOPENSSL_INCLUDE_DIR="$(includedir)"
+# CMAKE_ARGS += -DCMAKE_LIBRARY_PATH="$(libdir)"
+# CMAKE_ARGS += -DCMAKE_PREFIX_PATH="$(prefix)"
+CMAKE_ARGS += -DOPENSSL_ROOT_DIR=$(prefix)
+# CMAKE_ARGS += -DOPENSSL_SSL_LIBRARIES=$(libdir)/libssl.so
+# CMAKE_ARGS += -DOPENSSL_CRYPTO_LIBRARIES=$(libdir)/libcrypto.so
+CMAKE_ARGS += -DCMAKE_INCLUDE_PATH="$(includedir)"
+CMAKE_ARGS += -DCMAKE_LIBRARY_PATH="$(libdir)"
+CMAKE_ARGS += "-DCMAKE_C_FLAGS=$(CFLAGS)"
+CMAKE_ARGS += "-DCMAKE_CXX_FLAGS=$(CXXFLAGS)"
+CMAKE_ARGS += -DCMAKE_VERBOSE_MAKEFILE=ON
+
+include gar/category.mk
+
+configure-custom:
+	(cd $(WORKSRC) && \
+	 	/usr/bin/env -i \
+		  $(CONFIGURE_ENV) \
+			cmake \
+			. \
+			$(CMAKE_ARGS))
+	@$(MAKECOOKIE)


Property changes on: csw/mgar/pkg/mariadb/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/mariadb/trunk/checksums
===================================================================
--- csw/mgar/pkg/mariadb/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/mariadb/trunk/checksums	2013-02-11 00:12:48 UTC (rev 20293)
@@ -0,0 +1 @@
+643cca7f07f7b00ca3ae1515e6f245d6  mariadb-5.5.29.tar.gz

Added: csw/mgar/pkg/mariadb/trunk/files/map.mysql
===================================================================
--- csw/mgar/pkg/mariadb/trunk/files/map.mysql	                        (rev 0)
+++ csw/mgar/pkg/mariadb/trunk/files/map.mysql	2013-02-11 00:12:48 UTC (rev 20293)
@@ -0,0 +1,7 @@
+# Solaris 10 mapfile with libc Version 1.22.2 which is Update?? Kernel Version
+#   http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libc/port/mapfile-vers#301
+libc.so - SUNW_1.22.5 SUNWprivate_1.1 $ADDVERS=SUNW_1.22.5;
+#  http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libresolv2/common/mapfile-vers
+libresolv.so - SUNW_2.2 SUNWprivate_2.1 $ADDVERS=SUNW_2.2;
+# http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libnsl/common/mapfile-vers
+libnsl.so - SUNW_1.9.1 SUNWprivate_1.5 $ADDVERS=SUNW_1.9.1;

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list