Update to version 20120726.

Major changes:
- Introduce SIGHUP reloading.
- The symlink device can be enabled by '--enable-symlink-device' configure
  option.
- Fix the unknown error under some mutex condition.
- Fix the wrong reservation key handling.
- Use Clang as first choice compiler.
- Use _GNU_SOURCE on linux platform.

Current Limitations of SIGHUP support:
- The parameters other than PG, IG, and LU are not reloaded by SIGHUP.
- PG and IG mapped to LU can't be deleted by SIGHUP.
- If you delete an active LU, all connections of the LU are closed by
  SIGHUP.
- Can't modify LU by SIGHUP.
- Updating IG is not affected until the next login.
This commit is contained in:
sborrill 2012-07-27 13:08:54 +00:00
parent b23a3ceeba
commit bf2c754217
4 changed files with 21 additions and 7 deletions

13
net/istgt/MESSAGE Normal file
View file

@ -0,0 +1,13 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1 2012/07/27 13:08:54 sborrill Exp $
Version 20120726 and later include support for SIGHUP to reload settings
with some limitations:
- The parameters other than PG, IG, and LU are not reloaded by SIGHUP.
- PG and IG mapped to LU can't be deleted by SIGHUP.
- If you delete an active LU, all connections of the LU are closed by
SIGHUP.
- Can't modify LU by SIGHUP.
- Updating IG is not affected until the next login.
===========================================================================

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.9 2011/12/02 08:46:18 sborrill Exp $
# $NetBSD: Makefile,v 1.10 2012/07/27 13:08:54 sborrill Exp $
#
DISTNAME= istgt-20111008
DISTNAME= istgt-20120726
CATEGORIES= net
MASTER_SITES= http://www.peach.ne.jp/archives/istgt/

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.6 2011/12/02 08:46:18 sborrill Exp $
$NetBSD: distinfo,v 1.7 2012/07/27 13:08:54 sborrill Exp $
SHA1 (istgt-20111008.tar.gz) = aa7bc47365763bddf82b4fcdffd659b2cb38a77c
RMD160 (istgt-20111008.tar.gz) = 53600cff38ae715edee533914eb5b91a6df8846e
Size (istgt-20111008.tar.gz) = 235227 bytes
SHA1 (istgt-20120726.tar.gz) = 3eb4d4f38897521e0ca9a58c46d0a2c8725c695f
RMD160 (istgt-20120726.tar.gz) = b8dfb211198130d2e922c5812ac1a26b7935f3fd
Size (istgt-20120726.tar.gz) = 263653 bytes

View file

@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: istgt.sh,v 1.1.1.1 2010/02/02 16:09:51 sborrill Exp $
# $NetBSD: istgt.sh,v 1.2 2012/07/27 13:08:54 sborrill Exp $
#
# PROVIDE: istgt
@ -13,6 +13,7 @@ rcvar=$name
command="@PREFIX@/bin/${name}"
pidfile="/var/run/${name}.pid"
required_files="@PKG_SYSCONFDIR@/istgt.conf"
extra_commands="reload"
load_rc_config $name
run_rc_command "$1"