[Pkg-mysql-commits] r1946 - mysql-5.1/branches/unstable/debian
Norbert Tretkowski
nobse at alioth.debian.org
Fri Feb 4 15:33:28 UTC 2011
tags 611965 pending
thanks
Author: nobse
Date: 2011-02-04 15:33:25 +0000 (Fri, 04 Feb 2011)
New Revision: 1946
Added:
mysql-5.1/branches/unstable/debian/mysql-source-5.1.files
Modified:
mysql-5.1/branches/unstable/debian/changelog
mysql-5.1/branches/unstable/debian/control
mysql-5.1/branches/unstable/debian/rules
Log:
Add mysql-source-5.1 package.
Modified: mysql-5.1/branches/unstable/debian/changelog
===================================================================
--- mysql-5.1/branches/unstable/debian/changelog 2011-02-04 15:29:08 UTC (rev 1945)
+++ mysql-5.1/branches/unstable/debian/changelog 2011-02-04 15:33:25 UTC (rev 1946)
@@ -1,6 +1,7 @@
mysql-5.1 (5.1.54-2) UNRELEASED; urgency=low
* Upload to unstable.
+ * Add mysql-source-5.1 package, patch from Clint Byrum. (closes: #611965)
* Update debconf translations:
- Dutch, from Eric Spreen. (closes: #605590)
- Slovak, from Slavko. (closes: #608885)
Modified: mysql-5.1/branches/unstable/debian/control
===================================================================
--- mysql-5.1/branches/unstable/debian/control 2011-02-04 15:29:08 UTC (rev 1945)
+++ mysql-5.1/branches/unstable/debian/control 2011-02-04 15:33:25 UTC (rev 1946)
@@ -149,3 +149,14 @@
mysql-client (currently mysql-client-5.1), as determined by the MySQL
maintainers. Install this package if in doubt about which MySQL version
you want, as this is the one we consider to be in the best shape.
+
+Package: mysql-source-5.1
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: MySQL source
+ MySQL is a fast, stable, and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MySQL are speed, robustness and
+ ease of use.
+ .
+ This package includes the MySQL source code as configured before building.
Added: mysql-5.1/branches/unstable/debian/mysql-source-5.1.files
===================================================================
--- mysql-5.1/branches/unstable/debian/mysql-source-5.1.files (rev 0)
+++ mysql-5.1/branches/unstable/debian/mysql-source-5.1.files 2011-02-04 15:33:25 UTC (rev 1946)
@@ -0,0 +1 @@
+usr/src/mysql/*
Modified: mysql-5.1/branches/unstable/debian/rules
===================================================================
--- mysql-5.1/branches/unstable/debian/rules 2011-02-04 15:29:08 UTC (rev 1945)
+++ mysql-5.1/branches/unstable/debian/rules 2011-02-04 15:33:25 UTC (rev 1946)
@@ -21,6 +21,8 @@
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')
+EXPORTED_SOURCE_TARBALL = debian/mysql-source-5.1.tar.gz
+
DISTRIBUTION = $(shell lsb_release -i -s)
MAKE_J = -j$(shell if [ -f /proc/cpuinfo ] ; then grep -c processor.* /proc/cpuinfo ; else echo 1 ; fi)
@@ -128,6 +130,10 @@
@echo "RULES.$@"
dh_testdir
+ [ -f $(EXPORTED_SOURCE_TARBALL) ] || tar -zcf $(EXPORTED_SOURCE_TARBALL) \
+ --exclude=debian . \
+ --transform="s,^\./,mysql-5.1/,"
+
cd $(builddir) && $(MAKE) $(MAKE_J)
ifeq ($(findstring nocheck,$(DEB_BUILD_OPTIONS)),)
@@ -183,6 +189,7 @@
rm -rf $(BUILDDIR) $(BUILDDIR_PIC)
debconf-updatepo
+ rm -f $(EXPORTED_SOURCE_TARBALL)
dh_clean -v
@@ -264,6 +271,8 @@
cp debian/mysql-server-5.1.mysql-server.logrotate $$d/_etc_logrotate.d_mysql-server; \
cp debian/additions/debian-start $$d/_etc_mysql_debian-start;
+ install -D -m 0644 $(EXPORTED_SOURCE_TARBALL) $(TMP)/usr/src/mysql/`basename $(EXPORTED_SOURCE_TARBALL)`
+
dh_movefiles
# Build architecture-independent files here.
More information about the Pkg-mysql-commits
mailing list