This patch bumps MySQL to latest version and also repairs missing/not working 
mirrors (planetmirror is offline and holywar.net does not provide mysql 
anymore). If a source package does not exist at mirror repo (they seem to keep 
the latest two versions at mysql repo), it uses the archives repo at last.
--
MySQL version bump to 5.1.68 and PKG_URL_SOURCE fix
Signed-off-by: Jiri Slachta <slac...@cesnet.cz>
Index: libs/mysql/Makefile
===================================================================
--- libs/mysql/Makefile (revision 35603)
+++ libs/mysql/Makefile (working copy)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006-2012 OpenWrt.org
+# Copyright (C) 2006-2013 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,17 +9,19 @@
 include $(INCLUDE_DIR)/uclibc++.mk
 
 PKG_NAME:=mysql
-PKG_VERSION:=5.1.66
-PKG_RELEASE:=7
+PKG_VERSION:=5.1.68
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=\
-       http://mysql.planetmirror.com/Downloads/MySQL-5.1/ \
        http://mysql.he.net/Downloads/MySQL-5.1/ \
        http://www.linorg.usp.br/mysql/Downloads/MySQL-5.1/ \
-       http://mysql.holywar.net/Downloads/MySQL-5.1/
-PKG_MD5SUM:=a43ffa58e3611e5a557feb745596aca3
+       http://www.mirrorservice.org/sites/ftp.mysql.com/Downloads/MySQL-5.1/ \
+       http://mirror.switch.ch/ftp/mirror/mysql/Downloads/MySQL-5.1/ \
+       http://downloads.mysql.com/archives/mysql-5.1/
 
+PKG_MD5SUM:=3a4a627d0865ce7660504728a15b0fb9
+
 PKG_BUILD_DEPENDS:=libncurses libreadline
 PKG_BUILD_PARALLEL:=1
 

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to