diff options
Diffstat (limited to 'comms/mgetty+sendfax/patches')
-rw-r--r-- | comms/mgetty+sendfax/patches/patch-ab | 41 | ||||
-rw-r--r-- | comms/mgetty+sendfax/patches/patch-ac | 9 | ||||
-rw-r--r-- | comms/mgetty+sendfax/patches/patch-ad | 10 | ||||
-rw-r--r-- | comms/mgetty+sendfax/patches/patch-an | 13 | ||||
-rw-r--r-- | comms/mgetty+sendfax/patches/patch-ao | 13 |
5 files changed, 28 insertions, 58 deletions
diff --git a/comms/mgetty+sendfax/patches/patch-ab b/comms/mgetty+sendfax/patches/patch-ab index e074adcccb1..7bec0cacaa1 100644 --- a/comms/mgetty+sendfax/patches/patch-ab +++ b/comms/mgetty+sendfax/patches/patch-ab @@ -1,7 +1,5 @@ -$NetBSD: patch-ab,v 1.6 2003/09/20 16:39:38 fredb Exp $ - ---- Makefile.orig Sun Feb 25 06:33:49 2001 -+++ Makefile +--- Makefile.orig 2004-07-24 14:53:47.000000000 -0400 ++++ Makefile 2005-02-23 11:07:40.000000000 -0500 @@ -4,8 +4,8 @@ # # this is the C compiler to use (on SunOS, the standard "cc" does not @@ -13,16 +11,16 @@ $NetBSD: patch-ab,v 1.6 2003/09/20 16:39:38 fredb Exp $ # #### C Compiler Flags #### # -@@ -107,7 +107,7 @@ - # prompt first. Don't forget to activate the /AutoPPP/ line in login.config! +@@ -102,7 +102,7 @@ + # USTAT - ustat(), no statfs etc. # #CFLAGS=-Wall -O2 -pipe -DSECUREWARE -DUSE_POLL -CFLAGS=-O2 -Wall -pipe -+CFLAGS+=-DAUTO_PPP -DPREFIX=\"${PREFIX}\" ++CFLAGS=-O2 -Wall -pipe -DAUTO_PPP -DPREFIX=\"${PREFIX}\" #CFLAGS=-O -DSVR4 #CFLAGS=-O -DSVR4 -DSVR42 #CFLAGS=-O -DUSE_POLL -@@ -149,7 +149,7 @@ +@@ -144,7 +144,7 @@ # For Linux, add "-lutil" if the linker complains about "updwtmp". # LDFLAGS= @@ -31,7 +29,7 @@ $NetBSD: patch-ab,v 1.6 2003/09/20 16:39:38 fredb Exp $ #LIBS=-lprot -lsocket # SCO Unix #LIBS=-lsocket #LIBS=-lbsd # OSF/1 -@@ -169,15 +169,15 @@ +@@ -164,15 +164,15 @@ # # if your systems doesn't have one, use the shell script that I provide # in "inst.sh" (taken from X11R5). Needed on IRIX5.2 @@ -50,7 +48,7 @@ $NetBSD: patch-ab,v 1.6 2003/09/20 16:39:38 fredb Exp $ # # prefix for all the spool directories (usually /usr/spool or /var/spool) # -@@ -185,20 +185,20 @@ +@@ -180,20 +180,20 @@ # # where the mgetty + sendfax binaries live (used for "make install") # @@ -76,7 +74,7 @@ $NetBSD: patch-ab,v 1.6 2003/09/20 16:39:38 fredb Exp $ # # # where mgetty PID files (mgetty.pid) go to -@@ -224,20 +224,20 @@ FAX_OUT_USER=fax +@@ -220,20 +220,20 @@ # # # Where section 1 manual pages should be placed @@ -102,7 +100,7 @@ $NetBSD: patch-ab,v 1.6 2003/09/20 16:39:38 fredb Exp $ # # # A shell that understands bourne-shell syntax -@@ -254,7 +254,7 @@ +@@ -258,7 +258,7 @@ # If you have Perl with TK extentions, define it here. This may be the # same as PERL=... above, or different, if you have TkPerl statically # linked. @@ -111,7 +109,7 @@ $NetBSD: patch-ab,v 1.6 2003/09/20 16:39:38 fredb Exp $ # # # An echo program that understands escapes like "\n" for newline or -@@ -266,9 +266,9 @@ +@@ -270,9 +270,9 @@ # please use the "mg.echo" program provided in the compat/ subdirectory. # Set ECHO="mg.echo" and INSTALL_MECHO to mg.echo # @@ -123,7 +121,7 @@ $NetBSD: patch-ab,v 1.6 2003/09/20 16:39:38 fredb Exp $ # # for mgetty, that's it. If you want to use the voice -@@ -276,7 +276,7 @@ +@@ -280,7 +280,7 @@ # To maintain security, I recommend creating a new group for # users who are allowed to manipulate the recorded voice messages. @@ -132,7 +130,7 @@ $NetBSD: patch-ab,v 1.6 2003/09/20 16:39:38 fredb Exp $ PHONE_PERMS=770 # Add -DNO_STRSTR to CFLAGS if you don't have strstr(). -@@ -308,7 +308,7 @@ +@@ -312,7 +312,7 @@ all: bin-all doc-all @@ -141,7 +139,7 @@ $NetBSD: patch-ab,v 1.6 2003/09/20 16:39:38 fredb Exp $ # a few C files need extra compiler arguments -@@ -559,8 +559,8 @@ +@@ -564,8 +564,8 @@ # internal: use this to create a "clean" mgetty+sendfax tree bindist: all doc-all sedscript -rm -rf bindist @@ -152,7 +150,7 @@ $NetBSD: patch-ab,v 1.6 2003/09/20 16:39:38 fredb Exp $ BINDIR=$$bd$(BINDIR) SBINDIR=$$bd$(SBINDIR) \ LIBDIR=$$bd$(LIBDIR) CONFDIR=$$bd$(CONFDIR) \ spool=$$bd$(spool) FAX_SPOOL=$$bd$(FAX_SPOOL) \ -@@ -572,7 +572,7 @@ +@@ -577,7 +577,7 @@ cd bindist; gtar cvvfz mgetty$(MR).$(SR)-bin.tgz * @@ -161,7 +159,7 @@ $NetBSD: patch-ab,v 1.6 2003/09/20 16:39:38 fredb Exp $ install.bin: mgetty sendfax newslock \ login.config mgetty.config sendfax.config -@@ -580,7 +580,7 @@ +@@ -585,7 +585,7 @@ # binaries # -test -d $(BINDIR) || ( ./mkidirs $(BINDIR) ; chmod 755 $(BINDIR) ) @@ -170,12 +168,12 @@ $NetBSD: patch-ab,v 1.6 2003/09/20 16:39:38 fredb Exp $ -test -d $(SBINDIR) || ( ./mkidirs $(SBINDIR) ; chmod 755 $(SBINDIR) ) -mv -f $(SBINDIR)/mgetty $(SBINDIR)/mgetty.old -@@ -592,18 +592,13 @@ +@@ -597,18 +597,14 @@ # test -d $(LIBDIR) || \ - ( ./mkidirs $(LIBDIR) ; chmod 755 $(LIBDIR) ) + ( ./mkidirs $(LIBDIR) && chmod 755 $(LIBDIR) ) - test -d $(CONFDIR) || \ -- ( ./mkidirs $(CONFDIR); chmod 755 $(CONFDIR)) +- ( ./mkidirs $(CONFDIR) && chmod 755 $(CONFDIR)) - test -f $(CONFDIR)/login.config || \ - $(INSTALL) -o root -m 600 login.config $(CONFDIR)/ - test -f $(CONFDIR)/mgetty.config || \ @@ -193,6 +191,7 @@ $NetBSD: patch-ab,v 1.6 2003/09/20 16:39:38 fredb Exp $ + $(INSTALL) -o root -m 644 sendfax.config $(CONF_EXAMPLES_DIR)/ + $(INSTALL) -o root -m 600 dialin.config $(CONF_EXAMPLES_DIR)/ + $(INSTALL) -o root -m 644 faxrunq.config $(CONF_EXAMPLES_DIR)/ ++ # # test for outdated stuff # diff --git a/comms/mgetty+sendfax/patches/patch-ac b/comms/mgetty+sendfax/patches/patch-ac index 8e6604ee52c..fd2e4baaae9 100644 --- a/comms/mgetty+sendfax/patches/patch-ac +++ b/comms/mgetty+sendfax/patches/patch-ac @@ -1,8 +1,6 @@ -$NetBSD: patch-ac,v 1.3 2002/03/09 17:17:06 fredb Exp $ - ---- voice/Makefile.orig Sun Dec 23 09:08:13 2001 -+++ voice/Makefile -@@ -92,11 +92,11 @@ +--- voice/Makefile.orig 2001-12-23 10:08:13.000000000 -0500 ++++ voice/Makefile 2005-02-23 11:48:08.000000000 -0500 +@@ -92,11 +92,12 @@ $(INSTALL) -m 644 man/man1/zplay.1 $(MAN1DIR) $(INSTALL) -m 644 man/man1/pvf.1 $(MAN1DIR) $(INSTALL) -m 644 man/man8/vgetty.8 $(MAN8DIR) @@ -11,6 +9,7 @@ $NetBSD: patch-ac,v 1.3 2002/03/09 17:17:06 fredb Exp $ - do \ - $(RM) -f $$i.1; $(LN) -s pvf.1 $$i.1; \ - done ++ $(INSTALL) -m 644 voice.conf-dist $(CONF_EXAMPLES_DIR)/voice.conf +# cd $(MAN1DIR); \ +# for i in $(PVFTOOLS); \ +# do \ diff --git a/comms/mgetty+sendfax/patches/patch-ad b/comms/mgetty+sendfax/patches/patch-ad index 8a0e388af84..06a520d2405 100644 --- a/comms/mgetty+sendfax/patches/patch-ad +++ b/comms/mgetty+sendfax/patches/patch-ad @@ -1,13 +1,11 @@ -$NetBSD: patch-ad,v 1.4 2002/03/06 19:19:02 fredb Exp $ - ---- doc/Makefile.orig Thu Nov 27 14:33:26 1997 -+++ doc/Makefile +--- doc/Makefile.orig 2004-07-17 11:21:19.000000000 -0400 ++++ doc/Makefile 2005-02-23 11:10:20.000000000 -0500 @@ -6,7 +6,7 @@ NROFF=nroff # # --MAN1PAGES=g32pbm.1 g3cat.1 pbm2g3.1 fax.1 \ -+MAN1PAGES=g32pbm.1 g3cat.1 pbm2g3.1 sendfax.1 \ +-MAN1PAGES=g32pbm.1 g3cat.1 pbm2g3.1 sff2g3.1 fax.1 \ ++MAN1PAGES=g32pbm.1 g3cat.1 pbm2g3.1 sff2g3.1 sendfax.1 \ faxspool.1 faxrunq.1 faxq.1 faxrm.1 coverpg.1 MAN4PAGES=mgettydefs.4 MAN5PAGES=faxqueue.5 diff --git a/comms/mgetty+sendfax/patches/patch-an b/comms/mgetty+sendfax/patches/patch-an deleted file mode 100644 index cde00266944..00000000000 --- a/comms/mgetty+sendfax/patches/patch-an +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-an,v 1.1 2003/12/20 20:06:38 fredb Exp $ - ---- fax/faxq.in.orig 2002-11-23 12:57:59.000000000 -0600 -+++ fax/faxq.in -@@ -21,7 +21,7 @@ AWK=@AWK@ - - # - # helper program for privileged queue access --FAXQ_HELPER=/usr/local/lib/mgetty+sendfax/faxq-helper -+FAXQ_HELPER=@LIBDIR@/faxq-helper - - if cd $FAX_SPOOL_OUT - then : diff --git a/comms/mgetty+sendfax/patches/patch-ao b/comms/mgetty+sendfax/patches/patch-ao deleted file mode 100644 index 433839a5f49..00000000000 --- a/comms/mgetty+sendfax/patches/patch-ao +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ao,v 1.1 2003/12/20 20:06:38 fredb Exp $ - ---- fax/faxrm.in.orig 2002-11-16 16:16:51.000000000 -0600 -+++ fax/faxrm.in -@@ -16,7 +16,7 @@ FAX_SPOOL_OUT=@FAX_SPOOL_OUT@ - echo="@ECHO@" - # - # helper program for privileged queue access --FAXQ_HELPER=/usr/local/lib/mgetty+sendfax/faxq-helper -+FAXQ_HELPER=@LIBDIR@/faxq-helper - # - - if [ ! -d $FAX_SPOOL_OUT ] |