diff options
-rw-r--r-- | comms/qpage/Makefile | 10 | ||||
-rw-r--r-- | comms/qpage/files/patch-aa | 31 | ||||
-rw-r--r-- | comms/qpage/files/patch-ab | 11 | ||||
-rw-r--r-- | comms/qpage/pkg-plist | 3 |
4 files changed, 40 insertions, 15 deletions
diff --git a/comms/qpage/Makefile b/comms/qpage/Makefile index 165e4b1c5f0d..69404d2590dd 100644 --- a/comms/qpage/Makefile +++ b/comms/qpage/Makefile @@ -3,7 +3,7 @@ # Date created: 02 Aug 1997 # Whom: joes@seaport.net # -# $Id: Makefile,v 1.1.1.1 1997/10/13 04:39:10 max Exp $ +# $Id: Makefile,v 1.2 1998/06/03 06:13:48 vanilla Exp $ # DISTNAME= qpage-3.2 @@ -15,4 +15,12 @@ MAINTAINER= joes@seaport.net MAN1= qpage.1 +post-install: + @if [ ! -f ${PREFIX}/etc/rc.d/qpage.sh ]; then \ + ${ECHO} "Install ${PREFIX}/etc/rc.d/qpage.sh startup file."; \ + ${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/qpage.sh; \ + ${ECHO} "[ -x ${PREFIX}/bin/qpage ] && ${PREFIX}/bin/qpage -q10 && echo -n ' qpage'" >> ${PREFIX}/etc/rc.d/qpage.sh; \ + chmod 751 ${PREFIX}/etc/rc.d/qpage.sh; \ + fi + .include <bsd.port.mk> diff --git a/comms/qpage/files/patch-aa b/comms/qpage/files/patch-aa index 8a0b53e4a5eb..962b47191173 100644 --- a/comms/qpage/files/patch-aa +++ b/comms/qpage/files/patch-aa @@ -1,6 +1,6 @@ ---- Makefile.orig Sat Aug 2 21:02:24 1997 -+++ Makefile Sun Aug 3 21:38:37 1997 -@@ -16,14 +16,16 @@ +--- Makefile.orig Fri Jun 27 14:43:10 1997 ++++ Makefile Thu Jun 4 09:10:31 1998 +@@ -16,11 +16,13 @@ # NEED_STRERROR - your system does NOT support strerror() # @@ -12,24 +12,29 @@ -CFLAGS= -mr $(DEBUG) $(CCENV) -LDLIBS= -lsocket -lnsl +#CFLAGS= -mr $(DEBUG) $(CCENV) -+CFLAGS= -g $(DEBUG) $(CCENV) ++CFLAGS+= $(CCENV) +#LDLIBS= -lsocket -lnsl #CC=cc --#CC=gcc -+CC=gcc - RM= /bin/rm -f - - -@@ -53,6 +55,11 @@ - all: $(PROG) + #CC=gcc +@@ -54,9 +56,19 @@ $(OBJS): $(INCL) -+ + +install: all + ${BSD_INSTALL_PROGRAM} qpage ${PREFIX}/bin + ${BSD_INSTALL_MAN} qpage.man ${PREFIX}/man/man1/qpage.1 + ${BSD_INSTALL_DATA} example-qpage.cf ${PREFIX}/etc - ++ if [ ! -d /var/spool/qpage ]; then \ ++ mkdir /var/spool/qpage; \ ++ chown root.dialer /var/spool/qpage; \ ++ chmod 0775 /var/spool/qpage; \ ++ fi ++ $(PROG): $(OBJS) $(RM) $(PROG) +- $(CC) -o $(PROG) $(OBJS) $(LDFLAGS) $(LDLIBS) ++ $(CC) -o $(PROG) $(OBJS) $(LDFLAGS) + + client: + @$(MAKE) CCENV='-DCLIENT_ONLY $(CCENV)' OBJS="$(CLNTOBJS)" diff --git a/comms/qpage/files/patch-ab b/comms/qpage/files/patch-ab new file mode 100644 index 000000000000..5c0cd4007fb6 --- /dev/null +++ b/comms/qpage/files/patch-ab @@ -0,0 +1,11 @@ +--- qpage.doc.orig Wed Jun 3 23:40:13 1998 ++++ qpage.doc Wed Jun 3 23:40:35 1998 +@@ -608,7 +608,7 @@ + when it's safe to send dial commands to the modem. + + FILES +- /etc/qpage.cf ++ /usr/local/etc/qpage.cf + + SEE ALSO + RFC-1861 diff --git a/comms/qpage/pkg-plist b/comms/qpage/pkg-plist index 1c31cad4d36c..ba2d1b644c86 100644 --- a/comms/qpage/pkg-plist +++ b/comms/qpage/pkg-plist @@ -1,3 +1,4 @@ bin/qpage -man/man1/qpage.1.gz etc/example-qpage.cf +etc/rc.d/qpage.sh +man/man1/qpage.1.gz |