Enabled or rather force munge support.
This commit is contained in:
parent
6b1b8e65d1
commit
2d2e1e93de
12
torque-munge-size.patch
Normal file
12
torque-munge-size.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -uNr torque-3.0.1.ORIG/src/include/libpbs.h torque-3.0.1/src/include/libpbs.h
|
||||||
|
--- torque-3.0.1.ORIG/src/include/libpbs.h 2011-06-17 19:19:32.984380003 +0200
|
||||||
|
+++ torque-3.0.1/src/include/libpbs.h 2011-06-17 19:23:19.406379620 +0200
|
||||||
|
@@ -117,7 +117,7 @@
|
||||||
|
#define EOF -1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#define MUNGE_SIZE 256 /* I do not know what the proper size of this should be. My
|
||||||
|
+#define MUNGE_SIZE 1024 /* I do not know what the proper size of this should be. My
|
||||||
|
testing with munge shows it creates a string of 128 bytes */
|
||||||
|
|
||||||
|
/* enums for standard job files (sync w/TJobFileType[]) */
|
12
torque.spec
12
torque.spec
@ -92,6 +92,11 @@ Source4: xpbs.png
|
|||||||
Source5: xpbsmon.png
|
Source5: xpbsmon.png
|
||||||
Source6: README-localhost
|
Source6: README-localhost
|
||||||
Source7: pbs-config-multilib
|
Source7: pbs-config-multilib
|
||||||
|
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=713996
|
||||||
|
Patch0: torque-munge-size.patch
|
||||||
|
|
||||||
|
|
||||||
License: OpenPBS and TORQUEv1.1
|
License: OpenPBS and TORQUEv1.1
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://www.clusterresources.com/products/torque/
|
URL: http://www.clusterresources.com/products/torque/
|
||||||
@ -122,6 +127,7 @@ This package holds just a few shared files and directories.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n torque-%{version}%{?snap:-snap.%snap}
|
%setup -q -n torque-%{version}%{?snap:-snap.%snap}
|
||||||
|
%patch0 -p1
|
||||||
%__install -pm 644 %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} .
|
%__install -pm 644 %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} .
|
||||||
|
|
||||||
|
|
||||||
@ -130,6 +136,7 @@ This package holds just a few shared files and directories.
|
|||||||
--includedir=%{_includedir}/torque \
|
--includedir=%{_includedir}/torque \
|
||||||
--with-server-home=%{torquehomedir} --with-pam=/%{_lib}/security \
|
--with-server-home=%{torquehomedir} --with-pam=/%{_lib}/security \
|
||||||
--with-sendmail=/usr/sbin/sendmail \
|
--with-sendmail=/usr/sbin/sendmail \
|
||||||
|
--enable-munge-auth \
|
||||||
%{server_nameflags} %{guiflags} %{tclflags} %{rcpflags}
|
%{server_nameflags} %{guiflags} %{tclflags} %{rcpflags}
|
||||||
|
|
||||||
%__cp -vf pbs-config-multilib pbs-config
|
%__cp -vf pbs-config-multilib pbs-config
|
||||||
@ -272,6 +279,7 @@ fi
|
|||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Summary: The main part of TORQUE
|
Summary: The main part of TORQUE
|
||||||
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
|
Requires: munge
|
||||||
Provides: pbs-server
|
Provides: pbs-server
|
||||||
%description server
|
%description server
|
||||||
%shared_description
|
%shared_description
|
||||||
@ -300,6 +308,7 @@ fi
|
|||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Summary: Node execution daemon for TORQUE
|
Summary: Node execution daemon for TORQUE
|
||||||
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
|
Requires: munge
|
||||||
Provides: pbs-mom
|
Provides: pbs-mom
|
||||||
%description mom
|
%description mom
|
||||||
%shared_description
|
%shared_description
|
||||||
@ -333,6 +342,7 @@ fi
|
|||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Summary: Client part of TORQUE
|
Summary: Client part of TORQUE
|
||||||
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
|
Requires: munge
|
||||||
Provides: pbs-client
|
Provides: pbs-client
|
||||||
%description client
|
%description client
|
||||||
%shared_description
|
%shared_description
|
||||||
@ -420,6 +430,7 @@ This package holds the graphical clients.
|
|||||||
Summary: Run-time libs for programs which will use the %{name} library
|
Summary: Run-time libs for programs which will use the %{name} library
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
|
Requires: munge
|
||||||
|
|
||||||
%description -n lib%{name}
|
%description -n lib%{name}
|
||||||
%shared_description
|
%shared_description
|
||||||
@ -468,6 +479,7 @@ A simple PAM module to authorize users on PBS MOM nodes with a running job.
|
|||||||
* Thu Jul 26 2011 Steve Traylen <steve.traylen@cern.ch> - 2.5.7-1
|
* Thu Jul 26 2011 Steve Traylen <steve.traylen@cern.ch> - 2.5.7-1
|
||||||
- Big update to 2.5.7-1, drop torque-buffer-overrun-2.3.13.patch,
|
- Big update to 2.5.7-1, drop torque-buffer-overrun-2.3.13.patch,
|
||||||
change license from OpenPBS to OpenPBS and TORQUEv1.1
|
change license from OpenPBS to OpenPBS and TORQUEv1.1
|
||||||
|
- Enabled or rather force munge support.
|
||||||
|
|
||||||
* Wed Jun 8 2011 Steve Traylen <steve.traylen@cern.ch> - 2.3.13-2
|
* Wed Jun 8 2011 Steve Traylen <steve.traylen@cern.ch> - 2.3.13-2
|
||||||
- Add torque-buffer-overrun.patch , rhbz#711463
|
- Add torque-buffer-overrun.patch , rhbz#711463
|
||||||
|
Loading…
Reference in New Issue
Block a user