summaryrefslogtreecommitdiff
path: root/net/istgt
diff options
context:
space:
mode:
authorsborrill <sborrill>2010-03-07 10:51:02 +0000
committersborrill <sborrill>2010-03-07 10:51:02 +0000
commitc2c1d3baac606346ed04e720a1bbb010b3f31fa8 (patch)
tree077c2db2470c8f86209396062b5f81fd09a7e7f4 /net/istgt
parentfe0e324d684b1e7989af71650f5ee22b10f6fddb (diff)
downloadpkgsrc-c2c1d3baac606346ed04e720a1bbb010b3f31fa8.tar.gz
Fix default path to auth file.
Observe PREFIX in istgtcontrol when looking for config file. Bump PKGREVISION
Diffstat (limited to 'net/istgt')
-rw-r--r--net/istgt/Makefile6
-rw-r--r--net/istgt/distinfo4
-rw-r--r--net/istgt/patches/patch-istgt.h14
3 files changed, 15 insertions, 9 deletions
diff --git a/net/istgt/Makefile b/net/istgt/Makefile
index c8f20fa1e0b..60860b2ab13 100644
--- a/net/istgt/Makefile
+++ b/net/istgt/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2010/02/07 11:40:22 sborrill Exp $
+# $NetBSD: Makefile,v 1.3 2010/03/07 10:51:02 sborrill Exp $
#
DISTNAME= istgt-20100125
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.peach.ne.jp/archives/istgt/
@@ -21,7 +21,7 @@ PKG_SYSCONFSUBDIR= istgt
SUBST_CLASSES+= paths
SUBST_MESSAGE.paths= Fixing hardcoded paths.
SUBST_STAGE.paths= pre-configure
-SUBST_FILES.paths= doc/istgt.1 src/istgt.h src/istgtcontrol.h
+SUBST_FILES.paths= doc/istgt.1 src/istgt.h src/istgtcontrol.c
SUBST_SED.paths= -e "s,/usr/local,${PREFIX},"
EG_DIR= ${PREFIX}/share/examples/istgt
diff --git a/net/istgt/distinfo b/net/istgt/distinfo
index 0354c8b3a5d..92ea1dc4826 100644
--- a/net/istgt/distinfo
+++ b/net/istgt/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2010/02/02 16:09:51 sborrill Exp $
+$NetBSD: distinfo,v 1.2 2010/03/07 10:51:02 sborrill Exp $
SHA1 (istgt-20100125.tar.gz) = bfb705c8d3bb6bdaa570e151332aff870c8a240a
RMD160 (istgt-20100125.tar.gz) = 529161792759f01618d6ff90ef81e8d9405cd699
Size (istgt-20100125.tar.gz) = 211958 bytes
-SHA1 (patch-istgt.h) = 3a9e3a8057a51c5c762c39d84986ba4e7bb3b445
+SHA1 (patch-istgt.h) = 5ab6cca7e705bab2ce27a97ec3357f435dbe48e0
SHA1 (patch-istgt_lu.h) = 3146eff6f29e1d2fd0103c7f759cd3f640645374
diff --git a/net/istgt/patches/patch-istgt.h b/net/istgt/patches/patch-istgt.h
index fbd23a571b3..ed718aaf541 100644
--- a/net/istgt/patches/patch-istgt.h
+++ b/net/istgt/patches/patch-istgt.h
@@ -1,8 +1,14 @@
-$NetBSD: patch-istgt.h,v 1.1.1.1 2010/02/02 16:09:51 sborrill Exp $
+$NetBSD: patch-istgt.h,v 1.2 2010/03/07 10:51:02 sborrill Exp $
---- src/istgt.h.orig 2010-02-02 13:49:40.000000000 +0000
-+++ src/istgt.h 2010-02-02 13:51:11.000000000 +0000
-@@ -55,7 +55,11 @@
+--- src/istgt.h.orig 2010-01-25 12:55:45.000000000 +0000
++++ src/istgt.h 2010-02-28 18:51:50.000000000 +0000
+@@ -50,12 +50,16 @@
+
+ #define DEFAULT_CONFIG "/usr/local/etc/istgt/istgt.conf"
+ #define DEFAULT_PIDFILE "/var/run/istgt.pid"
+-#define DEFAULT_AUTHFILE "/usr/local/etc/istgt/auths"
++#define DEFAULT_AUTHFILE "/usr/local/etc/istgt/auth.conf"
+ #define DEFAULT_MEDIAFILE "/usr/local/etc/istgt/media.conf"
#define DEFAULT_LIVEFILE "/usr/local/etc/istgt/istgt.live"
#define DEFAULT_MEDIADIRECTORY "/var/istgt"
//#define DEFAULT_NODEBASE "iqn.2007-09.jp.ne.peach.istgt"