Permalink
Browse files

move RPM stuff to cirras-rpm repo

  • Loading branch information...
1 parent 9948f83 commit 80b82c30cd80e37c32a84018fd32ad9abf4003ef @goldmann goldmann committed Jan 28, 2010
Showing with 2 additions and 5,587 deletions.
  1. +0 −3 .gitmodules
  2. +1 −3 Rakefile
  3. +1 −0 appliances/cirras/cirras.appl
  4. +0 −1 lib/cantiere
  5. +0 −69 specs/cirras-management.spec
  6. +0 −64 specs/jboss-as5-cloud-mod_cluster.spec
  7. +0 −68 specs/jboss-as5-cloud-profiles.spec
  8. +0 −74 specs/jboss-as5.spec
  9. +0 −57 specs/jboss-as6-cloud-profiles.spec
  10. +0 −61 specs/jboss-as6.spec
  11. +0 −48 specs/jboss-jgroups.spec
  12. +0 −49 specs/jopr-agent.spec
  13. +0 −77 specs/jopr.spec
  14. +0 −108 specs/mod_cluster.spec
  15. +0 −62 specs/qemu-stable.spec
  16. +0 −56 specs/rhq-agent.spec
  17. +0 −72 specs/rhq.spec
  18. +0 −54 specs/torquebox.spec
  19. +0 −979 src/agent-configuration.xml
  20. +0 −23 src/find-external-requires.sh
  21. +0 −38 src/jboss-as-5.1.0.GA-jbossws.patch
  22. +0 −90 src/jboss-as-5.1.0.GA-mod_cluster.patch
  23. +0 −44 src/jboss-as5-5.1.0.GA-cloud-gossip.patch
  24. +0 −508 src/jboss-as5.init
  25. +0 −44 src/jboss-as6-gossip-jvmroute.patch
  26. +0 −24 src/jboss-as6-jbossws-host.patch
  27. +0 −22 src/jboss-as6-mod_cluster.patch
  28. +0 −508 src/jboss-as6.init
  29. +0 −404 src/jgroups-gossip.init
  30. +0 −35 src/jopr-agent-install.sh
  31. +0 −315 src/jopr-agent.init
  32. +0 −454 src/jopr.init
  33. +0 −15 src/mod_cluster.conf
  34. +0 −25 src/preconfigure-jopr-agent.sh
  35. +0 −41 src/preconfigure-jopr.sh
  36. +0 −25 src/preconfigure-rhq-agent.sh
  37. +0 −60 src/preconfigure-rhq.sh
  38. +0 −35 src/rhq-agent-install.sh
  39. +0 −313 src/rhq-agent.init
  40. +0 −173 src/rhq-server.properties
  41. +0 −459 src/rhq.init
  42. +0 −27 src/thin-ruby-env.patch
View
@@ -1,6 +1,3 @@
[submodule "lib/boxgrinder-build"]
path = lib/boxgrinder-build
url = git://github.com/stormgrind/boxgrinder-build.git
-[submodule "lib/cantiere"]
- path = lib/cantiere
- url = git://github.com/stormgrind/cantiere.git
View
@@ -1,7 +1,5 @@
$: << 'lib/boxgrinder-build/lib'
-$: << 'lib/cantiere/lib'
require 'boxgrinder/helpers/rake-helper'
-require 'cantiere/helpers/rake-helper'
-Cantiere::RakeHelper.new( BoxGrinder::RakeHelper.new( :name => "CirrAS", :version => "1.0.0.Beta2", :release => "SNAPSHOT" ).config )
+BoxGrinder::RakeHelper.new( :name => "CirrAS", :version => "1.0.0.Beta2", :release => "SNAPSHOT" )
@@ -20,3 +20,4 @@ packages:
- make
- gcc-c++
- wget
+ - unzip
Submodule cantiere deleted from 9fe86e
@@ -1,69 +0,0 @@
-Summary: CirrAS management for appliances
-Name: cirras-management
-Version: 1.0.0.Beta1
-Release: 1
-License: LGPL
-Requires: git
-Requires: shadow-utils
-Requires: ruby
-Requires: rubygems
-Requires: initscripts
-Requires: sed
-Requires: sudo
-Requires: ruby-devel
-#Source0: thin-ruby-env.patch
-BuildRequires: ruby
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Source0: http://gems.rubyforge.org/gems/daemons-1.0.10.gem
-Source1: http://gems.rubyforge.org/gems/eventmachine-0.12.8.gem
-Source2: http://gems.rubyforge.org/gems/rack-1.0.0.gem
-Source3: http://gems.rubyforge.org/gems/thin-1.2.2.gem
-Source4: http://rubyforge.org/frs/download.php/52464/xml-simple-1.0.12.gem
-BuildArch: noarch
-
-%description
-CirrAS management for appliances.
-
-%install
-rm -rf $RPM_BUILD_ROOT
-
-/usr/bin/git clone git://github.com/stormgrind/cirras-management.git $RPM_BUILD_ROOT/usr/share/%{name}
-
-pushd $RPM_BUILD_ROOT/usr/share/%{name}
-/usr/bin/git submodule init
-/usr/bin/git submodule update
-
-popd
-
-install -d -m 755 $RPM_BUILD_ROOT/usr/share/%{name}-gems
-
-cp %{SOURCE0} $RPM_BUILD_ROOT/usr/share/%{name}-gems
-cp %{SOURCE1} $RPM_BUILD_ROOT/usr/share/%{name}-gems
-cp %{SOURCE2} $RPM_BUILD_ROOT/usr/share/%{name}-gems
-cp %{SOURCE3} $RPM_BUILD_ROOT/usr/share/%{name}-gems
-cp %{SOURCE4} $RPM_BUILD_ROOT/usr/share/%{name}-gems
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%pre
-#/bin/ln -s /usr/bin/ruby /usr/local/bin/ruby
-/usr/sbin/groupadd -r thin 2>/dev/null || :
-/usr/sbin/useradd -m -r -g thin thin 2>/dev/null || :
-
-%post
-/bin/mkdir -p /var/log/%{name}
-/bin/chown thin:thin /var/log/%{name}
-echo "sh /usr/share/%{name}/src/network-setup.sh" >> /etc/rc.local
-echo -e "thin ALL = NOPASSWD: ALL\n" >> /etc/sudoers
-/bin/sed -i s/"Defaults requiretty"/"#Defaults requiretty"/ /etc/sudoers
-
-/usr/bin/gem install -ql /usr/share/%{name}-gems/*.gem
-
-%files
-%defattr(-,root,root)
-/
-
-%changelog
-* Sat Nov 21 2009 Marek Goldmann 1.0.0.Beta1-1
-- Initial release
@@ -1,64 +0,0 @@
-Summary: JBoss mod_cluster for JBoss AS5 cloud profiles
-Name: jboss-as5-cloud-mod_cluster
-Version: 1.0.2.GA
-Release: 1
-License: LGPL
-BuildArch: noarch
-Group: Applications/System
-Requires: jboss-as5-cloud-profiles
-Requires: patch
-Source0: http://labs.jboss.com/file-access/default/members/mod_cluster/freezone/dist/%{version}/mod-cluster-%{version}-bin.tar.gz
-Source1: jboss-as-5.1.0.GA-mod_cluster.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-%define __jar_repack %{nil}
-
-%description
-JBoss mod_cluster for JBoss AS5 cloud profiles
-
-%prep
-%setup -T -b 0 -c -n %{name}
-
-%install
-rm -rf $RPM_BUILD_ROOT
-
-configs=( cluster group )
-
-for config in ${configs[@]} ; do
- install -d -m 755 $RPM_BUILD_ROOT/opt/jboss-as5/server/${config}/deploy
- cp -R mod-cluster.sar $RPM_BUILD_ROOT/opt/jboss-as5/server/${config}/deploy/
-done
-
-install -d -m 755 $RPM_BUILD_ROOT/opt/jboss-as5/mod_cluster-patches/
-cp %{SOURCE1} $RPM_BUILD_ROOT/opt/jboss-as5/mod_cluster-patches/
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%pre
-
-%post
-
-cd /opt/jboss-as5/
-patch -s -p1 < /opt/jboss-as5/mod_cluster-patches/jboss-as-5.1.0.GA-mod_cluster.patch
-
-if [ `grep -c '^JBOSS_PROXY_LIST' /etc/jboss-as5.conf` -eq 0 ]; then
- echo "# Comma-separated list of address:port for mod_cluster front-end proxies" >> /etc/jboss-as5.conf
- echo "JBOSS_PROXY_LIST=" >> /etc/jboss-as5.conf
-fi
-
-%preun
-
-cd /opt/jboss-as5/
-patch -sR -p1 < /opt/jboss-as5/mod_cluster-patches/jboss-as-5.1.0.GA-mod_cluster.patch
-
-mv /etc/jboss-as5.conf /etc/jboss-as5.conf.rpmsave
-grep -v '^JBOSS_PROXY_LIST' /etc/jboss-as5.conf.rpmsave | grep -v '^# Comma-separated list of address:port for mod_cluster front-end proxies' > /etc/jboss-as5.conf
-
-%files
-%defattr(-,jboss,jboss)
-/
-
-%changelog
-* Sat May 30 2009 Marek Goldmann 1.0.0.GA
-- Update to 1.0.0.GA
@@ -1,68 +0,0 @@
-%define jgroups_version 2.6.12.GA
-%define jboss_version 5.1.0.GA
-%define jboss_cache_version 3.2.1.GA
-
-Summary: JBoss Cloud profiles
-Name: jboss-as5-cloud-profiles
-Version: 1.0.0.Beta7
-Release: 1
-License: LGPL
-BuildArch: noarch
-Group: Applications/System
-Source0: http://internap.dl.sourceforge.net/sourceforge/jboss/jboss-%{jboss_version}-jdk6.zip
-Source1: jboss-as5-5.1.0.GA-cloud-gossip.patch
-Source2: http://heanet.dl.sourceforge.net/sourceforge/javagroups/JGroups-%{jgroups_version}.bin.zip
-Source3: jboss-as-5.1.0.GA-jbossws.patch
-Source4: http://downloads.sourceforge.net/project/jboss/JBossCache/JBossCache%20%{jboss_cache_version}/jbosscache-core-%{jboss_cache_version}-bin.zip
-Requires: jboss-as5
-BuildRequires: patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-%description
-The JBoss AS 5 cloud profiles (cluster and group)
-
-%define __jar_repack %{nil}
-
-%prep
-%setup -T -b 0 -n jboss-%{jboss_version}
-%setup -T -b 2 -n JGroups-%{jgroups_version}.bin
-%setup -T -b 4 -n jbosscache-core-%{jboss_cache_version}
-
-%install
-rm -Rf $RPM_BUILD_ROOT
-
-cd %{_topdir}/BUILD
-
-# create directories
-mkdir -p $RPM_BUILD_ROOT/opt/jboss-as5/server/cluster
-mkdir -p $RPM_BUILD_ROOT/opt/jboss-as5/server/group
-
-# copy profiles
-cp -R jboss-%{jboss_version}/server/default/* $RPM_BUILD_ROOT/opt/jboss-as5/server/group/
-cp -R jboss-%{jboss_version}/server/all/* $RPM_BUILD_ROOT/opt/jboss-as5/server/cluster/
-
-# install jgroups
-cp JGroups-%{jgroups_version}.bin/jgroups-all.jar $RPM_BUILD_ROOT/opt/jboss-as5/server/cluster/lib/jgroups.jar
-
-# install JBoss Cache
-cp jbosscache-core-%{jboss_cache_version}/jbosscache-core.jar $RPM_BUILD_ROOT/opt/jboss-as5/server/cluster/lib/jbosscache-core.jar
-
-rm -Rf $RPM_BUILD_ROOT/opt/jboss-as5/server/*/deploy/ROOT.war
-
-cd $RPM_BUILD_ROOT/opt/jboss-as5
-patch -p1 < %{SOURCE1}
-patch -p1 < %{SOURCE3}
-
-%clean
-rm -Rf $RPM_BUILD_ROOT
-
-%files
-%defattr(-,jboss,jboss)
-/
-
-%changelog
-* Tue May 26 2009 Marek Goldmann 5.1.0.GA-1
-- JBoss AS version upgrade to 5.1.0.GA
-
-* Tue Mar 03 2009 Marek Goldmann 5.0.1.GA-1
-- JBoss AS version upgrade to 5.0.1.GA
View
@@ -1,74 +0,0 @@
-%define jboss_cache_version 3.2.1.GA
-
-Summary: JBoss Application Server
-Name: jboss-as5
-Version: 5.1.0.GA
-Release: 2
-License: LGPL
-BuildArch: noarch
-Group: Applications/System
-Source0: http://internap.dl.sourceforge.net/sourceforge/jboss/jboss-%{version}-jdk6.zip
-Source1: jboss-as5.init
-Source2: http://downloads.sourceforge.net/project/jboss/JBossCache/JBossCache%20%{jboss_cache_version}/jbosscache-core-%{jboss_cache_version}-bin.zip
-Requires: shadow-utils
-Requires: coreutils
-Requires: java-1.6.0-openjdk
-Requires: initscripts
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-%define runuser jboss
-%define __jar_repack %{nil}
-
-%description
-The JBoss Application Server
-
-%prep
-%setup -n jboss-%{version}
-%setup -T -b 2 -n jbosscache-core-%{jboss_cache_version}
-
-%install
-
-cd %{_topdir}/BUILD
-
-install -d -m 755 $RPM_BUILD_ROOT/opt/jboss-as5
-cp -R jboss-%{version}/* $RPM_BUILD_ROOT/opt/jboss-as5
-rm -Rf $RPM_BUILD_ROOT/opt/jboss-as5/server/*/deploy/ROOT.war
-
-install -d -m 755 $RPM_BUILD_ROOT%{_initrddir}
-install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/%{name}
-
-cp jbosscache-core-%{jboss_cache_version}/jbosscache-core.jar $RPM_BUILD_ROOT/opt/jboss-as5/server/all/lib/jbosscache-core.jar
-
-touch $RPM_BUILD_ROOT/etc/jboss-as5.conf
-echo 'JBOSS_GOSSIP_PORT=12001' >> $RPM_BUILD_ROOT/etc/jboss-as5.conf
-echo 'JBOSS_GOSSIP_REFRESH=5000' >> $RPM_BUILD_ROOT/etc/jboss-as5.conf
-#echo 'JBOSS_SERVER_PEER_ID=' >> $RPM_BUILD_ROOT/etc/jboss-as5.conf
-#echo 'JBOSS_IP=0.0.0.0' >> $RPM_BUILD_ROOT/etc/jboss-as5.conf
-echo 'JAVA_HOME=/usr/lib/jvm/jre' >> $RPM_BUILD_ROOT/etc/jboss-as5.conf
-
-%clean
-rm -Rf $RPM_BUILD_ROOT
-
-%pre
-JBOSS_SHELL=/bin/bash
-/usr/sbin/groupadd -r jboss 2>/dev/null || :
-/usr/sbin/useradd -c JBossAS -r -s $JBOSS_SHELL -d /opt/jboss-as5 -g jboss jboss 2>/dev/null || :
-
-%post
-/bin/echo "echo JBOSS_IP=\`ifconfig eth0 | awk '/inet addr/ {split (\$2,A,\":\"); print A[2]}'\` >> /etc/jboss-as5.conf" >> /etc/rc.local
-
-%files
-%defattr(-,jboss,jboss)
-/
-#%attr(0755,root,root) %{_initrddir}/%{name}
-#%attr(0755,root,root) /etc/jboss-as5.conf
-
-%changelog
-* Wed Aug 5 2009 Marek Goldmann 5.1.0.GA-2
-- New defaults in /etc/jboss-as5.conf
-
-* Mon May 25 2009 Marek Goldmann 5.1.0.GA-1
-- JBoss AS version upgrade to 5.1.0.GA
-
-* Tue Mar 03 2009 Marek Goldmann 5.0.1.GA-1
-- JBoss AS version upgrade to 5.0.1.GA
@@ -1,57 +0,0 @@
-%define jboss_name jboss-as6
-%define jboss_version 6.0.0.M1
-
-Summary: The JBoss AS 6 cloud profiles (cluster and group)
-Name: jboss-as6-cloud-profiles
-Version: 1.0.0.Beta1
-Release: 1
-License: LGPL
-BuildArch: noarch
-Group: Applications/System
-Source0: http://internap.dl.sourceforge.net/sourceforge/jboss/jboss-%{jboss_version}.zip
-Source1: %{jboss_name}-gossip-jvmroute.patch
-Source2: %{jboss_name}-mod_cluster.patch
-Source3: %{jboss_name}-jbossws-host.patch
-
-Requires: %{jboss_name}
-BuildRequires: patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-%description
-The JBoss AS 6 cloud profiles (cluster and group)
-
-%define __jar_repack %{nil}
-
-%prep
-%setup -T -b 0 -n jboss-%{jboss_version}
-
-%install
-rm -Rf $RPM_BUILD_ROOT
-
-cd %{_topdir}/BUILD
-
-# create directories
-mkdir -p $RPM_BUILD_ROOT/opt/%{jboss_name}/server/cluster
-mkdir -p $RPM_BUILD_ROOT/opt/%{jboss_name}/server/group
-
-# copy profiles
-cp -R jboss-%{jboss_version}/server/default/* $RPM_BUILD_ROOT/opt/%{jboss_name}/server/group/
-cp -R jboss-%{jboss_version}/server/all/* $RPM_BUILD_ROOT/opt/%{jboss_name}/server/cluster/
-
-rm -Rf $RPM_BUILD_ROOT/opt/%{jboss_name}/server/*/deploy/ROOT.war
-
-cd $RPM_BUILD_ROOT/opt/%{jboss_name}
-patch -p1 < %{SOURCE1}
-patch -p1 < %{SOURCE2}
-patch -p1 < %{SOURCE3}
-
-%clean
-rm -Rf $RPM_BUILD_ROOT
-
-%files
-%defattr(-,%{jboss_name},%{jboss_name})
-/
-
-%changelog
-* Thu Dec 03 2009 Marek Goldmann 1.0.0.Beta1-1
-- Initial release
Oops, something went wrong. Retry.

0 comments on commit 80b82c3

Please sign in to comment.