summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2016-02-08 21:15:07 +0000
committergjb <gjb@FreeBSD.org>2016-02-08 21:15:07 +0000
commitb476e226293d7eb7ef660ad6de4da7b187a2966a (patch)
tree7c2bce77a8dafbb4f1b34b5b07c14cbce3d52977
parent225942335d6d4d041b114afa9d3add965256a85f (diff)
downloadFreeBSD-src-b476e226293d7eb7ef660ad6de4da7b187a2966a.zip
FreeBSD-src-b476e226293d7eb7ef660ad6de4da7b187a2966a.tar.gz
Create a package for HAST.
Sponsored by: The FreeBSD Foundation
-rw-r--r--etc/rc.d/Makefile6
-rw-r--r--release/packages/Makefile.package2
-rw-r--r--sbin/hastctl/Makefile1
-rw-r--r--sbin/hastd/Makefile1
4 files changed, 9 insertions, 1 deletions
diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile
index d0660fb8..f6e43c6 100644
--- a/etc/rc.d/Makefile
+++ b/etc/rc.d/Makefile
@@ -213,8 +213,12 @@ FILES+= ftpd
.endif
.if ${MK_HAST} != "no"
-FILES+= hastd
+FILESGROUPS+= HAST
+HAST= hastd
.endif
+HASTDIR= /etc/rc.d
+HASTMODE= ${BINMODE}
+HASTPACKAGE= hast
.if ${MK_INETD} != "no"
FILES+= inetd
diff --git a/release/packages/Makefile.package b/release/packages/Makefile.package
index 982dc99..127da5d 100644
--- a/release/packages/Makefile.package
+++ b/release/packages/Makefile.package
@@ -40,6 +40,8 @@ gdb_COMMENT= GDB Utilities
gdb_DESC= GDB Utilities
groff_COMMENT= Groff Utilities
groff_DESC= Groff Utilities
+hast_COMMENT= Highly Available Storage daemon
+hast_DESC= Highly Available Storage daemon
jail_COMMENT= Jail Utilities
jail_DESC= Jail Utilities
kernel_COMMENT= FreeBSD Kernel
diff --git a/sbin/hastctl/Makefile b/sbin/hastctl/Makefile
index 41d443d..a24b55e 100644
--- a/sbin/hastctl/Makefile
+++ b/sbin/hastctl/Makefile
@@ -2,6 +2,7 @@
.include <src.opts.mk>
+PACKAGE=hast
.PATH: ${.CURDIR}/../hastd
PROG= hastctl
diff --git a/sbin/hastd/Makefile b/sbin/hastd/Makefile
index e3fed8d..7ffebf9 100644
--- a/sbin/hastd/Makefile
+++ b/sbin/hastd/Makefile
@@ -2,6 +2,7 @@
.include <src.opts.mk>
+PACKAGE=hast
PROG= hastd
SRCS= activemap.c
SRCS+= control.c crc32.c
OpenPOWER on IntegriCloud