summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2016-02-02 17:33:37 +0000
committergjb <gjb@FreeBSD.org>2016-02-02 17:33:37 +0000
commite0804a81469674cb214c978c3e43d7f005d6e0d3 (patch)
treeb8bb7fa9097f655ff5c38ee097e298e104570f3a
parent34bfa3fb0779559b30ad2f42e61f741875217854 (diff)
downloadFreeBSD-src-e0804a81469674cb214c978c3e43d7f005d6e0d3.zip
FreeBSD-src-e0804a81469674cb214c978c3e43d7f005d6e0d3.tar.gz
Create a package for autofs(5)
Sponsored by: The FreeBSD Foundation
-rw-r--r--etc/Makefile9
-rw-r--r--release/packages/autofs-debug.ucl13
-rw-r--r--release/packages/autofs.ucl13
-rw-r--r--usr.sbin/autofs/Makefile1
4 files changed, 35 insertions, 1 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 27d1ba4..60dda7a 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -3,6 +3,8 @@
.include <src.opts.mk>
+FILESGROUPS= FILES
+
SUBDIR= \
newsyslog.conf.d
@@ -79,8 +81,13 @@ BIN1+= apmd.conf
.endif
.if ${MK_AUTOFS} != "no"
-BIN1+= auto_master
+FILESGROUPS+= AUTOFS
+AUTOFS+= auto_master
.endif
+AUTOFSDIR= /etc
+AUTOFSMODE= ${BINMODE}
+AUTOFSPACKAGE= autofs
+AUTOFSTAGS= config
.if ${MK_FREEBSD_UPDATE} != "no"
BIN1+= freebsd-update.conf
diff --git a/release/packages/autofs-debug.ucl b/release/packages/autofs-debug.ucl
new file mode 100644
index 0000000..d91ef70
--- /dev/null
+++ b/release/packages/autofs-debug.ucl
@@ -0,0 +1,13 @@
+name = "FreeBSD-%PKGNAME%"
+origin = "base"
+version = "%VERSION%"
+comment = "Autofs(5) Utilities (debugging symbols)"
+categories = [ base ]
+maintainer = "re@FreeBSD.org"
+www = "https://www.FreeBSD.org"
+prefix = "/"
+licenselogic = "single"
+licenses = [ BSD2CLAUSE ]
+desc = <<EOD
+%DESC%
+EOD
diff --git a/release/packages/autofs.ucl b/release/packages/autofs.ucl
new file mode 100644
index 0000000..fda6d42
--- /dev/null
+++ b/release/packages/autofs.ucl
@@ -0,0 +1,13 @@
+name = "FreeBSD-%PKGNAME%"
+origin = "base"
+version = "%VERSION%"
+comment = "Autofs(5) Utilities"
+categories = [ base ]
+maintainer = "re@FreeBSD.org"
+www = "https://www.FreeBSD.org"
+prefix = "/"
+licenselogic = "single"
+licenses = [ BSD2CLAUSE ]
+desc = <<EOD
+%DESC%
+EOD
diff --git a/usr.sbin/autofs/Makefile b/usr.sbin/autofs/Makefile
index 00c79dd..cc13bcc 100644
--- a/usr.sbin/autofs/Makefile
+++ b/usr.sbin/autofs/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=autofs
PROG= automountd
SRCS= automount.c
SRCS+= automountd.c
OpenPOWER on IntegriCloud