[freeside-commits] freeside/rpm/build BOOTSTRAP, 1.3, 1.4 enrpm, 1.1, 1.2
Ivan,,,
ivan at wavetail.420.am
Fri Jul 9 15:34:11 PDT 2010
Update of /home/cvs/cvsroot/freeside/rpm/build
In directory wavetail.420.am:/tmp/cvs-serv28812
Modified Files:
BOOTSTRAP enrpm
Log Message:
changes to get enrpm working
Index: enrpm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rpm/build/enrpm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- enrpm 7 Jul 2010 17:51:58 -0000 1.1
+++ enrpm 9 Jul 2010 22:34:09 -0000 1.2
@@ -93,22 +93,13 @@
}
# Feeble excuse for not having a real configuration file
-my $user = 'rsiddall';
-my $buildsys = '/home/rsiddall/work';
-my $rembuild = '/home/rsiddall/work/cvs';
-my $remdeps = '/home/rsiddall';
-my $rpmtopdir = '/home/rsiddall/work/redhat';
-my $packager = 'Richard Siddall <richard.siddall at elirion.net>';
-my $server = 'grosbeak';
-
-if (hostname =~ /wavetail/i) {
- $buildsys = '/home/rsiddall/buildsys';
- $rembuild = '/home/rsiddall/buildsys/ref';
- $remdeps = '/home/rsiddall';
- $rpmtopdir = '/home/rsiddall/redhat';
- $packager = 'Ivan Kohler <ivan at freeside.biz>';
- $server = '10.5.4.5';
-}
+my $user = 'ivan';
+my $buildsys = "/home/$user/buildsys";
+#my $rembuild = '/home/rsiddall/buildsys/ref';
+my $remdeps = '/home/ivan';
+my $rpmtopdir = "/home/$user/redhat";
+my $packager = 'Ivan Kohler <ivan at freeside.biz>';
+my $server = '10.5.4.5';
$server = $opts{server} if defined($opts{server});
$user = $1 if $server =~ /(\w+)\@[\w\d\.]+/;
@@ -169,11 +160,11 @@
}
my $olddir = getcwd();
do_cmd("$buildsys/build-freeside");
- if (-x "$buildsys/refresh-repo") {
+# if (-x "$buildsys/refresh-repo") {
do_cmd("$buildsys/refresh-repo");
- } else {
- do_cmd("ssh $user\@$server $rembuild/refresh-repo");
- }
+# } else {
+# do_cmd("ssh $user\@$server $rembuild/refresh-repo");
+# }
}
sub do_cmd {
Index: BOOTSTRAP
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rpm/build/BOOTSTRAP,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- BOOTSTRAP 8 Jul 2010 23:53:45 -0000 1.3
+++ BOOTSTRAP 9 Jul 2010 22:34:09 -0000 1.4
@@ -120,6 +120,26 @@
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
###
More information about the freeside-commits
mailing list