Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

move RPM stuff to cirras-rpm repo

  • Loading branch information...
commit 80b82c30cd80e37c32a84018fd32ad9abf4003ef 1 parent 9948f83
Marek Goldmann authored January 28, 2010

Showing 42 changed files with 2 additions and 5,587 deletions. Show diff stats Hide diff stats

  1. 3  .gitmodules
  2. 4  Rakefile
  3. 1  appliances/cirras/cirras.appl
  4. 1  lib/cantiere
  5. 69  specs/cirras-management.spec
  6. 64  specs/jboss-as5-cloud-mod_cluster.spec
  7. 68  specs/jboss-as5-cloud-profiles.spec
  8. 74  specs/jboss-as5.spec
  9. 57  specs/jboss-as6-cloud-profiles.spec
  10. 61  specs/jboss-as6.spec
  11. 48  specs/jboss-jgroups.spec
  12. 49  specs/jopr-agent.spec
  13. 77  specs/jopr.spec
  14. 108  specs/mod_cluster.spec
  15. 62  specs/qemu-stable.spec
  16. 56  specs/rhq-agent.spec
  17. 72  specs/rhq.spec
  18. 54  specs/torquebox.spec
  19. 979  src/agent-configuration.xml
  20. 23  src/find-external-requires.sh
  21. 38  src/jboss-as-5.1.0.GA-jbossws.patch
  22. 90  src/jboss-as-5.1.0.GA-mod_cluster.patch
  23. 44  src/jboss-as5-5.1.0.GA-cloud-gossip.patch
  24. 508  src/jboss-as5.init
  25. 44  src/jboss-as6-gossip-jvmroute.patch
  26. 24  src/jboss-as6-jbossws-host.patch
  27. 22  src/jboss-as6-mod_cluster.patch
  28. 508  src/jboss-as6.init
  29. 404  src/jgroups-gossip.init
  30. 35  src/jopr-agent-install.sh
  31. 315  src/jopr-agent.init
  32. 454  src/jopr.init
  33. 15  src/mod_cluster.conf
  34. 25  src/preconfigure-jopr-agent.sh
  35. 41  src/preconfigure-jopr.sh
  36. 25  src/preconfigure-rhq-agent.sh
  37. 60  src/preconfigure-rhq.sh
  38. 35  src/rhq-agent-install.sh
  39. 313  src/rhq-agent.init
  40. 173  src/rhq-server.properties
  41. 459  src/rhq.init
  42. 27  src/thin-ruby-env.patch
3  .gitmodules
... ...
@@ -1,6 +1,3 @@
1 1
 [submodule "lib/boxgrinder-build"]
2 2
 	path = lib/boxgrinder-build
3 3
 	url = git://github.com/stormgrind/boxgrinder-build.git 
4  
-[submodule "lib/cantiere"]
5  
-	path = lib/cantiere
6  
-	url = git://github.com/stormgrind/cantiere.git
4  Rakefile
... ...
@@ -1,7 +1,5 @@
1 1
 $: << 'lib/boxgrinder-build/lib'
2  
-$: << 'lib/cantiere/lib'
3 2
 
4 3
 require 'boxgrinder/helpers/rake-helper'
5  
-require 'cantiere/helpers/rake-helper'
6 4
 
7  
-Cantiere::RakeHelper.new( BoxGrinder::RakeHelper.new( :name => "CirrAS", :version => "1.0.0.Beta2", :release => "SNAPSHOT" ).config )
  5
+BoxGrinder::RakeHelper.new( :name => "CirrAS", :version => "1.0.0.Beta2", :release => "SNAPSHOT" )
1  appliances/cirras/cirras.appl
@@ -20,3 +20,4 @@ packages:
20 20
     - make
21 21
     - gcc-c++
22 22
     - wget
  23
+    - unzip
1  lib/cantiere
... ...
@@ -1 +0,0 @@
1  
-Subproject commit 9fe86e2dc8f958b037545feb801af62da5937af4
69  specs/cirras-management.spec
... ...
@@ -1,69 +0,0 @@
1  
-Summary:        CirrAS management for appliances
2  
-Name:           cirras-management
3  
-Version:        1.0.0.Beta1
4  
-Release:        1
5  
-License:        LGPL
6  
-Requires:       git
7  
-Requires:       shadow-utils
8  
-Requires:       ruby
9  
-Requires:       rubygems
10  
-Requires:       initscripts
11  
-Requires:       sed
12  
-Requires:       sudo
13  
-Requires:       ruby-devel
14  
-#Source0:        thin-ruby-env.patch
15  
-BuildRequires:  ruby
16  
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17  
-Source0:        http://gems.rubyforge.org/gems/daemons-1.0.10.gem
18  
-Source1:        http://gems.rubyforge.org/gems/eventmachine-0.12.8.gem
19  
-Source2:        http://gems.rubyforge.org/gems/rack-1.0.0.gem
20  
-Source3:        http://gems.rubyforge.org/gems/thin-1.2.2.gem
21  
-Source4:        http://rubyforge.org/frs/download.php/52464/xml-simple-1.0.12.gem
22  
-BuildArch:      noarch
23  
-
24  
-%description
25  
-CirrAS management for appliances.
26  
-
27  
-%install
28  
-rm -rf $RPM_BUILD_ROOT
29  
-
30  
-/usr/bin/git clone git://github.com/stormgrind/cirras-management.git $RPM_BUILD_ROOT/usr/share/%{name}
31  
-
32  
-pushd $RPM_BUILD_ROOT/usr/share/%{name}
33  
-/usr/bin/git submodule init
34  
-/usr/bin/git submodule update
35  
-
36  
-popd
37  
-
38  
-install -d -m 755 $RPM_BUILD_ROOT/usr/share/%{name}-gems
39  
-
40  
-cp %{SOURCE0} $RPM_BUILD_ROOT/usr/share/%{name}-gems
41  
-cp %{SOURCE1} $RPM_BUILD_ROOT/usr/share/%{name}-gems
42  
-cp %{SOURCE2} $RPM_BUILD_ROOT/usr/share/%{name}-gems
43  
-cp %{SOURCE3} $RPM_BUILD_ROOT/usr/share/%{name}-gems
44  
-cp %{SOURCE4} $RPM_BUILD_ROOT/usr/share/%{name}-gems
45  
-
46  
-%clean
47  
-rm -rf $RPM_BUILD_ROOT
48  
-
49  
-%pre
50  
-#/bin/ln -s /usr/bin/ruby /usr/local/bin/ruby
51  
-/usr/sbin/groupadd -r thin 2>/dev/null || :
52  
-/usr/sbin/useradd -m -r -g thin thin 2>/dev/null || :
53  
-
54  
-%post
55  
-/bin/mkdir -p /var/log/%{name}
56  
-/bin/chown thin:thin /var/log/%{name}
57  
-echo "sh /usr/share/%{name}/src/network-setup.sh" >> /etc/rc.local
58  
-echo -e "thin ALL = NOPASSWD: ALL\n" >> /etc/sudoers
59  
-/bin/sed -i s/"Defaults    requiretty"/"#Defaults    requiretty"/ /etc/sudoers
60  
-
61  
-/usr/bin/gem install -ql /usr/share/%{name}-gems/*.gem
62  
-
63  
-%files
64  
-%defattr(-,root,root)
65  
-/
66  
-
67  
-%changelog
68  
-* Sat Nov 21 2009 Marek Goldmann 1.0.0.Beta1-1
69  
-- Initial release
64  specs/jboss-as5-cloud-mod_cluster.spec
... ...
@@ -1,64 +0,0 @@
1  
-Summary:    JBoss mod_cluster for JBoss AS5 cloud profiles
2  
-Name:       jboss-as5-cloud-mod_cluster
3  
-Version:    1.0.2.GA
4  
-Release:    1
5  
-License:    LGPL
6  
-BuildArch:  noarch
7  
-Group:      Applications/System
8  
-Requires:   jboss-as5-cloud-profiles
9  
-Requires:   patch
10  
-Source0:    http://labs.jboss.com/file-access/default/members/mod_cluster/freezone/dist/%{version}/mod-cluster-%{version}-bin.tar.gz
11  
-Source1:    jboss-as-5.1.0.GA-mod_cluster.patch
12  
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13  
-
14  
-%define __jar_repack %{nil}
15  
-
16  
-%description
17  
-JBoss mod_cluster for JBoss AS5 cloud profiles
18  
-
19  
-%prep
20  
-%setup -T -b 0 -c -n %{name}
21  
-
22  
-%install
23  
-rm -rf $RPM_BUILD_ROOT
24  
-
25  
-configs=( cluster  group )
26  
-
27  
-for config in ${configs[@]} ; do
28  
-  install -d -m 755 $RPM_BUILD_ROOT/opt/jboss-as5/server/${config}/deploy
29  
-  cp -R mod-cluster.sar $RPM_BUILD_ROOT/opt/jboss-as5/server/${config}/deploy/
30  
-done
31  
-
32  
-install -d -m 755 $RPM_BUILD_ROOT/opt/jboss-as5/mod_cluster-patches/
33  
-cp %{SOURCE1} $RPM_BUILD_ROOT/opt/jboss-as5/mod_cluster-patches/
34  
-
35  
-%clean
36  
-rm -rf $RPM_BUILD_ROOT
37  
-
38  
-%pre
39  
-
40  
-%post
41  
-
42  
-cd /opt/jboss-as5/
43  
-patch -s -p1 < /opt/jboss-as5/mod_cluster-patches/jboss-as-5.1.0.GA-mod_cluster.patch
44  
-
45  
-if [ `grep -c '^JBOSS_PROXY_LIST' /etc/jboss-as5.conf` -eq 0 ]; then
46  
-  echo "# Comma-separated list of address:port for mod_cluster front-end proxies"  >> /etc/jboss-as5.conf
47  
-  echo "JBOSS_PROXY_LIST=" >> /etc/jboss-as5.conf
48  
-fi
49  
-
50  
-%preun
51  
-
52  
-cd /opt/jboss-as5/
53  
-patch -sR -p1 < /opt/jboss-as5/mod_cluster-patches/jboss-as-5.1.0.GA-mod_cluster.patch
54  
-
55  
-mv /etc/jboss-as5.conf /etc/jboss-as5.conf.rpmsave
56  
-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
57  
-
58  
-%files
59  
-%defattr(-,jboss,jboss)
60  
-/
61  
-
62  
-%changelog
63  
-* Sat May 30 2009 Marek Goldmann 1.0.0.GA
64  
-- Update to 1.0.0.GA
68  specs/jboss-as5-cloud-profiles.spec
... ...
@@ -1,68 +0,0 @@
1  
-%define jgroups_version 2.6.12.GA
2  
-%define jboss_version 5.1.0.GA
3  
-%define jboss_cache_version 3.2.1.GA
4  
-
5  
-Summary:        JBoss Cloud profiles
6  
-Name:           jboss-as5-cloud-profiles
7  
-Version:        1.0.0.Beta7
8  
-Release:        1
9  
-License:        LGPL
10  
-BuildArch:      noarch
11  
-Group:          Applications/System
12  
-Source0:        http://internap.dl.sourceforge.net/sourceforge/jboss/jboss-%{jboss_version}-jdk6.zip
13  
-Source1:        jboss-as5-5.1.0.GA-cloud-gossip.patch
14  
-Source2:        http://heanet.dl.sourceforge.net/sourceforge/javagroups/JGroups-%{jgroups_version}.bin.zip
15  
-Source3:        jboss-as-5.1.0.GA-jbossws.patch
16  
-Source4:        http://downloads.sourceforge.net/project/jboss/JBossCache/JBossCache%20%{jboss_cache_version}/jbosscache-core-%{jboss_cache_version}-bin.zip
17  
-Requires:       jboss-as5
18  
-BuildRequires:  patch
19  
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
20  
-
21  
-%description
22  
-The JBoss AS 5 cloud profiles (cluster and group)
23  
-
24  
-%define __jar_repack %{nil}
25  
-
26  
-%prep
27  
-%setup -T -b 0 -n jboss-%{jboss_version}
28  
-%setup -T -b 2 -n JGroups-%{jgroups_version}.bin
29  
-%setup -T -b 4 -n jbosscache-core-%{jboss_cache_version}
30  
-
31  
-%install
32  
-rm -Rf $RPM_BUILD_ROOT
33  
-
34  
-cd %{_topdir}/BUILD
35  
-
36  
-# create directories
37  
-mkdir -p $RPM_BUILD_ROOT/opt/jboss-as5/server/cluster
38  
-mkdir -p $RPM_BUILD_ROOT/opt/jboss-as5/server/group
39  
-
40  
-# copy profiles
41  
-cp -R jboss-%{jboss_version}/server/default/* $RPM_BUILD_ROOT/opt/jboss-as5/server/group/
42  
-cp -R jboss-%{jboss_version}/server/all/* $RPM_BUILD_ROOT/opt/jboss-as5/server/cluster/
43  
-
44  
-# install jgroups
45  
-cp JGroups-%{jgroups_version}.bin/jgroups-all.jar $RPM_BUILD_ROOT/opt/jboss-as5/server/cluster/lib/jgroups.jar
46  
-
47  
-# install JBoss Cache
48  
-cp jbosscache-core-%{jboss_cache_version}/jbosscache-core.jar $RPM_BUILD_ROOT/opt/jboss-as5/server/cluster/lib/jbosscache-core.jar
49  
-
50  
-rm -Rf $RPM_BUILD_ROOT/opt/jboss-as5/server/*/deploy/ROOT.war
51  
-
52  
-cd $RPM_BUILD_ROOT/opt/jboss-as5
53  
-patch -p1 < %{SOURCE1}
54  
-patch -p1 < %{SOURCE3}
55  
-
56  
-%clean
57  
-rm -Rf $RPM_BUILD_ROOT
58  
-
59  
-%files
60  
-%defattr(-,jboss,jboss)
61  
-/
62  
-
63  
-%changelog
64  
-* Tue May 26 2009 Marek Goldmann 5.1.0.GA-1
65  
-- JBoss AS version upgrade to 5.1.0.GA
66  
-
67  
-* Tue Mar 03 2009 Marek Goldmann 5.0.1.GA-1
68  
-- JBoss AS version upgrade to 5.0.1.GA
74  specs/jboss-as5.spec
... ...
@@ -1,74 +0,0 @@
1  
-%define jboss_cache_version 3.2.1.GA
2  
-
3  
-Summary:        JBoss Application Server
4  
-Name:           jboss-as5
5  
-Version:        5.1.0.GA
6  
-Release:        2
7  
-License:        LGPL
8  
-BuildArch:      noarch
9  
-Group:          Applications/System
10  
-Source0:        http://internap.dl.sourceforge.net/sourceforge/jboss/jboss-%{version}-jdk6.zip
11  
-Source1:        jboss-as5.init
12  
-Source2:        http://downloads.sourceforge.net/project/jboss/JBossCache/JBossCache%20%{jboss_cache_version}/jbosscache-core-%{jboss_cache_version}-bin.zip
13  
-Requires:       shadow-utils
14  
-Requires:       coreutils
15  
-Requires:       java-1.6.0-openjdk
16  
-Requires:       initscripts
17  
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
18  
-
19  
-%define runuser jboss
20  
-%define __jar_repack %{nil}
21  
-
22  
-%description
23  
-The JBoss Application Server
24  
-
25  
-%prep
26  
-%setup -n jboss-%{version}
27  
-%setup -T -b 2 -n jbosscache-core-%{jboss_cache_version}
28  
-
29  
-%install
30  
-
31  
-cd %{_topdir}/BUILD
32  
-
33  
-install -d -m 755 $RPM_BUILD_ROOT/opt/jboss-as5
34  
-cp -R jboss-%{version}/* $RPM_BUILD_ROOT/opt/jboss-as5
35  
-rm -Rf $RPM_BUILD_ROOT/opt/jboss-as5/server/*/deploy/ROOT.war
36  
-
37  
-install -d -m 755 $RPM_BUILD_ROOT%{_initrddir}
38  
-install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/%{name}
39  
-
40  
-cp jbosscache-core-%{jboss_cache_version}/jbosscache-core.jar $RPM_BUILD_ROOT/opt/jboss-as5/server/all/lib/jbosscache-core.jar
41  
-
42  
-touch $RPM_BUILD_ROOT/etc/jboss-as5.conf
43  
-echo 'JBOSS_GOSSIP_PORT=12001'    >> $RPM_BUILD_ROOT/etc/jboss-as5.conf
44  
-echo 'JBOSS_GOSSIP_REFRESH=5000'  >> $RPM_BUILD_ROOT/etc/jboss-as5.conf
45  
-#echo 'JBOSS_SERVER_PEER_ID='      >> $RPM_BUILD_ROOT/etc/jboss-as5.conf
46  
-#echo 'JBOSS_IP=0.0.0.0'           >> $RPM_BUILD_ROOT/etc/jboss-as5.conf
47  
-echo 'JAVA_HOME=/usr/lib/jvm/jre' >> $RPM_BUILD_ROOT/etc/jboss-as5.conf
48  
-
49  
-%clean
50  
-rm -Rf $RPM_BUILD_ROOT
51  
-
52  
-%pre
53  
-JBOSS_SHELL=/bin/bash
54  
-/usr/sbin/groupadd -r jboss 2>/dev/null || :
55  
-/usr/sbin/useradd -c JBossAS -r -s $JBOSS_SHELL -d /opt/jboss-as5 -g jboss jboss 2>/dev/null || :
56  
-
57  
-%post
58  
-/bin/echo "echo JBOSS_IP=\`ifconfig eth0 | awk '/inet addr/ {split (\$2,A,\":\"); print A[2]}'\` >> /etc/jboss-as5.conf" >> /etc/rc.local
59  
-
60  
-%files
61  
-%defattr(-,jboss,jboss)
62  
-/
63  
-#%attr(0755,root,root) %{_initrddir}/%{name}
64  
-#%attr(0755,root,root) /etc/jboss-as5.conf
65  
-
66  
-%changelog
67  
-* Wed Aug 5 2009 Marek Goldmann 5.1.0.GA-2
68  
-- New defaults in /etc/jboss-as5.conf
69  
-
70  
-* Mon May 25 2009 Marek Goldmann 5.1.0.GA-1
71  
-- JBoss AS version upgrade to 5.1.0.GA
72  
-
73  
-* Tue Mar 03 2009 Marek Goldmann 5.0.1.GA-1
74  
-- JBoss AS version upgrade to 5.0.1.GA
57  specs/jboss-as6-cloud-profiles.spec
... ...
@@ -1,57 +0,0 @@
1  
-%define jboss_name jboss-as6
2  
-%define jboss_version 6.0.0.M1
3  
-
4  
-Summary:        The JBoss AS 6 cloud profiles (cluster and group)
5  
-Name:           jboss-as6-cloud-profiles
6  
-Version:        1.0.0.Beta1
7  
-Release:        1
8  
-License:        LGPL
9  
-BuildArch:      noarch
10  
-Group:          Applications/System
11  
-Source0:        http://internap.dl.sourceforge.net/sourceforge/jboss/jboss-%{jboss_version}.zip
12  
-Source1:        %{jboss_name}-gossip-jvmroute.patch
13  
-Source2:        %{jboss_name}-mod_cluster.patch
14  
-Source3:        %{jboss_name}-jbossws-host.patch
15  
-
16  
-Requires:       %{jboss_name}
17  
-BuildRequires:  patch
18  
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
19  
-
20  
-%description
21  
-The JBoss AS 6 cloud profiles (cluster and group)
22  
-
23  
-%define __jar_repack %{nil}
24  
-
25  
-%prep
26  
-%setup -T -b 0 -n jboss-%{jboss_version}
27  
-
28  
-%install
29  
-rm -Rf $RPM_BUILD_ROOT
30  
-
31  
-cd %{_topdir}/BUILD
32  
-
33  
-# create directories
34  
-mkdir -p $RPM_BUILD_ROOT/opt/%{jboss_name}/server/cluster
35  
-mkdir -p $RPM_BUILD_ROOT/opt/%{jboss_name}/server/group
36  
-
37  
-# copy profiles
38  
-cp -R jboss-%{jboss_version}/server/default/* $RPM_BUILD_ROOT/opt/%{jboss_name}/server/group/
39  
-cp -R jboss-%{jboss_version}/server/all/* $RPM_BUILD_ROOT/opt/%{jboss_name}/server/cluster/
40  
-
41  
-rm -Rf $RPM_BUILD_ROOT/opt/%{jboss_name}/server/*/deploy/ROOT.war
42  
-
43  
-cd $RPM_BUILD_ROOT/opt/%{jboss_name}
44  
-patch -p1 < %{SOURCE1}
45  
-patch -p1 < %{SOURCE2}
46  
-patch -p1 < %{SOURCE3}
47  
-
48  
-%clean
49  
-rm -Rf $RPM_BUILD_ROOT
50  
-
51  
-%files
52  
-%defattr(-,%{jboss_name},%{jboss_name})
53  
-/
54  
-
55  
-%changelog
56  
-* Thu Dec 03 2009 Marek Goldmann 1.0.0.Beta1-1
57  
-- Initial release
61  specs/jboss-as6.spec
... ...
@@ -1,61 +0,0 @@
1  
-%define jboss_cache_version 3.2.1.GA
2  
-
3  
-Summary:        JBoss Application Server
4  
-Name:           jboss-as6
5  
-Version:        6.0.0.M1
6  
-Release:        1
7  
-License:        LGPL
8  
-BuildArch:      noarch
9  
-Group:          Applications/System
10  
-Source0:        http://internap.dl.sourceforge.net/sourceforge/jboss/jboss-%{version}.zip
11  
-Source1:        %{name}.init
12  
-Requires:       shadow-utils
13  
-Requires:       coreutils
14  
-Requires:       java-1.6.0-openjdk
15  
-Requires:       initscripts
16  
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17  
-
18  
-%define runuser %{name}
19  
-%define __jar_repack %{nil}
20  
-
21  
-%description
22  
-The JBoss Application Server
23  
-
24  
-%prep
25  
-%setup -n jboss-%{version}
26  
-
27  
-%install
28  
-
29  
-cd %{_topdir}/BUILD
30  
-
31  
-install -d -m 755 $RPM_BUILD_ROOT/opt/%{name}
32  
-cp -R jboss-%{version}/* $RPM_BUILD_ROOT/opt/%{name}
33  
-rm -Rf $RPM_BUILD_ROOT/opt/%{name}/server/*/deploy/ROOT.war
34  
-rm -rf $RPM_BUILD_ROOT/opt/%{name}/bin/jboss_init_solaris.sh 
35  
-
36  
-install -d -m 755 $RPM_BUILD_ROOT%{_initrddir}
37  
-install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/%{name}
38  
-
39  
-touch $RPM_BUILD_ROOT/etc/jboss-as.conf
40  
-echo 'JBOSS_GOSSIP_PORT=12001'    >> $RPM_BUILD_ROOT/etc/jboss-as.conf
41  
-echo 'JBOSS_GOSSIP_REFRESH=5000'  >> $RPM_BUILD_ROOT/etc/jboss-as.conf
42  
-echo 'JAVA_HOME=/usr/lib/jvm/jre' >> $RPM_BUILD_ROOT/etc/jboss-as.conf
43  
-
44  
-%clean
45  
-rm -Rf $RPM_BUILD_ROOT
46  
-
47  
-%pre
48  
-JBOSS_SHELL=/bin/bash
49  
-/usr/sbin/groupadd -r %{name} 2>/dev/null || :
50  
-/usr/sbin/useradd -c JBossAS -r -s $JBOSS_SHELL -d /opt/%{name} -g %{name} %{name} 2>/dev/null || :
51  
-
52  
-%post
53  
-/bin/echo "echo JBOSS_IP=\`ifconfig eth0 | awk '/inet addr/ {split (\$2,A,\":\"); print A[2]}'\` >> /etc/jboss-as.conf" >> /etc/rc.local
54  
-
55  
-%files
56  
-%defattr(-,%{name},%{name})
57  
-/
58  
-
59  
-%changelog
60  
-* Thu Dec 03 2009 Marek Goldmann 6.0.0.M1-1
61  
-- Initial release
48  specs/jboss-jgroups.spec
... ...
@@ -1,48 +0,0 @@
1  
-Summary:    JBoss JGroups
2  
-Name:       jboss-jgroups
3  
-Version:    2.6.13.GA
4  
-Release:    1
5  
-License:    LGPL
6  
-BuildArch:  noarch
7  
-Group:      Applications/System
8  
-Requires:   shadow-utils
9  
-Requires:   initscripts
10  
-Source0:    http://heanet.dl.sourceforge.net/sourceforge/javagroups/JGroups-%{version}.bin.zip
11  
-Source1:    jgroups-gossip.init
12  
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13  
-
14  
-%define __jar_repack %{nil}
15  
-
16  
-%description
17  
-JBoss JGroups
18  
-
19  
-%prep
20  
-%setup -n JGroups-%{version}.bin
21  
-
22  
-%install
23  
-mkdir -p $RPM_BUILD_ROOT/opt
24  
-cp -R . $RPM_BUILD_ROOT/opt/jboss-jgroups
25  
-
26  
-install -d -m 755 $RPM_BUILD_ROOT%{_initrddir}
27  
-install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/jgroups-gossip
28  
-
29  
-echo 'JAVA_HOME=/usr/lib/jvm/jre' > $RPM_BUILD_ROOT/etc/jboss-jgroups.conf
30  
-
31  
-%post
32  
-/bin/echo "echo JGROUPS_IP=\`ifconfig eth0 | awk '/inet addr/ {split (\$2,A,\":\"); print A[2]}'\` >> /etc/jboss-jgroups.conf" >> /etc/rc.local
33  
-
34  
-%clean
35  
-rm -Rf $RPM_BUILD_ROOT
36  
-
37  
-%pre
38  
-JGROUPS_SHELL=/bin/bash
39  
-/usr/sbin/groupadd -r jgroups 2>/dev/null || :
40  
-/usr/sbin/useradd -c 'JBoss JGroups' -r -s $JGROUPS_SHELL -d /opt/jboss-jgroups -g jgroups jgroups 2>/dev/null || :
41  
-
42  
-%files
43  
-%defattr(-,jgroups,jgroups)
44  
-/
45  
-
46  
-%changelog
47  
-* Thu Dec 03 2009 Marek Goldmann 2.6.13.GA-1
48  
-- Upgrade to 2.6.13.GA
49  specs/jopr-agent.spec
... ...
@@ -1,49 +0,0 @@
1  
-%define agent_name rhq-enterprise-agent
2  
-%define jopr_version 2.3.1
3  
-
4  
-Summary:        JOPR Agent
5  
-Name:           jopr-agent
6  
-Version:        1.3.1
7  
-Release:        1
8  
-License:        LGPL
9  
-BuildArch:      noarch
10  
-Source0:        jopr-agent.init
11  
-Source1:        jopr-agent-install.sh
12  
-Group:          Applications/System
13  
-Requires:       java-1.6.0-openjdk
14  
-Requires(post): /sbin/chkconfig
15  
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
16  
-
17  
-%define runuser jopr
18  
-
19  
-%description
20  
-Jopr is an enterprise management solution for JBoss middleware projects and other application technologies. This pluggable project provides administration, monitoring, alerting, operational control and configuration in an enterprise setting with fine-grained security and an advanced extension model. This system is based on and plugin-compatible with the multi-vendor RHQ management project. It provides support for monitoring base operating system information on six operating systems as well as mangement of Apache, JBoss Application Server and other related projects. This package contains agent.
21  
-
22  
-%install
23  
-install -d -m 755 $RPM_BUILD_ROOT/etc/sysconfig
24  
-
25  
-echo "JOPR_AGENT_VERSION=%{version}"       > $RPM_BUILD_ROOT/etc/sysconfig/%{name}
26  
-
27  
-install -d -m 755 $RPM_BUILD_ROOT%{_initrddir}
28  
-install -m 755 %{SOURCE0} $RPM_BUILD_ROOT%{_initrddir}/%{name}
29  
-
30  
-install -d -m 755 $RPM_BUILD_ROOT/usr/share/%{name}
31  
-install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/usr/share/%{name}/jopr-agent-install.sh
32  
-
33  
-%clean
34  
-rm -Rf $RPM_BUILD_ROOT
35  
-
36  
-%post
37  
-/sbin/chkconfig --add %{name}
38  
-/sbin/chkconfig %{name} on
39  
-
40  
-%files
41  
-%defattr(-,root,root)
42  
-/
43  
-
44  
-%changelog
45  
-* Thu Sep 24 2009 Marek Goldmann 1.3.1
46  
-- Upgrade to version 1.3.1
47  
-
48  
-* Sat Jul 25 2009 Marek Goldmann 1.2.1
49  
-- Initial packaging
77  specs/jopr.spec
... ...
@@ -1,77 +0,0 @@
1  
-Summary:        JOPR
2  
-Name:           jopr
3  
-Version:        2.3.1
4  
-Release:        1
5  
-License:        LGPL
6  
-BuildArch:      noarch
7  
-Group:          Applications/System
8  
-Source0:        http://downloads.sourceforge.net/project/rhq/jopr/jopr-%{version}/jopr-server-%{version}.zip
9  
-Source1:        preconfigure-jopr-agent.sh
10  
-Source2:        agent-configuration.xml
11  
-Source3:        jopr.init
12  
-Source4:        preconfigure-jopr.sh
13  
-Source5:        rhq-server.properties
14  
-Requires:       shadow-utils
15  
-Requires:       java-1.6.0-openjdk
16  
-Requires:       unzip
17  
-Requires:       urw-fonts
18  
-Requires(pre):  postgresql
19  
-Requires(post): /sbin/chkconfig
20  
-Requires(post): /bin/sed
21  
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
22  
-AutoReqProv:    0
23  
-AutoReq:        0 
24  
-
25  
-%define runuser jopr
26  
-%define __jar_repack %{nil}
27  
-
28  
-%description
29  
-Jopr is an enterprise management solution for JBoss middleware projects and other application technologies. This pluggable project provides administration, monitoring, alerting, operational control and configuration in an enterprise setting with fine-grained security and an advanced extension model. This system is based on and plugin-compatible with the multi-vendor RHQ management project. It provides support for monitoring base operating system information on six operating systems as well as mangement of Apache, JBoss Application Server and other related projects.
30  
-
31  
-%prep
32  
-%setup -n jopr-server-%{version}
33  
-
34  
-%install
35  
-install -d -m 755 $RPM_BUILD_ROOT/opt/%{name}
36  
-cp -R . $RPM_BUILD_ROOT/opt/%{name}
37  
-
38  
-install -d -m 755 $RPM_BUILD_ROOT/usr/share/%{name}
39  
-install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/usr/share/%{name}/preconfigure-jopr-agent.sh
40  
-install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/usr/share/%{name}/agent-configuration.xml
41  
-install -m 755 %{SOURCE4} $RPM_BUILD_ROOT/usr/share/%{name}/preconfigure-jopr.sh
42  
-install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/usr/share/%{name}/rhq-server.properties
43  
-
44  
-install -d -m 755 $RPM_BUILD_ROOT/etc/sysconfig
45  
- 
46  
-echo "JOPR_VERSION=%{version}"       > $RPM_BUILD_ROOT/etc/sysconfig/%{name}
47  
-echo "JOPR_HOME=/opt/jopr"          >> $RPM_BUILD_ROOT/etc/sysconfig/%{name}
48  
-
49  
-
50  
-install -d -m 755 $RPM_BUILD_ROOT%{_initrddir}
51  
-install -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_initrddir}/%{name}
52  
-
53  
-%clean
54  
-rm -Rf $RPM_BUILD_ROOT
55  
-
56  
-%pre
57  
-/usr/sbin/groupadd -r jopr 2>/dev/null || :
58  
-/usr/sbin/useradd -c "JOPR" -r -s /bin/bash -d /opt/jboss-jopr -g jopr jopr 2>/dev/null || :
59  
-
60  
-%post
61  
-/sbin/chkconfig --add %{name}
62  
-/sbin/chkconfig %{name} on
63  
-
64  
-
65  
-%files
66  
-%defattr(-,jopr,jopr)
67  
-/
68  
-
69  
-%changelog
70  
-* Thu Sep 24 2009 Marek Goldmann 2.3.1
71  
-- Upgrade to version 2.3.1
72  
-
73  
-* Tue Sep 08 2009 Marek Goldmann 2.3.0
74  
-- Upgrade to Jopr 2.3.0
75  
-
76  
-* Sat Jul 25 2009 Marek Goldmann 2.2.1
77  
-- Initial packaging
108  specs/mod_cluster.spec
... ...
@@ -1,108 +0,0 @@
1  
-%define mod_cluster_arch 32
2  
-
3  
-%ifarch x86_64
4  
-	%define mod_cluster_arch 64
5  
-%endif
6  
-
7  
-Summary:    JBoss mod_cluster for Apache httpd
8  
-Name:       mod_cluster
9  
-Version:    1.1.0.Beta1
10  
-Release:    1
11  
-License:    LGPL
12  
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13  
-Group:      Applications/System
14  
-Requires:   httpd-devel >= 2.2.8
15  
-Source0:    http://www.jboss.org/file-access/default/members/mod_cluster/freezone/dist/%{version}/mod_cluster-%{version}-linux2-x86-so.tar.gz
16  
-Source1:    http://www.jboss.org/file-access/default/members/mod_cluster/freezone/dist/%{version}/mod_cluster-%{version}-linux2-x64-so.tar.gz
17  
-Source2:    mod_cluster.conf
18  
-
19  
-%description
20  
-JBoss mod_cluster for Apache httpd
21  
-
22  
-%prep
23  
-%setup -T -b 0 -c -n %{name}-32
24  
-%setup -T -b 1 -c -n %{name}-64
25  
-
26  
-%install
27  
-
28  
-cd %{_topdir}/BUILD
29  
-
30  
-%define httpd_modules_dir /usr/lib/httpd/modules
31  
-
32  
-%ifarch x86_64
33  
-	%define httpd_modules_dir /usr/lib64/httpd/modules
34  
-%endif
35  
-
36  
-modules=( mod_advertise mod_manager mod_proxy_cluster mod_slotmem )
37  
-
38  
-# mod_proxy_ajp mod_proxy_http
39  
-
40  
-pushd %{name}-%{mod_cluster_arch}
41  
-
42  
-install -d -m 755 $RPM_BUILD_ROOT%{httpd_modules_dir}
43  
-
44  
-for module in ${modules[@]} ; do
45  
-  cp ${module}.so $RPM_BUILD_ROOT%{httpd_modules_dir}
46  
-done
47  
-
48  
-popd
49  
-
50  
-install -d -m 755 $RPM_BUILD_ROOT/etc/httpd/conf.d
51  
-cp %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/
52  
-
53  
-install -d -m 755 $RPM_BUILD_ROOT/usr/share/%{name}
54  
-echo "%{version}" > $RPM_BUILD_ROOT/usr/share/%{name}/VERSION
55  
-
56  
-%clean
57  
-rm -Rf $RPM_BUILD_ROOT
58  
-
59  
-%pre
60  
-
61  
-%post
62  
-
63  
-pushd /etc/httpd/conf > /dev/null
64  
-
65  
-cp httpd.conf httpd.conf.orig
66  
-sed s/"^LoadModule proxy_balancer_module"/"#LoadModule proxy_balancer_module"/ httpd.conf.orig > httpd.conf
67  
-
68  
-popd > /dev/null
69  
-
70  
-%preun
71  
-
72  
-pushd /etc/httpd/conf > /dev/null
73  
-
74  
-rm -f httpd.conf.orig > /dev/null
75  
-cp httpd.conf httpd.conf.orig
76  
-sed s/"^#LoadModule proxy_balancer_module"/"LoadModule proxy_balancer_module"/ httpd.conf.orig > httpd.conf
77  
-
78  
-popd > /dev/null
79  
-
80  
-%files
81  
-%defattr(-,root,root)
82  
-/
83  
-
84  
-%changelog
85  
-* Thu Dec 03 2009 Marek Goldmann 1.1.0.Beta1
86  
-- Update to 1.1.0.Beta1
87  
-
88  
-* Sat May 30 2009 Marek Goldmann 1.0.0.GA
89  
-- Update to 1.0.0.GA
90  
-
91  
-* Tue Apr 28 2009 Marek Goldmann 1.0.0.CR1
92  
-- Using compiled modules
93  
-
94  
-* Thu Mar 26 2009 Marek Goldmann 1.0.0.CR1
95  
-- Update to 1.0.0.CR1
96  
-
97  
-* Fri Feb 20 2009 Marek Goldmann 1.0.0.Beta4
98  
-- Update to 1.0.0.Beta4
99  
-
100  
-* Wed Feb 04 2009 Marek Goldmann 1.0.0.Beta3
101  
-- Commenting proxy_balancer_module
102  
-
103  
-* Tue Dec 30 2008 Marek Goldmann 1.0.0.Beta2
104  
-- Added support for x86_64 arch
105  
-
106  
-* Mon Dec 29 2008 Mob McWhirter 1.0.0.Beta2
107  
-- Initial packaging for Fedora 10 i386
108  
-
62  specs/qemu-stable.spec
... ...
@@ -1,62 +0,0 @@
1  
-Summary:        QEMU is a FAST! processor emulator
2  
-Name:           qemu-stable
3  
-Version:        0.10
4  
-Release:        1%{?dist}
5  
-# Epoch because we pushed a qemu-1.0 package
6  
-Epoch:          2
7  
-License:        GPLv2+ and LGPLv2+ and BSD
8  
-Group:          Development/Tools
9  
-URL:            http://www.qemu.org/
10  
-Source:         http://repo.oddthesis.org/bundles/qemu-stable-23-07-2009.tar.gz
11  
-
12  
-%description
13  
-QEMU is a generic and open source processor emulator which achieves a good
14  
-emulation speed by using dynamic translation. QEMU has two operating modes:
15  
-
16  
- * Full system emulation. In this mode, QEMU emulates a full system (for
17  
-   example a PC), including a processor and various peripherials. It can be
18  
-   used to launch different Operating Systems without rebooting the PC or
19  
-   to debug system code.
20  
- * User mode emulation. In this mode, QEMU can launch Linux processes compiled
21  
-   for one CPU on another CPU.
22  
-
23  
-As QEMU requires no host kernel patches to run, it is safe and easy to use.
24  
-
25  
-%prep
26  
-%setup -n %{name}
27  
-
28  
-./configure --target-list="i386-softmmu x86_64-softmmu" --prefix=/usr/qemu-stable
29  
-
30  
-%build
31  
-make -j 4
32  
-
33  
-%install
34  
-rm -rf $RPM_BUILD_ROOT
35  
-
36  
-install -d -m 755 $RPM_BUILD_ROOT/usr/share/qemu-stable/bin/
37  
-cp x86_64-softmmu/qemu-system-x86_64 $RPM_BUILD_ROOT/usr/share/qemu-stable/bin/
38  
-cp i386-softmmu/qemu $RPM_BUILD_ROOT/usr/share/qemu-stable/bin/
39  
-
40  
-install -d -m 755 $RPM_BUILD_ROOT/usr/share/qemu-stable/pc-bios/
41  
-cp -r pc-bios/* $RPM_BUILD_ROOT/usr/share/qemu-stable/pc-bios/
42  
-
43  
-install -d -m 755 $RPM_BUILD_ROOT/usr/share/qemu-stable/bin/
44  
-
45  
-%ifarch x86_64
46  
-echo -e '#!/bin/sh - \nexec /usr/share/qemu-stable/bin/qemu-system-x86_64 -L /usr/share/qemu-stable/pc-bios "$@"' > $RPM_BUILD_ROOT/usr/share/qemu-stable/bin/qemu.wrapper
47  
-%else
48  
-echo -e '#!/bin/sh - \nexec /usr/share/qemu-stable/bin/qemu -L /usr/share/qemu-stable/pc-bios "$@"' > $RPM_BUILD_ROOT/usr/share/qemu-stable/bin/qemu.wrapper
49  
-%endif
50  
-
51  
-chmod +x $RPM_BUILD_ROOT/usr/share/qemu-stable/bin/qemu.wrapper
52  
-
53  
-%clean
54  
-rm -rf $RPM_BUILD_ROOT
55  
-
56  
-%files
57  
-%defattr(-,root,root)
58  
-/
59  
-
60  
-%changelog
61  
-* Wed Jul 22 2009 Marek Goldmann 0.10
62  
-- Initial packaging
56  specs/rhq-agent.spec
... ...
@@ -1,56 +0,0 @@
1  
-%define agent_name rhq-enterprise-agent
2  
-%define rhq_version 1.4.0.B01
3  
-
4  
-Summary:        RHQ Agent
5  
-Name:           rhq-agent
6  
-Version:        %{rhq_version}
7  
-Release:        1
8  
-License:        LGPL
9  
-BuildArch:      noarch
10  
-Source0:        rhq-agent.init
11  
-Source1:        rhq-agent-install.sh
12  
-Group:          Applications/System
13  
-Requires:       java-1.6.0-openjdk
14  
-Requires(post): /sbin/chkconfig
15  
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
16  
-
17  
-%define runuser %{name}
18  
-
19  
-%description
20  
-The RHQ project is an abstraction and plug-in based systems management suite that provides extensible and integrated systems management for multiple products and platforms across a set of core features. The project is designed with layered modules that provide a flexible architecture for deployment. It delivers a core user interface that delivers audited and historical management across an entire enterprise. A Server/Agent architecture provides remote management and plugins implement all specific support for managed products. RHQ is an open source project licensed under the GPL, with some pieces individually licensed under a dual GPL/LGPL license to facilitate the integration with extended packages such as Jopr and Embedded Jopr.
21  
-
22  
-%install
23  
-install -d -m 755 $RPM_BUILD_ROOT/etc/sysconfig
24  
-
25  
-echo "RHQ_AGENT_VERSION=%{version}"       > $RPM_BUILD_ROOT/etc/sysconfig/%{name}
26  
-
27  
-install -d -m 755 $RPM_BUILD_ROOT%{_initrddir}
28  
-install -m 755 %{SOURCE0} $RPM_BUILD_ROOT%{_initrddir}/%{name}
29  
-
30  
-install -d -m 755 $RPM_BUILD_ROOT/usr/share/%{name}
31  
-install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/usr/share/%{name}/rhq-agent-install.sh
32  
-
33  
-%clean
34  
-rm -Rf $RPM_BUILD_ROOT
35  
-
36  
-%pre
37  
-/usr/sbin/groupadd -r %{name} 2>/dev/null || :
38  
-/usr/sbin/useradd -c "%{name}" -r -s /bin/bash -d /opt/%{name} -g %{name} %{name} 2>/dev/null || :
39  
-
40  
-%post
41  
-/sbin/chkconfig --add %{name}
42  
-/sbin/chkconfig %{name} on
43  
-
44  
-%files
45  
-%defattr(-,root,root)
46  
-/
47  
-
48  
-%changelog
49  
-* Tue Dec 24 2009 Marek Goldmann 1.4.0.B01
50  
-- Upgrade to version 1.4.0.B01
51  
-
52  
-* Thu Sep 24 2009 Marek Goldmann 1.3.1
53  
-- Upgrade to version 1.3.1
54  
-
55  
-* Sat Jul 25 2009 Marek Goldmann 1.2.1
56  
-- Initial packaging
72  specs/rhq.spec
... ...
@@ -1,72 +0,0 @@
1  
-Summary:        RHQ server
2  
-Name:           rhq
3  
-Version:        1.4.0.B01
4  
-Release:        1
5  
-License:        LGPL
6  
-BuildArch:      noarch
7  
-Group:          Applications/System
8  
-Source0:        http://downloads.sourceforge.net/project/rhq/rhq/rhq-1.4.0.b01/rhq-server-%{version}.zip
9  
-Source1:        preconfigure-rhq-agent.sh
10  
-Source2:        agent-configuration.xml
11  
-Source3:        rhq.init
12  
-Source4:        preconfigure-rhq.sh
13  
-Source5:        rhq-server.properties
14  
-Requires:       shadow-utils
15  
-Requires:       java-1.6.0-openjdk
16  
-Requires:       unzip
17  
-Requires:       urw-fonts
18  
-Requires(pre):  postgresql
19  
-Requires(post): /sbin/chkconfig
20  
-Requires(post): /bin/sed
21  
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
22  
-AutoReqProv:    0
23  
-AutoReq:        0
24  
-
25  
-%define runuser %{name}
26  
-%define __jar_repack %{nil}
27  
-
28  
-%description
29  
-The RHQ project is an abstraction and plug-in based systems management suite that provides extensible and integrated systems management for multiple products and platforms across a set of core features. The project is designed with layered modules that provide a flexible architecture for deployment. It delivers a core user interface that delivers audited and historical management across an entire enterprise. A Server/Agent architecture provides remote management and plugins implement all specific support for managed products. RHQ is an open source project licensed under the GPL, with some pieces individually licensed under a dual GPL/LGPL license to facilitate the integration with extended packages such as Jopr and Embedded Jopr.
30  
-
31  
-%prep
32  
-echo RPM_BUILD_DIR
33  
-rm -rf $RPM_BUILD_DIR
34  
-unzip -q %{SOURCE0} -d $RPM_BUILD_DIR
35  
-
36  
-%install
37  
-install -d -m 755 $RPM_BUILD_ROOT/opt/%{name}
38  
-cd %{name}-server-%{version} 
39  
-cp -R . $RPM_BUILD_ROOT/opt/%{name}
40  
-
41  
-install -d -m 755 $RPM_BUILD_ROOT/usr/share/%{name}
42  
-install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/usr/share/%{name}/preconfigure-rhq-agent.sh
43  
-install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/usr/share/%{name}/agent-configuration.xml
44  
-install -m 755 %{SOURCE4} $RPM_BUILD_ROOT/usr/share/%{name}/preconfigure-rhq.sh
45  
-install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/usr/share/%{name}/rhq-server.properties
46  
-
47  
-install -d -m 755 $RPM_BUILD_ROOT/etc/sysconfig
48  
-
49  
-echo "RHQ_VERSION=%{version}"       > $RPM_BUILD_ROOT/etc/sysconfig/%{name}
50  
-echo "RHQ_HOME=/opt/%{name}"        >> $RPM_BUILD_ROOT/etc/sysconfig/%{name}
51  
-
52  
-install -d -m 755 $RPM_BUILD_ROOT%{_initrddir}
53  
-install -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_initrddir}/%{name}
54  
-
55  
-%clean
56  
-rm -Rf $RPM_BUILD_ROOT
57  
-
58  
-%pre
59  
-/usr/sbin/groupadd -r %{name} 2>/dev/null || :
60  
-/usr/sbin/useradd -c "%{name}" -r -s /bin/bash -d /opt/%{name} -g %{name} %{name} 2>/dev/null || :
61  
-
62  
-%post
63  
-/sbin/chkconfig --add %{name}
64  
-/sbin/chkconfig %{name} on
65  
-
66  
-%files
67  
-%defattr(-,%{name},%{name})
68  
-/
69  
-
70  
-%changelog
71  
-* Tue Dec 24 2009 Marek Goldmann 1.4.0.B01
72  
-- Initial packaging
54  specs/torquebox.spec
... ...
@@ -1,54 +0,0 @@
1  
-%define jboss_name jboss-as6
2  
-
3  
-Summary:    TorqueBox
4  
-Name:       torquebox
5  
-Version:    1.0.0.Beta18
6  
-Release:    1
7  
-License:    LGPL
8  
-BuildArch:  noarch
9  
-Group:      Applications/System
10  
-Source0:    http://repository.torquebox.org/maven2/releases/org/torquebox/torquebox-core/%{version}/torquebox-core-%{version}-deployer.jar
11  
-Requires:   %{jboss_name}
12  
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13  
-
14  
-%define __jar_repack %{nil}
15  
-
16  
-%description
17  
-The Torquebox deployer for AS 6
18  
-
19  
-%prep
20  
-%setup -c torquebox.deployer -T
21  
-
22  
-%install
23  
-## every config but minimal
24  
-configs=( all  default  standard  web )
25  
-
26  
-for config in ${configs[@]} ; do
27  
-  install -d 755 $RPM_BUILD_ROOT/opt/%{jboss_name}/server/${config}/deployers/
28  
-  cp %SOURCE0 $RPM_BUILD_ROOT/opt/%{jboss_name}/server/${config}/deployers/
29  
-done
30  
-
31  
-%clean
32  
-rm -Rf $RPM_BUILD_ROOT
33  
-
34  
-%pre
35  
-
36  
-%files
37  
-%defattr(-,%{jboss_name},%{jboss_name})
38  
-/
39  
-
40  
-%changelog
41  
-* Fri Nov 20 2009 Marek Goldmann 1.0.0.Beta18
42  
-- Upgrade to version 1.0.0.Beta18
43  
-
44  
-* Tue Oct 20 2009 Marek Goldmann 1.0.0.Beta16
45  
-- Upgrade to version 1.0.0.Beta16
46  
-
47  
-* Tue Jun 23 2009 Marek Goldmann 1.0.0.Beta13
48  
-- Upgrade to version 1.0.0.Beta13
49  
-
50  
-* Fri May 22 2009 Marek Goldmann 1.0.0.Beta11
51  
-- Update after project name change to TorqueBox
52  
-
53  
-* Tue Apr 28 2009 Marek Goldmann 1.0.0.Beta6
54  
-- Upgrade to Beta6
979  src/agent-configuration.xml
... ...
@@ -1,979 +0,0 @@
1  
-<?xml version="1.0" encoding="UTF-8"?>
2  
-
3  
-<!DOCTYPE preferences SYSTEM 'http://java.sun.com/dtd/preferences.dtd'>
4  
-
5  
-<!--
6  
-==============================================================================
7  
-RHQ Agent Configuration
8  
-
9  
-This configuration file defines the initial defaults for an agent that is not
10  
-yet fully configured.  Once the agent is completely configured (e.g. when
11  
-you answer the setup questions asked by the agent when it starts up the
12  
-very first time), this configuration file is no longer read or used to define
13  
-the agent's behavior.
14  
-
15  
-After you provide the agent the answers to the setup questions, it will store
16  
-the configuration in Java Preferences and will thereafter no longer need this
17  
-configuration file.  See the Java documentation on the Java Preferences API
18  
-for more information as to where the persisted configuration is stored for
19  
-your particular platform the agent is running on.
20  
-
21  
-When you start the agent for the very first time it will not yet have any
22  
-configuration preferences defined.  It is only under this condition when this
23  
-configuration file is actually used automatically by the agent.
24  
-Please keep this in mind whenever you make changes to this configuration file
25  
-(to be more clear - do not assume that when you change this file that the
26  
-agent's configuration will actually change - it normally will not).
27  
-
28  
-If you do want to change the agent's configuration by making changes to this
29  
-file, you must tell the agent to re-configure itself with the file by
30  
-passing in the command line option "-c agent-configuration.xml".
31  
-
32  
-If you want to fully configure the agent with this configuration file and
33  
-not be asked those setup questions (even during the very first time you
34  
-start the agent) make sure that you set the configuration preference named
35  
-"rhq.agent.configuration-setup-flag" to the value of "true" in this file
36  
-(of course, if you do this, you must make sure this configuration file
37  
-contains all valid configuration for all settings since you opted not to be
38  
-asked the setup questions).
39  
-
40  
-If you are interested in learning about additional ways in which you can
41  
-configure the agent, please see the help documentation on the agent prompt
42  
-commands named "config", "setconfig" and "setup" and the command line options
43  
--l (cleanconfig), -c (config), -p (prefs), -s (setup) and -a (advanced).
44  
-==============================================================================
45  
--->
46  
-
47  
-<preferences EXTERNAL_XML_VERSION="1.0">
48  
-   <root type="user">
49  
-      <map />
50  
-      <node name="rhq-agent">
51  
-         <map />
52  
-         <node name="${rhq.agent.preferences-node}">
53  
-            <map>
54  
-               <!--
55  
-               _______________________________________________________________
56  
-               rhq.agent.configuration-schema-version
57  
-
58  
-               Defines what version of the agent configuration schema this
59  
-               file conforms to.  This is the schema for the rhq.agent
60  
-               preferences.
61  
-               -->
62  
-               <entry key="rhq.agent.configuration-schema-version" value="5" />
63  
-
64  
-               <!--
65  
-               _______________________________________________________________
66  
-               rhq.agent.configuration-setup-flag
67  
-
68  
-               If true, the agent will assume it is fully configured and
69  
-               will not ask setup questions when it starts up.  If false,
70  
-               the agent assumes the configuration is not complete and
71  
-               will ask a series of setup questions to the user in order
72  
-               to be fully configured.
73  
-
74  
-               If you write your own custom agent configuration file, you
75  
-               will probably want to set this flag to true since you
76  
-               probably will set all of your configuration right in the
77  
-               configuration file itself.  However, you may wish to
78  
-               distribute agent configuration files with only a subset
79  
-               of configuration preferences set and rely on each agent's
80  
-               startup setup mechanism to finish its configuration - in this
81  
-               case, you'll want to leave this as false.
82  
-               -->
83  
-
84  
-               <entry key="rhq.agent.configuration-setup-flag" value="true" />
85  
-
86  
-               <!--
87  
-               _______________________________________________________________
88  
-               rhq.agent.name
89  
-
90  
-               Explicitly defines what the agent's name is.  This will
91  
-               default to the agent's fully qualified domain name (that is,
92  
-               the FQDN of the platform where the agent is running).  However,
93  
-               you can set this to any value you want, so long as it is
94  
-               unique among all other agents. You will need to explicitly set
95  
-               this if the agent platform's FQDN cannot be reliably determined
96  
-               at runtime.
97  
-               -->
98  
-
99  
-               <entry key="rhq.agent.name" value="#AGENT_NAME#"/>
100  
-
101  
-               <!--
102  
-               _______________________________________________________________
103  
-               rhq.agent.server.transport
104  
-               rhq.agent.server.bind-address
105  
-               rhq.agent.server.bind-port
106  
-               rhq.agent.server.transport-params
107  
-
108  
-               The RHQ Server endpoint configuration.
109  
-
110  
-               Note that because this is an XML file, you must specify
111  
-               "&amp;" in the transport-params value when needing an ampersand
112  
-               to separate the transport parameters.
113  
-               -->
114  
-               <entry key="rhq.agent.server.transport"        value="servlet" />
115  
-               <entry key="rhq.agent.server.bind-port"        value="7080" />
116  
-               <entry key="rhq.agent.server.bind-address"     value="#BIND_ADDRESS#" />
117  
-               <entry key="rhq.agent.server.transport-params" value="/jboss-remoting-servlet-invoker/ServerInvokerServlet" />
118  
-
119  
-               <!--
120  
-               _______________________________________________________________
121  
-               rhq.agent.server-auto-detection
122  
-
123  
-               If true, the agent will attempt to auto-detect the RHQ Server
124  
-               coming online and going offline.  This is more efficient
125  
-               than server polling but it requires multicast traffic to be
126  
-               enabled on your network and also requires the multicast
127  
-               detector be enabled.
128  
-               -->
129  
-               <entry key="rhq.agent.server-auto-detection" value="false" />
130  
-
131  
-               <!--
132  
-               _______________________________________________________________
133  
-               rhq.agent.register-with-server-at-startup
134  
-
135  
-               If true, the agent will attempt to register itself with the
136  
-               RHQ Server when the agent starts up. If false, the agent will
137  
-               not automatically register itself at startup; the agent must
138  
-               be manually registered via some other mechanism (e.g. the
139  
-               'register' prompt command).  The agent must be registered
140  
-               at least once in order to notify the RHQ Server about its
141  
-               existence and to assign the agent a valid security token.
142  
-               Note that even if this is true, the registration may not happen
143  
-               immediately if the RHQ Server itself is not up - once the RHQ
144  
-               Server comes up, the registration attempt will occur.
145  
-               -->
146  
-               <entry key="rhq.agent.register-with-server-at-startup" value="true" />
147  
-
148  
-               <!--
149  
-               _______________________________________________________________
150  
-               rhq.agent.wait-for-server-at-startup-msecs
151  
-
152  
-               This defines how many milliseconds the agent should wait at
153  
-               startup for the RHQ Server to be detected. If the RHQ Server
154  
-               has not started up in the given amount of time, the agent will
155  
-               continue initializing and expect the server to come up later.
156  
-               If this is 0, the agent will not wait at all.
157  
-               -->
158  
-               <entry key="rhq.agent.wait-for-server-at-startup-msecs" value="60000" />
159  
-
160  
-               <!--
161  
-               _______________________________________________________________
162  
-               rhq.agent.update-plugins-at-startup
163  
-
164  
-               If true, the agent will attempt to update its current set
165  
-               of plugins to their latest versions at startup. If false, the
166  
-               agent will not automatically update the plugins; the agent
167  
-               will use its current plugins.  To update the plugins, you must
168  
-               manually do so via some other mechanism (e.g. the
169  
-               'plugins' prompt command).
170  
-               Note that even if this is true, the update may not happen
171  
-               immediately if the RHQ Server itself is not up - once the RHQ
172  
-               Server comes up, the update attempt will occur.
173  
-               -->
174  
-               <entry key="rhq.agent.update-plugins-at-startup" value="true" />
175  
-
176  
-               <!--
177  
-               _______________________________________________________________
178  
-               rhq.agent.agent-update.enabled
179  
-
180  
-               If true, the agent will be allowed to update itself if it
181  
-               finds there is a new agent update binary available.
182  
-               If this feature is not enabled, the agent will never
183  
-               be allowed to update itself.
184  
-               -->
185  
-               <entry key="rhq.agent.agent-update.enabled" value="true" />
186  
-