From 3db1caabc95069bbc76aacb7459e3b0a96fb15b3 Mon Sep 17 00:00:00 2001 From: nott Date: Thu, 24 Sep 2009 19:01:55 +0000 Subject: [PATCH] Add ODBC code and notes. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- mkAIXdeps | 17 ++++++++++++++++- mkAIXsnap | 5 +++-- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/mkAIXdeps b/mkAIXdeps index 700bbc167..13af8fadf 100755 --- a/mkAIXdeps +++ b/mkAIXdeps @@ -5,7 +5,7 @@ # - it puts everything in a aix-dep-snap subdirectory # # to upload deps gz file to FRS SourceForge location -# scp dep-aix-2.2-snap*.tar.gz nott@web.sourceforge.net:uploads/ +#scp ./dep-aix-2.3-200909241259.tar.gz nott,xcat@web.sourceforge.net:/home/frs/project/x/xc/xcat/xcat-dep/2.x_AIX/ BLDTOP=`pwd` RPMDIR=$BLDTOP/aix-dep-snap @@ -110,6 +110,9 @@ echo "rpm -Uvh net-snmp-devel-5.4.2.1-1.aix5.3.ppc.rpm" >> $RPMDIR/instoss cp /opt/freeware/src/packages/RPMS/ppc/net-snmp-perl-5.4.2.1-1.aix5.3.ppc.rpm $RPMDIR/ echo "rpm -Uvh net-snmp-perl-5.4.2.1-1.aix5.3.ppc.rpm" >> $RPMDIR/instoss +cp /opt/freeware/src/packages/RPMS/ppc/unixODBC-2.2.15-32bit.aix5.3.ppc.rpm $RPMDIR/ +echo "rpm -Uvh unixODBC-2.2.15-32bit.aix5.3.ppc.rpm" >> $RPMDIR/instoss + # get the OSS README file cp ./../../../xcat-dep/trunk/AIX/README $RPMDIR/ @@ -121,6 +124,9 @@ echo "instoss" >> $RPMDIR/flist chmod 664 $RPMDIR/* chmod +x $RPMDIR/instoss +chgrp xcat * +chmod g+w * + tar -cvf $RPMDIR/dep-aix-$VER-$SNAP.tar -L $RPMDIR/flist gzip $RPMDIR/dep-aix-$VER-$SNAP.tar @@ -133,9 +139,18 @@ cp /opt/freeware/src/packages/RPMS/ppc/xcat-mysql-5.0-1.aix5.3.ppc.rpm $RPMDIR/ echo "rpm -Uvh xcat-mysql-5.0-1.aix5.3.ppc.rpm" >> $RPMDIR/instmysql echo "xcat-mysql-5.0-1.aix5.3.ppc.rpm" >> $RPMDIR/flist2 +cp /opt/freeware/src/packages/RPMS/ppc/xcat-mysql-connector-odbc-3.51-27.aix5.3.ppc.rpm $RPMDIR/ +echo "rpm -Uvh xcat-mysql-connector-odbc-3.51-27.aix5.3.ppc.rpm" >> $RPMDIR/instmysql +echo "xcat-mysql-connector-odbc-3.51-27.aix5.3.ppc.rpm" >> $RPMDIR/flist2 + + chmod +x $RPMDIR/instmysql echo "instmysql" >> $RPMDIR/flist2 echo "README" >> $RPMDIR/flist2 + +chgrp xcat * +chmod g+w * + tar -cvf $RPMDIR/xcat-mysql-$VER-$SNAP.tar -L $RPMDIR/flist2 gzip $RPMDIR/xcat-mysql-$VER-$SNAP.tar diff --git a/mkAIXsnap b/mkAIXsnap index 37c67d206..d38acf071 100755 --- a/mkAIXsnap +++ b/mkAIXsnap @@ -119,8 +119,9 @@ if [ $UPLOAD == 1 ]; then # scp *.rpm nott,xcat@web.sourceforge.net:/home/groups/x/xc/xcat/htdocs/aix/devel/xcat-core #scp core-aix-2.3.tar.gz nott,xcat@web.sourceforge.net:/home/groups/x/xc/xcat/htdocs/aix/devel -# for dep-aix -#scp dep-aix-$VER.tar.gz nott@web.sourceforge.net:uploads/ + +# for dep-aix & mysql etc. +#scp ./dep-aix-2.3-200909241259.tar.gz nott,xcat@web.sourceforge.net:/home/frs/project/x/xc/xcat/xcat-dep/2.x_AIX/ fi