[Groonga-mysql-commit] mroonga/mroonga at b2faff1 [master] debian: support security updated MySQL

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 23 12:23:56 JST 2014


Kouhei Sutou	2014-10-23 12:23:56 +0900 (Thu, 23 Oct 2014)

  New Revision: b2faff1467be3aab04373d1e1e2cdd8d98b3929e
  https://github.com/mroonga/mroonga/commit/b2faff1467be3aab04373d1e1e2cdd8d98b3929e

  Message:
    debian: support security updated MySQL

  Modified files:
    packages/debian/rules

  Modified: packages/debian/rules (+10 -6)
===================================================================
--- packages/debian/rules    2014-10-23 00:04:28 +0900 (8bcd911)
+++ packages/debian/rules    2014-10-23 12:23:56 +0900 (c7b84a0)
@@ -12,12 +12,16 @@ export MYSQL_VERSION := $(shell apt-cache show mysql-server-5.5 | grep Version |
 	dh $@
 
 override_dh_auto_configure:
-	if [ "$$(lsb_release --id --short)" = "Ubuntu" ]; then	\
-	  base_url=http://archive.ubuntu.com/ubuntu;		\
-	else							\
-	  base_url=http://ftp.debian.org/debian;		\
-	fi;							\
-	wget $${base_url}/pool/main/m/mysql-5.5/mysql-5.5_$(MYSQL_VERSION).orig.tar.gz
+	path=main/m/mysql-5.5/mysql-5.5_$(MYSQL_VERSION).orig.tar.gz	\
+	if [ "$$(lsb_release --id --short)" = "Ubuntu" ]; then		\
+	  base_url=http://archive.ubuntu.com/ubuntu/pool;		\
+	  security_base_url=http://security.ubuntu.com/ubuntu/pool;	\
+	else								\
+	  base_url=http://ftp.debian.org/debian/pool;			\
+	  security_base_url=http://security.debian.org/pool/updates;	\
+	fi;								\
+	wget $${security_base_url}/$${path} ||				\
+	  wget $${base_url}/$${path}
 	tar xf mysql-5.5_$(MYSQL_VERSION).orig.tar.gz
 	dh_auto_configure -- --with-mysql-source=./mysql-$(MYSQL_VERSION)
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index