X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rpm%2Fbuild%2FBOOTSTRAP;h=6ddf5b54d1225870e092b6ba92dcdfe9dfa1c725;hp=6fdc196ce7ecfdabae053efd5580b2e8f3024323;hb=6acca6cb3da731f22fee44d8f3dd11631cd37189;hpb=b80e996959d9492e07ada4936e566f4b97dd5808 diff --git a/rpm/build/BOOTSTRAP b/rpm/build/BOOTSTRAP index 6fdc196ce..6ddf5b54d 100644 --- a/rpm/build/BOOTSTRAP +++ b/rpm/build/BOOTSTRAP @@ -58,8 +58,6 @@ mkdir redhat/SRPMS chown -R ivan:ivan redhat vi ~/.rpmmacros -%_topdir /home/ivan/redhat -%_signature gpg %_gpg_path /home/ivan/.gnupg %_gpg_name Freeside Internet Services, Inc. RPM Signing Key @@ -106,8 +104,40 @@ cvs checkout -rFREESIDE_1_7_BRANCH -d freeside-1.7 freeside # yet more ### +cp -i /var/lib/vservers/centos5/etc/yum.repos.d/CentOS-Base.repo /etc/yum/repos.d/ +#and s/$releasever/5/g; + cp expect-* /usr/local/bin/ #edit them and set your real passphrase for the gpg key you're using +#(as per that dir above) + +### +# and the repository +### + +cd +mkdir -p public_html/repo/centos/5/freeside-1.7/testing/x86_64/ +mkdir public_html/repo/centos/5/freeside-1.7/testing/i686 + +### +# and for enrpm! +### + +vserver centos5 enter +yum install perl-libwww-perl make +cpan +install RPM::Specfile +#if it fails, might need to go to /root/.cpan/build/RPM-Specfile-* and do it manually +install YAML + +#for user cpan-ability +mkdir .cpan +mkdir .cpan/CPAN +cp /usr/lib/perl5/5.8.8/CPAN/Config.pm .cpan/CPAN/MyConfig.pm +vi .cpan/CPAN/MyConfig.pm #and just leave and change the /root ones +chmod a+rx .cpan/CPAN/MyConfig.pm + +#edit ovid2flue and set user ### # references