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