Skip to content

Commit

Permalink
cleanup in spec files, maxsessionid in mod_cluster.conf, jgroups upgr…
Browse files Browse the repository at this point in the history
…ade to 2.6.12.GA, -support upgrade
  • Loading branch information
goldmann committed Aug 19, 2009
1 parent 5d50d36 commit 07daa7f
Show file tree
Hide file tree
Showing 13 changed files with 55 additions and 63 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,5 @@ packages:
- jboss-jgroups
- java-1.6.0-openjdk

users:
- name: jgroups
group: jgroups
home: /opt/jboss-jgroups
comment: JBoss JGroups

post:
- "/sbin/chkconfig --level 234 jgroups-gossip on"
8 changes: 1 addition & 7 deletions appliances/management-appliance/management-appliance.appl
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@

summary: JBoss Cloud management appliance

users:
- name: jopr
group: jopr
home: /opt/jopr
comment: JBoss JGroups
summary: JBoss Cloud management and monitoring appliance

packages:
- dhcp
Expand Down
2 changes: 1 addition & 1 deletion lib/jboss-appliance-support
Submodule jboss-appliance-support updated from 5931a5 to b2b192
24 changes: 12 additions & 12 deletions specs/jboss-as5-cloud-mod_cluster.spec
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
Summary: JBoss mod_cluster for JBoss AS5 cloud profiles
Name: jboss-as5-cloud-mod_cluster
Version: 1.0.1.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)
Summary: JBoss mod_cluster for JBoss AS5 cloud profiles
Name: jboss-as5-cloud-mod_cluster
Version: 1.0.1.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}

Expand Down
4 changes: 2 additions & 2 deletions specs/jboss-as5-cloud-profiles.spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%define jgroups_version 2.6.12.Beta2
%define jgroups_version 2.6.12.GA
%define jboss_version 5.1.0.GA

Summary: JBoss Cloud profiles
Expand All @@ -10,7 +10,7 @@ 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://repo.oddthesis.org/bundles/JGroups-%{jgroups_version}.bin.tar.gz
Source2: http://heanet.dl.sourceforge.net/sourceforge/javagroups/JGroups-%{jgroups_version}.bin.zip
Requires: jboss-as5
BuildRequires: patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Expand Down
2 changes: 1 addition & 1 deletion specs/jboss-cloud-environment.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Summary: JBoss Cloud environment
Name: jboss-cloud-environment
Version: 1.0.0.Beta6
Version: 1.0.0.Beta7
Release: 1
License: LGPL
BuildArch: noarch
Expand Down
2 changes: 1 addition & 1 deletion specs/jboss-cloud-management.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Summary: JBoss Cloud management support for appliances
Name: jboss-cloud-management
Version: 1.0.0.Beta6
Version: 1.0.0.Beta7
Release: 1
License: LGPL
Requires: git
Expand Down
22 changes: 11 additions & 11 deletions specs/jboss-jgroups.spec
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Summary: JBoss JGroups
Name: jboss-jgroups
Version: 2.6.12.GA
Release: 1
License: LGPL
BuildArch: noarch
Group: Applications/System
Requires: shadow-utils
Source0: http://heanet.dl.sourceforge.net/sourceforge/javagroups/JGroups-%{version}.bin.zip
Source1: jgroups-gossip.init
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Summary: JBoss JGroups
Name: jboss-jgroups
Version: 2.6.12.GA
Release: 1
License: LGPL
BuildArch: noarch
Group: Applications/System
Requires: shadow-utils
Source0: http://heanet.dl.sourceforge.net/sourceforge/javagroups/JGroups-%{version}.bin.zip
Source1: jgroups-gossip.init
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%define __jar_repack %{nil}

Expand Down
2 changes: 1 addition & 1 deletion specs/jopr.spec
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ rm -Rf $RPM_BUILD_ROOT

%pre
/usr/sbin/groupadd -r jopr 2>/dev/null || :
/usr/sbin/useradd -c "JBoss JOPR" -r -s /bin/bash -d /opt/jboss-jopr -g jopr jopr 2>/dev/null || :
/usr/sbin/useradd -c "JOPR" -r -s /bin/bash -d /opt/jboss-jopr -g jopr jopr 2>/dev/null || :

%files
%defattr(-,jopr,jopr)
Expand Down
22 changes: 11 additions & 11 deletions specs/mod_cluster.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
%define mod_cluster_arch 64
%endif

Summary: JBoss mod_cluster for Apache httpd
Name: mod_cluster
Version: 1.0.1.GA
Release: 1
License: LGPL
BuildRoot: %{_tmppath}/%{name}-buildroot
Group: Applications/System
Requires: httpd-devel >= 2.2.8
Source0: http://www.jboss.org/file-access/default/members/mod_cluster/freezone/dist/%{version}/mod_cluster-%{version}-linux2-x86-so.tar.gz
Source1: http://www.jboss.org/file-access/default/members/mod_cluster/freezone/dist/%{version}/mod_cluster-%{version}-linux2-x64-so.tar.gz
Source2: mod_cluster.conf
Summary: JBoss mod_cluster for Apache httpd
Name: mod_cluster
Version: 1.0.1.GA
Release: 1
License: LGPL
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Group: Applications/System
Requires: httpd-devel >= 2.2.8
Source0: http://www.jboss.org/file-access/default/members/mod_cluster/freezone/dist/%{version}/mod_cluster-%{version}-linux2-x86-so.tar.gz
Source1: http://www.jboss.org/file-access/default/members/mod_cluster/freezone/dist/%{version}/mod_cluster-%{version}-linux2-x64-so.tar.gz
Source2: mod_cluster.conf

%description
JBoss mod_cluster for Apache httpd
Expand Down
20 changes: 10 additions & 10 deletions specs/torquebox.spec
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Summary: TorqueBox
Name: torquebox
Version: 1.0.0.Beta13
Release: 1
License: LGPL
BuildArch: noarch
Group: Applications/System
Source0: http://repository.torquebox.org/maven2/releases/org/torquebox/torquebox-core/%{version}/torquebox-core-%{version}-deployer.jar
Requires: jboss-as5
BuildRoot: /tmp/%{name}
Summary: TorqueBox
Name: torquebox
Version: 1.0.0.Beta13
Release: 1
License: LGPL
BuildArch: noarch
Group: Applications/System
Source0: http://repository.torquebox.org/maven2/releases/org/torquebox/torquebox-core/%{version}/torquebox-core-%{version}-deployer.jar
Requires: jboss-as5
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%define __jar_repack %{nil}

Expand Down
2 changes: 2 additions & 0 deletions src/jopr-agent.init
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ if [ "x$JOPR_SERVER_IP" = "x" ]; then
exit 0
fi

[ ! -d $RHQ_AGENT_HOME ] && /usr/share/jopr-agent/jopr-agent-install.sh

# ----------------------------------------------------------------------
# Function that simply dumps a message iff debug mode is enabled
# ----------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions src/mod_cluster.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ LoadModule advertise_module modules/mod_advertise.so
<Location /mod_cluster_manager>
SetHandler mod_cluster-manager
</Location>

Maxsessionid 50

0 comments on commit 07daa7f

Please sign in to comment.