Summary: A utility that manages print jobs. Name: lpr Version: 0.50 Release: 7vl3 Copyright: distributable Group: System Environment/Daemons Source: lpr-%{PACKAGE_VERSION}.tar.gz Patch: lpd.init-export-lang.diff Prereq: /sbin/chkconfig BuildRoot: /var/tmp/%{name}-root Summary(ja): プリントジョブ管理ユーティリティ Vendor: Project Vine Distribution: Vine Linux %description The lpr package provides the basic system utility for managing printing services. Lpr manages print queues, sends print jobs to local and remote printers and accepts print jobs from remote clients. If you will be printing from your system, you'll need to install the lpr package. %prep %setup -q %patch -p0 -b .vine %build %ifarch alpha # we shouldn't need this with more recent glibc's, but lpq kills remote # lpd w/o it make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Dgetline=get_line" %else make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %endif %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/{bin,sbin,man/man1,man/man5,man/man8} %ifarch alpha # we shouldn't need this with more recent glibc's, but lpq kills remote # lpd w/o it and there seems to be a mistake in lpr's makefiles somewhere make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Dgetline=get_line" DESTDIR=$RPM_BUILD_ROOT install %else make DESTDIR=$RPM_BUILD_ROOT install %endif chmod -x $RPM_BUILD_ROOT/usr/man/*/* mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d install -m755 lpd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/lpd ( cd $RPM_BUILD_ROOT mkdir -p ./etc/rc.d/{rc0.d,rc1.d,rc2.d,rc3.d,rc4.d,rc5.d,rc6.d} ln -sf ../init.d/lpd ./etc/rc.d/rc0.d/K60lpd ln -sf ../init.d/lpd ./etc/rc.d/rc1.d/K60lpd ln -sf ../init.d/lpd ./etc/rc.d/rc2.d/S60lpd ln -sf ../init.d/lpd ./etc/rc.d/rc3.d/S60lpd ln -sf ../init.d/lpd ./etc/rc.d/rc5.d/S60lpd ln -sf ../init.d/lpd ./etc/rc.d/rc6.d/K60lpd mkdir -p ./var/spool/lpd ) %clean rm -rf $RPM_BUILD_ROOT %post /sbin/chkconfig --add lpd %preun if [ $1 = 0 ]; then /sbin/chkconfig --del lpd fi %files %defattr(-,root,root) %attr(6555,root,lp) /usr/bin/lpq %attr(6555,root,lp) /usr/bin/lpr %attr(6555,root,lp) /usr/bin/lprm /usr/bin/lptest /usr/man/man1/lpq.1* /usr/man/man1/lpr.1* /usr/man/man1/lprm.1* /usr/man/man1/lptest.1* /usr/man/man5/printcap.5* /usr/man/man8/lpc.8* /usr/man/man8/lpd.8* /usr/man/man8/pac.8* %attr(2755,root,lp) /usr/sbin/lpc /usr/sbin/lpd /usr/sbin/lpf /usr/sbin/pac %attr(0775,root,daemon) %dir /var/spool/lpd %config /etc/rc.d/init.d/lpd %config(missingok) /etc/rc.d/rc0.d/K60lpd %config(missingok) /etc/rc.d/rc1.d/K60lpd %config(missingok) /etc/rc.d/rc2.d/S60lpd %config(missingok) /etc/rc.d/rc3.d/S60lpd %config(missingok) /etc/rc.d/rc5.d/S60lpd %config(missingok) /etc/rc.d/rc6.d/K60lpd %changelog * Sat Jan 6 2001 Jun Nishii - 0.50-7vl3 - merge lpd.init-export-lang.diff ([vine-users:030229]) instead of lpd.init-vine.diff tnanks Masami Ashida for the patch * Tue Dec 19 2000 Shoji Matsumoto - add lpd.init-vine.diff * Sat Oct 14 2000 Daisuke SUZUKI - Eratta from RHSA * Mon Oct 2 2000 Crutcher Dunnavant - Fixed bug #11740 - Which was causing deadlocks in the queue in some situations. - Still possible, though much less likely. * Mon Sep 25 2000 Crutcher Dunnavant - Fixed a format string bug in lpd/printjob.c * Wed Aug 16 2000 Crutcher Dunnavant - fixed some evil in lpd/printjob.c that treated unspeced command lines - in the control file as print job files. (print was the default case) - this keeps lpd from screaming error messages/email when smatter lpd - servers talk to it. * Mon Feb 14 2000 Bernhard Rosenkraenzer - Fix interoperability with MacOS client (Bug #7593) * Thu Feb 3 2000 Bernhard Rosenkraenzer - Remove executable bit from lpq man page (Bug #9035) - deal with rpm compressing man pages * Mon Jan 24 2000 Bill Nottingham - you're saying core dumps in the spooldir are a bad idea? * Tue Jan 18 2000 Bill Nottingham - *sigh* * Thu Jan 6 2000 Bill Nottingham - more security fixes * Tue Nov 7 1999 Bill Nottingham - add a 'custom' parameter 'Z' to cf files (GOMEZ@slib.fr) * Fri Oct 22 1999 Bill Nottingham - oops. slightly overzealous in dropping ids. * Tue Oct 19 1999 Bill Nottingham - fix a stupid typo. * Fri Oct 15 1999 Bill Nottingham - fix some security issues. * Fri Oct 8 1999 Bill Nottingham - squash multiple copies bug, hopefully permanently... * Fri Sep 10 1999 Bill Nottingham - chkconfig --del on %preun, not %postun * Mon Aug 30 1999 Bill Nottingham - fix suppress headers on remote printers * Mon Aug 16 1999 Bill Nottingham - initscript munging * Mon Aug 2 1999 Bill Nottingham - fix multiple copy remote printing * Thu Jul 29 1999 Bill Nottingham - add lp group when exec()ing filter, so .config file with passwords can be non-world-readable... * Mon Jul 12 1999 Bill Nottingham - fix possible core dumps in lpc (ms@bee.de, #3776) * Wed Jun 23 1999 Bill Nottingham - add lp= capability support (#3683) * Thu Jun 17 1999 Bill Nottingham - fixes for job removal (#2676) * Wed Jun 2 1999 Jeff Johnson - fix for RS capability (#3217) * Mon May 10 1999 Bill Nottingham - RFC 1179 compliance actually works now... * Mon Apr 26 1999 Bill Nottingham - make lpr RFC 1179 compliant * Mon Mar 22 1999 Bill Nottingham - increase buffer length for filenames (bug #1676) * Fri Mar 19 1999 Bill Nottingham - change man page to show that -r -s is not supported (bug #717) * Mon Feb 15 1999 Bill Nottingham - security patch from Chris Evans - fix for remote but not local users (originally from Kevin Sochacki) * Mon Feb 8 1999 Bill Nottingham - build for 6.0 tree * Thu Oct 1 1998 Bill Nottingham - don't ignore SIGCHLD in filters * Mon Aug 3 1998 Jeff Johnson - build root. * Fri Jun 26 1998 Jeff Johnson - bring printjob up-to-date (fix problem #564) * Thu Apr 23 1998 Michael K. Johnson - enhanced initscript * Thu Apr 23 1998 Erik Troan - included new rmjob security fix from BSD * Sat Apr 18 1998 Erik Troan - included rmjob patches from BSD * Fri Feb 27 1998 Otto Hammersmith - increased buffer for hostname from 32 to 1024, plenty big enough now. * Wed Oct 29 1997 Donnie Barnes - added chkconfig support - changed the initscript name from lpd.init to lpd (all links, too) * Mon Oct 27 1997 Michael Fulbright - Fixed print filters to change to printer's UID so root-squashing wont bite us * Wed Oct 8 1997 Michael Fulbright - Fixed nasty error in getprent() and forked lpd's in startup() which caused the printcap file to be read incorrectly. - added #include as needed to make compile cleaner. * Thu Jul 10 1997 Erik Troan - changes for glibc 2.0.4 * Tue Apr 22 1997 Michael Fulbright - moved to v. 0.17, then 0.18 (!) - Fixed bug on Alpha/glibc when printing to a remote queue via a filter * Fri Mar 28 1997 Michael Fulbright - Moved version up to 0.16 - Added input filter support for remote queues * Wed Mar 05 1997 Erik Troan - Incorporated filter patch into main sources - Removed RCS logs from source tar file - Added patched from David Mosberger to fix __ivaliduser on Alpha's - added -Dgetline=get_line for old glibcs (this means alpha)