- add Caller-ID support for filtering calls

(from Paul Pruett <ppruett at webengr dot com>)
- install more default config files with correct perms (and fix
voice.conf former installation) ; tweak MESSAGE accordingly
- regen patches while there
- bump PKGNAME
This commit is contained in:
ajacoutot 2007-03-23 20:28:28 +00:00
parent a3431019d5
commit 4cc02c2d6e
6 changed files with 40 additions and 16 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.35 2006/11/17 13:37:06 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.36 2007/03/23 20:28:28 ajacoutot Exp $
COMMENT= "handle external logins, send and receive faxes"
VERSION= 1.1.35
RELEASE= Feb22
DISTNAME= mgetty${VERSION}-${RELEASE}
PKGNAME= mgetty+sendfax-${VERSION}p4
PKGNAME= mgetty+sendfax-${VERSION}p5
CATEGORIES= comms
HOMEPAGE= http://mgetty.greenie.net/

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-Makefile,v 1.3 2006/10/18 08:20:25 ajacoutot Exp $
$OpenBSD: patch-Makefile,v 1.4 2007/03/23 20:28:28 ajacoutot Exp $
--- Makefile.orig Wed Feb 22 14:58:33 2006
+++ Makefile Mon Oct 16 13:36:38 2006
+++ Makefile Fri Mar 23 20:32:35 2007
@@ -4,7 +4,7 @@
#
# this is the C compiler to use (on SunOS, the standard "cc" does not
@ -87,7 +87,7 @@ $OpenBSD: patch-Makefile,v 1.3 2006/10/18 08:20:25 ajacoutot Exp $
PHONE_PERMS=770
# Add -DNO_STRSTR to CFLAGS if you don't have strstr().
@@ -317,7 +317,7 @@ SFAXOBJ=sendfax.o logfile.o locks.o mode
@@ -317,7 +317,7 @@ SFAXOBJ=sendfax.o logfile.o locks.o modem.o \
all: bin-all doc-all

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-doc_mgetty_texi_in,v 1.2 2006/01/14 11:59:39 steven Exp $
--- doc/mgetty.texi-in.orig Sat Nov 26 14:25:52 2005
+++ doc/mgetty.texi-in Sat Jan 14 12:04:26 2006
@@ -17,6 +17,11 @@ This is the online documentation for the
$OpenBSD: patch-doc_mgetty_texi_in,v 1.3 2007/03/23 20:28:28 ajacoutot Exp $
--- doc/mgetty.texi-in.orig Fri Dec 30 22:43:49 2005
+++ doc/mgetty.texi-in Fri Mar 23 20:32:36 2007
@@ -17,6 +17,11 @@ This is the online documentation for the mgetty + send
package.
Copyright @copyright{} 1993-2005 Gert Doering
@ -13,7 +13,7 @@ $OpenBSD: patch-doc_mgetty_texi_in,v 1.2 2006/01/14 11:59:39 steven Exp $
@end ifinfo
@titlepage
@@ -1480,7 +1485,7 @@ FAX_NOTIFY_PROGRAM @var{<hangup code>} '
@@ -1480,7 +1485,7 @@ FAX_NOTIFY_PROGRAM @var{<hangup code>} '@var{<sender i
@var{<hangup code>} is 0 if the receive was successful, non-zero
otherwise. @var{<sender id>} is the fax identification string received

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-policy_h_dist,v 1.3 2006/10/18 08:20:25 ajacoutot Exp $
$OpenBSD: patch-policy_h_dist,v 1.4 2007/03/23 20:28:28 ajacoutot Exp $
--- policy.h-dist.orig Wed Feb 22 14:56:31 2006
+++ policy.h-dist Mon Oct 16 13:28:34 2006
+++ policy.h-dist Fri Mar 23 20:33:12 2007
@@ -48,7 +48,7 @@
* Normally, this is "/bin/login", just a few systems put "login"
* elsewhere (e.g. Free/NetBSD in "/usr/bin/login").
@ -10,6 +10,15 @@ $OpenBSD: patch-policy_h_dist,v 1.3 2006/10/18 08:20:25 ajacoutot Exp $
/* FidoNet mailer support
*
@@ -85,7 +85,7 @@
* ZyXELs use S40.2=1.
* If the path doesn't start with "/", it's relative to CONFDIR.
*/
-/* #define CNDFILE "dialin.config" */
+#define CNDFILE "dialin.config"
/* If you want to use /etc/gettydefs to set tty flags, define this
@@ -114,7 +114,7 @@
/* group id that the device is chown()ed to. If not defined, the
* primary group of "DEVICE_OWNER" is used.

View File

@ -1,5 +1,5 @@
If you're installing for the first time or want to change your
configuration, run the following script as root:
configuration, you may want to run the following script as root:
${PREFIX}/lib/mgetty+sendfax/setup
It will help you to create the following configuration files in

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.14 2006/11/17 13:37:06 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.15 2007/03/23 20:28:28 ajacoutot Exp $
bin/autopvf
bin/basictopvf
bin/faxq
@ -83,12 +83,25 @@ share/doc/mgetty+sendfax/voice/Readme.voice_shell
share/doc/mgetty+sendfax/voice/compression_settings
share/doc/mgetty+sendfax/voice/device_settings
share/examples/mgetty+sendfax/
@sample ${SYSCONFDIR}/mgetty+sendfax/
share/examples/mgetty+sendfax/dialin.config
@mode 600
@sample ${SYSCONFDIR}/mgetty+sendfax/dialin.config
@mode
share/examples/mgetty+sendfax/faxheader
@sample ${SYSCONFDIR}/mgetty+sendfax/faxheader
share/examples/mgetty+sendfax/faxrunq.config
@sample ${SYSCONFDIR}/mgetty+sendfax/faxrunq.config
share/examples/mgetty+sendfax/faxspool.rules.sample
@sample ${SYSCONFDIR}/mgetty+sendfax/faxspool.rules
share/examples/mgetty+sendfax/login.config
@mode 600
@sample ${SYSCONFDIR}/mgetty+sendfax/login.config
@mode
share/examples/mgetty+sendfax/mgetty.config
@mode 600
@sample ${SYSCONFDIR}/mgetty+sendfax/mgetty.config
@mode
share/examples/mgetty+sendfax/samples/
share/examples/mgetty+sendfax/samples/answer_fax.sh
share/examples/mgetty+sendfax/samples/coverpg-pl.ps
@ -124,8 +137,12 @@ share/examples/mgetty+sendfax/samples/new_fax.tiff
share/examples/mgetty+sendfax/samples/printfax
share/examples/mgetty+sendfax/samples/printfax.ps
share/examples/mgetty+sendfax/sendfax.config
@sample ${SYSCONFDIR}/mgetty+sendfax/sendfax.config
share/examples/mgetty+sendfax/voice/
share/examples/mgetty+sendfax/voice.conf
@mode 600
@sample ${SYSCONFDIR}/mgetty+sendfax/voice.conf
@mode
share/examples/mgetty+sendfax/voice/scripts/
share/examples/mgetty+sendfax/voice/scripts/Vgetty.sh
share/examples/mgetty+sendfax/voice/scripts/button.sh
@ -142,8 +159,6 @@ share/examples/mgetty+sendfax/voice/scripts/speakdate.pl
share/examples/mgetty+sendfax/voice/scripts/speakdate.sh
share/examples/mgetty+sendfax/voice/scripts/vmtest.sh
share/examples/mgetty+sendfax/voice/scripts/voice2email.sh
@sample ${SYSCONFDIR}/mgetty+sendfax/
@sample ${SYSCONFDIR}/mgetty+sendfax/voice.conf
@mode 750
@owner uucp
@group dialer