summaryrefslogtreecommitdiff
path: root/comms/mgetty+sendfax/scripts
diff options
context:
space:
mode:
authortron <tron>1998-11-15 18:04:25 +0000
committertron <tron>1998-11-15 18:04:25 +0000
commit96e96b860bbd8210c6361e931b5153bd4f3a31cb (patch)
treef6df80579d063558e8b4e00a92d6b5e6c585f56d /comms/mgetty+sendfax/scripts
parente66b2c5aa72247b6f97aacae35d2fb2cf1e3295f (diff)
downloadpkgsrc-96e96b860bbd8210c6361e931b5153bd4f3a31cb.tar.gz
Initial import of FreeBSD "mgetty+sendfax" port:
Handle external logins, send and receive faxes.
Diffstat (limited to 'comms/mgetty+sendfax/scripts')
-rw-r--r--comms/mgetty+sendfax/scripts/configure30
1 files changed, 30 insertions, 0 deletions
diff --git a/comms/mgetty+sendfax/scripts/configure b/comms/mgetty+sendfax/scripts/configure
new file mode 100644
index 00000000000..b0683330b4a
--- /dev/null
+++ b/comms/mgetty+sendfax/scripts/configure
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+cd $WRKSRC || exit 1
+cp policy.h-dist policy.h
+
+cat >> policy.h <<END
+
+#undef DEFAULT_LOGIN_PROGRAM
+#define DEFAULT_LOGIN_PROGRAM "/usr/bin/login"
+
+#define CNDFILE "dialin.config"
+
+#undef MGETTY_PID_FILE
+#define MGETTY_PID_FILE "/var/run/mg-pid.%s"
+
+#undef LOCK
+#define LOCK "/var/spool/lock/LCK..%s"
+
+#undef FAX_LOG
+#define FAX_LOG "/var/spool/fax/Faxlog"
+
+#undef MAILER
+#define MAILER "/usr/sbin/sendmail"
+
+#undef DEVICE_GROUP
+#define DEVICE_GROUP "uucp"
+
+END
+
+exit 0