summaryrefslogtreecommitdiffstats
path: root/security/oidentd/files
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2004-01-31 13:32:34 +0000
committeroliver <oliver@FreeBSD.org>2004-01-31 13:32:34 +0000
commit753a9905086232a576f5acf856e7def0fdf4083a (patch)
treeda632d7fe9b744b3070b7d50e213a658c092cc77 /security/oidentd/files
parent75c8d7a6d837ef9e0ce43ae104d5c11520128bcf (diff)
downloadFreeBSD-ports-753a9905086232a576f5acf856e7def0fdf4083a.zip
FreeBSD-ports-753a9905086232a576f5acf856e7def0fdf4083a.tar.gz
Updates:
* Provide style rc.d script. * Provide sample configuration files (standard + masquerading). * CONFIGURE_TARGET to remove configure warning. * Bump PORTREVISION Submitted By: Robin Breathe <robin@isometry.net> PR: ports/62010
Diffstat (limited to 'security/oidentd/files')
-rw-r--r--security/oidentd/files/oidentd.conf.sample24
-rw-r--r--security/oidentd/files/oidentd.sh32
-rw-r--r--security/oidentd/files/oidentd_masq.conf.sample2
3 files changed, 58 insertions, 0 deletions
diff --git a/security/oidentd/files/oidentd.conf.sample b/security/oidentd/files/oidentd.conf.sample
new file mode 100644
index 0000000..9cbd9cb
--- /dev/null
+++ b/security/oidentd/files/oidentd.conf.sample
@@ -0,0 +1,24 @@
+default {
+ default {
+ allow spoof
+ deny spoof_all
+ deny spoof_privport
+ allow random_numeric
+ allow numeric
+ allow hide
+ }
+}
+
+user root {
+ default {
+ force reply "UNKNOWN"
+ }
+}
+
+#user eggdrop {
+# default {
+# allow spoof
+# allow spoof_all
+# allow spoof_privport
+# }
+#}
diff --git a/security/oidentd/files/oidentd.sh b/security/oidentd/files/oidentd.sh
new file mode 100644
index 0000000..72bf842
--- /dev/null
+++ b/security/oidentd/files/oidentd.sh
@@ -0,0 +1,32 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: oidentd
+# REQUIRE: DAEMON
+# KEYWORD: FreeBSD shutdown
+
+#
+# Add the following lines to /etc/rc.conf to enable dovecot:
+#
+#oidentd_enable="YES"
+#
+# See oidentd(8) for flags.
+#
+
+. %%RC_SUBR%%
+
+name=oidentd
+rcvar=`set_rcvar`
+
+command=%%PREFIX%%/sbin/${name}
+required_files=%%PREFIX%%/etc/${name}.conf
+
+# set defaults
+
+oidentd_enable=${oidentd_enable:-"NO"}
+oidentd_flags=${oidentd_flags:-""}
+
+load_rc_config ${name}
+run_rc_command "$1"
diff --git a/security/oidentd/files/oidentd_masq.conf.sample b/security/oidentd/files/oidentd_masq.conf.sample
new file mode 100644
index 0000000..9b7ae2d
--- /dev/null
+++ b/security/oidentd/files/oidentd_masq.conf.sample
@@ -0,0 +1,2 @@
+192.168.1.1/32 client1 UNIX
+192.168.2.1/32 client2 UNIX
OpenPOWER on IntegriCloud