You are not logged in.
Its just that I need to build it for a system (long story).
If anyone had the PKGbuild for it I would be very grateful.
Cheers.
Kind regards
Benedict White
Offline
A quick poke around CVS gave me this...not the exact version you need, but you might be able to adapt it:
pkgname=mysql
pkgname=mysql
pkgver=3.23.56
pkgrel=1
pkgdesc="A fast SQL database server"
backup=(etc/my.cnf)
depends=('glibc' 'zlib')
source=(ftp://mirror.sit.wisc.edu/mirrors/mysql/Downloads/MySQL-3.23/mysql-$pkgver.tar.gz mysqld)
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --libexecdir=/usr/sbin
--without-debug --without-docs --without-bench
--with-innodb
# fixes
cp config.h config.h.old
cat config.h.old | sed 's|^.*HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE.*$|#define HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE|g' >config.h
cp sql/mysqld.cc sql/mysqld.cc.old
cat sql/mysqld.cc.old | sed 's|size_socket|socklen_t|g' >sql/mysqld.cc
cp sql/mini_client.cc sql/mini_client.cc.old
cat sql/mini_client.cc.old | sed 's|SOCKOPT_OPTLEN_TYPE|socklen_t|g' >sql/mini_client.cc
make || return 1
make DESTDIR=$startdir/pkg install
rm -rf $startdir/pkg/usr/{mysql-test,sql-bench}
mkdir -p $startdir/pkg/etc/rc.d
cp support-files/my-medium.cnf $startdir/pkg/etc/my.cnf
cp ../mysqld $startdir/pkg/etc/rc.d
}
Offline
Many thanks for that.
Sorry for having to stick such an old piece of software on Arch.
Kind regards
Benedict White
Offline