Skip to contentSkip to conversation

svn commit: trunk/buildroot/package: database database/mysql_client

Buildroot antab at uclibc.org 3 participants 4 messages Jun 1, 2008

lore
Share & tools
lore
#0 lore raw

Author: antab
Date: 2008-06-01 11:08:48 -0700 (Sun, 01 Jun 2008) New Revision: 22165

Log:
Added database menu to config (maybe move the other databases under it to remove the mess from the main package menu) Added mysql 5.1 client package, can be used to provide mysql support for PHP. Note: This package has only been tested on AVR32.

Added:
trunk/buildroot/package/database/ trunk/buildroot/package/database/Config.in trunk/buildroot/package/database/database.mk trunk/buildroot/package/database/mysql_client/ trunk/buildroot/package/database/mysql_client/Config.in trunk/buildroot/package/database/mysql_client/mysql_client.mk

Modified:
trunk/buildroot/package/Config.in

Changeset:
Modified: trunk/buildroot/package/Config.in
===================================================================

buildroot/package/Config.in +2 -0
@@ -127,6 +127,8 @@
 source "package/which/Config.in"
 endif
 
+source "package/database/Config.in"
+
 if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
 # busybox has an editor
 

Added: trunk/buildroot/package/database/Config.in
===================================================================

buildroot/package/database/Config.in +5 -0
@@ -0,0 +1,5 @@
+menu "Database"
+
+source "package/database/mysql_client/Config.in"
+
+endmenu

Added: trunk/buildroot/package/database/database.mk
===================================================================

buildroot/package/database/database.mk +1 -0
@@ -0,0 +1 @@
+include package/database/*/*.mk

Added: trunk/buildroot/package/database/mysql_client/Config.in
===================================================================

buildroot/package/database/mysql_client/Config.in +5 -0
@@ -0,0 +1,5 @@
+config BR2_PACKAGE_MYSQL_CLIENT
+	bool "MySQL 5.1 client"
+	default n
+	help
+	  MySQL 5.1 client

Added: trunk/buildroot/package/database/mysql_client/mysql_client.mk
===================================================================

buildroot/package/database/mysql_client/mysql_client.mk +30 -0
@@ -0,0 +1,30 @@
+#############################################################
+#
+# MySQL 5.1 Client
+#
+#############################################################
+MYSQL_CLIENT_VERSION = 5.1.23-rc
+MYSQL_CLIENT_SOURCE = mysql-$(MYSQL_CLIENT_VERSION).tar.gz
+MYSQL_CLIENT_SITE = http://mirrors.24-7-solutions.net/pub/mysql/Downloads/MySQL-5.1
+MYSQL_CLIENT_INSTALL_TARGET = YES
+MYSQL_CLIENT_INSTALL_STAGING = YES
+MYSQL_CLIENT_DEPENDENCIES = uclibc readline
+
+MYSQL_CLIENT_CONF_ENV = ac_cv_sys_restartable_syscalls=yes
+MYSQL_CLIENT_CONF_OPT = \
+	--target=$(GNU_TARGET_NAME) \
+	--host=$(GNU_TARGET_NAME) \
+	--build=$(GNU_HOST_NAME) \
+	--program-prefix="" \
+	--prefix=/usr \
+	--without-ndb-binlog \
+	--without-server \
+	--without-docs \
+	--without-man \
+	--without-readline \
+	--without-libedit \
+	--with-low-memory \
+	--enable-thread-safe-client \
+	$(ENABLE_DEBUG)
+
+$(eval $(call AUTOTARGETS,package,mysql_client))
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"antab" == antab <[email protected]> writes:

antab> Author: antab
antab> Date: 2008-06-01 11:08:48 -0700 (Sun, 01 Jun 2008) antab> New Revision: 22165
antab> Log:
antab> Added database menu to config (maybe move the other databases antab> under it to remove the mess from the main package menu) Added antab> mysql 5.1 client package, can be used to provide mysql support antab> for PHP. Note: This package has only been tested on AVR32.

...

antab> Added: trunk/buildroot/package/database/Config.in antab> ===================================================================
antab> --- trunk/buildroot/package/database/Config.in (rev 0)
antab> +++ trunk/buildroot/package/database/Config.in 2008-06-01 18:08:48 UTC (rev 22165)
antab> @@ -0,0 +1,5 @@
antab> +menu "Database"
antab> +
antab> +source "package/database/mysql_client/Config.in" antab> +
antab> +endmenu

The other sub menus use menuconfig instead of menu, please do as well.

antab> Added: trunk/buildroot/package/database/database.mk antab> ===================================================================
antab> --- trunk/buildroot/package/database/database.mk (rev 0)
antab> +++ trunk/buildroot/package/database/database.mk 2008-06-01 18:08:48 UTC (rev 22165)
antab> @@ -0,0 +1 @@
antab> +include package/database/*/*.mk

antab> Added: trunk/buildroot/package/database/mysql_client/Config.in antab> ===================================================================
antab> --- trunk/buildroot/package/database/mysql_client/Config.in (rev 0)
antab> +++ trunk/buildroot/package/database/mysql_client/Config.in 2008-06-01 18:08:48 UTC (rev 22165)
antab> @@ -0,0 +1,5 @@
antab> +config BR2_PACKAGE_MYSQL_CLIENT
antab> + bool "MySQL 5.1 client"
antab> + default n
antab> + help
antab> + MySQL 5.1 client

Please don't add the version number to the help text.

antab> Added: trunk/buildroot/package/database/mysql_client/mysql_client.mk antab> ===================================================================
antab> --- trunk/buildroot/package/database/mysql_client/mysql_client.mk (rev 0)
antab> +++ trunk/buildroot/package/database/mysql_client/mysql_client.mk 2008-06-01 18:08:48 UTC (rev 22165)
antab> @@ -0,0 +1,30 @@
antab> +#############################################################
antab> +#
antab> +# MySQL 5.1 Client
antab> +#
antab> +#############################################################
antab> +MYSQL_CLIENT_VERSION = 5.1.23-rc
antab> +MYSQL_CLIENT_SOURCE = mysql-$(MYSQL_CLIENT_VERSION).tar.gz
antab> +MYSQL_CLIENT_SITE = http://mirrors.24-7-solutions.net/pub/mysql/Downloads/MySQL-5.1

Is that the official download URL?

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw
Quoted 14 lines · Peter Korsgaard

antab> Added: trunk/buildroot/package/database/Config.in antab>
===================================================================
antab> --- trunk/buildroot/package/database/
Config.in (rev 0)
antab> +++ trunk/buildroot/package/database/Config.in 2008-06-01
18:08:48 UTC (rev 22165)
antab> @@ -0,0 +1,5 @@
antab> +menu "Database"
antab> +
antab> +source "package/database/mysql_client/Config.in" antab> +
antab> +endmenu

Quoted 1 line

The other sub menus use menuconfig instead of menu, please do as well.

Sorry about that, fixed

Quoted 7 lines

antab> Added: trunk/buildroot/package/database/mysql_client/Config.in antab>
===================================================================
antab> --- trunk/buildroot/package/database/mysql_client/
Config.in (rev 0)
antab> +++ trunk/buildroot/package/database/mysql_client/Config.in

2008-06-01 18:08:48 UTC (rev 22165)
Quoted 8 lines

antab> @@ -0,0 +1,5 @@
antab> +config BR2_PACKAGE_MYSQL_CLIENT
antab> + bool "MySQL 5.1 client"
antab> + default n
antab> + help
antab> + MySQL 5.1 client

Please don't add the version number to the help text.

Removed from the helptext, Keeping it in the menu text, There are so many changes between the 4.x - 5.x versions that one needs to know the major version number.

Quoted 19 lines

antab> Added: trunk/buildroot/package/database/mysql_client/
mysql_client.mk
antab>
===================================================================
antab> --- trunk/buildroot/package/database/mysql_client/
mysql_client.mk (rev 0)
antab> +++ trunk/buildroot/package/database/mysql_client/
mysql_client.mk 2008-06-01 18:08:48 UTC (rev 22165)
antab> @@ -0,0 +1,30 @@
antab> +#############################################################
antab> +#
antab> +# MySQL 5.1 Client
antab> +#
antab> +#############################################################
antab> +MYSQL_CLIENT_VERSION = 5.1.23-rc
antab> +MYSQL_CLIENT_SOURCE = mysql-$(MYSQL_CLIENT_VERSION).tar.gz
antab> +MYSQL_CLIENT_SITE = http://mirrors.24-7-solutions.net/pub/mysql/Downloads/MySQL-5.1

Quoted 1 line

Is that the official download URL?

This mirror was found after searching the mysql.com site.

Quoted 8 lines
Signature · 6 lines
-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

Greets
Arnar Mar Sig
Valka ehf

#3 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Arnar" == Arnar Mar Sig <[email protected]> writes:

Hi,
antab> +endmenu

Quoted 2 lines
Quoted 2 lines

The other sub menus use menuconfig instead of menu, please do as well.

Arnar> Sorry about that, fixed

No problem, but please do commit the fix (you don't seem to have done that yet).

Quoted 1 line
Quoted 1 line

Please don't add the version number to the help text.

Arnar> Removed from the helptext, Keeping it in the menu text, There are so Arnar> many changes between the 4.x - 5.x versions that one needs to know the Arnar> major version number.

The maybe simply call it MYSQL5 or 5.x ?

Quoted 1 line
Quoted 1 line

Is that the official download URL?

Arnar> This mirror was found after searching the mysql.com site.

Ok, I don't really know much about mysql, just seemed odd.

Signature · 1 line
Bye, Peter Korsgaard