Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libisns Move libisns to /lib to allow /sbin/iscsid to wo...



details:   https://anonhg.NetBSD.org/src/rev/cf576b24b98b
branches:  trunk
changeset: 368732:cf576b24b98b
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Sun Jul 31 12:40:35 2022 +0000

description:
Move libisns to /lib to allow /sbin/iscsid to work without /usr being
mounted.

diffstat:

 distrib/sets/lists/base/shl.mi  |  11 +++++++----
 distrib/sets/lists/debug/shl.mi |   5 +++--
 lib/libisns/Makefile            |   4 +++-
 3 files changed, 13 insertions(+), 7 deletions(-)

diffs (72 lines):

diff -r ea84037334fa -r cf576b24b98b distrib/sets/lists/base/shl.mi
--- a/distrib/sets/lists/base/shl.mi    Sun Jul 31 12:11:44 2022 +0000
+++ b/distrib/sets/lists/base/shl.mi    Sun Jul 31 12:40:35 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.937 2022/06/06 10:56:27 nia Exp $
+# $NetBSD: shl.mi,v 1.938 2022/07/31 12:40:35 mlelstv Exp $
 #
 # Note:        Don't delete entries from here - mark them as "obsolete" instead,
 #      unless otherwise stated below.
@@ -51,6 +51,9 @@
 ./lib/libipsec.so                              base-net-shlib          dynamicroot
 ./lib/libipsec.so.3                            base-net-shlib          dynamicroot
 ./lib/libipsec.so.3.0                          base-net-shlib          dynamicroot
+./lib/libisns.so                               base-isns-shlib         dynamicroot
+./lib/libisns.so.0                             base-isns-shlib         dynamicroot
+./lib/libisns.so.0.0                           base-isns-shlib         dynamicroot
 ./lib/libkvm.so                                        base-sys-shlib          dynamicroot
 ./lib/libkvm.so.6                              base-sys-shlib          dynamicroot
 ./lib/libkvm.so.6.0                            base-sys-shlib          dynamicroot
@@ -388,9 +391,9 @@
 ./usr/lib/libiscsi.so                          base-iscsi-shlib        iscsi,compatfile
 ./usr/lib/libiscsi.so.2                                base-iscsi-shlib        iscsi,compatfile
 ./usr/lib/libiscsi.so.2.0                      base-iscsi-shlib        iscsi,compatfile
-./usr/lib/libisns.so                           base-isns-shlib         compatfile
-./usr/lib/libisns.so.0                         base-isns-shlib         compatfile
-./usr/lib/libisns.so.0.0                       base-isns-shlib         compatfile
+./usr/lib/libisns.so                           base-isns-shlib         obsolete,compatfile
+./usr/lib/libisns.so.0                         base-isns-shlib         obsolete,compatfile
+./usr/lib/libisns.so.0.0                       base-isns-shlib         obsolete,compatfile
 ./usr/lib/libjemalloc.so                       base-sys-shlib          compatfile
 ./usr/lib/libjemalloc.so.0                     base-sys-shlib          compatfile
 ./usr/lib/libjemalloc.so.0.0                   base-sys-shlib          compatfile
diff -r ea84037334fa -r cf576b24b98b distrib/sets/lists/debug/shl.mi
--- a/distrib/sets/lists/debug/shl.mi   Sun Jul 31 12:11:44 2022 +0000
+++ b/distrib/sets/lists/debug/shl.mi   Sun Jul 31 12:40:35 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.294 2022/06/06 10:56:27 nia Exp $
+# $NetBSD: shl.mi,v 1.295 2022/07/31 12:40:35 mlelstv Exp $
 ./usr/lib/libbfd_g.a                                           comp-c-debuglib debuglib,compatfile,binutils
 ./usr/libdata/debug/lib                                                base-sys-usr    debug,dynamicroot,compatdir
 ./usr/libdata/debug/lib/libavl.so.0.0.debug                    comp-zfs-debug  debug,dynamicroot,zfs
@@ -14,6 +14,7 @@
 ./usr/libdata/debug/lib/libevent.so.4.2.debug                  comp-sys-debug  debug,dynamicroot
 ./usr/libdata/debug/lib/libgcc_s.so.1.0.debug                  comp-sys-debug  debug,dynamicroot,gcc
 ./usr/libdata/debug/lib/libipsec.so.3.0.debug                  comp-sys-debug  debug,dynamicroot
+./usr/libdata/debug/lib/libisns.so.0.0.debug                   comp-isns-debug debug,dynamicroot
 ./usr/libdata/debug/lib/libkvm.so.6.0.debug                    comp-sys-debug  debug,dynamicroot
 ./usr/libdata/debug/lib/liblzf.so.1.0.debug                    comp-sys-debug  debug,dynamicroot
 ./usr/libdata/debug/lib/liblzma.so.2.0.debug                   comp-sys-debug  debug,dynamicroot
@@ -141,7 +142,7 @@
 ./usr/libdata/debug/usr/lib/libisccc.so.18.0.debug             comp-bind-debug debug,compatfile
 ./usr/libdata/debug/usr/lib/libisccfg.so.18.0.debug            comp-bind-debug debug,compatfile
 ./usr/libdata/debug/usr/lib/libiscsi.so.2.0.debug              comp-iscsi-debug        debug,compatfile,iscsi
-./usr/libdata/debug/usr/lib/libisns.so.0.0.debug               comp-isns-debug debug,compatfile
+./usr/libdata/debug/usr/lib/libisns.so.0.0.debug               comp-isns-debug debug,compatfile,obsolete
 ./usr/libdata/debug/usr/lib/libjemalloc.so.0.0.debug           comp-sys-debug  debug,compatfile
 ./usr/libdata/debug/usr/lib/libkadm5clnt.so.14.0.debug         comp-krb5-debug debug,compatfile,kerberos
 ./usr/libdata/debug/usr/lib/libkadm5srv.so.15.0.debug          comp-krb5-debug debug,compatfile,kerberos
diff -r ea84037334fa -r cf576b24b98b lib/libisns/Makefile
--- a/lib/libisns/Makefile      Sun Jul 31 12:11:44 2022 +0000
+++ b/lib/libisns/Makefile      Sun Jul 31 12:40:35 2022 +0000
@@ -1,7 +1,9 @@
-#      $NetBSD: Makefile,v 1.6 2019/10/13 07:28:10 mrg Exp $
+#      $NetBSD: Makefile,v 1.7 2022/07/31 12:40:35 mlelstv Exp $
 
 .include <bsd.own.mk>
 
+USE_SHLIBDIR=   yes
+
 LIB=   isns
 SRCS=  isns.c isns_pdu.c isns_socketio.c isns_task.c isns_thread.c
 SRCS+= isns_util.c isns_fileio.c



Home | Main Index | Thread Index | Old Index