Hand branch EL5 into EL6.

This commit is contained in:
stevetraylen 2010-05-10 10:50:40 +00:00
parent 0e8053028a
commit a7e63a0384
3 changed files with 35 additions and 31 deletions

View File

@ -1 +1 @@
298e0ff61028efc74f050425aac79300 torque-2.1.10.tar.gz 30d3366432ad3506278f884ba797e2b2 torque-2.3.10.tar.gz

View File

@ -1,14 +0,0 @@
diff -pruN torque-2.1.10_orig/src/include/port_forwarding.h torque-2.1.10/src/include/port_forwarding.h
--- torque-2.1.10_orig/src/include/port_forwarding.h 2006-10-13 11:25:37.000000000 -0700
+++ torque-2.1.10/src/include/port_forwarding.h 2008-02-14 13:08:05.000000000 -0800
@@ -16,6 +16,10 @@
# endif
#endif /* X_UNIX_PATH */
+#ifndef NI_MAXSERV
+# define NI_MAXSERV 32
+#endif /* !NI_MAXSERV */
+
struct pfwdsock {
int sock;

View File

@ -1,9 +1,9 @@
# comment out snap if building a real release # comment out snap if building a real release
%define name torque %define name torque
%define version 2.1.10 %define version 2.3.10
#%%define snap 200604251602 #%%define snap 200604251602
%define release 8 %define release 1
# The following options are supported: # The following options are supported:
# --with server_name=hostname # --with server_name=hostname
@ -103,8 +103,6 @@ Requires(preun): /usr/sbin/alternatives
Conflicts: pbspro, openpbs, openpbs-oscar Conflicts: pbspro, openpbs, openpbs-oscar
Obsoletes: torque-localhost Obsoletes: torque-localhost
Patch0: torque-2.1.10-NI_MAXSERV.patch
%if %use_tcl %if %use_tcl
BuildRequires: tcl-devel BuildRequires: tcl-devel
%endif %endif
@ -124,13 +122,13 @@ 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} .
%build %build
%configure --includedir=%{_includedir}/torque \ %configure --disable-gcc-warnings \
--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 \
%{server_nameflags} %{guiflags} %{tclflags} %{rcpflags} %{server_nameflags} %{guiflags} %{tclflags} %{rcpflags}
@ -197,16 +195,16 @@ if %__grep -q "PBS services" /etc/services;then
: PBS services already installed : PBS services already installed
else else
cat<<-__EOF__>>/etc/services cat<<-__EOF__>>/etc/services
# Standard PBS services # Standard PBS services
pbs 15001/tcp # pbs server (pbs_server) pbs 15001/tcp # pbs server (pbs_server)
pbs 15001/udp # pbs server (pbs_server) pbs 15001/udp # pbs server (pbs_server)
pbs_mom 15002/tcp # mom to/from server pbs_mom 15002/tcp # mom to/from server
pbs_mom 15002/udp # mom to/from server pbs_mom 15002/udp # mom to/from server
pbs_resmom 15003/tcp # mom resource management requests pbs_resmom 15003/tcp # mom resource management requests
pbs_resmom 15003/udp # mom resource management requests pbs_resmom 15003/udp # mom resource management requests
pbs_sched 15004/tcp # scheduler pbs_sched 15004/tcp # scheduler
pbs_sched 15004/udp # scheduler pbs_sched 15004/udp # scheduler
__EOF__ __EOF__
fi fi
@ -254,6 +252,7 @@ This package holds the fifo C scheduler.
%files scheduler %files scheduler
%defattr(-, root, root) %defattr(-, root, root)
%attr(0755, root, root) %{_sbindir}/pbs_sched %attr(0755, root, root) %{_sbindir}/pbs_sched
%attr(0755, root, root) %{_sbindir}/qschedd
%{_initrddir}/pbs_sched %{_initrddir}/pbs_sched
%dir %{torquehomedir}/sched_priv %dir %{torquehomedir}/sched_priv
%config(noreplace) %{torquehomedir}/sched_priv/* %config(noreplace) %{torquehomedir}/sched_priv/*
@ -281,6 +280,7 @@ This package holds the server.
%files server %files server
%defattr(-, root, root) %defattr(-, root, root)
%attr(0755, root, root) %{_sbindir}/pbs_server %attr(0755, root, root) %{_sbindir}/pbs_server
%attr(0755, root, root) %{_sbindir}/qserverd
%attr(0755, root, root) %{_sbindir}/momctl %attr(0755, root, root) %{_sbindir}/momctl
%{_initrddir}/pbs_server %{_initrddir}/pbs_server
%{torquehomedir}/server_logs %{torquehomedir}/server_logs
@ -308,6 +308,8 @@ This package holds the execute daemon required on every node.
%files mom %files mom
%defattr(-, root, root) %defattr(-, root, root)
%attr(0755, root, root) %{_sbindir}/pbs_mom %attr(0755, root, root) %{_sbindir}/pbs_mom
%attr(0755, root, root) %{_sbindir}/qnoded
%attr(0755, root, root) %{_bindir}/pbs_track
%{_initrddir}/pbs_mom %{_initrddir}/pbs_mom
%if %{use_rcp} %if %{use_rcp}
%attr(4755 root root) %{_sbindir}/pbs_rcp %attr(4755 root root) %{_sbindir}/pbs_rcp
@ -374,6 +376,7 @@ fi
%{_bindir}/pbsnodes %{_bindir}/pbsnodes
%{_bindir}/printjob %{_bindir}/printjob
%{_bindir}/printtracking %{_bindir}/printtracking
%{_bindir}/printserverdb
%{_bindir}/tracejob %{_bindir}/tracejob
%attr(4755 root root) %{_sbindir}/pbs_iff %attr(4755 root root) %{_sbindir}/pbs_iff
%{_sbindir}/pbs_demux %{_sbindir}/pbs_demux
@ -462,6 +465,21 @@ A simple PAM module to authorize users on PBS MOM nodes with a running job.
%changelog %changelog
* Fri Feb 12 2010 Steve Traylen <steve.traylen@cern.ch> - 2.3.10-1
- New upstream 2.3.10
* Tue Jan 19 2010 Steve Traylen <steve.traylen@cern.ch> - 2.3.9-1
- New upstream 2.3.9
* Thu Dec 3 2009 Steve Traylen <steve.traylen@cern.ch> - 2.3.8-1
- Updated to upstream 2.3.8
- First EPEL build.
- Add new commands to package.
/usr/bin/pbs_track
/usr/bin/printserverdb
/usr/sbin/qnoded
/usr/sbin/qschedd
/usr/sbin/qserverd
- Remove torque-2.1.10-NI_MAXSERV.patch as not needed any more.
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.10-8 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.10-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild