update to 3.5.1 (current stable version); ftp site changed
This commit is contained in:
parent
39e8874f5a
commit
6d3d24f626
@ -1,62 +1,45 @@
|
||||
# OpenBSD makefile for: LPRng
|
||||
# Version required: 3.2.3
|
||||
# Version required: 3.5.1
|
||||
# Date created: 2 Apr 1997
|
||||
# Whom: ejovi
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.3 1998/04/12 22:51:12 marc Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 1998/08/15 00:41:42 marc Exp $
|
||||
#
|
||||
|
||||
DISTNAME= LPRng-3.2.3
|
||||
CATEGORIES= sysutils print
|
||||
NO_CDROM= "To many copyrights/licences to verify destribution OK"
|
||||
MASTER_SITES= ftp://dickory.sdsu.edu/pub/LPRng/
|
||||
EXTRACT_SUFX= .tgz
|
||||
DISTNAME= LPRng-3.5.1
|
||||
CATEGORIES= sysutils print
|
||||
|
||||
MAINTAINER= joey@openbsd.org
|
||||
MAINTAINER= marc@openbsd.org
|
||||
|
||||
MAKEFILE= Makefile.bsd
|
||||
GNU_CONFIGURE= yes
|
||||
MASTER_SITES= ftp://ftp.astart.com/pub/LPRng/LPRng/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
post-patch:
|
||||
@mv ${WRKSRC}/src/common/default.c ${WRKSRC}/src/common/default.c.tmp
|
||||
@${SED} -e "s|@@PREFIX@@|${PREFIX}|g" \
|
||||
<${WRKSRC}/src/common/default.c.tmp >${WRKSRC}/src/common/default.c
|
||||
NO_CDROM= "To many copyrights/licences to verify destribution OK"
|
||||
|
||||
pre-build:
|
||||
(cd ${WRKSRC}/po ; ln -s Makefile ${MAKEFILE})
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-lpddir=${PREFIX}/libexec
|
||||
CONFIGURE_ARGS+= --with-admindir=${PREFIX}/sbin
|
||||
|
||||
MAKEFILE= Makefile.bsd
|
||||
|
||||
HTMLFILES= LPRng-HOWTO-1.html LPRng-HOWTO-2.html \
|
||||
LPRng-HOWTO-3.html LPRng-HOWTO-4.html \
|
||||
LPRng-HOWTO-5.html LPRng-HOWTO-6.html \
|
||||
LPRng-HOWTO-7.html LPRng-HOWTO-8.html \
|
||||
LPRng-HOWTO-9.html LPRng-HOWTO-10.html \
|
||||
LPRng-HOWTO-11.html LPRng-HOWTO-12.html \
|
||||
LPRng-HOWTO-13.html LPRng-HOWTO-14.html \
|
||||
LPRng-HOWTO-15.html LPRng-HOWTO.html \
|
||||
LPRng.html bg.gif star1.gif
|
||||
|
||||
post-install:
|
||||
(cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} default)
|
||||
${LDCONFIG} -m ${PREFIX}/lib
|
||||
${INSTALL} -d -g bin -o bin -m 0555 ${PREFIX}/share/doc/LPRng
|
||||
(cd ${WRKSRC} ; ${INSTALL_DATA} \
|
||||
README \
|
||||
README.1st \
|
||||
README.LPRng_to_lpr_spooling \
|
||||
README.accounting \
|
||||
README.authentication \
|
||||
README.banner \
|
||||
README.bouncequeues \
|
||||
README.deskjet \
|
||||
README.install \
|
||||
README.kerberos_authentication \
|
||||
README.logger \
|
||||
README.lp_Malformed_from_address \
|
||||
README.lp_emulation \
|
||||
README.lpd.conf \
|
||||
README.lpd.perms \
|
||||
README.nis \
|
||||
README.pgp_authentication \
|
||||
README.ports \
|
||||
README.printcap \
|
||||
README.routing \
|
||||
README.solaris \
|
||||
README.solaris.newsprint \
|
||||
README.statusdisplays \
|
||||
${INSTALL_DATA} ${WRKSRC}/lpd.conf ${PREFIX}/lib/lpd.conf-sample
|
||||
${INSTALL_DATA} ${WRKSRC}/lpd.perms ${PREFIX}/lib/lpd.perms-sample
|
||||
test -f /etc/lpd.conf || ${INSTALL_DATA} ${WRKSRC}/lpd.conf /etc
|
||||
test -f /etc/lpd.perms || ${INSTALL_DATA} ${WRKSRC}/lpd.perms /etc
|
||||
${MKDIR} ${PREFIX}/share/doc/LPRng
|
||||
(cd ${WRKSRC}/HOWTO && ${INSTALL_DATA} ${HTMLFILES} \
|
||||
${PREFIX}/share/doc/LPRng )
|
||||
@cat ${FILESDIR}/lprng.sh | \
|
||||
${SED} -e "s|@@PREFIX@@|${PREFIX}|g" > ${PREFIX}/etc/rc.d/lprng.sh
|
||||
@chmod +x ${PREFIX}/etc/rc.d/lprng.sh
|
||||
@cat ${PKGDIR}/MESSAGE
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (LPRng-3.2.3.tgz) = 17e55cbea91c3dbca274e87932dd1bd5
|
||||
MD5 (LPRng-3.5.1.tgz) = f08ae8b87d0cdc4091d8a2e3e61831b2
|
||||
|
@ -1,154 +1,71 @@
|
||||
--- src/Makefile.bsd.in.orig Wed Apr 9 00:15:54 1997
|
||||
+++ src/Makefile.bsd.in Mon Jun 2 19:32:23 1997
|
||||
@@ -64,8 +64,8 @@
|
||||
localedir = $(prefix)/@DATADIRNAME@/locale
|
||||
INSTALL_BIN = ${exec_prefix}/bin
|
||||
# where daemons are installed: lpd
|
||||
-#INSTALL_LIB = ${prefix}/lib
|
||||
-INSTALL_LIB = ${prefix}/bin
|
||||
+INSTALL_LIBEXEC = ${prefix}/libexec
|
||||
+INSTALL_LIB = ${prefix}/lib
|
||||
# where maintenance commands are installed: checkpc, setstatus
|
||||
INSTALL_MAINT = ${exec_prefix}/bin
|
||||
|
||||
@@ -161,9 +161,12 @@
|
||||
#********************** End of Configurable Part ****************************
|
||||
#**************************** SYSTEM DEPENDENCIES **************************
|
||||
|
||||
+LIB = liblpr.a
|
||||
+SLIB = liblpr.so.3.21
|
||||
+
|
||||
TARGET= \
|
||||
authenticate_pgp readfilecount removeoneline setupauth \
|
||||
- liblpr.a checkpc lpr lpd lpq lprm lpc lpbanner \
|
||||
+ $(LIB) $(SLIB) checkpc lpr lpd lpq lprm lpc lpbanner \
|
||||
lpf lpraccnt monitor lp cancel lpstat
|
||||
NONTARGET = sserver sclient testauth
|
||||
|
||||
@@ -174,6 +177,11 @@
|
||||
INCLUDE=.. ${SRC}/include
|
||||
EXTRA=${SRC}/TESTSUPPORT ${SRC}/UTILS
|
||||
|
||||
+.SUFFIXES: .c .so .o
|
||||
+
|
||||
+.c.so:
|
||||
+ ${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
|
||||
+
|
||||
.PATH: $(INCLUDE) $(SRCDIRS)
|
||||
INCS= $(INCLUDE:S/^/-I/g)
|
||||
|
||||
@@ -238,30 +246,33 @@
|
||||
# This appears to cover all cases for portability
|
||||
#
|
||||
|
||||
-liblpr.a: $(LIBLPR_OBJS)
|
||||
+$(LIB): $(LIBLPR_OBJS)
|
||||
ar ruv $@ $(LIBLPR_ORDER)
|
||||
$(RANLIB) $@
|
||||
|
||||
-lpr: $(LPR_OBJS) liblpr.a
|
||||
- $(LDCC) $(LDFLAGS) -o $@ $> $(LIBS)
|
||||
-lpd: $(LPD_OBJS) liblpr.a
|
||||
- $(LDCC) $(LDFLAGS) -o $@ $> $(LIBS)
|
||||
-lpq: $(LPQ_OBJS) liblpr.a
|
||||
- $(LDCC) $(LDFLAGS) -o $@ $> $(LIBS)
|
||||
-lprm: $(LPRM_OBJS) liblpr.a
|
||||
- $(LDCC) $(LDFLAGS) -o $@ $> $(LIBS)
|
||||
-lpc: $(LPC_OBJS) liblpr.a
|
||||
- $(LDCC) $(LDFLAGS) -o $@ $> $(LIBS)
|
||||
-checkpc: $(CHECKPC_OBJS) liblpr.a
|
||||
- $(LDCC) $(LDFLAGS) -o $@ $> $(LIBS)
|
||||
+$(SLIB): $(LIBLPR_OBJS:S/o$/so/g)
|
||||
+ ld -Bshareable -o $(SLIB) $(LIBLPR_OBJS:S/o$/so/g)
|
||||
+
|
||||
+lpr: $(LPR_OBJS)
|
||||
+ $(LDCC) $(LDFLAGS) -o $@ $> $(LIBS) -L. -llpr
|
||||
+lpd: $(LPD_OBJS)
|
||||
+ $(LDCC) $(LDFLAGS) -o $@ $> $(LIBS) -L. -llpr
|
||||
+lpq: $(LPQ_OBJS)
|
||||
+ $(LDCC) $(LDFLAGS) -o $@ $> $(LIBS) -L. -llpr
|
||||
+lprm: $(LPRM_OBJS)
|
||||
+ $(LDCC) $(LDFLAGS) -o $@ $> $(LIBS) -L. -llpr
|
||||
+lpc: $(LPC_OBJS)
|
||||
+ $(LDCC) $(LDFLAGS) -o $@ $> $(LIBS) -L. -llpr
|
||||
+checkpc: $(CHECKPC_OBJS)
|
||||
+ $(LDCC) $(LDFLAGS) -o $@ $> $(LIBS) -L. -llpr
|
||||
lpbanner: $(LPBANNER_OBJS)
|
||||
- $(LDCC) $(LDFLAGS) -o $@ $> $(LIBS)
|
||||
+ $(LDCC) $(LDFLAGS) -o $@ $> $(LIBS) -L. -llpr
|
||||
lpf: $(LPF_OBJS)
|
||||
- $(LDCC) $(LDFLAGS) -o $@ $> $(LIBS)
|
||||
-lpraccnt: $(LPRACCNT_OBJS) liblpr.a
|
||||
- $(LDCC) $(LDFLAGS) -o $@ $> $(LIBS)
|
||||
+ $(LDCC) $(LDFLAGS) -o $@ $> $(LIBS) -L. -llpr
|
||||
+lpraccnt: $(LPRACCNT_OBJS)
|
||||
+ $(LDCC) $(LDFLAGS) -o $@ $> $(LIBS) -L. -llpr
|
||||
monitor: $(MONITOR_OBJS)
|
||||
- $(LDCC) $(LDFLAGS) -o $@ $> $(LIBS)
|
||||
+ $(LDCC) $(LDFLAGS) -o $@ $> $(LIBS) -L. -llpr
|
||||
readfilecount: readfilecount.o
|
||||
$(LDCC) $(LDFLAGS) -o $@ $> $(LIBS)
|
||||
removeoneline: removeoneline.o
|
||||
@@ -275,10 +286,10 @@
|
||||
#ptest: common/snprintf.c
|
||||
# $(LDCC) $(CFLAGS) -DTEST -o ptest common/snprintf.c
|
||||
|
||||
-sserver: sserver.o liblpr.a
|
||||
- $(LDCC) $(LDFLAGS) -o $@ $> $(LIBS)
|
||||
-sclient: sclient.o liblpr.a
|
||||
- $(LDCC) $(LDFLAGS) -o $@ $> $(LIBS)
|
||||
+sserver: sserver.o $(SLIB)
|
||||
+ $(LDCC) $(LDFLAGS) -L. -llpr -o $@ $> $(LIBS)
|
||||
+sclient: sclient.o $(SLIB)
|
||||
+ $(LDCC) $(LDFLAGS) -L. -llpr -o $@ $> $(LIBS)
|
||||
|
||||
cancel:
|
||||
rm -f $@; ln -s lprm $@
|
||||
@@ -295,26 +306,30 @@
|
||||
#PERMS=$(SUID_ROOT_PERMS)
|
||||
###########################################################################
|
||||
|
||||
-install: all ${INSTALL_LIB} ${INSTALL_BIN} ${INSTALL_MAINT}
|
||||
+install: all ${INSTALL_LIB} ${INSTALL_LIBEXEC} ${INSTALL_BIN} ${INSTALL_MAINT}
|
||||
${INSTALLCMD} -m $(PERMS) lpq ${INSTALL_BIN}
|
||||
${INSTALLCMD} -m $(PERMS) lprm ${INSTALL_BIN}
|
||||
${INSTALLCMD} -m $(PERMS) lpr ${INSTALL_BIN}
|
||||
${INSTALLCMD} -m $(PERMS) lpc ${INSTALL_MAINT}
|
||||
- ${INSTALLCMD} -m $(NORM_PERMS) lpd ${INSTALL_LIB}
|
||||
- ${INSTALLCMD} -m $(NORM_PERMS) lpf ${INSTALL_LIB}
|
||||
- ${INSTALLCMD} -m $(NORM_PERMS) lpbanner ${INSTALL_LIB}
|
||||
+ ${INSTALLCMD} -m $(NORM_PERMS) lpd ${INSTALL_LIBEXEC}
|
||||
+ ${INSTALLCMD} -m $(NORM_PERMS) lpf ${INSTALL_LIBEXEC}
|
||||
+ ${INSTALLCMD} -m $(NORM_PERMS) lpbanner ${INSTALL_LIBEXEC}
|
||||
${INSTALLCMD} -m $(NORM_PERMS) checkpc ${INSTALL_MAINT}
|
||||
${INSTALLCMD} -m $(NORM_PERMS) lpraccnt ${INSTALL_MAINT}
|
||||
- ${INSTALLCMD} -m $(NORM_PERMS) readfilecount ${INSTALL_LIB}
|
||||
- ${INSTALLCMD} -m $(NORM_PERMS) removeoneline ${INSTALL_LIB}
|
||||
- ${INSTALLCMD} -m $(NORM_PERMS) authenticate_pgp ${INSTALL_LIB}
|
||||
- ${INSTALLCMD} -m $(NORM_PERMS) setupauth ${INSTALL_LIB}
|
||||
+ ${INSTALLCMD} -m $(NORM_PERMS) readfilecount ${INSTALL_LIBEXEC}
|
||||
+ ${INSTALLCMD} -m $(NORM_PERMS) removeoneline ${INSTALL_LIBEXEC}
|
||||
+ ${INSTALLCMD} -m $(NORM_PERMS) authenticate_pgp ${INSTALL_LIBEXEC}
|
||||
+ ${INSTALLCMD} -m $(NORM_PERMS) setupauth ${INSTALL_LIBEXEC}
|
||||
+ ${INSTALLCMD} -m $(NORM_PERMS) $(LIB) ${INSTALL_LIB}
|
||||
+ ${INSTALLCMD} -m $(NORM_PERMS) $(SLIB) ${INSTALL_LIB}
|
||||
rm -f ${INSTALL_BIN}/lp; ln -s lpr ${INSTALL_BIN}/lp;
|
||||
rm -f ${INSTALL_BIN}/lpstat; ln -s lpq ${INSTALL_BIN}/lpstat;
|
||||
rm -f ${INSTALL_BIN}/cancel; ln -s lprm ${INSTALL_BIN}/cancel;
|
||||
|
||||
${INSTALL_LIB}::
|
||||
${SRC}/mkinstalldirs $@
|
||||
+${INSTALL_LIBEXEC}::
|
||||
+ ${SRC}/mkinstalldirs $@
|
||||
${INSTALL_BIN}::
|
||||
${SRC}/mkinstalldirs $@
|
||||
${INSTALL_MAINT}::
|
||||
@@ -336,7 +351,7 @@
|
||||
--- configure.orig Mon May 11 18:22:34 1998
|
||||
+++ configure Fri Aug 14 16:32:45 1998
|
||||
@@ -1738,14 +1738,14 @@
|
||||
|
||||
|
||||
clean::
|
||||
- -rm -f *.o *.core ? core $(TARGET) $(NONTARGET)
|
||||
+ -rm -f *.o *.so *.core ? core $(TARGET) $(NONTARGET)
|
||||
TERMLIB=
|
||||
- echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
|
||||
-echo "configure:1743: checking for tgetent in -lncurses" >&5
|
||||
-ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
|
||||
+ echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
|
||||
+echo "configure:1743: checking for tgetent in -lcurses" >&5
|
||||
+ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
ac_save_LIBS="$LIBS"
|
||||
-LIBS="-lncurses $LIBS"
|
||||
+LIBS="-lcurses $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1751 "configure"
|
||||
#include "confdefs.h"
|
||||
@@ -1773,7 +1773,7 @@
|
||||
fi
|
||||
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
||||
echo "$ac_t""yes" 1>&6
|
||||
- LIBS="$LIBS -lncurses"; TERMLIB=yes
|
||||
+ LIBS="$LIBS -lcurses"; TERMLIB=yes
|
||||
else
|
||||
echo "$ac_t""no" 1>&6
|
||||
fi
|
||||
@@ -2751,7 +2751,7 @@
|
||||
fi
|
||||
done
|
||||
|
||||
realclean mostlyclean distclean:: clean
|
||||
-rm -f Makefile Makefile.bsd tags
|
||||
-for ac_hdr in ncurses.h ndir.h
|
||||
+for ac_hdr in curses.h ndir.h
|
||||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||
@@ -4845,13 +4845,13 @@
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
-#if defined(SOLARIS)
|
||||
+#if defined(HAVE_CURSES_H)
|
||||
#include <curses.h>
|
||||
#endif
|
||||
#ifdef HAVE_TERM_H
|
||||
#include <term.h>
|
||||
#endif
|
||||
-#ifdef HAVE_TERMIO_H
|
||||
+#if 0 /* term.h defines HAVE_TERMIO_H to 0 */
|
||||
#include <termio.h>
|
||||
#endif
|
||||
#ifdef HAVE_TERMCAP_H
|
||||
@@ -4933,13 +4933,13 @@
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
-#if defined(SOLARIS)
|
||||
+#if defined(HAVE_CURSES_H)
|
||||
#include <curses.h>
|
||||
#endif
|
||||
#ifdef HAVE_TERM_H
|
||||
#include <term.h>
|
||||
#endif
|
||||
-#ifdef HAVE_TERMIO_H
|
||||
+#if 0 /* term.h defines HAVE_TERMIO_H to 0 */
|
||||
#include <termio.h>
|
||||
#endif
|
||||
#ifdef HAVE_TERMCAP_H
|
||||
|
@ -1,64 +0,0 @@
|
||||
*** man/Makefile.bsd.in.orig Wed Apr 2 09:52:14 1997
|
||||
--- man/Makefile.bsd.in Wed Apr 2 10:03:32 1997
|
||||
***************
|
||||
*** 18,24 ****
|
||||
MANINSTCMD = @INSTALL_MAN@
|
||||
|
||||
# change MANEXT to .gz or .Z if you use compressed manpages.
|
||||
! MANEXT =
|
||||
|
||||
## fix up PREFIX to be a make variable
|
||||
PREFIX = @prefix@
|
||||
--- 18,24 ----
|
||||
MANINSTCMD = @INSTALL_MAN@
|
||||
|
||||
# change MANEXT to .gz or .Z if you use compressed manpages.
|
||||
! MANEXT = .gz
|
||||
|
||||
## fix up PREFIX to be a make variable
|
||||
PREFIX = @prefix@
|
||||
***************
|
||||
*** 40,60 ****
|
||||
|
||||
# Standard man install target.
|
||||
#
|
||||
! install:
|
||||
! ${SRC}/mkinstalldirs $(MAN)/man1 $(MAN)/man5 $(MAN)/man8
|
||||
! cd ${SRC}; for i in *.1; do $(MANINSTCMD) $$i $(MAN)/man1/$$i$(MANEXT); done
|
||||
! cd ${SRC}; for i in *.5; do $(MANINSTCMD) $$i $(MAN)/man5/$$i$(MANEXT); done
|
||||
! cd ${SRC}; for i in *.8; do $(MANINSTCMD) $$i $(MAN)/man8/$$i$(MANEXT); done
|
||||
|
||||
# Install man pages in compressed form.
|
||||
#
|
||||
! install.zman:
|
||||
! for i in ${SRC}/*.1; do compress < $$i >/tmp/_; \
|
||||
! $(MANINSTCMD) /tmp/_ $(MAN)/man1.Z/$$i$(MANEXT); rm -f /tmp/_; done
|
||||
! for i in ${SRC}/*.5; do compress < $$i >/tmp/_; \
|
||||
! $(MANINSTCMD) /tmp/_ $(MAN)/man5.Z/$$i$(MANEXT); rm -f /tmp/_; done
|
||||
! for i in ${SRC}/*.8; do compress < $$i >/tmp/_; \
|
||||
! $(MANINSTCMD) /tmp/_ $(MAN)/man8.Z/$$i$(MANEXT); rm -f /tmp/_; done
|
||||
|
||||
uninstall:
|
||||
for i in *.1; do rm -f $(MAN)/man1/$$i$(MANEXT); done
|
||||
--- 40,60 ----
|
||||
|
||||
# Standard man install target.
|
||||
#
|
||||
! #install:
|
||||
! # ${SRC}/mkinstalldirs $(MAN)/man1 $(MAN)/man5 $(MAN)/man8
|
||||
! # cd ${SRC}; for i in *.1; do $(MANINSTCMD) $$i $(MAN)/man1/$$i$(MANEXT); done
|
||||
! # cd ${SRC}; for i in *.5; do $(MANINSTCMD) $$i $(MAN)/man5/$$i$(MANEXT); done
|
||||
! # cd ${SRC}; for i in *.8; do $(MANINSTCMD) $$i $(MAN)/man8/$$i$(MANEXT); done
|
||||
|
||||
# Install man pages in compressed form.
|
||||
#
|
||||
! install:
|
||||
! for i in ${SRC}/*.1; do gzip -n < $$i >/tmp/_; \
|
||||
! $(MANINSTCMD) /tmp/_ $(MAN)/man1/$$i$(MANEXT); rm -f /tmp/_; done
|
||||
! for i in ${SRC}/*.5; do gzip -n < $$i >/tmp/_; \
|
||||
! $(MANINSTCMD) /tmp/_ $(MAN)/man5/$$i$(MANEXT); rm -f /tmp/_; done
|
||||
! for i in ${SRC}/*.8; do gzip -n < $$i >/tmp/_; \
|
||||
! $(MANINSTCMD) /tmp/_ $(MAN)/man8/$$i$(MANEXT); rm -f /tmp/_; done
|
||||
|
||||
uninstall:
|
||||
for i in *.1; do rm -f $(MAN)/man1/$$i$(MANEXT); done
|
@ -1,45 +0,0 @@
|
||||
--- src/common/default.c.orig Mon Feb 17 03:31:30 1997
|
||||
+++ src/common/default.c Mon Apr 14 18:50:58 1997
|
||||
@@ -35,7 +35,7 @@
|
||||
"bl=$-'C:$-'n Job: $-'J Date: $-'t",
|
||||
"check_for_nonprintable",
|
||||
"client_auth_command",
|
||||
-"client_config_file=/etc/lpd.conf:/etc/lpd_client.conf:/usr/etc/lpd.conf:/usr/etc/lpd_client.conf:/usr/spool/lpd/lpd.conf:/usr/spool/lpd/lpd_client.conf",
|
||||
+"client_config_file=@@PREFIX@@/etc/lpd.conf:@@PREFIX@@/etc/lpd_client.conf:/etc/lpd.conf:/etc/lpd_client.conf:/usr/etc/lpd.conf:/usr/etc/lpd_client.conf:/usr/spool/lpd/lpd.conf:/usr/spool/lpd/lpd_client.conf",
|
||||
"co#20",
|
||||
"connect_grace#0",
|
||||
"connect_interval#10",
|
||||
@@ -67,8 +67,8 @@
|
||||
"logger_destination",
|
||||
"longnumber@",
|
||||
"lpd_port=printer",
|
||||
-"lpd_printcap_path=/etc/lpd_printcap:/usr/etc/lpd_printcap:",
|
||||
-"kerberos_keytab=/etc/lpd.keytab",
|
||||
+"lpd_printcap_path=@@PREFIX@@/etc/lpd_printcap:/etc/lpd_printcap:/usr/etc/lpd_printcap:",
|
||||
+"kerberos_keytab=@@PREFIX@@/etc/lpd.keytab:/etc/lpd.keytab",
|
||||
"kerberos_service=lpr",
|
||||
"mail_operator_on_error",
|
||||
"max_status_size#10",
|
||||
@@ -81,8 +81,8 @@
|
||||
"pl#66",
|
||||
"poll_time#600",
|
||||
"pr=/bin/pr",
|
||||
-"printcap_path=/etc/printcap:/usr/etc/printcap:/var/spool/lpd/printcap.%h",
|
||||
-"printer_perms_path=/etc/lpd.perms:/usr/etc/lpd.perms:/var/spool/lpd/lpd.perms.%h",
|
||||
+"printcap_path=@@PREFIX@@/etc/printcap:/etc/printcap:/usr/etc/printcap:/var/spool/lpd/printcap.%h",
|
||||
+"printer_perms_path=@@PREFIX@@/etc/lpd.perms:/etc/lpd.perms:/usr/etc/lpd.perms:/var/spool/lpd/lpd.perms.%h",
|
||||
"pw#80",
|
||||
"save_on_error@",
|
||||
"save_when_done@",
|
||||
@@ -90,9 +90,9 @@
|
||||
"send_failure_action",
|
||||
"send_timeout#6000",
|
||||
"send_try#3",
|
||||
-"sendmail=/usr/lib/sendmail -oi -t",
|
||||
+"sendmail=/usr/sbin/sendmail -oi -t",
|
||||
"server_auth_command",
|
||||
-"server_config_file=/etc/lpd.conf:/usr/etc/lpd.conf:/usr/spool/lpd/lpd.conf.%h",
|
||||
+"server_config_file=@@PREFIX@@/etc/lpd.conf:/etc/lpd.conf:/usr/etc/lpd.conf:/usr/spool/lpd/lpd.conf.%h",
|
||||
"server_tmp_dir=/tmp",
|
||||
"server_user=daemon",
|
||||
"spool_dir_perms#042700",
|
@ -1,11 +0,0 @@
|
||||
--- src/common//termclear.c.orig Sat Feb 15 16:01:35 1997
|
||||
+++ src/common//termclear.c Mon Apr 14 19:16:00 1997
|
||||
@@ -30,7 +30,7 @@
|
||||
#endif
|
||||
|
||||
/* terminfo has a termcap emulation */
|
||||
-#if defined(HAVE_TERMCAP_H) && !defined(__FreeBSD__) && !defined(__linux__)
|
||||
+#if defined(HAVE_TERMCAP_H) && !defined(__linux__)
|
||||
# include <termcap.h>
|
||||
#endif
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- Makefile.bsd.in.orig Mon Mar 24 02:56:08 1997
|
||||
+++ Makefile.bsd.in Mon Apr 14 20:07:21 1997
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
#install default versions of the lpd.conf and lpd.perm files
|
||||
default:
|
||||
- cp ${SRC}/lpd.conf ${SRC}/lpd.perms /etc
|
||||
+ cp ${SRC}/lpd.conf ${SRC}/lpd.perms ${PREFIX}/etc
|
||||
|
||||
###############################################################################
|
||||
|
@ -2,16 +2,13 @@
|
||||
To activate the new printing system do the following:
|
||||
|
||||
- save your old printcap (`cp /etc/printcap /etc/printcap.save')
|
||||
- update the files /etc/lpd.conf and /etc/lpd.perms
|
||||
You can find samples in /usr/local/lib
|
||||
- set `lpd_enable=NO' in /etc/rc.conf
|
||||
- reboot or kill the old lpd (`killall lpd') and
|
||||
start the new one (`/usr/local/libexec/lpd')
|
||||
- remember to adjust your aliases or your PATH to use the new programs
|
||||
|
||||
Note that LPRng searches /usr/local/etc before /etc for
|
||||
its configuration files.
|
||||
|
||||
For further information, have a look at:
|
||||
/usr/local/share/doc/LPRng
|
||||
also:
|
||||
http://dickory.sdsu.edu/lprng.html
|
||||
|
||||
|
@ -1,12 +1,13 @@
|
||||
@cwd /usr/local
|
||||
@name LPRng-3.5.1
|
||||
bin/lpq
|
||||
bin/lprm
|
||||
bin/lpr
|
||||
bin/lpc
|
||||
bin/checkpc
|
||||
bin/lpraccnt
|
||||
etc/lpd.perms
|
||||
etc/lpd.conf
|
||||
etc/rc.d/lprng.sh
|
||||
bin/lp
|
||||
bin/lpstat
|
||||
bin/cancel
|
||||
lib/lpd.conf-sample
|
||||
lib/lpd.perms-sample
|
||||
libexec/lpd
|
||||
libexec/lpf
|
||||
libexec/lpbanner
|
||||
@ -14,10 +15,26 @@ libexec/readfilecount
|
||||
libexec/removeoneline
|
||||
libexec/authenticate_pgp
|
||||
libexec/setupauth
|
||||
lib/liblpr.a
|
||||
@exec ranlib %D/%F
|
||||
lib/liblpr.so.3.21
|
||||
@exec /sbin/ldconfig -m %B
|
||||
share/doc/LPRng/LPRng.html
|
||||
share/doc/LPRng/LPRng-HOWTO.html
|
||||
share/doc/LPRng/LPRng-HOWTO-1.html
|
||||
share/doc/LPRng/LPRng-HOWTO-2.html
|
||||
share/doc/LPRng/LPRng-HOWTO-3.html
|
||||
share/doc/LPRng/LPRng-HOWTO-4.html
|
||||
share/doc/LPRng/LPRng-HOWTO-5.html
|
||||
share/doc/LPRng/LPRng-HOWTO-6.html
|
||||
share/doc/LPRng/LPRng-HOWTO-7.html
|
||||
share/doc/LPRng/LPRng-HOWTO-8.html
|
||||
share/doc/LPRng/LPRng-HOWTO-9.html
|
||||
share/doc/LPRng/LPRng-HOWTO-10.html
|
||||
share/doc/LPRng/LPRng-HOWTO-11.html
|
||||
share/doc/LPRng/LPRng-HOWTO-12.html
|
||||
share/doc/LPRng/LPRng-HOWTO-13.html
|
||||
share/doc/LPRng/LPRng-HOWTO-14.html
|
||||
share/doc/LPRng/LPRng-HOWTO-15.html
|
||||
share/doc/LPRng/bg.gif
|
||||
share/doc/LPRng/star1.gif
|
||||
man/man1/authenticate_pgp.1
|
||||
man/man1/cancel.1
|
||||
man/man1/lp.1
|
||||
man/man1/lpbanner.1
|
||||
@ -35,27 +52,15 @@ man/man5/lpd.perms.5
|
||||
man/man5/printcap.5
|
||||
man/man8/checkpc.8
|
||||
man/man8/lpd.8
|
||||
share/doc/LPRng/README
|
||||
share/doc/LPRng/README.1st
|
||||
share/doc/LPRng/README.LPRng_to_lpr_spooling
|
||||
share/doc/LPRng/README.accounting
|
||||
share/doc/LPRng/README.authentication
|
||||
share/doc/LPRng/README.banner
|
||||
share/doc/LPRng/README.bouncequeues
|
||||
share/doc/LPRng/README.deskjet
|
||||
share/doc/LPRng/README.install
|
||||
share/doc/LPRng/README.kerberos_authentication
|
||||
share/doc/LPRng/README.logger
|
||||
share/doc/LPRng/README.lp_Malformed_from_address
|
||||
share/doc/LPRng/README.lp_emulation
|
||||
share/doc/LPRng/README.lpd.conf
|
||||
share/doc/LPRng/README.lpd.perms
|
||||
share/doc/LPRng/README.nis
|
||||
share/doc/LPRng/README.pgp_authentication
|
||||
share/doc/LPRng/README.ports
|
||||
share/doc/LPRng/README.printcap
|
||||
share/doc/LPRng/README.routing
|
||||
share/doc/LPRng/README.solaris
|
||||
share/doc/LPRng/README.solaris.newsprint
|
||||
share/doc/LPRng/README.statusdisplays
|
||||
sbin/lpc
|
||||
sbin/checkpc
|
||||
sbin/lpraccnt
|
||||
@dirrm share/doc/LPRng
|
||||
@exec test -f /etc/lpd.conf || cp %D/lib/lpd.conf-sample /etc/lpd.conf
|
||||
@exec test -f /etc/lpd.conf || cp %D/lib/lpd.perms-sample /etc/lpd.perms
|
||||
@unexec echo ""
|
||||
@unexec echo "*** to completly delete this package issue the command:"
|
||||
@unexec echo "*** rm -f /etc/lpd.conf /etc/lpd.perms"
|
||||
@unexec echo "*** when logged in as root"
|
||||
@unexec echo ""
|
||||
|
||||
|
@ -1,59 +0,0 @@
|
||||
bin/lpq
|
||||
bin/lprm
|
||||
bin/lpr
|
||||
bin/lpc
|
||||
bin/checkpc
|
||||
bin/lpraccnt
|
||||
etc/lpd.perms
|
||||
etc/lpd.conf
|
||||
etc/rc.d/lprng.sh
|
||||
libexec/lpd
|
||||
libexec/lpf
|
||||
libexec/lpbanner
|
||||
libexec/readfilecount
|
||||
libexec/removeoneline
|
||||
libexec/authenticate_pgp
|
||||
libexec/setupauth
|
||||
lib/liblpr.a
|
||||
@exec ranlib %D/%F
|
||||
man/man1/cancel.1
|
||||
man/man1/lp.1
|
||||
man/man1/lpbanner.1
|
||||
man/man1/lpc.1
|
||||
man/man1/lpf.1
|
||||
man/man1/lpq.1
|
||||
man/man1/lpr.1
|
||||
man/man1/lpraccnt.1
|
||||
man/man1/lprm.1
|
||||
man/man1/lpstat.1
|
||||
man/man1/monitor.1
|
||||
man/man1/readfilecount.1
|
||||
man/man5/lpd.conf.5
|
||||
man/man5/lpd.perms.5
|
||||
man/man5/printcap.5
|
||||
man/man8/checkpc.8
|
||||
man/man8/lpd.8
|
||||
share/doc/LPRng/README
|
||||
share/doc/LPRng/README.1st
|
||||
share/doc/LPRng/README.LPRng_to_lpr_spooling
|
||||
share/doc/LPRng/README.accounting
|
||||
share/doc/LPRng/README.authentication
|
||||
share/doc/LPRng/README.banner
|
||||
share/doc/LPRng/README.bouncequeues
|
||||
share/doc/LPRng/README.deskjet
|
||||
share/doc/LPRng/README.install
|
||||
share/doc/LPRng/README.kerberos_authentication
|
||||
share/doc/LPRng/README.logger
|
||||
share/doc/LPRng/README.lp_Malformed_from_address
|
||||
share/doc/LPRng/README.lp_emulation
|
||||
share/doc/LPRng/README.lpd.conf
|
||||
share/doc/LPRng/README.lpd.perms
|
||||
share/doc/LPRng/README.nis
|
||||
share/doc/LPRng/README.pgp_authentication
|
||||
share/doc/LPRng/README.ports
|
||||
share/doc/LPRng/README.printcap
|
||||
share/doc/LPRng/README.routing
|
||||
share/doc/LPRng/README.solaris
|
||||
share/doc/LPRng/README.solaris.newsprint
|
||||
share/doc/LPRng/README.statusdisplays
|
||||
@dirrm share/doc/LPRng
|
Loading…
Reference in New Issue
Block a user