--- debathena-lprng-3.8.28dfsg.1.orig/config.sub
+++ debathena-lprng-3.8.28dfsg.1/config.sub
@@ -1,9 +1,10 @@
 #! /bin/sh
 # Configuration validation subroutine script.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
+#   Inc.
 
-timestamp='2003-07-04'
+timestamp='2006-09-20'
 
 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -21,14 +22,15 @@
 #
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330,
-# Boston, MA 02111-1307, USA.
-
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
 # 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.
 #
@@ -70,7 +72,7 @@
 version="\
 GNU config.sub ($timestamp)
 
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
 Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
@@ -83,11 +85,11 @@
 while test $# -gt 0 ; do
   case $1 in
     --time-stamp | --time* | -t )
-       echo "$timestamp" ; exit 0 ;;
+       echo "$timestamp" ; exit ;;
     --version | -v )
-       echo "$version" ; exit 0 ;;
+       echo "$version" ; exit ;;
     --help | --h* | -h )
-       echo "$usage"; exit 0 ;;
+       echo "$usage"; exit ;;
     -- )     # Stop option processing
        shift; break ;;
     - )	# Use stdin as input.
@@ -99,7 +101,7 @@
     *local*)
        # First pass through any local machine types.
        echo $1
-       exit 0;;
+       exit ;;
 
     * )
        break ;;
@@ -118,7 +120,9 @@
 # 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* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
+  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
+  storm-chaos* | os2-emx* | rtmk-nova*)
     os=-$maybe_os
     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
     ;;
@@ -144,7 +148,7 @@
 	-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
 	-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
 	-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
-	-apple | -axis)
+	-apple | -axis | -knuth | -cray)
 		os=
 		basic_machine=$1
 		;;
@@ -169,6 +173,10 @@
 	-hiux*)
 		os=-hiuxwe2
 		;;
+	-sco6)
+		os=-sco5v6
+		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+		;;
 	-sco5)
 		os=-sco3.2v5
 		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
@@ -185,6 +193,10 @@
 		# Don't forget version if it is 3.2v4 or newer.
 		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 		;;
+	-sco5v6*)
+		# Don't forget version if it is 3.2v4 or newer.
+		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+		;;
 	-sco*)
 		os=-sco3.2v2
 		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
@@ -228,14 +240,17 @@
 	| 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 \
+	| am33_2.0 \
+	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
+	| bfin \
 	| 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 \
+	| ip2k | iq2000 \
+	| m32c | m32r | m32rle | m68000 | m68k | m88k \
+	| maxq | mb | microblaze | mcore \
 	| mips | mipsbe | mipseb | mipsel | mipsle \
 	| mips16 \
 	| mips64 | mips64el \
@@ -244,27 +259,33 @@
 	| mips64vr4100 | mips64vr4100el \
 	| mips64vr4300 | mips64vr4300el \
 	| mips64vr5000 | mips64vr5000el \
+	| mips64vr5900 | mips64vr5900el \
 	| mipsisa32 | mipsisa32el \
 	| mipsisa32r2 | mipsisa32r2el \
 	| mipsisa64 | mipsisa64el \
+	| mipsisa64r2 | mipsisa64r2el \
 	| mipsisa64sb1 | mipsisa64sb1el \
 	| mipsisa64sr71k | mipsisa64sr71kel \
 	| mipstx39 | mipstx39el \
 	| mn10200 | mn10300 \
+	| mt \
 	| msp430 \
+	| nios | nios2 \
 	| ns16k | ns32k \
-	| openrisc | or32 \
+	| 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 \
+	| score \
+	| sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
 	| sh64 | sh64le \
-	| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
-	| strongarm \
+	| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
+	| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
+	| spu | strongarm \
 	| tahoe | thumb | tic4x | tic80 | tron \
 	| v850 | v850e \
 	| we32k \
-	| x86 | xscale | xstormy16 | xtensa \
+	| x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
 	| z8k)
 		basic_machine=$basic_machine-unknown
 		;;
@@ -275,6 +296,9 @@
 		;;
 	m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
 		;;
+	ms1)
+		basic_machine=mt-unknown
+		;;
 
 	# We use `pc' rather than `unknown'
 	# because (1) that's what they normally are, and
@@ -292,22 +316,22 @@
 	| a29k-* \
 	| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
 	| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
-	| alphapca5[67]-* | alpha64pca5[67]-* | amd64-* | arc-* \
+	| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
 	| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
-	| avr-* \
-	| bs2000-* \
+	| avr-* | avr32-* \
+	| bfin-* | bs2000-* \
 	| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
-	| clipper-* | cydra-* \
+	| clipper-* | craynv-* | 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-* \
+	| ip2k-* | iq2000-* \
+	| m32c-* | m32r-* | m32rle-* \
 	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
-	| m88110-* | m88k-* | mcore-* \
+	| m88110-* | m88k-* | maxq-* | mcore-* \
 	| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
 	| mips16-* \
 	| mips64-* | mips64el-* \
@@ -316,30 +340,36 @@
 	| mips64vr4100-* | mips64vr4100el-* \
 	| mips64vr4300-* | mips64vr4300el-* \
 	| mips64vr5000-* | mips64vr5000el-* \
+	| mips64vr5900-* | mips64vr5900el-* \
 	| mipsisa32-* | mipsisa32el-* \
 	| mipsisa32r2-* | mipsisa32r2el-* \
 	| mipsisa64-* | mipsisa64el-* \
+	| mipsisa64r2-* | mipsisa64r2el-* \
 	| mipsisa64sb1-* | mipsisa64sb1el-* \
 	| mipsisa64sr71k-* | mipsisa64sr71kel-* \
 	| mipstx39-* | mipstx39el-* \
+	| mmix-* \
+	| mt-* \
 	| msp430-* \
-	| none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
+	| nios-* | nios2-* \
+	| none-* | np1-* | 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-* \
+	| sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
 	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
-	| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
-	| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
+	| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
+	| sparclite-* \
+	| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
 	| tahoe-* | thumb-* \
 	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 	| tron-* \
 	| v850-* | v850e-* | vax-* \
 	| we32k-* \
-	| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
-	| xtensa-* \
+	| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
+	| xstormy16-* | xtensa-* \
 	| ymp-* \
 	| z8k-*)
 		;;
@@ -359,6 +389,9 @@
 		basic_machine=a29k-amd
 		os=-udi
 		;;
+    	abacus)
+		basic_machine=abacus-unknown
+		;;
 	adobe68k)
 		basic_machine=m68010-adobe
 		os=-scout
@@ -376,6 +409,9 @@
 	amd64)
 		basic_machine=x86_64-pc
 		;;
+	amd64-*)
+		basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
 	amdahl)
 		basic_machine=580-amdahl
 		os=-sysv
@@ -435,12 +471,27 @@
 		basic_machine=j90-cray
 		os=-unicos
 		;;
+	craynv)
+		basic_machine=craynv-cray
+		os=-unicosmp
+		;;
+	cr16c)
+		basic_machine=cr16c-unknown
+		os=-elf
+		;;
 	crds | unos)
 		basic_machine=m68k-crds
 		;;
+	crisv32 | crisv32-* | etraxfs*)
+		basic_machine=crisv32-axis
+		;;
 	cris | cris-* | etrax*)
 		basic_machine=cris-axis
 		;;
+	crx)
+		basic_machine=crx-unknown
+		os=-elf
+		;;
 	da30 | da30-*)
 		basic_machine=m68k-da30
 		;;
@@ -463,6 +514,10 @@
 		basic_machine=m88k-motorola
 		os=-sysv3
 		;;
+	djgpp)
+		basic_machine=i586-pc
+		os=-msdosdjgpp
+		;;
 	dpx20 | dpx20-*)
 		basic_machine=rs6000-bull
 		os=-bosx
@@ -641,10 +696,6 @@
 	mips3*)
 		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
 		;;
-	mmix*)
-		basic_machine=mmix-knuth
-		os=-mmixware
-		;;
 	monitor)
 		basic_machine=m68k-rom68k
 		os=-coff
@@ -657,6 +708,9 @@
 		basic_machine=i386-pc
 		os=-msdos
 		;;
+	ms1-*)
+		basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
+		;;
 	mvs)
 		basic_machine=i370-ibm
 		os=-mvs
@@ -725,10 +779,6 @@
 	np1)
 		basic_machine=np1-gould
 		;;
-	nv1)
-		basic_machine=nv1-cray
-		os=-unicosmp
-		;;
 	nsr-tandem)
 		basic_machine=nsr-tandem
 		;;
@@ -736,9 +786,12 @@
 		basic_machine=hppa1.1-oki
 		os=-proelf
 		;;
-	or32 | or32-*)
+	openrisc | openrisc-*)
 		basic_machine=or32-unknown
-		os=-coff
+		;;
+	os400)
+		basic_machine=powerpc-ibm
+		os=-os400
 		;;
 	OSE68000 | ose68000)
 		basic_machine=m68000-ericsson
@@ -765,6 +818,12 @@
 	pc532 | pc532-*)
 		basic_machine=ns32k-pc532
 		;;
+	pc98)
+		basic_machine=i386-pc
+		;;
+	pc98-*)
+		basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
 	pentium | p5 | k5 | k6 | nexgen | viac3)
 		basic_machine=i586-pc
 		;;
@@ -821,6 +880,10 @@
 		basic_machine=i586-unknown
 		os=-pw32
 		;;
+	rdos)
+		basic_machine=i386-pc
+		os=-rdos
+		;;
 	rom68k)
 		basic_machine=m68k-rom68k
 		os=-coff
@@ -847,6 +910,10 @@
 	sb1el)
 		basic_machine=mipsisa64sb1el-unknown
 		;;
+	sde)
+		basic_machine=mipsisa32-sde
+		os=-elf
+		;;
 	sei)
 		basic_machine=mips-sei
 		os=-seiux
@@ -960,6 +1027,10 @@
 	tower | tower-32)
 		basic_machine=m68k-ncr
 		;;
+	tpf)
+		basic_machine=s390x-ibm
+		os=-tpf
+		;;
 	udi29k)
 		basic_machine=a29k-amd
 		os=-udi
@@ -1003,6 +1074,10 @@
 		basic_machine=hppa1.1-winbond
 		os=-proelf
 		;;
+	xbox)
+		basic_machine=i686-pc
+		os=-mingw32
+		;;
 	xps | xps100)
 		basic_machine=xps100-honeywell
 		;;
@@ -1033,6 +1108,9 @@
 	romp)
 		basic_machine=romp-ibm
 		;;
+	mmix)
+		basic_machine=mmix-knuth
+		;;
 	rs6000)
 		basic_machine=rs6000-ibm
 		;;
@@ -1049,13 +1127,10 @@
 	we32k)
 		basic_machine=we32k-att
 		;;
-	sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
+	sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
 		basic_machine=sh-unknown
 		;;
-	sh64)
-		basic_machine=sh64-unknown
-		;;
-	sparc | sparcv9 | sparcv9b)
+	sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
 		basic_machine=sparc-sun
 		;;
 	cydra)
@@ -1128,19 +1203,23 @@
 	      | -aos* \
 	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
 	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
-	      | -hiux* | -386bsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \
-	      | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
+	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
+	      | -openbsd* | -solidbsd* \
+	      | -ekkobsd* | -kfreebsd* | -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* \
+	      | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
+	      | -uxpv* | -beos* | -mpeix* | -udk* \
 	      | -interix* | -uwin* | -mks* | -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*)
+	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
+	      | -skyos* | -haiku* | -rdos* | -toppers*)
 	# Remember, each alternative MUST END IN *, to match a version number.
 		;;
 	-qnx*)
@@ -1158,12 +1237,15 @@
 		os=`echo $os | sed -e 's|nto|nto-qnx|'`
 		;;
 	-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
-	      | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
+	      | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
 	      | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
 		;;
 	-mac*)
 		os=`echo $os | sed -e 's|mac|macos|'`
 		;;
+	-linux-dietlibc)
+		os=-linux-dietlibc
+		;;
 	-linux*)
 		os=`echo $os | sed -e 's|linux|linux-gnu|'`
 		;;
@@ -1176,6 +1258,9 @@
 	-opened*)
 		os=-openedition
 		;;
+        -os400*)
+		os=-os400
+		;;
 	-wince*)
 		os=-wince
 		;;
@@ -1197,6 +1282,9 @@
 	-atheos*)
 		os=-atheos
 		;;
+	-syllable*)
+		os=-syllable
+		;;
 	-386bsd)
 		os=-bsd
 		;;
@@ -1219,6 +1307,9 @@
 	-sinix*)
 		os=-sysv4
 		;;
+        -tpf*)
+		os=-tpf
+		;;
 	-triton*)
 		os=-sysv3
 		;;
@@ -1255,6 +1346,9 @@
 	-kaos*)
 		os=-kaos
 		;;
+	-zvmoe)
+		os=-zvmoe
+		;;
 	-none)
 		;;
 	*)
@@ -1277,6 +1371,12 @@
 # system, and we'll never get to this point.
 
 case $basic_machine in
+        score-*)
+		os=-elf
+		;;
+        spu-*)
+		os=-elf
+		;;
 	*-acorn)
 		os=-riscix1.2
 		;;
@@ -1286,9 +1386,9 @@
 	arm*-semi)
 		os=-aout
 		;;
-    c4x-* | tic4x-*)
-        os=-coff
-        ;;
+        c4x-* | tic4x-*)
+        	os=-coff
+		;;
 	# This must come before the *-dec entry.
 	pdp10-*)
 		os=-tops20
@@ -1332,9 +1432,15 @@
 	*-be)
 		os=-beos
 		;;
+	*-haiku)
+		os=-haiku
+		;;
 	*-ibm)
 		os=-aix
 		;;
+    	*-knuth)
+		os=-mmixware
+		;;
 	*-wec)
 		os=-proelf
 		;;
@@ -1467,9 +1573,15 @@
 			-mvs* | -opened*)
 				vendor=ibm
 				;;
+			-os400*)
+				vendor=ibm
+				;;
 			-ptx*)
 				vendor=sequent
 				;;
+			-tpf*)
+				vendor=ibm
+				;;
 			-vxsim* | -vxworks* | -windiss*)
 				vendor=wrs
 				;;
@@ -1494,7 +1606,7 @@
 esac
 
 echo $basic_machine$os
-exit 0
+exit
 
 # Local variables:
 # eval: (add-hook 'write-file-hooks 'time-stamp)
--- debathena-lprng-3.8.28dfsg.1.orig/d1
+++ debathena-lprng-3.8.28dfsg.1/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);
+ 	}
--- debathena-lprng-3.8.28dfsg.1.orig/config.guess
+++ debathena-lprng-3.8.28dfsg.1/config.guess
@@ -1,9 +1,10 @@
 #! /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.
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
+#   Inc.
 
-timestamp='2003-07-02'
+timestamp='2006-07-02'
 
 # 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
@@ -17,13 +18,15 @@
 #
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+# 02110-1301, USA.
 #
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
 # 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.
@@ -53,7 +56,7 @@
 GNU config.guess ($timestamp)
 
 Originally written by Per Bothner.
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
 Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
@@ -66,11 +69,11 @@
 while test $# -gt 0 ; do
   case $1 in
     --time-stamp | --time* | -t )
-       echo "$timestamp" ; exit 0 ;;
+       echo "$timestamp" ; exit ;;
     --version | -v )
-       echo "$version" ; exit 0 ;;
+       echo "$version" ; exit ;;
     --help | --h* | -h )
-       echo "$usage"; exit 0 ;;
+       echo "$usage"; exit ;;
     -- )     # Stop option processing
        shift; break ;;
     - )	# Use stdin as input.
@@ -104,7 +107,7 @@
 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" ; } ||
+ { tmp=`(umask 077 && mktemp -d "$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 ; } ;
@@ -123,7 +126,7 @@
 	;;
  ,,*)   CC_FOR_BUILD=$CC ;;
  ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
-esac ;'
+esac ; set_cc_for_build= ;'
 
 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
 # (ghazi@noc.rutgers.edu 1994-08-24)
@@ -196,50 +199,32 @@
 	# 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 ;;
+	exit ;;
     *:OpenBSD:*:*)
-	echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
+	UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
+	echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
+	exit ;;
+    *:ekkoBSD:*:*)
+	echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
+	exit ;;
+    *:SolidBSD:*:*)
+	echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
+	exit ;;
+    macppc:MirBSD:*:*)
+	echo powerpc-unknown-mirbsd${UNAME_RELEASE}
+	exit ;;
+    *:MirBSD:*:*)
+	echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
+	exit ;;
     alpha:OSF1:*:*)
-	if test $UNAME_RELEASE = "V4.0"; then
+	case $UNAME_RELEASE in
+	*4.0)
 		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
-	fi
+		;;
+	*5.*)
+	        UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
+		;;
+	esac
 	# 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
@@ -277,42 +262,49 @@
 	    "EV7.9 (21364A)")
 		UNAME_MACHINE="alphaev79" ;;
 	esac
+	# A Pn.n version is a patched version.
 	# 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.
-	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 ;;
+	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+	exit ;;
     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
 	# of the specific Alpha model?
 	echo alpha-pc-interix
-	exit 0 ;;
+	exit ;;
     21064:Windows_NT:50:3)
 	echo alpha-dec-winnt3.5
-	exit 0 ;;
+	exit ;;
     Amiga*:UNIX_System_V:4.0:*)
 	echo m68k-unknown-sysv4
-	exit 0;;
+	exit ;;
     *:[Aa]miga[Oo][Ss]:*:*)
 	echo ${UNAME_MACHINE}-unknown-amigaos
-	exit 0 ;;
+	exit ;;
     *:[Mm]orph[Oo][Ss]:*:*)
 	echo ${UNAME_MACHINE}-unknown-morphos
-	exit 0 ;;
+	exit ;;
     *:OS/390:*:*)
 	echo i370-ibm-openedition
-	exit 0 ;;
+	exit ;;
+    *:z/VM:*:*)
+	echo s390-ibm-zvmoe
+	exit ;;
+    *:OS400:*:*)
+        echo powerpc-ibm-os400
+	exit ;;
     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
 	echo arm-acorn-riscix${UNAME_RELEASE}
-	exit 0;;
+	exit ;;
+    arm:riscos:*:*|arm:RISCOS:*:*)
+	echo arm-unknown-riscos
+	exit ;;
     SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
 	echo hppa1.1-hitachi-hiuxmpp
-	exit 0;;
+	exit ;;
     Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
 	# akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
 	if test "`(/bin/universe) 2>/dev/null`" = att ; then
@@ -320,32 +312,32 @@
 	else
 		echo pyramid-pyramid-bsd
 	fi
-	exit 0 ;;
+	exit ;;
     NILE*:*:*:dcosx)
 	echo pyramid-pyramid-svr4
-	exit 0 ;;
+	exit ;;
     DRS?6000:unix:4.0:6*)
 	echo sparc-icl-nx6
-	exit 0 ;;
-    DRS?6000:UNIX_SV:4.2*:7*)
+	exit ;;
+    DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
 	case `/usr/bin/uname -p` in
-	    sparc) echo sparc-icl-nx7 && exit 0 ;;
+	    sparc) echo sparc-icl-nx7; exit ;;
 	esac ;;
     sun4H:SunOS:5.*:*)
 	echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
-	exit 0 ;;
+	exit ;;
     sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
 	echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
-	exit 0 ;;
+	exit ;;
     i86pc:SunOS:5.*:*)
 	echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
-	exit 0 ;;
+	exit ;;
     sun4*:SunOS:6*:*)
 	# According to config.sub, this is the proper way to canonicalize
 	# SunOS6.  Hard to guess exactly what SunOS6 will be like, but
 	# it's likely to be more like Solaris than SunOS4.
 	echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
-	exit 0 ;;
+	exit ;;
     sun4*:SunOS:*:*)
 	case "`/usr/bin/arch -k`" in
 	    Series*|S4*)
@@ -354,10 +346,10 @@
 	esac
 	# Japanese Language versions have a version number like `4.1.3-JL'.
 	echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
-	exit 0 ;;
+	exit ;;
     sun3*:SunOS:*:*)
 	echo m68k-sun-sunos${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     sun*:*:4.2BSD:*)
 	UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
 	test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
@@ -369,10 +361,10 @@
 		echo sparc-sun-sunos${UNAME_RELEASE}
 		;;
 	esac
-	exit 0 ;;
+	exit ;;
     aushp:SunOS:*:*)
 	echo sparc-auspex-sunos${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     # 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
@@ -383,37 +375,40 @@
     # be no problem.
     atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
         echo m68k-atari-mint${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
 	echo m68k-atari-mint${UNAME_RELEASE}
-        exit 0 ;;
+        exit ;;
     *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
         echo m68k-atari-mint${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
         echo m68k-milan-mint${UNAME_RELEASE}
-        exit 0 ;;
+        exit ;;
     hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
         echo m68k-hades-mint${UNAME_RELEASE}
-        exit 0 ;;
+        exit ;;
     *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
         echo m68k-unknown-mint${UNAME_RELEASE}
-        exit 0 ;;
+        exit ;;
+    m68k:machten:*:*)
+	echo m68k-apple-machten${UNAME_RELEASE}
+	exit ;;
     powerpc:machten:*:*)
 	echo powerpc-apple-machten${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     RISC*:Mach:*:*)
 	echo mips-dec-mach_bsd4.3
-	exit 0 ;;
+	exit ;;
     RISC*:ULTRIX:*:*)
 	echo mips-dec-ultrix${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     VAX*:ULTRIX*:*:*)
 	echo vax-dec-ultrix${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     2020:CLIX:*:* | 2430:CLIX:*:*)
 	echo clipper-intergraph-clix${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     mips:*:*:UMIPS | mips:*:*:RISCos)
 	eval $set_cc_for_build
 	sed 's/^	//' << EOF >$dummy.c
@@ -437,32 +432,33 @@
 	  exit (-1);
 	}
 EOF
-	$CC_FOR_BUILD -o $dummy $dummy.c \
-	  && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
-	  && exit 0
+	$CC_FOR_BUILD -o $dummy $dummy.c &&
+	  dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
+	  SYSTEM_NAME=`$dummy $dummyarg` &&
+	    { echo "$SYSTEM_NAME"; exit; }
 	echo mips-mips-riscos${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     Motorola:PowerMAX_OS:*:*)
 	echo powerpc-motorola-powermax
-	exit 0 ;;
+	exit ;;
     Motorola:*:4.3:PL8-*)
 	echo powerpc-harris-powermax
-	exit 0 ;;
+	exit ;;
     Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
 	echo powerpc-harris-powermax
-	exit 0 ;;
+	exit ;;
     Night_Hawk:Power_UNIX:*:*)
 	echo powerpc-harris-powerunix
-	exit 0 ;;
+	exit ;;
     m88k:CX/UX:7*:*)
 	echo m88k-harris-cxux7
-	exit 0 ;;
+	exit ;;
     m88k:*:4*:R4*)
 	echo m88k-motorola-sysv4
-	exit 0 ;;
+	exit ;;
     m88k:*:3*:R3*)
 	echo m88k-motorola-sysv3
-	exit 0 ;;
+	exit ;;
     AViiON:dgux:*:*)
         # DG/UX returns AViiON for all architectures
         UNAME_PROCESSOR=`/usr/bin/uname -p`
@@ -478,29 +474,29 @@
 	else
 	    echo i586-dg-dgux${UNAME_RELEASE}
 	fi
- 	exit 0 ;;
+ 	exit ;;
     M88*:DolphinOS:*:*)	# DolphinOS (SVR3)
 	echo m88k-dolphin-sysv3
-	exit 0 ;;
+	exit ;;
     M88*:*:R3*:*)
 	# Delta 88k system running SVR3
 	echo m88k-motorola-sysv3
-	exit 0 ;;
+	exit ;;
     XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
 	echo m88k-tektronix-sysv3
-	exit 0 ;;
+	exit ;;
     Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
 	echo m68k-tektronix-bsd
-	exit 0 ;;
+	exit ;;
     *:IRIX*:*:*)
 	echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
-	exit 0 ;;
+	exit ;;
     ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
-	echo romp-ibm-aix      # uname -m gives an 8 hex-code CPU id
-	exit 0 ;;              # Note that: echo "'`uname -s`'" gives 'AIX '
+	echo romp-ibm-aix     # uname -m gives an 8 hex-code CPU id
+	exit ;;               # Note that: echo "'`uname -s`'" gives 'AIX '
     i*86:AIX:*:*)
 	echo i386-ibm-aix
-	exit 0 ;;
+	exit ;;
     ia64:AIX:*:*)
 	if [ -x /usr/bin/oslevel ] ; then
 		IBM_REV=`/usr/bin/oslevel`
@@ -508,7 +504,7 @@
 		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
 	fi
 	echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
-	exit 0 ;;
+	exit ;;
     *:AIX:2:3)
 	if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
 		eval $set_cc_for_build
@@ -523,14 +519,18 @@
 			exit(0);
 			}
 EOF
-		$CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
-		echo rs6000-ibm-aix3.2.5
+		if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
+		then
+			echo "$SYSTEM_NAME"
+		else
+			echo rs6000-ibm-aix3.2.5
+		fi
 	elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
 		echo rs6000-ibm-aix3.2.4
 	else
 		echo rs6000-ibm-aix3.2
 	fi
-	exit 0 ;;
+	exit ;;
     *:AIX:*:[45])
 	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
 	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
@@ -544,28 +544,28 @@
 		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
 	fi
 	echo ${IBM_ARCH}-ibm-aix${IBM_REV}
-	exit 0 ;;
+	exit ;;
     *:AIX:*:*)
 	echo rs6000-ibm-aix
-	exit 0 ;;
+	exit ;;
     ibmrt:4.4BSD:*|romp-ibm:BSD:*)
 	echo romp-ibm-bsd4.4
-	exit 0 ;;
+	exit ;;
     ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC BSD and
 	echo romp-ibm-bsd${UNAME_RELEASE}   # 4.3 with uname added to
-	exit 0 ;;                           # report: romp-ibm BSD 4.3
+	exit ;;                             # report: romp-ibm BSD 4.3
     *:BOSX:*:*)
 	echo rs6000-bull-bosx
-	exit 0 ;;
+	exit ;;
     DPX/2?00:B.O.S.:*:*)
 	echo m68k-bull-sysv3
-	exit 0 ;;
+	exit ;;
     9000/[34]??:4.3bsd:1.*:*)
 	echo m68k-hp-bsd
-	exit 0 ;;
+	exit ;;
     hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
 	echo m68k-hp-bsd4.4
-	exit 0 ;;
+	exit ;;
     9000/[34678]??:HP-UX:*:*)
 	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
 	case "${UNAME_MACHINE}" in
@@ -627,9 +627,19 @@
 	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
+	    eval $set_cc_for_build
+
+	    # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
+	    # 32-bit code.  hppa64-hp-hpux* has the same kernel and a compiler
+	    # generating 64-bit code.  GNU and HP use different nomenclature:
+	    #
+	    # $ CC_FOR_BUILD=cc ./config.guess
+	    # => hppa2.0w-hp-hpux11.23
+	    # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
+	    # => hppa64-hp-hpux11.23
+
+	    if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
+		grep __LP64__ >/dev/null
 	    then
 		HP_ARCH="hppa2.0w"
 	    else
@@ -637,11 +647,11 @@
 	    fi
 	fi
 	echo ${HP_ARCH}-hp-hpux${HPUX_REV}
-	exit 0 ;;
+	exit ;;
     ia64:HP-UX:*:*)
 	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
 	echo ia64-hp-hpux${HPUX_REV}
-	exit 0 ;;
+	exit ;;
     3050*:HI-UX:*:*)
 	eval $set_cc_for_build
 	sed 's/^	//' << EOF >$dummy.c
@@ -669,153 +679,179 @@
 	  exit (0);
 	}
 EOF
-	$CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
+	$CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
+		{ echo "$SYSTEM_NAME"; exit; }
 	echo unknown-hitachi-hiuxwe2
-	exit 0 ;;
+	exit ;;
     9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
 	echo hppa1.1-hp-bsd
-	exit 0 ;;
+	exit ;;
     9000/8??:4.3bsd:*:*)
 	echo hppa1.0-hp-bsd
-	exit 0 ;;
+	exit ;;
     *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
 	echo hppa1.0-hp-mpeix
-	exit 0 ;;
+	exit ;;
     hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
 	echo hppa1.1-hp-osf
-	exit 0 ;;
+	exit ;;
     hp8??:OSF1:*:*)
 	echo hppa1.0-hp-osf
-	exit 0 ;;
+	exit ;;
     i*86:OSF1:*:*)
 	if [ -x /usr/sbin/sysversion ] ; then
 	    echo ${UNAME_MACHINE}-unknown-osf1mk
 	else
 	    echo ${UNAME_MACHINE}-unknown-osf1
 	fi
-	exit 0 ;;
+	exit ;;
     parisc*:Lites*:*:*)
 	echo hppa1.1-hp-lites
-	exit 0 ;;
+	exit ;;
     C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
 	echo c1-convex-bsd
-        exit 0 ;;
+        exit ;;
     C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
 	if getsysinfo -f scalar_acc
 	then echo c32-convex-bsd
 	else echo c2-convex-bsd
 	fi
-        exit 0 ;;
+        exit ;;
     C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
 	echo c34-convex-bsd
-        exit 0 ;;
+        exit ;;
     C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
 	echo c38-convex-bsd
-        exit 0 ;;
+        exit ;;
     C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
 	echo c4-convex-bsd
-        exit 0 ;;
+        exit ;;
     CRAY*Y-MP:*:*:*)
 	echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
-	exit 0 ;;
+	exit ;;
     CRAY*[A-Z]90:*:*:*)
 	echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
 	| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
 	      -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
 	      -e 's/\.[^.]*$/.X/'
-	exit 0 ;;
+	exit ;;
     CRAY*TS:*:*:*)
 	echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
-	exit 0 ;;
+	exit ;;
     CRAY*T3E:*:*:*)
 	echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
-	exit 0 ;;
+	exit ;;
     CRAY*SV1:*:*:*)
 	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
-	exit 0 ;;
+	exit ;;
     *:UNICOS/mp:*:*)
-	echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 
-	exit 0 ;;
+	echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+	exit ;;
     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 ;;
+        exit ;;
+    5000:UNIX_System_V:4.*:*)
+        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
+        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+	exit ;;
     i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
 	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     sparc*:BSD/OS:*:*)
 	echo sparc-unknown-bsdi${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     *: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}
-	exit 0 ;;
+	exit ;;
+    *:FreeBSD:*:*)
+	case ${UNAME_MACHINE} in
+	    pc98)
+		echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+	    amd64)
+		echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+	    *)
+		echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+	esac
+	exit ;;
     i*:CYGWIN*:*)
 	echo ${UNAME_MACHINE}-pc-cygwin
-	exit 0 ;;
+	exit ;;
     i*:MINGW*:*)
 	echo ${UNAME_MACHINE}-pc-mingw32
-	exit 0 ;;
+	exit ;;
+    i*:windows32*:*)
+    	# uname -m includes "-pc" on this system.
+    	echo ${UNAME_MACHINE}-mingw32
+	exit ;;
     i*:PW*:*)
 	echo ${UNAME_MACHINE}-pc-pw32
-	exit 0 ;;
-    x86:Interix*:[34]*)
-	echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
-	exit 0 ;;
+	exit ;;
+    x86:Interix*:[3456]*)
+	echo i586-pc-interix${UNAME_RELEASE}
+	exit ;;
+    EM64T:Interix*:[3456]*)
+	echo x86_64-unknown-interix${UNAME_RELEASE}
+	exit ;;
     [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
 	echo i${UNAME_MACHINE}-pc-mks
-	exit 0 ;;
+	exit ;;
     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
-	exit 0 ;;
+	exit ;;
     i*:UWIN*:*)
 	echo ${UNAME_MACHINE}-pc-uwin
-	exit 0 ;;
+	exit ;;
+    amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
+	echo x86_64-unknown-cygwin
+	exit ;;
     p*:CYGWIN*:*)
 	echo powerpcle-unknown-cygwin
-	exit 0 ;;
+	exit ;;
     prep*:SunOS:5.*:*)
 	echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
-	exit 0 ;;
+	exit ;;
     *:GNU:*:*)
+	# the GNU system
 	echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
-	exit 0 ;;
+	exit ;;
+    *:GNU/*:*:*)
+	# other systems with GNU libc and userland
+	echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
+	exit ;;
     i*86:Minix:*:*)
 	echo ${UNAME_MACHINE}-pc-minix
-	exit 0 ;;
+	exit ;;
     arm*:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
-	exit 0 ;;
+	exit ;;
+    avr32*:Linux:*:*)
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	exit ;;
     cris:Linux:*:*)
 	echo cris-axis-linux-gnu
-	exit 0 ;;
+	exit ;;
+    crisv32:Linux:*:*)
+	echo crisv32-axis-linux-gnu
+	exit ;;
+    frv:Linux:*:*)
+    	echo frv-unknown-linux-gnu
+	exit ;;
     ia64:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
-	exit 0 ;;
+	exit ;;
+    m32r*:Linux:*:*)
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	exit ;;
     m68*:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
-	exit 0 ;;
+	exit ;;
     mips:Linux:*:*)
 	eval $set_cc_for_build
 	sed 's/^	//' << EOF >$dummy.c
@@ -832,8 +868,12 @@
 	#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
+	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
+	    /^CPU/{
+		s: ::g
+		p
+	    }'`"
+	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
 	;;
     mips64:Linux:*:*)
 	eval $set_cc_for_build
@@ -851,15 +891,22 @@
 	#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
+	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
+	    /^CPU/{
+		s: ::g
+		p
+	    }'`"
+	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
 	;;
+    or32:Linux:*:*)
+	echo or32-unknown-linux-gnu
+	exit ;;
     ppc:Linux:*:*)
 	echo powerpc-unknown-linux-gnu
-	exit 0 ;;
+	exit ;;
     ppc64:Linux:*:*)
 	echo powerpc64-unknown-linux-gnu
-	exit 0 ;;
+	exit ;;
     alpha:Linux:*:*)
 	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
 	  EV5)   UNAME_MACHINE=alphaev5 ;;
@@ -873,7 +920,7 @@
 	objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
 	if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
 	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
-	exit 0 ;;
+	exit ;;
     parisc:Linux:*:* | hppa:Linux:*:*)
 	# Look for CPU level
 	case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
@@ -881,25 +928,28 @@
 	  PA8*) echo hppa2.0-unknown-linux-gnu ;;
 	  *)    echo hppa-unknown-linux-gnu ;;
 	esac
-	exit 0 ;;
+	exit ;;
     parisc64:Linux:*:* | hppa64:Linux:*:*)
 	echo hppa64-unknown-linux-gnu
-	exit 0 ;;
+	exit ;;
     s390:Linux:*:* | s390x:Linux:*:*)
 	echo ${UNAME_MACHINE}-ibm-linux
-	exit 0 ;;
+	exit ;;
     sh64*:Linux:*:*)
     	echo ${UNAME_MACHINE}-unknown-linux-gnu
-	exit 0 ;;
+	exit ;;
     sh*:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
-	exit 0 ;;
+	exit ;;
     sparc:Linux:*:* | sparc64:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
-	exit 0 ;;
+	exit ;;
+    vax:Linux:*:*)
+	echo ${UNAME_MACHINE}-dec-linux-gnu
+	exit ;;
     x86_64:Linux:*:*)
 	echo x86_64-unknown-linux-gnu
-	exit 0 ;;
+	exit ;;
     i*86:Linux:*:*)
 	# 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
@@ -917,15 +967,15 @@
 		;;
 	  a.out-i386-linux)
 		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
-		exit 0 ;;
+		exit ;;
 	  coff-i386)
 		echo "${UNAME_MACHINE}-pc-linux-gnucoff"
-		exit 0 ;;
+		exit ;;
 	  "")
 		# Either a pre-BFD a.out linker (linux-gnuoldld) or
 		# one that does not give us useful --help.
 		echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
-		exit 0 ;;
+		exit ;;
 	esac
 	# Determine whether the default compiler is a.out or elf
 	eval $set_cc_for_build
@@ -942,23 +992,33 @@
 	LIBC=gnulibc1
 	# endif
 	#else
-	#ifdef __INTEL_COMPILER
+	#if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
 	LIBC=gnu
 	#else
 	LIBC=gnuaout
 	#endif
 	#endif
+	#ifdef __dietlibc__
+	LIBC=dietlibc
+	#endif
 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
-	test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
+	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
+	    /^LIBC/{
+		s: ::g
+		p
+	    }'`"
+	test x"${LIBC}" != x && {
+		echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
+		exit
+	}
+	test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
 	;;
     i*86:DYNIX/ptx:4*:*)
 	# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
 	# earlier versions are messed up and put the nodename in both
 	# sysname and nodename.
 	echo i386-sequent-sysv4
-	exit 0 ;;
+	exit ;;
     i*86:UNIX_SV:4.2MP:2.*)
         # Unixware is an offshoot of SVR4, but it has its own version
         # number series starting with 2...
@@ -966,24 +1026,27 @@
 	# I just have to hope.  -- rms.
         # Use sysv4.2uw... so that sysv4* matches it.
 	echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
-	exit 0 ;;
+	exit ;;
     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 ;;
+	exit ;;
     i*86:XTS-300:*:STOP)
 	echo ${UNAME_MACHINE}-unknown-stop
-	exit 0 ;;
+	exit ;;
     i*86:atheos:*:*)
 	echo ${UNAME_MACHINE}-unknown-atheos
-	exit 0 ;;
+	exit ;;
+    i*86:syllable:*:*)
+	echo ${UNAME_MACHINE}-pc-syllable
+	exit ;;
     i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
 	echo i386-unknown-lynxos${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     i*86:*DOS:*:*)
 	echo ${UNAME_MACHINE}-pc-msdosdjgpp
-	exit 0 ;;
+	exit ;;
     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
@@ -991,15 +1054,16 @@
 	else
 		echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
 	fi
-	exit 0 ;;
-    i*86:*:5:[78]*)
+	exit ;;
+    i*86:*:5:[678]*)
+    	# UnixWare 7.x, OpenUNIX and OpenServer 6.
 	case `/bin/uname -X | grep "^Machine"` in
 	    *486*)	     UNAME_MACHINE=i486 ;;
 	    *Pentium)	     UNAME_MACHINE=i586 ;;
 	    *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
 	esac
 	echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
-	exit 0 ;;
+	exit ;;
     i*86:*:3.2:*)
 	if test -f /usr/options/cb.name; then
 		UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
@@ -1017,73 +1081,73 @@
 	else
 		echo ${UNAME_MACHINE}-pc-sysv32
 	fi
-	exit 0 ;;
+	exit ;;
     pc:*:*:*)
 	# Left here for compatibility:
         # uname -m prints for DJGPP always 'pc', but it prints nothing about
         # the processor, so we play safe by assuming i386.
 	echo i386-pc-msdosdjgpp
-        exit 0 ;;
+        exit ;;
     Intel:Mach:3*:*)
 	echo i386-pc-mach3
-	exit 0 ;;
+	exit ;;
     paragon:*:*:*)
 	echo i860-intel-osf1
-	exit 0 ;;
+	exit ;;
     i860:*:4.*:*) # i860-SVR4
 	if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
 	  echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
 	else # Add other i860-SVR4 vendors below as they are discovered.
 	  echo i860-unknown-sysv${UNAME_RELEASE}  # Unknown i860-SVR4
 	fi
-	exit 0 ;;
+	exit ;;
     mini*:CTIX:SYS*5:*)
 	# "miniframe"
 	echo m68010-convergent-sysv
-	exit 0 ;;
+	exit ;;
     mc68k:UNIX:SYSTEM5:3.51m)
 	echo m68k-convergent-sysv
-	exit 0 ;;
+	exit ;;
     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)
+	exit ;;
+    M68*:*:R3V[5678]*:*)
+	test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
+    3[345]??:*: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 | S7501*:*:4.0:3.0)
 	OS_REL=''
 	test -r /etc/.relid \
 	&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
 	/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
-	  && echo i486-ncr-sysv4.3${OS_REL} && exit 0
+	  && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
 	/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
-	  && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
+	  && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
     3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
         /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
-          && echo i486-ncr-sysv4 && exit 0 ;;
+          && { echo i486-ncr-sysv4; exit; } ;;
     m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
 	echo m68k-unknown-lynxos${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     mc68030:UNIX_System_V:4.*:*)
 	echo m68k-atari-sysv4
-	exit 0 ;;
+	exit ;;
     TSUNAMI:LynxOS:2.*:*)
 	echo sparc-unknown-lynxos${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     rs6000:LynxOS:2.*:*)
 	echo rs6000-unknown-lynxos${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
 	echo powerpc-unknown-lynxos${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     SM[BE]S:UNIX_SV:*:*)
 	echo mips-dde-sysv${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     RM*:ReliantUNIX-*:*:*)
 	echo mips-sni-sysv4
-	exit 0 ;;
+	exit ;;
     RM*:SINIX-*:*:*)
 	echo mips-sni-sysv4
-	exit 0 ;;
+	exit ;;
     *:SINIX-*:*:*)
 	if uname -p 2>/dev/null >/dev/null ; then
 		UNAME_MACHINE=`(uname -p) 2>/dev/null`
@@ -1091,68 +1155,72 @@
 	else
 		echo ns32k-sni-sysv
 	fi
-	exit 0 ;;
+	exit ;;
     PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
                       # says <Richard.M.Bartel@ccMail.Census.GOV>
         echo i586-unisys-sysv4
-        exit 0 ;;
+        exit ;;
     *:UNIX_System_V:4*:FTX*)
 	# From Gerald Hewes <hewes@openmarket.com>.
 	# How about differentiating between stratus architectures? -djm
 	echo hppa1.1-stratus-sysv4
-	exit 0 ;;
+	exit ;;
     *:*:*:FTX*)
 	# From seanf@swdc.stratus.com.
 	echo i860-stratus-sysv4
-	exit 0 ;;
+	exit ;;
+    i*86:VOS:*:*)
+	# From Paul.Green@stratus.com.
+	echo ${UNAME_MACHINE}-stratus-vos
+	exit ;;
     *:VOS:*:*)
 	# From Paul.Green@stratus.com.
 	echo hppa1.1-stratus-vos
-	exit 0 ;;
+	exit ;;
     mc68*:A/UX:*:*)
 	echo m68k-apple-aux${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     news*:NEWS-OS:6*:*)
 	echo mips-sony-newsos6
-	exit 0 ;;
+	exit ;;
     R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
 	if [ -d /usr/nec ]; then
 	        echo mips-nec-sysv${UNAME_RELEASE}
 	else
 	        echo mips-unknown-sysv${UNAME_RELEASE}
 	fi
-        exit 0 ;;
+        exit ;;
     BeBox:BeOS:*:*)	# BeOS running on hardware made by Be, PPC only.
 	echo powerpc-be-beos
-	exit 0 ;;
+	exit ;;
     BeMac:BeOS:*:*)	# BeOS running on Mac or Mac clone, PPC only.
 	echo powerpc-apple-beos
-	exit 0 ;;
+	exit ;;
     BePC:BeOS:*:*)	# BeOS running on Intel PC compatible.
 	echo i586-pc-beos
-	exit 0 ;;
+	exit ;;
     SX-4:SUPER-UX:*:*)
 	echo sx4-nec-superux${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     SX-5:SUPER-UX:*:*)
 	echo sx5-nec-superux${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     SX-6:SUPER-UX:*:*)
 	echo sx6-nec-superux${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     Power*:Rhapsody:*:*)
 	echo powerpc-apple-rhapsody${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     *:Rhapsody:*:*)
 	echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     *:Darwin:*:*)
-	case `uname -p` in
-	    *86) UNAME_PROCESSOR=i686 ;;
-	    powerpc) UNAME_PROCESSOR=powerpc ;;
+	UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
+	case $UNAME_PROCESSOR in
+	    unknown) UNAME_PROCESSOR=powerpc ;;
 	esac
 	echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     *:procnto*:*:* | *:QNX:[0123456789]*:*)
 	UNAME_PROCESSOR=`uname -p`
 	if test "$UNAME_PROCESSOR" = "x86"; then
@@ -1160,22 +1228,25 @@
 		UNAME_MACHINE=pc
 	fi
 	echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     *:QNX:*:4*)
 	echo i386-pc-qnx
-	exit 0 ;;
-    NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
+	exit ;;
+    NSE-?:NONSTOP_KERNEL:*:*)
+	echo nse-tandem-nsk${UNAME_RELEASE}
+	exit ;;
+    NSR-?:NONSTOP_KERNEL:*:*)
 	echo nsr-tandem-nsk${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     *:NonStop-UX:*:*)
 	echo mips-compaq-nonstopux
-	exit 0 ;;
+	exit ;;
     BS2000:POSIX*:*:*)
 	echo bs2000-siemens-sysv
-	exit 0 ;;
+	exit ;;
     DS/*:UNIX_System_V:*:*)
 	echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     *:Plan9:*:*)
 	# "uname -m" is not consistent, so use $cputype instead. 386
 	# is converted to i386 for consistency with other x86
@@ -1186,28 +1257,47 @@
 	    UNAME_MACHINE="$cputype"
 	fi
 	echo ${UNAME_MACHINE}-unknown-plan9
-	exit 0 ;;
+	exit ;;
     *:TOPS-10:*:*)
 	echo pdp10-unknown-tops10
-	exit 0 ;;
+	exit ;;
     *:TENEX:*:*)
 	echo pdp10-unknown-tenex
-	exit 0 ;;
+	exit ;;
     KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
 	echo pdp10-dec-tops20
-	exit 0 ;;
+	exit ;;
     XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
 	echo pdp10-xkl-tops20
-	exit 0 ;;
+	exit ;;
     *:TOPS-20:*:*)
 	echo pdp10-unknown-tops20
-	exit 0 ;;
+	exit ;;
     *:ITS:*:*)
 	echo pdp10-unknown-its
-	exit 0 ;;
+	exit ;;
     SEI:*:*:SEIUX)
         echo mips-sei-seiux${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
+    *:DragonFly:*:*)
+	echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
+	exit ;;
+    *:*VMS:*:*)
+    	UNAME_MACHINE=`(uname -p) 2>/dev/null`
+	case "${UNAME_MACHINE}" in
+	    A*) echo alpha-dec-vms ; exit ;;
+	    I*) echo ia64-dec-vms ; exit ;;
+	    V*) echo vax-dec-vms ; exit ;;
+	esac ;;
+    *:XENIX:*:SysV)
+	echo i386-pc-xenix
+	exit ;;
+    i*86:skyos:*:*)
+	echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
+	exit ;;
+    i*86:rdos:*:*)
+	echo ${UNAME_MACHINE}-pc-rdos
+	exit ;;
 esac
 
 #echo '(No uname command or uname output not recognized.)' 1>&2
@@ -1239,7 +1329,7 @@
 #endif
 
 #if defined (__arm) && defined (__acorn) && defined (__unix)
-  printf ("arm-acorn-riscix"); exit (0);
+  printf ("arm-acorn-riscix\n"); exit (0);
 #endif
 
 #if defined (hp300) && !defined (hpux)
@@ -1328,11 +1418,12 @@
 }
 EOF
 
-$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0
+$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
+	{ echo "$SYSTEM_NAME"; exit; }
 
 # Apollos put the system type in the environment.
 
-test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
+test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
 
 # Convex versions that predate uname can use getsysinfo(1)
 
@@ -1341,22 +1432,22 @@
     case `getsysinfo -f cpu_type` in
     c1*)
 	echo c1-convex-bsd
-	exit 0 ;;
+	exit ;;
     c2*)
 	if getsysinfo -f scalar_acc
 	then echo c32-convex-bsd
 	else echo c2-convex-bsd
 	fi
-	exit 0 ;;
+	exit ;;
     c34*)
 	echo c34-convex-bsd
-	exit 0 ;;
+	exit ;;
     c38*)
 	echo c38-convex-bsd
-	exit 0 ;;
+	exit ;;
     c4*)
 	echo c4-convex-bsd
-	exit 0 ;;
+	exit ;;
     esac
 fi
 
@@ -1367,7 +1458,9 @@
 the operating system you are using. It is advised that you
 download the most up to date version of the config scripts from
 
-    ftp://ftp.gnu.org/pub/gnu/config/
+  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
+and
+  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
 
 If the version you run ($0) is already up to date, please
 send the following data and any information you think might be
--- debathena-lprng-3.8.28dfsg.1.orig/debian/copyright
+++ debathena-lprng-3.8.28dfsg.1/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
+
--- debathena-lprng-3.8.28dfsg.1.orig/debian/po/POTFILES.in
+++ debathena-lprng-3.8.28dfsg.1/debian/po/POTFILES.in
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] debathena-lprng.templates
--- debathena-lprng-3.8.28dfsg.1.orig/debian/po/ja.po
+++ debathena-lprng-3.8.28dfsg.1/debian/po/ja.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.
+#
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: lprng 3.8.28-6\n"
+"Report-Msgid-Bugs-To: ubuntu-motu@lists.ubuntu.com\n"
+"POT-Creation-Date: 2009-04-12 04:06+0000\n"
+"PO-Revision-Date: 2006-10-11 00:08+0900\n"
+"Last-Translator: Hideki Yamane (Debian-JP) <henrich@debian.or.jp>\n"
+"Language-Team: Japanese <debian-japanese@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:1001
+msgid "There are two lpd.conf files"
+msgstr "lpd.conf ファイルが 2 つあります"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:1001
+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:2001
+msgid "There are two lpd.perms files"
+msgstr "lpd.perms ファイルが2つあります。"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:2001
+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:3001
+msgid "Make lpr, lprm and lpq setuid root?"
+msgstr "lpr, lprm, lpq を root に setuid しますか?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:3001
+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:4001
+msgid "Start lpd (Printer Daemon) at boot?"
+msgstr "システム起動時に lpd (プリンタデーモン) を立ち上げますか?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:4001
+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 を起動したい理由が思いつかない場合、単に「はい」を選んでくださ"
+"い。"
--- debathena-lprng-3.8.28dfsg.1.orig/debian/po/pt_BR.po
+++ debathena-lprng-3.8.28dfsg.1/debian/po/pt_BR.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: ubuntu-motu@lists.ubuntu.com\n"
+"POT-Creation-Date: 2009-04-12 04:06+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=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:1001
+msgid "There are two lpd.conf files"
+msgstr "Existem dois arquivo lpd.conf"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:1001
+#, 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:2001
+msgid "There are two lpd.perms files"
+msgstr "Existem dois arquivo lpd.perms"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:2001
+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:3001
+msgid "Make lpr, lprm and lpq setuid root?"
+msgstr "Tornar o lpr, lprm e lpq setuid root ?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:3001
+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:4001
+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:4001
+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."
--- debathena-lprng-3.8.28dfsg.1.orig/debian/po/it.po
+++ debathena-lprng-3.8.28dfsg.1/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: ubuntu-motu@lists.ubuntu.com\n"
+"POT-Creation-Date: 2009-04-12 04:06+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:1001
+msgid "There are two lpd.conf files"
+msgstr "Esistono due file lpd.conf"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:1001
+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:2001
+msgid "There are two lpd.perms files"
+msgstr "Esistono due file lpd.perms"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:2001
+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:3001
+msgid "Make lpr, lprm and lpq setuid root?"
+msgstr "Usare lpr, lprm e lpq con il setuid root?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:3001
+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:4001
+msgid "Start lpd (Printer Daemon) at boot?"
+msgstr "Attivare lpd (demone di stampa) all'avvio?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:4001
+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."
--- debathena-lprng-3.8.28dfsg.1.orig/debian/po/ca.po
+++ debathena-lprng-3.8.28dfsg.1/debian/po/ca.po
@@ -0,0 +1,101 @@
+#
+# Catalan translation for lprng package.
+# Copyright (C) 2006 Craig Small.
+# This file is distributed under the same license as the lprng package.
+#
+# Ernest Adrogué <eadrogue@gmx.net>, 2005.
+# Jordà Polo <jorda@ettin.org>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: 3.8.28dfsg.1-1\n"
+"Report-Msgid-Bugs-To: ubuntu-motu@lists.ubuntu.com\n"
+"POT-Creation-Date: 2009-04-12 04:06+0000\n"
+"PO-Revision-Date: 2007-02-22 18:16+0100\n"
+"Last-Translator: Jordà Polo <jorda@ettin.org>\n"
+"Language-Team: Català <debian-l10n-catalan@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:1001
+msgid "There are two lpd.conf files"
+msgstr "Hi ha dos fitxers lpd.conf"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:1001
+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 ""
+"Teniu un fitxer lpd.conf a la ubicació antiga (/etc/lpd.conf), i un altre a "
+"la nova (/etc/lprng/lpd.conf). Des de la versió 3.6.16-1 de lprng, aquest "
+"fitxer només hauria d'estar a /etc/lprng/; si us plau, reviseu els dos "
+"fitxers i esborreu /etc/lpd.conf."
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:2001
+msgid "There are two lpd.perms files"
+msgstr "Hi ha dos fitxers lpd.perms"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:2001
+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 ""
+"Teniu un fitxer lpd.perms a la ubicació antiga (/etc/lpd.perms), i un altre "
+"a la nova (/etc/lprng/lpd.perms). Des de la versió 3.6.16-1 de lprng, aquest "
+"fitxer només hauria d'estar a /etc/lprng/; si us plau, reviseu els dos "
+"fitxers i esborreu /etc/lpd.perms."
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:3001
+msgid "Make lpr, lprm and lpq setuid root?"
+msgstr "Voleu que lpr, lprm i lpq siguin setuid root?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:3001
+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 seguir completament l'estàndard RFC1179 és necessari que aquests "
+"programes siguin setuid root. Això és així principalment per poder crear un "
+"socket amb un número de port baix. El número de port pot ser important si "
+"teniu impressores connectades en xarxa o si heu configurat el fitxer /etc/"
+"lprng/lpd.perms per restringir l'accés a ports no privilegiats. En el cas de "
+"la típica impressora connectada directament a un port paral·lel (o a "
+"qualsevol altre port), podeu deixar aquests programes sense setuid root."
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:4001
+msgid "Start lpd (Printer Daemon) at boot?"
+msgstr "Voleu iniciar el dimoni d'impressió lpd en engegar l'ordinador?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:4001
+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 ""
+"Hi ha gent que per diversos motius prefereix no iniciar l'lpd. Si rebutgeu "
+"aquesta opció, el dimoni lpd no s'executarà. A menys que estigueu segurs que "
+"no voleu iniciar-lo, accepteu simplement el valor predeterminat."
--- debathena-lprng-3.8.28dfsg.1.orig/debian/po/da.po
+++ debathena-lprng-3.8.28dfsg.1/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: ubuntu-motu@lists.ubuntu.com\n"
+"POT-Creation-Date: 2009-04-12 04:06+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:1001
+msgid "There are two lpd.conf files"
+msgstr "Der er to lpd.conf-filer"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:1001
+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:2001
+msgid "There are two lpd.perms files"
+msgstr "Der er to lpd.perms-filer"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:2001
+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:3001
+msgid "Make lpr, lprm and lpq setuid root?"
+msgstr "Gør lpr, lprm og lpq 'setuid root'?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:3001
+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:4001
+msgid "Start lpd (Printer Daemon) at boot?"
+msgstr "Start lpd (printerdæmonen) under opstarten?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:4001
+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."
--- debathena-lprng-3.8.28dfsg.1.orig/debian/po/nl.po
+++ debathena-lprng-3.8.28dfsg.1/debian/po/nl.po
@@ -0,0 +1,113 @@
+# translation of lprng 3.8.28-4_templates.po to Dutch
+# This file is distributed under the same license as the lprng package.
+#
+#    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.
+#
+# Luk Claes <luk.claes(AT)ugent(DOT)be>, 2004
+# Kurt De Bree <kdebree(AT)telenet(DOT)be>, 2006
+# This is an unofficial translation
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: lprng 3.8.28-4\n"
+"Report-Msgid-Bugs-To: ubuntu-motu@lists.ubuntu.com\n"
+"POT-Creation-Date: 2009-04-12 04:06+0000\n"
+"PO-Revision-Date: 2006-07-05 09:28+0100\n"
+"Last-Translator: Kurt De Bree <kdebree(AT)telenet(DOT)be>\n"
+"Language-Team: Debian l10n Dutch <debian-l10n-dutch@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:1001
+msgid "There are two lpd.conf files"
+msgstr "Er zijn twee lpd.conf-bestanden"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:1001
+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:2001
+msgid "There are two lpd.perms files"
+msgstr "Er zijn twee lpd.perms-bestanden"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:2001
+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:3001
+msgid "Make lpr, lprm and lpq setuid root?"
+msgstr "Wilt u lpr, lprm en lpq setuid root maken?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:3001
+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:4001
+msgid "Start lpd (Printer Daemon) at boot?"
+msgstr "Wilt u lpd activeren bij het opstarten van het systeem?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:4001
+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 ""
+"Sommige mensen willen om verschillende redenen de printer achtergronddienst "
+"'lpd' niet starten. Deze optie weigeren betekent dat lpd niet zal starten. "
+"Tenzij u weet waarom lpd niet te starten, aanvaardt u best de standaard "
+"keuze."
--- debathena-lprng-3.8.28dfsg.1.orig/debian/po/de.po
+++ debathena-lprng-3.8.28dfsg.1/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: ubuntu-motu@lists.ubuntu.com\n"
+"POT-Creation-Date: 2009-04-12 04:06+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:1001
+msgid "There are two lpd.conf files"
+msgstr "Es gibt die Datei lpd.conf doppelt"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:1001
+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:2001
+msgid "There are two lpd.perms files"
+msgstr "Es gibt die Datei lpd.perms doppelt"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:2001
+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:3001
+msgid "Make lpr, lprm and lpq setuid root?"
+msgstr "lpr, lprm und lpq mit root-Rechten betreiben?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:3001
+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:4001
+msgid "Start lpd (Printer Daemon) at boot?"
+msgstr "lpd (Druckerdienst) beim Booten starten?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:4001
+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."
--- debathena-lprng-3.8.28dfsg.1.orig/debian/po/fr.po
+++ debathena-lprng-3.8.28dfsg.1/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: ubuntu-motu@lists.ubuntu.com\n"
+"POT-Creation-Date: 2009-04-12 04:06+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=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.10.2\n"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:1001
+msgid "There are two lpd.conf files"
+msgstr "Deux fichiers lpd.conf ont été trouvés"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:1001
+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:2001
+msgid "There are two lpd.perms files"
+msgstr "Deux fichiers lpd.perms ont été trouvés"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:2001
+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:3001
+msgid "Make lpr, lprm and lpq setuid root?"
+msgstr "Lpr, lprm et lpq doivent-ils être « setuid root » ?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:3001
+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:4001
+msgid "Start lpd (Printer Daemon) at boot?"
+msgstr "Faut-il lancer lpd (gestionnaire d'imprimantes) au démarrage ?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:4001
+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."
--- debathena-lprng-3.8.28dfsg.1.orig/debian/po/gl.po
+++ debathena-lprng-3.8.28dfsg.1/debian/po/gl.po
@@ -0,0 +1,98 @@
+# Galician translation of lprng's debconf templates
+# This file is distributed under the same license as the lprng package.
+# Jacobo Tarrio <jtarrio@debian.org>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: lprng\n"
+"Report-Msgid-Bugs-To: ubuntu-motu@lists.ubuntu.com\n"
+"POT-Creation-Date: 2009-04-12 04:06+0000\n"
+"PO-Revision-Date: 2007-03-05 22:19+0100\n"
+"Last-Translator: Jacobo Tarrio <jtarrio@debian.org>\n"
+"Language-Team: Galician <proxecto@trasno.net>\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:1001
+msgid "There are two lpd.conf files"
+msgstr "Hai dous ficheiros lpd.conf"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:1001
+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 ""
+"Ten un ficheiro lpd.conf na ubicación antiga (/etc/lpd.conf) e na ubicación "
+"nova (/etc/lprng/lpd.conf). A partires de lprng versión 3.6.16-1, este "
+"ficheiro só debería estar en /etc/lprng; comprobe os dous ficheiros e "
+"elimine /etc/lpd.conf"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:2001
+msgid "There are two lpd.perms files"
+msgstr "Hai dous ficheiros lpd.perms"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:2001
+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 ""
+"Ten un ficheiro lpd.perms na ubicación antiga (/etc/lpd.perms) e na "
+"ubicación nova (/etc/lprng/lpd.perms). A partires de lprng versión 3.6.16-1, "
+"este ficheiro só debería estar en /etc/lprng; comprobe os dous ficheiros e "
+"elimine /etc/lpd.perms"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:3001
+msgid "Make lpr, lprm and lpq setuid root?"
+msgstr "¿Quere darlle privilexios de administrador a lpr, lprm e lpq?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:3001
+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 seguir completamente a especificación RFC1179 ten que lle dar "
+"privilexios de administrador a estes programas. Isto é así principalmente "
+"para que poidan crear un socket cun número de porto baixo. O número de porto "
+"baixo pode ser importante se ten impresoras de rede ou axustou o ficheiro /"
+"etc/lprng/lpd.perms para restrinxir o acceso aos portos non privilexiados. "
+"Para o escenario da típica impresora conectada localmente ao porto paralelo "
+"(e moitos outros), pode deixar estes programas sen privilexios de "
+"administrador."
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:4001
+msgid "Start lpd (Printer Daemon) at boot?"
+msgstr "¿Iniciar lpd (servizo de impresión) co ordenador?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:4001
+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 ""
+"Hai xente que, por varios motivos, non quere iniciar lpd. Se rexeita esta "
+"opción, lpd non se ha iniciar. A menos que saiba por que quere que non se "
+"inicie lpd, acepte o valor por defecto."
--- debathena-lprng-3.8.28dfsg.1.orig/debian/po/vi.po
+++ debathena-lprng-3.8.28dfsg.1/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: ubuntu-motu@lists.ubuntu.com\n"
+"POT-Creation-Date: 2009-04-12 04:06+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:1001
+msgid "There are two lpd.conf files"
+msgstr "Có hai tập tin «lpd.conf» rồi."
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:1001
+#, 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:2001
+msgid "There are two lpd.perms files"
+msgstr "Có hai tập tin «lpd.perms» rồi."
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:2001
+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:3001
+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:3001
+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:4001
+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:4001
+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."
--- debathena-lprng-3.8.28dfsg.1.orig/debian/po/cs.po
+++ debathena-lprng-3.8.28dfsg.1/debian/po/cs.po
@@ -0,0 +1,103 @@
+#
+#    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: ubuntu-motu@lists.ubuntu.com\n"
+"POT-Creation-Date: 2009-04-12 04:06+0000\n"
+"PO-Revision-Date: 2007-01-27 18:21+0100\n"
+"Last-Translator: Jan Outrata <outrataj@upcase.inf.upol.cz>\n"
+"Language-Team: Czech <debian-l10n-czech@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:1001
+msgid "There are two lpd.conf files"
+msgstr "Existují dva soubory lpd.conf"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:1001
+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 (/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 oba soubory a odstraňte /etc/lpd.conf"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:2001
+msgid "There are two lpd.perms files"
+msgstr "Existují dva soubory lpd.perms"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:2001
+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:3001
+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:3001
+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:4001
+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:4001
+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í."
--- debathena-lprng-3.8.28dfsg.1.orig/debian/po/templates.pot
+++ debathena-lprng-3.8.28dfsg.1/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: ubuntu-motu@lists.ubuntu.com\n"
+"POT-Creation-Date: 2009-04-12 04:06+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:1001
+msgid "There are two lpd.conf files"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:1001
+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:2001
+msgid "There are two lpd.perms files"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:2001
+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:3001
+msgid "Make lpr, lprm and lpq setuid root?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:3001
+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:4001
+msgid "Start lpd (Printer Daemon) at boot?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:4001
+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 ""
--- debathena-lprng-3.8.28dfsg.1.orig/debian/po/sv.po
+++ debathena-lprng-3.8.28dfsg.1/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: ubuntu-motu@lists.ubuntu.com\n"
+"POT-Creation-Date: 2009-04-12 04:06+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=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:1001
+msgid "There are two lpd.conf files"
+msgstr "Det finns två lpd.conf filer"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:1001
+#, 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:2001
+msgid "There are two lpd.perms files"
+msgstr "Det finns två lpd.perms filer"
+
+#. Type: note
+#. Description
+#: ../debathena-lprng.templates:2001
+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:3001
+msgid "Make lpr, lprm and lpq setuid root?"
+msgstr "Gör lpr, lprm och lpq setuid root?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:3001
+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:4001
+msgid "Start lpd (Printer Daemon) at boot?"
+msgstr "Starta lpd (utskriftserver-demonen) vid boot?"
+
+#. Type: boolean
+#. Description
+#: ../debathena-lprng.templates:4001
+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."
--- debathena-lprng-3.8.28dfsg.1.orig/debian/debathena-lprng.dirs
+++ debathena-lprng-3.8.28dfsg.1/debian/debathena-lprng.dirs
@@ -0,0 +1,3 @@
+usr/bin
+usr/sbin
+etc/lprng
--- debathena-lprng-3.8.28dfsg.1.orig/debian/debathena-lprng.cron.daily
+++ debathena-lprng-3.8.28dfsg.1/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
+
+
--- debathena-lprng-3.8.28dfsg.1.orig/debian/debathena-lprng.init.d
+++ debathena-lprng-3.8.28dfsg.1/debian/debathena-lprng.init.d
@@ -0,0 +1,144 @@
+#!/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
+### 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
+if [ -r /etc/default/$NAME ]; then
+	. /etc/default/$NAME
+fi
+#
+# The pidfile is made up of <lockfile>.<lpd_port>
+# lockfile defaults to /var/run/lprng/lpd
+# lpd_port defaults to printer
+
+# 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
+  if [ ! -d /var/run/lprng ]; then
+    mkdir /var/run/lprng
+  fi
+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
+
+# Since /var/run can be a tmpfs, we need to make sure that /var/run/lprng exists
+RUNDIR=$(dirname ${PIDFILE})
+[ ! -d ${RUNDIR} ] && mkdir -p ${RUNDIR}
+
+set -e
+
+case "$1" in
+  start)
+	if [ "$START_LPD" != "yes" ]; then
+		log_warning_msg "Not starting LPRng - edit /etc/default/lprng and change START_LPD to be yes."
+		exit 0
+    fi
+	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 --oknodo --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
--- debathena-lprng-3.8.28dfsg.1.orig/debian/debathena-lprng.examples
+++ debathena-lprng-3.8.28dfsg.1/debian/debathena-lprng.examples
@@ -0,0 +1,2 @@
+printcap
+lpd.conf
--- debathena-lprng-3.8.28dfsg.1.orig/debian/README.Debian
+++ debathena-lprng-3.8.28dfsg.1/debian/README.Debian
@@ -0,0 +1,85 @@
+		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.
+
+Using lprng in a chroot
+-----------------------
+If you use lprng inside a chroot you will be unable to print if you
+try to use localhost.  This is because lprng is too clever and when
+it sees localhost it uses a unix socket (which may not exist in the
+chroot).
+
+The solution is to either mount /var/run into the chroot or alternatively
+add the following line to the lpd.conf file inside the chroot:
+unix_socket_path=off
+
+This will force lprng client inside the chroot to actually use a TCP socket
+and not the (non-existent) unix socket.
+
+Removed Files
+-------------
+rfc1179.txt has been removed from the source file as it is considered not
+DFSG-free.
+
--- debathena-lprng-3.8.28dfsg.1.orig/debian/debathena-lprng.templates
+++ debathena-lprng-3.8.28dfsg.1/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.
--- debathena-lprng-3.8.28dfsg.1.orig/debian/patches/10_gethostinfo.dpatch
+++ debathena-lprng-3.8.28dfsg.1/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 );
--- debathena-lprng-3.8.28dfsg.1.orig/debian/patches/30_lpc_manpage_section.dpatch
+++ debathena-lprng-3.8.28dfsg.1/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
--- debathena-lprng-3.8.28dfsg.1.orig/debian/patches/20_Makefile_syntax.dpatch
+++ debathena-lprng-3.8.28dfsg.1/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} \
--- debathena-lprng-3.8.28dfsg.1.orig/debian/patches/10_Makefile_lpd_conf.dpatch
+++ debathena-lprng-3.8.28dfsg.1/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/$@.$$$$ ; \
--- debathena-lprng-3.8.28dfsg.1.orig/debian/patches/10_lpd_perms_noremote.dpatch
+++ debathena-lprng-3.8.28dfsg.1/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
--- debathena-lprng-3.8.28dfsg.1.orig/debian/patches/30_lpd_conf_manpage.dpatch
+++ debathena-lprng-3.8.28dfsg.1/debian/patches/30_lpd_conf_manpage.dpatch
@@ -0,0 +1,22 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 30_lpd_conf_manpage.dpatch by  <csmall@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Added unix_socket_path line Bug #311774
+
+@DPATCH@
+diff -urNad lprng-3.8.28~/man/lpd.conf.n lprng-3.8.28/man/lpd.conf.n
+--- lprng-3.8.28~/man/lpd.conf.n	2002-06-12 10:31:55.000000000 +1000
++++ lprng-3.8.28/man/lpd.conf.n	2006-07-18 12:22:05.000000000 +1000
+@@ -573,6 +573,11 @@
+ \fBsyslog_device\fR (default: /dev/console)
+ Log to this device if all else fails.
+ .TP
++\fBunix_socket_path\fR (default: /var/run/lprng/socket)
++Location of the Unix socket that lpd listens on and LPRng clients
++attempt to communicate to when host is localhost. Set to \fIoff\fR
++to disable listening and connecting via a Unix socket.
++.TP
+ \fBuse_date\fR (default: no)
+ No information about this parameter available.
+ .TP
--- debathena-lprng-3.8.28dfsg.1.orig/debian/patches/10_lprng_certs.dpatch
+++ debathena-lprng-3.8.28dfsg.1/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
--- debathena-lprng-3.8.28dfsg.1.orig/debian/patches/30_lp_manpage.dpatch
+++ debathena-lprng-3.8.28dfsg.1/debian/patches/30_lp_manpage.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 30_lp_manpage.dpatch by  <csmall@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad lprng-3.8.28~/man/lp.n lprng-3.8.28/man/lp.n
+--- lprng-3.8.28~/man/lp.n	2002-07-24 06:03:31.000000000 +1000
++++ lprng-3.8.28/man/lp.n	2006-07-18 11:51:31.000000000 +1000
+@@ -344,7 +344,7 @@
+ .B \-Z
+ option.
+ .TP
+-\f3\-D \f2debug-optios\f1
++\f3\-D \f2debug-options\f1
+ A list of debug options for the program.
+ These can be a number (debug level) or keyword and level (flag),
+ such as 9, network, network+2, etc.
--- debathena-lprng-3.8.28dfsg.1.orig/debian/patches/10_checkpc_manpage.dpatch
+++ debathena-lprng-3.8.28dfsg.1/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]
+ ] [
--- debathena-lprng-3.8.28dfsg.1.orig/debian/patches/00list
+++ debathena-lprng-3.8.28dfsg.1/debian/patches/00list
@@ -0,0 +1,10 @@
+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
+30_lpd_conf_manpage
+30_lp_manpage
--- debathena-lprng-3.8.28dfsg.1.orig/debian/patches/10_gcc4.dpatch
+++ debathena-lprng-3.8.28dfsg.1/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);
+ 	}
--- debathena-lprng-3.8.28dfsg.1.orig/debian/patches/10_linelist_closefd.dpatch
+++ debathena-lprng-3.8.28dfsg.1/debian/patches/10_linelist_closefd.dpatch
@@ -0,0 +1,26 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_linelist_closefd.dpatch by  <csmall@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Close FD before creating LDAP sockets (Bug #360788)
+
+@DPATCH@
+diff -urNad lprng-3.8.28~/src/common/linelist.c lprng-3.8.28/src/common/linelist.c
+--- lprng-3.8.28~/src/common/linelist.c	2004-09-25 06:19:57.000000000 +1000
++++ lprng-3.8.28/src/common/linelist.c	2006-07-18 11:13:16.000000000 +1000
+@@ -2755,6 +2755,7 @@
+ 		} else {
+ 			Full_user_perms();
+ 		}
++		close_on_exec(passfd->count);
+ 		for( i = 0; i < passfd->count; ++i ){
+ 			fd = Cast_ptr_to_int(passfd->list[i]);
+ 			if( dup2(fd,i) == -1 ){
+@@ -2764,7 +2765,6 @@
+ 				exit(JFAIL);
+ 			}
+ 		}
+-		close_on_exec(passfd->count);
+ 		execve(cmd.list[0],cmd.list,env.list);
+ 		SNPRINTF(error,sizeof(error))
+ 			"Make_passthrough: pid %d, execve '%s' failed - '%s'\n", getpid(),
--- debathena-lprng-3.8.28dfsg.1.orig/debian/printcap
+++ debathena-lprng-3.8.28dfsg.1/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
--- debathena-lprng-3.8.28dfsg.1.orig/debian/debathena-lprng.postrm
+++ debathena-lprng-3.8.28dfsg.1/debian/debathena-lprng.postrm
@@ -0,0 +1,47 @@
+#! /bin/sh
+# postrm script for LPRng
+#
+# 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
+	     update-rc.d lprng remove >/dev/null || exit $?
+       ;;
+	   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
--- debathena-lprng-3.8.28dfsg.1.orig/debian/changelog
+++ debathena-lprng-3.8.28dfsg.1/debian/changelog
@@ -0,0 +1,821 @@
+debathena-lprng (3.8.28dfsg.1-1.1ubuntu2debathena5) unstable; urgency=low
+
+  * Rename commands.
+  * Rename package to debathena-lprng.
+
+ -- Dorothy E. Build <debuild@debuild.mit.edu>  Sun, 12 Apr 2009 00:03:41 -0400
+
+lprng (3.8.28dfsg.1-1.1ubuntu2) gutsy; urgency=low
+
+  * Updated libwrap-dev build-dep for libwrap-dev -> libwrap0-dev transition. 
+
+ -- Lucas Nussbaum <lucas@lucas-nussbaum.net>  Wed, 29 Aug 2007 09:22:22 +0200
+
+lprng (3.8.28dfsg.1-1.1ubuntu1) feisty; urgency=low
+
+  * Merge from Debian unstable. Ubuntu change:
+     - debian/init.d: create /var/run/lprng if it doesn't exist
+  * Set Maintainer to Ubuntu MOTU Developers
+
+ -- Adrien Cunin <adri2000@ubuntu.com>  Fri, 16 Mar 2007 18:27:44 +0100
+
+lprng (3.8.28dfsg.1-1.1) unstable; urgency=low
+
+  * Non-maintainer upload to fix pending l10n issues.
+  * Debconf translations:
+    - Czech. Closes: #408724
+    - Catalan. Closes: #411991
+    - Galician. Closes: #413569
+    - Japanese corrected. Closes: #399077
+    - Convert all files, but ja.po, to UTF-8
+
+ -- Christian Perrier <bubulle@debian.org>  Tue,  6 Mar 2007 08:57:52 +0100
+
+lprng (3.8.28dfsg.1-1ubuntu1) feisty; urgency=low
+
+  * Merge from debian unstable. Remaining changes:
+    - init file creates /var/run/lprng if it does not exist.
+
+ -- Jeremie Corbier <jcorbier@ubuntu.com>  Sat, 18 Nov 2006 12:01:45 -0800
+
+lprng (3.8.28dfsg.1-1) unstable; urgency=low
+
+  * Removed RFC 1179 Closes: 393395
+  * Init script changed to handle RAMRUN option Closes: #390687
+  * Updated Japanese po-debconf file Closes: #392167
+
+ -- Craig Small <csmall@debian.org>  Wed, 25 Oct 2006 14:47:02 +1000
+
+lprng (3.8.28-6ubuntu1) edgy; urgency=low
+
+  * Merge from debian unstable.
+
+ -- Jeremie Corbier <jcorbier@ubuntu.com>  Thu, 10 Aug 2006 08:26:04 +0200
+
+lprng (3.8.28-6) unstable; urgency=low
+
+  * init.d returns ok if stop is run but lpd is already dead
+  * Rolling back 10_linelist_closefd patch makes lpd print Closes: #381512
+
+ -- Craig Small <csmall@debian.org>  Sun,  6 Aug 2006 07:48:22 +1000
+
+lprng (3.8.28-5ubuntu1) edgy; urgency=low
+
+  * Merge with Debian unstable.
+
+ -- Jeremie Corbier <jcorbier@ubuntu.com>  Thu,  3 Aug 2006 23:28:49 +0200
+
+lprng (3.8.28-5) unstable; urgency=low
+
+  * close fds before LDAP sockets Closes: #360788
+  * Check configuration file location only with old prev versions
+  * preinst has POSIX checks Closes: #358628
+  * lp.1 optios->options Closes: #368482
+  * README and lpd.conf.8 mention unix_socket_path Closes: #311774
+  * Updated nl.po Closes: #377249
+  * Standards version 3.7.2
+
+ -- Craig Small <csmall@debian.org>  Tue, 18 Jul 2006 11:11:02 +1000
+
+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:
+
--- debathena-lprng-3.8.28dfsg.1.orig/debian/compat
+++ debathena-lprng-3.8.28dfsg.1/debian/compat
@@ -0,0 +1 @@
+5
--- debathena-lprng-3.8.28dfsg.1.orig/debian/debathena-lprng.mime
+++ debathena-lprng-3.8.28dfsg.1/debian/debathena-lprng.mime
@@ -0,0 +1 @@
+*/*; false; print=lpr %s; priority=0
--- debathena-lprng-3.8.28dfsg.1.orig/debian/debathena-lprng.prerm
+++ debathena-lprng-3.8.28dfsg.1/debian/debathena-lprng.prerm
@@ -0,0 +1,45 @@
+#!/bin/sh
+# prerm script for lprng
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    upgrade|remove)
+        if [ -x "/etc/init.d/lprng" ]; then
+            if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
+                invoke-rc.d lprng stop 
+		    else
+	          /etc/init.d/lprng stop
+            fi
+          fi
+		;;
+    deconfigure|failed-upgrade)
+        ;;
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- debathena-lprng-3.8.28dfsg.1.orig/debian/debathena-lprng.preinst
+++ debathena-lprng-3.8.28dfsg.1/debian/debathena-lprng.preinst
@@ -0,0 +1,61 @@
+#! /bin/sh
+# preinst script for LPRng
+#
+# see: dh_installdeb(1)
+
+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>
+
+check_configfile_locations() {
+  # 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 ] && [ -f /etc/lpd.conf ]; then
+	db_input high lprng/twolpd_conf
+  fi
+  if [ -f /etc/lprng/lpd.perms ] && [ -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 ] && [  -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 ] && [ -f /etc/lpd.perms ]; then
+	  cp /etc/lpd.perms /etc/lprng/lpd.perms
+	  rm -f /etc/lpd.perms
+	fi
+  fi
+  db_stop
+
+}
+
+# We only need to worry about old configuration files if the old
+# version (either installed or just config files is older than
+if dpkg --compare-versions "$2" lt 3.6.16-1; then
+  check_configfile_locations
+fi
+
+case "$1" in
+    install|upgrade|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#
+
--- debathena-lprng-3.8.28dfsg.1.orig/debian/rules
+++ debathena-lprng-3.8.28dfsg.1/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 -X.pdf
+	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 -n
+	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
--- debathena-lprng-3.8.28dfsg.1.orig/debian/control
+++ debathena-lprng-3.8.28dfsg.1/debian/control
@@ -0,0 +1,35 @@
+Source: debathena-lprng
+Section: debathena/net
+Priority: extra
+Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
+XSBC-Original-Maintainer: Craig Small <csmall@debian.org>
+Build-Depends: debhelper (>= 5), mawk | gawk, procps, libwrap0-dev, libkrb5-dev, debconf | debconf-2.0, libssl-dev, po-debconf, dpatch
+Build-Depends-Indep: jade, docbook, tidy, jadetex, imagemagick
+Standards-Version: 3.7.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 Debathena project to rename the
+ package and commands so that it no longer conflicts with cupsys-bsd.
+
+Package: lprng-doc
+Architecture: all
+Section: debathena-system/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 Debathena project to rename the
+ package and commands so that it no longer conflicts with cupsys-bsd.
+
--- debathena-lprng-3.8.28dfsg.1.orig/debian/lprng-doc.docs
+++ debathena-lprng-3.8.28dfsg.1/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
--- debathena-lprng-3.8.28dfsg.1.orig/debian/debathena-lprng.postinst
+++ debathena-lprng-3.8.28dfsg.1/debian/debathena-lprng.postinst
@@ -0,0 +1,104 @@
+#! /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
+
+# Have to manually start lprng as a failed startup is not a failed install
+if [ -x "/etc/init.d/lprng" ]; then
+	update-rc.d lprng defaults >/dev/null
+	if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
+		invoke-rc.d lprng start || true
+	else
+		/etc/init.d/lprng start || true
+	fi
+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
+
+# vim:et:sw=4:ts=4:
--- debathena-lprng-3.8.28dfsg.1.orig/debian/lpd.conf-debian
+++ debathena-lprng-3.8.28dfsg.1/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
+#
+
--- debathena-lprng-3.8.28dfsg.1.orig/debian/lprng-doc.doc-base.lprngref
+++ debathena-lprng-3.8.28dfsg.1/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
+
+  
--- debathena-lprng-3.8.28dfsg.1.orig/debian/watch
+++ debathena-lprng-3.8.28dfsg.1/debian/watch
@@ -0,0 +1,6 @@
+# watch file for LPRng
+#
+version=2
+
+ftp://ftp.lprng.com/pub/LPRng/LPRng/LPRng-(.*)\.tgz \
+  debian uupdate
--- debathena-lprng-3.8.28dfsg.1.orig/debian/debathena-lprng.config
+++ debathena-lprng-3.8.28dfsg.1/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
+ 
+
--- debathena-lprng-3.8.28dfsg.1.orig/debian/lprng-docs
+++ debathena-lprng-3.8.28dfsg.1/debian/lprng-docs
@@ -0,0 +1,2 @@
+DOCS/LPRng-Reference.pdf
+DOCS/LPRng-Reference.html
--- debathena-lprng-3.8.28dfsg.1.orig/debian/lprng-doc.doc-base.cookbook
+++ debathena-lprng-3.8.28dfsg.1/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
+
+  
