- Timestamp:
- 07/03/12 11:42:05 (12 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/changelog
r53 r55 1 torque (4.1.0-1) unstable; urgency=low 2 3 * New torque release to test 4 5 -- Bas van der Vlies <basv@sara.nl> Tue, 03 Jul 2012 09:06:02 +0200 6 1 7 torque (2.4.16-2) unstable; urgency=low 2 8 -
trunk/conf_torque
r50 r55 9 9 set -x 10 10 11 12 if [ -f torque_oldconfigure ] 13 then 14 LIBS="-lutil" ./configure --prefix=/usr \ 15 --libdir=/usr/lib/torque \ 16 --includedir=/usr/include/torque \ 17 --set-server-home=/var/spool/torque \ 18 --set-tmpdir=/var/tmp \ 19 --enable-syslog \ 20 --set-sched=c \ 21 --set-sched-code=fifo \ 22 --set-default-server=localhost \ 23 --disable-gui \ 24 --set-cflags=" -g -D__PNEWTTY" \ 25 --enable-docs \ 26 --with-scp 27 else 28 CFLAGS=" -D_FILE_OFFSET_BITS=64" ./configure --prefix=/usr \ 11 CFLAGS=" -D_FILE_OFFSET_BITS=64" ./configure --prefix=/usr \ 29 12 --includedir=/usr/include/torque \ 30 13 --with-server-home=/var/spool/torque \ … … 41 24 --enable-docs \ 42 25 --with-rcp=scp 43 fi44 45 #--libdir=/usr/lib \ -
trunk/init.d
r45 r55 32 32 PBS_SCHED_OPTS='' 33 33 PBS_SERVER_OPTS='-a t' 34 PBS_TRQAUTH_OPTS="" 34 35 35 36 if [ ! -f $DEFAULT ] … … 56 57 } 57 58 59 start_trqauth() { 60 start-stop-daemon --start --quiet --exec $TORQUE_DIR/trqauthd -- $PBS_TRQAUTH_OPTS 61 echo " pbs trqauth" 62 } 63 58 64 start_daemons() { 59 check_perms 60 61 if [ "$PBS_SERVER" = "1" ] 62 then 63 start_server 64 fi 65 66 if [ "$PBS_SCHED" = "1" ] 67 then 68 start_sched 69 fi 70 71 if [ "$PBS_MOM" = "1" ] 72 then 73 start_mom 74 fi 65 check_perms 66 67 ## Always start trqauth daemon 68 # 69 start_trqauth 70 71 if [ "$PBS_SERVER" = "1" ] 72 then 73 start_server 74 fi 75 76 if [ "$PBS_SCHED" = "1" ] 77 then 78 start_sched 79 fi 80 81 if [ "$PBS_MOM" = "1" ] 82 then 83 start_mom 84 fi 75 85 } 76 86 … … 94 104 } 95 105 106 stop_trqauth() { 107 start-stop-daemon --retry 5 --stop --quiet --exec $TORQUE_DIR/trqauthd 108 echo " pbs trqauth" 109 } 110 96 111 stop_daemons() { 97 112 if [ "$PBS_SERVER" = "1" ] … … 110 125 fi 111 126 } 112 113 127 114 128 ## Check permissions and directories … … 171 185 ;; 172 186 187 restart-server) 188 echo "Restarting pbs trqauthr: " 189 stop_trqauth 190 sleep 1 191 start_trqauth 192 ;; 193 173 194 *) 174 echo "Usage: $0 {restart|start|stop|restart-mom|restart-server|restart-sched }\n" >&2195 echo "Usage: $0 {restart|start|stop|restart-mom|restart-server|restart-sched|restart-trqauth}\n" >&2 175 196 exit 1 176 197 ;; -
trunk/patches/apply
r41 r55 13 13 #cp debian/patches/pbs_mkdirs.in buildutils 14 14 15 r=`grep -c 2.1.0 CHANGELOG` 16 case `uname -r` in 17 2.6*) 18 if [ $r -eq 0 ] 19 then 20 touch torque_oldconfigure 21 else 22 touch torque_newconfigure 23 fi 24 ;; 25 esac 15 ## We do not need this anymore 16 # 17 #r=`grep -c 2.1.0 CHANGELOG` 18 #case `uname -r` in 19 # 2.6*) 20 # if [ $r -eq 0 ] 21 # then 22 # touch torque_oldconfigure 23 # else 24 # touch torque_newconfigure 25 # fi 26 # ;; 27 #esac 26 28 27 29 # Always do this patch -
trunk/rules
r50 r55 23 23 24 24 # apply some patches 25 debian/patches/apply25 #debian/patches/apply 26 26 27 27 touch patched … … 77 77 dh_installdebconf 78 78 dh_compress 79 dh_fixperms -Xpbs_iff79 dh_fixperms 80 80 dh_installdeb 81 81 dh_makeshlibs … … 96 96 # directories. Thanks to Jaap Dijkshoorn 97 97 # 98 cp buildutils/pbs_mkdirs debian/torque/usr/sbin98 #cp buildutils/pbs_mkdirs debian/torque/usr/sbin 99 99 100 100 # Not in the standard install ;-) 101 101 # 102 cp src/include/rm.h debian/torque/usr/include/torque 103 cp src/include/log.h debian/torque/usr/include/torque 104 105 # 106 # pbs_iff permissions must suid root 107 # 108 chown root.root debian/torque/usr/sbin/pbs_iff 109 chmod 4755 debian/torque/usr/sbin/pbs_iff 102 #cp src/include/rm.h debian/torque/usr/include/torque 103 #cp src/include/log.h debian/torque/usr/include/torque 110 104 111 105 dh_builddeb
Note: See TracChangeset
for help on using the changeset viewer.