--- lprng-3.8.28.orig/config.sub
+++ lprng-3.8.28/config.sub
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Configuration validation subroutine script.
-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+#   Free Software Foundation, Inc.
 
-timestamp='2003-07-04'
+timestamp='2001-06-08'
 
 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -29,8 +29,7 @@
 # configuration script generated by Autoconf, you may include it under
 # the same distribution terms that you use for the rest of that program.
 
-# Please send patches to <config-patches@gnu.org>.  Submit a context
-# diff and a properly formatted ChangeLog entry.
+# Please send patches to <config-patches@gnu.org>.
 #
 # Configuration subroutine to validate and canonicalize a configuration type.
 # Supply the specified configuration type as an argument.
@@ -118,7 +117,7 @@
 # Here we must recognize all the valid KERNEL-OS combinations.
 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
 case $maybe_os in
-  nto-qnx* | linux-gnu* | kfreebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
+  nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-*)
     os=-$maybe_os
     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
     ;;
@@ -224,48 +223,26 @@
 case $basic_machine in
 	# Recognize the basic CPU types without company name.
 	# Some are omitted here because they have special meanings below.
-	1750a | 580 \
-	| a29k \
-	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
-	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
-	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
-	| c4x | clipper \
-	| d10v | d30v | dlx | dsp16xx \
-	| fr30 | frv \
-	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
-	| i370 | i860 | i960 | ia64 \
-	| ip2k \
-	| m32r | m68000 | m68k | m88k | mcore \
-	| mips | mipsbe | mipseb | mipsel | mipsle \
-	| mips16 \
-	| mips64 | mips64el \
-	| mips64vr | mips64vrel \
-	| mips64orion | mips64orionel \
-	| mips64vr4100 | mips64vr4100el \
-	| mips64vr4300 | mips64vr4300el \
-	| mips64vr5000 | mips64vr5000el \
-	| mipsisa32 | mipsisa32el \
-	| mipsisa32r2 | mipsisa32r2el \
-	| mipsisa64 | mipsisa64el \
-	| mipsisa64sb1 | mipsisa64sb1el \
-	| mipsisa64sr71k | mipsisa64sr71kel \
-	| mipstx39 | mipstx39el \
-	| mn10200 | mn10300 \
-	| msp430 \
-	| ns16k | ns32k \
-	| openrisc | or32 \
-	| pdp10 | pdp11 | pj | pjl \
-	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
-	| pyramid \
-	| sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
-	| sh64 | sh64le \
-	| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
-	| strongarm \
-	| tahoe | thumb | tic4x | tic80 | tron \
-	| v850 | v850e \
-	| we32k \
-	| x86 | xscale | xstormy16 | xtensa \
-	| z8k)
+	tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc \
+	        | arm | arme[lb] | arm[bl]e | armv[2345] | armv[345][lb] | strongarm | xscale \
+		| pyramid | mn10200 | mn10300 | tron | a29k \
+		| 580 | i960 | h8300 \
+		| x86 | ppcbe | mipsbe | mipsle | shbe | shle \
+		| hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \
+		| hppa64 \
+		| alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \
+		| alphaev6[78] \
+		| we32k | ns16k | clipper | i370 | sh | sh[34] \
+		| powerpc | powerpcle \
+		| 1750a | dsp16xx | pdp10 | pdp11 \
+		| mips16 | mips64 | mipsel | mips64el \
+		| mips64orion | mips64orionel | mipstx39 | mipstx39el \
+		| mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
+		| mips64vr5000 | mips64vr5000el | mcore | s390 | s390x \
+		| sparc | sparclet | sparclite | sparc64 | sparcv9 | sparcv9b \
+		| v850 | c4x \
+		| thumb | d10v | d30v | fr30 | avr | openrisc | tic80 \
+		| pj | pjl | h8500 | z8k)
 		basic_machine=$basic_machine-unknown
 		;;
 	m6811 | m68hc11 | m6812 | m68hc12)
@@ -288,60 +265,31 @@
 		exit 1
 		;;
 	# Recognize the basic CPU types with company name.
-	580-* \
-	| a29k-* \
-	| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
-	| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
-	| alphapca5[67]-* | alpha64pca5[67]-* | amd64-* | arc-* \
-	| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
-	| avr-* \
-	| bs2000-* \
-	| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
-	| clipper-* | cydra-* \
-	| d10v-* | d30v-* | dlx-* \
-	| elxsi-* \
-	| f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
-	| h8300-* | h8500-* \
-	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
-	| i*86-* | i860-* | i960-* | ia64-* \
-	| ip2k-* \
-	| m32r-* \
-	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
-	| m88110-* | m88k-* | mcore-* \
-	| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
-	| mips16-* \
-	| mips64-* | mips64el-* \
-	| mips64vr-* | mips64vrel-* \
-	| mips64orion-* | mips64orionel-* \
-	| mips64vr4100-* | mips64vr4100el-* \
-	| mips64vr4300-* | mips64vr4300el-* \
-	| mips64vr5000-* | mips64vr5000el-* \
-	| mipsisa32-* | mipsisa32el-* \
-	| mipsisa32r2-* | mipsisa32r2el-* \
-	| mipsisa64-* | mipsisa64el-* \
-	| mipsisa64sb1-* | mipsisa64sb1el-* \
-	| mipsisa64sr71k-* | mipsisa64sr71kel-* \
-	| mipstx39-* | mipstx39el-* \
-	| msp430-* \
-	| none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
-	| orion-* \
-	| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
-	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
-	| pyramid-* \
-	| romp-* | rs6000-* \
-	| sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
-	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
-	| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
-	| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
-	| tahoe-* | thumb-* \
-	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
-	| tron-* \
-	| v850-* | v850e-* | vax-* \
-	| we32k-* \
-	| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
-	| xtensa-* \
-	| ymp-* \
-	| z8k-*)
+	# FIXME: clean up the formatting here.
+	vax-* | tahoe-* | i*86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
+	      | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \
+	      | arm-*  | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \
+	      | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
+	      | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
+	      | xmp-* | ymp-* \
+	      | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* \
+	      | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \
+	      | hppa2.0n-* | hppa64-* \
+	      | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \
+	      | alphaev6[78]-* \
+	      | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
+	      | clipper-* | orion-* \
+	      | sparclite-* | pdp10-* | pdp11-* | sh-* | sh[34]-* | sh[34]eb-* \
+	      | powerpc-* | powerpcle-* | sparc64-* | sparcv9-* | sparcv9b-* | sparc86x-* \
+	      | mips16-* | mips64-* | mipsel-* \
+	      | mips64el-* | mips64orion-* | mips64orionel-* \
+	      | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
+	      | mipstx39-* | mipstx39el-* | mcore-* \
+	      | f30[01]-* | f700-* | s390-* | s390x-* | sv1-* | t3e-* \
+	      | [cjt]90-* \
+	      | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
+	      | thumb-* | v850-* | d30v-* | tic30-* | tic80-* | c30-* | fr30-* \
+	      | bs2000-* | tic54x-* | c54x-* | x86_64-* | pj-* | pjl-*)
 		;;
 	# Recognize the various machine names and aliases which stand
 	# for a CPU type and a company and sometimes even an OS.
@@ -373,9 +321,6 @@
 		basic_machine=a29k-none
 		os=-bsd
 		;;
-	amd64)
-		basic_machine=x86_64-pc
-		;;
 	amdahl)
 		basic_machine=580-amdahl
 		os=-sysv
@@ -407,10 +352,6 @@
 		basic_machine=ns32k-sequent
 		os=-dynix
 		;;
-	c90)
-		basic_machine=c90-cray
-		os=-unicos
-		;;
 	convex-c1)
 		basic_machine=c1-convex
 		os=-bsd
@@ -431,8 +372,16 @@
 		basic_machine=c38-convex
 		os=-bsd
 		;;
-	cray | j90)
-		basic_machine=j90-cray
+	cray | ymp)
+		basic_machine=ymp-cray
+		os=-unicos
+		;;
+	cray2)
+		basic_machine=cray2-cray
+		os=-unicos
+		;;
+	[cjt]90)
+		basic_machine=${basic_machine}-cray
 		os=-unicos
 		;;
 	crds | unos)
@@ -447,14 +396,6 @@
 	decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
 		basic_machine=mips-dec
 		;;
-	decsystem10* | dec10*)
-		basic_machine=pdp10-dec
-		os=-tops10
-		;;
-	decsystem20* | dec20*)
-		basic_machine=pdp10-dec
-		os=-tops20
-		;;
 	delta | 3300 | motorola-3300 | motorola-delta \
 	      | 3300-motorola | delta-motorola)
 		basic_machine=m68k-motorola
@@ -635,6 +576,14 @@
 		basic_machine=m68k-atari
 		os=-mint
 		;;
+	mipsel*-linux*)
+		basic_machine=mipsel-unknown
+		os=-linux-gnu
+		;;
+	mips*-linux*)
+		basic_machine=mips-unknown
+		os=-linux-gnu
+		;;
 	mips3*-*)
 		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
 		;;
@@ -649,10 +598,6 @@
 		basic_machine=m68k-rom68k
 		os=-coff
 		;;
-	morphos)
-		basic_machine=powerpc-unknown
-		os=-morphos
-		;;
 	msdos)
 		basic_machine=i386-pc
 		os=-msdos
@@ -725,10 +670,6 @@
 	np1)
 		basic_machine=np1-gould
 		;;
-	nv1)
-		basic_machine=nv1-cray
-		os=-unicosmp
-		;;
 	nsr-tandem)
 		basic_machine=nsr-tandem
 		;;
@@ -736,10 +677,6 @@
 		basic_machine=hppa1.1-oki
 		os=-proelf
 		;;
-	or32 | or32-*)
-		basic_machine=or32-unknown
-		os=-coff
-		;;
 	OSE68000 | ose68000)
 		basic_machine=m68000-ericsson
 		os=-ose
@@ -762,58 +699,42 @@
 	pbb)
 		basic_machine=m68k-tti
 		;;
-	pc532 | pc532-*)
+        pc532 | pc532-*)
 		basic_machine=ns32k-pc532
 		;;
-	pentium | p5 | k5 | k6 | nexgen | viac3)
+	pentium | p5 | k5 | k6 | nexgen)
 		basic_machine=i586-pc
 		;;
-	pentiumpro | p6 | 6x86 | athlon | athlon_*)
+	pentiumpro | p6 | 6x86 | athlon)
 		basic_machine=i686-pc
 		;;
-	pentiumii | pentium2 | pentiumiii | pentium3)
+	pentiumii | pentium2)
 		basic_machine=i686-pc
 		;;
-	pentium4)
-		basic_machine=i786-pc
-		;;
-	pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
+	pentium-* | p5-* | k5-* | k6-* | nexgen-*)
 		basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
 		;;
 	pentiumpro-* | p6-* | 6x86-* | athlon-*)
 		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
 		;;
-	pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
+	pentiumii-* | pentium2-*)
 		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
 		;;
-	pentium4-*)
-		basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
-		;;
 	pn)
 		basic_machine=pn-gould
 		;;
 	power)	basic_machine=power-ibm
 		;;
 	ppc)	basic_machine=powerpc-unknown
-		;;
+	        ;;
 	ppc-*)	basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
 		;;
 	ppcle | powerpclittle | ppc-le | powerpc-little)
 		basic_machine=powerpcle-unknown
-		;;
+	        ;;
 	ppcle-* | powerpclittle-*)
 		basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
 		;;
-	ppc64)	basic_machine=powerpc64-unknown
-		;;
-	ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
-		;;
-	ppc64le | powerpc64little | ppc64-le | powerpc64-little)
-		basic_machine=powerpc64le-unknown
-		;;
-	ppc64le-* | powerpc64little-*)
-		basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
-		;;
 	ps2)
 		basic_machine=i386-ibm
 		;;
@@ -831,26 +752,10 @@
 	rtpc | rtpc-*)
 		basic_machine=romp-ibm
 		;;
-	s390 | s390-*)
-		basic_machine=s390-ibm
-		;;
-	s390x | s390x-*)
-		basic_machine=s390x-ibm
-		;;
 	sa29200)
 		basic_machine=a29k-amd
 		os=-udi
 		;;
-	sb1)
-		basic_machine=mipsisa64sb1-unknown
-		;;
-	sb1el)
-		basic_machine=mipsisa64sb1el-unknown
-		;;
-	sei)
-		basic_machine=mips-sei
-		os=-seiux
-		;;
 	sequent)
 		basic_machine=i386-sequent
 		;;
@@ -858,10 +763,7 @@
 		basic_machine=sh-hitachi
 		os=-hms
 		;;
-	sh64)
-		basic_machine=sh64-unknown
-		;;
-	sparclite-wrs | simso-wrs)
+	sparclite-wrs)
 		basic_machine=sparclite-wrs
 		os=-vxworks
 		;;
@@ -928,35 +830,19 @@
 		os=-dynix
 		;;
 	t3e)
-		basic_machine=alphaev5-cray
-		os=-unicos
-		;;
-	t90)
-		basic_machine=t90-cray
+		basic_machine=t3e-cray
 		os=-unicos
 		;;
 	tic54x | c54x*)
 		basic_machine=tic54x-unknown
 		os=-coff
 		;;
-	tic55x | c55x*)
-		basic_machine=tic55x-unknown
-		os=-coff
-		;;
-	tic6x | c6x*)
-		basic_machine=tic6x-unknown
-		os=-coff
-		;;
 	tx39)
 		basic_machine=mipstx39-unknown
 		;;
 	tx39el)
 		basic_machine=mipstx39el-unknown
 		;;
-	toad1)
-		basic_machine=pdp10-xkl
-		os=-tops20
-		;;
 	tower | tower-32)
 		basic_machine=m68k-ncr
 		;;
@@ -981,8 +867,8 @@
 		os=-vms
 		;;
 	vpp*|vx|vx-*)
-		basic_machine=f301-fujitsu
-		;;
+               basic_machine=f301-fujitsu
+               ;;
 	vxworks960)
 		basic_machine=i960-wrs
 		os=-vxworks
@@ -1003,13 +889,17 @@
 		basic_machine=hppa1.1-winbond
 		os=-proelf
 		;;
-	xps | xps100)
-		basic_machine=xps100-honeywell
+	windows32)
+		basic_machine=i386-pc
+		os=-windows32-msvcrt
 		;;
-	ymp)
-		basic_machine=ymp-cray
+	xmp)
+		basic_machine=xmp-cray
 		os=-unicos
 		;;
+        xps | xps100)
+		basic_machine=xps100-honeywell
+		;;
 	z8k-*-coff)
 		basic_machine=z8k-unknown
 		os=-sim
@@ -1030,6 +920,13 @@
 	op60c)
 		basic_machine=hppa1.1-oki
 		;;
+	mips)
+		if [ x$os = x-linux-gnu ]; then
+			basic_machine=mips-unknown
+		else
+			basic_machine=mips-mips
+		fi
+		;;
 	romp)
 		basic_machine=romp-ibm
 		;;
@@ -1049,16 +946,13 @@
 	we32k)
 		basic_machine=we32k-att
 		;;
-	sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
+	sh3 | sh4)
 		basic_machine=sh-unknown
 		;;
-	sh64)
-		basic_machine=sh64-unknown
-		;;
 	sparc | sparcv9 | sparcv9b)
 		basic_machine=sparc-sun
 		;;
-	cydra)
+        cydra)
 		basic_machine=cydra-cydrome
 		;;
 	orion)
@@ -1073,6 +967,10 @@
 	pmac | pmac-mpw)
 		basic_machine=powerpc-apple
 		;;
+	c4x*)
+		basic_machine=c4x-none
+		os=-coff
+		;;
 	*-unknown)
 		# Make sure to match an already-canonicalized machine name.
 		;;
@@ -1128,19 +1026,16 @@
 	      | -aos* \
 	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
 	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
-	      | -hiux* | -386bsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \
+	      | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
 	      | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
 	      | -chorusos* | -chorusrdb* \
 	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
 	      | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
-	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
+	      | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
 	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
-	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
-	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
-	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
-	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
+	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* | -os2*)
 	# Remember, each alternative MUST END IN *, to match a version number.
 		;;
 	-qnx*)
@@ -1152,10 +1047,8 @@
 			;;
 		esac
 		;;
-	-nto-qnx*)
-		;;
 	-nto*)
-		os=`echo $os | sed -e 's|nto|nto-qnx|'`
+		os=-nto-qnx
 		;;
 	-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
 	      | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
@@ -1194,20 +1087,14 @@
 	-acis*)
 		os=-aos
 		;;
-	-atheos*)
-		os=-atheos
-		;;
 	-386bsd)
 		os=-bsd
 		;;
 	-ctix* | -uts*)
 		os=-sysv
 		;;
-	-nova*)
-		os=-rtmk-nova
-		;;
 	-ns2 )
-		os=-nextstep2
+	        os=-nextstep2
 		;;
 	-nsk*)
 		os=-nsk
@@ -1246,14 +1133,8 @@
 	-xenix)
 		os=-xenix
 		;;
-	-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
-		os=-mint
-		;;
-	-aros*)
-		os=-aros
-		;;
-	-kaos*)
-		os=-kaos
+        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+	        os=-mint
 		;;
 	-none)
 		;;
@@ -1286,14 +1167,10 @@
 	arm*-semi)
 		os=-aout
 		;;
-    c4x-* | tic4x-*)
-        os=-coff
-        ;;
-	# This must come before the *-dec entry.
 	pdp10-*)
 		os=-tops20
 		;;
-	pdp11-*)
+        pdp11-*)
 		os=-none
 		;;
 	*-dec | vax-*)
@@ -1320,9 +1197,6 @@
 	mips*-*)
 		os=-elf
 		;;
-	or32-*)
-		os=-coff
-		;;
 	*-tti)	# must be before sparc entry or we get the wrong os.
 		os=-sysv3
 		;;
@@ -1386,19 +1260,19 @@
 	*-next)
 		os=-nextstep3
 		;;
-	*-gould)
+        *-gould)
 		os=-sysv
 		;;
-	*-highlevel)
+        *-highlevel)
 		os=-bsd
 		;;
 	*-encore)
 		os=-bsd
 		;;
-	*-sgi)
+        *-sgi)
 		os=-irix
 		;;
-	*-siemens)
+        *-siemens)
 		os=-sysv4
 		;;
 	*-masscomp)
@@ -1470,7 +1344,7 @@
 			-ptx*)
 				vendor=sequent
 				;;
-			-vxsim* | -vxworks* | -windiss*)
+			-vxsim* | -vxworks*)
 				vendor=wrs
 				;;
 			-aux*)
@@ -1485,9 +1359,6 @@
 			-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
 				vendor=atari
 				;;
-			-vos*)
-				vendor=stratus
-				;;
 		esac
 		basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
 		;;
--- lprng-3.8.28.orig/d1
+++ lprng-3.8.28/d1
@@ -0,0 +1,22 @@
+--- src/common/lpq.c.orig	2005-08-26 14:19:17.000000000 +1000
++++ src/common/lpq.c	2005-08-26 14:19:32.000000000 +1000
+@@ -449,7 +449,7 @@
+ 	if( (pid = dofork(0)) == 0 ){
+ 		setuid( OriginalRUID );
+ 		close_on_exec(3);
+-		execl(CLEAR,0);
++		execl(CLEAR,0,NULL);
+ 		exit(1);
+ 	} else if( pid < 0 ){
+ 		LOGERR_DIE(LOG_ERR) _("fork() failed") );
+--- src/common/krb5_auth.c.orig	2005-08-26 14:17:45.000000000 +1000
++++ src/common/krb5_auth.c	2005-08-26 14:18:16.000000000 +1000
+@@ -922,7 +922,7 @@
+ 		nstored = 0;
+ 	}
+ 	
+-	if ((cc = Read_fd_len_timeout(transfer_timeout, fd, len_buf, 4)) != 4) {
++	if ((cc = Read_fd_len_timeout(transfer_timeout, fd, (char*)len_buf, 4)) != 4) {
+ 		/* XXX can't read enough, pipe must have closed */
+ 		return(0);
+ 	}
--- lprng-3.8.28.orig/config.guess
+++ lprng-3.8.28/config.guess
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Attempt to guess a canonical system name.
-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+#   Free Software Foundation, Inc.
 
-timestamp='2003-07-02'
+timestamp='2001-07-12'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -24,9 +24,8 @@
 # configuration script generated by Autoconf, you may include it under
 # the same distribution terms that you use for the rest of that program.
 
-# Originally written by Per Bothner <per@bothner.com>.
-# Please send patches to <config-patches@gnu.org>.  Submit a context
-# diff and a properly formatted ChangeLog entry.
+# Written by Per Bothner <bothner@cygnus.com>.
+# Please send patches to <config-patches@gnu.org>.
 #
 # This script attempts to guess a canonical system name similar to
 # config.sub.  If it succeeds, it prints the system name on stdout, and
@@ -88,42 +87,30 @@
   exit 1
 fi
 
-trap 'exit 1' 1 2 15
 
-# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
-# compiler to aid in system detection is discouraged as it requires
-# temporary files to be created and, as you can see below, it is a
-# headache to deal with in a portable fashion.
+dummy=dummy-$$
+trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15
 
+# CC_FOR_BUILD -- compiler used by this script.
 # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
 # use `HOST_CC' if defined, but it is deprecated.
 
-# Portable tmp directory creation inspired by the Autoconf team.
-
-set_cc_for_build='
-trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
-trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
-: ${TMPDIR=/tmp} ;
- { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
- { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
- { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
- { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
-dummy=$tmp/dummy ;
-tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
-case $CC_FOR_BUILD,$HOST_CC,$CC in
- ,,)    echo "int x;" > $dummy.c ;
-	for c in cc gcc c89 c99 ; do
-	  if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
+set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in
+ ,,)    echo "int dummy(){}" > $dummy.c ;
+	for c in cc gcc c89 ; do
+	  ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ;
+	  if test $? = 0 ; then
 	     CC_FOR_BUILD="$c"; break ;
 	  fi ;
 	done ;
+	rm -f $dummy.c $dummy.o $dummy.rel ;
 	if test x"$CC_FOR_BUILD" = x ; then
 	  CC_FOR_BUILD=no_compiler_found ;
 	fi
 	;;
  ,,*)   CC_FOR_BUILD=$CC ;;
  ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
-esac ;'
+esac'
 
 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
 # (ghazi@noc.rutgers.edu 1994-08-24)
@@ -140,30 +127,29 @@
 
 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
     *:NetBSD:*:*)
-	# NetBSD (nbsd) targets should (where applicable) match one or
+	# Netbsd (nbsd) targets should (where applicable) match one or
 	# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
 	# *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
 	# switched to ELF, *-*-netbsd* would select the old
 	# object file format.  This provides both forward
 	# compatibility and a consistent mechanism for selecting the
 	# object file format.
-	#
-	# Note: NetBSD doesn't particularly care about the vendor
-	# portion of the name.  We always set it to "unknown".
-	sysctl="sysctl -n hw.machine_arch"
-	UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
-	    /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
-	case "${UNAME_MACHINE_ARCH}" in
-	    armeb) machine=armeb-unknown ;;
-	    arm*) machine=arm-unknown ;;
-	    sh3el) machine=shl-unknown ;;
-	    sh3eb) machine=sh-unknown ;;
-	    *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
+	# Determine the machine/vendor (is the vendor relevant).
+	case "${UNAME_MACHINE}" in
+	    amiga) machine=m68k-unknown ;;
+	    arm32) machine=arm-unknown ;;
+	    atari*) machine=m68k-atari ;;
+	    sun3*) machine=m68k-sun ;;
+	    mac68k) machine=m68k-apple ;;
+	    macppc) machine=powerpc-apple ;;
+	    hp3[0-9][05]) machine=m68k-hp ;;
+	    ibmrt|romp-ibm) machine=romp-ibm ;;
+	    *) machine=${UNAME_MACHINE}-unknown ;;
 	esac
 	# The Operating System including object format, if it has switched
 	# to ELF recently, or will in the future.
-	case "${UNAME_MACHINE_ARCH}" in
-	    arm*|i386|m68k|ns32k|sh3*|sparc|vax)
+	case "${UNAME_MACHINE}" in
+	    i386|sparc|amiga|arm*|hp300|mvme68k|vax|atari|luna68k|mac68k|news68k|next68k|pc532|sun3*|x68k)
 		eval $set_cc_for_build
 		if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
 			| grep __ELF__ >/dev/null
@@ -180,112 +166,72 @@
 		;;
 	esac
 	# The OS release
-	# Debian GNU/NetBSD machines have a different userland, and
-	# thus, need a distinct triplet. However, they do not need
-	# kernel version information, so it can be replaced with a
-	# suitable tag, in the style of linux-gnu.
-	case "${UNAME_VERSION}" in
-	    Debian*)
-		release='-gnu'
-		;;
-	    *)
-		release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
-		;;
-	esac
+	release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
 	# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
 	# contains redundant information, the shorter form:
 	# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
 	echo "${machine}-${os}${release}"
 	exit 0 ;;
-    amiga:OpenBSD:*:*)
-	echo m68k-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
-    arc:OpenBSD:*:*)
-	echo mipsel-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
-    hp300:OpenBSD:*:*)
-	echo m68k-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
-    mac68k:OpenBSD:*:*)
-	echo m68k-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
-    macppc:OpenBSD:*:*)
-	echo powerpc-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
-    mvme68k:OpenBSD:*:*)
-	echo m68k-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
-    mvme88k:OpenBSD:*:*)
-	echo m88k-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
-    mvmeppc:OpenBSD:*:*)
-	echo powerpc-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
-    pmax:OpenBSD:*:*)
-	echo mipsel-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
-    sgi:OpenBSD:*:*)
-	echo mipseb-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
-    sun3:OpenBSD:*:*)
-	echo m68k-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
-    wgrisc:OpenBSD:*:*)
-	echo mipsel-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
-    *:OpenBSD:*:*)
-	echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
     alpha:OSF1:*:*)
 	if test $UNAME_RELEASE = "V4.0"; then
 		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
 	fi
-	# According to Compaq, /usr/sbin/psrinfo has been available on
-	# OSF/1 and Tru64 systems produced since 1995.  I hope that
-	# covers most systems running today.  This code pipes the CPU
-	# types through head -n 1, so we only detect the type of CPU 0.
-	ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^  The alpha \(.*\) processor.*$/\1/p' | head -n 1`
-	case "$ALPHA_CPU_TYPE" in
-	    "EV4 (21064)")
-		UNAME_MACHINE="alpha" ;;
-	    "EV4.5 (21064)")
-		UNAME_MACHINE="alpha" ;;
-	    "LCA4 (21066/21068)")
-		UNAME_MACHINE="alpha" ;;
-	    "EV5 (21164)")
-		UNAME_MACHINE="alphaev5" ;;
-	    "EV5.6 (21164A)")
-		UNAME_MACHINE="alphaev56" ;;
-	    "EV5.6 (21164PC)")
-		UNAME_MACHINE="alphapca56" ;;
-	    "EV5.7 (21164PC)")
-		UNAME_MACHINE="alphapca57" ;;
-	    "EV6 (21264)")
-		UNAME_MACHINE="alphaev6" ;;
-	    "EV6.7 (21264A)")
-		UNAME_MACHINE="alphaev67" ;;
-	    "EV6.8CB (21264C)")
-		UNAME_MACHINE="alphaev68" ;;
-	    "EV6.8AL (21264B)")
-		UNAME_MACHINE="alphaev68" ;;
-	    "EV6.8CX (21264D)")
-		UNAME_MACHINE="alphaev68" ;;
-	    "EV6.9A (21264/EV69A)")
-		UNAME_MACHINE="alphaev69" ;;
-	    "EV7 (21364)")
-		UNAME_MACHINE="alphaev7" ;;
-	    "EV7.9 (21364A)")
-		UNAME_MACHINE="alphaev79" ;;
-	esac
 	# A Vn.n version is a released version.
 	# A Tn.n version is a released field test version.
 	# A Xn.n version is an unreleased experimental baselevel.
 	# 1.2 uses "1.2" for uname -r.
+	cat <<EOF >$dummy.s
+	.data
+\$Lformat:
+	.byte 37,100,45,37,120,10,0	# "%d-%x\n"
+
+	.text
+	.globl main
+	.align 4
+	.ent main
+main:
+	.frame \$30,16,\$26,0
+	ldgp \$29,0(\$27)
+	.prologue 1
+	.long 0x47e03d80 # implver \$0
+	lda \$2,-1
+	.long 0x47e20c21 # amask \$2,\$1
+	lda \$16,\$Lformat
+	mov \$0,\$17
+	not \$1,\$18
+	jsr \$26,printf
+	ldgp \$29,0(\$26)
+	mov 0,\$16
+	jsr \$26,exit
+	.end main
+EOF
+	eval $set_cc_for_build
+	$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
+	if test "$?" = 0 ; then
+		case `./$dummy` in
+			0-0)
+				UNAME_MACHINE="alpha"
+				;;
+			1-0)
+				UNAME_MACHINE="alphaev5"
+				;;
+			1-1)
+				UNAME_MACHINE="alphaev56"
+				;;
+			1-101)
+				UNAME_MACHINE="alphapca56"
+				;;
+			2-303)
+				UNAME_MACHINE="alphaev6"
+				;;
+			2-307)
+				UNAME_MACHINE="alphaev67"
+				;;
+		esac
+	fi
+	rm -f $dummy.s $dummy
 	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
 	exit 0 ;;
-    Alpha*:OpenVMS:*:*)
-	echo alpha-hp-vms
-	exit 0 ;;
     Alpha\ *:Windows_NT*:*)
 	# How do we know it's Interix rather than the generic POSIX subsystem?
 	# Should we change UNAME_MACHINE based on the output of uname instead
@@ -298,11 +244,29 @@
     Amiga*:UNIX_System_V:4.0:*)
 	echo m68k-unknown-sysv4
 	exit 0;;
+    amiga:OpenBSD:*:*)
+	echo m68k-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
     *:[Aa]miga[Oo][Ss]:*:*)
 	echo ${UNAME_MACHINE}-unknown-amigaos
 	exit 0 ;;
-    *:[Mm]orph[Oo][Ss]:*:*)
-	echo ${UNAME_MACHINE}-unknown-morphos
+    arc64:OpenBSD:*:*)
+	echo mips64el-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
+    arc:OpenBSD:*:*)
+	echo mipsel-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
+    hkmips:OpenBSD:*:*)
+	echo mips-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
+    pmax:OpenBSD:*:*)
+	echo mipsel-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
+    sgi:OpenBSD:*:*)
+	echo mips-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
+    wgrisc:OpenBSD:*:*)
+	echo mipsel-unknown-openbsd${UNAME_RELEASE}
 	exit 0 ;;
     *:OS/390:*:*)
 	echo i370-ibm-openedition
@@ -324,13 +288,6 @@
     NILE*:*:*:dcosx)
 	echo pyramid-pyramid-svr4
 	exit 0 ;;
-    DRS?6000:unix:4.0:6*)
-	echo sparc-icl-nx6
-	exit 0 ;;
-    DRS?6000:UNIX_SV:4.2*:7*)
-	case `/usr/bin/uname -p` in
-	    sparc) echo sparc-icl-nx7 && exit 0 ;;
-	esac ;;
     sun4H:SunOS:5.*:*)
 	echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
 	exit 0 ;;
@@ -359,7 +316,7 @@
 	echo m68k-sun-sunos${UNAME_RELEASE}
 	exit 0 ;;
     sun*:*:4.2BSD:*)
-	UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
+	UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
 	test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
 	case "`/bin/arch`" in
 	    sun3)
@@ -373,6 +330,9 @@
     aushp:SunOS:*:*)
 	echo sparc-auspex-sunos${UNAME_RELEASE}
 	exit 0 ;;
+    atari*:OpenBSD:*:*)
+	echo m68k-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
     # The situation for MiNT is a little confusing.  The machine name
     # can be virtually everything (everything which is not
     # "atarist" or "atariste" at least should have a processor
@@ -399,6 +359,18 @@
     *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
         echo m68k-unknown-mint${UNAME_RELEASE}
         exit 0 ;;
+    sun3*:OpenBSD:*:*)
+	echo m68k-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
+    mac68k:OpenBSD:*:*)
+	echo m68k-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
+    mvme68k:OpenBSD:*:*)
+	echo m68k-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
+    mvme88k:OpenBSD:*:*)
+	echo m88k-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
     powerpc:machten:*:*)
 	echo powerpc-apple-machten${UNAME_RELEASE}
 	exit 0 ;;
@@ -415,7 +387,6 @@
 	echo clipper-intergraph-clix${UNAME_RELEASE}
 	exit 0 ;;
     mips:*:*:UMIPS | mips:*:*:RISCos)
-	eval $set_cc_for_build
 	sed 's/^	//' << EOF >$dummy.c
 #ifdef __cplusplus
 #include <stdio.h>  /* for printf() prototype */
@@ -437,20 +408,16 @@
 	  exit (-1);
 	}
 EOF
-	$CC_FOR_BUILD -o $dummy $dummy.c \
-	  && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
-	  && exit 0
+	eval $set_cc_for_build
+	$CC_FOR_BUILD $dummy.c -o $dummy \
+	  && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
+	  && rm -f $dummy.c $dummy && exit 0
+	rm -f $dummy.c $dummy
 	echo mips-mips-riscos${UNAME_RELEASE}
 	exit 0 ;;
     Motorola:PowerMAX_OS:*:*)
 	echo powerpc-motorola-powermax
 	exit 0 ;;
-    Motorola:*:4.3:PL8-*)
-	echo powerpc-harris-powermax
-	exit 0 ;;
-    Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
-	echo powerpc-harris-powermax
-	exit 0 ;;
     Night_Hawk:Power_UNIX:*:*)
 	echo powerpc-harris-powerunix
 	exit 0 ;;
@@ -511,7 +478,6 @@
 	exit 0 ;;
     *:AIX:2:3)
 	if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
-		eval $set_cc_for_build
 		sed 's/^		//' << EOF >$dummy.c
 		#include <sys/systemcfg.h>
 
@@ -523,7 +489,9 @@
 			exit(0);
 			}
 EOF
-		$CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
+		eval $set_cc_for_build
+		$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
+		rm -f $dummy.c $dummy
 		echo rs6000-ibm-aix3.2.5
 	elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
 		echo rs6000-ibm-aix3.2.4
@@ -532,7 +500,7 @@
 	fi
 	exit 0 ;;
     *:AIX:*:[45])
-	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
+	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
 	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
 		IBM_ARCH=rs6000
 	else
@@ -572,8 +540,10 @@
 	    9000/31? )            HP_ARCH=m68000 ;;
 	    9000/[34]?? )         HP_ARCH=m68k ;;
 	    9000/[678][0-9][0-9])
-		if [ -x /usr/bin/getconf ]; then
-		    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
+              case "${HPUX_REV}" in
+                11.[0-9][0-9])
+                  if [ -x /usr/bin/getconf ]; then
+                    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
                     sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
                     case "${sc_cpu_version}" in
                       523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
@@ -582,13 +552,12 @@
                         case "${sc_kernel_bits}" in
                           32) HP_ARCH="hppa2.0n" ;;
                           64) HP_ARCH="hppa2.0w" ;;
-			  '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
                         esac ;;
                     esac
-		fi
-		if [ "${HP_ARCH}" = "" ]; then
-		    eval $set_cc_for_build
-		    sed 's/^              //' << EOF >$dummy.c
+                  fi ;;
+              esac
+              if [ "${HP_ARCH}" = "" ]; then
+              sed 's/^              //' << EOF >$dummy.c
 
               #define _HPUX_SOURCE
               #include <stdlib.h>
@@ -621,21 +590,12 @@
                   exit (0);
               }
 EOF
-		    (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
-		    test -z "$HP_ARCH" && HP_ARCH=hppa
-		fi ;;
+	eval $set_cc_for_build
+	(CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy`
+	if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
+	rm -f $dummy.c $dummy
+	fi ;;
 	esac
-	if [ ${HP_ARCH} = "hppa2.0w" ]
-	then
-	    # avoid double evaluation of $set_cc_for_build
-	    test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
-	    if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null
-	    then
-		HP_ARCH="hppa2.0w"
-	    else
-		HP_ARCH="hppa64"
-	    fi
-	fi
 	echo ${HP_ARCH}-hp-hpux${HPUX_REV}
 	exit 0 ;;
     ia64:HP-UX:*:*)
@@ -643,7 +603,6 @@
 	echo ia64-hp-hpux${HPUX_REV}
 	exit 0 ;;
     3050*:HI-UX:*:*)
-	eval $set_cc_for_build
 	sed 's/^	//' << EOF >$dummy.c
 	#include <unistd.h>
 	int
@@ -669,7 +628,9 @@
 	  exit (0);
 	}
 EOF
-	$CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
+	eval $set_cc_for_build
+	$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
+	rm -f $dummy.c $dummy
 	echo unknown-hitachi-hiuxwe2
 	exit 0 ;;
     9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
@@ -697,6 +658,9 @@
     parisc*:Lites*:*:*)
 	echo hppa1.1-hp-lites
 	exit 0 ;;
+    hppa*:OpenBSD:*:*)
+	echo hppa-unknown-openbsd
+	exit 0 ;;
     C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
 	echo c1-convex-bsd
         exit 0 ;;
@@ -715,6 +679,9 @@
     C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
 	echo c4-convex-bsd
         exit 0 ;;
+    CRAY*X-MP:*:*:*)
+	echo xmp-cray-unicos
+        exit 0 ;;
     CRAY*Y-MP:*:*:*)
 	echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 	exit 0 ;;
@@ -727,21 +694,27 @@
     CRAY*TS:*:*:*)
 	echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 	exit 0 ;;
+    CRAY*T3D:*:*:*)
+	echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+	exit 0 ;;
     CRAY*T3E:*:*:*)
 	echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 	exit 0 ;;
     CRAY*SV1:*:*:*)
 	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 	exit 0 ;;
-    *:UNICOS/mp:*:*)
-	echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 
-	exit 0 ;;
+    CRAY-2:*:*:*)
+	echo cray2-cray-unicos
+        exit 0 ;;
     F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
 	FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
         FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
         FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
         echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
         exit 0 ;;
+    hp300:OpenBSD:*:*)
+	echo m68k-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
     i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
 	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
 	exit 0 ;;
@@ -751,22 +724,11 @@
     *:BSD/OS:*:*)
 	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
 	exit 0 ;;
-    *:FreeBSD:*:*|*:GNU/FreeBSD:*:*)
-	# Determine whether the default compiler uses glibc.
-	eval $set_cc_for_build
-	sed 's/^	//' << EOF >$dummy.c
-	#include <features.h>
-	#if __GLIBC__ >= 2
-	LIBC=gnu
-	#else
-	LIBC=
-	#endif
-EOF
-	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
-	# GNU/FreeBSD systems have a "k" prefix to indicate we are using
-	# FreeBSD's kernel, but not the complete OS.
-	case ${LIBC} in gnu) kernel_only='k' ;; esac
-	echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
+    *:FreeBSD:*:*)
+	echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
+	exit 0 ;;
+    *:OpenBSD:*:*)
+	echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
 	exit 0 ;;
     i*:CYGWIN*:*)
 	echo ${UNAME_MACHINE}-pc-cygwin
@@ -777,17 +739,11 @@
     i*:PW*:*)
 	echo ${UNAME_MACHINE}-pc-pw32
 	exit 0 ;;
-    x86:Interix*:[34]*)
-	echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
-	exit 0 ;;
-    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
-	echo i${UNAME_MACHINE}-pc-mks
-	exit 0 ;;
     i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
 	# How do we know it's Interix rather than the generic POSIX subsystem?
 	# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
 	# UNAME_MACHINE based on the output of uname instead of i386?
-	echo i586-pc-interix
+	echo i386-pc-interix
 	exit 0 ;;
     i*:UWIN*:*)
 	echo ${UNAME_MACHINE}-pc-uwin
@@ -807,59 +763,21 @@
     arm*:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit 0 ;;
-    cris:Linux:*:*)
-	echo cris-axis-linux-gnu
-	exit 0 ;;
     ia64:Linux:*:*)
-	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	echo ${UNAME_MACHINE}-unknown-linux
 	exit 0 ;;
     m68*:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit 0 ;;
     mips:Linux:*:*)
-	eval $set_cc_for_build
-	sed 's/^	//' << EOF >$dummy.c
-	#undef CPU
-	#undef mips
-	#undef mipsel
-	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
-	CPU=mipsel
-	#else
-	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
-	CPU=mips
-	#else
-	CPU=
-	#endif
-	#endif
-EOF
-	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
-	test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
-	;;
-    mips64:Linux:*:*)
-	eval $set_cc_for_build
-	sed 's/^	//' << EOF >$dummy.c
-	#undef CPU
-	#undef mips64
-	#undef mips64el
-	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
-	CPU=mips64el
-	#else
-	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
-	CPU=mips64
-	#else
-	CPU=
-	#endif
-	#endif
-EOF
-	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
-	test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
+	case `sed -n '/^byte/s/^.*: \(.*\) endian/\1/p' < /proc/cpuinfo` in
+	  big)    echo mips-unknown-linux-gnu && exit 0 ;;
+	  little) echo mipsel-unknown-linux-gnu && exit 0 ;;
+	esac
 	;;
     ppc:Linux:*:*)
 	echo powerpc-unknown-linux-gnu
 	exit 0 ;;
-    ppc64:Linux:*:*)
-	echo powerpc64-unknown-linux-gnu
-	exit 0 ;;
     alpha:Linux:*:*)
 	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
 	  EV5)   UNAME_MACHINE=alphaev5 ;;
@@ -868,7 +786,7 @@
 	  PCA57) UNAME_MACHINE=alphapca56 ;;
 	  EV6)   UNAME_MACHINE=alphaev6 ;;
 	  EV67)  UNAME_MACHINE=alphaev67 ;;
-	  EV68*) UNAME_MACHINE=alphaev68 ;;
+	  EV68*) UNAME_MACHINE=alphaev67 ;;
         esac
 	objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
 	if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
@@ -888,9 +806,6 @@
     s390:Linux:*:* | s390x:Linux:*:*)
 	echo ${UNAME_MACHINE}-ibm-linux
 	exit 0 ;;
-    sh64*:Linux:*:*)
-    	echo ${UNAME_MACHINE}-unknown-linux-gnu
-	exit 0 ;;
     sh*:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit 0 ;;
@@ -904,8 +819,7 @@
 	# The BFD linker knows what the default object file format is, so
 	# first see if it will tell us. cd to the root directory to prevent
 	# problems with other programs or directories called `ld' in the path.
-	# Set LC_ALL=C to ensure ld outputs messages in English.
-	ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
+	ld_supported_targets=`cd /; ld --help 2>&1 \
 			 | sed -ne '/supported targets:/!d
 				    s/[ 	][ 	]*/ /g
 				    s/.*supported targets: *//
@@ -917,7 +831,7 @@
 		;;
 	  a.out-i386-linux)
 		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
-		exit 0 ;;
+		exit 0 ;;		
 	  coff-i386)
 		echo "${UNAME_MACHINE}-pc-linux-gnucoff"
 		exit 0 ;;
@@ -928,29 +842,33 @@
 		exit 0 ;;
 	esac
 	# Determine whether the default compiler is a.out or elf
-	eval $set_cc_for_build
-	sed 's/^	//' << EOF >$dummy.c
-	#include <features.h>
-	#ifdef __ELF__
-	# ifdef __GLIBC__
-	#  if __GLIBC__ >= 2
-	LIBC=gnu
-	#  else
-	LIBC=gnulibc1
-	#  endif
-	# else
-	LIBC=gnulibc1
-	# endif
-	#else
-	#ifdef __INTEL_COMPILER
-	LIBC=gnu
-	#else
-	LIBC=gnuaout
-	#endif
-	#endif
+	cat >$dummy.c <<EOF
+#include <features.h>
+#ifdef __cplusplus
+#include <stdio.h>  /* for printf() prototype */
+	int main (int argc, char *argv[]) {
+#else
+	int main (argc, argv) int argc; char *argv[]; {
+#endif
+#ifdef __ELF__
+# ifdef __GLIBC__
+#  if __GLIBC__ >= 2
+    printf ("%s-pc-linux-gnu\n", argv[1]);
+#  else
+    printf ("%s-pc-linux-gnulibc1\n", argv[1]);
+#  endif
+# else
+   printf ("%s-pc-linux-gnulibc1\n", argv[1]);
+# endif
+#else
+  printf ("%s-pc-linux-gnuaout\n", argv[1]);
+#endif
+  return 0;
+}
 EOF
-	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
-	test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
+	eval $set_cc_for_build
+	$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0
+	rm -f $dummy.c $dummy
 	test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
 	;;
     i*86:DYNIX/ptx:4*:*)
@@ -967,23 +885,6 @@
         # Use sysv4.2uw... so that sysv4* matches it.
 	echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
 	exit 0 ;;
-    i*86:OS/2:*:*)
-	# If we were able to find `uname', then EMX Unix compatibility
-	# is probably installed.
-	echo ${UNAME_MACHINE}-pc-os2-emx
-	exit 0 ;;
-    i*86:XTS-300:*:STOP)
-	echo ${UNAME_MACHINE}-unknown-stop
-	exit 0 ;;
-    i*86:atheos:*:*)
-	echo ${UNAME_MACHINE}-unknown-atheos
-	exit 0 ;;
-    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
-	echo i386-unknown-lynxos${UNAME_RELEASE}
-	exit 0 ;;
-    i*86:*DOS:*:*)
-	echo ${UNAME_MACHINE}-pc-msdosdjgpp
-	exit 0 ;;
     i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
 	UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
 	if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
@@ -1005,19 +906,22 @@
 		UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
 		echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
 	elif /bin/uname -X 2>/dev/null >/dev/null ; then
-		UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
-		(/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
-		(/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
+		UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
+		(/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
+		(/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
 			&& UNAME_MACHINE=i586
-		(/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
+		(/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \
 			&& UNAME_MACHINE=i686
-		(/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
+		(/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \
 			&& UNAME_MACHINE=i686
 		echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
 	else
 		echo ${UNAME_MACHINE}-pc-sysv32
 	fi
 	exit 0 ;;
+    i*86:*DOS:*:*)
+	echo ${UNAME_MACHINE}-pc-msdosdjgpp
+	exit 0 ;;
     pc:*:*:*)
 	# Left here for compatibility:
         # uname -m prints for DJGPP always 'pc', but it prints nothing about
@@ -1041,15 +945,9 @@
 	# "miniframe"
 	echo m68010-convergent-sysv
 	exit 0 ;;
-    mc68k:UNIX:SYSTEM5:3.51m)
-	echo m68k-convergent-sysv
-	exit 0 ;;
-    M680?0:D-NIX:5.3:*)
-	echo m68k-diab-dnix
-	exit 0 ;;
     M68*:*:R3V[567]*:*)
 	test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
-    3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0)
+    3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
 	OS_REL=''
 	test -r /etc/.relid \
 	&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
@@ -1066,6 +964,9 @@
     mc68030:UNIX_System_V:4.*:*)
 	echo m68k-atari-sysv4
 	exit 0 ;;
+    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
+	echo i386-unknown-lynxos${UNAME_RELEASE}
+	exit 0 ;;
     TSUNAMI:LynxOS:2.*:*)
 	echo sparc-unknown-lynxos${UNAME_RELEASE}
 	exit 0 ;;
@@ -1092,8 +993,8 @@
 		echo ns32k-sni-sysv
 	fi
 	exit 0 ;;
-    PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
-                      # says <Richard.M.Bartel@ccMail.Census.GOV>
+    PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
+                           # says <Richard.M.Bartel@ccMail.Census.GOV>
         echo i586-unisys-sysv4
         exit 0 ;;
     *:UNIX_System_V:4*:FTX*)
@@ -1105,10 +1006,6 @@
 	# From seanf@swdc.stratus.com.
 	echo i860-stratus-sysv4
 	exit 0 ;;
-    *:VOS:*:*)
-	# From Paul.Green@stratus.com.
-	echo hppa1.1-stratus-vos
-	exit 0 ;;
     mc68*:A/UX:*:*)
 	echo m68k-apple-aux${UNAME_RELEASE}
 	exit 0 ;;
@@ -1137,9 +1034,6 @@
     SX-5:SUPER-UX:*:*)
 	echo sx5-nec-superux${UNAME_RELEASE}
 	exit 0 ;;
-    SX-6:SUPER-UX:*:*)
-	echo sx6-nec-superux${UNAME_RELEASE}
-	exit 0 ;;
     Power*:Rhapsody:*:*)
 	echo powerpc-apple-rhapsody${UNAME_RELEASE}
 	exit 0 ;;
@@ -1147,24 +1041,18 @@
 	echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
 	exit 0 ;;
     *:Darwin:*:*)
-	case `uname -p` in
-	    *86) UNAME_PROCESSOR=i686 ;;
-	    powerpc) UNAME_PROCESSOR=powerpc ;;
-	esac
-	echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
+	echo `uname -p`-apple-darwin${UNAME_RELEASE}
 	exit 0 ;;
     *:procnto*:*:* | *:QNX:[0123456789]*:*)
-	UNAME_PROCESSOR=`uname -p`
-	if test "$UNAME_PROCESSOR" = "x86"; then
-		UNAME_PROCESSOR=i386
+	if test "${UNAME_MACHINE}" = "x86pc"; then
 		UNAME_MACHINE=pc
 	fi
-	echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
+	echo `uname -p`-${UNAME_MACHINE}-nto-qnx
 	exit 0 ;;
     *:QNX:*:4*)
 	echo i386-pc-qnx
 	exit 0 ;;
-    NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
+    NSR-[KW]:NONSTOP_KERNEL:*:*)
 	echo nsr-tandem-nsk${UNAME_RELEASE}
 	exit 0 ;;
     *:NonStop-UX:*:*)
@@ -1187,6 +1075,11 @@
 	fi
 	echo ${UNAME_MACHINE}-unknown-plan9
 	exit 0 ;;
+    i*86:OS/2:*:*)
+	# If we were able to find `uname', then EMX Unix compatibility
+	# is probably installed.
+	echo ${UNAME_MACHINE}-pc-os2-emx
+	exit 0 ;;
     *:TOPS-10:*:*)
 	echo pdp10-unknown-tops10
 	exit 0 ;;
@@ -1205,15 +1098,11 @@
     *:ITS:*:*)
 	echo pdp10-unknown-its
 	exit 0 ;;
-    SEI:*:*:SEIUX)
-        echo mips-sei-seiux${UNAME_RELEASE}
-	exit 0 ;;
 esac
 
 #echo '(No uname command or uname output not recognized.)' 1>&2
 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
 
-eval $set_cc_for_build
 cat >$dummy.c <<EOF
 #ifdef _SEQUENT_
 # include <sys/types.h>
@@ -1328,7 +1217,9 @@
 }
 EOF
 
-$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0
+eval $set_cc_for_build
+$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0
+rm -f $dummy.c $dummy
 
 # Apollos put the system type in the environment.
 
--- lprng-3.8.28.orig/debian/copyright
+++ lprng-3.8.28/debian/copyright
@@ -0,0 +1,59 @@
+This is Debian GNU/Linux's prepackaged version of LPRng - an Enhanced
+Printer Spooler. LPRng was written by Patrick Powell
+<papowell@sdsu.edu> and others.
+
+This package was put together by Craig Small <csmall@debian.org>
+from sources obtained from ftp://ftp.astart.com/pub/LPRng .
+
+                    *LPRng and IFHP LICENSE*
+                  GNU GPL and Artistic License
+
+                   (Version 4, Jan 24, 2000)
+
+              Copyright Patrick Powell, Astart Technologies
+                       <papowell@lprng.com>
+
+                      All rights reserved.
+
+You may use "LPRng" or "IFHP" under either the terms of the GNU
+GPL License or the Artistic License. These licenses are included
+below.
+
+   These Licenses apply to the computer software packages known as
+"LPRng", "IFHP", and associated files.  The "Package" or "Program"
+below refers to the programs, files,  and associated software which
+are distributed as the package.
+
+   The "LPRng" Software Package is a copyrighted work whose copyright
+is held by Patrick Powell.
+
+   The "IFHP" Software Package is a copyrighted work whose copyright
+is held by Patrick Powell.
+
+   BY MODIFYING OR DISTRIBUTING THE PROGRAM (OR ANY WORK BASED ON THE
+PROGRAM), YOU INDICATE YOUR ACCEPTANCE OF THIS LICENSE TO DO SO, AND ALL
+ITS TERMS AND CONDITIONS FOR COPYING, DISTRIBUTING OR MODIFYING THE
+PROGRAM OR WORKS BASED ON IT. NOTHING OTHER THAN THIS LICENSE GRANTS
+YOU PERMISSION TO MODIFY OR DISTRIBUTE THE PROGRAM OR ITS DERIVATIVE
+WORKS. THESE ACTIONS ARE PROHIBITED BY LAW. IF YOU DO NOT ACCEPT THESE
+TERMS AND CONDITIONS, DO NOT MODIFY OR DISTRIBUTE THE PROGRAM.
+
+-----------------------------------------------------------------------
+                  Addendum Fri Jun 21 17:06:33 PDT 2002
+
+If you wish  to distribute the LPRng source code or binaries of any
+of the programs in the LPRng packages under terms of the GNU license,
+then when any package or portion of the LPRng is configured to use
+any facility or utility of the OpenSSL distribution, the additional
+following clause will be applied, as recommended in the OpenSSL
+0.9.6c release FAQ:
+
+"This program is released under the GPL with the additional exemption that
+compiling, linking, and/or using OpenSSL is allowed."
+
+-----------------------------------------------------------------------
+
+On Debian GNU/Linux systems you will find the Artistic License at
+/usr/share/common-licenses/Artistic and the GNU GPL at
+/usr/share/common-licenses/GPL
+
--- lprng-3.8.28.orig/debian/po/POTFILES.in
+++ lprng-3.8.28/debian/po/POTFILES.in
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] debathena-lprng.templates
--- lprng-3.8.28.orig/debian/po/ja.po
+++ lprng-3.8.28/debian/po/ja.po
@@ -0,0 +1,107 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: lprng 3.8.26-1\n"
+"Report-Msgid-Bugs-To: csmall@debian.org\n"
+"POT-Creation-Date: 2008-07-10 20:39+0000\n"
+"PO-Revision-Date: 2004-04-08 16:02+0900\n"
+"Last-Translator: Hideki Yamane <henrich@samba.gr.jp>\n"
+"Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:3
+msgid "There are two lpd.conf files"
+msgstr "lpd.conf ¥Õ¥¡¥¤¥ë¤¬2¤Ä¤¢¤ê¤Þ¤¹"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:3
+#, fuzzy
+msgid ""
+"You have a lpd.conf in the old location (/etc/lpd.conf) and the new location "
+"(/etc/lprng/lpd.conf). From lprng version 3.6.16-1 this file should be only "
+"in /etc/lprng, please check both files and remove /etc/lpd.conf"
+msgstr ""
+"lpd.conf ¤¬¸Å¤¤¾ì½ê (/etc/lpd.conf) ¤È¿·¤·¤¤¾ì½ê (/etc/lprng/lpd.conf) ¤Ë¤¢¤ê"
+"¤Þ¤¹¡£lprng ¤Ï¥Ð¡¼¥¸¥ç¥ó 3.6.16-1 ¤«¤é¤³¤Î¥Õ¥¡¥¤¥ë¤Ï /etc/lprng ¤À¤±¤ËÃÖ¤¯¤è"
+"¤¦¤Ë¤·¤Ê¤¤¤È¤¤¤±¤Þ¤»¤ó¡£Î¾Êý¤Î¥Õ¥¡¥¤¥ë¤ò³ÎÇ§¤·¤¿¾å¤Ç /etc/lpd.conf ¤òºï½ü¤·¤Æ"
+"¤¯¤À¤µ¤¤¡£"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:11
+msgid "There are two lpd.perms files"
+msgstr "lpd.perms ¥Õ¥¡¥¤¥ë¤¬2¤Ä¤¢¤ê¤Þ¤¹¡£"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:11
+msgid ""
+"You have a lpd.perms in the old location (/etc/lpd.perms) and the new "
+"location (/etc/lprng/lpd.perms). Since lprng version 3.6.16-1 this file "
+"should be only in /etc/lprng, please check both files and remove /etc/lpd."
+"perms"
+msgstr ""
+"lpd.perms ¤¬¸Å¤¤¾ì½ê (/etc/lpd.perms) ¤È¿·¤·¤¤¾ì½ê (/etc/lprng/lpd.perms) ¤Ë"
+"¤¢¤ê¤Þ¤¹¡£¥Ð¡¼¥¸¥ç¥ó 3.6.16-1 ¤Î lprng ¤«¤é¤Ï¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤Ï /etc/lprng ¤À¤±"
+"¤ËÃÖ¤¯¤è¤¦¤Ë¤·¤Ê¤¤¤È¤¤¤±¤Þ¤»¤ó¡£Î¾Êý¤Î¥Õ¥¡¥¤¥ë¤ò³ÎÇ§¤·¤¿¾å¤Ç /etc/lpd.perms "
+"¤òºï½ü¤·¤Æ¤¯¤À¤µ¤¤¡£"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:20
+msgid "Make lpr, lprm and lpq setuid root?"
+msgstr "lpr, lprm, lpq ¤ò root ¤Ë setuid ¤·¤Þ¤¹¤«?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:20
+msgid ""
+"For full RFC1179 compliance you need to make these programs setuid root.  "
+"This is mainly so they can create a socket with a low port number. The low "
+"port number may be important if you have network printers or have adjusted /"
+"etc/lprng/lpd.perms to restrict access to non-privledged ports. For the "
+"typical printer connected locally to parallel port (and many other) scenario "
+"you can leave these programs non setuid root."
+msgstr ""
+"RFC1179 ¤Ë´°Á´¤ËÅ¬¹ç¤¹¤ë¤¿¤á¤Ë¤Ï¡¢¤³¤ì¤é¤Î¥×¥í¥°¥é¥à¤ò root ¤Ë setuid ¤¹¤ëÉ¬"
+"Í×¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤Ï 1024 °Ê²¼¤Î¥Ý¡¼¥ÈÈÖ¹æ¤Ç¤³¤ì¤é¤Î¥×¥í¥°¥é¥à¤¬¥½¥±¥Ã¥È¤òºî"
+"¤ì¤ë¤è¤¦¤Ë¤¹¤ë¤Î¤¬¼ç¤ÊÍýÍ³¤Ç¤¹¡£¥Í¥Ã¥È¥ï¡¼¥¯¥×¥ê¥ó¥¿¤äÈóÆÃ¸¢¥Ý¡¼¥È¤Ø¤Î¥¢¥¯¥»"
+"¥¹¤òÀ©¸Â¤¹¤ë¤¿¤á¤Ë /etc/lprng/lpd.perms ¤òÄ´À°¤·¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢1024 °Ê²¼¤Î¥Ý¡¼"
+"¥ÈÈÖ¹æ¤¬½ÅÍ×¤«¤â¤·¤ì¤Þ¤»¤ó¡£ÆÃ¤Ë¥í¡¼¥«¥ë¤Î¥Ñ¥é¥ì¥ë¥Ý¡¼¥È (Â¾Â¿¿ô) ¤Ë¥×¥ê¥ó¥¿"
+"¤òÀÜÂ³¤·¤Æ¤¤¤ë¾ì¹ç¡¢¥×¥í¥°¥é¥à¤òroot ¤Ë setuid ¤·¤Ê¤¯¤Æ¤â¹½¤¤¤Þ¤»¤ó¡£"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:31
+msgid "Start lpd (Printer Daemon) at boot?"
+msgstr "¥·¥¹¥Æ¥àµ¯Æ°»þ¤Ë lpd (¥×¥ê¥ó¥¿¥Ç¡¼¥â¥ó) ¤òÎ©¤Á¾å¤²¤Þ¤¹¤«?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:31
+msgid ""
+"Some people for various reasons do not want to start lpd. Refusing this "
+"option means lpd will not start.  Unless you know why you want lpd not to "
+"start, just accept the default."
+msgstr ""
+"ÍÍ¡¹¤ÊÍýÍ³¤Ç lpd ¤òµ¯Æ°¤·¤¿¤¯¤Ê¤¤¿Í¤¬¤¤¤Þ¤¹¡£¤³¤ÎÁªÂò¤òµñÈÝ¤¹¤ë¤È lpd ¤Ïµ¯Æ°"
+"¤·¤Þ¤»¤ó¡£lpd ¤òµ¯Æ°¤·¤¿¤¤ÍýÍ³¤¬»×¤¤¤Ä¤«¤Ê¤¤¾ì¹ç¡¢Ã±¤Ë¡Ö¤Ï¤¤¡×¤òÁª¤ó¤Ç¤¯¤À¤µ"
+"¤¤¡£"
--- lprng-3.8.28.orig/debian/po/pt_BR.po
+++ lprng-3.8.28/debian/po/pt_BR.po
@@ -0,0 +1,108 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: lprng_3.8.22-2\n"
+"Report-Msgid-Bugs-To: csmall@debian.org\n"
+"POT-Creation-Date: 2008-07-10 20:39+0000\n"
+"PO-Revision-Date: 2003-11-09 17:22-0300\n"
+"Last-Translator: André Luís Lopes <andrelop@debian.org>\n"
+"Language-Team: Debian-BR Project <debian-l10n-portuguese@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:3
+msgid "There are two lpd.conf files"
+msgstr "Existem dois arquivo lpd.conf"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:3
+#, fuzzy
+msgid ""
+"You have a lpd.conf in the old location (/etc/lpd.conf) and the new location "
+"(/etc/lprng/lpd.conf). From lprng version 3.6.16-1 this file should be only "
+"in /etc/lprng, please check both files and remove /etc/lpd.conf"
+msgstr ""
+"Você possui um arquivo lpd.conf no local antigo, em /etc/lpd.conf, e um "
+"arquivo no novo local, em /etc/lprng/lpd.conf. Desde o lprng versão 3.6.16-"
+"1, esse arquivo deveria estar somente no diretório /etc/lprng. Por favor, "
+"cheque ambos os arquivos e remova o arquivo /etc/lpd.conf."
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:11
+msgid "There are two lpd.perms files"
+msgstr "Existem dois arquivo lpd.perms"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:11
+msgid ""
+"You have a lpd.perms in the old location (/etc/lpd.perms) and the new "
+"location (/etc/lprng/lpd.perms). Since lprng version 3.6.16-1 this file "
+"should be only in /etc/lprng, please check both files and remove /etc/lpd."
+"perms"
+msgstr ""
+"Você possui um arquivo lpd.perms no local antigo, em /etc/lpd.perms, e um "
+"arquivo no novo local, em /etc/lprng/lpd.perms. Desde o lprng versão 3.6.16-"
+"1, esse arquivo deveria estar somente no diretório /etc/lprng. Por favor, "
+"cheque ambos os arquivos e remova o arquivo /etc/lpd.perms."
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:20
+msgid "Make lpr, lprm and lpq setuid root?"
+msgstr "Tornar o lpr, lprm e lpq setuid root ?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:20
+msgid ""
+"For full RFC1179 compliance you need to make these programs setuid root.  "
+"This is mainly so they can create a socket with a low port number. The low "
+"port number may be important if you have network printers or have adjusted /"
+"etc/lprng/lpd.perms to restrict access to non-privledged ports. For the "
+"typical printer connected locally to parallel port (and many other) scenario "
+"you can leave these programs non setuid root."
+msgstr ""
+"Para compatibilidade total com a RFC1179 você precisa tornar esses programas "
+"setuid root. Isto se deve principalmente a a eles poderem criar um socket "
+"com um número de porta baixo. O número de porta baixo pode ser importante "
+"caso você possua impressoras de rede ou tenha ajustado o arquivo /etc/lprng/"
+"lpd.perms para restringir o acesso a portas não privilegiadas. Para o típico "
+"cenário da impressora conectada localmente a porta paralela (e muitos "
+"outros) você pode manter esses progrmas sem o bit stuid root ligado."
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:31
+msgid "Start lpd (Printer Daemon) at boot?"
+msgstr "Iniciar o lpd (Daemon de Impressão) na inicialização da máquina ?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:31
+msgid ""
+"Some people for various reasons do not want to start lpd. Refusing this "
+"option means lpd will not start.  Unless you know why you want lpd not to "
+"start, just accept the default."
+msgstr ""
+"Algumas pessoas, por várias razões. não desejam iniciar o lpd. Caso você não "
+"aceite esta opção o lpd não será iniciado. A menos que você realmente não "
+"deseje que o lpd seja iniciado, aceite o padrão."
--- lprng-3.8.28.orig/debian/po/it.po
+++ lprng-3.8.28/debian/po/it.po
@@ -0,0 +1,98 @@
+# Italian translation of po-debconf templates for lprng.
+# Copyright (c) 2005 Software in the Public Interest
+# This file is distributed under the same license as the lprng package.
+# Luca Monducci, 2004, 2005
+# 
+msgid ""
+msgstr ""
+"Project-Id-Version: lprng 3.8.28\n"
+"Report-Msgid-Bugs-To: csmall@debian.org\n"
+"POT-Creation-Date: 2008-07-10 20:39+0000\n"
+"PO-Revision-Date: 2005-12-18 11:54+0100\n"
+"Last-Translator: Luca Monducci <luca.mo@tiscali.it>\n"
+"Language-Team: Italian <debian-l10n-italian@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:3
+msgid "There are two lpd.conf files"
+msgstr "Esistono due file lpd.conf"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:3
+msgid ""
+"You have a lpd.conf in the old location (/etc/lpd.conf) and the new location "
+"(/etc/lprng/lpd.conf). From lprng version 3.6.16-1 this file should be only "
+"in /etc/lprng, please check both files and remove /etc/lpd.conf"
+msgstr ""
+"Un file lpd.conf Ã¨ presente sia nella vecchia posizione (/etc/lpd.conf) che "
+"nella nuova (/etc/lprng/lpd.conf). Dalla versione 3.6.16-1 di lprng questo "
+"file deve essere presente solo in /etc/lprng, controllare entrambi i file e "
+"rimuovere /etc/lpd.conf"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:11
+msgid "There are two lpd.perms files"
+msgstr "Esistono due file lpd.perms"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:11
+msgid ""
+"You have a lpd.perms in the old location (/etc/lpd.perms) and the new "
+"location (/etc/lprng/lpd.perms). Since lprng version 3.6.16-1 this file "
+"should be only in /etc/lprng, please check both files and remove /etc/lpd."
+"perms"
+msgstr ""
+"Un file lpd.perms Ã¨ presente sia nella vecchia posizione (/etc/lpd.perms) "
+"che nella nuova (/etc/lprng/lpd.perms). Dalla versione 3.6.16-1 di lprng "
+"questo file deve essere presente solo in /etc/lprng, controllare entrambi i "
+"file e rimuovere /etc/lpd.perms"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:20
+msgid "Make lpr, lprm and lpq setuid root?"
+msgstr "Usare lpr, lprm e lpq con il setuid root?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:20
+msgid ""
+"For full RFC1179 compliance you need to make these programs setuid root.  "
+"This is mainly so they can create a socket with a low port number. The low "
+"port number may be important if you have network printers or have adjusted /"
+"etc/lprng/lpd.perms to restrict access to non-privledged ports. For the "
+"typical printer connected locally to parallel port (and many other) scenario "
+"you can leave these programs non setuid root."
+msgstr ""
+"Per il rispetto completo della RFC1179 questi programmi devono usare il "
+"setuid root, questo serve essenzialmente per poter creare un socket con "
+"numero di porta basso. Il numero di porta puÃ² essere importante nel caso si "
+"abbia una stampante di rete o nel caso che modificando /etc/lprng/lpd.perms "
+"si sia vietato l'accesso alle porte non-privilegiate. Per il classico "
+"scenario (e in molti altri casi) di una stampante locale collegata con un "
+"cavo parellelo si puÃ² lasciare questi programmi senza il setuid root."
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:31
+msgid "Start lpd (Printer Daemon) at boot?"
+msgstr "Attivare lpd (demone di stampa) all'avvio?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:31
+msgid ""
+"Some people for various reasons do not want to start lpd. Refusing this "
+"option means lpd will not start.  Unless you know why you want lpd not to "
+"start, just accept the default."
+msgstr ""
+"Alcuni amministratori, per varie ragioni, preferiscono evitare l'attivazione "
+"di lpd. Rifiutanto questa domanda lpd non verrÃ  attivato. Se non si conosce "
+"un motivo per non volere lpd accettare la risposta predefinita."
--- lprng-3.8.28.orig/debian/po/da.po
+++ lprng-3.8.28/debian/po/da.po
@@ -0,0 +1,106 @@
+# translation of lprng_3.8.25-1_templates.po to Danish
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans#
+#    Developers do not need to manually edit POT or PO files.
+# Claus Hindsgaul <claus_h@image.dk>, 2004, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: lprng_3.8.25-1_templates\n"
+"Report-Msgid-Bugs-To: csmall@debian.org\n"
+"POT-Creation-Date: 2008-07-10 20:39+0000\n"
+"PO-Revision-Date: 2005-12-15 11:19+0100\n"
+"Last-Translator: Claus Hindsgaul <claus_h@image.dk>\n"
+"Language-Team: Danish <dansk@klid.dk>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.10.2\n"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:3
+msgid "There are two lpd.conf files"
+msgstr "Der er to lpd.conf-filer"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:3
+msgid ""
+"You have a lpd.conf in the old location (/etc/lpd.conf) and the new location "
+"(/etc/lprng/lpd.conf). From lprng version 3.6.16-1 this file should be only "
+"in /etc/lprng, please check both files and remove /etc/lpd.conf"
+msgstr ""
+"Du har bÃ¥de en lpd.conf pÃ¥ den gamle placering (/etc/lpd.conf) og den nye (/"
+"etc/lprng/lpd.conf). Siden version 3.6.16-1 af lprng skal denne fil kun "
+"ligge under /etc/lprng. Tjek venligst begge filerne og fjern /etc/lpd.conf"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:11
+msgid "There are two lpd.perms files"
+msgstr "Der er to lpd.perms-filer"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:11
+msgid ""
+"You have a lpd.perms in the old location (/etc/lpd.perms) and the new "
+"location (/etc/lprng/lpd.perms). Since lprng version 3.6.16-1 this file "
+"should be only in /etc/lprng, please check both files and remove /etc/lpd."
+"perms"
+msgstr ""
+"Der ligger bÃ¥de en lpd.conf pÃ¥ den gamle placering (/etc/lpd.perms), og den "
+"nye (/etc/lprng/lpd.perms). Siden version 3.6.16-1 af lprng skal denne fil "
+"kun ligge under /etc/lprng. Tjek venligst begge filerne og fjern /etc/lpd."
+"perms"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:20
+msgid "Make lpr, lprm and lpq setuid root?"
+msgstr "GÃ¸r lpr, lprm og lpq 'setuid root'?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:20
+msgid ""
+"For full RFC1179 compliance you need to make these programs setuid root.  "
+"This is mainly so they can create a socket with a low port number. The low "
+"port number may be important if you have network printers or have adjusted /"
+"etc/lprng/lpd.perms to restrict access to non-privledged ports. For the "
+"typical printer connected locally to parallel port (and many other) scenario "
+"you can leave these programs non setuid root."
+msgstr ""
+"For at overholde RFC1179 fuldstÃ¦ndigt skal disse programmer gÃ¸res 'setuid "
+"root'. Det gÃ¸res hovedsageligt for at de kan oprette en sokkel med et lavt "
+"portnummer. Det lave portnummer kan vÃ¦re vigtigt hvis du har netvÃ¦rks-"
+"printere eller har indstillet /etc/lprng/lpd.perms til at begrÃ¦nse adgangen "
+"til ikke-priviligerede porte. For de mest typiske scenarier, hvor f.eks. en "
+"printer er forbundet lokalt til den parallelle port kan du sagtens undlade "
+"at gÃ¸re disse programmer 'setuid root'."
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:31
+msgid "Start lpd (Printer Daemon) at boot?"
+msgstr "Start lpd (printerdÃ¦monen) under opstarten?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:31
+msgid ""
+"Some people for various reasons do not want to start lpd. Refusing this "
+"option means lpd will not start.  Unless you know why you want lpd not to "
+"start, just accept the default."
+msgstr ""
+"Af forskellige grunde er der nogen, der ikke Ã¸nsker at starte lpd. Hvis du "
+"afviser her, vil lpd ikke starte. Medmindre du har en god grund til ikke at "
+"starte lpd, bÃ¸r du blot acceptere standardsvaret."
--- lprng-3.8.28.orig/debian/po/nl.po
+++ lprng-3.8.28/debian/po/nl.po
@@ -0,0 +1,107 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: lprng 3.8.22-2\n"
+"Report-Msgid-Bugs-To: csmall@debian.org\n"
+"POT-Creation-Date: 2008-07-10 20:39+0000\n"
+"PO-Revision-Date: 2004-10-22 09:13+0100\n"
+"Last-Translator: Luk Claes <luk.claes@ugent.be>\n"
+"Language-Team: Debian l10n Dutch <debian-l10n-dutch@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:3
+msgid "There are two lpd.conf files"
+msgstr "Er zijn twee lpd.conf-bestanden"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:3
+#, fuzzy
+msgid ""
+"You have a lpd.conf in the old location (/etc/lpd.conf) and the new location "
+"(/etc/lprng/lpd.conf). From lprng version 3.6.16-1 this file should be only "
+"in /etc/lprng, please check both files and remove /etc/lpd.conf"
+msgstr ""
+"U hebt een lpd.conf in de oude locatie (/etc/lpd.conf) en de nieuwe locatie "
+"(/etc/lprng/lpd.conf). Sinds lprng versie 3.6-16-1 dient dit bestand enkel "
+"in /etc/lprng aanwezig te zijn; gelieve beide bestanden te controleren en /"
+"etc/lpd.conf te verwijderen."
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:11
+msgid "There are two lpd.perms files"
+msgstr "Er zijn twee lpd.perms-bestanden"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:11
+msgid ""
+"You have a lpd.perms in the old location (/etc/lpd.perms) and the new "
+"location (/etc/lprng/lpd.perms). Since lprng version 3.6.16-1 this file "
+"should be only in /etc/lprng, please check both files and remove /etc/lpd."
+"perms"
+msgstr ""
+"U hebt een lpd.perms in de oude locatie (/etc/lpd.perms) en de nieuwe "
+"locatie (/etc/lprng/lpd.perms). Sinds lprng versie 3.6-16-1 dient dit "
+"bestand enkel in /etc/lprng aanwezig te zijn; gelieve beide bestanden te "
+"controleren en /etc/lpd.perms te verwijderen."
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:20
+msgid "Make lpr, lprm and lpq setuid root?"
+msgstr "lpr, lprm en lpq setuid root maken?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:20
+msgid ""
+"For full RFC1179 compliance you need to make these programs setuid root.  "
+"This is mainly so they can create a socket with a low port number. The low "
+"port number may be important if you have network printers or have adjusted /"
+"etc/lprng/lpd.perms to restrict access to non-privledged ports. For the "
+"typical printer connected locally to parallel port (and many other) scenario "
+"you can leave these programs non setuid root."
+msgstr ""
+"Om RFC1179 volledig te volgen dient u deze programma's setuid root te maken. "
+"Dit is hoofdzakelijk omdat er dan een socket met een laag poortnummer kan "
+"worden aangemaakt. Het lage poortnummer kan belangrijk zijn als u "
+"netwerkprinters heeft of /etc/lprng/lpd.perms heeft aangepast om toegang te "
+"beperken tot niet-geprivilegeerde poorten. Voor het typische scenario (en "
+"vele anderen) waarin de printer is verbonden met de parallelle poort kunt u "
+"deze programma's niet-setuid root laten."
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:31
+msgid "Start lpd (Printer Daemon) at boot?"
+msgstr "Start lpd (Printer Daemon) bij het opstarten van de computer?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:31
+msgid ""
+"Some people for various reasons do not want to start lpd. Refusing this "
+"option means lpd will not start.  Unless you know why you want lpd not to "
+"start, just accept the default."
+msgstr ""
+"Deze optie weigeren betekent dat lpd niet zal starten (sommige mensen willen "
+"om verschillende redenen lpd niet starten). Tenzij u weet waarom lpd niet te "
+"starten, aanvaardt u best de standaard keuze."
--- lprng-3.8.28.orig/debian/po/de.po
+++ lprng-3.8.28/debian/po/de.po
@@ -0,0 +1,109 @@
+# translation of lprng_3.8.28-4_de.po to German
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans#
+#    Developers do not need to manually edit POT or PO files.
+# Erik Schanze <mail@erikschanze.de>, 2004.
+# Erik Schanze <schanzi_@gmx.de>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: lprng_3.8.28-4_de\n"
+"Report-Msgid-Bugs-To: csmall@debian.org\n"
+"POT-Creation-Date: 2008-07-10 20:39+0000\n"
+"PO-Revision-Date: 2006-01-03 21:58+0100\n"
+"Last-Translator: Erik Schanze <schanzi_@gmx.de>\n"
+"Language-Team: German <de@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.10.2\n"
+"Plural-Forms:  nplurals=2; plural=(n != 1);\n"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:3
+msgid "There are two lpd.conf files"
+msgstr "Es gibt die Datei lpd.conf doppelt"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:3
+msgid ""
+"You have a lpd.conf in the old location (/etc/lpd.conf) and the new location "
+"(/etc/lprng/lpd.conf). From lprng version 3.6.16-1 this file should be only "
+"in /etc/lprng, please check both files and remove /etc/lpd.conf"
+msgstr ""
+"Sie haben eine Datei lpd.conf an der alten Stelle (/etc/lpd.conf) und an der "
+"neuen Stelle (/etc/lprng/lpd.conf). Seit der Version 3.6.16-1 von lprng "
+"sollte diese Datei nur noch im Verzeichnis /etc/lprng liegen. ÃberprÃ¼fen Sie "
+"bitte beide Dateien und lÃ¶schen Sie /etc/lpd.conf."
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:11
+msgid "There are two lpd.perms files"
+msgstr "Es gibt die Datei lpd.perms doppelt"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:11
+msgid ""
+"You have a lpd.perms in the old location (/etc/lpd.perms) and the new "
+"location (/etc/lprng/lpd.perms). Since lprng version 3.6.16-1 this file "
+"should be only in /etc/lprng, please check both files and remove /etc/lpd."
+"perms"
+msgstr ""
+"Sie haben eine Datei lpd.perms an der alten Stelle (/etc/lpd.perms) und an "
+"der neuen Stelle (/etc/lprng/lpd.perms). Seit der Version 3.6.16-1 von lprng "
+"sollte diese Datei nur noch im Verzeichnis /etc/lprng liegen. ÃberprÃ¼fen Sie "
+"bitte beide Dateien und lÃ¶schen Sie /etc/lpd.perms."
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:20
+msgid "Make lpr, lprm and lpq setuid root?"
+msgstr "lpr, lprm und lpq mit root-Rechten betreiben?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:20
+msgid ""
+"For full RFC1179 compliance you need to make these programs setuid root.  "
+"This is mainly so they can create a socket with a low port number. The low "
+"port number may be important if you have network printers or have adjusted /"
+"etc/lprng/lpd.perms to restrict access to non-privledged ports. For the "
+"typical printer connected locally to parallel port (and many other) scenario "
+"you can leave these programs non setuid root."
+msgstr ""
+"Zur vollen Ãbereinstimmung mit RFC1179 mÃ¼ssen diese Programme mit root-"
+"Rechten laufen. HauptsÃ¤chlich damit diese einen Socket mit einer geringen "
+"Portnummer anlegen kÃ¶nnen. Niedrige Portnummern kÃ¶nnen wichtig sein, wenn "
+"Sie einen Netzwerkdrucker betreiben oder den Zugang Ã¼ber hohe Ports in der "
+"Datei /etc/lprng/lpd.perms beschrÃ¤nkt haben.  FÃ¼r einen normalen Drucker am "
+"Parallelport und in vielen anderen FÃ¤llen brauchen diese Programme keine "
+"root-Rechte."
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:31
+msgid "Start lpd (Printer Daemon) at boot?"
+msgstr "lpd (Druckerdienst) beim Booten starten?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:31
+msgid ""
+"Some people for various reasons do not want to start lpd. Refusing this "
+"option means lpd will not start.  Unless you know why you want lpd not to "
+"start, just accept the default."
+msgstr ""
+"Es gibt verschiedene GrÃ¼nde, lpd nicht beim Booten zu starten. Wenn Sie hier "
+"ablehnen, wird lpd nicht starten.  WÃ¤hlen Sie die Standardeinstellung, auÃer "
+"Sie wissen, warum Sie lpd nicht starten wollen."
--- lprng-3.8.28.orig/debian/po/fr.po
+++ lprng-3.8.28/debian/po/fr.po
@@ -0,0 +1,110 @@
+# translation of fr.po to French
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+# Christian Perrier <bubulle@debian.org>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: fr\n"
+"Report-Msgid-Bugs-To: csmall@debian.org\n"
+"POT-Creation-Date: 2008-07-10 20:39+0000\n"
+"PO-Revision-Date: 2005-11-03 17:44+0100\n"
+"Last-Translator: Christian Perrier <bubulle@debian.org>\n"
+"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.10.2\n"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:3
+msgid "There are two lpd.conf files"
+msgstr "Deux fichiers lpd.conf ont été trouvés"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:3
+msgid ""
+"You have a lpd.conf in the old location (/etc/lpd.conf) and the new location "
+"(/etc/lprng/lpd.conf). From lprng version 3.6.16-1 this file should be only "
+"in /etc/lprng, please check both files and remove /etc/lpd.conf"
+msgstr ""
+"Un fichier lpd.conf a été trouvé à l'ancien emplacement (dans /etc) et un "
+"autre au nouvel emplacement (/etc/lprng). Depuis la version 3.6.16-1 de "
+"lprng, le fichier utilisé est celui de /etc/lprng : veuillez donc vérifier "
+"le contenu des deux fichiers, puis effacer /etc/lpd.conf."
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:11
+msgid "There are two lpd.perms files"
+msgstr "Deux fichiers lpd.perms ont été trouvés"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:11
+msgid ""
+"You have a lpd.perms in the old location (/etc/lpd.perms) and the new "
+"location (/etc/lprng/lpd.perms). Since lprng version 3.6.16-1 this file "
+"should be only in /etc/lprng, please check both files and remove /etc/lpd."
+"perms"
+msgstr ""
+"Un fichier lpd.perms a été trouvé à l'ancien emplacement (dans /etc) et un "
+"autre au nouvel emplacement (/etc/lprng). Depuis la version 3.6.16-1 de "
+"lprng, le fichier utilisé est celui de /etc/lprng : veuillez donc vérifier "
+"le contenu des deux fichiers, puis effacer /etc/lpd.perms."
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:20
+msgid "Make lpr, lprm and lpq setuid root?"
+msgstr "Lpr, lprm et lpq doivent-ils être « setuid root » ?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:20
+msgid ""
+"For full RFC1179 compliance you need to make these programs setuid root.  "
+"This is mainly so they can create a socket with a low port number. The low "
+"port number may be important if you have network printers or have adjusted /"
+"etc/lprng/lpd.perms to restrict access to non-privledged ports. For the "
+"typical printer connected locally to parallel port (and many other) scenario "
+"you can leave these programs non setuid root."
+msgstr ""
+"Pour un respect complet de la RFC1179, ces programmes doivent s'exécuter "
+"avec les privilèges du super-utilisateur. C'est pour l'essentiel nécessaire "
+"à la création d'un « socket » sur un port de numéro inférieur à 1024. Cela "
+"peut être important si vous utilisez des imprimantes en réseau ou si vous "
+"avez modifié /etc/lprng/lpd.perms pour restreindre l'accès aux ports non "
+"privilégiés. Dans le cas d'une imprimante classiquement connectée sur le "
+"port parallèle (et beaucoup d'autres cas), il n'est pas indispensable que "
+"ces programmes s'exécutent avec les privilèges du super-utilisateur."
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:31
+msgid "Start lpd (Printer Daemon) at boot?"
+msgstr "Faut-il lancer lpd (gestionnaire d'imprimantes) au démarrage ?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:31
+msgid ""
+"Some people for various reasons do not want to start lpd. Refusing this "
+"option means lpd will not start.  Unless you know why you want lpd not to "
+"start, just accept the default."
+msgstr ""
+"Certains administrateurs, pour des raisons diverses, préfèrent éviter de "
+"lancer lpd. En refusant ici, lpd ne démarrera pas. Vous devriez accepter à "
+"moins d'avoir une raison solide pour ne pas vouloir démarrer lpd."
--- lprng-3.8.28.orig/debian/po/vi.po
+++ lprng-3.8.28/debian/po/vi.po
@@ -0,0 +1,100 @@
+# Vietnamese Translation for lprng.
+# Copyright Â© 2005 Free Software Foundation, Inc.
+# Clytie Siddall <clytie@riverland.net.au>, 2005.
+# 
+msgid ""
+msgstr ""
+"Project-Id-Version: lprng 3.8.28-2\n"
+"Report-Msgid-Bugs-To: csmall@debian.org\n"
+"POT-Creation-Date: 2008-07-10 20:39+0000\n"
+"PO-Revision-Date: 2005-06-09 15:13+0930\n"
+"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
+"Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0\n"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:3
+msgid "There are two lpd.conf files"
+msgstr "CÃ³ hai táº­p tin Â«lpd.confÂ» rá»i."
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:3
+#, fuzzy
+msgid ""
+"You have a lpd.conf in the old location (/etc/lpd.conf) and the new location "
+"(/etc/lprng/lpd.conf). From lprng version 3.6.16-1 this file should be only "
+"in /etc/lprng, please check both files and remove /etc/lpd.conf"
+msgstr ""
+"Báº¡n cÃ³ má»t táº­p tin Â«lpd.confÂ» trong Äá»a Äiá»m cÅ© (Â«/etc/lpd.confÂ») vÃ  cÅ©ng "
+"trong Äá»a Äiá»m má»i (Â«/etc/lprng/lpd.confÂ»). Tá»« trÃ¬nh lprng phiÃªn báº£n 3.6.16-"
+"1, táº­p tin nÃ y nÃªn chá» trong Â«/etc/lprngÂ» thÃ¬ báº¡n hÃ£y kiá»m tra cáº£ hai táº­p "
+"tin áº¥y, rá»i loáº¡i bá» Â«/etc/lpd.confÂ»."
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:11
+msgid "There are two lpd.perms files"
+msgstr "CÃ³ hai táº­p tin Â«lpd.permsÂ» rá»i."
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:11
+msgid ""
+"You have a lpd.perms in the old location (/etc/lpd.perms) and the new "
+"location (/etc/lprng/lpd.perms). Since lprng version 3.6.16-1 this file "
+"should be only in /etc/lprng, please check both files and remove /etc/lpd."
+"perms"
+msgstr ""
+"Báº¡n cÃ³ má»t táº­p tin Â«lpd.permsÂ» trong Äá»a Äiá»m cÅ© (Â«/etc/lpd.permsÂ») vÃ  cÅ©ng "
+"trong Äá»a Äiá»m má»i (Â«/etc/lprng/lpd.permsÂ»). Tá»« trÃ¬nh lprng phiÃªn báº£n 3.6.16-"
+"1, táº­p tin nÃ y nÃªn chá» trong Â«/etc/lprngÂ» thÃ¬ báº¡n hÃ£y kiá»m tra cáº£ hai táº­p "
+"tin áº¥y, rá»i loáº¡i bá» Â«/etc/lpd.permsÂ»."
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:20
+msgid "Make lpr, lprm and lpq setuid root?"
+msgstr "Láº­p Â«setuid rootÂ» cho lpr, lprm vÃ  lpq khÃ´ng?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:20
+msgid ""
+"For full RFC1179 compliance you need to make these programs setuid root.  "
+"This is mainly so they can create a socket with a low port number. The low "
+"port number may be important if you have network printers or have adjusted /"
+"etc/lprng/lpd.perms to restrict access to non-privledged ports. For the "
+"typical printer connected locally to parallel port (and many other) scenario "
+"you can leave these programs non setuid root."
+msgstr ""
+"Äá» tuÃ¢n theo RFC1179 hoÃ n thÃ nh, báº¡n cáº§n pháº£i láº­p Â«setuid rootÂ» cho cÃ¡c "
+"chÆ°Æ¡ng trÃ¬nh áº¥y. Háº§u háº¿t Äá» cho phÃ©p chÆ°Æ¡ng trÃ¬nh áº¥y táº¡o má»t á» cáº¯m cÃ³ sá» "
+"hiá»u cá»ng tháº¥p. Sá» hiá»u áº¥y cÃ³ láº½ quan trá»ng náº¿u báº¡n cÃ³ mÃ¡y in máº¡ng, hoáº·c ÄÃ£ "
+"tÃ¹y chá»nh Â«/etc/lprng/lpd.permsÂ» Äá» giá»i háº¡n truy cáº­p nhá»¯ng cá»ng khÃ´ng cáº§n "
+"Äáº¿n quyá»n Äáº·c biá»t. Trong trÆ°á»ng há»£p thÆ°á»ng cÃ³ mÃ¡y in ÄÆ°á»£c káº¿t ná»i má»t cÃ¡ch "
+"Äá»a phÆ°Æ¡ng Äáº¿n má»t cá»ng song song (vÃ  trong nhiá»u trÆ°á»ng há»£p khÃ¡c), báº¡n cÃ³ "
+"thá» láº­p nhá»¯ng chÆ°Æ¡ng trÃ¬nh nÃ y khÃ´ng cÃ³ thiáº¿t láº­p Â«setuid rootÂ»"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:31
+msgid "Start lpd (Printer Daemon) at boot?"
+msgstr "Khá»i cháº¡y trÃ¬nh ná»n in lpd khi khá»i Äá»ng mÃ¡y khÃ´ng?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:31
+msgid ""
+"Some people for various reasons do not want to start lpd. Refusing this "
+"option means lpd will not start.  Unless you know why you want lpd not to "
+"start, just accept the default."
+msgstr ""
+"Má»t sá» ngÆ°á»i, vÃ¬ nhiá»u lÃ½ do khÃ¡c nhau, khÃ´ng muá»n khá»i cháº¡y trÃ¬nh ná»n in "
+"lpd. Tá»« chá»i tÃ¹y chá»n nÃ y cÃ³ nghÄ©a lÃ  trÃ¬nh lpd sáº½ khÃ´ng khá»i cháº¡y nÃ o cáº£. "
+"ThÃ¬ báº¡n pháº£i cháº¥p nháº­n thiáº¿t láº­p máº¡c Äá»nh, Äá» cho phÃ©p trÃ¬nh ná»n in lpd khá»i "
+"cháº¡y."
--- lprng-3.8.28.orig/debian/po/cs.po
+++ lprng-3.8.28/debian/po/cs.po
@@ -0,0 +1,104 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: lprng\n"
+"Report-Msgid-Bugs-To: csmall@debian.org\n"
+"POT-Creation-Date: 2008-07-10 20:39+0000\n"
+"PO-Revision-Date: 2004-07-23 12:17+0200\n"
+"Last-Translator: Jan Outrata <outrataj@upcase.inf.upol.cz>\n"
+"Language-Team: Czech <provoz@debian.cz>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:3
+msgid "There are two lpd.conf files"
+msgstr "Existují dva soubory lpd.conf"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:3
+#, fuzzy
+msgid ""
+"You have a lpd.conf in the old location (/etc/lpd.conf) and the new location "
+"(/etc/lprng/lpd.conf). From lprng version 3.6.16-1 this file should be only "
+"in /etc/lprng, please check both files and remove /etc/lpd.conf"
+msgstr ""
+"Máte lpd.conf na starém místì (/etc/lpd.conf) i na novém místì (/etc/lprng/"
+"lpd.conf). Od lprng verze 3.6.16-1 by tento soubor mìl být jen v /etc/lprng, "
+"zkontrolujte prosím oba soubory a odstraòte /etc/lpd.conf"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:11
+msgid "There are two lpd.perms files"
+msgstr "Existují dva soubory lpd.perms"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:11
+msgid ""
+"You have a lpd.perms in the old location (/etc/lpd.perms) and the new "
+"location (/etc/lprng/lpd.perms). Since lprng version 3.6.16-1 this file "
+"should be only in /etc/lprng, please check both files and remove /etc/lpd."
+"perms"
+msgstr ""
+"Máte lpd.perms na starém místì (/etc/lpd.perms) i na novém místì (/etc/lprng/"
+"lpd.perms). Od lprng verze 3.6.16-1 by tento soubor mìl být jen v /etc/"
+"lprng, zkontrolujte prosím oba soubory a odstraòte /etc/lpd.perms"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:20
+msgid "Make lpr, lprm and lpq setuid root?"
+msgstr "Mají mít lpr, lprm a lpq nastavený SUID bit?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:20
+msgid ""
+"For full RFC1179 compliance you need to make these programs setuid root.  "
+"This is mainly so they can create a socket with a low port number. The low "
+"port number may be important if you have network printers or have adjusted /"
+"etc/lprng/lpd.perms to restrict access to non-privledged ports. For the "
+"typical printer connected locally to parallel port (and many other) scenario "
+"you can leave these programs non setuid root."
+msgstr ""
+"Pro plné vyhovìní normì RFC1179 musí mít tyto programy nastavený SUID bit. "
+"Je to hlavnì z dùvodu mo¾nosti vytvoøit socket s nízkým èíslem portu. Nízké "
+"èíslo portu mù¾e být dùle¾ité, pokud máte sí»ové tiskárny nebo máte "
+"upravený /etc/lprng/lpd.perms s omezením pøístupu k neprivilegovaným portùm. "
+"Pro typický pøípad tiskárny pøipojené lokálnì k paralelnímu portu (a mnoha "
+"dal¹ím) tyto programy nastavený SUID bit mít nemusí."
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:31
+msgid "Start lpd (Printer Daemon) at boot?"
+msgstr "Startovat lpd (Printer Daemon - Démon tiskárny) pøi spu¹tìní systému?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:31
+msgid ""
+"Some people for various reasons do not want to start lpd. Refusing this "
+"option means lpd will not start.  Unless you know why you want lpd not to "
+"start, just accept the default."
+msgstr ""
+"Nìkteøí lidé nechtìjí z rùzných dùvodù lpd startovat. Zamítnutí této volby "
+"znamená, ¾e se lpd nebude spou¹tìt. Pokud nevíte, proè byste nechtìli lpd "
+"spou¹tìt, jednodu¹e pøijmìte výchozí nastavení."
--- lprng-3.8.28.orig/debian/po/templates.pot
+++ lprng-3.8.28/debian/po/templates.pot
@@ -0,0 +1,81 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: csmall@debian.org\n"
+"POT-Creation-Date: 2008-07-10 20:39+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:3
+msgid "There are two lpd.conf files"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:3
+msgid ""
+"You have a lpd.conf in the old location (/etc/lpd.conf) and the new location "
+"(/etc/lprng/lpd.conf). From lprng version 3.6.16-1 this file should be only "
+"in /etc/lprng, please check both files and remove /etc/lpd.conf"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:11
+msgid "There are two lpd.perms files"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:11
+msgid ""
+"You have a lpd.perms in the old location (/etc/lpd.perms) and the new "
+"location (/etc/lprng/lpd.perms). Since lprng version 3.6.16-1 this file "
+"should be only in /etc/lprng, please check both files and remove /etc/lpd."
+"perms"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:20
+msgid "Make lpr, lprm and lpq setuid root?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:20
+msgid ""
+"For full RFC1179 compliance you need to make these programs setuid root.  "
+"This is mainly so they can create a socket with a low port number. The low "
+"port number may be important if you have network printers or have adjusted /"
+"etc/lprng/lpd.perms to restrict access to non-privledged ports. For the "
+"typical printer connected locally to parallel port (and many other) scenario "
+"you can leave these programs non setuid root."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:31
+msgid "Start lpd (Printer Daemon) at boot?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:31
+msgid ""
+"Some people for various reasons do not want to start lpd. Refusing this "
+"option means lpd will not start.  Unless you know why you want lpd not to "
+"start, just accept the default."
+msgstr ""
--- lprng-3.8.28.orig/debian/po/sv.po
+++ lprng-3.8.28/debian/po/sv.po
@@ -0,0 +1,106 @@
+# Translators, if you are not familiar with the PO format, gettext
+# documentation is worth reading, especially sections dedicated to
+# this format, e.g. by running:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+# Some information specific to po-debconf are available at
+# /usr/share/doc/po-debconf/README-trans
+# or http://www.debian.org/intl/l10n/po-debconf/README-trans
+# Developers do not need to manually edit POT or PO files.
+# , fuzzy
+#
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: lprng 3.8.28-3\n"
+"Report-Msgid-Bugs-To: csmall@debian.org\n"
+"POT-Creation-Date: 2008-07-10 20:39+0000\n"
+"PO-Revision-Date: 2005-11-13 14:56+0100\n"
+"Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
+"Language-Team: Swedish <sv@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:3
+msgid "There are two lpd.conf files"
+msgstr "Det finns två lpd.conf filer"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:3
+#, fuzzy
+msgid ""
+"You have a lpd.conf in the old location (/etc/lpd.conf) and the new location "
+"(/etc/lprng/lpd.conf). From lprng version 3.6.16-1 this file should be only "
+"in /etc/lprng, please check both files and remove /etc/lpd.conf"
+msgstr ""
+"Du har lpd.conf på den gamla platsen (/etc/lpd.conf) och den nya platsen (/"
+"etc/lprng/lpd.conf.) Sedan version 3.6.16-1 av lprng ska denna fil endast "
+"finnas i /etc/lprng. Kontrollera därför båda filerna och ta bort /etc/lpd."
+"conf"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:11
+msgid "There are two lpd.perms files"
+msgstr "Det finns två lpd.perms filer"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:11
+msgid ""
+"You have a lpd.perms in the old location (/etc/lpd.perms) and the new "
+"location (/etc/lprng/lpd.perms). Since lprng version 3.6.16-1 this file "
+"should be only in /etc/lprng, please check both files and remove /etc/lpd."
+"perms"
+msgstr ""
+"Du har lpd.perms på den äldre platsen (/etc/lpd.perms) och den nya platsen (/"
+"etc/lprng/lpd.perms.) Sedan version 3.6.16-1 av lprng ska denna fil endast "
+"finnas i /etc/lprng. Kontrollera därför båda filerna och ta bort /etc/lpd."
+"perms"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:20
+msgid "Make lpr, lprm and lpq setuid root?"
+msgstr "Gör lpr, lprm och lpq setuid root?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:20
+msgid ""
+"For full RFC1179 compliance you need to make these programs setuid root.  "
+"This is mainly so they can create a socket with a low port number. The low "
+"port number may be important if you have network printers or have adjusted /"
+"etc/lprng/lpd.perms to restrict access to non-privledged ports. For the "
+"typical printer connected locally to parallel port (and many other) scenario "
+"you can leave these programs non setuid root."
+msgstr ""
+"För fullständig enighet med RFC1179 måste du göra dessa program setuid root. "
+"Detta är främst för att de skall kunna skapa en socket med lågt portnummer. "
+"Det låga portnumret kan vara viktigt om du har nätverksskrivare eller har "
+"anpassat /etc/lprng/lpd.perms för att begränsa tillträde  till icke-"
+"priviligerade portar. För den typiska skrivaren ansluten lokalt till "
+"parallellporten (och många andra scenarion) kan du lämna dessa program utan "
+"setuid root."
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:31
+msgid "Start lpd (Printer Daemon) at boot?"
+msgstr "Starta lpd (utskriftserver-demonen) vid boot?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:31
+msgid ""
+"Some people for various reasons do not want to start lpd. Refusing this "
+"option means lpd will not start.  Unless you know why you want lpd not to "
+"start, just accept the default."
+msgstr ""
+"Somliga personer väljer av olika skäl att inte starta lpd. Att inte välja "
+"start här betyder att lpd inte startas.  Det rekommenderas att välja "
+"standardinställningen."
--- lprng-3.8.28.orig/debian/debathena-lprng.dirs
+++ lprng-3.8.28/debian/debathena-lprng.dirs
@@ -0,0 +1,3 @@
+usr/bin
+usr/sbin
+etc/lprng
--- lprng-3.8.28.orig/debian/debathena-lprng.cron.daily
+++ lprng-3.8.28/debian/debathena-lprng.cron.daily
@@ -0,0 +1,51 @@
+#!/bin/sh
+#
+# source:
+#   $Source: /var/cvs/hosts/quoininc/smoke/etc/cron.daily/lprng,v $
+#
+# revision:
+#   @(#) $Id: lprng,v 1.1 1998/01/11 02:19:10 jplejacq Exp $
+#
+# copyright:
+#   Copyright (C) 1997 Jean Pierre LeJacq <jplejacq@quoininc.com>
+#
+# description:
+#   Host configuration of cron daily program for lprng.
+#
+#   Reports warnings or errors using the syslog facility.  If there
+#   are no errors, removes junk files older than a day.
+
+
+# filter defining what errors to look for:
+CS_WARN="Warning"
+CS_ERROR="lp\:  Need to fix"
+
+CS_DENY="${CS_WARN}|${CS_ERROR}"
+
+
+# filter defining which errors you'll accept:
+CS_LOCK_OWN="Warning - owner/group of ./var/lock. are 0/0, not 7/7"
+CS_LOCK_PERM="Warning - permissions of ./var/lock. are 041777, not 042700"
+CS_MISS_LOCKFILE="Warning -   LPD Lockfile .* does not exist!"
+
+CS_ALLOW="${CS_LOCK_OWN}|${CS_LOCK_PERM}|$CS_MISS_LOCKFILE"
+
+
+# main:
+[ -f /etc/printcap ] || exit 0
+
+  if [ -x /usr/sbin/checkpc ]
+  then
+
+    /usr/sbin/checkpc | grep -E "${CS_DENY}" | grep -q -v -E "${CS_ALLOW}" ; RV=$?
+    if [ "$RV" = "0" ]
+    then
+      /usr/bin/logger -p "lpr.err" -t "lpd" "cron.daily found errors, run checkpc for details."
+    else
+      /usr/sbin/checkpc -r -A 1D
+    fi
+  fi
+
+exit 0
+
+
--- lprng-3.8.28.orig/debian/debathena-lprng.init.d
+++ lprng-3.8.28/debian/debathena-lprng.init.d
@@ -0,0 +1,136 @@
+#!/bin/sh
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/sbin/lpd
+NAME=lprng
+DESC="LPRNG printer spooler"
+CONF=/etc/printcap
+DEFAULT=/etc/default/lprng
+### BEGIN INIT INFO
+# Provides:          skeleton
+# Required-Start:    $local_fs $remote_fs
+# Required-Stop:     $local_fs $remote_fs
+# Default-Start:     2 3 4 5
+# Default-Stop:      S 0 1 6
+# Short-Description: Start lpd to allow printing
+# Description: lpd is the print daemon required for lpr to work properly.
+#   It is basically a server that arbitrates print jobs to printer(s).
+### END INIT INFO
+#		Written by Miquel van Smoorenburg <miquels@cistron.nl>.
+#		Modified for Debian GNU/Linux
+#		by Ian Murdock <imurdock@gnu.ai.mit.edu>.
+#
+
+# Have to cd to / because lpd doesn't Bug #42068
+cd /
+
+# Check for printcap file, if there isn't one there bomb out
+test -f $CONF || exit 0
+
+# Check for default file, if it is not there or it says no start
+# then bomb out
+test -f $DEFAULT || exit 0
+grep -q 'START_LPD=yes' $DEFAULT || exit 0
+#
+# The pidfile is made up of <lockfile>.<lpd_port>
+# lockfile defaults to /var/run/lprng/lpd
+# lpd_port defaults to printer
+
+# Since /var/run can be a tmpfs, we need to make sure that /var/run/lprng exists
+[ ! -d /var/run/lprng ] && mkdir /var/run/lprng
+
+# Work out what port we are running on, Bug #97272
+LPD_PORT=$(grep "^[[:space:]]*lpd_port" /etc/lprng/lpd.conf | cut -d "=" -f 2)
+if [ -z $LPD_PORT ]
+then
+  LPD_PORT=515
+fi
+
+# Check lpd.conf for lockfile, Bug #44953, now in /etc/lprng Bug #66568
+LOCKFILE=$(grep "^[[:space:]]*lockfile" /etc/lprng/lpd.conf | cut -d "=" -f 2)
+if [ -z $LOCKFILE ]
+then
+  LOCKFILE=/var/run/lprng/lpd
+fi
+
+PIDFILE=$LOCKFILE.$LPD_PORT
+
+# Source gLSB script
+. /lib/lsb/init-functions
+
+
+cleanup()
+# description:
+#   Removes all lock and control files on this host.
+{
+  rm -f "${PIDFILE}"
+
+  for dir in $(find /var/spool/lpd/* -type d -print)
+  do
+    printer=${dir##*/}
+
+    rm -f ${dir}/${printer}
+    rm -f ${dir}/control.${printer}
+    rm -f ${dir}/unspooler.${printer}
+  done
+}
+
+initialize()
+{
+   checkpc -f > /dev/null
+}
+
+# Dont start if there is no lpd or that lib dir is not there (uninstalled but
+# not purged
+test -f $DAEMON -a -d /usr/lib/lprng || exit 0
+
+set -e
+
+case "$1" in
+  start)
+	log_daemon_msg "Starting $DESC" lpd
+	if start-stop-daemon --start --quiet --pidfile "${PIDFILE}" \
+		--exec $DAEMON ; then
+		initialize
+		log_end_msg 0
+	else
+		log_end_msg 1
+		exit 1
+	fi
+	;;
+  stop)
+	log_daemon_msg "Stopping $DESC" lpd
+	if start-stop-daemon --stop --quiet --pidfile "${PIDFILE}" ; then
+		cleanup
+		log_end_msg 0
+	else
+		log_end_msg 1
+		exit 1
+	fi
+	;;
+  reload)
+	 log_daemon_msg "Reloading $DESC configuration files..."
+	 if start-stop-daemon --stop --signal 1 --quiet --pidfile \
+		"${PIDFILE}" --oknodo ; then
+	 	log_end_msg 0
+	else
+		log_end_msg 1
+		exit 1
+	fi
+  	;;
+  restart|force-reload)
+	log_daemon_msg "Restarting $DESC" lpd
+	start-stop-daemon --stop --quiet --pidfile "${PIDFILE}" 
+	sleep 1
+	start-stop-daemon --start --quiet --pidfile "${PIDFILE}" \
+	    --exec $DAEMON
+	initialize
+	log_end_msg 0
+	;;
+  *)
+	N=/etc/init.d/$NAME
+	echo "Usage: $N {start|stop|restart|force-reload}" >&2
+	exit 1
+	;;
+esac
+
+exit 0
--- lprng-3.8.28.orig/debian/debathena-lprng.examples
+++ lprng-3.8.28/debian/debathena-lprng.examples
@@ -0,0 +1,2 @@
+printcap
+lpd.conf
--- lprng-3.8.28.orig/debian/README.Debian
+++ lprng-3.8.28/debian/README.Debian
@@ -0,0 +1,67 @@
+		README for Debian package of LPRng
+		==================================
+
+This is a collection of things that you should read, especially if you are 
+having troubles with LPRng or your printers.  Please also note there is
+a LPRng-HOWTO in the lprng-doc package.  If you are having one of these
+problems listed below and report a bug about it, make sure you have read
+this README and you say in your bug report you have done so.
+
+Network Printer not Printing
+----------------------------
+#1 source of all my bug reports would have to be this.  Someone has a
+networked printer (that is a printer with its own IP address), they've upgraded
+from some old LPRng, say 3.6.12 or lower, and now the printer stops working
+and the jobs just disappear.
+
+You probably have something in your /etc/printcap like lp=/dev/null as
+well as some rp and rm lines. Well, the job is going to the lp line and
+ending up in /dev/null, remove that line out of printcap.
+
+Or you might have a lpr_bounce clause in there which should be removed.
+
+Not printing under high load?
+-----------------------------
+#2 source of bugs, maybe going to #1 soon is the bugs surrounding done_jobs.
+In short if you run versions around 3.8.10 you have old jobs hanging
+around your spool, if you run 3.8.15 then you'll lose jobs.
+I have now put a temporary fix (done_jobs=0) by default. If you do not
+let dpkg upgrade your lpd.conf file then unless you like weirdo bugs put a
+line in /etc/lprng/lpd.conf like this:
+done_jobs=0
+
+Remote Users not being able to print
+------------------------------------
+From LPRng version 3.6.20-1 onwards you can stop people remotely accessing
+your lpd.  Of course you sometimes do want remote users to access lpd or
+you want to do some funky things with /etc/lprng/lpd.perms then you can
+change it yourself.  Of course if you have a pre 3.6.20-1 lpd.perms
+and you want to stop people from remotely connecting then add the following
+line to the top of /etc/lprng/lpd.perms
+REJECT NOT SERVER
+
+Remote Printers and no spool file
+---------------------------------
+Some people want to directly print to their remote printers without having all
+the spooling etc on the Linux box.  Some old versions allowed this to happen
+out of the box.  The newer LPRngs do not because it is generall a bad idea.
+But if you want to do it, put something like this in your /etc/printcap
+  lp1:rp=pr:rm=10.0.1.2
+    :force_localhost@
+Also read the LPRng-HOWTO for more information.
+
+Why is GDBM disabled in configure?
+----------------------------------
+In 3.7.3 gdbm was introduced. Unfortunately it uses some definitions that I
+could not find (certainly, they won't in gdbm.h), so it was disabled.
+
+lpd does not start or you get connection refused messages
+---------------------------------------------------------
+From version 3.8.2 there are two new reasons why LPRng's lpd server will not
+start.  The first is that the /etc/printcap file is not installed by default
+as it is shared amongst many packages and the lprng package should not claim
+ownership over it.  Look in /usr/share/doc/lprng/examples for an example 
+printcap.  Secondly there is a debconf question which asks if you want lpd
+to be started, most people should say yes.
+
+
--- lprng-3.8.28.orig/debian/debathena-lprng.templates
+++ lprng-3.8.28/debian/debathena-lprng.templates
@@ -0,0 +1,34 @@
+Template: lprng/twolpd_conf
+Type: note
+_Description: There are two lpd.conf files
+ You have a lpd.conf in the old location (/etc/lpd.conf) and the new
+ location (/etc/lprng/lpd.conf). From lprng version 3.6.16-1 this file
+ should be only in /etc/lprng, please check both files and remove
+ /etc/lpd.conf
+
+Template: lprng/twolpd_perms
+Type: note
+_Description: There are two lpd.perms files
+ You have a lpd.perms in the old location (/etc/lpd.perms) and the new
+ location (/etc/lprng/lpd.perms). Since lprng version 3.6.16-1 this file
+ should be only in /etc/lprng, please check both files and remove
+ /etc/lpd.perms
+
+Template: lprng/setuid_tools
+Type: boolean
+Default: false
+_Description: Make lpr, lprm and lpq setuid root?
+ For full RFC1179 compliance you need to make these programs setuid root. 
+ This is mainly so they can create a socket with a low port number. The low
+ port number may be important if you have network printers or have adjusted
+ /etc/lprng/lpd.perms to restrict access to non-privledged ports. For the
+ typical printer connected locally to parallel port (and many other)
+ scenario you can leave these programs non setuid root.
+
+Template: lprng/start_lpd
+Type: boolean
+Default: true
+_Description: Start lpd (Printer Daemon) at boot?
+ Some people for various reasons do not want to start lpd. Refusing this
+ option means lpd will not start.  Unless you know why you want lpd
+ not to start, just accept the default.
--- lprng-3.8.28.orig/debian/patches/10_gethostinfo.dpatch
+++ lprng-3.8.28/debian/patches/10_gethostinfo.dpatch
@@ -0,0 +1,36 @@
+#!/bin/sh -e
+## 10_gethostinfo.dpatch
+## Craig Small <csmall@debian.org>
+##
+## DP: Check if netmask is 32 bits (so its a host) in gethostinfo
+
+if [ $# -lt 1 ]; then
+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
+
+case "$1" in
+       -patch) patch $patch_opts -p1 < $0;;
+       -unpatch) patch $patch_opts -p1 -R < $0;;
+        *)
+                echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+                exit 1;;
+esac
+
+exit 0
+
+@DPATCH@
+--- lprng-3.8.25.orig/src/common/gethostinfo.c
++++ lprng-3.8.25/src/common/gethostinfo.c
+@@ -492,7 +492,7 @@
+ 		*s++ = '/';
+ 		t = 0;
+ 		m = strtol( s, &t, 0 );
+-		if( t == 0 || *t ){
++		if( t == 0 || *t || (family == AF_INET && m == 32)){
+ 			result = inet_pton(family, s, mask );
+ 		} else if( m >= 0 ){
+ 			memset( mask, 0, addrlen );
--- lprng-3.8.28.orig/debian/patches/30_lpc_manpage_section.dpatch
+++ lprng-3.8.28/debian/patches/30_lpc_manpage_section.dpatch
@@ -0,0 +1,17 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## lpc_manpage_section.dpatch by  <csmall@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Change lpc manual page to section 8
+
+@DPATCH@
+diff -urNad lprng-3.8.28~/man/lpc.n lprng-3.8.28/man/lpc.n
+--- lprng-3.8.28~/man/lpc.n	2002-06-12 10:31:55.000000000 +1000
++++ lprng-3.8.28/man/lpc.n	2006-03-12 08:50:56.000000000 +1100
+@@ -1,5 +1,5 @@
+ .ds VE LPRng-3.9.0
+-.TH LPC 1 \*(VE "LPRng"
++.TH LPC 8 \*(VE "LPRng"
+ .ig
+ lpc.1,v 3.36 1998/03/29 18:37:49 papowell Exp
+ Mon Jul 17 20:14:17 PDT 1995 Patrick Powell
--- lprng-3.8.28.orig/debian/patches/20_Makefile_syntax.dpatch
+++ lprng-3.8.28/debian/patches/20_Makefile_syntax.dpatch
@@ -0,0 +1,32 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 20_Makefile_syntax.dpatch by  <csmall@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fixed makefile to work with newer Makes
+
+@DPATCH@
+diff -urNad lprng-3.8.28~/Makefile.in lprng-3.8.28/Makefile.in
+--- lprng-3.8.28~/Makefile.in	2006-03-12 08:43:59.000000000 +1100
++++ lprng-3.8.28/Makefile.in	2006-03-12 08:44:22.000000000 +1100
+@@ -42,7 +42,7 @@
+ LPD_CONF_PATH=\"@LPD_CONF_PATH@\"
+ PRINTCAP_PATH=\"@PRINTCAP_PATH@\"
+ LPD_PATH=\"@LPD_DIR@/lpd\"
+-SHELL="@SHELL@"
++#SHELL="@SHELL@"
+ LOCKFILE=\"@LOCKFILE@\"
+ CONFIG_SUBDIR="@CONFIG_SUBDIR@"
+ PSHOWALL="@PSHOWALL@"
+@@ -124,9 +124,9 @@
+ 		    if grep '^mkinstalldirs.*=.*case' $$i ; then \
+ 			echo "fixing broken $$i which causes wrong path to mkinstalldirs to be used"; \
+ 			perl -spi -e 's:^mkinstalldirs\s*=\s*.*:mkinstalldirs = \$$(SHELL) \$$(MKINSTALLDIRS):' $$i; \
+-		    fi \
+-		fi \
+-	    done \
++		    fi; \
++		fi; \
++	    done; \
+ 	fi
+ 	if [ "$@" != po -o "$(USE_NLS)" != "no" ] ; then \
+ 		cd $@; $(MAKE) localedir=${LOCALEDIR} \
--- lprng-3.8.28.orig/debian/patches/10_Makefile_lpd_conf.dpatch
+++ lprng-3.8.28/debian/patches/10_Makefile_lpd_conf.dpatch
@@ -0,0 +1,36 @@
+#!/bin/sh -e
+## 10_Makefile_lpd_conf.dpatch
+## Craig Small <csmall@debian.org>
+##
+## DP: Change Makefile so lpd.conf includes lpd.conf/local
+
+echo $#
+if [ $# -lt 1 ]; then
+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
+
+case "$1" in
+       -patch) patch $patch_opts -p1 < $0;;
+       -unpatch) patch $patch_opts -p1 -R < $0;;
+        *)
+                echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+                exit 1;;
+esac
+
+exit 0
+
+@DPATCH@
+--- lprng/src/Makefile.in.orig	Wed Mar 24 10:47:43 2004
++++ lprng/src/Makefile.in	Wed Mar 24 10:49:55 2004
+@@ -309,6 +309,7 @@
+ 	rm -f $@ ; \
+ 	echo "# lpd.conf" >/tmp/$@.$$$$ ; \
+ 	echo "# VERSION=$(VERSION)" >>/tmp/$@.$$$$ ; \
++	echo "include /etc/lprng/lpd.conf.local" >>/tmp/$@.$$$$ ; \
+ 	$(CPP) $(CFLAGS) -C ${SRC}/common/vars.c \
+ 	 | /bin/sh ../UTILS/make_lpd_conf >>/tmp/$@.$$$$ ; \
+ 	chmod 644 /tmp/$@.$$$$ ; \
--- lprng-3.8.28.orig/debian/patches/10_lpd_perms_noremote.dpatch
+++ lprng-3.8.28/debian/patches/10_lpd_perms_noremote.dpatch
@@ -0,0 +1,36 @@
+#!/bin/sh -e
+## 10_lpd_perms_noremote.dpatch
+## Craig Small <csmall@debian.org>
+##
+## DP: Disable access from remote hosts in lpd.perms
+
+if [ $# -lt 1 ]; then
+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
+
+case "$1" in
+       -patch) patch $patch_opts -p1 < $0;;
+       -unpatch) patch $patch_opts -p1 -R < $0;;
+        *)
+                echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+                exit 1;;
+esac
+
+exit 0
+
+@DPATCH@
+--- lprng/lpd.perms.in.orig	Wed Mar 24 10:55:23 2004
++++ lprng/lpd.perms.in	Wed Mar 24 10:56:22 2004
+@@ -225,7 +225,7 @@
+ 
+ ##  If you want to have connections only from programs on
+ ##  the local host,  then uncomment the next line:
+-#REJECT NOT SERVER 
++REJECT NOT SERVER 
+ 
+ ## You can make sure that connections come from a privileged port.
+ ## Default is to allow them from any port so that non-setuid programs
--- lprng-3.8.28.orig/debian/patches/10_lprng_certs.dpatch
+++ lprng-3.8.28/debian/patches/10_lprng_certs.dpatch
@@ -0,0 +1,64 @@
+#!/bin/sh -e
+## 10_lprng_certs
+## Craig Small <csmall@debian.org>
+##
+## DP: Securely create temporary directory in lprng_certs
+
+if [ $# -lt 1 ]; then
+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
+
+case "$1" in
+       -patch) patch $patch_opts -p1 < $0;;
+       -unpatch) patch $patch_opts -p1 -R < $0;;
+        *)
+                echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+                exit 1;;
+esac
+
+exit 0
+
+@DPATCH@
+--- lprng/src/lprng_certs.sh.orig	2004-12-23 14:42:39.000000000 +1100
++++ lprng/src/lprng_certs.sh	2004-12-23 14:44:54.000000000 +1100
+@@ -320,7 +320,10 @@
+ # set default values
+ 
+ 
+-CFG=/tmp/$$.sslcfg
++TMPDIR=`mktemp -d -t lprng.XXXXXX` || { echo "$0: Cannot create temporary directory!" >&2 ; exit 1; }
++trap "/bin/rm -rf ${TMPDIR}" 0 1 2 3 13 15
++CFG=$TMPDIR/sslcfg
++
+ 
+ OPENSSL=@OPENSSL@
+ CA_KEY=@SSL_CA_KEY@
+@@ -508,14 +511,14 @@
+ 	shift
+ 	if [ "$1" = "" ] ; then usage; fi;
+ 	if [ ! -f "$1" ] ; then useage; fi;
+-	sed -n -e '/BEGIN.*PRIVATE KEY/,/END.*PRIVATE KEY/p' $1 >/tmp/$$.key
+-	sed -e '/BEGIN.*PRIVATE KEY/,/END.*PRIVATE KEY/d' $1 >/tmp/$$.crt
+-	STEP="" encrypt /tmp/$$.key
++	sed -n -e '/BEGIN.*PRIVATE KEY/,/END.*PRIVATE KEY/p' $1 >$TMPDIR/key
++	sed -e '/BEGIN.*PRIVATE KEY/,/END.*PRIVATE KEY/d' $1 >$TMPDIR/crt
++	STEP="" encrypt $TMPDIR/key
+ 	status=$?
+ 	echo STATUS $status
+ 	if [ $status = 0 ] ; then
+ 		mv $1 $1.orig
+-		cat /tmp/$$.crt /tmp/$$.key >$1
++		cat $TMPDIR/crt $TMPDIR/key >$1
+ 	fi
+     ;;
+ 
+@@ -845,5 +848,4 @@
+     exit 1
+     ;;
+ esac
+-rm -f ${CFG}
+ exit $RET
--- lprng-3.8.28.orig/debian/patches/10_checkpc_manpage.dpatch
+++ lprng-3.8.28/debian/patches/10_checkpc_manpage.dpatch
@@ -0,0 +1,36 @@
+#!/bin/sh -e
+## 10_checkpc_manpage.dpatch
+## Craig Small <csmall@debian.org>
+##
+## DP: Remove -c flag from checkpc man page #139565
+
+if [ $# -lt 1 ]; then
+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
+
+case "$1" in
+       -patch) patch $patch_opts -p1 < $0;;
+       -unpatch) patch $patch_opts -p1 -R < $0;;
+        *)
+                echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+                exit 1;;
+esac
+
+exit 0
+
+@DPATCH@
+--- lprng-3.8.25.orig/man/checkpc.n
++++ lprng-3.8.25/man/checkpc.n
+@@ -10,7 +10,7 @@
+ .SH SYNOPSIS
+ .B checkpc
+ [
+-.B \-aflprsCV
++.B \-aflprsV
+ ] [
+ .B \-A age[DHMS]
+ ] [
--- lprng-3.8.28.orig/debian/patches/00list
+++ lprng-3.8.28/debian/patches/00list
@@ -0,0 +1,8 @@
+10_Makefile_lpd_conf
+10_checkpc_manpage
+10_gethostinfo
+10_lpd_perms_noremote
+10_lprng_certs
+10_gcc4
+20_Makefile_syntax
+30_lpc_manpage_section
--- lprng-3.8.28.orig/debian/patches/10_gcc4.dpatch
+++ lprng-3.8.28/debian/patches/10_gcc4.dpatch
@@ -0,0 +1,48 @@
+#!/bin/sh -e
+## 10_gcc4.dpatch
+## Craig Small <csmall@debian.org>
+##
+## DP: Fix lpq.c and krb5_auth.c to work on gcc4 and AMD
+
+echo $#
+if [ $# -lt 1 ]; then
+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
+
+case "$1" in
+       -patch) patch $patch_opts -p1 < $0;;
+       -unpatch) patch $patch_opts -p1 -R < $0;;
+        *)
+                echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+                exit 1;;
+esac
+
+exit 0
+
+@DPATCH@
+--- lprng/src/common/lpq.c.orig	2005-08-26 14:19:17.000000000 +1000
++++ lprng/src/common/lpq.c	2005-08-26 14:19:32.000000000 +1000
+@@ -449,7 +449,7 @@
+ 	if( (pid = dofork(0)) == 0 ){
+ 		setuid( OriginalRUID );
+ 		close_on_exec(3);
+-		execl(CLEAR,0);
++		execl(CLEAR,0,NULL);
+ 		exit(1);
+ 	} else if( pid < 0 ){
+ 		LOGERR_DIE(LOG_ERR) _("fork() failed") );
+--- lprng/src/common/krb5_auth.c.orig	2005-08-26 14:17:45.000000000 +1000
++++ lprng/src/common/krb5_auth.c	2005-08-26 14:18:16.000000000 +1000
+@@ -922,7 +922,7 @@
+ 		nstored = 0;
+ 	}
+ 	
+-	if ((cc = Read_fd_len_timeout(transfer_timeout, fd, len_buf, 4)) != 4) {
++	if ((cc = Read_fd_len_timeout(transfer_timeout, fd, (char*)len_buf, 4)) != 4) {
+ 		/* XXX can't read enough, pipe must have closed */
+ 		return(0);
+ 	}
--- lprng-3.8.28.orig/debian/printcap
+++ lprng-3.8.28/debian/printcap
@@ -0,0 +1,23 @@
+# /etc/printcap: printer capability database. See printcap(5).
+# You can use the filter entries df, tf, cf, gf etc. for
+# your own filters. See the printcap(5) manual page for further 
+# details.
+
+lp|Generic dot-matrix printer entry
+        :lp=/dev/lp1
+        :sd=/var/spool/lpd/lp
+        :af=/var/log/lp-acct
+        :lf=/var/log/lp-errs
+        :pl#66
+        :pw#80
+        :pc#150
+        :mx#0
+        :sh
+
+# rlp|Remote printer entry
+#         :lp=
+#         :rm=remotehost
+#         :rp=remoteprinter
+#         :sd=/var/spool/lpd/remote
+#         :mx#0
+#         :sh
--- lprng-3.8.28.orig/debian/debathena-lprng.postrm
+++ lprng-3.8.28/debian/debathena-lprng.postrm
@@ -0,0 +1,46 @@
+#! /bin/sh
+# postrm script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postrm> `remove'
+#        * <postrm> `purge'
+#        * <old-postrm> `upgrade' <new-version>
+#        * <new-postrm> `failed-upgrade' <old-version>
+#        * <new-postrm> `abort-install'
+#        * <new-postrm> `abort-install' <old-version>
+#        * <new-postrm> `abort-upgrade' <old-version>
+#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see /usr/doc/packaging-manual/
+
+case "$1" in
+       purge)
+         if [ -d /var/spool/lpd ]; then rm -rf /var/spool/lpd ; fi
+	 if [ -d /etc/lprng ]; then rm -rf /etc/lprng ; fi
+	 if [ -f /etc/default/lprng ]; then rm -f /etc/default/lprng ; fi
+       ;;
+	   remove)
+		 ;;
+       upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+                                # update the menu system
+#        if [ -x /usr/bin/update-menus ]; then update-menus; fi
+
+        ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 0
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+
+exit 0
--- lprng-3.8.28.orig/debian/changelog
+++ lprng-3.8.28/debian/changelog
@@ -0,0 +1,755 @@
+lprng (3.8.28-4ubuntu1debathena4) unstable; urgency=low
+
+  * Rename commands.
+
+ -- Dorothy E. Build <debuild@debuild.mit.edu>  Thu, 10 Jul 2008 16:36:57 -0400
+
+lprng (3.8.28-4ubuntu1) dapper; urgency=low
+
+  * Sync with Debian.
+  * Updated init script: it makes sure /var/run/lprng exists
+    (Closes: Malone #34409).
+
+ -- Jeremie Corbier <jeremie.corbier@resel.enst-bretagne.fr>  Tue, 28 Mar 2006 14:18:51 +0200
+
+lprng (3.8.28-4) unstable; urgency=low
+
+  * init.d script checks for /usr/lib/lprng Closes: #356054
+  * debhelper v5
+  * Standards version to 3.6.2
+  * Depends on debconf-2.0 too Closes: #332011
+  * Added debconf-updatepo to Clean target Closes: #337268
+  * Updated German po file Closes: #345851
+  * Updated French po file Closes: #337301
+  * Updated Swedish PO file Closes: #338873
+  * Updated Danish PO file Closes: #343441
+  * Updated Italian PO file Closes: #343867
+  * Remove /etc/default/lprng on purge Closes: #327530
+  * Uses lsb init.d
+
+ -- Craig Small <csmall@debian.org>  Sun, 12 Mar 2006 11:07:00 +1100
+
+lprng (3.8.28-3.0.1) unstable; urgency=low
+
+  * Binary-only non-maintainer upload for i386; no source changes.
+  * Rebuild with libssl0.9.8
+
+ -- Debian/i386 Build Daemon <buildd_i386-cyberhq>  Wed, 12 Oct 2005 00:47:44 -0700
+
+lprng (3.8.28-3) unstable; urgency=low
+
+  * Added Vietnamese translation Closes: #312602
+  * Added Italian translation Closes: #287752
+  * Compilies on gcc4 and AMD Closes: #287521
+  * Since->From in templates Closes: #312603
+
+ -- Craig Small <csmall@debian.org>  Fri, 26 Aug 2005 14:17:00 +1000
+
+lprng (3.8.28-2) unstable; urgency=high
+
+  * Fixed insecure lprng_certs directory Closes: #286391
+    Above bug is a security fix
+
+ -- Craig Small <csmall@debian.org>  Thu, 23 Dec 2004 14:33:21 +1100
+
+lprng (3.8.28-1) unstable; urgency=low
+
+  * New upstream release
+  * Updated German debconf po Closes: #281134
+  * Updated Dutch debconf po Closes: #277762
+  * Added Czech debconf po Closes: #261791
+  * Check for spool directory in postinst Closes: #218319
+
+ -- Craig Small <csmall@debian.org>  Thu, 18 Nov 2004 15:43:33 +1100
+
+lprng (3.8.27-1) unstable; urgency=low
+
+  * New upstream release
+    Upstream fixed busy loop Closes: #245274
+  * Added Japanese po file Closes: #243264
+
+ -- Craig Small <csmall@debian.org>  Wed, 26 May 2004 13:45:37 +1000
+
+lprng (3.8.26-1) unstable; urgency=low
+
+  * New upstream version
+     IPP socket disabled Closes: #231587
+  * Now uses dpatch for patch management
+  * Added Dutch debconf translation Closes: #216935
+  * Added Danish debconf translation Closes: #236490
+
+ -- Craig Small <csmall@debian.org>  Wed, 24 Mar 2004 10:01:55 +1100
+
+lprng (3.8.25-1) unstable; urgency=low
+
+  * New upstream release
+  * Upgraded to standards version 3.6.1
+  * Upgraded watch file to version 2
+  * Updated pt_BR po file Closes: #219849
+  * Added Dutch debian po files Closes: #219635
+
+ -- Craig Small <csmall@debian.org>  Fri,  6 Feb 2004 21:31:18 +1100
+
+lprng (3.8.22-2) unstable; urgency=low
+
+  * Added files line to deb-doc Closes: #210681
+
+ -- Craig Small <csmall@debian.org>  Sat, 13 Sep 2003 20:39:12 +1000
+
+lprng (3.8.22-1) unstable; urgency=low
+
+  * New upstream release
+    - Upstream accepted most of the patches, yay
+  * Closes: #205528: chown with ':' not with '.' in postinst
+  * Closes: #189045: checks with dpkg-statoverride before changing spool
+    directory permissions.
+  * Closes: #206342: Updated French debconf templates translation
+  * Closes: #207975: Included updated Brazilian
+    Portuguese (pt_BR) debconf template translations
+
+ -- Craig Small <csmall@debian.org>  Fri, 12 Sep 2003 20:22:14 +1000
+
+lprng (3.8.21-3) unstable; urgency=low
+
+  * Fixed gettext brokeness that put stuff in wierd directories 
+    Closes: #204530
+
+ -- Craig Small <csmall@debian.org>  Fri,  8 Aug 2003 13:17:51 +1000
+
+lprng (3.8.21-2) unstable; urgency=low
+
+  * Updated libtool Closes: #201936, #201624
+  * Patched OF filter problem Closes: #200850
+  * Changed template so that it doesn't use yes and no Closes: #201248
+
+ -- Craig Small <csmall@debian.org>  Mon, 21 Jul 2003 07:02:01 +1000
+
+lprng (3.8.21-1) unstable; urgency=low
+
+  * New upstream source
+  * Remove RFC1179 because of license issues Closes: #199812
+  * Removed KRB5_PROTOTYPE Closes: #200588
+  * Put in krb5 deprecated function workaround Closes: #200618
+  * Removed log() function, its not used anywhere Closes: #200621
+  * Fixed the config script so it checks for /etc/default files closes:
+    #135356
+  * Fixed checkpc man page to remove -c flag Closes: #139565
+  * Debconf templates now use po-debconf
+  * Fixed typo in debconf template Closes: #186131
+  * My thanks to Kalle for the Kerberos patches
+  * link liblpr with libkrb5 and libssl Closes: #195992
+
+ -- Craig Small <csmall@debian.org>  Thu, 10 Jul 2003 11:21:47 +1000
+
+lprng (3.8.20-4) unstable; urgency=high
+
+  * Removed unsecure create of /tmp/before
+    SECURITY BUG Closes: #188366
+
+ -- Craig Small <csmall@debian.org>  Thu, 10 Apr 2003 21:13:56 +1000
+
+lprng (3.8.20-3) unstable; urgency=medium
+
+  * Fixed stupid flag type problem (causes crash on 64-bit): Closes: #183137
+
+ -- Craig Small <csmall@debian.org>  Mon,  3 Mar 2003 09:00:58 +1100
+
+lprng (3.8.20-2) unstable; urgency=low
+
+  * Added libssl-dev to Build-Depends
+  * Updated config.* using the rules Closes: #181859
+
+ -- Craig Small <csmall@debian.org>  Fri, 21 Feb 2003 21:21:07 +1100
+
+lprng (3.8.20-1) unstable; urgency=low
+
+  * New upstream release
+    - This should hopefully fix all those done_jobs problems
+
+ -- Craig Small <csmall@debian.org>  Thu, 13 Feb 2003 21:47:22 +1100
+
+lprng (3.8.15-2) unstable; urgency=low
+
+  * Forced done_jobs to 0, doesnt fix #159632 but at least works by
+    default
+  * Added note in README.Debian about the evils of done_jobs
+  * Added Kerberos 5 support, hope it doesn't break anything Closes: #166558
+  * Ship an empty never changing /etc/lprng/lpd.conf, instead of reqiring
+    users to remerge the change with every new upstream version
+    (Thankyou Andreas) Closes: #147304, #120257
+
+ -- Craig Small <csmall@eye-net.com.au>  Sun, 27 Oct 2002 09:24:49 +1100
+
+lprng (3.8.15-1) unstable; urgency=low
+
+  * New upstream source
+    + fixes race condition on remove done jobs.
+    + man page fixes 
+
+ -- Craig Small <csmall@eye-net.com.au>  Tue, 13 Aug 2002 18:13:05 +1000
+
+lprng (3.8.12-5) unstable; urgency=low
+
+  * Added t to printcap in postinst Closes: #147641, #149718, #149719
+
+ -- Craig Small <csmall@eye-net.com.au>  Wed, 12 Jun 2002 10:10:39 +1000
+
+lprng (3.8.12-4) unstable; urgency=low
+
+  * Put /etc/lprng/printcap symlink in if nothing exists already
+    Closes: #147641
+
+ -- Craig Small <csmall@eye-net.com.au>  Mon,  3 Jun 2002 09:30:01 +1000
+
+lprng (3.8.12-3) unstable; urgency=low
+
+  * Disabled tcpwrappers Closes: #146511
+  * Removed dh_testversion to stop it complaining during build.
+
+ -- Craig Small <csmall@eye-net.com.au>  Thu, 16 May 2002 21:55:53 +1000
+
+lprng (3.8.12-2) unstable; urgency=low
+
+  * Updated config.sub and config.guess again Closes: #146322
+
+ -- Craig Small <csmall@eye-net.com.au>  Thu,  9 May 2002 12:54:23 +1000
+
+lprng (3.8.12-1) unstable; urgency=low
+
+  * New upstream source
+    - libwrap linked Closes: #140033
+    - lprng 3.8.11 was withdrawn
+  * Fixed ldconfig post(inst|rm) so lintian (should) stops complaining
+
+ -- Craig Small <csmall@eye-net.com.au>  Mon,  6 May 2002 12:59:22 +1000
+
+lprng (3.8.10-1) unstable; urgency=low
+
+  * New upstream version
+    - checkpc behaves itself with print filters Closes: #141090
+    - as and ae options fixed in man page Closes: #137249
+
+ -- Craig Small <csmall@eye-net.com.au>  Mon,  8 Apr 2002 09:25:12 +1000
+
+lprng (3.8.9-1) unstable; urgency=low
+
+  * New upstream source
+
+ -- Craig Small <csmall@eye-net.com.au>  Sun, 10 Mar 2002 08:35:36 +1100
+
+lprng (3.8.8-2) unstable; urgency=low
+
+  * Fixed lpq -a problem, thanks luca! Closes: #129786
+
+ -- Craig Small <csmall@eye-net.com.au>  Mon,  4 Mar 2002 09:18:25 +1100
+
+lprng (3.8.8-1) unstable; urgency=low
+
+  * New upstream version
+    - local printer name should stay same Closes: #130608, #113707
+  * Added new French template Closes: #132389
+  * check for statoverrides
+
+ -- Craig Small <csmall@eye-net.com.au>  Sat,  9 Feb 2002 16:40:31 +1100
+
+lprng (3.8.4-2) unstable; urgency=low
+
+  * Changed permissions of /var/run/lprng so non-root can get to it
+    Closes: #129162,#129295
+
+ -- Craig Small <csmall@eye-net.com.au>  Tue, 15 Jan 2002 08:43:23 +1100
+
+lprng (3.8.4-1) unstable; urgency=low
+
+  * New upstream version
+    - Now allows Unix socket access /var/run/lprng/socket
+    - Also can shut down tcp/ip access using lpd_port = 0
+    - t1:  file 'hfA877', age 24.57 hours > 24.00 hours maximum 
+      Closes: #125843
+  * cron job now ignores missing pid file Closes: #127882
+  * init script now has quiet cron Closes: #124284
+
+ -- Craig Small <csmall@eye-net.com.au>  Sat, 12 Jan 2002 16:53:55 +1100
+
+lprng (3.8.2-1) unstable; urgency=low
+
+  * New upstream version
+    - New document about printing cookbook
+  * Debconf question about do you want to start lpd. 
+    Closes: #57778, #85290, #115574
+  * No longer have a printcap, but there is one in examples.  
+    Closes: #71050, #108655
+
+ -- Craig Small <csmall@eye-net.com.au>  Wed,  5 Dec 2001 09:37:51 +1100
+
+lprng (3.8.1-1) unstable; urgency=high
+
+  * New upstream source
+    - setuid SECURITY BUG fixed Closes: #120133
+  * checkpc no longer talks about bogus Warning - calling Check_file for
+    messages Closes: #118152
+
+ -- Craig Small <csmall@eye-net.com.au>  Thu, 29 Nov 2001 08:10:20 +1100
+
+lprng (3.8.0-1) unstable; urgency=low
+
+  * New upstream source
+  * changed pid filename from printer to 515 Closes: #115235
+  * Deleted liblpr.a and liblpr.la. They were installed for some reason?
+
+ -- Craig Small <csmall@eye-net.com.au>  Wed, 17 Oct 2001 08:45:41 +1000
+
+lprng (3.7.7-2) unstable; urgency=low
+
+  * Updated config.guess and config.sub Closes: #114709
+
+ -- Craig Small <csmall@eye-net.com.au>  Sun,  7 Oct 2001 21:54:09 +1000
+
+lprng (3.7.7-1) unstable; urgency=low
+
+  * New upstream version
+    - direct flag works, Closes: #97273
+    - group option works, Closes: #85548
+    - checkpc doesn't stuff filters permissions up 
+       Closes: #92608, #100086, #100717, #106191
+    - doco fixed up, Closes: #97271, #86394, #108668
+    - Uses right defaults for printer port, Closes: #105387
+    - Direct was a Flag, Closes: #88180
+  * Escape init.d file for funny characters Closes: #107095
+  * Conflicts with cupsys-bsd Closes: #107219
+  * Fixed paths in lpd.conf.5 Closes: #110888
+  * Now have lpd.conf.local Closes:#82393
+  * init.d start has oknodo Closes: #113966
+
+ -- Craig Small <csmall@eye-net.com.au>  Thu,  6 Sep 2001 12:53:04 +1000
+
+lprng (3.7.4-5) unstable; urgency=high
+
+  * Added procps to build-depends Closes: #100795
+  * Fixed getrlimit problem Closes: #95989
+  * init.d works for lpd_ports Closes: #97272
+  * Fixed up README.Debian Closes: #99404
+  * Hopefully stopped dinstal from complaining Closes: #94672
+
+ -- Craig Small <csmall@eye-net.com.au>  Thu, 21 Jun 2001 08:51:39 +1000
+
+lprng (3.7.4-4) unstable; urgency=high
+
+  * updated config.* for parisc people Closes: #94215
+  * Added pt_BR language to templates, Closes: #92840
+  * Added a patch to fix netmask selection
+
+ -- Craig Small <csmall@debian.org>  Fri, 20 Apr 2001 13:07:58 +1000
+
+lprng (3.7.4-3) unstable; urgency=high
+
+  * Added a death to all lpd in postinst hopefully Closes: #88173, #74564
+  * Also #85075, #85267
+  * Debconf has German templates. Closes: #82856
+  * Swedish too Closes: #83611
+  * and French Closes: #83786
+  * cron.daily will not complain if checkpc is not there Closes: #83073, #84276
+  * cron.daily has better error messages Closes: #85869
+  * No longer uses suidregister, hope I don't mess it up!!
+
+ -- Craig Small <csmall@debian.org>  Sun, 11 Mar 2001 16:26:54 +1100
+
+lprng (3.7.4-2) unstable; urgency=high
+
+  * small patch to stop evil segfaults on alpha Closes: #82476, #82711
+  * fix so it compiles on alpha Closes: #81707
+
+ -- Craig Small <csmall@debian.org>  Sat, 20 Jan 2001 15:10:07 +1100
+
+lprng (3.7.4-1) unstable; urgency=low
+
+  * New upstream release
+  * Split documents out to lprng-doc again.
+
+ -- Craig Small <csmall@debian.org>  Thu,  4 Jan 2001 11:12:02 +1100
+
+lprng (3.7.3-1) unstable; urgency=low
+
+  * New upstream source
+    - checks for inet_ntop Closes: #74390
+  * copyright file fixed
+
+ -- Craig Small <csmall@debian.org>  Wed, 27 Dec 2000 18:08:43 +1100
+
+lprng (3.7.2-1) unstable; urgency=low
+
+  * New upstream source
+  * Upstream recalled this version before Debian release
+
+ -- Craig Small <csmall@debian.org>  Fri, 22 Dec 2000 10:46:20 +1100
+
+lprng (3.6.26-1) unstable; urgency=high
+
+  * New upstream source
+  * SECURITY FIX for gettext NLSPATH security bug
+  * IPv6 stuff removed, Closes: #74390
+
+ -- Craig Small <csmall@debian.org>  Mon, 16 Oct 2000 10:43:07 +1100
+
+lprng (3.6.24-3) unstable; urgency=high
+
+  * SECURITY FIX for syslog buffer overflow
+
+ -- Craig Small <csmall@debian.org>  Thu,  5 Oct 2000 10:10:47 +1100
+
+lprng (3.6.24-2) unstable; urgency=medium
+
+  * Check for suidregsiter Closes: #69796, #69876, #69877, #69917
+
+ -- Craig Small <csmall@debian.org>  Thu, 24 Aug 2000 08:36:46 +1000
+
+lprng (3.6.24-1) unstable; urgency=medium
+
+  * New upstream version
+  * Actually released it, closing 3.6.22 bugs Closes: #67512, #67363
+
+ -- Craig Small <csmall@debian.org>  Mon, 21 Aug 2000 11:50:16 +1000
+
+lprng (3.6.22-1) unstable; urgency=medium
+
+  * New upstream source
+  * Removed dependancy on suidmanager Closes: #67512
+  * CPU overload problem fixed Closes: #67363
+  * NEVER RELEASED
+
+ -- Craig Small <csmall@debian.org>  Wed,  9 Aug 2000 11:18:31 +1000
+
+lprng (3.6.20-1) unstable; urgency=medium
+
+  * New upstream version
+  *   - Fixes checkpc Closes: #66777, #66597
+  * Default config now longer allows remotes to print Closes: #67135
+       This is a security bug!!
+  * Now has the html docs back in, thanks joeyh.
+  * no need for lprng-doc
+  * lpq, lprm and lpr can now be non setuid root. Asked by debconf.
+  * README talks about force_localhost Closes: #64868
+
+ -- Craig Small <csmall@debian.org>  Mon, 10 Jul 2000 10:30:19 +1000
+
+lprng (3.6.18-2) unstable; urgency=low
+
+  * Removed references to lpd.conf in /etc/init.d file Closes: #66568
+  * Check and warn if we have old and new config file locations Closes: #66570
+  * Removed debug crud (fff) out of cron.daily Closes: #66613, #66741
+
+ -- Craig Small <csmall@debian.org>  Mon,  3 Jul 2000 20:49:19 +1000
+
+lprng (3.6.18-1) unstable; urgency=low
+
+  * New upstream version
+  * Fixed build dependencies (HELLO ROMAN!!) Closes: #66358
+  * Put correct path for checkpc in cron file Closes: #66363, #66471, #66356
+  * Fixed moronic shell stuffup on my part in preinst Closes: #66407, #66400
+  * preinst now deletes old config file locations
+
+ -- Craig Small <csmall@debian.org>  Thu, 29 Jun 2000 22:12:59 +1000
+
+lprng (3.6.16-1) unstable; urgency=low
+
+  * New upstream version
+  * Config files found in /etc/lprng
+
+ -- Craig Small <csmall@debian.org>  Tue, 20 Jun 2000 09:19:04 +1000
+
+lprng (3.6.14-1) unstable; urgency=low
+
+  * New upstream version - not released
+
+ -- Craig Small <csmall@debian.org>  Wed,  7 Jun 2000 20:09:48 +1000
+
+lprng (3.6.12-6) frozen unstable; urgency=medium
+
+  * IMPORTANT Fixed lprm forwarding bug Closes: #64614
+  * Fixes preinst s-s-d problem Closes: #62487, #57098
+  * Remove /var/spool/lpd on purge Closes: #59548
+  * Change path to lpd in lpd.8 Closes: #58341
+  * lpr.1 no longer refers to itself Closes: #60598
+
+ -- Craig Small <csmall@debian.org>  Mon, 29 May 2000 09:25:23 +1000
+
+lprng (3.6.12-5) frozen unstable; urgency=medium
+
+  * IMPORTANT BUG IN PPC : Removed kerberos from configure.in Closes: #57565
+ 
+
+ -- Craig Small <csmall@debian.org>  Fri, 11 Feb 2000 09:58:27 +1100
+
+lprng (3.6.12-4) frozen unstable; urgency=low
+
+  * Check for lpd.conf before grepping it RC BUG Closes: #55934
+
+ -- Craig Small <csmall@debian.org>  Thu,  3 Feb 2000 16:01:07 +1100
+
+lprng (3.6.12-3) frozen unstable; urgency=low
+
+  * Fixed kill children routine using patch from Patrick
+  * lpq doesn't segfault Closes: #51164
+  * Check for a file in preinst so it doesnt die
+
+ -- Craig Small <csmall@debian.org>  Wed, 12 Jan 2000 12:15:15 +1100
+
+lprng (3.6.12-2) unstable; urgency=low
+
+  * Added more stty speeds Closes: #50335
+  * Fixed init.d script so it doesn't reference exec
+     Closes: #45857, #50709, #51824
+  * Check for /usr/share/doc/lprng not /usr/doc/lprng, Closes #49025
+
+ -- Craig Small <csmall@debian.org>  Fri,  3 Dec 1999 15:37:19 +1100
+
+lprng (3.6.12-1) unstable; urgency=high
+
+  * New upstream release with SECURITY FIXES
+
+ -- Craig Small <csmall@debian.org>  Tue,  2 Nov 1999 12:55:50 +1100
+
+lprng (3.6.11-1) unstable; urgency=low
+
+  * New upstream source
+  * Complains about invalid printer name Closes: #44649
+  * Fixed bashism in postinst Closes: #47527
+
+ -- Craig Small <csmall@debian.org>  Mon, 25 Oct 1999 10:02:35 +1000
+
+lprng (3.6.10-2) unstable; urgency=low
+
+  * Fixed postinst Closes: #46239
+  * Fixed copyright file, it uses Artistic not GPL
+
+ -- Craig Small <csmall@debian.org>  Thu, 30 Sep 1999 09:41:14 +1000
+
+lprng (3.6.10-1) unstable; urgency=low
+
+  * New upstream version
+  * Attempt to kill old lpd Closes: #44017, #44064
+  * Deleted useless README.Debian Closes: #43946
+  * Fixed postinst for wierd spool files Closes: #44494
+  * init.d goes looking for the pid file Closes: #44953
+  * init.d runs checkpc -f Closes: #44954
+  * Made Joey's build life easier Closes: #44626
+  * lpc manpage now in section 8 Closes: #43922
+
+ -- Craig Small <csmall@debian.org>  Mon, 13 Sep 1999 15:21:53 +1000
+
+lprng (3.6.8-3) unstable; urgency=medium
+
+  * Fixed spool permission problem Closes: #43925, #44091, #44108
+
+ -- Craig Small <csmall@debian.org>  Sun,  5 Sep 1999 18:25:07 +1000
+
+lprng (3.6.8-2) unstable; urgency=medium
+
+  * Fixed /usr/etc problem Closes: #43870
+
+ -- Craig Small <csmall@debian.org>  Wed,  1 Sep 1999 11:00:29 +1000
+
+lprng (3.6.8-1) unstable; urgency=low
+
+  * New upstream version Closes: #36649
+  * Added some suggested scripts Closes: #16959
+  * lpc moved to /usr/sbin Closes: #43027
+  * init.d scripts cd to / Closes: #42068
+  * lpr.1 man page fixed Closes: #35764
+
+ -- Craig Small <csmall@debian.org>  Tue, 31 Aug 1999 13:29:03 +1000
+
+lprng (3.6.2-2) unstable; urgency=low
+
+  * Moved /var/run/lpd.printer to /var/run/lprng/lpd.printer Closes: #41185
+  * Fixed init.d to use correct pid file Closes: #41186 #41246
+
+ -- Craig Small <csmall@debian.org>  Tue, 13 Jul 1999 13:02:11 +1000
+
+lprng (3.6.2-1) unstable; urgency=low
+
+  * New maintainer
+  * New Upstream Version Closes: #36649
+  * Fixed init.d script Closes: #20577
+  * No ugly prompting in postinst Closes: #12577
+  * lpd.perms manpage fixed Closes: #31892
+  * lpd.8 manpage has proper path Closes: #32418
+  * No bashisms in postinst Closes: #32788 #26519
+  * init.d checks for /usr/doc/lprng as well Closes: #35283
+  * package now uses setuidregister Closes: #36765
+  * lpr now prints mime stuff (woo!) Closes: #26707
+  * init.d script has a path Closes: #19691
+  * LPR HOWTO moved to docs Closes: #30008
+  * No annoying postinst stop Closes: #21407 #32906
+  * Security fix for lpd.perms
+
+ -- Craig Small <csmall@debian.org>  Fri,  9 Jul 1999 13:01:51 +1000
+
+lprng (3.5.3-0.1) unstable; urgency=low
+
+  * New upstream version
+
+ -- Robert Woodcock <rcw@debian.org>  Fri, 19 Feb 1999 20:20:42 -0800
+
+lprng (3.5.2-1.3) frozen unstable; urgency=low
+
+  * Fix the fix of lpd.perms :( (Bug #32628).
+    (This only changes 5 lines in the default configuration
+    file; thanks to Eric <ej@goomba.dyn.ez-ip.net> for the patch)
+
+ -- Vincent Renardias <vincent@waw.com>  Sat, 30 Jan 1999 21:03:51 +0100
+
+lprng (3.5.2-1.2) frozen unstable; urgency=low
+
+  * NMU to fix my previous NMU :(
+  * s/DEFAUT/DEFAULT/ in /etc/lpd.perms (Bug #32527).
+
+ -- Vincent Renardias <vincent@waw.com>  Thu, 28 Jan 1999 18:25:19 +0100
+
+lprng (3.5.2-1.1) frozen unstable; urgency=low
+
+  * NMU:
+    Fix critical bug #23682 (changed lpd.perms).
+    Fix critical bug #31889 (swaped 2 lines in postinst).
+
+ -- Vincent Renardias <vincent@waw.com>  Sun, 24 Jan 1999 05:18:42 +0100
+
+lprng (3.5.2-1) unstable; urgency=low
+
+  * new upstream version
+
+ -- Sven Rudolph <sr1@inf.tu-dresden.de>  Sun,  9 Aug 1998 11:49:02 +0200
+
+lprng (3.4.2-5) frozen unstable; urgency=low
+
+  * debian/conffiles: added /etc/filter.{pcl,ps}
+
+ -- Sven Rudolph <sr1@inf.tu-dresden.de>  Wed, 10 Jun 1998 14:29:04 +0200
+
+lprng (3.4.2-4) frozen unstable; urgency=low
+
+  * debian/control: added Conflicts: apsfilter (<<4.9.1-10)
+
+ -- Sven Rudolph <sr1@inf.tu-dresden.de>  Wed, 13 May 1998 19:48:48 +0200
+
+lprng (3.4.2-3) frozen unstable; urgency=low
+
+  * debian/rules: move lpc to /usr/sbin/ (Fixes: 21202)
+
+ -- Sven Rudolph <sr1@inf.tu-dresden.de>  Thu, 16 Apr 1998 17:04:07 +0200
+
+lprng (3.4.2-2) frozen unstable; urgency=low
+
+  * debian/rc: make messages policy-conforming (Fixes: #20489)
+
+ -- Sven Rudolph <sr1@inf.tu-dresden.de>  Mon, 13 Apr 1998 16:18:37 +0200
+
+lprng (3.4.2-1) unstable; urgency=low
+
+  * new upstream version
+  * debian/rules: remove monitor.1 manual page (Fixes: #8690)
+                  moved printcap,filter.* to debian/
+		  install postrm (Fixes: #14727)
+  * debian/rc: add restart and force-reload targets
+
+ -- Sven Rudolph <sr1@inf.tu-dresden.de>  Tue,  3 Mar 1998 00:34:20 +0100
+
+lprng (3.4.1-1) unstable; urgency=low
+
+  * new upstream version (fixes #11015, #8690)
+  * debian/rc: stop) add --oknodo (#12533, #10724)
+  * debian/rules: install filter.* files again (#15180)
+  * fixes #15960 (Cannot unpack source)
+  * src/common/vars.c: set filter_ld_path empty (#15117, probably #9826)
+  
+ -- Sven Rudolph <sr1@inf.tu-dresden.de>  Mon,  5 Jan 1998 22:04:42 +0100
+
+lprng (3.2.6-2) unstable; urgency=low
+
+  * man/printcap.5: fixed an inconsistency (#11015)
+  * linked against libc6 (#11459, and possibly #10581 and #10555)
+  
+ -- Sven Rudolph <sr1@inf.tu-dresden.de>  Mon,  4 Aug 1997 17:37:08 +0200
+
+lprng (3.2.6-1) unstable; urgency=low
+
+  * new upstream version
+  
+ -- Sven Rudolph <sr1@inf.tu-dresden.de>  Sun,  8 Jun 1997 22:57:30 +0200
+
+lprng (3.2.5-1) unstable; urgency=low
+
+  * new upstream version
+  * debian/rc: adapted console messages to standard (#8505)
+               added `reload' rule (#8609)
+  * debian/rules: upstream log is called changelog (#9616)
+  * src/common/default.c; lpd.conf: pr=/usr/bin/pr (#10029)
+  
+ -- Sven Rudolph <sr1@inf.tu-dresden.de>  Wed, 14 May 1997 22:35:02 +0200
+
+lprng (3.2.1-1) unstable; urgency=low
+
+  * new upstream version
+
+ -- Sven Rudolph <sr1@inf.tu-dresden.de>  Tue, 25 Mar 1997 00:04:03 +0100
+
+lprng (3.1.8-1) experimental; urgency=low
+
+  * new upstream version
+
+ -- Sven Rudolph <sr1@inf.tu-dresden.de>  Thu, 20 Feb 1997 12:51:11 +0100
+
+lprng (3.1.7-2) experimental; urgency=low
+
+  * install lpd, lpf etc in /usr/sbin
+
+ -- Sven Rudolph <sr1@inf.tu-dresden.de>  Wed, 19 Feb 1997 15:18:09 +0100
+
+lprng (3.1.7-1) experimental; urgency=low
+
+  * new upstream version
+  * src/LPR/lpr_cpyfiles.c: removed the patch for recognising
+    Windows Postscript files as text
+  * debian.rc: moved to debian/rc
+  * src/common/default.c, lpd.conf: check_for_nonprintable no
+
+ -- Sven Rudolph <sr1@inf.tu-dresden.de>  Wed, 19 Feb 1997 00:26:56 +0100
+
+lprng (2.4.2-1) unstable; urgency=low
+
+  * new upstream version
+  * new upstream version
+  * src/LPR/lpr_cpyfiles.c: recognize Windows-generated PostScript as text
+  * src/common/termclear.c: corrects conflicting definitions of tgetstr
+
+ -- Sven Rudolph <sr1@inf.tu-dresden.de>  Thu, 7 Nov 1996 22:35:24 +0100
+
+lprng (2.3.12-3) unstable stable; urgency=high
+
+  * moved to unstable and stable
+  * replaces lpr which has security problems
+
+ -- Sven Rudolph <sr1@inf.tu-dresden.de>  Mon, 7 Oct 1996 19:10:48 +0200
+
+lprng (2.3.12-2) experimental; urgency=low
+
+  * (debian/control): install conffiles
+  * (debian/control): added Provides: lpr
+			    Suggests: magicfilter
+			    Conflicts: lpr
+			    Replaces: lpr
+
+ -- Sven Rudolph <sr1@inf.tu-dresden.de>  Thu, 26 Sep 1996 17:34:18 +0200
+
+lprng (2.3.12-1) experimental; urgency=low
+
+  * added minimal printcap
+  * run daemon as lp
+  * install daemon and admin programs in /usr/sbin
+  * Initial release.
+
+ -- Sven Rudolph <sr1@inf.tu-dresden.de>  Tue, 17 Sep 1996 23:32:15 +0200
+
+Local variables:
+mode: debian-changelog
+End:
--- lprng-3.8.28.orig/debian/compat
+++ lprng-3.8.28/debian/compat
@@ -0,0 +1 @@
+5
--- lprng-3.8.28.orig/debian/debathena-lprng.mime
+++ lprng-3.8.28/debian/debathena-lprng.mime
@@ -0,0 +1 @@
+*/*; false; print=lpr %s; priority=0
--- lprng-3.8.28.orig/debian/debathena-lprng.preinst
+++ lprng-3.8.28/debian/debathena-lprng.preinst
@@ -0,0 +1,83 @@
+#! /bin/sh
+# preinst script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+# Source debconf scripts
+. /usr/share/debconf/confmodule
+
+# Check to see if we have both old *AND* new config files Bug #66570
+if [ -f /etc/lprng/lpd.conf -a -f /etc/lpd.conf ]
+then
+  db_input high lprng/twolpd_conf
+fi
+if [ -f /etc/lprng/lpd.perms -a -f /etc/lpd.perms ]
+then
+  db_input high lprng/twolpd_perms
+fi
+# Check to see if new config directory is here
+if [ \! -d /etc/lprng ]
+then
+  mkdir -p /etc/lprng
+  if [ \! -f /etc/lprng/lpd.conf -a -f /etc/lpd.conf ]
+  then
+    cp /etc/lpd.conf /etc/lprng/lpd.conf
+    rm -f /etc/lpd.conf
+  fi
+  if [ \! -f /etc/lprng/lpd.perms -a -f /etc/lpd.perms ]
+  then
+    cp /etc/lpd.perms /etc/lprng/lpd.perms
+    rm -f /etc/lpd.perms
+  fi
+fi
+# Urgh, which lpd.conf is the one we want? Lets say /etc/lprng/lpd.conf
+# beats /etc/lpd.conf
+if [ -f /etc/lprng/lpd.conf ]
+then
+    PIDFILE=$(test -f /etc/lprng/lpd.conf && grep "^[[:space:]]*lockfile" /etc/lprng/lpd.conf | cut -d "=" -f 2).printer
+else
+    PIDFILE=$(test -f /etc/lpd.conf && grep "^[[:space:]]*lockfile" /etc/lpd.conf | cut -d "=" -f 2).printer
+fi
+
+if [ $PIDFILE = ".printer" ]
+then
+    PIDFILE=/var/run/lprng/lpd.printer
+fi
+
+set -e
+
+# summary of how this script can be called:
+#        * <new-preinst> `install'
+#        * <new-preinst> `install' <old-version>
+#        * <new-preinst> `upgrade' <old-version>
+#        * <old-preinst> `abort-upgrade' <new-version>
+
+case "$1" in
+    install)
+    ;;
+    
+    upgrade)
+	# This is for misbehaving lpds use a || true for ssd brokeness
+	 start-stop-daemon --stop --quiet --oknodo \
+	     --exec /usr/sbin/lpd  || true
+	# Work-around for Bug #45857
+	 start-stop-daemon --stop --quiet --oknodo \
+	         --pid $PIDFILE  || true
+    ;;
+
+    abort-upgrade)
+    ;;
+
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
--- lprng-3.8.28.orig/debian/rules
+++ lprng-3.8.28/debian/rules
@@ -0,0 +1,167 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper. 
+# This file is public domain software, originally written by Joey Hess.
+#
+# This version is for a hypothetical package that builds an
+# architecture-dependant package, as well as an architecture-independent
+# package.
+
+# Uncomment this to turn on verbose mode. 
+#export DH_VERBOSE=1
+
+# For dpatch
+PACKAGE=lprng
+include /usr/share/dpatch/dpatch.make
+
+# For autotools
+export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
+  confflags += --build $(DEB_HOST_GNU_TYPE)
+else
+  confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+endif
+
+confflags += --disable-werror
+build: build-stamp
+build-stamp: patch-stamp
+	dh_testdir
+
+	# Required to stop timestamp skew
+	touch configure.in && touch aclocal.m4 && touch configure
+
+	./configure $(confflags) \
+  --prefix=/ --exec-prefix=/usr \
+  --disable-rpath \
+  --with-config_subdir=lprng \
+  --with-lockfile=/var/run/lprng/lpd \
+  --libexecdir=\$${exec_prefix}/lib/lprng  --mandir=\$${exec_prefix}/share/man \
+  --with-localedir=\$${exec_prefix}/share/locale \
+  --with-unix_socket_path=/var/run/lprng/socket  \
+  --enable-kerberos_checks --enable-kerberos \
+  --with-groupid=lp 
+#  --with-user-objs="-lssl -lkrb5"
+#  --disable-gdbm \
+	
+	$(MAKE)
+	touch build-stamp
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	# Add here commands to clean up after the build process.
+	#-$(MAKE) clean
+	-$(MAKE) distclean
+	-test -r /usr/share/misc/config.sub && \
+	   cp -f /usr/share/misc/config.sub config.sub
+	-test -r /usr/share/misc/config.guess && \
+	   cp -f /usr/share/misc/config.guess config.guess
+	dh_clean
+	debconf-updatepo
+
+install:
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/debathena-lprng.
+	#$(MAKE) prefix=`pwd`/debian/tmp/usr install
+	$(MAKE) install POSTINSTALL=NO DESTDIR=$(CURDIR)/debian/debathena-lprng 
+	rm debian/debathena-lprng/usr/bin/cancel
+	ln -s mit-lprm debian/debathena-lprng/usr/bin/cancel
+	rm debian/debathena-lprng/usr/bin/lp
+	ln -s mit-lpr debian/debathena-lprng/usr/bin/lp
+	mv debian/debathena-lprng/usr/bin/cancel debian/debathena-lprng/usr/bin/mit-cancel
+	mv debian/debathena-lprng/usr/bin/lp debian/debathena-lprng/usr/bin/mit-lp
+	mv debian/debathena-lprng/usr/bin/lpq debian/debathena-lprng/usr/bin/mit-lpq
+	mv debian/debathena-lprng/usr/bin/lprm debian/debathena-lprng/usr/bin/mit-lprm
+	mv debian/debathena-lprng/usr/bin/lpr debian/debathena-lprng/usr/bin/mit-lpr
+	mv debian/debathena-lprng/usr/bin/lpstat debian/debathena-lprng/usr/bin/mit-lpstat
+	mv debian/debathena-lprng/usr/sbin/lpc debian/debathena-lprng/usr/sbin/mit-lpc
+	mv debian/debathena-lprng/usr/share/man/man1/cancel.1 debian/debathena-lprng/usr/share/man/man1/mit-cancel.1
+	mv debian/debathena-lprng/usr/share/man/man1/lp.1 debian/debathena-lprng/usr/share/man/man1/mit-lp.1
+	mv debian/debathena-lprng/usr/share/man/man1/lpq.1 debian/debathena-lprng/usr/share/man/man1/mit-lpq.1
+	mv debian/debathena-lprng/usr/share/man/man1/lprm.1 debian/debathena-lprng/usr/share/man/man1/mit-lprm.1
+	mv debian/debathena-lprng/usr/share/man/man1/lpr.1 debian/debathena-lprng/usr/share/man/man1/mit-lpr.1
+	mv debian/debathena-lprng/usr/share/man/man1/lpstat.1 debian/debathena-lprng/usr/share/man/man1/mit-lpstat.1
+	mv debian/debathena-lprng/usr/share/man/man8/lpc.8 debian/debathena-lprng/usr/share/man/man8/mit-lpc.8
+	#install -m 644 debian/printcap $(CURDIR)/debian/debathena-lprng/etc/
+	install -m 644 lpd.perms $(CURDIR)/debian/debathena-lprng/etc/lprng
+	install -m 644 debian/lpd.conf-debian $(CURDIR)/debian/debathena-lprng/etc/lprng/lpd.conf
+	chmod 644 $(CURDIR)/debian/debathena-lprng/etc/lprng/lpd.conf
+	install -m 2755 -o lp -g lp -d $(CURDIR)/debian/debathena-lprng/var/spool/lpd
+	install -m 0700 -o daemon -g lp -d $(CURDIR)/debian/debathena-lprng/var/spool/lpd/lp
+	# Delete the liblpr files, dont know why they are there now.
+	rm $(CURDIR)/debian/debathena-lprng/usr/lib/liblpr.a
+	rm $(CURDIR)/debian/debathena-lprng/usr/lib/liblpr.la
+	#rm $(CURDIR)/debian/debathena-lprng/usr/lib/liblpr.so
+
+	#dh_movefiles
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir -i
+	dh_testroot -i
+#	dh_installdebconf -i
+	dh_installdocs -i
+	(cd $(CURDIR)/debian/lprng-doc/usr/share/doc/lprng-doc/ && mv HTML Cookbook)
+	dh_installexamples -i
+	dh_installmenu -i
+#	dh_installlogrotate -i
+#	dh_installemacsen -i
+#	dh_installpam -i
+#	dh_installmime -i
+#	dh_installinit -i
+	dh_installcron -i
+#	dh_installmanpages -i
+	dh_installinfo -i
+#	dh_undocumented -i
+	dh_installchangelogs -i CHANGES
+	dh_link -i
+	dh_compress -i
+	dh_fixperms -i
+	# You may want to make some executables suid here.
+	dh_installdeb -i
+#	dh_perl -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installdebconf -a
+	dh_installdocs -a
+	dh_installexamples -a
+	dh_installmenu -a
+#	dh_installlogrotate -a
+#	dh_installemacsen -a
+#	dh_installpam -a
+#	dh_installmime -a
+	dh_installinit -a
+	dh_installcron -a
+#	dh_installmanpages -a
+	dh_installinfo -a
+#	dh_undocumented -a
+	dh_installchangelogs -a CHANGES
+	dh_strip -a
+	dh_link -a
+	dh_compress -a
+	dh_fixperms -a
+	# You may want to make some executables suid here.
+	dh_makeshlibs -a
+	dh_installdeb -a
+#	dh_perl -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- lprng-3.8.28.orig/debian/control
+++ lprng-3.8.28/debian/control
@@ -0,0 +1,34 @@
+Source: lprng
+Section: debathena/net
+Priority: extra
+Maintainer: Craig Small <csmall@debian.org>
+Build-Depends: debhelper (>= 5), mawk | gawk, procps, libwrap-dev, libkrb5-dev, debconf | debconf-2.0, libssl-dev, po-debconf, dpatch
+Build-Depends-Indep: jade, docbook, tidy, jadetex, imagemagick
+Standards-Version: 3.6.2
+
+Package: debathena-lprng
+Architecture: any
+Depends: debconf | debconf-2.0, lsb-base (>= 2.0), ${shlibs:Depends}
+Suggests: magicfilter, lprng-doc
+Conflicts: apsfilter (<<4.9.1-10), suidmanager (<< 0.50), lprng
+Replaces: lprng
+Description: lpr/lpd printer spooling system
+ The  LPRng  software  is an enhanced, extended, and portable  version
+ of the Berkeley LPR software (the standards UNIX printer spooler)
+ You can use this for local and remote printers.
+ .
+ This package was rebuilt for the Debian-Athena project to rename the
+ package and commands so that it no longer conflicts with cupsys-bsd.
+
+Package: lprng-doc
+Architecture: all
+Section: debathena/doc
+Description: lpr/lpd printer spooling system (documentation)
+ The  LPRng  software  is an enhanced, extended, and portable  version
+ of the Berkeley LPR software (the standards UNIX printer spooler)
+ You can use this for local and remote printers.
+ This is the documentation for LPRng
+ .
+ This package was rebuilt for the Debian-Athena project to rename the
+ package and commands so that it no longer conflicts with cupsys-bsd.
+
--- lprng-3.8.28.orig/debian/lprng-doc.docs
+++ lprng-3.8.28/debian/lprng-doc.docs
@@ -0,0 +1,9 @@
+CONTRIBUTORS
+README
+README.SSL.SECURITY
+README.ports
+Y2KCompliance
+PrintingCookbook/PDF/Cookbook.pdf
+PrintingCookbook/HTML/
+DOCS/LPRng-Reference.pdf
+DOCS/LPRng-Reference.html
--- lprng-3.8.28.orig/debian/debathena-lprng.postinst
+++ lprng-3.8.28/debian/debathena-lprng.postinst
@@ -0,0 +1,103 @@
+#! /bin/sh
+# postinst script for lprng
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# Source the debconf library.
+. /usr/share/debconf/confmodule
+
+update_defaults()
+{
+    db_get lprng/start_lpd
+    if [ "$RET" = "true" ]; then
+      START_LPD="yes"
+    else
+      START_LPD="no"
+    fi
+    cat > /etc/default/lprng <<EOF 
+#Start the LPRng daemon lpd? Yes or No
+START_LPD=$START_LPD
+EOF
+
+}
+
+## dsetperms - sets owner, group, and permissions to specified value,
+## but only if no dpkg-statoverride entry exists.
+## usage: dsetperms user group mode file
+
+dsetperms()
+{
+    if [ "$#" != 4 ] ; then
+        echo 1>&2 "dsetperms: Requires four arguments"
+        return 1
+    fi
+    if ! dpkg-statoverride --list "$4" > /dev/null 2>&1 ; then
+        chown "$1":"$2" "$4" || return 1
+        chmod "$3" "$4" || return 1
+    else
+        return 0
+    fi
+}
+
+case "$1" in
+    install|upgrade)
+    ;;
+
+    configure)
+        # Create directories for pid file
+        install -d -m 0775 -o root -g lp /var/run/lprng
+        for fname in `ls /var/spool/lpd 2>/dev/null`; do
+            if ! dpkg-statoverride --list "/var/spool/lpd/$fname" > /dev/null 2>&1 ; then
+                if [ -d $fname ] ; then
+                    (unset POSIXLY_CORRECT ; chown -R daemon:lp -- /var/spool/lpd/$fname )
+                    (unset POSIXLY_CORRECT ; chmod 700 -- /var/spool/lpd/$fname )
+                fi
+            fi
+        done
+        dsetperms daemon lp 0700 /var/spool/lpd
+        # Check result of tools being setuid
+        db_get lprng/setuid_tools
+        if [ "$RET" = "true" ]; then
+            dsetperms root root 4755 /usr/bin/mit-lpr
+            dsetperms root root 4755 /usr/bin/mit-lprm
+            dsetperms root root 4755 /usr/bin/mit-lpq
+        else
+            dsetperms root root 0755 /usr/bin/mit-lpr
+            dsetperms root root 0755 /usr/bin/mit-lprm
+            dsetperms root root 0755 /usr/bin/mit-lpq
+        fi
+        # Only make the symlink if nothing is there already Bug: #147641
+        if [ ! -e /etc/lprng/printcap ] ; then
+            (cd /etc/lprng ; ln -s ../printcap . )
+        fi
+        update_defaults
+        ;;
+    abort-upgrade)
+        ;;
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 0
+        ;;
+esac
+
+# DEATH to ALL LPDs - This should fix the 'my lpd is still running and
+# is killing install' problems I get.
+# Don't ask me abotu the -e, it is to fix dh_installinit
+if [ -x /etc/init.d/lprng -a -e "lprng" ] ; then
+  /etc/init.d/lprng stop || true
+fi
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+# Urgh, LPPng's lpd seems to be not closing all the file descriptors
+# which makes debconf hang, tell debconf to go away
+db_stop
+
+exit 0
+
+# vim:et:sw=4:ts=4:
--- lprng-3.8.28.orig/debian/lpd.conf-debian
+++ lprng-3.8.28/debian/lpd.conf-debian
@@ -0,0 +1,5 @@
+# LPRng for Debian GNU/Linux
+# /etc/lprng/lpd.conf
+# See lpd.conf(5) and /usr/share/doc/lprng/examples/lpd.conf.gz
+#
+
--- lprng-3.8.28.orig/debian/lprng-doc.doc-base.lprngref
+++ lprng-3.8.28/debian/lprng-doc.doc-base.lprngref
@@ -0,0 +1,15 @@
+Document: lprng-ref
+Title: LPRng Reference Manual
+Author: Patrick A Powell
+Abstract: The LPRng Printing Software consists of the LPRng print spooler,
+ the ifhp print filter, and the LPRngTool graphical user interface.
+Section: Apps/System
+
+Format: pdf
+Files: /usr/share/doc/lprng-doc/LPRng-Reference.pdf
+
+Format: HTML
+Index: /usr/share/doc/lprng-doc/LPRng-Reference.html
+Files: /usr/share/doc/lprng-doc/LPRng-Reference.html
+
+  
--- lprng-3.8.28.orig/debian/watch
+++ lprng-3.8.28/debian/watch
@@ -0,0 +1,6 @@
+# watch file for LPRng
+#
+version=2
+
+ftp://ftp.lprng.com/pub/LPRng/LPRng/LPRng-(.*)\.tgz \
+  debian uupdate
--- lprng-3.8.28.orig/debian/debathena-lprng.config
+++ lprng-3.8.28/debian/debathena-lprng.config
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+# source debconf library.
+. /usr/share/debconf/confmodule
+
+# lpq, lprm lpr setuid?
+db_input low lprng/setuid_tools || true
+db_go
+
+# Check for default file, if it is there then set the debconf value
+default_start_lpd="true"
+if [ -f /etc/default/lprng ]; then
+    grep -q 'START_LPD=yes' /etc/default/lprng || default_start_lpd="false"
+    db_set lprng/start_lpd $default_start_lpd
+fi
+db_input medium lprng/start_lpd || true
+db_go
+ 
+
--- lprng-3.8.28.orig/debian/lprng-docs
+++ lprng-3.8.28/debian/lprng-docs
@@ -0,0 +1,2 @@
+DOCS/LPRng-Reference.pdf
+DOCS/LPRng-Reference.html
--- lprng-3.8.28.orig/debian/lprng-doc.doc-base.cookbook
+++ lprng-3.8.28/debian/lprng-doc.doc-base.cookbook
@@ -0,0 +1,17 @@
+Document: printing-cookbook
+Title: The Printing Cookbook
+Author: Patrick A Powell
+Abstract: This is a set of Recipes for Printing, a set of procedures 
+ that can be used to set up and diagnose printing in a range of system 
+ environments. The main emphasis will be on using the LPRng print spooler,
+ either by itself or with other print spooling systems.
+Section: Apps/System
+
+Format: pdf
+Files: /usr/share/doc/lprng-doc/Cookbook.pdf
+
+Format: HTML
+Index: /usr/share/doc/lprng-doc/Cookbook/index.html
+Files: /usr/share/doc/lprng-doc/Cookbook/*.html
+
+  
