summaryrefslogtreecommitdiff
path: root/parallel
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2012-03-20 14:52:15 +0000
committerasau <asau@pkgsrc.org>2012-03-20 14:52:15 +0000
commit625913240f898a3f7d43c9d368112316c67ee104 (patch)
tree8db1f16c83894efb0cae8f8afbdb21ae50a8f2d8 /parallel
parent032646b85aa8e5e81886cafcc8506d14e7169195 (diff)
downloadpkgsrc-625913240f898a3f7d43c9d368112316c67ee104.tar.gz
Import SLURM 2.4.0pre4 as parallel/slurm
SLURM is an open-source resource manager designed for Linux clusters of all sizes. It provides three key functions. First it allocates exclusive and/or non-exclusive access to resources (computer nodes) to users for some duration of time so they can perform work. Second, it provides a framework for starting, executing, and monitoring work (typically a parallel job) on a set of allocated nodes. Finally, it arbitrates contention for resources by managing a queue of pending work.
Diffstat (limited to 'parallel')
-rw-r--r--parallel/slurm/DESCR8
-rw-r--r--parallel/slurm/Makefile45
-rw-r--r--parallel/slurm/PLIST358
-rw-r--r--parallel/slurm/distinfo13
-rw-r--r--parallel/slurm/patches/patch-doc_html_Makefile.am11
-rw-r--r--parallel/slurm/patches/patch-doc_html_Makefile.in13
-rw-r--r--parallel/slurm/patches/patch-doc_man_man1_Makefile.am10
-rw-r--r--parallel/slurm/patches/patch-doc_man_man1_Makefile.in13
-rw-r--r--parallel/slurm/patches/patch-doc_man_man5_Makefile.am10
-rw-r--r--parallel/slurm/patches/patch-doc_man_man5_Makefile.in13
-rw-r--r--parallel/slurm/patches/patch-doc_man_man8_Makefile.am10
-rw-r--r--parallel/slurm/patches/patch-doc_man_man8_Makefile.in13
12 files changed, 517 insertions, 0 deletions
diff --git a/parallel/slurm/DESCR b/parallel/slurm/DESCR
new file mode 100644
index 00000000000..c8991363336
--- /dev/null
+++ b/parallel/slurm/DESCR
@@ -0,0 +1,8 @@
+SLURM is an open-source resource manager designed for Linux
+clusters of all sizes. It provides three key functions. First it
+allocates exclusive and/or non-exclusive access to resources
+(computer nodes) to users for some duration of time so they can
+perform work. Second, it provides a framework for starting,
+executing, and monitoring work (typically a parallel job) on a
+set of allocated nodes. Finally, it arbitrates contention for
+resources by managing a queue of pending work.
diff --git a/parallel/slurm/Makefile b/parallel/slurm/Makefile
new file mode 100644
index 00000000000..0b20886560c
--- /dev/null
+++ b/parallel/slurm/Makefile
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/03/20 14:52:15 asau Exp $
+
+DISTNAME= slurm-2.4.0-0.pre4
+PKGNAME= slurm-2.4.0pre4
+CATEGORIES= parallel
+MASTER_SITES= http://www.schedmd.com/download/development/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= asau@inbox.ru
+HOMEPAGE= http://www.schedmd.com/
+COMMENT= Simple Linux Utility for Resource Management
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= c c++
+
+GNU_CONFIGURE= yes
+USE_TOOLS= perl pkg-config
+USE_LIBTOOL= yes
+
+# Fix installation:
+CONFIGURE_ARGS+= --htmldir=$(PREFIX)/share/doc/$(PKGNAME_NOREV)/html
+
+REPLACE_PYTHON= doc/html/shtml2html.py
+
+PKG_GROUPS= slurm
+PKG_USERS= slurm:slurm
+
+PKG_GECOS.slurm= SLURM user
+PKG_SHELL.slurm= $(NOLOGIN)
+
+post-install:
+ $(INSTALL_DATA_DIR) $(DESTDIR)$(PREFIX)/share/examples/$(PKGBASE)
+ $(INSTALL_DATA) $(WRKSRC)/etc/* $(DESTDIR)$(PREFIX)/share/examples/$(PKGBASE)/
+
+.include "../../lang/python/tool.mk"
+
+CONFIGURE_ARGS+= --with-munge=$(BUILDLINK_PREFIX.munge:Q)
+.include "../../security/munge/buildlink3.mk" # optional
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../mk/curses.buildlink3.mk"
+.include "../../mk/pam.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/parallel/slurm/PLIST b/parallel/slurm/PLIST
new file mode 100644
index 00000000000..c0d6ffa7723
--- /dev/null
+++ b/parallel/slurm/PLIST
@@ -0,0 +1,358 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/03/20 14:52:15 asau Exp $
+bin/sacct
+bin/sacctmgr
+bin/salloc
+bin/sattach
+bin/sbatch
+bin/sbcast
+bin/scancel
+bin/scontrol
+bin/sdiag
+bin/sinfo
+bin/smap
+bin/sprio
+bin/squeue
+bin/sreport
+bin/srun
+bin/sshare
+bin/sstat
+bin/strigger
+include/slurm/pmi.h
+include/slurm/slurm.h
+include/slurm/slurm_errno.h
+include/slurm/slurmdb.h
+include/slurm/spank.h
+lib/libpmi.la
+lib/libslurm.la
+lib/libslurmdb.la
+lib/slurm/accounting_storage_filetxt.la
+lib/slurm/accounting_storage_none.la
+lib/slurm/accounting_storage_slurmdbd.la
+lib/slurm/auth_munge.la
+lib/slurm/auth_none.la
+lib/slurm/checkpoint_none.la
+lib/slurm/checkpoint_ompi.la
+lib/slurm/crypto_munge.la
+lib/slurm/crypto_openssl.la
+lib/slurm/gres_gpu.la
+lib/slurm/gres_nic.la
+lib/slurm/job_submit_cnode.la
+lib/slurm/job_submit_defaults.la
+lib/slurm/job_submit_logging.la
+lib/slurm/job_submit_partition.la
+lib/slurm/jobacct_gather_aix.la
+lib/slurm/jobacct_gather_linux.la
+lib/slurm/jobacct_gather_none.la
+lib/slurm/jobcomp_filetxt.la
+lib/slurm/jobcomp_none.la
+lib/slurm/jobcomp_script.la
+lib/slurm/mpi_lam.la
+lib/slurm/mpi_mpich1_p4.la
+lib/slurm/mpi_mpich1_shmem.la
+lib/slurm/mpi_mpichgm.la
+lib/slurm/mpi_mpichmx.la
+lib/slurm/mpi_mvapich.la
+lib/slurm/mpi_none.la
+lib/slurm/mpi_openmpi.la
+lib/slurm/preempt_none.la
+lib/slurm/preempt_partition_prio.la
+lib/slurm/preempt_qos.la
+lib/slurm/priority_basic.la
+lib/slurm/priority_multifactor.la
+lib/slurm/proctrack_cgroup.la
+lib/slurm/proctrack_linuxproc.la
+lib/slurm/proctrack_pgid.la
+lib/slurm/sched_backfill.la
+lib/slurm/sched_builtin.la
+lib/slurm/sched_hold.la
+lib/slurm/sched_wiki.la
+lib/slurm/sched_wiki2.la
+lib/slurm/select_cons_res.la
+lib/slurm/select_cray.la
+lib/slurm/select_linear.la
+lib/slurm/src/sattach/sattach.wrapper.c
+lib/slurm/src/srun/srun.wrapper.c
+lib/slurm/switch_none.la
+lib/slurm/task_cgroup.la
+lib/slurm/task_none.la
+lib/slurm/topology_3d_torus.la
+lib/slurm/topology_node_rank.la
+lib/slurm/topology_none.la
+lib/slurm/topology_tree.la
+man/man1/sacct.1
+man/man1/sacctmgr.1
+man/man1/salloc.1
+man/man1/sattach.1
+man/man1/sbatch.1
+man/man1/sbcast.1
+man/man1/scancel.1
+man/man1/scontrol.1
+man/man1/sdiag.1
+man/man1/sinfo.1
+man/man1/slurm.1
+man/man1/smap.1
+man/man1/sprio.1
+man/man1/squeue.1
+man/man1/sreport.1
+man/man1/srun.1
+man/man1/srun_cr.1
+man/man1/sshare.1
+man/man1/sstat.1
+man/man1/strigger.1
+man/man1/sview.1
+man/man3/slurm_allocate_resources.3
+man/man3/slurm_allocate_resources_blocking.3
+man/man3/slurm_allocation_lookup.3
+man/man3/slurm_allocation_lookup_lite.3
+man/man3/slurm_allocation_msg_thr_create.3
+man/man3/slurm_allocation_msg_thr_destroy.3
+man/man3/slurm_api_version.3
+man/man3/slurm_checkpoint.3
+man/man3/slurm_checkpoint_able.3
+man/man3/slurm_checkpoint_complete.3
+man/man3/slurm_checkpoint_create.3
+man/man3/slurm_checkpoint_disable.3
+man/man3/slurm_checkpoint_enable.3
+man/man3/slurm_checkpoint_error.3
+man/man3/slurm_checkpoint_failed.3
+man/man3/slurm_checkpoint_restart.3
+man/man3/slurm_checkpoint_task_complete.3
+man/man3/slurm_checkpoint_tasks.3
+man/man3/slurm_checkpoint_vacate.3
+man/man3/slurm_clear_trigger.3
+man/man3/slurm_complete_job.3
+man/man3/slurm_confirm_allocation.3
+man/man3/slurm_create_partition.3
+man/man3/slurm_create_reservation.3
+man/man3/slurm_delete_partition.3
+man/man3/slurm_delete_reservation.3
+man/man3/slurm_free_ctl_conf.3
+man/man3/slurm_free_front_end_info_msg.3
+man/man3/slurm_free_job_alloc_info_response_msg.3
+man/man3/slurm_free_job_info_msg.3
+man/man3/slurm_free_job_step_create_response_msg.3
+man/man3/slurm_free_job_step_info_response_msg.3
+man/man3/slurm_free_node_info.3
+man/man3/slurm_free_node_info_msg.3
+man/man3/slurm_free_partition_info.3
+man/man3/slurm_free_partition_info_msg.3
+man/man3/slurm_free_reservation_info_msg.3
+man/man3/slurm_free_resource_allocation_response_msg.3
+man/man3/slurm_free_slurmd_status.3
+man/man3/slurm_free_submit_response_response_msg.3
+man/man3/slurm_free_trigger_msg.3
+man/man3/slurm_get_end_time.3
+man/man3/slurm_get_errno.3
+man/man3/slurm_get_job_steps.3
+man/man3/slurm_get_rem_time.3
+man/man3/slurm_get_select_jobinfo.3
+man/man3/slurm_get_triggers.3
+man/man3/slurm_hostlist_create.3
+man/man3/slurm_hostlist_destroy.3
+man/man3/slurm_hostlist_shift.3
+man/man3/slurm_init_job_desc_msg.3
+man/man3/slurm_init_part_desc_msg.3
+man/man3/slurm_init_resv_desc_msg.3
+man/man3/slurm_init_update_front_end_msg.3
+man/man3/slurm_init_update_node_msg.3
+man/man3/slurm_init_update_step_msg.3
+man/man3/slurm_job_cpus_allocated_on_node.3
+man/man3/slurm_job_cpus_allocated_on_node_id.3
+man/man3/slurm_job_step_create.3
+man/man3/slurm_job_step_launch_t_init.3
+man/man3/slurm_job_step_layout_free.3
+man/man3/slurm_job_step_layout_get.3
+man/man3/slurm_job_will_run.3
+man/man3/slurm_jobinfo_ctx_get.3
+man/man3/slurm_kill_job.3
+man/man3/slurm_kill_job_step.3
+man/man3/slurm_load_ctl_conf.3
+man/man3/slurm_load_front_end.3
+man/man3/slurm_load_job.3
+man/man3/slurm_load_jobs.3
+man/man3/slurm_load_node.3
+man/man3/slurm_load_partitions.3
+man/man3/slurm_load_reservations.3
+man/man3/slurm_load_slurmd_status.3
+man/man3/slurm_notify_job.3
+man/man3/slurm_perror.3
+man/man3/slurm_pid2jobid.3
+man/man3/slurm_ping.3
+man/man3/slurm_print_ctl_conf.3
+man/man3/slurm_print_front_end_info_msg.3
+man/man3/slurm_print_front_end_table.3
+man/man3/slurm_print_job_info.3
+man/man3/slurm_print_job_info_msg.3
+man/man3/slurm_print_job_step_info.3
+man/man3/slurm_print_job_step_info_msg.3
+man/man3/slurm_print_node_info_msg.3
+man/man3/slurm_print_node_table.3
+man/man3/slurm_print_partition_info.3
+man/man3/slurm_print_partition_info_msg.3
+man/man3/slurm_print_reservation_info.3
+man/man3/slurm_print_reservation_info_msg.3
+man/man3/slurm_print_slurmd_status.3
+man/man3/slurm_read_hostfile.3
+man/man3/slurm_reconfigure.3
+man/man3/slurm_requeue.3
+man/man3/slurm_resume.3
+man/man3/slurm_set_debug_level.3
+man/man3/slurm_set_trigger.3
+man/man3/slurm_shutdown.3
+man/man3/slurm_signal_job.3
+man/man3/slurm_signal_job_step.3
+man/man3/slurm_slurmd_status.3
+man/man3/slurm_sprint_front_end_table.3
+man/man3/slurm_sprint_job_info.3
+man/man3/slurm_sprint_job_step_info.3
+man/man3/slurm_sprint_node_table.3
+man/man3/slurm_sprint_partition_info.3
+man/man3/slurm_sprint_reservation_info.3
+man/man3/slurm_step_ctx_create.3
+man/man3/slurm_step_ctx_create_no_alloc.3
+man/man3/slurm_step_ctx_daemon_per_node_hack.3
+man/man3/slurm_step_ctx_destroy.3
+man/man3/slurm_step_ctx_get.3
+man/man3/slurm_step_ctx_params_t_init.3
+man/man3/slurm_step_launch.3
+man/man3/slurm_step_launch_abort.3
+man/man3/slurm_step_launch_fwd_signal.3
+man/man3/slurm_step_launch_wait_finish.3
+man/man3/slurm_step_launch_wait_start.3
+man/man3/slurm_strerror.3
+man/man3/slurm_submit_batch_job.3
+man/man3/slurm_suspend.3
+man/man3/slurm_takeover.3
+man/man3/slurm_terminate_job.3
+man/man3/slurm_terminate_job_step.3
+man/man3/slurm_update_front_end.3
+man/man3/slurm_update_job.3
+man/man3/slurm_update_node.3
+man/man3/slurm_update_partition.3
+man/man3/slurm_update_reservation.3
+man/man3/slurm_update_step.3
+man/man5/bluegene.conf.5
+man/man5/cgroup.conf.5
+man/man5/cray.conf.5
+man/man5/gres.conf.5
+man/man5/slurm.conf.5
+man/man5/slurmdbd.conf.5
+man/man5/topology.conf.5
+man/man5/wiki.conf.5
+man/man8/slurmctld.8
+man/man8/slurmd.8
+man/man8/slurmdbd.8
+man/man8/slurmstepd.8
+man/man8/spank.8
+sbin/slurmctld
+sbin/slurmd
+sbin/slurmdbd
+sbin/slurmstepd
+share/doc/${PKGNAME}/html/accounting.html
+share/doc/${PKGNAME}/html/accounting_storageplugins.html
+share/doc/${PKGNAME}/html/allocation_pies.gif
+share/doc/${PKGNAME}/html/api.html
+share/doc/${PKGNAME}/html/arch.gif
+share/doc/${PKGNAME}/html/authplugins.html
+share/doc/${PKGNAME}/html/big_sys.html
+share/doc/${PKGNAME}/html/bluegene.html
+share/doc/${PKGNAME}/html/bull.jpg
+share/doc/${PKGNAME}/html/checkpoint_blcr.html
+share/doc/${PKGNAME}/html/checkpoint_plugins.html
+share/doc/${PKGNAME}/html/coding_style.pdf
+share/doc/${PKGNAME}/html/configurator.easy.html
+share/doc/${PKGNAME}/html/configurator.html
+share/doc/${PKGNAME}/html/cons_res.html
+share/doc/${PKGNAME}/html/cons_res_share.html
+share/doc/${PKGNAME}/html/cpu_management.html
+share/doc/${PKGNAME}/html/cray.html
+share/doc/${PKGNAME}/html/crypto_plugins.html
+share/doc/${PKGNAME}/html/disclaimer.html
+share/doc/${PKGNAME}/html/dist_plane.html
+share/doc/${PKGNAME}/html/documentation.html
+share/doc/${PKGNAME}/html/download.html
+share/doc/${PKGNAME}/html/elastic_computing.html
+share/doc/${PKGNAME}/html/entities.gif
+share/doc/${PKGNAME}/html/example_usage.gif
+share/doc/${PKGNAME}/html/faq.html
+share/doc/${PKGNAME}/html/gang_scheduling.html
+share/doc/${PKGNAME}/html/gres.html
+share/doc/${PKGNAME}/html/gres_design.html
+share/doc/${PKGNAME}/html/gres_plugins.html
+share/doc/${PKGNAME}/html/help.html
+share/doc/${PKGNAME}/html/high_throughput.html
+share/doc/${PKGNAME}/html/ibm.html
+share/doc/${PKGNAME}/html/job_exit_code.html
+share/doc/${PKGNAME}/html/job_launch.html
+share/doc/${PKGNAME}/html/job_submit_plugins.html
+share/doc/${PKGNAME}/html/jobacct_gatherplugins.html
+share/doc/${PKGNAME}/html/jobcompplugins.html
+share/doc/${PKGNAME}/html/linuxstyles.css
+share/doc/${PKGNAME}/html/lll.gif
+share/doc/${PKGNAME}/html/mail.html
+share/doc/${PKGNAME}/html/man_index.html
+share/doc/${PKGNAME}/html/maui.html
+share/doc/${PKGNAME}/html/mc_support.gif
+share/doc/${PKGNAME}/html/mc_support.html
+share/doc/${PKGNAME}/html/meetings.html
+share/doc/${PKGNAME}/html/moab.html
+share/doc/${PKGNAME}/html/mpi_guide.html
+share/doc/${PKGNAME}/html/mpiplugins.html
+share/doc/${PKGNAME}/html/multi_cluster.html
+share/doc/${PKGNAME}/html/news.html
+share/doc/${PKGNAME}/html/overview.html
+share/doc/${PKGNAME}/html/plane_ex1.gif
+share/doc/${PKGNAME}/html/plane_ex2.gif
+share/doc/${PKGNAME}/html/plane_ex3.gif
+share/doc/${PKGNAME}/html/plane_ex4.gif
+share/doc/${PKGNAME}/html/plane_ex5.gif
+share/doc/${PKGNAME}/html/plane_ex6.gif
+share/doc/${PKGNAME}/html/plane_ex7.gif
+share/doc/${PKGNAME}/html/platforms.html
+share/doc/${PKGNAME}/html/plugins.html
+share/doc/${PKGNAME}/html/power_save.html
+share/doc/${PKGNAME}/html/preempt.html
+share/doc/${PKGNAME}/html/preemption_plugins.html
+share/doc/${PKGNAME}/html/priority_multifactor.html
+share/doc/${PKGNAME}/html/priority_plugins.html
+share/doc/${PKGNAME}/html/proctrack_plugins.html
+share/doc/${PKGNAME}/html/programmer_guide.html
+share/doc/${PKGNAME}/html/publications.html
+share/doc/${PKGNAME}/html/qos.html
+share/doc/${PKGNAME}/html/quickstart.html
+share/doc/${PKGNAME}/html/quickstart_admin.html
+share/doc/${PKGNAME}/html/reservations.html
+share/doc/${PKGNAME}/html/resource_limits.html
+share/doc/${PKGNAME}/html/schedplugins.html
+share/doc/${PKGNAME}/html/select_design.html
+share/doc/${PKGNAME}/html/selectplugins.html
+share/doc/${PKGNAME}/html/slurm.html
+share/doc/${PKGNAME}/html/slurm_banner.gif
+share/doc/${PKGNAME}/html/slurm_design.pdf
+share/doc/${PKGNAME}/html/slurm_ug_agenda.html
+share/doc/${PKGNAME}/html/slurm_ug_cfp.html
+share/doc/${PKGNAME}/html/slurm_ug_registration.html
+share/doc/${PKGNAME}/html/slurmstyles.css
+share/doc/${PKGNAME}/html/sponsors.gif
+share/doc/${PKGNAME}/html/sun_const.html
+share/doc/${PKGNAME}/html/switchplugins.html
+share/doc/${PKGNAME}/html/taskplugins.html
+share/doc/${PKGNAME}/html/team.html
+share/doc/${PKGNAME}/html/testimonials.html
+share/doc/${PKGNAME}/html/topo_ex1.gif
+share/doc/${PKGNAME}/html/topo_ex2.gif
+share/doc/${PKGNAME}/html/topology.html
+share/doc/${PKGNAME}/html/topology_plugin.html
+share/doc/${PKGNAME}/html/troubleshoot.html
+share/doc/${PKGNAME}/html/usage_pies.gif
+share/examples/slurm/bluegene.conf.example
+share/examples/slurm/cgroup.conf.example
+share/examples/slurm/cgroup.release_common.example
+share/examples/slurm/cgroup_allowed_devices_file.conf.example
+share/examples/slurm/federation.conf.example
+share/examples/slurm/init.d.slurm
+share/examples/slurm/init.d.slurmdbd
+share/examples/slurm/slurm.conf.example
+share/examples/slurm/slurm.epilog.clean
+share/examples/slurm/slurmdbd.conf.example
+@pkgdir libexec/slurm
diff --git a/parallel/slurm/distinfo b/parallel/slurm/distinfo
new file mode 100644
index 00000000000..23899f647cd
--- /dev/null
+++ b/parallel/slurm/distinfo
@@ -0,0 +1,13 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/03/20 14:52:15 asau Exp $
+
+SHA1 (slurm-2.4.0-0.pre4.tar.bz2) = 869169e1eb2ed5cc2736804cc0e6a43120eed3f5
+RMD160 (slurm-2.4.0-0.pre4.tar.bz2) = cbc7bb456389032c8424dde628addf8b5a91ae0d
+Size (slurm-2.4.0-0.pre4.tar.bz2) = 5146463 bytes
+SHA1 (patch-doc_html_Makefile.am) = 92a1942ed7c532fee6597f4d8a3adf81352f6d98
+SHA1 (patch-doc_html_Makefile.in) = 65f05532ae7701c8d33fd46b7c5f853c9bd6a1b0
+SHA1 (patch-doc_man_man1_Makefile.am) = c21d927d0d4949d1b82c57e865ee7a79ed8b99ed
+SHA1 (patch-doc_man_man1_Makefile.in) = 9c568214983defe06627c701e96267f568597d50
+SHA1 (patch-doc_man_man5_Makefile.am) = b8473964ad03e95c8416fe623e198f50dd557a08
+SHA1 (patch-doc_man_man5_Makefile.in) = c1ea74633a8c59eaa6aaca3041c48770d7705432
+SHA1 (patch-doc_man_man8_Makefile.am) = 46fb6837dc31e6f7ca926ffff1ddda1bdefeb83a
+SHA1 (patch-doc_man_man8_Makefile.in) = e7c66557680c550f1d87147dad4107ad00c4c713
diff --git a/parallel/slurm/patches/patch-doc_html_Makefile.am b/parallel/slurm/patches/patch-doc_html_Makefile.am
new file mode 100644
index 00000000000..bd7b06853dc
--- /dev/null
+++ b/parallel/slurm/patches/patch-doc_html_Makefile.am
@@ -0,0 +1,11 @@
+$NetBSD: patch-doc_html_Makefile.am,v 1.1.1.1 2012/03/20 14:52:15 asau Exp $
+
+--- doc/html/Makefile.am.orig 2012-03-16 22:14:30.000000000 +0000
++++ doc/html/Makefile.am
+@@ -1,6 +1,3 @@
+-
+-htmldir = ${prefix}/share/doc/@PACKAGE@-@VERSION@/html
+-
+ generated_html = \
+ accounting.html \
+ accounting_storageplugins.html \
diff --git a/parallel/slurm/patches/patch-doc_html_Makefile.in b/parallel/slurm/patches/patch-doc_html_Makefile.in
new file mode 100644
index 00000000000..e844bff255f
--- /dev/null
+++ b/parallel/slurm/patches/patch-doc_html_Makefile.in
@@ -0,0 +1,13 @@
+$NetBSD: patch-doc_html_Makefile.in,v 1.1.1.1 2012/03/20 14:52:15 asau Exp $
+
+--- doc/html/Makefile.in.orig 2012-03-16 22:14:30.000000000 +0000
++++ doc/html/Makefile.in
+@@ -282,7 +282,7 @@ host_alias = @host_alias@
+ host_cpu = @host_cpu@
+ host_os = @host_os@
+ host_vendor = @host_vendor@
+-htmldir = ${prefix}/share/doc/@PACKAGE@-@VERSION@/html
++htmldir = @htmldir@
+ includedir = @includedir@
+ infodir = @infodir@
+ install_sh = @install_sh@
diff --git a/parallel/slurm/patches/patch-doc_man_man1_Makefile.am b/parallel/slurm/patches/patch-doc_man_man1_Makefile.am
new file mode 100644
index 00000000000..edd368c0351
--- /dev/null
+++ b/parallel/slurm/patches/patch-doc_man_man1_Makefile.am
@@ -0,0 +1,10 @@
+$NetBSD: patch-doc_man_man1_Makefile.am,v 1.1.1.1 2012/03/20 14:52:15 asau Exp $
+
+--- doc/man/man1/Makefile.am.orig 2012-03-16 22:14:30.000000000 +0000
++++ doc/man/man1/Makefile.am
+@@ -1,5 +1,3 @@
+-htmldir = ${prefix}/share/doc/@PACKAGE@-@VERSION@/html
+-
+ man1_MANS = \
+ sacct.1 \
+ sacctmgr.1 \
diff --git a/parallel/slurm/patches/patch-doc_man_man1_Makefile.in b/parallel/slurm/patches/patch-doc_man_man1_Makefile.in
new file mode 100644
index 00000000000..7d03ad960b2
--- /dev/null
+++ b/parallel/slurm/patches/patch-doc_man_man1_Makefile.in
@@ -0,0 +1,13 @@
+$NetBSD: patch-doc_man_man1_Makefile.in,v 1.1.1.1 2012/03/20 14:52:15 asau Exp $
+
+--- doc/man/man1/Makefile.in.orig 2012-03-16 22:14:30.000000000 +0000
++++ doc/man/man1/Makefile.in
+@@ -284,7 +284,7 @@ host_alias = @host_alias@
+ host_cpu = @host_cpu@
+ host_os = @host_os@
+ host_vendor = @host_vendor@
+-htmldir = ${prefix}/share/doc/@PACKAGE@-@VERSION@/html
++htmldir = @htmldir@
+ includedir = @includedir@
+ infodir = @infodir@
+ install_sh = @install_sh@
diff --git a/parallel/slurm/patches/patch-doc_man_man5_Makefile.am b/parallel/slurm/patches/patch-doc_man_man5_Makefile.am
new file mode 100644
index 00000000000..b6a4256accd
--- /dev/null
+++ b/parallel/slurm/patches/patch-doc_man_man5_Makefile.am
@@ -0,0 +1,10 @@
+$NetBSD: patch-doc_man_man5_Makefile.am,v 1.1.1.1 2012/03/20 14:52:15 asau Exp $
+
+--- doc/man/man5/Makefile.am.orig 2012-03-16 22:14:30.000000000 +0000
++++ doc/man/man5/Makefile.am
+@@ -1,5 +1,3 @@
+-htmldir = ${prefix}/share/doc/@PACKAGE@-@VERSION@/html
+-
+ man5_MANS = bluegene.conf.5 \
+ cgroup.conf.5 \
+ cray.conf.5 \
diff --git a/parallel/slurm/patches/patch-doc_man_man5_Makefile.in b/parallel/slurm/patches/patch-doc_man_man5_Makefile.in
new file mode 100644
index 00000000000..fc40b1b9956
--- /dev/null
+++ b/parallel/slurm/patches/patch-doc_man_man5_Makefile.in
@@ -0,0 +1,13 @@
+$NetBSD: patch-doc_man_man5_Makefile.in,v 1.1.1.1 2012/03/20 14:52:15 asau Exp $
+
+--- doc/man/man5/Makefile.in.orig 2012-03-16 22:14:30.000000000 +0000
++++ doc/man/man5/Makefile.in
+@@ -284,7 +284,7 @@ host_alias = @host_alias@
+ host_cpu = @host_cpu@
+ host_os = @host_os@
+ host_vendor = @host_vendor@
+-htmldir = ${prefix}/share/doc/@PACKAGE@-@VERSION@/html
++htmldir = @htmldir@
+ includedir = @includedir@
+ infodir = @infodir@
+ install_sh = @install_sh@
diff --git a/parallel/slurm/patches/patch-doc_man_man8_Makefile.am b/parallel/slurm/patches/patch-doc_man_man8_Makefile.am
new file mode 100644
index 00000000000..dab3450da31
--- /dev/null
+++ b/parallel/slurm/patches/patch-doc_man_man8_Makefile.am
@@ -0,0 +1,10 @@
+$NetBSD: patch-doc_man_man8_Makefile.am,v 1.1.1.1 2012/03/20 14:52:15 asau Exp $
+
+--- doc/man/man8/Makefile.am.orig 2012-03-16 22:14:30.000000000 +0000
++++ doc/man/man8/Makefile.am
+@@ -1,5 +1,3 @@
+-htmldir = ${prefix}/share/doc/@PACKAGE@-@VERSION@/html
+-
+ man8_MANS = slurmctld.8 \
+ slurmd.8 \
+ slurmdbd.8 \
diff --git a/parallel/slurm/patches/patch-doc_man_man8_Makefile.in b/parallel/slurm/patches/patch-doc_man_man8_Makefile.in
new file mode 100644
index 00000000000..b21bf6a438b
--- /dev/null
+++ b/parallel/slurm/patches/patch-doc_man_man8_Makefile.in
@@ -0,0 +1,13 @@
+$NetBSD: patch-doc_man_man8_Makefile.in,v 1.1.1.1 2012/03/20 14:52:15 asau Exp $
+
+--- doc/man/man8/Makefile.in.orig 2012-03-16 22:14:30.000000000 +0000
++++ doc/man/man8/Makefile.in
+@@ -284,7 +284,7 @@ host_alias = @host_alias@
+ host_cpu = @host_cpu@
+ host_os = @host_os@
+ host_vendor = @host_vendor@
+-htmldir = ${prefix}/share/doc/@PACKAGE@-@VERSION@/html
++htmldir = @htmldir@
+ includedir = @includedir@
+ infodir = @infodir@
+ install_sh = @install_sh@