[vhffs-dev] [svn] commit: r122 - in /trunk/vhffs-packages: mysql40/build mysql41/build pure-ftpd/build

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Author: soda
Date: Fri Dec 16 16:09:12 2005
New Revision: 122

Log:
fix build bug


Modified:
    trunk/vhffs-packages/mysql40/build
    trunk/vhffs-packages/mysql41/build
    trunk/vhffs-packages/pure-ftpd/build

Modified: trunk/vhffs-packages/mysql40/build
==============================================================================
--- trunk/vhffs-packages/mysql40/build (original)
+++ trunk/vhffs-packages/mysql40/build Fri Dec 16 16:09:12 2005
@@ -10,7 +10,11 @@
 mkdir -p $TMPBUILD
 cd $TMPBUILD
 
-apt-get source mysql-server=4.0.24
+tmp=`apt-cache show mysql-server | grep Version | awk '{print $2}'|awk -F' ' '{print $1}'`
+version=`echo $tmp|awk '{print $1}'`
+echo "mysql 4.0 version: $version"
+
+apt-get source mysql-dfsg=$version
 
 PKG_DIR=`find -name "*mysql*" -maxdepth 1 -type d`
 cd $PKG_DIR

Modified: trunk/vhffs-packages/mysql41/build
==============================================================================
--- trunk/vhffs-packages/mysql41/build (original)
+++ trunk/vhffs-packages/mysql41/build Fri Dec 16 16:09:12 2005
@@ -9,8 +9,11 @@
 rm -rf $TMPBUILD 2>/dev/null
 mkdir -p $TMPBUILD
 cd $TMPBUILD
+tmp=`apt-cache show mysql-server-4.1 | grep Version | awk '{print $2}'|awk -F' ' '{print $1}'`
+version=`echo $tmp|awk '{print $1}'`
+echo "mysql 4.1 version: $version"
 
-apt-get source mysql-server-4.1=4.1.11a
+apt-get source mysql-dfsg-4.1=$version
 
 PKG_DIR=`find -name "*mysql*" -maxdepth 1 -type d`
 cd $PKG_DIR

Modified: trunk/vhffs-packages/pure-ftpd/build
==============================================================================
--- trunk/vhffs-packages/pure-ftpd/build (original)
+++ trunk/vhffs-packages/pure-ftpd/build Fri Dec 16 16:09:12 2005
@@ -10,7 +10,12 @@
 mkdir -p $TMPBUILD
 cd $TMPBUILD
 
-apt-get source pure-ftpd-postgresql=1.0.19
+tmp=`apt-cache show pure-ftpd | grep Version | awk '{print $2}'|awk -F' ' '{print $1}'`
+version=`echo $tmp|awk '{print $1}'`
+echo "mysql 4.1 version: $version"
+
+
+apt-get source pure-ftpd=$version
 
 PKG_DIR=`find -name "*pure-ftpd*" -maxdepth 1 -type d`
 cd $PKG_DIR




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/