From d6cde4da999fec0e5d7260b035ff57e12c86f6d9 Mon Sep 17 00:00:00 2001 From: kei Date: Wed, 13 Dec 2000 00:31:05 +0000 Subject: make "LPRng" package to meta-package which depends on "LPRng-core" and "LPRng-doc" packages. --- print/LPRng/Makefile | 73 +++++++----------------------------------- print/LPRng/files/lprng.sh | 16 ---------- print/LPRng/files/md5 | 4 --- print/LPRng/files/patch-sum | 6 ---- print/LPRng/patches/patch-aa | 43 ------------------------- print/LPRng/patches/patch-ab | 16 ---------- print/LPRng/patches/patch-ac | 48 ---------------------------- print/LPRng/patches/patch-ah | 27 ---------------- print/LPRng/pkg/COMMENT | 2 +- print/LPRng/pkg/DESCR | 15 +++++---- print/LPRng/pkg/MESSAGE | 21 ------------- print/LPRng/pkg/PLIST | 75 -------------------------------------------- 12 files changed, 20 insertions(+), 326 deletions(-) delete mode 100644 print/LPRng/files/lprng.sh delete mode 100644 print/LPRng/files/md5 delete mode 100644 print/LPRng/files/patch-sum delete mode 100644 print/LPRng/patches/patch-aa delete mode 100644 print/LPRng/patches/patch-ab delete mode 100644 print/LPRng/patches/patch-ac delete mode 100644 print/LPRng/patches/patch-ah delete mode 100644 print/LPRng/pkg/MESSAGE delete mode 100644 print/LPRng/pkg/PLIST (limited to 'print/LPRng') diff --git a/print/LPRng/Makefile b/print/LPRng/Makefile index df7ab26fafb..3e9684610ec 100644 --- a/print/LPRng/Makefile +++ b/print/LPRng/Makefile @@ -1,73 +1,24 @@ -# $NetBSD: Makefile,v 1.3 2000/04/19 19:47:24 nathanw Exp $ +# $NetBSD: Makefile,v 1.4 2000/12/13 00:31:05 kei Exp $ # FreeBSD Id: Makefile,v 1.5 1998/10/21 00:57:27 steve Exp # -DISTNAME= LPRng-3.6.8 +DISTNAME= LPRng-3.6.26 CATEGORIES= print -MASTER_SITES= ftp://ftp.astart.com/pub/LPRng/LPRng/ -EXTRACT_SUFX= .tgz -DISTFILES= ${LPRNG_SRC} ${LPRNG_DOC} +MASTER_SITES= # empty +DISTFILES= # empty MAINTAINER= jlam@netbsd.org HOMEPAGE= http://www.astart.com/LPRng.html -LPRNG_SRC= ${DISTNAME}${EXTRACT_SUFX} -LPRNG_DOC= ${DISTNAME:S/-/_DOC-/}${EXTRACT_SUFX} -EXTRACT_ONLY= ${LPRNG_SRC} +DEPENDS+= LPRng-core-3.6.26:../../print/LPRng-core +DEPENDS+= LPRng-doc-3.6.13:../../print/LPRng-doc -BUILD_DEFS+= LPRNG_SUID LPRNG_PRIV_PORTS +EXTRACT_ONLY= # empty +NO_CHECKSUM= yes +NO_PATCH= yes +NO_CONFIGURE= yes +NO_BUILD= yes -MAKEFILE= Makefile.bsd -GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --sysconfdir=${LPRNG_SYSCONFDIR} \ - --with-filterdir=${FILTER_DIR} - -.include "../../mk/bsd.prefs.mk" - -LPRNG_SUID?= YES -LPRNG_PRIV_PORTS?= NO - -.if (${LPRNG_SUID} == "NO") -CONFIGURE_ARGS+= --disable-setuid -.endif -.if (${LPRNG_PRIV_PORTS} == "YES") -CONFIGURE_ARGS+= --enable-priv_ports -.endif - -LPRNG_SYSCONFDIR= /etc -LPD_PRINTCAP_PATH= ${LPRNG_SYSCONFDIR}/lpd_printcap,${PREFIX}/etc/lpd_printcap -LPD_PERMS_PATH= ${LPRNG_SYSCONFDIR}/lpd.perms -PRINTCAP_PATH= ${LPRNG_SYSCONFDIR}/printcap - -FILTER_DIR= ${PREFIX}/libexec/LPRng -FILTER_LD_PATH= /usr/lib:${PREFIX}/lib:/usr/local/lib -FILTER_PATH= ${FILTER_DIR}:/sbin:/usr/sbin:/bin:/usr/bin:${PREFIX}/sbin:${PREFIX}/bin:/usr/local/sbin:/usr/local/bin - -MAKE_ENV+= FILTER_LD_PATH="${FILTER_LD_PATH}" \ - FILTER_PATH="${FILTER_PATH}" \ - LPD_PRINTCAP_PATH="${LPD_PRINTCAP_PATH}" - -pre-patch: - ${MV} ${WRKSRC}/man/lpd.conf.5 ${WRKSRC}/man/lpd.conf.5.in - -post-configure: - ${SED} -e "s#@@FILTER_LD_PATH@@#${FILTER_LD_PATH}#g" \ - -e "s#@@FILTER_PATH@@#${FILTER_PATH}#g" \ - -e "s#@@LPD_PRINTCAP_PATH@@#${LPD_PRINTCAP_PATH}#g" \ - -e "s#@@LPD_PERMS_PATH@@#${LPD_PERMS_PATH}#g" \ - -e "s#@@PRINTCAP_PATH@@#${PRINTCAP_PATH}#g" \ - ${WRKSRC}/man/lpd.conf.5.in > ${WRKSRC}/man/lpd.conf.5 - -post-install: - ${SED} -e "s#@@PREFIX@@#${PREFIX}#g" \ - -e "s#@@CAT@@#${CAT}#g" \ - -e "s#@@ECHO@@#${ECHO}#g" \ - ${FILESDIR}/lprng.sh > ${WRKDIR}/lprng.sh - ${INSTALL_SCRIPT} ${WRKDIR}/lprng.sh ${PREFIX}/etc/rc.d/lprng.sh - - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/LPRng - ${PAX} -rzf ${DISTDIR}/${LPRNG_DOC} \ - -s "#^${DISTNAME:S/-/_DOC-/}/#${PREFIX}/share/doc/LPRng/#" \ - '*.gif' '*.html' '*.ps' '*.txt' +do-install: # empty .include "../../mk/bsd.pkg.mk" diff --git a/print/LPRng/files/lprng.sh b/print/LPRng/files/lprng.sh deleted file mode 100644 index ade031a79d8..00000000000 --- a/print/LPRng/files/lprng.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -# -# $NetBSD: lprng.sh,v 1.2 1999/09/13 18:40:52 jlam Exp $ - -# Stop BSD lpd if it is running. -# -if [ -f /var/run/lpd.pid ]; then - kill `@@CAT@@ /var/run/lpd.pid` -fi - -# Start LPRng lpd if it exists. -# -if [ -x @@PREFIX@@/sbin/lpd ]; then - @@ECHO@@ -n ' LPRng'; - @@PREFIX@@/sbin/lpd -fi diff --git a/print/LPRng/files/md5 b/print/LPRng/files/md5 deleted file mode 100644 index f46ebacd136..00000000000 --- a/print/LPRng/files/md5 +++ /dev/null @@ -1,4 +0,0 @@ -$NetBSD: md5,v 1.2 1999/09/13 18:40:52 jlam Exp $ - -MD5 (LPRng-3.6.8.tgz) = d67d2e57f08323f4efd5d58a98c78ac8 -MD5 (LPRng_DOC-3.6.8.tgz) = b2df8d549110aa08320b38e9f4d2117d diff --git a/print/LPRng/files/patch-sum b/print/LPRng/files/patch-sum deleted file mode 100644 index 6fffa36b863..00000000000 --- a/print/LPRng/files/patch-sum +++ /dev/null @@ -1,6 +0,0 @@ -$NetBSD: patch-sum,v 1.1 1999/09/13 18:40:52 jlam Exp $ - -MD5 (patch-aa) = 1917fa18c550d16e7b144be5bce30903 -MD5 (patch-ab) = f5cd2c7a963d704863dc7ea17f6df8ed -MD5 (patch-ac) = 89fa587f78602373b3e3b0e736125c92 -MD5 (patch-ah) = db316d465b655120356990420e451c2d diff --git a/print/LPRng/patches/patch-aa b/print/LPRng/patches/patch-aa deleted file mode 100644 index 6babd9ca857..00000000000 --- a/print/LPRng/patches/patch-aa +++ /dev/null @@ -1,43 +0,0 @@ -$NetBSD: patch-aa,v 1.1 1999/09/13 18:40:52 jlam Exp $ - ---- Makefile.bsd.in.orig Fri Aug 27 21:37:47 1999 -+++ Makefile.bsd.in Mon Sep 13 13:24:16 1999 -@@ -31,6 +31,8 @@ - libexecdir=@libexecdir@ - # for the configuration stuff - sysconfdir=@sysconfdir@ -+# for the sample configuraton files -+egdir=${prefix}/share/examples/LPRng - - LPD_PERMS_PATH=@LPD_PERMS_PATH@ - LPD_CONF_PATH=@LPD_CONF_PATH@ -@@ -73,20 +75,20 @@ - install:: - #install default versions of the lpd.conf and lpd.perm files - -+ ${BSD_INSTALL_DATA_DIR} ${egdir}; -+ - f=$(LPD_CONF_PATH) ; g=lpd.conf; \ -- if [ -z "$$f" ] ; then f=${admindir}/$$g; fi; \ -- $(INSTALL) -m 644 $(SRC)/$$g $$f.sample; \ -+ ${BSD_INSTALL_DATA} ${SRC}/$$g ${egdir}/$$g.sample; \ - if [ ! -f "$$f" ] ; then \ -- echo $(INSTALL) -m 644 $(SRC)/$$g $$f; \ -- $(INSTALL) -m 644 $(SRC)/$$g $$f; \ -+ echo ${BSD_INSTALL_DATA} ${SRC}/$$g $$f; \ -+ ${BSD_INSTALL_DATA} ${SRC}/$$g $$f; \ - fi; - -- f=$(LPD_PERMS_PATH); g=lpd.perms; \ -- if [ -z "$$f" ] ; then f=${admindir}/$$g; fi; \ -- $(INSTALL) -m 644 $(SRC)/$$g $$f.sample; \ -+ f=$(LPD_PERMS_PATH) ; g=lpd.perms; \ -+ ${BSD_INSTALL_DATA} ${SRC}/$$g ${egdir}/$$g.sample; \ - if [ ! -f "$$f" ] ; then \ -- echo $(INSTALL) -m 644 $(SRC)/$$g $$f; \ -- $(INSTALL) -m 644 $(SRC)/$$g $$f; \ -+ echo ${BSD_INSTALL_DATA} ${SRC}/$$g $$f; \ -+ ${BSD_INSTALL_DATA} ${SRC}/$$g $$f; \ - fi; - - info dvi check: diff --git a/print/LPRng/patches/patch-ab b/print/LPRng/patches/patch-ab deleted file mode 100644 index 3c4d850c7f5..00000000000 --- a/print/LPRng/patches/patch-ab +++ /dev/null @@ -1,16 +0,0 @@ -$NetBSD: patch-ab,v 1.1 1999/09/13 18:40:52 jlam Exp $ - ---- src/Makefile.bsd.in.orig Fri Aug 27 21:37:56 1999 -+++ src/Makefile.bsd.in Mon Sep 13 11:38:07 1999 -@@ -81,7 +81,10 @@ - FORCE_LOCALHOST=@FORCE_LOCALHOST@ - PERMS=@PERMS@ - --CFLAGS:= @CPPFLAGS@ @CFLAGS@ @DEFS@ -DLOCALEDIR=\"$(localedir)\" -+CFLAGS:= @CPPFLAGS@ @CFLAGS@ @DEFS@ -DLOCALEDIR=\"$(localedir)\" \ -+ -DFILTER_LD_PATH=\"${FILTER_LD_PATH}\" \ -+ -DFILTER_PATH=\"${FILTER_PATH}\" \ -+ -DLPD_PRINTCAP_PATH=\"${LPD_PRINTCAP_PATH}\" - LDFLAGS:= @LDFLAGS@ - - #********************** End of configure modifiable settings ************ diff --git a/print/LPRng/patches/patch-ac b/print/LPRng/patches/patch-ac deleted file mode 100644 index bc95857c9c9..00000000000 --- a/print/LPRng/patches/patch-ac +++ /dev/null @@ -1,48 +0,0 @@ -$NetBSD: patch-ac,v 1.1 1999/09/13 18:40:52 jlam Exp $ - ---- man/lpd.conf.5.in.orig Fri Aug 27 21:38:52 1999 -+++ man/lpd.conf.5.in Mon Sep 13 11:35:56 1999 -@@ -250,7 +250,7 @@ - Formfeed string. - .TP - \fBfilter_ld_path\fR --(default: /lib:/usr/lib:/usr/5lib:/usr/ucblib) -+(default: @@FILTER_LD_PATH@@) - The value for the environment variable LD_LIBRARY_PATH, - both used when executing, and passed on to filters. - This variable is used to find shared libraries on -@@ -268,7 +268,7 @@ - (see of_filter_options, filter_options, bk_filter_options, bk_of_filter_options) - .TP - \fBfilter_path\fR --(default: /bin:/usr/bin:/usr/ucb:/usr/sbin:/usr/etc:/etc) -+(default: @@FILTER_PATH@@) - The value for the environment variable PATH, both used to find filters - and passed on to filters run by \fBlpd\fR and \fBlpr\fR. - .TP -@@ -387,7 +387,7 @@ - interfere with a previous installation of - LPD or LPRng. - .TP --\fBlpd_printcap_path\fR (default: "/etc/lpd_printcap:/usr/etc/lpd_printcap") -+\fBlpd_printcap_path\fR (default: @@LPD_PRINTCAP_PATH@@) - The location of additional - .B lpd - server printcap database information. -@@ -487,14 +487,14 @@ - See \fBprintcap\fP(5) for details. - .TP - \fBprintcap_path\fR --(default: "etc/printcap:/usr/etc/printcap:/var/spool/lpd/printcap.%h") -+(default: @@PRINTCAP_PATH@@) - The location of the printcap database information. - If a file or filter does not exist, it is skipped. - All valid entries in these files will be used. - See PRINTCAP LOOKUP for details. - .TP - \fBperms_path\fR --(default: /etc/lpd.perms:/usr/etc/lpd.perms:/var/spool/lpd/lpd.perms.%h) -+(default: @@LPD_PERMS_PATH@@) - The location of the printer permissions database. - If a file or filter does not exist, it is skipped. - The first file or filter that exists and is readable will be used. diff --git a/print/LPRng/patches/patch-ah b/print/LPRng/patches/patch-ah deleted file mode 100644 index 0bf4a27ec88..00000000000 --- a/print/LPRng/patches/patch-ah +++ /dev/null @@ -1,27 +0,0 @@ -$NetBSD: patch-ah,v 1.2 1999/09/13 18:40:53 jlam Exp $ - ---- src/common/vars.c.orig Fri Aug 27 21:38:25 1999 -+++ src/common/vars.c Mon Sep 13 11:19:06 1999 -@@ -179,11 +179,11 @@ - /* default filter */ - { "filter", STRING_K, &Filter_DYN,0,0}, - /* filter LD_LIBRARY_PATH value */ --{ "filter_ld_path", STRING_K, &Filter_ld_path_DYN,0,0,"=/lib:/usr/lib:/usr/5lib:/usr/ucblib"}, -+{ "filter_ld_path", STRING_K, &Filter_ld_path_DYN,0,0,"=" FILTER_LD_PATH}, - /* filter options */ - { "filter_options", STRING_K, &Filter_options_DYN,0,0,"=$C $A $F $H $J $K $L $P $Q $R $Z $a $c $d $e $f $h $i $j $k $l $n $p $r $s $w $x $y $-a"}, - /* filter PATH environment variable */ --{ "filter_path", STRING_K, &Filter_path_DYN,0,0,"=/bin:/usr/bin:/usr/local/bin:/usr/ucb:/usr/sbin:/usr/etc:/etc"}, -+{ "filter_path", STRING_K, &Filter_path_DYN,0,0,"=" FILTER_PATH}, - /* interval at which to check OF filter for error status */ - { "filter_poll_interval", INTEGER_K, &Filter_poll_interval_DYN,0,0,"=30"}, - /* print a form feed when device is opened */ -@@ -259,7 +259,7 @@ - /* lpd port */ - { "lpd_port", STRING_K, &Lpd_port_DYN,0,0,"=printer"}, - /* lpd printcap path */ --{ "lpd_printcap_path", STRING_K, &Lpd_printcap_path_DYN,1,0,"=/etc/lpd_printcap,/usr/etc/lpd_printcap"}, -+{ "lpd_printcap_path", STRING_K, &Lpd_printcap_path_DYN,1,0,"=" LPD_PRINTCAP_PATH}, - /* use lpr filtering as in bounce queue */ - { "lpr_bounce", FLAG_K, &Lpr_bounce_DYN,0,0}, - /* BSD LPR -m flag, does not require mail address */ diff --git a/print/LPRng/pkg/COMMENT b/print/LPRng/pkg/COMMENT index 1300bcb7129..e1293fc0314 100644 --- a/print/LPRng/pkg/COMMENT +++ b/print/LPRng/pkg/COMMENT @@ -1 +1 @@ -Enhanced Printer Spooler +The "meta-package" for LPRng, Enhanced Printer Spooler diff --git a/print/LPRng/pkg/DESCR b/print/LPRng/pkg/DESCR index 9f47015462b..20c50173854 100644 --- a/print/LPRng/pkg/DESCR +++ b/print/LPRng/pkg/DESCR @@ -1,9 +1,8 @@ The LPRng software is an enhanced, extended, and portable implementation -of the Berkeley LPR print spooler functionality. While providing the -same interface and meeting RFC1179 requirements, the implementation is -completely new and provides support for the following features: -lightweight (no databases needed) lpr, lpc, and lprm programs; dynamic -redirection of print queues; automatic job holding; highly verbose -diagnostics; multiple printers serving a single queue; client programs -do not need to run SUID root; greatly enhanced security checks; and a -greatly improved permission and authorization mechanism. +of the Berkeley LPR print spooler functionality. + +This package does not contain anything by itself -- it is a +"meta-package" that depends on the LPRng-core and LPRng-doc packages. +Its purpose is to require dependencies so users can install this package +only and have the the complete LPRng software pulled in by the package +dependency mechanism. diff --git a/print/LPRng/pkg/MESSAGE b/print/LPRng/pkg/MESSAGE deleted file mode 100644 index 24d517316b0..00000000000 --- a/print/LPRng/pkg/MESSAGE +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: MESSAGE,v 1.2 1999/09/13 18:40:53 jlam Exp $ -=========================================================================== - -To activate the LPRng printing system do the following: - - set `lpd=NO' in /etc/rc.conf - - run ${PREFIX}/etc/rc.d/lprng.sh (may be added to /etc/rc.local) - - remember to adjust your aliases or your PATH to use the new programs - -Note that LPRng uses: - /etc/printcap - /etc/lpd_printcap - /etc/lpd.conf - /etc/lpd.perms - -For further information, have a look at - ${PREFIX}/share/doc/LPRng/LPRng-HOWTO.txt - -or point your favorite brower at - ${PREFIX}/share/doc/LPRng/LPRng-HOWTO.html - -=========================================================================== diff --git a/print/LPRng/pkg/PLIST b/print/LPRng/pkg/PLIST deleted file mode 100644 index 4df53a6e7a3..00000000000 --- a/print/LPRng/pkg/PLIST +++ /dev/null @@ -1,75 +0,0 @@ -@comment $NetBSD: PLIST,v 1.2 1999/09/13 18:40:53 jlam Exp $ -bin/cancel -bin/lp -bin/lpq -bin/lpr -bin/lprm -bin/lpstat -etc/rc.d/lprng.sh -libexec/LPRng/lpbanner -libexec/LPRng/lpf -libexec/LPRng/pclbanner -libexec/LPRng/psbanner -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/pclbanner.1 -man/man1/psbanner.1 -man/man5/lpd.conf.5 -man/man5/lpd.perms.5 -man/man5/printcap.5 -man/man8/checkpc.8 -man/man8/lpd.8 -sbin/checkpc -sbin/lpc -sbin/lpd -sbin/lpraccnt -share/doc/LPRng/LISA98.ps -share/doc/LPRng/LPRng-HOWTO-1.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/LPRng-HOWTO-16.html -share/doc/LPRng/LPRng-HOWTO-17.html -share/doc/LPRng/LPRng-HOWTO-18.html -share/doc/LPRng/LPRng-HOWTO-19.html -share/doc/LPRng/LPRng-HOWTO-2.html -share/doc/LPRng/LPRng-HOWTO-20.html -share/doc/LPRng/LPRng-HOWTO-21.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.html -share/doc/LPRng/LPRng-HOWTO.ps -share/doc/LPRng/LPRng-HOWTO.txt -share/doc/LPRng/LPRng-LISA95.ps -share/doc/LPRng/LPRng.html -share/doc/LPRng/REDIRECT.LPRng.html -share/doc/LPRng/bg.gif -share/doc/LPRng/license.txt -share/doc/LPRng/lprng.html -share/doc/LPRng/rfc1179.txt -share/doc/LPRng/star1.gif -share/examples/LPRng/lpd.conf.sample -@exec if [ ! -f /etc/lpd.conf ]; then cp %D/%F /etc/lpd.conf; fi -share/examples/LPRng/lpd.perms.sample -@exec if [ ! -f /etc/lpd.perms ]; then cp %D/%F /etc/lpd.perms; fi -@unexec echo "If you won't be using the LPRng package anymore, you may want to manually delete /etc/lpd.conf and /etc/lpd.perms." -@dirrm share/examples/LPRng -@dirrm share/doc/LPRng -@dirrm libexec/LPRng -- cgit v1.2.3