[torque] Add torque-munge-size.patch, rhbz#713996

stevetraylen stevetraylen at fedoraproject.org
Fri Jun 17 17:49:01 UTC 2011


commit 5409298eac07b4112d8f2143c63614fbb79c816e
Author: Steve Traylen <steve.traylen at cern.ch>
Date:   Fri Jun 17 19:28:36 2011 +0200

    Add torque-munge-size.patch, rhbz#713996

 torque-munge-size.patch |   12 ++++++++++++
 torque.spec             |    9 ++++++++-
 2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/torque-munge-size.patch b/torque-munge-size.patch
new file mode 100644
index 0000000..1f0470f
--- /dev/null
+++ b/torque-munge-size.patch
@@ -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[]) */
diff --git a/torque.spec b/torque.spec
index b36fb2e..0d4bec7 100644
--- a/torque.spec
+++ b/torque.spec
@@ -71,7 +71,7 @@
 
 Name:        torque
 Version:     3.0.1
-Release:     2%{?dist}
+Release:     3%{?dist}
 Summary:     Tera-scale Open-source Resource and QUEue manager
 Source0:     http://www.clusterresources.com/downloads/%{name}/%{name}-%{version}.tar.gz
 Source2:     xpbs.desktop
@@ -89,6 +89,9 @@ Source8:     config
 # https://bugzilla.redhat.com/show_bug.cgi?id=711463
 Patch0:      torque-buffer-overrun.patch
 
+# https://bugzilla.redhat.com/show_bug.cgi?id=713996
+Patch1:      torque-munge-size.patch
+
 License:     OpenPBS and TORQUEv1.1
 Group:       System Environment/Daemons
 URL:         http://www.clusterresources.com/products/torque/
@@ -339,6 +342,7 @@ DRMAA is "Distributed Resource Management Application API"
 %prep
 %setup -q -n torque-%{version}
 %patch0 
+%patch1 -p 1
 install -pm 644 %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} \
    %{SOURCE6} %{SOURCE8} .
 # rm x bit on some documentation.
@@ -777,6 +781,9 @@ fi
 %endif
 
 %changelog
+* Fri Jun 17 2011 Steve Traylen <steve.traylen at cern.ch> - 3.0.1-3
+- Add torque-munge-size.patch, rhbz#713996, Alex Chernyakhovsky
+
 * Wed Jun 8 2011 Steve Traylen <steve.traylen at cern.ch> - 3.0.1-2
 - Add torque-buffer-overrun.patch patch, rhbz#711463
 


More information about the scm-commits mailing list