1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Long threatened import of LPRng port.

PR:		3185
Submitted by:	Kenneth J. Monville <desmo@bandwidth.org>
This commit is contained in:
Thomas Gellekum 1997-06-18 08:36:41 +00:00
parent a53293467b
commit fc59f8c3a4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6989
6 changed files with 148 additions and 0 deletions

61
sysutils/LPRng/Makefile Normal file
View File

@ -0,0 +1,61 @@
# New ports collection makefile for: LPRng
# Version required: 3.2.3
# Date created: 2 Apr 1997
# Whom: desmo@bandwidth.org
#
# $Id$
#
DISTNAME= LPRng-3.2.3
CATEGORIES= sysutils print
MASTER_SITES= ftp://dickory.sdsu.edu/pub/LPRng/
EXTRACT_SUFX= .tgz
MAINTAINER= desmo@bandwidth.org
MAKEFILE= Makefile.bsd
GNU_CONFIGURE= yes
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
pre-build:
(cd ${WRKSRC}/po ; ln -s Makefile ${MAKEFILE})
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 \
${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
sysutils/LPRng/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (LPRng-3.2.3.tgz) = 17e55cbea91c3dbca274e87932dd1bd5

View File

@ -0,0 +1 @@
An Enhanced Printer Spooler

9
sysutils/LPRng/pkg-descr Normal file
View File

@ -0,0 +1,9 @@
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.

View File

@ -0,0 +1,17 @@
To activate the new printing system do the following:
- save your old printcap (`cp /etc/printcap /etc/printcap.save')
- 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

59
sysutils/LPRng/pkg-plist Normal file
View File

@ -0,0 +1,59 @@
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
lib/liblpr.so.3.21
man/man1/cancel.1.gz
man/man1/lp.1.gz
man/man1/lpbanner.1.gz
man/man1/lpc.1.gz
man/man1/lpf.1.gz
man/man1/lpq.1.gz
man/man1/lpr.1.gz
man/man1/lpraccnt.1.gz
man/man1/lprm.1.gz
man/man1/lpstat.1.gz
man/man1/monitor.1.gz
man/man1/readfilecount.1.gz
man/man5/lpd.conf.5.gz
man/man5/lpd.perms.5.gz
man/man5/printcap.5.gz
man/man8/checkpc.8.gz
man/man8/lpd.8.gz
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