aboutsummaryrefslogtreecommitdiff
path: root/lib/libopie
diff options
context:
space:
mode:
authorBrad Davis <brd@FreeBSD.org>2018-09-20 09:26:10 +0000
committerBrad Davis <brd@FreeBSD.org>2018-09-20 09:26:10 +0000
commit6999b78550143f7c17eeea04cc87f08cfd72fae8 (patch)
tree53f3bdaa42c58ddf563d4ae0d644ac3a1e3f92e2 /lib/libopie
parent80994f8119b0ad74049cd6ebc79fa569e447d2b0 (diff)
downloadsrc-6999b78550143f7c17eeea04cc87f08cfd72fae8.tar.gz
src-6999b78550143f7c17eeea04cc87f08cfd72fae8.zip
Move opieaccess to lib/libopie/
This leverages CONFS to do the install Approved by: re (blanket, pkgbase), bapt (mentor) Differential Revision: https://reviews.freebsd.org/D17241
Notes
Notes: svn path=/head/; revision=338823
Diffstat (limited to 'lib/libopie')
-rw-r--r--lib/libopie/Makefile3
-rw-r--r--lib/libopie/opieaccess13
2 files changed, 16 insertions, 0 deletions
diff --git a/lib/libopie/Makefile b/lib/libopie/Makefile
index 4507d252ea9a..2dda575e94ef 100644
--- a/lib/libopie/Makefile
+++ b/lib/libopie/Makefile
@@ -2,6 +2,9 @@
#
# $FreeBSD$
#
+
+CONFS= opieaccess
+CONFSMODE= 600
PACKAGE=lib${LIB}
OPIE_DIST?= ${SRCTOP}/contrib/opie
DIST_DIR= ${OPIE_DIST}/${.CURDIR:T}
diff --git a/lib/libopie/opieaccess b/lib/libopie/opieaccess
new file mode 100644
index 000000000000..ed57ef13a33a
--- /dev/null
+++ b/lib/libopie/opieaccess
@@ -0,0 +1,13 @@
+# $FreeBSD$
+#
+# This file controls whether UNIX passwords are to be permitted. Rules
+# are matched in order, and the search terminates when the first matching
+# rule has been found. Default action is "deny". See opieaccess(5) for
+# more information.
+#
+# Each rule has the form:
+#
+# permit address netmask
+# deny address netmask
+#
+#permit 127.0.0.1 255.255.255.255