[Gllug] sun mysql and .debs

Sean Burlington sean at practicalweb.co.uk
Tue Aug 5 15:43:48 UTC 2008


Hi all,

   I'm being bitten by a MySQL bug

http://bugs.mysql.com/bug.php?id=33057

MySQL have a fix in

http://dev.mysql.com/doc/refman/5.0/en/releasenotes-cs-5-0-67.html

but this doesn't seem to be available at:

http://dev.mysql.com/downloads/mysql/5.0.html

I'd grumble about Sun but I'm sure others will do it better than me ;)

The patch at http://lists.mysql.com/commits/40304 doesn't apply cleanly 
to a Ubuntu source package ... but I've applied one of the changes - 
this has built a mysql-client .deb that works better ...

But now aptitude is complaining that I need to upgrade (back to the 
broken version)


I think I need to change a version number - but I'm not sure how

is it one of these lines from rules ?

- if so which? - otherwise further pointers appreciated.

PACKAGE=mysql-dfsg-5.0

include /usr/share/dpatch/dpatch.make

TMP=$(CURDIR)/debian/tmp/

ARCH = $(shell dpkg-architecture -qDEB_BUILD_ARCH)
ARCH_OS = $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEBVERSION = $(shell dpkg-parsechangelog | awk '/^Version: / { print $$2 
}' | sed 's/^.*-//' )

DEB_SOURCE_PACKAGE ?= $(strip $(shell egrep '^Source: ' debian/control | 
cut -f 2 -d ':'))
DEB_VERSION ?= $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 
2 -d ' ')
DEB_NOEPOCH_VERSION ?= $(shell echo $(DEB_VERSION) | cut -d: -f2-)
DEB_UPSTREAM_VERSION ?= $(shell echo $(DEB_NOEPOCH_VERSION) | sed 
's/-[^-]*$$//')
DEB_UPSTREAM_VERSION_MAJOR_MINOR := $(shell echo $(DEB_UPSTREAM_VERSION) 
| sed -r -n 's/^([0-9]+\.[0-9]+).*/\1/p')



-- 

Sean Burlington

www.practicalweb.co.uk

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list