dmlb2000 pushed to torque (el5). "Add torque-munge-size.patch, rhbz#713996"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 8 06:03:25 UTC 2015


>From 5409298eac07b4112d8f2143c63614fbb79c816e Mon Sep 17 00:00:00 2001
From: Steve Traylen <steve.traylen at cern.ch>
Date: Fri, 17 Jun 2011 19:28:36 +0200
Subject: Add torque-munge-size.patch, rhbz#713996


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
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/torque.git/commit/?h=el5&id=5409298eac07b4112d8f2143c63614fbb79c816e


More information about the scm-commits mailing list