debian/0000775000000000000000000000000012277410011007163 5ustar debian/libgfarm1.install0000664000000000000000000000012311244255121012415 0ustar debian/tmp/usr/lib/lib*.so.* debian/tmp/usr/share/gfarm/config/config-gfarm.sysdep debian/copyright0000664000000000000000000001604111337447007011133 0ustar This work was packaged for Debian by: NIIBE Yutaka on Tue, 16 Feb 2010 15:30:53 +0900 It was downloaded from: http://sourceforge.net/projects/gfarm/files/ Upstream Author(s): Osamu Tatebe Noriyuki SODA Copyright: Copyright (c) 2003-2008 National Institute of Advanced Industrial Science and Technology (AIST) Copyright (c) 2006-2009 Osamu Tatebe Copyright (c) 2009 National Institute of Informatics in Japan Copyright 2002 Niels Provos License: ./LICENSE said: The authors hereby grant permission to use, copy, modify, and distribute this software and its documentation for any purpose, provided that existing copyright notices are retained in all copies and that this notice is included verbatim in any distributions. The name of AIST may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. There are the following exceptions about the terms of the license: All files under the lib/gfs_hook/sysdep/linux/ directory can be redistributed and/or modified under the terms of the GNU Lesser General Public License as published by the Free Software Foundation. All files under the lib/gfs_hook/sysdep/solaris/ directory can be redistributed and/or modified under the terms of the Common Development and Distribution License (CDDL), Version 1.0 by Sun Microsystems, Inc. But some code from other origins have different terms and condition. (1) Files from NAREGI Project of 2003-2007 server/gfmd/db_ldap.c server/gfmd/db_none.c server/gfmd/db_ops.h lib/libgfarm/gfarm/schedule.h lib/libgfarm/gfarm/schedule.c * This file or a portion of this file is licensed under the terms of * the NAREGI Public License, found at * http://www.naregi.org/download/index.html. * If you redistribute this file, with or without modifications, you * must include this notice in the file. Origin of those files is NAREGI Project, which is distributed under the Apache License Version 2.0. The URL of NAREGI Public Licence has been moved to: http://middleware.naregi.org/Download/Html/license.htm NAREGI Public Licence is the Apache License Version 2.0 for thier original code plus third party licenses for third party code. (2) Files from NAREGI Project of 2009 server/gfmd/xattr.c server/gfmd/xattr.h lib/libgfarm/gfarm/gfs_xattr.c lib/libgfarm/gfarm/xattr_info.h gftool/gffindxmlattr/gffindxmlattr.c gftool/gfvoms-sync/gfvoms-update/gfvoms-update.c gftool/gfvoms-sync/gfvoms-list/gfvoms-list gftool/gfvoms-sync/gfvoms-sync/gfvoms-sync.py gftool/gfvoms-sync/gfvoms-sync/mkscript gftool/gfvoms-sync/lib/zsi_def.py gftool/gfvoms-sync/lib/mkscript gftool/gfxattr/gfxattr.c The copyright notice doesn't explain terms and conditions at all, but it must be the Apache License Version 2.0, as it was distributed as NAREGI Project. (3) lib/libgfarm/gfutil/tree.h * Copyright 2002 Niels Provos * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. (4) gftool/config-gfarm/sysdep/hpux/getmemsize.c * Copyright: (c)2001-2003 Ian P. Springer (5) Files under 'bench' directory bench/fsstress/global.h * Copyright (c) 2000 Silicon Graphics, Inc. GPLv2 bench/fsstress/fsstress.c * Copyright (c) 2000 Silicon Graphics, Inc. GPLv2 bench/nconnect/nconnect.c * Copyright (C) 1993-2000 by Software Research Associates, Inc. * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, copy, * modify, merge, publish, distribute, sublicense, and/or sell copies * of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NONINFRINGEMENT. IN NO EVENT SHALL THE SOFTWARE RESEARCH * ASSOCIATES BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. * * Except as contained in this notice, the name of the Software * Research Associates shall not be used in advertising or otherwise * to promote the sale, use or other dealings in this Software without * prior written authorization from the Software Research Associates. The Debian packaging was done by NIIBE Yutaka and the works are put into public domain. debian/README.Debian0000664000000000000000000000034411336436153011237 0ustar gfarm for Debian ---------------- For older versions of Gfarm (<= 1.x), packaging for Debian has once tried, but it's not for 2.0. This time, I did for 2.0. -- NIIBE Yutaka Tue, 16 Feb 2010 15:30:53 +0900 debian/gfarm-client.install0000664000000000000000000000145611413241675013142 0ustar debian/tmp/usr/bin/gfarm-pcp debian/tmp/usr/bin/gfarm-prun debian/tmp/usr/bin/gfarm-ptool debian/tmp/usr/bin/gfchgrp debian/tmp/usr/bin/gfchmod debian/tmp/usr/bin/gfchown debian/tmp/usr/bin/gfdf debian/tmp/usr/bin/gfedquota debian/tmp/usr/bin/gfexport debian/tmp/usr/bin/gffindxmlattr debian/tmp/usr/bin/gfgroup debian/tmp/usr/bin/gfhost debian/tmp/usr/bin/gfkey debian/tmp/usr/bin/gfls debian/tmp/usr/bin/gfmkdir debian/tmp/usr/bin/gfmv debian/tmp/usr/bin/gfquota debian/tmp/usr/bin/gfquotacheck debian/tmp/usr/bin/gfreg debian/tmp/usr/bin/gfrep debian/tmp/usr/bin/gfrm debian/tmp/usr/bin/gfrmdir debian/tmp/usr/bin/gfsched debian/tmp/usr/bin/gfstat debian/tmp/usr/bin/gfstatus debian/tmp/usr/bin/gfusage debian/tmp/usr/bin/gfuser debian/tmp/usr/bin/gfwhere debian/tmp/usr/bin/gfwhoami debian/tmp/usr/bin/gfxattr debian/gfsd.manpages_en0000664000000000000000000000002011473076033012306 0ustar man/man8/gfsd.8 debian/gfarm-client.manpages_en0000664000000000000000000000077711473100153013745 0ustar man/man1/gfchgrp.1 man/man1/gfchmod.1 man/man1/gfchown.1 man/man1/gfdf.1 man/man1/gfexport.1 man/man1/gffindxmlattr.1 man/man1/gfgroup.1 man/man1/gfhost.1 man/man1/gfkey.1 man/man1/gfln.1 man/man1/gfls.1 man/man1/gfmkdir.1 man/man1/gfmv.1 man/man1/gfreg.1 man/man1/gfrep.1 man/man1/gfrm.1 man/man1/gfrmdir.1 man/man1/gfrsh.1 man/man1/gfrun.1 man/man1/gfsched.1 man/man1/gfssh.1 man/man1/gfstat.1 man/man1/gfstatus.1 man/man1/gfusage.1 man/man1/gfuser.1 man/man1/gfwhere.1 man/man1/gfwhoami.1 man/man1/gfxattr.1 debian/libgfarm-dev.manpages_en0000664000000000000000000000244711244255121013732 0ustar man/man3/gfarm.3 man/man3/gfarm_initialize.3 man/man3/gfarm_strings_free_deeply.3 man/man3/gfarm_terminate.3 man/man3/gfarm_url_fragments_replicate.3 man/man3/gfarm_url_hosts_schedule.3 man/man3/gfarm_url_section_replicate_from_to.3 man/man3/gfarm_url_section_replicate_to.3 man/man3/gfs_chdir.3 man/man3/gfs_chmod.3 man/man3/gfs_closedir.3 man/man3/gfs_glob.3 man/man3/gfs_glob_add.3 man/man3/gfs_glob_free.3 man/man3/gfs_glob_init.3 man/man3/gfs_mkdir.3 man/man3/gfs_opendir.3 man/man3/gfs_pio_close.3 man/man3/gfs_pio_create.3 man/man3/gfs_pio_datasync.3 man/man3/gfs_pio_eof.3 man/man3/gfs_pio_error.3 man/man3/gfs_pio_flush.3 man/man3/gfs_pio_getc.3 man/man3/gfs_pio_getline.3 man/man3/gfs_pio_gets.3 man/man3/gfs_pio_open.3 man/man3/gfs_pio_putc.3 man/man3/gfs_pio_putline.3 man/man3/gfs_pio_puts.3 man/man3/gfs_pio_read.3 man/man3/gfs_pio_readdelim.3 man/man3/gfs_pio_readline.3 man/man3/gfs_pio_seek.3 man/man3/gfs_pio_set_local.3 man/man3/gfs_pio_set_view_index.3 man/man3/gfs_pio_set_view_local.3 man/man3/gfs_pio_sync.3 man/man3/gfs_pio_truncate.3 man/man3/gfs_pio_ungetc.3 man/man3/gfs_pio_write.3 man/man3/gfs_readdir.3 man/man3/gfs_realpath.3 man/man3/gfs_rename.3 man/man3/gfs_rmdir.3 man/man3/gfs_stat.3 man/man3/gfs_stat_free.3 man/man3/gfs_unlink.3 man/man3/gfs_unlink_section.3 man/man3/gfs_utimes.3 debian/gfmd.manpages_en0000664000000000000000000000004711473076044012313 0ustar man/man5/gfarm2.conf.5 man/man8/gfmd.8 debian/changelog0000664000000000000000000000676212277410003011051 0ustar gfarm (2.4.1-1.1ubuntu1) trusty; urgency=low * Use autotools-dev for arm64. -- Daniel T Chen Fri, 14 Feb 2014 07:45:35 -0500 gfarm (2.4.1-1.1) unstable; urgency=low * Non-maintainer upload. * Patch by Ilya Barygin , set SHELL to /bin/bash as /bin/sh does not support +=. (Closes: #621926). -- Konstantinos Margaritis Tue, 31 Jan 2012 19:01:26 +0000 gfarm (2.4.1-1) unstable; urgency=low * New upstream release. -- NIIBE Yutaka Mon, 14 Feb 2011 17:25:35 +0900 gfarm (2.4.0-1) unstable; urgency=low * New upstream release. * debian/patches/00_libraries.patch: Refreshed. * debian/gfmd.manpages_{en,ja}: Remove uninstalled entries. * debian/gfsd.manpages_{en,ja}: Remove uninstalled entries. * debian/gfarm-client.manpages_{en,ja}: Remove uninstalled entries. * debian/control (Standards-Version): Bump to 3.9.1. * debian/libgfarm-dev.install: Don't install .la file (follow policy 3.9.1). -- NIIBE Yutaka Wed, 24 Nov 2010 11:06:15 +0900 gfarm (2.3.2-1) unstable; urgency=low * New upstream release (Closes: #581101). * debian/patches/00_libraries.patch: Refreshed. * debian/patches/07_MAXHOSTNAMELEN.patch: Refreshed. * debian/patches/05_PATH_MAX.patch: Refreshed. * debian/gfarm-client.install (gfsched): Added. -- NIIBE Yutaka Fri, 02 Jul 2010 10:00:53 +0900 gfarm (2.3.1-1) unstable; urgency=low * debian/control (Description, Suggests): Description improvement adding Suggests. Thanks to Justin B Rye (Closes: #573516). * New upstream release. * debian/rules: Support manpages_en/_ja. * debian/libgfarm-dev.manpages_ja: New file. * debian/libgfarm-dev.manpages_en: Renamed (was: no _en). * debian/{gfmd.manpages_ja,gfsd.manpages_ja}: New files. * debian/{gfmd.manpages_en,gfsd.manpages_en}: Renamed (was: no _en). * debian/{gfarm-client.manpages_en,gfarm-client.manpages_ja}: Updated. * debian/{gfarm-doc.docs,gfarm-client.install,gfmd.install}: Updated. * debian/control (Package): New package libgfarm1 to match soname. * debian/patches/07_MAXHOSTNAMELEN.patch: New file to workaround on Hurd. * debian/README.source: Removed. -- NIIBE Yutaka Tue, 08 Jun 2010 11:55:28 +0900 gfarm (2.3.0-5) unstable; urgency=low * debian/patches/06_host_os_nickname.patch: Updated. * debian/watch: Fix to exclude snapshot tar balls. -- NIIBE Yutaka Tue, 11 May 2010 09:49:00 +0900 gfarm (2.3.0-4) unstable; urgency=low * debian/patches/{04_MAXPATHLEN.patch,05_PATH_MAX.patch, 06_host_os_nickname.patch}: New files. -- NIIBE Yutaka Mon, 10 May 2010 14:11:22 +0900 gfarm (2.3.0-3) unstable; urgency=low * debian/gfarm-client.manpages_ja: New file. * debian/rules: Invoke dh_installman with --language=ja. * debian/rules: Kill the bash-ism. * debian/rules: Don't use libtoolize but just copy ltmain.sh. * debian/patches/{00_libraries,01_noneed_yacc_lex,02_dont_go_doc, 03_libtool_clean_does_not_work_well}.patch: Divided up. -- NIIBE Yutaka Thu, 18 Mar 2010 09:16:05 +0900 gfarm (2.3.0-2) unstable; urgency=low * debian/patches/00_libraries.patch: Name it. * debian/rules: Build with _GNU_SOURCE for FTBFS on gfevent.c. -- NIIBE Yutaka Wed, 17 Mar 2010 21:19:06 +0900 gfarm (2.3.0-1) unstable; urgency=low * Initial release (Closes: #568981). -- NIIBE Yutaka Tue, 16 Feb 2010 15:30:53 +0900 debian/gfmd.manpages_ja0000664000000000000000000000005511473076101012274 0ustar man/ja/man5/gfarm2.conf.5 man/ja/man8/gfmd.8 debian/gfsd.manpages_ja0000664000000000000000000000002311473076073012305 0ustar man/ja/man8/gfsd.8 debian/libgfarm-dev.manpages_ja0000664000000000000000000000337111403345432013721 0ustar man/ja/man3/gfarm.3 man/ja/man3/gfarm_hostlist_read.3 man/ja/man3/gfarm_import_fragment_config_read.3 man/ja/man3/gfarm_import_fragment_size_alloc.3 man/ja/man3/gfarm_initialize.3 man/ja/man3/gfarm_stringlist_add.3 man/ja/man3/gfarm_stringlist_cat.3 man/ja/man3/gfarm_stringlist_elem.3 man/ja/man3/gfarm_strings_free_deeply.3 man/ja/man3/gfarm_terminate.3 man/ja/man3/gfarm_url_fragments_replicate.3 man/ja/man3/gfarm_url_hosts_schedule.3 man/ja/man3/gfarm_url_program_deliver.3 man/ja/man3/gfarm_url_program_register.3 man/ja/man3/gfarm_url_section_replicate_from_to.3 man/ja/man3/gfarm_url_section_replicate_to.3 man/ja/man3/gfs_chdir.3 man/ja/man3/gfs_chmod.3 man/ja/man3/gfs_closedir.3 man/ja/man3/gfs_glob.3 man/ja/man3/gfs_glob_add.3 man/ja/man3/gfs_glob_free.3 man/ja/man3/gfs_glob_init.3 man/ja/man3/gfs_mkdir.3 man/ja/man3/gfs_opendir.3 man/ja/man3/gfs_pio_close.3 man/ja/man3/gfs_pio_create.3 man/ja/man3/gfs_pio_datasync.3 man/ja/man3/gfs_pio_eof.3 man/ja/man3/gfs_pio_error.3 man/ja/man3/gfs_pio_flush.3 man/ja/man3/gfs_pio_getc.3 man/ja/man3/gfs_pio_getline.3 man/ja/man3/gfs_pio_gets.3 man/ja/man3/gfs_pio_open.3 man/ja/man3/gfs_pio_putc.3 man/ja/man3/gfs_pio_putline.3 man/ja/man3/gfs_pio_puts.3 man/ja/man3/gfs_pio_read.3 man/ja/man3/gfs_pio_readdelim.3 man/ja/man3/gfs_pio_readline.3 man/ja/man3/gfs_pio_seek.3 man/ja/man3/gfs_pio_set_local.3 man/ja/man3/gfs_pio_set_view_index.3 man/ja/man3/gfs_pio_set_view_local.3 man/ja/man3/gfs_pio_sync.3 man/ja/man3/gfs_pio_truncate.3 man/ja/man3/gfs_pio_ungetc.3 man/ja/man3/gfs_pio_write.3 man/ja/man3/gfs_readdir.3 man/ja/man3/gfs_realpath.3 man/ja/man3/gfs_rename.3 man/ja/man3/gfs_rmdir.3 man/ja/man3/gfs_stat.3 man/ja/man3/gfs_stat_free.3 man/ja/man3/gfs_unlink.3 man/ja/man3/gfs_unlink_section.3 man/ja/man3/gfs_utimes.3 debian/gfmd.install0000664000000000000000000000306411403343126011475 0ustar debian/tmp/usr/bin/config-gfarm debian/tmp/usr/bin/config-gfarm-update debian/tmp/usr/bin/gfdump.postgresql debian/tmp/usr/sbin/gfmd debian/tmp/usr/share/gfarm/config/bdb.DB_CONFIG.in debian/tmp/usr/share/gfarm/config/config-gfarm-update.ldap debian/tmp/usr/share/gfarm/config/config-gfarm-update.postgresql debian/tmp/usr/share/gfarm/config/config-gfarm.ldap debian/tmp/usr/share/gfarm/config/config-gfarm.postgresql debian/tmp/usr/share/gfarm/config/gfarm-xmlattr.sql debian/tmp/usr/share/gfarm/config/gfarm.conf-ldap.in debian/tmp/usr/share/gfarm/config/gfarm.conf-postgresql.in debian/tmp/usr/share/gfarm/config/gfarm.conf.in debian/tmp/usr/share/gfarm/config/gfarm.sql debian/tmp/usr/share/gfarm/config/gfarm.schema debian/tmp/usr/share/gfarm/config/initial.ldif.in debian/tmp/usr/share/gfarm/config/linux/debian/gfarm-pgsql.in debian/tmp/usr/share/gfarm/config/linux/debian/gfarm-slapd.in debian/tmp/usr/share/gfarm/config/linux/debian/gfmd.in debian/tmp/usr/share/gfarm/config/linux/default/gfarm-pgsql.in debian/tmp/usr/share/gfarm/config/linux/default/gfarm-slapd.in debian/tmp/usr/share/gfarm/config/linux/default/gfmd.in debian/tmp/usr/share/gfarm/config/linux/redhat/gfarm-pgsql.in debian/tmp/usr/share/gfarm/config/linux/redhat/gfarm-slapd.in debian/tmp/usr/share/gfarm/config/linux/redhat/gfmd.in debian/tmp/usr/share/gfarm/config/linux/suse/gfarm-pgsql.in debian/tmp/usr/share/gfarm/config/linux/suse/gfarm-slapd.in debian/tmp/usr/share/gfarm/config/linux/suse/gfmd.in debian/tmp/usr/share/gfarm/config/slapd.conf-2.0.in debian/tmp/usr/share/gfarm/config/slapd.conf-2.1.in debian/patches/0000775000000000000000000000000011712035605010617 5ustar debian/patches/02_dont_go_doc.patch0000664000000000000000000000077311403331062014417 0ustar Description: Don't go 'doc' subdirectory. In Debian installation, documents are handled differently. Author: NIIBE Yutaka Last-Update: 2010-06-08 Index: gfarm-2.3.1/Makefile.in =================================================================== --- gfarm-2.3.1.orig/Makefile.in 2010-06-08 11:59:32.000000000 +0900 +++ gfarm-2.3.1/Makefile.in 2010-06-08 11:59:33.000000000 +0900 @@ -5,7 +5,6 @@ include $(top_srcdir)/makes/var.mk SUBDIRS = \ - doc \ man \ include/gfarm \ lib \ debian/patches/00_libraries.patch0000664000000000000000000000461711473073215014126 0ustar Description: Change for linking to libraries. Author: NIIBE Yutaka Last-Update: 2010-11-24 Index: gfarm-2.4.0/configure.ac =================================================================== --- gfarm-2.4.0.orig/configure.ac 2010-07-22 22:08:58.000000000 +0900 +++ gfarm-2.4.0/configure.ac 2010-11-24 11:18:09.000000000 +0900 @@ -199,7 +199,7 @@ ]) AC_MSG_RESULT([using \"${with_openssl}\"]) -openssl_libs='-lssl -lcrypto' +openssl_libs='-lcrypto' if test x"${with_openssl}" = x"/usr"; then openssl_includes= else @@ -584,13 +584,13 @@ # We need to add those libraries to $LIBS at first, # otherwise some libraries (e.g. OpenLDAP and OpenSSL) cannot be linked. -AC_CHECK_LIB(dl, dlopen) -AC_CHECK_LIB(nsl, gethostname) # SVR4 and derived +# AC_CHECK_LIB(dl, dlopen) +# AC_CHECK_LIB(nsl, gethostname) # SVR4 and derived AC_CHECK_LIB(socket, socket) # SVR4 and derived -AC_CHECK_LIB(crypt, crypt) # 4.4BSD and derived +# AC_CHECK_LIB(crypt, crypt) # 4.4BSD and derived AC_CHECK_LIB(compat, cuserid) # NetBSD AC_CHECK_LIB(gen, basename) # IRIX -AC_CHECK_LIB(rt, fdatasync) # Solaris +# AC_CHECK_LIB(rt, fdatasync) # Solaris AC_CHECK_LIB(cext, seteuid) # HP-UX AC_CHECK_LIB(perfstat, perfstat_cpu_total) # AIX, to implement getloadavg() Index: gfarm-2.4.0/makes/var.mk =================================================================== --- gfarm-2.4.0.orig/makes/var.mk 2010-07-22 22:08:33.000000000 +0900 +++ gfarm-2.4.0/makes/var.mk 2010-11-24 11:18:09.000000000 +0900 @@ -27,8 +27,7 @@ -I$(top_builddir)/include -I$(top_srcdir)/include \ -DCOMPAT_GFARM_2_3 COMMON_LDFLAGS = $(largefile_ldflags) -GFARMLIB = -L$(top_builddir)/lib/libgfarm -lgfarm \ - $(globus_gssapi_libs) $(openssl_libs) +GFARMLIB = -L$(top_builddir)/lib/libgfarm -lgfarm INC_SRCDIR = $(top_srcdir)/include/gfarm INC_BUILDDIR = $(top_builddir)/include/gfarm Index: gfarm-2.4.0/server/gfsd/Makefile =================================================================== --- gfarm-2.4.0.orig/server/gfsd/Makefile 2010-07-22 22:08:48.000000000 +0900 +++ gfarm-2.4.0/server/gfsd/Makefile 2010-11-24 11:18:09.000000000 +0900 @@ -10,7 +10,7 @@ CFLAGS = $(COMMON_CFLAGS) -I$(GFUTIL_SRCDIR) -I$(GFARMLIB_SRCDIR) \ $(openssl_includes) \ -DGFARM_DEFAULT_BINDIR=\"$(default_bindir)\" -LDLIBS = $(COMMON_LDFLAGS) $(GFARMLIB) $(LIBS) +LDLIBS = $(COMMON_LDFLAGS) $(GFARMLIB) $(LIBS) $(openssl_libs) DEPLIBS = $(DEPGFARMLIB) PROGRAM = gfsd debian/patches/01_noneed_yacc_lex.patch0000664000000000000000000000120511350270570015255 0ustar Description: No need to check yacc&lex. Author: NIIBE Yutaka Last-Update: 2010-03-18 --- gfarm-2.3.0.orig/configure.ac +++ gfarm-2.3.0/configure.ac @@ -27,13 +28,6 @@ else # CFLAGS='-g' CFLAGS="-O" # don't use -g, but use -O fi -AC_PROG_LEX -# the following definition should not be needed. -# but there is stupid environment which flex exists but libfl.a doesn't. -if test x"$LEX" = x"flex"; then - AC_CHECK_LIB(fl, yywrap, [LEXLIB=-lfl], [LEXLIB=-ll]) -fi - if mkdir -p . 2>/dev/null; then MKDIR_P='mkdir -p' else @@ -42,7 +36,6 @@ else fi AC_SUBST(MKDIR_P) -AC_PROG_YACC AC_PROG_INSTALL AC_PROG_LIBTOOL debian/patches/09_change-shell.patch0000664000000000000000000000071211712033471014501 0ustar Description: Use bash as the shell because it supports +=. See debbugs #621743 for additional information. Author: Ilya Barygin Bug-Debian: http://bugs.debian.org/621926 --- gfarm-2.4.1.orig/makes/var.mk +++ gfarm-2.4.1/makes/var.mk @@ -10,7 +10,7 @@ metadb_client_includes = $(ldap_includes) $(postgresql_includes) metadb_client_libs = $(ldap_libs) $(postgresql_libs) -SHELL = /bin/sh +SHELL = /bin/bash RM = rm GENCAT = gencat debian/patches/series0000664000000000000000000000036011712035077012036 0ustar 00_libraries.patch 01_noneed_yacc_lex.patch 02_dont_go_doc.patch 03_libtool_clean_does_not_work_well.patch 04_MAXPATHLEN.patch 05_PATH_MAX.patch 06_host_os_nickname.patch 07_MAXHOSTNAMELEN.patch debian-changes-2.4.1-1 09_change-shell.patch debian/patches/debian-changes-2.4.1-10000664000000000000000000012672411526164566014220 0ustar Description: Upstream changes introduced in version 2.4.1-1 This patch has been created by dpkg-source during the package build. Here's the last changelog entry, hopefully it gives details on why those changes were made: . gfarm (2.4.1-1) unstable; urgency=low . * New upstream release. . The person named in the Author field signed this changelog entry. Author: NIIBE Yutaka --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- /dev/null +++ gfarm-2.4.1/debian.upstream/gfarm-client.install @@ -0,0 +1,36 @@ +debian/tmp/usr/bin/gfarm-pcp +debian/tmp/usr/bin/gfarm-prun +debian/tmp/usr/bin/gfarm-ptool +debian/tmp/usr/bin/gfdf +debian/tmp/usr/bin/gfexport +debian/tmp/usr/bin/gfhost +debian/tmp/usr/bin/gfifo.sh +debian/tmp/usr/bin/gfimport_fixed +debian/tmp/usr/bin/gfimport_text +debian/tmp/usr/bin/gfkey +debian/tmp/usr/bin/gfls +debian/tmp/usr/bin/gfmkdir +debian/tmp/usr/bin/gfmpirun_p4 +debian/tmp/usr/bin/gfps +debian/tmp/usr/bin/gfpwd +debian/tmp/usr/bin/gfq.sh +debian/tmp/usr/bin/gfq_commit.sh +debian/tmp/usr/bin/gfq_setup.sh +debian/tmp/usr/bin/gfrcmd +debian/tmp/usr/bin/gfreg +debian/tmp/usr/bin/gfrep +debian/tmp/usr/bin/gfrm +debian/tmp/usr/bin/gfrmdir +debian/tmp/usr/bin/gfrsh +debian/tmp/usr/bin/gfrshl +debian/tmp/usr/bin/gfrun +debian/tmp/usr/bin/gfsched +debian/tmp/usr/bin/gfsck +debian/tmp/usr/bin/gfsetdir +debian/tmp/usr/bin/gfssh +debian/tmp/usr/bin/gfsshl +debian/tmp/usr/bin/gfstat +debian/tmp/usr/bin/gfstatus +debian/tmp/usr/bin/gftest +debian/tmp/usr/bin/gfwhere +debian/tmp/usr/bin/gfwhoami --- /dev/null +++ gfarm-2.4.1/debian.upstream/libgfarm-dev.install @@ -0,0 +1,6 @@ +debian/tmp/usr/lib/*.o +debian/tmp/usr/lib/hooks_init_mpi.c +debian/tmp/usr/lib/lib*.a +debian/tmp/usr/lib/lib*.la +debian/tmp/usr/include/ +debian/tmp/usr/lib/lib*.so --- /dev/null +++ gfarm-2.4.1/debian.upstream/gfmd.init @@ -0,0 +1,43 @@ +#! /bin/bash +# +# gfmd Start the gfmd server. +# + +PATH=/sbin:/bin:/usr/sbin:/usr/bin +NAME=gfmd +FILE=$NAME +DAEMON=/usr/sbin/$NAME +PIDFILE=/var/run/$FILE.pid +CONF=/etc/gfarm.conf +OPTIONS= + +trap "" 1 +export LANG=C +export PATH + +test -f $DAEMON || exit 0 +test -f $CONF || exit 0 + +case "$1" in + start) + echo -n "Starting gfarm server: $FILE" + start-stop-daemon --quiet --start \ + --pidfile $PIDFILE --exec $DAEMON -- -P $PIDFILE $OPTIONS + echo "." + ;; + stop) + echo -n "Stopping gfarm server: $FILE" + start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $DAEMON + echo "." + ;; + restart|force-reload) + $0 stop + $0 start + ;; + *) + echo "Usage: /etc/init.d/$FILE {start|stop|restart}" + exit 1 + ;; +esac + +exit 0 --- /dev/null +++ gfarm-2.4.1/debian.upstream/gfmd.install @@ -0,0 +1,29 @@ +debian/tmp/usr/bin/config-gfarm +debian/tmp/usr/bin/gfdump +debian/tmp/usr/bin/gfusage +debian/tmp/usr/sbin/gfmd +debian/tmp/etc/init.d/gfmd +debian/tmp/usr/share/gfarm/config/bdb.DB_CONFIG.in +debian/tmp/usr/share/gfarm/config/config-gfarm.ldap +debian/tmp/usr/share/gfarm/config/config-gfarm.postgresql +debian/tmp/usr/share/gfarm/config/gfarm.conf-ldap.in +debian/tmp/usr/share/gfarm/config/gfarm.conf-postgresql.in +debian/tmp/usr/share/gfarm/config/gfarm.schema +debian/tmp/usr/share/gfarm/config/gfarm.schema-1.sql +debian/tmp/usr/share/gfarm/config/gfarm.schema-2.sql +debian/tmp/usr/share/gfarm/config/initial.ldif.in +debian/tmp/usr/share/gfarm/config/linux/debian/gfarm-pgsql.in +debian/tmp/usr/share/gfarm/config/linux/debian/gfarm-slapd.in +debian/tmp/usr/share/gfarm/config/linux/debian/gfmd.in +debian/tmp/usr/share/gfarm/config/linux/default/gfarm-pgsql.in +debian/tmp/usr/share/gfarm/config/linux/default/gfarm-slapd.in +debian/tmp/usr/share/gfarm/config/linux/default/gfmd.in +debian/tmp/usr/share/gfarm/config/linux/redhat/gfarm-pgsql.in +debian/tmp/usr/share/gfarm/config/linux/redhat/gfarm-slapd.in +debian/tmp/usr/share/gfarm/config/linux/redhat/gfmd.in +debian/tmp/usr/share/gfarm/config/linux/suse/gfarm-pgsql.in +debian/tmp/usr/share/gfarm/config/linux/suse/gfarm-slapd.in +debian/tmp/usr/share/gfarm/config/linux/suse/gfmd.in +debian/tmp/usr/share/gfarm/config/slapd.conf-2.0.in +debian/tmp/usr/share/gfarm/config/slapd.conf-2.1.in +debian/tmp/etc/default/gfarm-slapd --- /dev/null +++ gfarm-2.4.1/debian.upstream/gfsd.init @@ -0,0 +1,43 @@ +#! /bin/bash +# +# gfsd Start the gfsd server. +# + +PATH=/sbin:/bin:/usr/sbin:/usr/bin +NAME=gfsd +FILE=$NAME +DAEMON=/usr/sbin/$NAME +PIDFILE=/var/run/$FILE.pid +CONF=/etc/gfarm.conf +OPTIONS= + +trap "" 1 +export LANG=C +export PATH + +test -f $DAEMON || exit 0 +test -f $CONF || exit 0 + +case "$1" in + start) + echo -n "Starting gfarm server: $FILE" + start-stop-daemon --quiet --start \ + --pidfile $PIDFILE --exec $DAEMON -- -P $PIDFILE $OPTIONS + echo "." + ;; + stop) + echo -n "Stopping gfarm server: $FILE" + start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $DAEMON + echo "." + ;; + restart|force-reload) + $0 stop + $0 start + ;; + *) + echo "Usage: /etc/init.d/$FILE {start|stop|restart}" + exit 1 + ;; +esac + +exit 0 --- /dev/null +++ gfarm-2.4.1/debian.upstream/control.gsi @@ -0,0 +1,55 @@ +Package: gfarm-gsi-gfptool +Section: utils +Architecture: i386 amd64 +Depends: gfarm-gsi-client (= ${Source-Version}) +Conflicts: gfarm-gfptool +Description: Parallel tools installed under the Gfarm filesystem with GSI + Registration the Gfarm parallel commands such as a parallel file copy command + and a parallel grep command to the Gfarm filesystem by the + 'gfregister' command. + +Package: gfmd-gsi +Section: net +Architecture: i386 amd64 +Depends: libgfarm-gsi (= ${Source-Version}) +Suggests: postgresql, slapd +Conflicts: gfmd +Description: The Gfarm metadata server with GSI + The Gfarm filesystem metadata server for accessing + filesystem metadata of the Gfarm filesystem. + +Package: gfarm-gsi-client +Section: utils +Architecture: i386 amd64 +Depends: libgfarm-gsi (= ${Source-Version}) +Conflicts: gfarm-client +Description: The Gfarm clients with GSI + This package contains client programs for the Gfarm. + +Package: gfsd-gsi +Section: net +Architecture: i386 amd64 +Depends: libgfarm-gsi (= ${Source-Version}), gfarm-gsi-client (= ${Source-Version}) +Conflicts: gfsd +Description: The Gfarm filesystem daemon with GSI + A filesystem daemon for the Gfarm filesystem, + which has been running on every filesystem node, + usually, with a root privilege. + +Package: libgfarm-gsi +Section: libs +Architecture: i386 amd64 +Depends: libldap2 +Conflicts: libgfarm +Description: Runtime libraries for the Gfarm + libgfarm is a library implementing interfaces for reading and writing + files on the Gfarm filesystem. + +Package: libgfarm-gsi-dev +Section: devel +Architecture: i386 amd64 +Depends: libgfarm-gsi (= ${Source-Version}) +Conflicts: libgfarm-dev +Description: Development files for the Gfarm with GSI + Install this package if you wish to develop your own programs using + the Gfarm filesystem library. --- /dev/null +++ gfarm-2.4.1/debian.upstream/gfarm-slapd.default @@ -0,0 +1,30 @@ +# Default location of the slapd.conf file +SLAPD_CONF=/etc/gfarm-ldap/slapd.conf + +# System account to run the slapd server under. If empty the server +# will run as root. +SLAPD_USER= + +# System group to run the slapd server under. If empty the server will +# run in the primary group of its user. +SLAPD_GROUP= + +# Path to the pid file of the slapd server. If not set the init.d script +# will try to figure it out from $SLAPD_CONF (/etc/ldap/slapd.conf) +SLAPD_PIDFILE= + +# Configure if the slurpd daemon should be started. Possible values: +# - yes: Always start slurpd +# - no: Never start slurpd +# - auto: Start slurpd if a replica option is found in slapd.conf (default) +SLURPD_START=auto + +# slapd normally serves ldap only on all TCP-ports 389. slapd can also +# service requests on TCP-port 636 (ldaps) and requests via unix +# sockets. +# Example usage: +# SLAPD_SERVICES="ldap://127.0.0.1:389/ ldaps:/// ldapi:///" + +# Additional options to pass to slapd and slurpd +SLAPD_OPTIONS="" +SLURPD_OPTIONS="" --- /dev/null +++ gfarm-2.4.1/debian.upstream/control.common @@ -0,0 +1,21 @@ +Source: gfarm +Section: net +Priority: optional +Maintainer: Naotaka YAMAMOTO +Build-Depends: debhelper, libreadline4-dev, libssl-dev, libldap2-dev, bison +Standards-Version: 3.5.10 + +Package: gfarm-doc +Section: doc +Architecture: all +Description: Documents for the Gfarm + Contains all README files and HTML documents. + +Package: gfarm-gfront +Section: utils +Architecture: all +Depends: gfarm-gsi-client (= ${Source-Version}) | gfarm-client (= ${Source-Version}) +Description: Front-end java application for the Gfarm + This package contains client and administrative front-end application + fot the Gfarm using JAVA. + --- /dev/null +++ gfarm-2.4.1/debian.upstream/control @@ -0,0 +1,83 @@ +Source: gfarm +Section: net +Priority: optional +Maintainer: Naotaka YAMAMOTO +Build-Depends: debhelper, libreadline4-dev, libssl-dev, libldap2-dev, bison +Standards-Version: 3.5.10 + +Package: gfarm-doc +Section: doc +Architecture: all +Description: Documents for the Gfarm + Contains all README files and HTML documents. + +Package: gfarm-gfront +Section: utils +Architecture: all +Depends: gfarm-gsi-client (= ${Source-Version}) | gfarm-client (= ${Source-Version}) +Description: Front-end java application for the Gfarm + This package contains client and administrative front-end application + fot the Gfarm using JAVA. + +Package: gfarm-gfptool +Section: utils +Architecture: i386 amd64 +Depends: gfarm-client (= ${Source-Version}) +Conflicts: gfarm-gsi-gfptool +Description: Parallel tools installed under the Gfarm filesystem + Registration the Gfarm parallel commands such as a parallel file copy command + and a parallel grep command to the Gfarm filesystem by the + 'gfregister' command. + +Package: gfmd +Section: net +Architecture: i386 amd64 +Depends: libgfarm (= ${Source-Version}) +Suggests: gfarm-agent, postgresql, slapd +Conflicts: gfmd-gsi +Description: The Gfarm metadata server + The Gfarm filesystem metadata server for accessing + filesystem metadata of the Gfarm filesystem. + +Package: gfarm-client +Section: utils +Architecture: i386 amd64 +Depends: libgfarm (= ${Source-Version}) +Conflicts: gfarm-gsi-client +Description: The Gfarm clients + This package contains client programs for the Gfarm. + +Package: gfarm-agent +Section: utils +Architecture: i386 +Depends: libgfarm (= ${Source-Version}) +Description: Metadata cache server for Gfarm + metadata cache server for gfarm + +Package: gfsd +Section: net +Architecture: i386 amd64 +Depends: libgfarm (= ${Source-Version}), gfarm-client (= ${Source-Version}) +Conflicts: gfsd-gsi +Description: The Gfarm filesystem daemon + A filesystem daemon for the Gfarm filesystem, + which has been running on every filesystem node, + usually, with a root privilege. + +Package: libgfarm +Section: libs +Architecture: i386 amd64 +Depends: libssl0.9.7 | libssl0.9.6, libldap2 +Conflicts: libgfarm-gsi +Description: Runtime libraries for the Gfarm + libgfarm is a library implementing interfaces for reading and writing + files on the Gfarm filesystem. + +Package: libgfarm-dev +Section: devel +Architecture: i386 amd64 +Depends: libgfarm (= ${Source-Version}) +Conflicts: libgfarm-gsi-dev +Description: Development files for the Gfarm + Install this package if you wish to develop your own programs using + the Gfarm filesystem library. --- /dev/null +++ gfarm-2.4.1/debian.upstream/gfsd.conffiles @@ -0,0 +1 @@ +/etc/init.d/gfsd --- /dev/null +++ gfarm-2.4.1/debian.upstream/gfarm-client.manpages @@ -0,0 +1,24 @@ +man/man1/gfcd.1 +man/man1/gfdf.1 +man/man1/gfexport.1 +man/man1/gfhost.1 +man/man1/gfimport_fixed.1 +man/man1/gfimport_text.1 +man/man1/gfkey.1 +man/man1/gfls.1 +man/man1/gfmkdir.1 +man/man1/gfmpirun_p4.1 +man/man1/gfps.1 +man/man1/gfpwd.1 +man/man1/gfrcmd.1 +man/man1/gfreg.1 +man/man1/gfrep.1 +man/man1/gfrm.1 +man/man1/gfrmdir.1 +man/man1/gfrun.1 +man/man1/gfsched.1 +man/man1/gfsetdir.1 +man/man1/gfstat.1 +man/man1/gfwc.1 +man/man1/gfwhere.1 +man/man1/gfwhoami.1 --- /dev/null +++ gfarm-2.4.1/debian.upstream/gfarm-server.init @@ -0,0 +1,89 @@ +#! /bin/sh + +PATH=/sbin:/bin:/usr/sbin:/usr/bin +# gfarmd +DAEMON_GFARMD=/usr/sbin/gfarmd +NAME_GFARMD=gfarmd +DESC_GFARMD="gfarmd" +# gfmd +DAEMON_GFMD=/usr/sbin/gfmd +NAME_GFMD=gfmd +DESC_GFMD="gfmd" + +test -f $DAEMON_GFARMD || exit 0 +test -f $DAEMON_GFMD || exit 0 +set -e + +case "$1" in + start) + # gfarmd + echo -n "Starting $DESC_GFARMD: " + start-stop-daemon --start --quiet --exec $DAEMON_GFARMD + echo "$NAME_GFARMD." + + # gfmd + echo -n "Starting $DESC_GFMD: " + start-stop-daemon --start --quiet --exec $DAEMON_GFMD + echo "$NAME_GFMD." + ;; + stop) + # gfarmd + echo -n "Stopping $DESC_GFARMD: " +# start-stop-daemon --stop --oknodo --quiet --exec $DAEMON_GFARMD + # to avoid post-installation script abort on non-zero return value. + echo `killall $NAME_GFARMD`&>/dev/null + echo "$NAME_GFARMD." + + # gfmd + echo -n "Stopping $DESC_GFMD: " +# start-stop-daemon --stop --oknodo --quiet --exec $DAEMON_GFMD + # to avoid post-installation script abort on non-zero return value. + echo `killall $NAME_GFMD`&>/dev/null + echo "$NAME_GFMD." + ;; + #reload) + # + # If the daemon can reload its config files on the fly + # for example by sending it SIGHUP, do it here. + # + # If the daemon responds to changes in its config file + # directly anyway, make this a do-nothing entry. + # + # echo "Reloading $DESC_GFARMD configuration files." + # start-stop-daemon --stop --signal 1 --quiet --pidfile \ + # /var/run/$NAME_GFARMD.pid --exec $DAEMON_GFARMD + #;; + restart|force-reload) + # + # If the "reload" option is implemented, move the "force-reload" + # option to the "reload" entry above. If not, "force-reload" is + # just the same as "restart". + # + + # gfarmd + echo -n "Restarting $DESC_GFARMD: " +# start-stop-daemon --stop --oknodo --quiet --exec $DAEMON_GFARMD + # to avoid post-installation script abort on non-zero return value. + echo `killall $NAME_GFARMD`&>/dev/null + sleep 1 + start-stop-daemon --start --quiet --exec $DAEMON_GFARMD + echo "$NAME_GFARMD." + + # gfmd + echo -n "Restarting $DESC_GFMD: " +# start-stop-daemon --stop --oknodo --quiet --exec $DAEMON_GFMD + # to avoid post-installation script abort on non-zero return value. + echo `killall $NAME_GFMD`&>/dev/null + sleep 1 + start-stop-daemon --start --quiet --exec $DAEMON_GFMD + echo "$NAME_GFMD." + ;; + *) + N="/etc/init.d/gfarm-server" + # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $N {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 --- /dev/null +++ gfarm-2.4.1/debian.upstream/gfmd.conffiles @@ -0,0 +1,2 @@ +/etc/init.d/gfmd +/etc/default/gfarm-slapd --- /dev/null +++ gfarm-2.4.1/debian.upstream/rules @@ -0,0 +1,334 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 by Joey Hess. +# +# This version is for a hypothetical package that builds an +# architecture-dependant package, as well as an architecture-independent +# package. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. +export DH_COMPAT=2 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +export CC=gcc + +CLIENT_PKG = gfarm-client +GFRONT_PKG = gfarm-gfront +DOC_PKG = gfarm-doc +GFPTOOL_PKG = gfarm-gfptool +GFMD_PKG = gfmd +GFSD_PKG=gfsd +DEV_PKG = libgfarm-dev +LIBS_PKG = libgfarm +AGENT_PKG = gfarm-agent + +CLIENT_GSI_PKG = gfarm-gsi-client +GFPTOOL_GSI_PKG = gfarm-gsi-gfptool +GFMD_GSI_PKG = gfmd-gsi +GFSD_GSI_PKG=gfsd-gsi +DEV_GSI_PKG = libgfarm-gsi-dev +LIBS_GSI_PKG = libgfarm-gsi + +CONFIGURE = ../configure --prefix=/usr --libexecdir=/usr/lib/gfarm --sysconfdir=/etc + +GLOBUS_PREFIX ?= undefined +BUILD_BOTH ?= undefined +GLOBUS_STATIC ?= undefined +non-globus=yes +globus=no +globus_static=no +ifneq ($(GLOBUS_PREFIX),undefined) + globus=yes + GLOBUS_FLAVOR ?= gcc32dbg + ifneq ($(GLOBUS_STATIC),undefined) + globus_static=yes + endif + ifeq ($(BUILD_BOTH), undefined) + non-globus=no + else + build_both=yes + endif +endif + +tmpdirs=tmp +ifeq ($(build_both), yes) + tmpdirs=tmp tmp_gsi +endif + +configure: configure-stamp +configure-stamp: + cp debian/control.common debian/control +ifeq ($(non-globus),yes) + cat debian/control.non-gsi >> debian/control +endif +ifeq ($(globus),yes) + cat debian/control.gsi >> debian/control +endif + + dh_testdir + -rm -rf ns/ + +ifeq ($(non-globus),yes) + install -d build && cd build && $(CONFIGURE) +endif +ifeq ($(globus),yes) + install -d build_gsi && cd build_gsi && $(CONFIGURE) --with-globus=$(GLOBUS_PREFIX) --with-globus-flavor=$(GLOBUS_FLAVOR) $(GLOBUS_STATIC) + ifneq ($(build_both),yes) + ln -s build_gsi build + ln -s tmp_gsi debian/tmp + endif +endif + + ln -s $(GFMD_PKG).docs debian/$(GFSD_PKG).docs + +ifeq ($(globus), yes) + ln -s $(CLIENT_PKG).install debian/$(CLIENT_GSI_PKG).install + ln -s $(GFPTOOL_PKG).install debian/$(GFPTOOL_GSI_PKG).install + ln -s $(GFMD_PKG).install debian/$(GFMD_GSI_PKG).install + ln -s $(GFSD_PKG).install debian/$(GFSD_GSI_PKG).install + ln -s $(DEV_PKG).install debian/$(DEV_GSI_PKG).install + ln -s $(LIBS_PKG).install debian/$(LIBS_GSI_PKG).install + + ln -s $(CLIENT_PKG).links debian/$(CLIENT_GSI_PKG).links + + ln -s $(GFMD_PKG).docs debian/$(GFMD_GSI_PKG).docs + ln -s $(GFSD_PKG).docs debian/$(GFSD_GSI_PKG).docs + + ln -s $(GFMD_PKG).init debian/$(GFMD_GSI_PKG).$(GFMD_PKG).init + ln -s $(GFSD_PKG).init debian/$(GFSD_GSI_PKG).$(GFSD_PKG).init + + ln -s $(GFMD_PKG).conffiles debian/$(GFMD_GSI_PKG).conffiles + ln -s $(GFSD_PKG).conffiles debian/$(GFSD_GSI_PKG).conffiles + + ln -s $(CLIENT_PKG).manpages debian/$(CLIENT_GSI_PKG).manpages + ln -s $(GFPTOOL_PKG).manpages debian/$(GFPTOOL_GSI_PKG).manpages + ln -s $(GFMD_PKG).manpages debian/$(GFMD_GSI_PKG).manpages + ln -s $(GFSD_PKG).manpages debian/$(GFSD_GSI_PKG).manpages + ln -s $(DEV_PKG).manpages debian/$(DEV_GSI_PKG).manpages +endif + + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + +# Add here commands to compile the package. +ifeq ($(non-globus),yes) + cd build && $(MAKE) +endif +ifeq ($(globus),yes) + cd build_gsi && $(MAKE) +endif + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + +# Add here commands to clean up after the build process. + -rm -f configure-stamp + -rm -rf build build_gsi + find . -name '*.o' -o -name '_libs' -o -name '*.lo' -o -name '*.a' -o -name '.deps' | xargs rm -rf + -rm -rf debian/tmp_gsi debian/tmp_nogsi debian/tmp + + -rm -f debian/$(GFSD_PKG).docs + + rm -f debian/$(CLIENT_GSI_PKG).install + rm -f debian/$(GFPTOOL_GSI_PKG).install + rm -f debian/$(GFMD_GSI_PKG).install + rm -f debian/$(GFSD_GSI_PKG).install + rm -f debian/$(DEV_GSI_PKG).install + rm -f debian/$(LIBS_GSI_PKG).install + + -rm -f debian/$(CLIENT_GSI_PKG).links + + -rm -f debian/$(GFMD_GSI_PKG).docs + -rm -f debian/$(GFSD_GSI_PKG).docs + + -rm -f debian/{$(GFMD_GSI_PKG).$(GFMD_PKG),$(GFSD_GSI_PKG).$(GFSD_PKG)}.init + + rm -f debian/$(GFMD_GSI_PKG).conffiles + rm -f debian/$(GFSD_GSI_PKG).conffiles + + rm -f debian/$(CLIENT_GSI_PKG).manpages + rm -f debian/$(GFPTOOL_GSI_PKG).manpages + rm -f debian/$(GFMD_GSI_PKG).manpages + rm -f debian/$(GFSD_GSI_PKG).manpages + rm -f debian/$(DEV_GSI_PKG).manpages + +#### FIEXME + rm -f debian/gf{s,m}d-gsi.p* + + dh_clean + + cp debian/control.common debian/control + cat debian/control.non-gsi >> debian/control + +install: DH_OPTIONS= +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + +# Add here commands to install the package into debian/tmp. +ifeq ($(non-globus),yes) + cd build && $(MAKE) install prefix=`pwd`/../debian/tmp/usr \ + default_libexecdir=`pwd`/../debian/tmp/usr/lib/gfarm +endif +ifeq ($(globus),yes) + cd build_gsi && $(MAKE) install prefix=`pwd`/../debian/tmp_gsi/usr \ + default_libexecdir=`pwd`/../debian/tmp_gsi/usr/lib/gfarm +endif + +# LICENSE file is stored in debian/copyright (Debian policy) + rm -f debian/tmp/usr/share/doc/gfarm/LICENSE + mv debian/tmp/usr/share/doc/gfarm debian/tmp/usr/share/doc/gfarm-doc + +# hoax gfarm's Makefile. + for tmp_dir in $(tmpdirs); do \ + install -d debian/$$tmp_dir/etc/init.d/; \ + install -m 444 doc/conf/gfarm.conf debian/$$tmp_dir/etc/; \ + install -d debian/$$tmp_dir/usr/share/doc/gfarm/; \ + install debian/gfmd.init debian/$$tmp_dir/etc/init.d/gfmd; \ + install -d debian/$$tmp_dir/etc/ldap/schema/; \ + install -d debian/$$tmp_dir/usr/share/gfarm/config; \ + install -d debian/$$tmp_dir/etc/default/; \ + install -m 644 debian/gfarm-slapd.default debian/$$tmp_dir/etc/default/gfarm-slapd; \ + done + + install -d debian/tmp/usr/share/man + mv debian/tmp/usr/man/ja/ debian/tmp/usr/share/man/ + + dh_install -p$(GFRONT_PKG) +ifeq ($(non-globus),yes) + dh_install -p$(CLIENT_PKG) + dh_install -p$(DOC_PKG) + dh_install -p$(GFPTOOL_PKG) + dh_install -p$(GFMD_PKG) + dh_install -p$(GFSD_PKG) + dh_install -p$(DEV_PKG) + dh_install -p$(LIBS_PKG) + dh_install -p$(AGENT_PKG) +endif + +ifeq ($(build_both),yes) + mv debian/tmp debian/tmp_nogsi + mv debian/tmp_gsi debian/tmp +endif + +ifeq ($(globus),yes) + dh_install -p$(CLIENT_GSI_PKG) + dh_install -p$(GFPTOOL_GSI_PKG) + dh_install -p$(GFMD_GSI_PKG) + dh_install -p$(GFSD_GSI_PKG) + dh_install -p$(DEV_GSI_PKG) + dh_install -p$(LIBS_GSI_PKG) +endif +# -dh_movefiles + +# Build architecture-independent files here. +# Pass -i to all debhelper commands in this target to reduce clutter. +binary-indep: DH_OPTIONS=-i +binary-indep: build install +# Need this version of debhelper for DH_OPTIONS to work. + dh_testversion 1.1.17 + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + +# manpages for gfarm-gfront package + dh_installman -p$(GFRONT_PKG) + +# dh_installexamples +# dh_installmenu +# dh_installemacsen +# dh_installpam +# dh_installinit +# dh_installcron +# dh_installmanpages +# dh_installinfo +# dh_undocumented + dh_installchangelogs + dh_link + dh_compress + dh_fixperms +# You may want to make some executables suid here. +# dh_suidregister + dh_installdeb +# dh_perl + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +# Pass -a to all debhelper commands in this target to reduce clutter. +# binary-arch: DH_OPTIONS=-a +binary-arch: build install +# Need this version of debhelper for DH_OPTIONS to work. + dh_testversion 1.1.17 + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs +# dh_installexamples -pgfmd +# dh_installmenu +# dh_installemacsen +# dh_installpam +ifeq ($(non-globus),yes) + dh_installinit +endif +ifeq ($(globus),yes) + dh_installinit -pgfsd-gsi --name=gfsd + dh_installinit -pgfmd-gsi --name=gfmd +endif +# dh_installcron + dh_installman +# dh_installinfo +# dh_undocumented + dh_installchangelogs +ifeq ($(globus_static),yes) + ifeq ($(non-globus),yes) + for pkg in $(CLIENT_PKG) $(GFPTOOL_PKG) $(GFMD_PKG) $(GFSD_PKG) $(DEV_PKG) $(LIBS_PKG) $(AGENT_PKG); do \ + dh_strip -p$$pkg; \ + done + endif +else + dh_strip +endif + dh_link + dh_compress + dh_fixperms +# You may want to make some executables suid here. +# dh_suidregister + dh_installdeb + dh_makeshlibs +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums +ifeq ($(build_both),yes) + dh_builddeb +else + ifeq ($(non-globus),yes) + for pkg in $(CLIENT_PKG) $(GFPTOOL_PKG) $(GFMD_PKG) $(GFSD_PKG) $(DEV_PKG) $(LIBS_PKG) $(AGENT_PKG); do \ + dh_builddeb -p$$pkg; \ + done + else + for pkg in $(CLIENT_GSI_PKG) $(GFPTOOL_GSI_PKG) $(GFMD_GSI_PKG) $(GFSD_GSI_PKG) $(DEV_GSI_PKG) $(LIBS_GSI_PKG); do \ + dh_builddeb -p$$pkg; \ + done + endif +endif + +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary-arch binary install configure --- /dev/null +++ gfarm-2.4.1/debian.upstream/gfmd.docs @@ -0,0 +1,2 @@ +INSTALL.RPM.en +INSTALL.RPM.ja --- /dev/null +++ gfarm-2.4.1/debian.upstream/gfarm-doc.install @@ -0,0 +1,2 @@ +debian/tmp/usr/share/doc/gfarm-doc/ +debian/tmp/usr/share/man/ja/ --- /dev/null +++ gfarm-2.4.1/debian.upstream/gfarm-client.links @@ -0,0 +1,5 @@ +usr/share/man/man1/gfrun.1 usr/share/man/man1/gfssh.1 +usr/share/man/man1/gfrun.1 usr/share/man/man1/gfsshl.1 +usr/share/man/man1/gfrun.1 usr/share/man/man1/gfrsh.1 +usr/share/man/man1/gfrun.1 usr/share/man/man1/gfrshl.1 + --- /dev/null +++ gfarm-2.4.1/debian.upstream/libgfarm.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/lib*.so.* +debian/tmp/usr/share/gfarm/config/config-gfarm.sysdep --- /dev/null +++ gfarm-2.4.1/debian.upstream/gfarm-gfront.install @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/gfront +debian/tmp/usr/share/java/gfront.jar --- /dev/null +++ gfarm-2.4.1/debian.upstream/gfarm-slapd.init @@ -0,0 +1,189 @@ +#! /bin/sh + +# Kill me on all errors +set -e + +# Stop processing if slapd is not there +[ -x /usr/sbin/slapd ] || exit 0 + +# Source the init script configuration +if [ -f "/etc/default/gfarm-slapd" ]; then + . /etc/default/gfarm-slapd +fi + +# Load the default location of the slapd config file +if [ -z "$SLAPD_CONF" ]; then + SLAPD_CONF="/etc/ldap/slapd.conf" +else + SLAPD_OPTIONS="-f $SLAPD_CONF $SLAPD_OPTIONS" + SLURPD_OPTIONS="-f $SLAPD_CONF $SLURPD_OPTIONS" +fi + +# Stop processing if the config file is not there +if [ ! -r "$SLAPD_CONF" ]; then + cat <&2 +No configuration file was found for slapd at $SLAPD_CONF. +If you have moved the slapd configuration file please modify +/etc/default/slapd to reflect this. If you chose to not +configure slapd during installation then you need to do so +prior to attempting to start slapd. +An example slapd.conf is in /usr/share/slapd +EOF + exit 0 # Should this be 1? +fi + +# Figure out some default settings +# Check wether slurpd should get started +if [ "$SLURPD_START" != "yes" ] && [ "$SLURPD_START" != "no" ]; then + if grep -q '^replica' "$SLAPD_CONF" > /dev/null 2>&1 ; then + SLURPD_START=yes + else + SLURPD_START=no + fi +fi + +# Find out the name of slapd's pid file +if [ -z "$SLAPD_PIDFILE" ]; then + SLAPD_PIDFILE=`sed -ne 's/^pidfile[[:space:]]\+\(.\+\)/\1/p' \ + "$SLAPD_CONF"` +fi + +# XXX: Breaks upgrading if there is no pidfile (invoke-rc.d stop will fail) +# -- Torsten +if [ -z "$SLAPD_PIDFILE" ]; then + cat <&2 +The pidfile for slapd is neither specified in "$SLAPD_CONF" nor +in /etc/default/slapd. Consequently, slapd will not be started. +EOF + exit 1 +fi + +# Pass the user and group to run under to slapd +if [ "$SLAPD_USER" ]; then + SLAPD_OPTIONS="-u $SLAPD_USER $SLAPD_OPTIONS" +fi + +if [ "$SLAPD_GROUP" ]; then + SLAPD_OPTIONS="-g $SLAPD_GROUP $SLAPD_OPTIONS" +fi + +# Tell the user that something went wrong and give some hints for +# resolving the problem. +report_failure() { + if [ -n "$reason" ]; then + echo " - failed: " + echo "$reason" + else + echo " - failed." + cat <&1`" + else + reason="`start-stop-daemon --start --quiet --oknodo \ + --pidfile "$SLAPD_PIDFILE" \ + --exec /usr/sbin/slapd -- -h "$SLAPD_SERVICES" $SLAPD_OPTIONS 2>&1`" + fi +} + +# Start the slurpd daemon and capture the error message if any to +# $reason. +start_slurpd() { + if [ "$SLURPD_START" != yes ]; then + return 0 + fi + echo -n " slurpd" + reason="`start-stop-daemon --start --quiet --oknodo \ + --exec /usr/sbin/slurpd -- $SLURPD_OPTIONS 2>&1`" +} + +# Stop the slapd daemon and capture the error message (if any) to +# $reason. +stop_slapd() { + echo -n " slapd" + reason="`start-stop-daemon --stop --quiet --oknodo --retry 10 \ + --pidfile "$SLAPD_PIDFILE" \ + --exec /usr/sbin/slapd 2>&1`" +} + +# Stop the slurpd daemon and capture the error message (if any) to +# $reason. +stop_slurpd() { + if [ "$SLURPD_START" != yes ]; then + return 0 + fi + echo -n " slurpd" + reason="`start-stop-daemon --stop --quiet --oknodo --retry 10 \ + --exec /usr/sbin/slurpd 2>&1`" +} + +# Start the OpenLDAP daemons +start() { + echo -n "Starting OpenLDAP:" + trap 'report_failure' 0 + start_slapd + start_slurpd + trap "-" 0 + echo . +} + +# Stop the OpenLDAP daemons +stop() { + echo -n "Stopping OpenLDAP:" + trap 'report_failure' 0 + stop_slurpd + stop_slapd + trap "-" 0 + echo . +} + +case "$1" in + start) + start ;; + stop) + stop ;; + restart|force-reload) + stop + start + ;; + *) + echo "Usage: $0 {start|stop|restart|force-reload}" + exit 1 + ;; +esac --- /dev/null +++ gfarm-2.4.1/debian.upstream/gfmd.manpages @@ -0,0 +1,3 @@ +man/man1/gfusage.1 +man/man5/gfarm.conf.5 +man/man8/gfmd.8 --- /dev/null +++ gfarm-2.4.1/debian.upstream/gfarm-gfront.manpages @@ -0,0 +1 @@ +man/man1/gfront.1 --- /dev/null +++ gfarm-2.4.1/debian.upstream/copyright @@ -0,0 +1,34 @@ +This package was debianized by Yasuhito Takamiya on +Mon, 10 Sep 2001 02:57:35 +0900. + +It was downloaded from http://datafarm.apgrid.org/index.en.html + +Upstream Author: +Osamu Tatebe and collaborators High Energy +Accelerator Research Organization (KEK), National Institute of +Advanced Industrial Science and Technology (AIST), the University of +Tokyo, and Tokyo Institute of Technology. + +Copyright: +Copyright (c) 2003, 2004, 2005 National Institute of Advanced +Industrial Science and Technology (AIST). All Rights Reserved. + +The authors hereby grant permission to use, copy, modify, and +distribute this software and its documentation for any purpose, +provided that existing copyright notices are retained in all copies +and that this notice is included verbatim in any distributions. The +name of AIST may not be used to endorse or promote products derived +from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, ITS +DOCUMENTATION, OR ANY DERIVATIVES THEREOF, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. --- /dev/null +++ gfarm-2.4.1/debian.upstream/gfarm-gfptool.manpages @@ -0,0 +1 @@ +man/man1/gfgrep.1 --- /dev/null +++ gfarm-2.4.1/debian.upstream/libgfarm-dev.manpages @@ -0,0 +1,50 @@ +man/man3/gfarm.3 +man/man3/gfarm_initialize.3 +man/man3/gfarm_strings_free_deeply.3 +man/man3/gfarm_terminate.3 +man/man3/gfarm_url_fragments_replicate.3 +man/man3/gfarm_url_hosts_schedule.3 +man/man3/gfarm_url_section_replicate_from_to.3 +man/man3/gfarm_url_section_replicate_to.3 +man/man3/gfs_chdir.3 +man/man3/gfs_chmod.3 +man/man3/gfs_closedir.3 +man/man3/gfs_glob.3 +man/man3/gfs_glob_add.3 +man/man3/gfs_glob_free.3 +man/man3/gfs_glob_init.3 +man/man3/gfs_mkdir.3 +man/man3/gfs_opendir.3 +man/man3/gfs_pio_close.3 +man/man3/gfs_pio_create.3 +man/man3/gfs_pio_datasync.3 +man/man3/gfs_pio_eof.3 +man/man3/gfs_pio_error.3 +man/man3/gfs_pio_flush.3 +man/man3/gfs_pio_getc.3 +man/man3/gfs_pio_getline.3 +man/man3/gfs_pio_gets.3 +man/man3/gfs_pio_open.3 +man/man3/gfs_pio_putc.3 +man/man3/gfs_pio_putline.3 +man/man3/gfs_pio_puts.3 +man/man3/gfs_pio_read.3 +man/man3/gfs_pio_readdelim.3 +man/man3/gfs_pio_readline.3 +man/man3/gfs_pio_seek.3 +man/man3/gfs_pio_set_local.3 +man/man3/gfs_pio_set_view_index.3 +man/man3/gfs_pio_set_view_local.3 +man/man3/gfs_pio_sync.3 +man/man3/gfs_pio_truncate.3 +man/man3/gfs_pio_ungetc.3 +man/man3/gfs_pio_write.3 +man/man3/gfs_readdir.3 +man/man3/gfs_realpath.3 +man/man3/gfs_rename.3 +man/man3/gfs_rmdir.3 +man/man3/gfs_stat.3 +man/man3/gfs_stat_free.3 +man/man3/gfs_unlink.3 +man/man3/gfs_unlink_section.3 +man/man3/gfs_utimes.3 --- /dev/null +++ gfarm-2.4.1/debian.upstream/README.Debian @@ -0,0 +1,28 @@ +gfarm for Debian +------------------ + +Gfarm is a reference implementation of the Grid Datafarm that is +designed for facilitating reliable file sharing and high-performance +distributed and parallel data computing in a Grid across +administrative domains by providing a Grid file system. A Grid file +system is a virtual file system that federates multiple file systems. +It is possible to share files or data by mounting the virtual file +system. Please see http://datafarm.apgrid.org/ for details. + +Configuratoin +============= +Gfarm packages are built by + + debuild -eGLOBUS_PREFIX=$GLOBUS_LOCATION -eGFARM_CONFIGURE_OPTION=--with-globus-static -eBUILD_BOTH + +to link statistically with globus toolkit binaries. If you have globus +tool kit libraries and want to build debian package for yourself, you +can build "debuild".And if you want to build with MPI libraries, please +add configure option to debian/rules file. + +NOTE +==== +The pdiff and pcat commands are not included in binary package due to conflict with +a2ps and tct packages, respectively. + + -- Naotaka YAMAMOTO , Mon, 23 May 2005 16:24:00 +0900 --- /dev/null +++ gfarm-2.4.1/debian.upstream/changelog @@ -0,0 +1,195 @@ +gfarm (1:1.4-1) unstable; urgency=low + + * New upstream release + + -- Naotaka YAMAMOTO Mon, 13 Nov 2006 00:00:00 +0900 + +gfarm (1:1.3.1-1) unstable; urgency=low + + * New upstream release + + -- Naotaka YAMAMOTO Thu, 27 Jul 2006 12:43:45 +0900 + +gfarm (1:1.3-1) unstable; urgency=low + + * New upstream release + + -- Naotaka YAMAMOTO Mon, 29 May 2006 17:47:38 +0900 + +gfarm (1:1.2.9-1) unstable; urgency=low + + * New upstream release + + -- Naotaka YAMAMOTO Mon, 23 Jan 2006 11:27:54 +0900 + +gfarm (1:1.2-2) unstable; urgency=low + + * New upstream release, version number is still 1.2 + + -- Naotaka YAMAMOTO Mon, 12 Sep 2005 05:41:27 +0900 + +gfarm (1:1.2-1) unstable; urgency=low + + * New upstream release + + -- Naotaka YAMAMOTO Mon, 22 Aug 2005 16:08:00 +0900 + +gfarm (1:1.1.1-2) unstable; urgency=low + + * changed build environments (Bug#14) + * fixed some problems to build package + + -- Naotaka YAMAMOTO Thu, 2 Jun 2005 10:40:48 +0900 + +gfarm (1:1.1.1-1) unstable; urgency=low + + * New upstream release + * added some manpages + + -- Naotaka YAMAMOTO Wed, 13 Apr 2005 09:06:42 +0900 + +gfarm (1:1.1.0-2) unstable; urgency=low + + * fixed invalid dependencies + + -- Naotaka YAMAMOTO Mon, 14 Mar 2005 14:52:24 +0900 + +gfarm (1:1.1.0-1) unstable; urgency=low + + * New upstream release + + -- Naotaka YAMAMOTO Wed, 16 Feb 2005 13:36:17 +0900 + +gfarm (1:1.0.4-1) unstable; urgency=low + + * New upstream release + + -- Naotaka YAMAMOTO Tue, 24 Aug 2004 16:56:30 +0900 + +gfarm (1:1.0.3.1-1) unstable; urgency=low + + * upstream release + + -- Naotaka YAMAMOTO Mon, 5 Jul 2004 13:49:12 +0900 + +gfarm (1:1.0.3-1) unstable; urgency=low + + * upstream release + + -- Naotaka YAMAMOTO Thu, 13 May 2004 15:54:04 +0900 + +gfarm (1:1.0.2-1) unstable; urgency=low + + * upstream release version 1.0.1 + + -- Naotaka YAMAMOTO Mon, 12 Apr 2004 11:26:58 +0900 + +gfarm (1:1.0.1-1) unstable; urgency=low + + * upstream release version 1.0.1 + + -- Naotaka YAMAMOTO Fri, 5 Dec 2003 12:17:57 +0900 + +gfarm (1:1.0-1) unstable; urgency=low + + * upstream release version 1.0 + + -- Naotaka YAMAMOTO Tue, 25 Nov 2003 13:00:00 +0900 + +gfarm (1.0b5-1) unstable; urgency=low + + * new beta release + + -- Naotaka YAMAMOTO Fri, 3 Oct 2003 10:30:01 +0900 + +gfarm (1.0b4-2) unstable; urgency=low + + * fixed a miss packaging for gfarm-client + + -- Naotaka YAMAMOTO Wed, 10 Sep 2003 13:54:32 +0900 + +gfarm (1.0b4-1) unstable; urgency=low + + * new beta release + + -- Naotaka YAMAMOTO Fri, 5 Sep 2003 06:08:03 +0900 + +gfarm (1.0b3-2) unstable; urgency=low + + * gfront.jar was not in previous gfarm-gfront package + + -- Naotaka YAMAMOTO Fri, 22 Aug 2003 00:14:20 +0900 + +gfarm (1.0b3-1) unstable; urgency=low + + * new beta version was released + + -- Naotaka YAMAMOTO Wed, 20 Aug 2003 17:00:00 +0900 + +gfarm (1.0b2-1) unstable; urgency=low + + * new beta version was released + + -- Naotaka YAMAMOTO Mon, 19 May 2003 11:51:20 +0900 + +gfarm (1.0b1-4) unstable; urgency=low + + * fixed some bugs in these packages + * missing directory in gfarm-doc + * japanese manpages were installed in default path + * rewriten init.d script for gfmd and gfsd + + -- Naotaka YAMAMOTO Wed, 14 May 2003 10:22:22 +0900 + +gfarm (1.0b1-3) unstable; urgency=low + + * faild dependencies + + -- Naotaka YAMAMOTO Mon, 28 Apr 2003 15:13:12 +0900 + +gfarm (1.0b1-2) unstable; urgency=low + + * change package name to gfarm-gfptool from gfarm + * build --with-globus packages + + -- Naotaka YAMAMOTO Mon, 28 Apr 2003 10:57:22 +0900 + +gfarm (1.0b1-1) unstable; urgency=low + + * beta release version + + -- Naotaka YAMAMOTO Sat, 26 Apr 2003 01:38:57 +0900 + +gfarm (0.0.cvs20030409-1) unstable; urgency=low + + * new cvs version and re-packaging. + * added libssl-dev, libldap2-dev to Build-Depends. + * removal of gfarm-doc.files. + * removal of {libgfarm-dev,gfarm-server,gfarm-client,gfarm-doc}.dirs. + * removed gfarm-pool.* + * removed gfarm-fsnode.{conffiles,install,dirs}. + * divided gfarm package into gfarm, gfarmd and gfmd package. + * gfarm-fnode -> gfsd. + * reasonable sections for all packages. + + -- Yasuhito Takamiya Wed, 9 Apr 2003 00:30:29 +0900 + +gfarm (0.0.cvs20030404-1) unstable; urgency=low + + * correct debuild failure + + -- Naotaka YAMAMOTO Fri, 4 Apr 2003 16:09:56 +0900 + +gfarm (0.0.cvs20021101-1) unstable; urgency=low + + * New upstream release. + + -- Yasuhito Takamiya Fri, 1 Nov 2002 17:57:31 +0900 + +gfarm (0.0.cvs20021005-1) unstable; urgency=low + + * cvs 20021005 release. + + -- Yasuhito Takamiya Fri, 1 Nov 2002 17:56:29 +0900 + + --- /dev/null +++ gfarm-2.4.1/debian.upstream/gfarm-gfptool.install @@ -0,0 +1,8 @@ +debian/tmp/usr/bin/gfcombine +debian/tmp/usr/bin/gfcombine_hook +debian/tmp/usr/bin/gfcp +debian/tmp/usr/bin/gfcp_hook +debian/tmp/usr/bin/gfgrep +debian/tmp/usr/lib/gfarm/gfrepbe_client +debian/tmp/usr/lib/gfarm/gfrepbe_server +debian/tmp/usr/sbin/gfregister --- /dev/null +++ gfarm-2.4.1/debian.upstream/gfmd.postinst @@ -0,0 +1,11 @@ +#!/bin/sh -e + +. /usr/share/debconf/confmodule + +echo 'Run /usr/bin/config-gfarm, if you want to setup gfmd and slapd +for Gfarm filesystem metadata server. Please see +/usr/share/doc/gfmd/INSTALL.RPM.* for more details.' >&2 + +db_stop || true + +#DEBHELPER# --- /dev/null +++ gfarm-2.4.1/debian.upstream/control.non-gsi @@ -0,0 +1,62 @@ +Package: gfarm-gfptool +Section: utils +Architecture: i386 amd64 +Depends: gfarm-client (= ${Source-Version}) +Conflicts: gfarm-gsi-gfptool +Description: Parallel tools installed under the Gfarm filesystem + Registration the Gfarm parallel commands such as a parallel file copy command + and a parallel grep command to the Gfarm filesystem by the + 'gfregister' command. + +Package: gfmd +Section: net +Architecture: i386 amd64 +Depends: libgfarm (= ${Source-Version}) +Suggests: gfarm-agent, postgresql, slapd +Conflicts: gfmd-gsi +Description: The Gfarm metadata server + The Gfarm filesystem metadata server for accessing + filesystem metadata of the Gfarm filesystem. + +Package: gfarm-client +Section: utils +Architecture: i386 amd64 +Depends: libgfarm (= ${Source-Version}) +Conflicts: gfarm-gsi-client +Description: The Gfarm clients + This package contains client programs for the Gfarm. + +Package: gfarm-agent +Section: utils +Architecture: i386 +Depends: libgfarm (= ${Source-Version}) +Description: Metadata cache server for Gfarm + metadata cache server for gfarm + +Package: gfsd +Section: net +Architecture: i386 amd64 +Depends: libgfarm (= ${Source-Version}), gfarm-client (= ${Source-Version}) +Conflicts: gfsd-gsi +Description: The Gfarm filesystem daemon + A filesystem daemon for the Gfarm filesystem, + which has been running on every filesystem node, + usually, with a root privilege. + +Package: libgfarm +Section: libs +Architecture: i386 amd64 +Depends: libssl0.9.7 | libssl0.9.6, libldap2 +Conflicts: libgfarm-gsi +Description: Runtime libraries for the Gfarm + libgfarm is a library implementing interfaces for reading and writing + files on the Gfarm filesystem. + +Package: libgfarm-dev +Section: devel +Architecture: i386 amd64 +Depends: libgfarm (= ${Source-Version}) +Conflicts: libgfarm-gsi-dev +Description: Development files for the Gfarm + Install this package if you wish to develop your own programs using + the Gfarm filesystem library. --- /dev/null +++ gfarm-2.4.1/debian.upstream/gfsd.manpages @@ -0,0 +1,2 @@ +man/man1/gfexec.1 +man/man8/gfsd.8 --- /dev/null +++ gfarm-2.4.1/debian.upstream/gfsd.install @@ -0,0 +1,10 @@ +debian/tmp/usr/bin/config-gfsd +debian/tmp/usr/bin/gfarm.arch.guess +debian/tmp/usr/bin/gfexec +debian/tmp/usr/bin/gfsplck +debian/tmp/usr/bin/thput-gfpio +debian/tmp/usr/sbin/gfsd +debian/tmp/usr/share/gfarm/config/linux/debian/gfsd.in +debian/tmp/usr/share/gfarm/config/linux/default/gfsd.in +debian/tmp/usr/share/gfarm/config/linux/redhat/gfsd.in +debian/tmp/usr/share/gfarm/config/linux/suse/gfsd.in --- /dev/null +++ gfarm-2.4.1/debian.upstream/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin --- /dev/null +++ gfarm-2.4.1/debian.upstream/gfsd.postinst @@ -0,0 +1,11 @@ +#!/bin/sh -e + +. /usr/share/debconf/confmodule + +echo 'Run /usr/bin/config-gfsd, if you want to setup gfsd +for Gfarm filesystem filesysm node. Please see +/usr/share/doc/gfsd/INSTALL.RPM.* for more details.' >&2 + +db_stop || true + +#DEBHELPER# debian/patches/06_host_os_nickname.patch0000664000000000000000000000215211403331624015465 0ustar Description: Workaround for incorrect host_os_name (on hurd-i386/kfreebsd-*) Note that original code is somewhat broken completely, it call GNU system "Linux". Apparently, GNU/Hurd or GNU/kfreebsd never uses Linux kernel at all. Author: NIIBE Yutaka Last-Update: 2010-06-08 Index: gfarm-2.3.1/configure.ac =================================================================== --- gfarm-2.3.1.orig/configure.ac 2010-06-08 12:05:26.000000000 +0900 +++ gfarm-2.3.1/configure.ac 2010-06-08 12:05:26.000000000 +0900 @@ -12,9 +12,26 @@ AC_CANONICAL_HOST # "linux-gnu" -> "linux", "netbsdelf" -> "netbsd", "osf5.1b" -> "osf1" -host_os_nickname=`echo $host_os | - sed -e 's/-.*//' -e 's/[[0-9.]]*$//' \ - -e 's/^netbsdelf$/netbsd/' -e 's/osf[0-9].*/osf1/'` +case $host_os in + linux-gnu*) + host_os_nickname=linux + ;; + kfreebsd-gnu) + host_os_nickname=linux + ;; + gnu*) + host_os_nickname=linux + ;; + netbsdelf) + host_os_nickname=netbsd + ;; + osd5.1b) + host_os_nickname=osf1 + ;; + *) + host_os_nickname=$host_os + ;; +esac ###### ###### Checks for programs. debian/patches/03_libtool_clean_does_not_work_well.patch0000664000000000000000000000116211403331553020725 0ustar Description: libtool clean doesn't work well. Thus, we need this change. Author: NIIBE Yutaka Last-Update: 2010-06-08 --- gfarm-2.3.0.orig/makes/lib.mk 2010-03-30 01:40:08.000000000 +0900 +++ gfarm-2.3.0/makes/lib.mk 2010-06-08 12:04:22.000000000 +0900 @@ -35,8 +35,7 @@ lib-veryclean: clean private-finalize -test -z "$(EXTRA_VERYCLEAN_TARGETS)" || $(LTCLEAN) $(EXTRA_VERYCLEAN_TARGETS) -test -z "$(LIBRARY)" || $(LTCLEAN) $(LIBRARY) - -test -z "$(LIBRARY_RESULT)" || $(LTCLEAN) $(LIBRARY_RESULT) - + -rm -rf .libs lib-distclean: veryclean -test ! -f $(srcdir)/Makefile.in || $(RM) -f Makefile debian/patches/04_MAXPATHLEN.patch0000664000000000000000000000071211371707307013612 0ustar Description: Workaround for no MAXPATHLEN definition (on hurd-i386) Author: NIIBE Yutaka Last-Update: 2010-05-10 --- gfarm-2.3.0.orig/lib/gfs_hook/getcwd.c 2009-08-24 00:04:33.000000000 +0900 +++ gfarm-2.3.0/lib/gfs_hook/getcwd.c 2010-05-10 13:40:00.000000000 +0900 @@ -98,6 +98,10 @@ #define d_fileno d_ino #endif +#if !defined(MAXPATHLEN) +#define MAXPATHLEN 1024 +#endif + char * gfs_hook_syscall_getcwd(char *pt, size_t size) { debian/patches/07_MAXHOSTNAMELEN.patch0000664000000000000000000000124511413242156014272 0ustar Description: Workaround for no MAXHOSTNAMELEN definition (on hurd-i386) Author: NIIBE Yutaka Last-Update: 2010-07-02 Index: gfarm-2.3.2/lib/libgfarm/gfarm/host.c =================================================================== --- gfarm-2.3.2.orig/lib/libgfarm/gfarm/host.c 2010-07-02 10:27:53.000000000 +0900 +++ gfarm-2.3.2/lib/libgfarm/gfarm/host.c 2010-07-02 10:27:55.000000000 +0900 @@ -32,6 +32,10 @@ #include "gfm_client.h" #include "host.h" +#ifndef MAXHOSTNAMELEN +#define MAXHOSTNAMELEN 256 +#endif + static gfarm_error_t host_info_get_by_name_alias(struct gfm_connection *gfm_server, const char *hostname, struct gfarm_host_info *info) debian/patches/05_PATH_MAX.patch0000664000000000000000000000104011526164023013400 0ustar Description: Workaround for no PATH_MAX definition (on hurd-i386) Author: NIIBE Yutaka Last-Update: 2011-02-14 Index: gfarm-2.4.1/include/gfarm/gfarm_misc.h =================================================================== --- gfarm-2.4.1.orig/include/gfarm/gfarm_misc.h 2010-12-31 09:37:35.000000000 +0900 +++ gfarm-2.4.1/include/gfarm/gfarm_misc.h 2011-02-14 17:29:28.000000000 +0900 @@ -1,3 +1,6 @@ +#if !defined(PATH_MAX) +#define PATH_MAX 1024 +#endif /* * $Id: gfarm_misc.h 5015 2010-12-30 04:23:02Z n-soda $ */ debian/gfarm-client.manpages_ja0000664000000000000000000000112311473100172013720 0ustar man/ja/man1/gfchgrp.1 man/ja/man1/gfchmod.1 man/ja/man1/gfchown.1 man/ja/man1/gfdf.1 man/ja/man1/gfexport.1 man/ja/man1/gffindxmlattr.1 man/ja/man1/gfgroup.1 man/ja/man1/gfhost.1 man/ja/man1/gfkey.1 man/ja/man1/gfln.1 man/ja/man1/gfls.1 man/ja/man1/gfmkdir.1 man/ja/man1/gfmv.1 man/ja/man1/gfreg.1 man/ja/man1/gfrep.1 man/ja/man1/gfrm.1 man/ja/man1/gfrmdir.1 man/ja/man1/gfrsh.1 man/ja/man1/gfrun.1 man/ja/man1/gfsched.1 man/ja/man1/gfssh.1 man/ja/man1/gfstat.1 man/ja/man1/gfstatus.1 man/ja/man1/gfusage.1 man/ja/man1/gfuser.1 man/ja/man1/gfwhere.1 man/ja/man1/gfwhoami.1 man/ja/man1/gfxattr.1 debian/watch0000664000000000000000000000006511372127456010232 0ustar version=3 http://sf.net/gfarm/gfarm-(2\..*)\.tar\.gz debian/gfsd.install0000664000000000000000000000046711336445735011525 0ustar debian/tmp/usr/bin/config-gfsd debian/tmp/usr/bin/gfarm.arch.guess debian/tmp/usr/sbin/gfsd debian/tmp/usr/share/gfarm/config/linux/debian/gfsd.in debian/tmp/usr/share/gfarm/config/linux/default/gfsd.in debian/tmp/usr/share/gfarm/config/linux/redhat/gfsd.in debian/tmp/usr/share/gfarm/config/linux/suse/gfsd.in debian/gfarm-client.links0000664000000000000000000000033311244255121012576 0ustar usr/share/man/man1/gfrun.1 usr/share/man/man1/gfssh.1 usr/share/man/man1/gfrun.1 usr/share/man/man1/gfsshl.1 usr/share/man/man1/gfrun.1 usr/share/man/man1/gfrsh.1 usr/share/man/man1/gfrun.1 usr/share/man/man1/gfrshl.1 debian/gfsd.init0000664000000000000000000000257411337171646011021 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: gfsd # Required-Start: $local_fs $remote_fs $network $time # Required-Stop: $local_fs $remote_fs $network $time # Should-Start: $syslog # Should-Stop: $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Gfarm filesystem node daemon ### END INIT INFO PATH=/sbin:/bin:/usr/sbin:/usr/bin DESC="Gfarm filesystem node daemon" NAME=gfsd DAEMON=/usr/sbin/$NAME PIDFILE=/var/run/$NAME.pid SCRIPTNAME=$NAME CONFIG=/etc/gfarm2.conf OPTIONS= test -f $DAEMON || exit 0 test -f $CONFIG || exit 0 . /lib/lsb/init-functions case "$1" in start) log_daemon_msg "Starting $DESC: $NAME" start-stop-daemon --quiet --start \ --pidfile $PIDFILE --exec $DAEMON -- -P $PIDFILE $OPTIONS case "$?" in 0) log_end_msg 0 ;; 1) log_progress_msg "already started" log_end_msg 0 ;; *) log_end_msg 1 ;; esac ;; stop) log_daemon_msg "Stopping $DESC" "$NAME" start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $DAEMON case "$?" in 0) log_end_msg 0 ;; 1) log_progress_msg "already stopped" log_end_msg 0 ;; *) log_end_msg 1 ;; esac ;; restart|force-reload) $0 stop $0 start ;; status) status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $? ;; *) echo "Usage: /etc/init.d/$SCRIPTNAME {start|stop|restart|force-reload|status}" >&2 exit 1 ;; esac exit 0 debian/libgfarm-dev.install0000664000000000000000000000015611403342603013115 0ustar debian/tmp/usr/lib/lib*.a debian/tmp/usr/lib/lib*.la debian/tmp/usr/include/gfarm/ debian/tmp/usr/lib/lib*.so debian/control0000664000000000000000000001071412277407634010612 0ustar Source: gfarm Section: net Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: NIIBE Yutaka Build-Depends: quilt (>= 0.46-7~), debhelper (>= 7.0.50~), autotools-dev, libssl-dev, libldap2-dev, libpq-dev, postgresql, autoconf (>= 2.50), libtool Standards-Version: 3.9.1 Uploaders: Osamu Tatebe , Noriyuki SODA DM-Upload-Allowed: yes Homepage: http://datafarm.apgrid.org/ Package: gfarm-doc Section: doc Depends: ${misc:Depends} Architecture: all Description: Gfarm file system documentation The Gfarm file system is designed to turn commodity PCs into nodes of a distributed storage network, implementing the Grid Datafarm architecture for global petascale data-intensive computing. It solves performance and reliability problems in NFS and AFS by means of multiple file replicas, and not only prevents performance degradation due to access concentration, but also supports fault tolerance and disaster recovery. . This package provides documentation for Gfarm. Package: libgfarm1 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Gfarm file system runtime library The Gfarm file system is designed to turn commodity PCs into nodes of a distributed storage network, implementing the Grid Datafarm architecture for global petascale data-intensive computing. It solves performance and reliability problems in NFS and AFS by means of multiple file replicas, and not only prevents performance degradation due to access concentration, but also supports fault tolerance and disaster recovery. . This package provides the shared library required for accessing files via Gfarm. Package: libgfarm-dev Section: libdevel Architecture: any Depends: libgfarm1 (= ${binary:Version}), ${misc:Depends} Conflicts: libgfarm-dev Description: Gfarm file system development files The Gfarm file system is designed to turn commodity PCs into nodes of a distributed storage network, implementing the Grid Datafarm architecture for global petascale data-intensive computing. It solves performance and reliability problems in NFS and AFS by means of multiple file replicas, and not only prevents performance degradation due to access concentration, but also supports fault tolerance and disaster recovery. . This package provides the static library, header files, and man pages required for Gfarm development. Package: gfmd Section: net Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: gfarm-doc, postgresql, slapd Description: Gfarm file system metadata server The Gfarm file system is designed to turn commodity PCs into nodes of a distributed storage network, implementing the Grid Datafarm architecture for global petascale data-intensive computing. It solves performance and reliability problems in NFS and AFS by means of multiple file replicas, and not only prevents performance degradation due to access concentration, but also supports fault tolerance and disaster recovery. . This package provides the Gfarm metadata server, which equips a host to function as a server node managing file system metadata. Package: gfsd Section: net Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: gfarm-doc Description: Gfarm file system daemon The Gfarm file system is designed to turn commodity PCs into nodes of a distributed storage network, implementing the Grid Datafarm architecture for global petascale data-intensive computing. It solves performance and reliability problems in NFS and AFS by means of multiple file replicas, and not only prevents performance degradation due to access concentration, but also supports fault tolerance and disaster recovery. . This package provides the Gfarm file system daemon, which equips a host to function as a storage node for the network. Package: gfarm-client Section: utils Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: gfarm-doc Description: Gfarm file system clients The Gfarm file system is designed to turn commodity PCs into nodes of a distributed storage network, implementing the Grid Datafarm architecture for global petascale data-intensive computing. It solves performance and reliability problems in NFS and AFS by means of multiple file replicas, and not only prevents performance degradation due to access concentration, but also supports fault tolerance and disaster recovery. . This package provides client utilities for Gfarm. debian/source/0000775000000000000000000000000011336452115010471 5ustar debian/source/format0000664000000000000000000000001411336452065011703 0ustar 3.0 (quilt) debian/gfarm-doc.docs0000664000000000000000000000064211403342105011674 0ustar README.en README.ja INSTALL.en INSTALL.ja OVERVIEW.en OVERVIEW.ja SETUP.en SETUP.ja RELNOTES doc/Gfarm-FAQ.en doc/Gfarm-FAQ.ja doc/KNOWN_PROBLEMS.en doc/KNOWN_PROBLEMS.ja doc/SETUP.private.en doc/SETUP.private.ja doc/quota.en doc/voms-dev.ja doc/voms-install.ja doc/voms-man.ja doc/xattr-dev.ja doc/xattr-install.ja doc/xattr-man.ja doc/html/en/user/*.html doc/html/ja/user/*.html doc/html/pic/*.gif doc/internal/ja/* debian/compat0000664000000000000000000000000211336435642010375 0ustar 7 debian/rules0000775000000000000000000000250212277407663010265 0ustar #!/usr/bin/make -f # -*- makefile-gmake -*- # # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS %: dh $@ --with quilt,autotools-dev override_dh_auto_clean: dh_auto_clean rm -f configure rm -rf aclocal.m4 makes/ltmain.sh override_dh_auto_configure: cp -p /usr/share/libtool/config/ltmain.sh makes/ltmain.sh (cd /usr/share/aclocal && \ cat libtool.m4 ltoptions.m4 ltversion.m4 ltsugar.m4 lt~obsolete.m4) \ > aclocal.m4 autoconf dh_auto_configure -- CFLAGS='-O2 -g -D_GNU_SOURCE' override_dh_installman: dh_installman --package=gfarm-client $(shell cat debian/gfarm-client.manpages_en) dh_installman --package=gfarm-client \ --language=ja $(shell cat debian/gfarm-client.manpages_ja) dh_installman --package=gfmd $(shell cat debian/gfmd.manpages_en) dh_installman --package=gfmd \ --language=ja $(shell cat debian/gfmd.manpages_ja) dh_installman --package=gfsd $(shell cat debian/gfsd.manpages_en) dh_installman --package=gfsd \ --language=ja $(shell cat debian/gfsd.manpages_ja) dh_installman --package=libgfarm-dev $(shell cat debian/libgfarm-dev.manpages_en) dh_installman --package=libgfarm-dev \ --language=ja $(shell cat debian/libgfarm-dev.manpages_ja) dh_installman --remaining-packages debian/gfmd.init0000664000000000000000000000255011337171677011011 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: gfmd # Required-Start: $local_fs $remote_fs $network $time # Required-Stop: $local_fs $remote_fs $network $time # Should-Start: $syslog # Should-Stop: $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Gfarm filesystem metaserver ### END INIT INFO PATH=/sbin:/bin:/usr/sbin:/usr/bin DESC="Gfarm filesystem metaserver" NAME=gfmd DAEMON=/usr/sbin/$NAME PIDFILE=/var/run/$FILE.pid CONFIG=/etc/gfarm2.conf OPTIONS= test -f $DAEMON || exit 0 test -f $CONFIG || exit 0 . /lib/lsb/init-functions case "$1" in start) log_daemon_msg "Starting $DESC: $NAME" start-stop-daemon --quiet --start \ --pidfile $PIDFILE --exec $DAEMON -- -P $PIDFILE $OPTIONS case "$?" in 0) log_end_msg 0 ;; 1) log_progress_msg "already started" log_end_msg 0 ;; *) log_end_msg 1 ;; esac ;; stop) log_daemon_msg "Stopping $DESC" "$NAME" start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $DAEMON case "$?" in 0) log_end_msg 0 ;; 1) log_progress_msg "already stopped" log_end_msg 0 ;; *) log_end_msg 1 ;; esac ;; restart|force-reload) $0 stop $0 start ;; status) status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $? ;; *) echo "Usage: /etc/init.d/$SCRIPTNAME {start|stop|restart|force-reload|status}" >&2 exit 1 ;; esac exit 0