aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2021-06-19 15:49:57 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2021-06-19 15:49:57 +0000
commitc42e9af5f12ef3da0429aacb91119ea31ef146e7 (patch)
tree82321bf8e4b7cce33e1c7843b3ee33412a0b539d
parent081fb644925f9d9a21265e4a4303d4fb2ab807f9 (diff)
downloadsrc-c42e9af5f12ef3da0429aacb91119ea31ef146e7.tar.gz
src-c42e9af5f12ef3da0429aacb91119ea31ef146e7.zip
pkgbase: Move ctld/ctladm to iscsi package
While here only compile both of them if WITH_ISCSI is set (this is the default). Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D30755 Sponsored by: Diablotin Systems
-rw-r--r--usr.sbin/Makefile4
-rw-r--r--usr.sbin/ctladm/Makefile1
-rw-r--r--usr.sbin/ctld/Makefile1
3 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile
index 12285ad1d1fd..6acef31cc23a 100644
--- a/usr.sbin/Makefile
+++ b/usr.sbin/Makefile
@@ -15,8 +15,6 @@ SUBDIR= adduser \
clear_locks \
crashinfo \
cron \
- ctladm \
- ctld \
daemon \
dconschat \
devctl \
@@ -152,7 +150,7 @@ SUBDIR.${MK_INET6}+= rtsold
SUBDIR.${MK_INET6}+= traceroute6
SUBDIR.${MK_INETD}+= inetd
SUBDIR.${MK_IPFW}+= ipfwpcap
-SUBDIR.${MK_ISCSI}+= iscsid
+SUBDIR.${MK_ISCSI}+= ctladm ctld iscsid
SUBDIR.${MK_JAIL}+= jail
SUBDIR.${MK_JAIL}+= jexec
SUBDIR.${MK_JAIL}+= jls
diff --git a/usr.sbin/ctladm/Makefile b/usr.sbin/ctladm/Makefile
index 9f7386bdc36c..c98643b50dcb 100644
--- a/usr.sbin/ctladm/Makefile
+++ b/usr.sbin/ctladm/Makefile
@@ -2,6 +2,7 @@
.include <src.opts.mk>
+PACKAGE= iscsi
PROG= ctladm
SRCS= ctladm.c util.c ctl_util.c ctl_scsi_all.c
.PATH: ${SRCTOP}/sys/cam/ctl
diff --git a/usr.sbin/ctld/Makefile b/usr.sbin/ctld/Makefile
index 08dcb79d0d84..ec207f024ab1 100644
--- a/usr.sbin/ctld/Makefile
+++ b/usr.sbin/ctld/Makefile
@@ -5,6 +5,7 @@
CFLAGS+=-I${SRCTOP}/contrib/libucl/include
.PATH: ${SRCTOP}/contrib/libucl/include
+PACKAGE= iscsi
PROG= ctld
SRCS= chap.c ctld.c discovery.c isns.c kernel.c keys.c log.c
SRCS+= login.c parse.y pdu.c token.l y.tab.h uclparse.c