Navigation Menu

Skip to content

Commit

Permalink
packages ubuntu: fix archive download error on trusty
Browse files Browse the repository at this point in the history
MySQL 5.6.33 is provided by universe repository.

TODO: need more fixes to build correctly.

ref. https://launchpadlibrarian.net/291155545/buildlog_ubuntu-trusty-amd64.mroonga-5.6_6.10-2~trusty3_BUILDING.txt.gz
  • Loading branch information
kenhys committed Oct 28, 2016
1 parent 0938585 commit 4674120
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/debian-5.6/rules
Expand Up @@ -13,16 +13,17 @@ export MYSQL_VERSION := $(shell apt-cache show mysql-server-5.6 | grep Version |

override_dh_auto_configure:
archive=mysql-5.6_$(MYSQL_VERSION).orig.tar.gz; \
path=main/m/mysql-5.6/$${archive}; \
path=m/mysql-5.6/$${archive}; \
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}; \
wget $${security_base_url}/main/$${path} || \
wget $${base_url}/main/$${path} || \
wget $${base_url}/universe/$${path}; \
tar xf $${archive}
dh_auto_configure -- --with-mysql-source=./mysql-$(MYSQL_VERSION)

Expand Down

0 comments on commit 4674120

Please sign in to comment.