--- slrn-0.9.8.1pl1.orig/src/config.sub +++ slrn-0.9.8.1pl1/src/config.sub @@ -0,0 +1,1608 @@ +#! /bin/sh +# Configuration validation subroutine script. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. + +timestamp='2006-02-23' + +# This file is (in principle) common to ALL GNU software. +# The presence of a machine in this file suggests that SOME GNU software +# can handle that machine. It does not imply ALL GNU software can. +# +# 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 +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# 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., 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 . Submit a context +# diff and a properly formatted ChangeLog entry. +# +# Configuration subroutine to validate and canonicalize a configuration type. +# Supply the specified configuration type as an argument. +# If it is invalid, we print an error message on stderr and exit with code 1. +# Otherwise, we print the canonical config type on stdout and succeed. + +# This file is supposed to be the same for all GNU packages +# and recognize all the CPU types, system types and aliases +# that are meaningful with *any* GNU software. +# Each package is responsible for reporting which valid configurations +# it does not support. The user should be able to distinguish +# a failure to support a valid configuration from a meaningless +# configuration. + +# The goal of this file is to map all the various variations of a given +# machine specification into a single specification in the form: +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or in some cases, the newer four-part form: +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM +# It is wrong to echo any other type of specification. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] CPU-MFR-OPSYS + $0 [OPTION] ALIAS + +Canonicalize a configuration name. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.sub ($timestamp) + +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 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" + exit 1 ;; + + *local*) + # First pass through any local machine types. + echo $1 + exit ;; + + * ) + break ;; + esac +done + +case $# in + 0) echo "$me: missing argument$help" >&2 + exit 1;; + 1) ;; + *) echo "$me: too many arguments$help" >&2 + exit 1;; +esac + +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). +# 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* | 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/'` + ;; + *) + basic_machine=`echo $1 | sed 's/-[^-]*$//'` + if [ $basic_machine != $1 ] + then os=`echo $1 | sed 's/.*-/-/'` + else os=; fi + ;; +esac + +### Let's recognize common machines as not being operating systems so +### that things like config.sub decstation-3100 work. We also +### recognize some manufacturers as not being operating systems, so we +### can provide default operating systems below. +case $os in + -sun*os*) + # Prevent following clause from handling this invalid input. + ;; + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ + -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 | -knuth | -cray) + os= + basic_machine=$1 + ;; + -sim | -cisco | -oki | -wec | -winbond) + os= + basic_machine=$1 + ;; + -scout) + ;; + -wrs) + os=-vxworks + basic_machine=$1 + ;; + -chorusos*) + os=-chorusos + basic_machine=$1 + ;; + -chorusrdb) + os=-chorusrdb + basic_machine=$1 + ;; + -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/'` + ;; + -sco4) + os=-sco3.2v4 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2.[4-9]*) + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2v[4-9]*) + # 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/'` + ;; + -udk*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -isc) + os=-isc2.2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -clix*) + basic_machine=clipper-intergraph + ;; + -isc*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -lynx*) + os=-lynxos + ;; + -ptx*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` + ;; + -windowsnt*) + os=`echo $os | sed -e 's/windowsnt/winnt/'` + ;; + -psos*) + os=-psos + ;; + -mint | -mint[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; +esac + +# Decode aliases for certain CPU-COMPANY combinations. +case $basic_machine in + # Recognize the basic CPU types without company name. + # Some are omitted here because they have special meanings below. + 1750a | 580 \ + | a29k \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ + | 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 | iq2000 \ + | m32r | m32rle | m68000 | m68k | m88k | maxq | mb | microblaze | mcore \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64el \ + | mips64vr | mips64vrel \ + | mips64orion | mips64orionel \ + | 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 \ + | or32 \ + | pdp10 | pdp11 | pj | pjl \ + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ + | pyramid \ + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ + | sh64 | sh64le \ + | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b \ + | strongarm \ + | tahoe | thumb | tic4x | tic80 | tron \ + | v850 | v850e \ + | we32k \ + | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ + | z8k) + basic_machine=$basic_machine-unknown + ;; + m32c) + basic_machine=$basic_machine-unknown + ;; + m6811 | m68hc11 | m6812 | m68hc12) + # Motorola 68HC11/12. + basic_machine=$basic_machine-unknown + os=-none + ;; + 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 + # (2) the word "unknown" tends to confuse beginning users. + i*86 | x86_64) + basic_machine=$basic_machine-pc + ;; + # Object if more than one company name word. + *-*-*) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; + # Recognize the basic CPU types with company name. + 580-* \ + | a29k-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ + | avr-* \ + | bfin-* | bs2000-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ + | 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-* | iq2000-* \ + | m32r-* | m32rle-* \ + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ + | m88110-* | m88k-* | maxq-* | mcore-* \ + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ + | mips16-* \ + | mips64-* | mips64el-* \ + | mips64vr-* | mips64vrel-* \ + | mips64orion-* | mips64orionel-* \ + | 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-* \ + | 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[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \ + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ + | sparclite-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ + | tahoe-* | thumb-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tron-* \ + | v850-* | v850e-* | vax-* \ + | we32k-* \ + | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ + | xstormy16-* | xtensa-* \ + | ymp-* \ + | z8k-*) + ;; + m32c-*) + ;; + # Recognize the various machine names and aliases which stand + # for a CPU type and a company and sometimes even an OS. + 386bsd) + basic_machine=i386-unknown + os=-bsd + ;; + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) + basic_machine=m68000-att + ;; + 3b*) + basic_machine=we32k-att + ;; + a29khif) + basic_machine=a29k-amd + os=-udi + ;; + abacus) + basic_machine=abacus-unknown + ;; + adobe68k) + basic_machine=m68010-adobe + os=-scout + ;; + alliant | fx80) + basic_machine=fx80-alliant + ;; + altos | altos3068) + basic_machine=m68k-altos + ;; + am29k) + basic_machine=a29k-none + os=-bsd + ;; + amd64) + basic_machine=x86_64-pc + ;; + amd64-*) + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + amdahl) + basic_machine=580-amdahl + os=-sysv + ;; + amiga | amiga-*) + basic_machine=m68k-unknown + ;; + amigaos | amigados) + basic_machine=m68k-unknown + os=-amigaos + ;; + amigaunix | amix) + basic_machine=m68k-unknown + os=-sysv4 + ;; + apollo68) + basic_machine=m68k-apollo + os=-sysv + ;; + apollo68bsd) + basic_machine=m68k-apollo + os=-bsd + ;; + aux) + basic_machine=m68k-apple + os=-aux + ;; + balance) + basic_machine=ns32k-sequent + os=-dynix + ;; + c90) + basic_machine=c90-cray + os=-unicos + ;; + convex-c1) + basic_machine=c1-convex + os=-bsd + ;; + convex-c2) + basic_machine=c2-convex + os=-bsd + ;; + convex-c32) + basic_machine=c32-convex + os=-bsd + ;; + convex-c34) + basic_machine=c34-convex + os=-bsd + ;; + convex-c38) + basic_machine=c38-convex + os=-bsd + ;; + cray | j90) + 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 + ;; + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) + basic_machine=mips-dec + ;; + decsystem10* | dec10*) + basic_machine=pdp10-dec + os=-tops10 + ;; + decsystem20* | dec20*) + basic_machine=pdp10-dec + os=-tops20 + ;; + delta | 3300 | motorola-3300 | motorola-delta \ + | 3300-motorola | delta-motorola) + basic_machine=m68k-motorola + ;; + delta88) + basic_machine=m88k-motorola + os=-sysv3 + ;; + djgpp) + basic_machine=i586-pc + os=-msdosdjgpp + ;; + dpx20 | dpx20-*) + basic_machine=rs6000-bull + os=-bosx + ;; + dpx2* | dpx2*-bull) + basic_machine=m68k-bull + os=-sysv3 + ;; + ebmon29k) + basic_machine=a29k-amd + os=-ebmon + ;; + elxsi) + basic_machine=elxsi-elxsi + os=-bsd + ;; + encore | umax | mmax) + basic_machine=ns32k-encore + ;; + es1800 | OSE68k | ose68k | ose | OSE) + basic_machine=m68k-ericsson + os=-ose + ;; + fx2800) + basic_machine=i860-alliant + ;; + genix) + basic_machine=ns32k-ns + ;; + gmicro) + basic_machine=tron-gmicro + os=-sysv + ;; + go32) + basic_machine=i386-pc + os=-go32 + ;; + h3050r* | hiux*) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + h8300hms) + basic_machine=h8300-hitachi + os=-hms + ;; + h8300xray) + basic_machine=h8300-hitachi + os=-xray + ;; + h8500hms) + basic_machine=h8500-hitachi + os=-hms + ;; + harris) + basic_machine=m88k-harris + os=-sysv3 + ;; + hp300-*) + basic_machine=m68k-hp + ;; + hp300bsd) + basic_machine=m68k-hp + os=-bsd + ;; + hp300hpux) + basic_machine=m68k-hp + os=-hpux + ;; + hp3k9[0-9][0-9] | hp9[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k2[0-9][0-9] | hp9k31[0-9]) + basic_machine=m68000-hp + ;; + hp9k3[2-9][0-9]) + basic_machine=m68k-hp + ;; + hp9k6[0-9][0-9] | hp6[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k7[0-79][0-9] | hp7[0-79][0-9]) + basic_machine=hppa1.1-hp + ;; + hp9k78[0-9] | hp78[0-9]) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][13679] | hp8[0-9][13679]) + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][0-9] | hp8[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hppa-next) + os=-nextstep3 + ;; + hppaosf) + basic_machine=hppa1.1-hp + os=-osf + ;; + hppro) + basic_machine=hppa1.1-hp + os=-proelf + ;; + i370-ibm* | ibm*) + basic_machine=i370-ibm + ;; +# I'm not sure what "Sysv32" means. Should this be sysv3.2? + i*86v32) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv32 + ;; + i*86v4*) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv4 + ;; + i*86v) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv + ;; + i*86sol2) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-solaris2 + ;; + i386mach) + basic_machine=i386-mach + os=-mach + ;; + i386-vsta | vsta) + basic_machine=i386-unknown + os=-vsta + ;; + iris | iris4d) + basic_machine=mips-sgi + case $os in + -irix*) + ;; + *) + os=-irix4 + ;; + esac + ;; + isi68 | isi) + basic_machine=m68k-isi + os=-sysv + ;; + m88k-omron*) + basic_machine=m88k-omron + ;; + magnum | m3230) + basic_machine=mips-mips + os=-sysv + ;; + merlin) + basic_machine=ns32k-utek + os=-sysv + ;; + mingw32) + basic_machine=i386-pc + os=-mingw32 + ;; + miniframe) + basic_machine=m68000-convergent + ;; + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; + mips3*-*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` + ;; + mips3*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown + ;; + monitor) + basic_machine=m68k-rom68k + os=-coff + ;; + morphos) + basic_machine=powerpc-unknown + os=-morphos + ;; + msdos) + basic_machine=i386-pc + os=-msdos + ;; + ms1-*) + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` + ;; + mvs) + basic_machine=i370-ibm + os=-mvs + ;; + ncr3000) + basic_machine=i486-ncr + os=-sysv4 + ;; + netbsd386) + basic_machine=i386-unknown + os=-netbsd + ;; + netwinder) + basic_machine=armv4l-rebel + os=-linux + ;; + news | news700 | news800 | news900) + basic_machine=m68k-sony + os=-newsos + ;; + news1000) + basic_machine=m68030-sony + os=-newsos + ;; + news-3600 | risc-news) + basic_machine=mips-sony + os=-newsos + ;; + necv70) + basic_machine=v70-nec + os=-sysv + ;; + next | m*-next ) + basic_machine=m68k-next + case $os in + -nextstep* ) + ;; + -ns2*) + os=-nextstep2 + ;; + *) + os=-nextstep3 + ;; + esac + ;; + nh3000) + basic_machine=m68k-harris + os=-cxux + ;; + nh[45]000) + basic_machine=m88k-harris + os=-cxux + ;; + nindy960) + basic_machine=i960-intel + os=-nindy + ;; + mon960) + basic_machine=i960-intel + os=-mon960 + ;; + nonstopux) + basic_machine=mips-compaq + os=-nonstopux + ;; + np1) + basic_machine=np1-gould + ;; + nsr-tandem) + basic_machine=nsr-tandem + ;; + op50n-* | op60c-*) + basic_machine=hppa1.1-oki + os=-proelf + ;; + openrisc | openrisc-*) + basic_machine=or32-unknown + ;; + os400) + basic_machine=powerpc-ibm + os=-os400 + ;; + OSE68000 | ose68000) + basic_machine=m68000-ericsson + os=-ose + ;; + os68k) + basic_machine=m68k-none + os=-os68k + ;; + pa-hitachi) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + paragon) + basic_machine=i860-intel + os=-osf + ;; + pbd) + basic_machine=sparc-tti + ;; + pbb) + basic_machine=m68k-tti + ;; + 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 + ;; + pentiumpro | p6 | 6x86 | athlon | athlon_*) + basic_machine=i686-pc + ;; + pentiumii | pentium2 | pentiumiii | pentium3) + basic_machine=i686-pc + ;; + pentium4) + basic_machine=i786-pc + ;; + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) + basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumpro-* | p6-* | 6x86-* | athlon-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium4-*) + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pn) + basic_machine=pn-gould + ;; + power) basic_machine=power-ibm + ;; + ppc) basic_machine=powerpc-unknown + ;; + ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppcle | powerpclittle | ppc-le | powerpc-little) + basic_machine=powerpcle-unknown + ;; + ppcle-* | powerpclittle-*) + basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64) basic_machine=powerpc64-unknown + ;; + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64le | powerpc64little | ppc64-le | powerpc64-little) + basic_machine=powerpc64le-unknown + ;; + ppc64le-* | powerpc64little-*) + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ps2) + basic_machine=i386-ibm + ;; + pw32) + basic_machine=i586-unknown + os=-pw32 + ;; + rdos) + basic_machine=i386-pc + os=-rdos + ;; + rom68k) + basic_machine=m68k-rom68k + os=-coff + ;; + rm[46]00) + basic_machine=mips-siemens + ;; + rtpc | rtpc-*) + basic_machine=romp-ibm + ;; + s390 | s390-*) + basic_machine=s390-ibm + ;; + s390x | s390x-*) + basic_machine=s390x-ibm + ;; + sa29200) + basic_machine=a29k-amd + os=-udi + ;; + sb1) + basic_machine=mipsisa64sb1-unknown + ;; + sb1el) + basic_machine=mipsisa64sb1el-unknown + ;; + sei) + basic_machine=mips-sei + os=-seiux + ;; + sequent) + basic_machine=i386-sequent + ;; + sh) + basic_machine=sh-hitachi + os=-hms + ;; + sh64) + basic_machine=sh64-unknown + ;; + sparclite-wrs | simso-wrs) + basic_machine=sparclite-wrs + os=-vxworks + ;; + sps7) + basic_machine=m68k-bull + os=-sysv2 + ;; + spur) + basic_machine=spur-unknown + ;; + st2000) + basic_machine=m68k-tandem + ;; + stratus) + basic_machine=i860-stratus + os=-sysv4 + ;; + sun2) + basic_machine=m68000-sun + ;; + sun2os3) + basic_machine=m68000-sun + os=-sunos3 + ;; + sun2os4) + basic_machine=m68000-sun + os=-sunos4 + ;; + sun3os3) + basic_machine=m68k-sun + os=-sunos3 + ;; + sun3os4) + basic_machine=m68k-sun + os=-sunos4 + ;; + sun4os3) + basic_machine=sparc-sun + os=-sunos3 + ;; + sun4os4) + basic_machine=sparc-sun + os=-sunos4 + ;; + sun4sol2) + basic_machine=sparc-sun + os=-solaris2 + ;; + sun3 | sun3-*) + basic_machine=m68k-sun + ;; + sun4) + basic_machine=sparc-sun + ;; + sun386 | sun386i | roadrunner) + basic_machine=i386-sun + ;; + sv1) + basic_machine=sv1-cray + os=-unicos + ;; + symmetry) + basic_machine=i386-sequent + os=-dynix + ;; + t3e) + basic_machine=alphaev5-cray + os=-unicos + ;; + t90) + basic_machine=t90-cray + os=-unicos + ;; + tic54x | c54x*) + basic_machine=tic54x-unknown + os=-coff + ;; + tic55x | c55x*) + basic_machine=tic55x-unknown + os=-coff + ;; + tic6x | c6x*) + basic_machine=tic6x-unknown + os=-coff + ;; + tx39) + basic_machine=mipstx39-unknown + ;; + tx39el) + basic_machine=mipstx39el-unknown + ;; + toad1) + basic_machine=pdp10-xkl + os=-tops20 + ;; + tower | tower-32) + basic_machine=m68k-ncr + ;; + tpf) + basic_machine=s390x-ibm + os=-tpf + ;; + udi29k) + basic_machine=a29k-amd + os=-udi + ;; + ultra3) + basic_machine=a29k-nyu + os=-sym1 + ;; + v810 | necv810) + basic_machine=v810-nec + os=-none + ;; + vaxv) + basic_machine=vax-dec + os=-sysv + ;; + vms) + basic_machine=vax-dec + os=-vms + ;; + vpp*|vx|vx-*) + basic_machine=f301-fujitsu + ;; + vxworks960) + basic_machine=i960-wrs + os=-vxworks + ;; + vxworks68) + basic_machine=m68k-wrs + os=-vxworks + ;; + vxworks29k) + basic_machine=a29k-wrs + os=-vxworks + ;; + w65*) + basic_machine=w65-wdc + os=-none + ;; + w89k-*) + basic_machine=hppa1.1-winbond + os=-proelf + ;; + xbox) + basic_machine=i686-pc + os=-mingw32 + ;; + xps | xps100) + basic_machine=xps100-honeywell + ;; + ymp) + basic_machine=ymp-cray + os=-unicos + ;; + z8k-*-coff) + basic_machine=z8k-unknown + os=-sim + ;; + none) + basic_machine=none-none + os=-none + ;; + +# Here we handle the default manufacturer of certain CPU types. It is in +# some cases the only manufacturer, in others, it is the most popular. + w89k) + basic_machine=hppa1.1-winbond + ;; + op50n) + basic_machine=hppa1.1-oki + ;; + op60c) + basic_machine=hppa1.1-oki + ;; + romp) + basic_machine=romp-ibm + ;; + mmix) + basic_machine=mmix-knuth + ;; + rs6000) + basic_machine=rs6000-ibm + ;; + vax) + basic_machine=vax-dec + ;; + pdp10) + # there are many clones, so DEC is not a safe bet + basic_machine=pdp10-unknown + ;; + pdp11) + basic_machine=pdp11-dec + ;; + we32k) + basic_machine=we32k-att + ;; + sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) + basic_machine=sh-unknown + ;; + sparc | sparcv8 | sparcv9 | sparcv9b) + basic_machine=sparc-sun + ;; + cydra) + basic_machine=cydra-cydrome + ;; + orion) + basic_machine=orion-highlevel + ;; + orion105) + basic_machine=clipper-highlevel + ;; + mac | mpw | mac-mpw) + basic_machine=m68k-apple + ;; + pmac | pmac-mpw) + basic_machine=powerpc-apple + ;; + *-unknown) + # Make sure to match an already-canonicalized machine name. + ;; + *) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; +esac + +# Here we canonicalize certain aliases for manufacturers. +case $basic_machine in + *-digital*) + basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` + ;; + *-commodore*) + basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` + ;; + *) + ;; +esac + +# Decode manufacturer-specific aliases for certain operating systems. + +if [ x"$os" != x"" ] +then +case $os in + # First match some system type aliases + # that might get confused with valid system types. + # -solaris* is a basic system type, with this one exception. + -solaris1 | -solaris1.*) + os=`echo $os | sed -e 's|solaris1|sunos4|'` + ;; + -solaris) + os=-solaris2 + ;; + -svr4*) + os=-sysv4 + ;; + -unixware*) + os=-sysv4.2uw + ;; + -gnu/linux*) + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` + ;; + # First accept the basic system types. + # The portable systems comes first. + # Each alternative MUST END IN A *, to match a version number. + # -sysv* is not here because it comes later, after sysvr4. + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ + | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ + | -aos* \ + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ + | -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* | -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* | -dragonfly* \ + | -skyos* | -haiku* | -rdos*) + # Remember, each alternative MUST END IN *, to match a version number. + ;; + -qnx*) + case $basic_machine in + x86-* | i*86-*) + ;; + *) + os=-nto$os + ;; + esac + ;; + -nto-qnx*) + ;; + -nto*) + os=`echo $os | sed -e 's|nto|nto-qnx|'` + ;; + -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ + | -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|'` + ;; + -sunos5*) + os=`echo $os | sed -e 's|sunos5|solaris2|'` + ;; + -sunos6*) + os=`echo $os | sed -e 's|sunos6|solaris3|'` + ;; + -opened*) + os=-openedition + ;; + -os400*) + os=-os400 + ;; + -wince*) + os=-wince + ;; + -osfrose*) + os=-osfrose + ;; + -osf*) + os=-osf + ;; + -utek*) + os=-bsd + ;; + -dynix*) + os=-bsd + ;; + -acis*) + os=-aos + ;; + -atheos*) + os=-atheos + ;; + -syllable*) + os=-syllable + ;; + -386bsd) + os=-bsd + ;; + -ctix* | -uts*) + os=-sysv + ;; + -nova*) + os=-rtmk-nova + ;; + -ns2 ) + os=-nextstep2 + ;; + -nsk*) + os=-nsk + ;; + # Preserve the version number of sinix5. + -sinix5.*) + os=`echo $os | sed -e 's|sinix|sysv|'` + ;; + -sinix*) + os=-sysv4 + ;; + -tpf*) + os=-tpf + ;; + -triton*) + os=-sysv3 + ;; + -oss*) + os=-sysv3 + ;; + -svr4) + os=-sysv4 + ;; + -svr3) + os=-sysv3 + ;; + -sysvr4) + os=-sysv4 + ;; + # This must come after -sysvr4. + -sysv*) + ;; + -ose*) + os=-ose + ;; + -es1800*) + os=-ose + ;; + -xenix) + os=-xenix + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + os=-mint + ;; + -aros*) + os=-aros + ;; + -kaos*) + os=-kaos + ;; + -zvmoe) + os=-zvmoe + ;; + -none) + ;; + *) + # Get rid of the `-' at the beginning of $os. + os=`echo $os | sed 's/[^-]*-//'` + echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 + exit 1 + ;; +esac +else + +# Here we handle the default operating systems that come with various machines. +# The value should be what the vendor currently ships out the door with their +# machine or put another way, the most popular os provided with the machine. + +# Note that if you're going to try to match "-MANUFACTURER" here (say, +# "-sun"), then you have to tell the case statement up towards the top +# that MANUFACTURER isn't an operating system. Otherwise, code above +# will signal an error saying that MANUFACTURER isn't an operating +# system, and we'll never get to this point. + +case $basic_machine in + *-acorn) + os=-riscix1.2 + ;; + arm*-rebel) + os=-linux + ;; + arm*-semi) + os=-aout + ;; + c4x-* | tic4x-*) + os=-coff + ;; + # This must come before the *-dec entry. + pdp10-*) + os=-tops20 + ;; + pdp11-*) + os=-none + ;; + *-dec | vax-*) + os=-ultrix4.2 + ;; + m68*-apollo) + os=-domain + ;; + i386-sun) + os=-sunos4.0.2 + ;; + m68000-sun) + os=-sunos3 + # This also exists in the configure program, but was not the + # default. + # os=-sunos4 + ;; + m68*-cisco) + os=-aout + ;; + mips*-cisco) + os=-elf + ;; + mips*-*) + os=-elf + ;; + or32-*) + os=-coff + ;; + *-tti) # must be before sparc entry or we get the wrong os. + os=-sysv3 + ;; + sparc-* | *-sun) + os=-sunos4.1.1 + ;; + *-be) + os=-beos + ;; + *-haiku) + os=-haiku + ;; + *-ibm) + os=-aix + ;; + *-knuth) + os=-mmixware + ;; + *-wec) + os=-proelf + ;; + *-winbond) + os=-proelf + ;; + *-oki) + os=-proelf + ;; + *-hp) + os=-hpux + ;; + *-hitachi) + os=-hiux + ;; + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) + os=-sysv + ;; + *-cbm) + os=-amigaos + ;; + *-dg) + os=-dgux + ;; + *-dolphin) + os=-sysv3 + ;; + m68k-ccur) + os=-rtu + ;; + m88k-omron*) + os=-luna + ;; + *-next ) + os=-nextstep + ;; + *-sequent) + os=-ptx + ;; + *-crds) + os=-unos + ;; + *-ns) + os=-genix + ;; + i370-*) + os=-mvs + ;; + *-next) + os=-nextstep3 + ;; + *-gould) + os=-sysv + ;; + *-highlevel) + os=-bsd + ;; + *-encore) + os=-bsd + ;; + *-sgi) + os=-irix + ;; + *-siemens) + os=-sysv4 + ;; + *-masscomp) + os=-rtu + ;; + f30[01]-fujitsu | f700-fujitsu) + os=-uxpv + ;; + *-rom68k) + os=-coff + ;; + *-*bug) + os=-coff + ;; + *-apple) + os=-macos + ;; + *-atari*) + os=-mint + ;; + *) + os=-none + ;; +esac +fi + +# Here we handle the case where we know the os, and the CPU type, but not the +# manufacturer. We pick the logical manufacturer. +vendor=unknown +case $basic_machine in + *-unknown) + case $os in + -riscix*) + vendor=acorn + ;; + -sunos*) + vendor=sun + ;; + -aix*) + vendor=ibm + ;; + -beos*) + vendor=be + ;; + -hpux*) + vendor=hp + ;; + -mpeix*) + vendor=hp + ;; + -hiux*) + vendor=hitachi + ;; + -unos*) + vendor=crds + ;; + -dgux*) + vendor=dg + ;; + -luna*) + vendor=omron + ;; + -genix*) + vendor=ns + ;; + -mvs* | -opened*) + vendor=ibm + ;; + -os400*) + vendor=ibm + ;; + -ptx*) + vendor=sequent + ;; + -tpf*) + vendor=ibm + ;; + -vxsim* | -vxworks* | -windiss*) + vendor=wrs + ;; + -aux*) + vendor=apple + ;; + -hms*) + vendor=hitachi + ;; + -mpw* | -macos*) + vendor=apple + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + vendor=atari + ;; + -vos*) + vendor=stratus + ;; + esac + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` + ;; +esac + +echo $basic_machine$os +exit + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: --- slrn-0.9.8.1pl1.orig/src/config.guess +++ slrn-0.9.8.1pl1/src/config.guess @@ -0,0 +1,1497 @@ +#! /bin/sh +# Attempt to guess a canonical system name. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. + +timestamp='2006-02-23' + +# 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 +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# 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., 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 . +# Please send patches to . Submit a context +# diff and a properly formatted ChangeLog entry. +# +# This script attempts to guess a canonical system name similar to +# config.sub. If it succeeds, it prints the system name on stdout, and +# exits with 0. Otherwise, it exits with 1. +# +# The plan is that this can be called by configure scripts if you +# don't specify an explicit build system type. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] + +Output the configuration name of the system \`$me' is run on. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.guess ($timestamp) + +Originally written by Per Bothner. +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 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" >&2 + exit 1 ;; + * ) + break ;; + esac +done + +if test $# != 0; then + echo "$me: too many arguments$help" >&2 + exit 1 +fi + +trap 'exit 1' 1 2 15 + +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a +# compiler to aid in system detection is discouraged as it requires +# temporary files to be created and, as you can see below, it is a +# headache to deal with in a portable fashion. + +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still +# use `HOST_CC' if defined, but it is deprecated. + +# Portable tmp directory creation inspired by the Autoconf team. + +set_cc_for_build=' +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; +: ${TMPDIR=/tmp} ; + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; +dummy=$tmp/dummy ; +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; +case $CC_FOR_BUILD,$HOST_CC,$CC in + ,,) echo "int x;" > $dummy.c ; + for c in cc gcc c89 c99 ; do + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then + CC_FOR_BUILD="$c"; break ; + fi ; + done ; + if test x"$CC_FOR_BUILD" = x ; then + CC_FOR_BUILD=no_compiler_found ; + fi + ;; + ,,*) CC_FOR_BUILD=$CC ;; + ,*,*) CC_FOR_BUILD=$HOST_CC ;; +esac ; 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) +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then + PATH=$PATH:/.attbin ; export PATH +fi + +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown + +# Note: order is significant - the case branches are not exclusive. + +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in + *:NetBSD:*:*) + # NetBSD (nbsd) targets should (where applicable) match one or + # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently + # switched to ELF, *-*-netbsd* would select the old + # object file format. This provides both forward + # compatibility and a consistent mechanism for selecting the + # object file format. + # + # Note: NetBSD doesn't particularly care about the vendor + # portion of the name. We always set it to "unknown". + sysctl="sysctl -n hw.machine_arch" + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ + /usr/sbin/$sysctl 2>/dev/null || echo unknown)` + case "${UNAME_MACHINE_ARCH}" in + armeb) machine=armeb-unknown ;; + arm*) machine=arm-unknown ;; + sh3el) machine=shl-unknown ;; + sh3eb) machine=sh-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE_ARCH}" in + arm*|i386|m68k|ns32k|sh3*|sparc|vax) + eval $set_cc_for_build + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep __ELF__ >/dev/null + then + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). + # Return netbsd for either. FIX? + os=netbsd + else + os=netbsdelf + fi + ;; + *) + os=netbsd + ;; + esac + # The OS release + # Debian GNU/NetBSD machines have a different userland, and + # thus, need a distinct triplet. However, they do not need + # kernel version information, so it can be replaced with a + # suitable tag, in the style of linux-gnu. + case "${UNAME_VERSION}" in + Debian*) + release='-gnu' + ;; + *) + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + ;; + esac + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: + # contains redundant information, the shorter form: + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. + echo "${machine}-${os}${release}" + exit ;; + *:OpenBSD:*:*) + 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 powerppc-unknown-mirbsd${UNAME_RELEASE} + exit ;; + *:MirBSD:*:*) + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} + exit ;; + alpha:OSF1:*:*) + case $UNAME_RELEASE in + *4.0) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` + ;; + *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 + # types through head -n 1, so we only detect the type of CPU 0. + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` + case "$ALPHA_CPU_TYPE" in + "EV4 (21064)") + UNAME_MACHINE="alpha" ;; + "EV4.5 (21064)") + UNAME_MACHINE="alpha" ;; + "LCA4 (21066/21068)") + UNAME_MACHINE="alpha" ;; + "EV5 (21164)") + UNAME_MACHINE="alphaev5" ;; + "EV5.6 (21164A)") + UNAME_MACHINE="alphaev56" ;; + "EV5.6 (21164PC)") + UNAME_MACHINE="alphapca56" ;; + "EV5.7 (21164PC)") + UNAME_MACHINE="alphapca57" ;; + "EV6 (21264)") + UNAME_MACHINE="alphaev6" ;; + "EV6.7 (21264A)") + UNAME_MACHINE="alphaev67" ;; + "EV6.8CB (21264C)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8AL (21264B)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8CX (21264D)") + UNAME_MACHINE="alphaev68" ;; + "EV6.9A (21264/EV69A)") + UNAME_MACHINE="alphaev69" ;; + "EV7 (21364)") + UNAME_MACHINE="alphaev7" ;; + "EV7.9 (21364A)") + UNAME_MACHINE="alphaev79" ;; + esac + # A 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/^[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 ;; + 21064:Windows_NT:50:3) + echo alpha-dec-winnt3.5 + exit ;; + Amiga*:UNIX_System_V:4.0:*) + echo m68k-unknown-sysv4 + exit ;; + *:[Aa]miga[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-amigaos + exit ;; + *:[Mm]orph[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-morphos + exit ;; + *:OS/390:*:*) + echo i370-ibm-openedition + 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 ;; + arm:riscos:*:*|arm:RISCOS:*:*) + echo arm-unknown-riscos + exit ;; + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) + echo hppa1.1-hitachi-hiuxmpp + 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 + echo pyramid-pyramid-sysv3 + else + echo pyramid-pyramid-bsd + fi + exit ;; + NILE*:*:*:dcosx) + echo pyramid-pyramid-svr4 + exit ;; + DRS?6000:unix:4.0:6*) + echo sparc-icl-nx6 + 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 ;; + esac ;; + sun4H:SunOS:5.*:*) + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + i86pc:SunOS:5.*:*) + echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + 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 ;; + sun4*:SunOS:*:*) + case "`/usr/bin/arch -k`" in + Series*|S4*) + UNAME_RELEASE=`uname -v` + ;; + esac + # Japanese Language versions have a version number like `4.1.3-JL'. + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` + exit ;; + sun3*:SunOS:*:*) + echo m68k-sun-sunos${UNAME_RELEASE} + 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 + case "`/bin/arch`" in + sun3) + echo m68k-sun-sunos${UNAME_RELEASE} + ;; + sun4) + echo sparc-sun-sunos${UNAME_RELEASE} + ;; + esac + exit ;; + aushp:SunOS:*:*) + echo sparc-auspex-sunos${UNAME_RELEASE} + 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 + # > m68000). The system name ranges from "MiNT" over "FreeMiNT" + # to the lowercase version "mint" (or "freemint"). Finally + # the system name "TOS" denotes a system which is actually not + # MiNT. But MiNT is downward compatible to TOS, so this should + # be no problem. + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) + echo m68k-milan-mint${UNAME_RELEASE} + exit ;; + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) + echo m68k-hades-mint${UNAME_RELEASE} + exit ;; + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) + echo m68k-unknown-mint${UNAME_RELEASE} + exit ;; + m68k:machten:*:*) + echo m68k-apple-machten${UNAME_RELEASE} + exit ;; + powerpc:machten:*:*) + echo powerpc-apple-machten${UNAME_RELEASE} + exit ;; + RISC*:Mach:*:*) + echo mips-dec-mach_bsd4.3 + exit ;; + RISC*:ULTRIX:*:*) + echo mips-dec-ultrix${UNAME_RELEASE} + exit ;; + VAX*:ULTRIX*:*:*) + echo vax-dec-ultrix${UNAME_RELEASE} + exit ;; + 2020:CLIX:*:* | 2430:CLIX:*:*) + echo clipper-intergraph-clix${UNAME_RELEASE} + exit ;; + mips:*:*:UMIPS | mips:*:*:RISCos) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c +#ifdef __cplusplus +#include /* for printf() prototype */ + int main (int argc, char *argv[]) { +#else + int main (argc, argv) int argc; char *argv[]; { +#endif + #if defined (host_mips) && defined (MIPSEB) + #if defined (SYSTYPE_SYSV) + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_SVR4) + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); + #endif + #endif + exit (-1); + } +EOF + $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 ;; + Motorola:PowerMAX_OS:*:*) + echo powerpc-motorola-powermax + exit ;; + Motorola:*:4.3:PL8-*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:Power_UNIX:*:*) + echo powerpc-harris-powerunix + exit ;; + m88k:CX/UX:7*:*) + echo m88k-harris-cxux7 + exit ;; + m88k:*:4*:R4*) + echo m88k-motorola-sysv4 + exit ;; + m88k:*:3*:R3*) + echo m88k-motorola-sysv3 + exit ;; + AViiON:dgux:*:*) + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] + then + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ + [ ${TARGET_BINARY_INTERFACE}x = x ] + then + echo m88k-dg-dgux${UNAME_RELEASE} + else + echo m88k-dg-dguxbcs${UNAME_RELEASE} + fi + else + echo i586-dg-dgux${UNAME_RELEASE} + fi + exit ;; + M88*:DolphinOS:*:*) # DolphinOS (SVR3) + echo m88k-dolphin-sysv3 + exit ;; + M88*:*:R3*:*) + # Delta 88k system running SVR3 + echo m88k-motorola-sysv3 + exit ;; + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) + echo m88k-tektronix-sysv3 + exit ;; + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) + echo m68k-tektronix-bsd + exit ;; + *:IRIX*:*:*) + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` + 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 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + i*86:AIX:*:*) + echo i386-ibm-aix + exit ;; + ia64:AIX:*:*) + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} + exit ;; + *:AIX:2:3) + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + + main() + { + if (!__power_pc()) + exit(1); + puts("powerpc-ibm-aix3.2.5"); + exit(0); + } +EOF + 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 ;; + *: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 + IBM_ARCH=rs6000 + else + IBM_ARCH=powerpc + fi + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${IBM_ARCH}-ibm-aix${IBM_REV} + exit ;; + *:AIX:*:*) + echo rs6000-ibm-aix + exit ;; + ibmrt:4.4BSD:*|romp-ibm:BSD:*) + echo romp-ibm-bsd4.4 + exit ;; + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to + exit ;; # report: romp-ibm BSD 4.3 + *:BOSX:*:*) + echo rs6000-bull-bosx + exit ;; + DPX/2?00:B.O.S.:*:*) + echo m68k-bull-sysv3 + exit ;; + 9000/[34]??:4.3bsd:1.*:*) + echo m68k-hp-bsd + exit ;; + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) + echo m68k-hp-bsd4.4 + exit ;; + 9000/[34678]??:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + case "${UNAME_MACHINE}" in + 9000/31? ) HP_ARCH=m68000 ;; + 9000/[34]?? ) HP_ARCH=m68k ;; + 9000/[678][0-9][0-9]) + if [ -x /usr/bin/getconf ]; then + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in + 32) HP_ARCH="hppa2.0n" ;; + 64) HP_ARCH="hppa2.0w" ;; + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 + esac ;; + esac + fi + if [ "${HP_ARCH}" = "" ]; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + + #define _HPUX_SOURCE + #include + #include + + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); + + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } +EOF + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` + test -z "$HP_ARCH" && HP_ARCH=hppa + fi ;; + esac + if [ ${HP_ARCH} = "hppa2.0w" ] + then + 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 + HP_ARCH="hppa64" + fi + fi + echo ${HP_ARCH}-hp-hpux${HPUX_REV} + exit ;; + ia64:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + echo ia64-hp-hpux${HPUX_REV} + exit ;; + 3050*:HI-UX:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + int + main () + { + long cpu = sysconf (_SC_CPU_VERSION); + /* The order matters, because CPU_IS_HP_MC68K erroneously returns + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct + results, however. */ + if (CPU_IS_PA_RISC (cpu)) + { + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; + default: puts ("hppa-hitachi-hiuxwe2"); break; + } + } + else if (CPU_IS_HP_MC68K (cpu)) + puts ("m68k-hitachi-hiuxwe2"); + else puts ("unknown-hitachi-hiuxwe2"); + exit (0); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } + echo unknown-hitachi-hiuxwe2 + exit ;; + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) + echo hppa1.1-hp-bsd + exit ;; + 9000/8??:4.3bsd:*:*) + echo hppa1.0-hp-bsd + exit ;; + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) + echo hppa1.0-hp-mpeix + exit ;; + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) + echo hppa1.1-hp-osf + exit ;; + hp8??:OSF1:*:*) + echo hppa1.0-hp-osf + exit ;; + i*86:OSF1:*:*) + if [ -x /usr/sbin/sysversion ] ; then + echo ${UNAME_MACHINE}-unknown-osf1mk + else + echo ${UNAME_MACHINE}-unknown-osf1 + fi + exit ;; + parisc*:Lites*:*:*) + echo hppa1.1-hp-lites + exit ;; + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) + echo c1-convex-bsd + exit ;; + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) + echo c34-convex-bsd + exit ;; + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) + echo c38-convex-bsd + exit ;; + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) + echo c4-convex-bsd + exit ;; + CRAY*Y-MP:*:*:*) + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + 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 ;; + CRAY*TS:*:*:*) + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*T3E:*:*:*) + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*SV1:*:*:*) + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + *:UNICOS/mp:*:*) + 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 ;; + 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 ;; + sparc*:BSD/OS:*:*) + echo sparc-unknown-bsdi${UNAME_RELEASE} + exit ;; + *:BSD/OS:*:*) + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} + exit ;; + *:FreeBSD:*:*) + case ${UNAME_MACHINE} in + pc98) + echo i386-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 ;; + i*:MINGW*:*) + echo ${UNAME_MACHINE}-pc-mingw32 + exit ;; + i*:MSYS_NT-*:*:*) + echo ${UNAME_MACHINE}-pc-mingw32 + exit ;; + i*:windows32*:*) + # uname -m includes "-pc" on this system. + echo ${UNAME_MACHINE}-mingw32 + exit ;; + i*:PW*:*) + echo ${UNAME_MACHINE}-pc-pw32 + exit ;; + x86:Interix*:[345]*) + echo i586-pc-interix${UNAME_RELEASE} + exit ;; + EM64T:Interix*:[345]*) + 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 ;; + 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 ;; + i*:UWIN*:*) + echo ${UNAME_MACHINE}-pc-uwin + exit ;; + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) + echo x86_64-unknown-cygwin + exit ;; + p*:CYGWIN*:*) + echo powerpcle-unknown-cygwin + exit ;; + prep*:SunOS:5.*:*) + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + *:GNU:*:*) + # the GNU system + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + 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 ;; + arm*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + cris:Linux:*:*) + echo cris-axis-linux-gnu + 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 ;; + m32r*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m68*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + mips:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef mips + #undef mipsel + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=mipsel + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=mips + #else + CPU= + #endif + #endif +EOF + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^CPU/{ + s: ::g + p + }'`" + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } + ;; + mips64:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef mips64 + #undef mips64el + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=mips64el + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=mips64 + #else + CPU= + #endif + #endif +EOF + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | 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 ;; + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-gnu + exit ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + 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 ;; + parisc:Linux:*:* | hppa:Linux:*:*) + # Look for CPU level + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in + PA7*) echo hppa1.1-unknown-linux-gnu ;; + PA8*) echo hppa2.0-unknown-linux-gnu ;; + *) echo hppa-unknown-linux-gnu ;; + esac + exit ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-gnu + exit ;; + s390:Linux:*:* | s390x:Linux:*:*) + echo ${UNAME_MACHINE}-ibm-linux + exit ;; + sh64*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + sh*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + sparc:Linux:*:* | sparc64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + vax:Linux:*:*) + echo ${UNAME_MACHINE}-dec-linux-gnu + exit ;; + x86_64:Linux:*:*) + echo x86_64-unknown-linux-gnu + 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 + # problems with other programs or directories called `ld' in the path. + # Set LC_ALL=C to ensure ld outputs messages in English. + ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ + | sed -ne '/supported targets:/!d + s/[ ][ ]*/ /g + s/.*supported targets: *// + s/ .*// + p'` + case "$ld_supported_targets" in + elf32-i386) + TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" + ;; + a.out-i386-linux) + echo "${UNAME_MACHINE}-pc-linux-gnuaout" + exit ;; + coff-i386) + echo "${UNAME_MACHINE}-pc-linux-gnucoff" + 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 ;; + esac + # Determine whether the default compiler is a.out or elf + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + #ifdef __ELF__ + # ifdef __GLIBC__ + # if __GLIBC__ >= 2 + LIBC=gnu + # else + LIBC=gnulibc1 + # endif + # else + LIBC=gnulibc1 + # endif + #else + #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__sun) + LIBC=gnu + #else + LIBC=gnuaout + #endif + #endif + #ifdef __dietlibc__ + LIBC=dietlibc + #endif +EOF + 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 ;; + i*86:UNIX_SV:4.2MP:2.*) + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, + # I just have to hope. -- rms. + # Use sysv4.2uw... so that sysv4* matches it. + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} + 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 ;; + i*86:XTS-300:*:STOP) + echo ${UNAME_MACHINE}-unknown-stop + exit ;; + i*86:atheos:*:*) + echo ${UNAME_MACHINE}-unknown-atheos + 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 ;; + i*86:*DOS:*:*) + echo ${UNAME_MACHINE}-pc-msdosdjgpp + 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 + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} + else + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} + fi + 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 ;; + i*86:*:3.2:*) + if test -f /usr/options/cb.name; then + UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ + && UNAME_MACHINE=i586 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ + && UNAME_MACHINE=i686 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ + && UNAME_MACHINE=i686 + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL + else + echo ${UNAME_MACHINE}-pc-sysv32 + fi + 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 ;; + Intel:Mach:3*:*) + echo i386-pc-mach3 + exit ;; + paragon:*:*:*) + echo i860-intel-osf1 + 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 ;; + mini*:CTIX:SYS*5:*) + # "miniframe" + echo m68010-convergent-sysv + exit ;; + mc68k:UNIX:SYSTEM5:3.51m) + echo m68k-convergent-sysv + exit ;; + M680?0:D-NIX:5.3:*) + echo m68k-diab-dnix + 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; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { 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; } ;; + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) + echo m68k-unknown-lynxos${UNAME_RELEASE} + exit ;; + mc68030:UNIX_System_V:4.*:*) + echo m68k-atari-sysv4 + exit ;; + TSUNAMI:LynxOS:2.*:*) + echo sparc-unknown-lynxos${UNAME_RELEASE} + exit ;; + rs6000:LynxOS:2.*:*) + echo rs6000-unknown-lynxos${UNAME_RELEASE} + exit ;; + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) + echo powerpc-unknown-lynxos${UNAME_RELEASE} + exit ;; + SM[BE]S:UNIX_SV:*:*) + echo mips-dde-sysv${UNAME_RELEASE} + exit ;; + RM*:ReliantUNIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + RM*:SINIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + *:SINIX-*:*:*) + if uname -p 2>/dev/null >/dev/null ; then + UNAME_MACHINE=`(uname -p) 2>/dev/null` + echo ${UNAME_MACHINE}-sni-sysv4 + else + echo ns32k-sni-sysv + fi + exit ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says + echo i586-unisys-sysv4 + exit ;; + *:UNIX_System_V:4*:FTX*) + # From Gerald Hewes . + # How about differentiating between stratus architectures? -djm + echo hppa1.1-stratus-sysv4 + exit ;; + *:*:*:FTX*) + # From seanf@swdc.stratus.com. + echo i860-stratus-sysv4 + 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 ;; + mc68*:A/UX:*:*) + echo m68k-apple-aux${UNAME_RELEASE} + exit ;; + news*:NEWS-OS:6*:*) + echo mips-sony-newsos6 + 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 ;; + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. + echo powerpc-be-beos + exit ;; + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. + echo powerpc-apple-beos + exit ;; + BePC:BeOS:*:*) # BeOS running on Intel PC compatible. + echo i586-pc-beos + exit ;; + SX-4:SUPER-UX:*:*) + echo sx4-nec-superux${UNAME_RELEASE} + exit ;; + SX-5:SUPER-UX:*:*) + echo sx5-nec-superux${UNAME_RELEASE} + exit ;; + SX-6:SUPER-UX:*:*) + echo sx6-nec-superux${UNAME_RELEASE} + exit ;; + Power*:Rhapsody:*:*) + echo powerpc-apple-rhapsody${UNAME_RELEASE} + exit ;; + *:Rhapsody:*:*) + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} + exit ;; + *:Darwin:*:*) + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown + case $UNAME_PROCESSOR in + unknown) UNAME_PROCESSOR=powerpc ;; + esac + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} + exit ;; + *:procnto*:*:* | *:QNX:[0123456789]*:*) + UNAME_PROCESSOR=`uname -p` + if test "$UNAME_PROCESSOR" = "x86"; then + UNAME_PROCESSOR=i386 + UNAME_MACHINE=pc + fi + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} + exit ;; + *:QNX:*:4*) + echo i386-pc-qnx + exit ;; + NSE-?:NONSTOP_KERNEL:*:*) + echo nse-tandem-nsk${UNAME_RELEASE} + exit ;; + NSR-?:NONSTOP_KERNEL:*:*) + echo nsr-tandem-nsk${UNAME_RELEASE} + exit ;; + *:NonStop-UX:*:*) + echo mips-compaq-nonstopux + exit ;; + BS2000:POSIX*:*:*) + echo bs2000-siemens-sysv + exit ;; + DS/*:UNIX_System_V:*:*) + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} + exit ;; + *:Plan9:*:*) + # "uname -m" is not consistent, so use $cputype instead. 386 + # is converted to i386 for consistency with other x86 + # operating systems. + if test "$cputype" = "386"; then + UNAME_MACHINE=i386 + else + UNAME_MACHINE="$cputype" + fi + echo ${UNAME_MACHINE}-unknown-plan9 + exit ;; + *:TOPS-10:*:*) + echo pdp10-unknown-tops10 + exit ;; + *:TENEX:*:*) + echo pdp10-unknown-tenex + exit ;; + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) + echo pdp10-dec-tops20 + exit ;; + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) + echo pdp10-xkl-tops20 + exit ;; + *:TOPS-20:*:*) + echo pdp10-unknown-tops20 + exit ;; + *:ITS:*:*) + echo pdp10-unknown-its + exit ;; + SEI:*:*:SEIUX) + echo mips-sei-seiux${UNAME_RELEASE} + 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 +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 + +eval $set_cc_for_build +cat >$dummy.c < +# include +#endif +main () +{ +#if defined (sony) +#if defined (MIPSEB) + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, + I don't know.... */ + printf ("mips-sony-bsd\n"); exit (0); +#else +#include + printf ("m68k-sony-newsos%s\n", +#ifdef NEWSOS4 + "4" +#else + "" +#endif + ); exit (0); +#endif +#endif + +#if defined (__arm) && defined (__acorn) && defined (__unix) + printf ("arm-acorn-riscix\n"); exit (0); +#endif + +#if defined (hp300) && !defined (hpux) + printf ("m68k-hp-bsd\n"); exit (0); +#endif + +#if defined (NeXT) +#if !defined (__ARCHITECTURE__) +#define __ARCHITECTURE__ "m68k" +#endif + int version; + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; + if (version < 4) + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); + else + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); + exit (0); +#endif + +#if defined (MULTIMAX) || defined (n16) +#if defined (UMAXV) + printf ("ns32k-encore-sysv\n"); exit (0); +#else +#if defined (CMU) + printf ("ns32k-encore-mach\n"); exit (0); +#else + printf ("ns32k-encore-bsd\n"); exit (0); +#endif +#endif +#endif + +#if defined (__386BSD__) + printf ("i386-pc-bsd\n"); exit (0); +#endif + +#if defined (sequent) +#if defined (i386) + printf ("i386-sequent-dynix\n"); exit (0); +#endif +#if defined (ns32000) + printf ("ns32k-sequent-dynix\n"); exit (0); +#endif +#endif + +#if defined (_SEQUENT_) + struct utsname un; + + uname(&un); + + if (strncmp(un.version, "V2", 2) == 0) { + printf ("i386-sequent-ptx2\n"); exit (0); + } + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ + printf ("i386-sequent-ptx1\n"); exit (0); + } + printf ("i386-sequent-ptx\n"); exit (0); + +#endif + +#if defined (vax) +# if !defined (ultrix) +# include +# if defined (BSD) +# if BSD == 43 + printf ("vax-dec-bsd4.3\n"); exit (0); +# else +# if BSD == 199006 + printf ("vax-dec-bsd4.3reno\n"); exit (0); +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# endif +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# else + printf ("vax-dec-ultrix\n"); exit (0); +# endif +#endif + +#if defined (alliant) && defined (i860) + printf ("i860-alliant-bsd\n"); exit (0); +#endif + + exit (1); +} +EOF + +$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; } + +# Convex versions that predate uname can use getsysinfo(1) + +if [ -x /usr/convex/getsysinfo ] +then + case `getsysinfo -f cpu_type` in + c1*) + echo c1-convex-bsd + exit ;; + c2*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + c34*) + echo c34-convex-bsd + exit ;; + c38*) + echo c38-convex-bsd + exit ;; + c4*) + echo c4-convex-bsd + exit ;; + esac +fi + +cat >&2 < in order to provide the needed +information to handle your system. + +config.guess timestamp = $timestamp + +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` + +hostinfo = `(hostinfo) 2>/dev/null` +/bin/universe = `(/bin/universe) 2>/dev/null` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` +/bin/arch = `(/bin/arch) 2>/dev/null` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` + +UNAME_MACHINE = ${UNAME_MACHINE} +UNAME_RELEASE = ${UNAME_RELEASE} +UNAME_SYSTEM = ${UNAME_SYSTEM} +UNAME_VERSION = ${UNAME_VERSION} +EOF + +exit 1 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: --- slrn-0.9.8.1pl1.orig/debian/README.Debian +++ slrn-0.9.8.1pl1/debian/README.Debian @@ -0,0 +1,23 @@ +Debian-specific slrn configuration +---------------------------------- + +For Debian, slrn is configured to use the news server in /etc/news/server +unless this is overridden by user configuration. It will also use +/etc/news/organization for the ogranization header for posts, if that file +exists, and /etc/mailname to configure the hostname in news posts. + +The program /usr/sbin/slrn_getdescs can be run periodically to update the +newsgroup descriptions file. You can configure when it runs by editing +/etc/default/slrn. + +All of the above can also be reconfigured interactively with debconf: +dpkg-reconfigure slrn + +The slrnpull program is not included in Debian's slrn package. If you want +to use slrnpull for downloading news, install the slrnpull package. + +The contrib slrn programs (slrnrc-conv, cleanscore) are in +/usr/share/slrn/contrib; their documentation is in the +/usr/share/doc/slrn/contrib directory. + +-- Joey Hess --- slrn-0.9.8.1pl1.orig/debian/changelog +++ slrn-0.9.8.1pl1/debian/changelog @@ -0,0 +1,1660 @@ +slrn (0.9.8.1pl1-21) unstable; urgency=low + + * Added patch from Jason Spiro to bump Slrn_Query_Group_Cutoff to 1000 + instead 100. (closes: #375015) + * Don't remove /var/log/news when purging slrnpull. (closes: #355437) + + -- Norbert Tretkowski Tue, 1 Aug 2006 14:03:27 +0200 + +slrn (0.9.8.1pl1-20) experimental; urgency=low + + * Reenabled charset patch again. + + -- Norbert Tretkowski Mon, 3 Jul 2006 22:20:12 +0200 + +slrn (0.9.8.1pl1-19) unstable; urgency=low + + * Adjusted slrnpull.cron.daily and slrnpull.ip-up for updated su in login + since 1:4.0.15-5, thanks to Simon Taylor. (closes: #371875) + * Updated standards-version to 3.7.2.0, no changes required. + + -- Norbert Tretkowski Sat, 10 Jun 2006 19:47:28 +0200 + +slrn (0.9.8.1pl1-18) unstable; urgency=low + + * Adjusted slrn_getdescs for updated su in login since 1:4.0.15-5, thanks + to Joerg Sommer. (closes: #367770) + * Temporary disabled charset patch for this upload to unstable. + + -- Norbert Tretkowski Wed, 17 May 2006 22:51:28 -0500 + +slrn (0.9.8.1pl1-17) experimental; urgency=low + + * Fixes to the charset patch from Bas Zoetekouw. + + -- Norbert Tretkowski Tue, 4 Apr 2006 21:57:21 +0200 + +slrn (0.9.8.1pl1-16) experimental; urgency=low + + * Added charset patch from Bas Zoetekouw. (closes: #316919) + + -- Norbert Tretkowski Sat, 18 Feb 2006 09:44:56 +0100 + +slrn (0.9.8.1pl1-15) unstable; urgency=low + + * Removed unneeded direct dependencies on libgcrypt11 and libtasn1-2. + (closes: #346481) + + -- Norbert Tretkowski Sun, 22 Jan 2006 02:40:08 +0100 + +slrn (0.9.8.1pl1-14) unstable; urgency=low + + * Rebuilt with libslang2 2.0.5. + * Updated Standards-Version to 3.6.2.1. + + -- Norbert Tretkowski Fri, 18 Nov 2005 16:07:07 +0100 + +slrn (0.9.8.1pl1-13) unstable; urgency=low + + * Use "head -n 1" instead obsolete "head -1" in debconf and postinst + scripts. (closes: #334576) + + -- Norbert Tretkowski Tue, 18 Oct 2005 21:51:33 +0200 + +slrn (0.9.8.1pl1-12) unstable; urgency=low + + * Added an alternative for mail-transport-agent build-dependency. + (closes: #333216) + + -- Norbert Tretkowski Wed, 12 Oct 2005 15:50:10 +0200 + +slrn (0.9.8.1pl1-11) unstable; urgency=low + + * Added a new patch from cvs which fixes messing up the screen when + reconnecting to the newsserver fails. (closes: #294300) + + -- Norbert Tretkowski Sun, 9 Oct 2005 12:49:32 +0200 + +slrn (0.9.8.1pl1-10) unstable; urgency=low + + * Fixed location of config.{guess,sub}. (really closes: #331427) + + -- Norbert Tretkowski Mon, 3 Oct 2005 18:39:09 +0200 + +slrn (0.9.8.1pl1-9) unstable; urgency=low + + * Update config.guess and config.sub in clean target. (closes: #331427) + + -- Norbert Tretkowski Mon, 3 Oct 2005 15:28:45 +0200 + +slrn (0.9.8.1pl1-8) unstable; urgency=low + + * Updated swedish debconf translation from Daniel Nylander. + (closes: #331358) + * Added a new patch which corrects an error in the documentation. + (closes: #277443) + * Removed version from libgnutls-dev build-dependency. + + -- Norbert Tretkowski Mon, 3 Oct 2005 10:27:39 +0200 + +slrn (0.9.8.1pl1-7) unstable; urgency=low + + * Added a new patch which sets SLRN_SPOOL_ROOT and SLRNPULL_ROOT_DIR to + /var/spool/slrnpull. (closes: #300854) + * Added a new patch from Yann Dirson which adds some obsolete statements to + slrnrc-conv. (closes: #282550) + * Added vietnamese debconf translation from Clytie Siddall. + (closes: #318393) + * Fixed spelling error in po/pt_BR.po. (closes: #326623) + + -- Norbert Tretkowski Sun, 2 Oct 2005 15:31:39 +0200 + +slrn (0.9.8.1pl1-6) unstable; urgency=low + + * Built against libgnutls-dev. + + -- Norbert Tretkowski Sun, 31 Jul 2005 19:08:56 +0200 + +slrn (0.9.8.1pl1-5) unstable; urgency=low + + * Upload to unstable. (closes: #315640) + * Updated Standards-Version to 3.6.2. + + -- Norbert Tretkowski Fri, 24 Jun 2005 12:32:29 +0200 + +slrn (0.9.8.1pl1-4) experimental; urgency=low + + * Built against slang2 to get full UTF-8 support. + * Added a new patch from cvs to fix author search. + + -- Norbert Tretkowski Sun, 19 Jun 2005 12:14:22 +0200 + +slrn (0.9.8.1pl1-3) experimental; urgency=low + + * Merged changed from 0.9.8.1-6. + + -- Norbert Tretkowski Fri, 18 Mar 2005 10:43:51 +0100 + +slrn (0.9.8.1pl1-2) experimental; urgency=low + + * Added full path to slrn binary in menu file to make lintian happy. + + -- Norbert Tretkowski Fri, 18 Feb 2005 08:15:32 +0100 + +slrn (0.9.8.1pl1-1) experimental; urgency=low + + * New developer preview of next upstream release. + + Permission 600 given to slrnpull debugging files. (closes: #276645) + * Removed some patches which got merged upstream. + + -- Norbert Tretkowski Thu, 17 Feb 2005 23:23:25 +0100 + +slrn (0.9.8.1-6) unstable; urgency=low + + * Fixed typo in package description of slrnpull. (closes: #300078) + * Removed jm_AC_TYPE_UNSIGNED_LONG_LONG from autoconf requirements. + + -- Norbert Tretkowski Fri, 18 Mar 2005 10:29:33 +0100 + +slrn (0.9.8.1-5) unstable; urgency=medium + + * Updated german debconf translation from Erik Schanze. (closes: #280994) + + -- Norbert Tretkowski Sun, 14 Nov 2004 13:16:35 +0100 + +slrn (0.9.8.1-4) unstable; urgency=medium + + * Added upstream patch slrn-0.9.8.1-lastchar-incr.diff which fixes new + problems introduced in slrn-0.9.8.1-lastchar.diff. + + -- Norbert Tretkowski Sat, 06 Nov 2004 17:24:23 +0100 + +slrn (0.9.8.1-3) unstable; urgency=medium + + * Added upstream patch slrn-0.9.8.1-lastchar.diff to avoid slrn eating the + last character of the article when posting. + * Added a patch which adds Debian branding to user-agent string. + + -- Norbert Tretkowski Thu, 14 Oct 2004 16:15:13 +0200 + +slrn (0.9.8.1-2) unstable; urgency=medium + + * Added upstream patch slrn-0.9.8.1-fetch.diff to avoid going immediately to + the next group when a group contains no new headers. + + -- Norbert Tretkowski Sun, 10 Oct 2004 10:01:35 +0200 + +slrn (0.9.8.1-1) unstable; urgency=low + + * New upstream release. + + -- Norbert Tretkowski Thu, 07 Oct 2004 08:20:34 +0200 + +slrn (0.9.8.0pl1-2) experimental; urgency=low + + * Added version to autoconf build-dependency. + * Added automake1.8 to build-dependencies. + + -- Norbert Tretkowski Fri, 01 Oct 2004 19:44:41 +0200 + +slrn (0.9.8.0pl1-1) experimental; urgency=low + + * New developer preview of next upstream release. + * Removed some patches which got merged upstream. + + -- Norbert Tretkowski Thu, 30 Sep 2004 23:15:32 +0200 + +slrn (0.9.8.0-17) unstable; urgency=medium + + * Added a patch which fixes a segfault when using slrn on terminals wider + than 256 chars. (closes: #270710) + + -- Norbert Tretkowski Sat, 25 Sep 2004 14:26:11 +0200 + +slrn (0.9.8.0-16) unstable; urgency=medium + + * Built against libgnutls11-dev. (closes: #264737) + + -- Norbert Tretkowski Wed, 11 Aug 2004 19:27:26 +0200 + +slrn (0.9.8.0-15) unstable; urgency=low + + * Force usage of /etc/news/server when downloading newsgroup descriptions. + (closes: #243955) + * Added (incomplete) dutch debconf translation from Peter Karlsson. + (closes: #209083) + * Added czech debconf translation from Miroslav Jezbera. (closes: #260231) + + -- Norbert Tretkowski Sat, 7 Aug 2004 20:24:11 +0200 + +slrn (0.9.8.0-14) unstable; urgency=low + + * Updated patch from Paul Martin which fixes removing of .headers files. + * Added this patch to dpatch list. (really closes: #240649, #248297) + + -- Norbert Tretkowski Thu, 01 Jul 2004 19:03:11 +0200 + +slrn (0.9.8.0-13) unstable; urgency=low + + * Updated german debconf translation from Florian Ernst. (closes: #244540) + * Added a patch from J. H. M. Dassen which reduces the amount of shared + library dependencies. (closes: #242998) + * Added a patch from Paul Martin which fixes removing of .headers files. + (closes: #240649, #248297) + * Added a patch from Michael Ablassmeier which disables uudeview support on + hurd-i386. (closes: #245354) + + -- Norbert Tretkowski Sat, 12 Jun 2004 22:56:14 +0200 + +slrn (0.9.8.0-12) unstable; urgency=low + + * Added patch from cvs which fixes overwriting of newsrc if it's a symbolic + link. (closes: #207941) + * Updated spanish debconf translation from Javi Castelo. (closes: #238022) + * Updated danish debconf translation from Claus Hindsgaul. (closes: #235127) + * Converted changelog from iso-8859-1 to utf-8. + * Removed duplicated tag from menu file. + + -- Norbert Tretkowski Sun, 27 Mar 2004 17:24:36 +0100 + +slrn (0.9.8.0-11) unstable; urgency=low + + * Added upstream patch slrn-0.9.8.0-ranges2.diff to avoid marking additional + articles in the other group(s) as read when reading cross-posts. + * Added libcanlock2-dev to build-dependencies and --with-canlock option to + configure. (closes: #127901, #207389) + * Used short hostname when long hostname is not available. (closes: #230408) + * Added explicit build-dependency on libgnutls7-dev. (closes: #232993) + + -- Norbert Tretkowski Mon, 16 Feb 2004 10:01:22 +0100 + +slrn (0.9.8.0-10) unstable; urgency=low + + * New maintainer. (closes: #228006) + * Split out patches and moved over to dpatch. + * Added upstream patch slrn-0.9.8.0-mime.diff to avoid possible crashes + when trying to decode base64-encoded articles. + * Added a patch from Jon Dowland which + activates menu hints. (closes: #223573) + + -- Norbert Tretkowski Sat, 31 Jan 2004 00:26:09 +0100 + +slrn (0.9.8.0-9) unstable; urgency=low + + * Updated Russian debconf po file from Ilgiz Kalmetev. + Closes: #219228 + + -- Joey Hess Wed, 5 Nov 2003 19:35:17 -0500 + +slrn (0.9.8.0-8) unstable; urgency=low + + * Force inews suppot to be on, lose the build-dep on inewsinn. + Closes: #215586 + * Add note to README.Debian about location of contrib programs, + and fixed slrn to give the path to slrnrc-conv again (accidential + reversion). Closes: #216598 + + -- Joey Hess Tue, 14 Oct 2003 21:20:37 -0400 + +slrn (0.9.8.0-6) unstable; urgency=low + + * Updated Polish debconf translation from Bartosz Zapalowski + . Closes: #214709 + + -- Joey Hess Thu, 9 Oct 2003 16:03:15 -0400 + +slrn (0.9.8.0-5) unstable; urgency=low + + * Added a README.Debian for slrn. + * Since /etc/news/organization may not exist (and this package will not + fill something in, since there is no good default, and it's not important + enough to bother the user about), modified slrn so if it uses the value + from OUR_ORGANIZATION, it only treats it as a file, not as a literal + value. Closes: #205406 (again) + + -- Joey Hess Thu, 11 Sep 2003 13:40:53 -0400 + +slrn (0.9.8.0-4) unstable; urgency=low + + * Applied upstream patch slrn-0.9.8.0-post.diff to avoid possible segfaults + when posting on powerpc. + + -- Joey Hess Sat, 6 Sep 2003 11:06:58 -0400 + +slrn (0.9.8.0-3) unstable; urgency=low + + * Applied upstream patch slrn-0.9.8.0-ranges.diff, fixes slrnpull download + stats. + + -- Joey Hess Tue, 2 Sep 2003 15:21:16 -0400 + +slrn (0.9.8.0-2) unstable; urgency=low + + * Updated pt_BR debconf template. Patch from Andre Luis Lopes. + Closes: #208120 + + -- Joey Hess Sun, 31 Aug 2003 21:41:51 -0400 + +slrn (0.9.8.0-1) unstable; urgency=low + + * New upstream release. + - with new cleanscore, obsoleting my hack for #189802 + - incorporating my gnutls patch + - with J.H.M. Dassen's ipv6 patch + - should fix key mismatch bug in Dutch translation. Closes: #159087 + - and the Dutch translation should be complete now. Closes: #144595 + - fixes misaligned columns in group mode. Closes: #64115 + - includes Chris Hanson's uudeview patch. Closes: #139235 + - fixes the annoying capitalization behavior. Closes: #140756 + - with many other fixes and enhancments, see the changelog + * Pass new --with-server-file option to configure. + * Update slrnpull description to reflect new "true offline" capabilities. + * Add new README.offline to slrnpull docs. + * Stop running autotools in debian/rules since all my patches that require + that are in upstream. + * Update copyright file. + + -- Joey Hess Tue, 26 Aug 2003 13:58:47 -0400 + +slrn (0.9.7.4-39) unstable; urgency=low + + * Read organization from /etc/news/organization by default. Closes: #205406 + + -- Joey Hess Thu, 14 Aug 2003 10:56:38 -0400 + +slrn (0.9.7.4-38) unstable; urgency=low + + * Build depends on inewsinn, not inews, since inews puts inews in a + directory not in path. + + -- Joey Hess Sat, 12 Jul 2003 20:40:19 +0200 + +slrn (0.9.7.4-37) unstable; urgency=low + + * Updated French po-debconf file from Pierre Machard. Closes: #195650 + * po/Makefile.in.in: Removed what looked like a workround for an old + version of autoconf that did not finx mkinstalldirs properly. That + workaround broke with autoconf 2.50, which does find it properly. + Closes: #198318 + + -- Joey Hess Sun, 22 Jun 2003 16:26:56 -0400 + +slrn (0.9.7.4-36) unstable; urgency=low + + * Added a menu icon, a rediced color and converted version of the gnome + news icon. Closes: #192605 + * Ran debconf-updatepo. + + -- Joey Hess Tue, 13 May 2003 18:00:08 -0400 + +slrn (0.9.7.4-35) unstable; urgency=low + + * Shut up getopts.pl warning in cleanscore. There is a clean fix in a + new upstream but that is too many changes, I just turned off warnings + around the getopts.pl require line. Closes: #189802 + + -- Joey Hess Sun, 20 Apr 2003 10:15:39 -0400 + +slrn (0.9.7.4-34) unstable; urgency=low + + * Fix off by one in ipv6 patch, Closes: #187882 + + -- Joey Hess Mon, 7 Apr 2003 16:29:34 -0400 + +slrn (0.9.7.4-33) unstable; urgency=low + + * Put back fr.po rom before, DDTP is incomplete after all. Closes: #185916 + + -- Joey Hess Sun, 23 Mar 2003 19:40:36 -0800 + +slrn (0.9.7.4-32) unstable; urgency=low + + * Completed de, pt_BR, fr and updated da, ru, es debconf template + translations from DDTP. + * Shut up the weekly cron job, to avoid noie if the news server is down. + Closes: #185029 + + -- Joey Hess Sun, 16 Mar 2003 15:11:48 -0800 + +slrn (0.9.7.4-31) unstable; urgency=low + + * Add HAVE_GETADDRINFO to slrn.h. + + -- Joey Hess Sun, 2 Mar 2003 22:18:25 -0500 + +slrn (0.9.7.4-30) unstable; urgency=low + + * Applied ipv6 support patch from J.H.M. Dassen. Closes: #183101 + + -- Joey Hess Sun, 2 Mar 2003 12:42:16 -0500 + +slrn (0.9.7.4-29) unstable; urgency=low + + * Added pt_BT translation of debconf templates. Closes: #179502 + * Build-depend on any automaken. + + -- Joey Hess Sun, 2 Feb 2003 15:51:31 -0500 + +slrn (0.9.7.4-28) unstable; urgency=low + + * Rebuilt to clear up indicrect libopencdk dependency. Closes: #173146 + + -- Joey Hess Sun, 15 Dec 2002 14:24:52 -0500 + +slrn (0.9.7.4-27) unstable; urgency=low + + * Use libgnutls-extra-config. Closes: #172298 + + -- Joey Hess Sun, 8 Dec 2002 20:49:40 -0500 + +slrn (0.9.7.4-26) unstable; urgency=low + + * Fix ownership of /etc/ppp directory to 755. + + -- Joey Hess Sun, 17 Nov 2002 12:34:00 -0500 + +slrn (0.9.7.4-25) unstable; urgency=low + + * Built for new gnutls. Closes: #169253 + + -- Joey Hess Fri, 15 Nov 2002 13:55:35 -0500 + +slrn (0.9.7.4-24) unstable; urgency=low + + * Suggest metamail since slrn can use it for viewing mime. + + -- Joey Hess Fri, 15 Nov 2002 13:44:48 -0500 + +slrn (0.9.7.4-23) unstable; urgency=low + + * Updated french debconf po file. Closes: #164113 + * Fixed typo in slrnpull defaults file. Closes: #164669 + * Don't override upstream color scheme, as the current upstream color + scheme is a lot better than it used to be, not using blue foreground + text at all. Closes: #164841 + + -- Joey Hess Thu, 17 Oct 2002 14:25:16 -0400 + +slrn (0.9.7.4-22) unstable; urgency=low + + * Updated config.sub, config.guess to modern versions that may work with + mips. Closes: #163926 + + -- Joey Hess Wed, 9 Oct 2002 17:45:21 -0400 + +slrn (0.9.7.4-21) unstable; urgency=low + + * Updated debconf po files to avoid debconf-gettextize bugs. Closes: #163349 + + -- Joey Hess Fri, 4 Oct 2002 19:49:57 -0400 + +slrn (0.9.7.4-20) unstable; urgency=low + + * Converted to po-debconf for translated templates. + * Turn on new-style debconf encoding stuff. + + -- Joey Hess Wed, 2 Oct 2002 23:57:19 -0400 + +slrn (0.9.7.4-19) unstable; urgency=low + + * Build with new libgnutls-extra.so, and link in -lopencdk. + + -- Joey Hess Sat, 21 Sep 2002 13:17:27 -0400 + +slrn (0.9.7.4-18) unstable; urgency=low + + * Added support for gnutls's openssl compatability layer, and build with it, + adding ssl support to slrn. Closes: #92113 + * Build-dep on libgnutls-dev. + * Run aclocal and autoconf at build time to pull in gnutls stuff in + acinclude.m4. + * Removed autogenerated clutter from diff. + + -- Joey Hess Mon, 26 Aug 2002 02:25:55 -0400 + +slrn (0.9.7.4-17) unstable; urgency=low + + * Run slrn as user news when retreiving descriptions in slrn_getdescs, just + in case. Closes: #157201 + + -- Joey Hess Thu, 22 Aug 2002 11:54:21 -0400 + +slrn (0.9.7.4-16) unstable; urgency=low + + * Typo, Closes: #155330 + + -- Joey Hess Sat, 3 Aug 2002 12:37:10 -0400 + +slrn (0.9.7.4-15) unstable; urgency=low + + * Turn on AM_MAINTAINER_MODE. + * Touch src/stamp-h.in to avoid invocations of autoheader. Closes: #154335 + * Fixed watchfile for sourceforge brokenness. + + -- Joey Hess Sat, 27 Jul 2002 12:59:02 -0400 + +slrn (0.9.7.4-14) unstable; urgency=low + + * Modified aclocal.m4 to work with autoconf 2.50, so it does not silently + fall back to the old autoconf, which broke large file support. + Added a really annoying linking of configure.in to configure.ac so + autoconf2.50 will run. Sigh. + Closes: #153737 + + -- Joey Hess Thu, 25 Jul 2002 23:54:31 -0400 + +slrn (0.9.7.4-13) unstable; urgency=low + + * Make slrn_getdescs ignore root's .slrnrc file; the global file is still + read. This way if root's .slrnrc is broken, it doesn't break this script. + Closes: #150975 + + -- Joey Hess Fri, 28 Jun 2002 17:54:16 -0400 + +slrn (0.9.7.4-12) unstable; urgency=low + + * Build with either automake 1.4 or 1.5 (sigh). + Closes: #150000 + + -- Joey Hess Sat, 15 Jun 2002 20:14:16 -0400 + +slrn (0.9.7.4-11) unstable; urgency=low + + * Debhelper v4. + + -- Joey Hess Thu, 13 Jun 2002 16:37:56 -0400 + +slrn (0.9.7.4-10) unstable; urgency=low + + * Enabled large file support, Closes: #147597 + + -- Joey Hess Tue, 21 May 2002 21:21:12 -0400 + +slrn (0.9.7.4-9) unstable; urgency=low + + * Whups, I touched too much. Closes: #147401 + + -- Joey Hess Sun, 19 May 2002 01:00:21 -0400 + +slrn (0.9.7.4-8) unstable; urgency=low + + * Touch some files before running make to try to avoid the automake + race on m68k. Closes: #146692 + + -- Joey Hess Sat, 18 May 2002 20:54:57 -0400 + +slrn (0.9.7.4-7) unstable; urgency=low + + * Corrected quoting in postinst and preinst, Closes: #146431 + + -- Joey Hess Thu, 9 May 2002 22:40:54 -0400 + +slrn (0.9.7.4-6) unstable; urgency=low + + * Only do the stuff in the postinst (esp nntpserver file munging) on upgrade + from old versions, not every time. + + -- Joey Hess Thu, 18 Apr 2002 22:24:13 -0400 + +slrn (0.9.7.4-5) unstable; urgency=low + + * Temporarily depend on autoconf in a vain attempt to get autobuilt on + sparc. + + -- Joey Hess Sat, 6 Apr 2002 12:38:34 -0500 + +slrn (0.9.7.4-4) unstable; urgency=low + + * Applied upstream patches: + - slrn-0.9.7.4-mem_leak.diff + - slrn-0.9.7.4-popup_win.diff + + -- Joey Hess Sat, 6 Apr 2002 11:25:05 -0500 + +slrn (0.9.7.4-3) unstable; urgency=low + + * Applied slrn-0.9.7.4-po.diff, which fixes some serious localization + problems. + + -- Joey Hess Thu, 21 Mar 2002 19:39:20 -0500 + +slrn (0.9.7.4-2) unstable; urgency=low + + * Applied upstream slrn-0.9.7.4-link_subjects.diff. + * Workaround warning from cleanscore, Closes: #130862 + + -- Joey Hess Thu, 14 Mar 2002 20:28:14 -0500 + +slrn (0.9.7.4-1) unstable; urgency=low + + * New upstream release. Closes: #137129 + + -- Joey Hess Wed, 13 Mar 2002 14:59:52 -0500 + +slrn (0.9.7.3-5) unstable; urgency=low + + * Applied three upstream diffs: slrn-0.9.7.3-menu.diff, + slrn-0.9.7.3-mimeenc.diff, slrn-0.9.7.3-ssl.diff (this last is useful only + if you build slrn with ssl support). + + -- Joey Hess Sat, 26 Jan 2002 17:43:47 -0500 + +slrn (0.9.7.3-4) unstable; urgency=low + + * Make clean see slrn-help.txt, Closes: #130450 + + -- Joey Hess Tue, 22 Jan 2002 20:53:33 -0500 + +slrn (0.9.7.3-3) unstable; urgency=low + + * Carlos Valdivia Yagüe contributed spanish translations + of the debconf stuff. + * Fixed it to look for newsgroups.desc in the traditional place again. + Closes: #119896 + + -- Joey Hess Fri, 16 Nov 2001 22:07:42 -0500 + +slrn (0.9.7.3-2) unstable; urgency=low + + * The "test twice, release once" release. + * Fixed cron.daily and ip-up scripts for slrnpull. + + -- Joey Hess Tue, 6 Nov 2001 20:03:36 -0500 + +slrn (0.9.7.3-1) unstable; urgency=low + + * New upstream, with i18n. + * Use new upstream make install target, instead of doing it all by hand. + * The debian diff is down to just patching 4 lines in slrnfeat.h. + * Moved slrnpull to /usr/bin from sbin (matches man page). + + -- Joey Hess Mon, 5 Nov 2001 18:45:42 -0500 + +slrn (0.9.7.2-9) unstable; urgency=low + + * Don't complain during slrn installation if slrnpull is not in the status + file. Closes: #116779 + + -- Joey Hess Tue, 23 Oct 2001 11:53:05 -0400 + +slrn (0.9.7.2-8) unstable; urgency=low + + * slrnpull.config: read in defaults file if it is present. + Closes: #115525 + + -- Joey Hess Sun, 14 Oct 2001 13:17:26 -0400 + +slrn (0.9.7.2-7) unstable; urgency=low + + * Russian templates from ilgiz kalmetev + also some typo fixes. Closes: #114860, #114859 + + -- Joey Hess Mon, 8 Oct 2001 18:46:37 -0400 + +slrn (0.9.7.2-6) unstable; urgency=HIGH + + * Upstream security fix; slrn's internal uudecoder auto-executes any + shell script in the archive (thinking it's a shar, presumably!). That + just doesn't fly in today's internet. Slrn in unstable is actually + probably not vulnerable, probably, since it is set up to use the + uudeview library for decoding. However, this is too critical a security + fix to omit. + + -- Joey Hess Sat, 22 Sep 2001 11:23:35 -0400 + +slrn (0.9.7.2-5) unstable; urgency=low + + * manual.txt typo, Closes: #112362 + + -- Joey Hess Sun, 16 Sep 2001 19:00:47 -0400 + +slrn (0.9.7.2-4) unstable; urgency=low + + * Upstream patches: + - slrn-0.9.7.2-authneeded.diff + - slrn-0.9.7.2-newsurl.diff + + -- Joey Hess Thu, 30 Aug 2001 17:43:34 -0400 + +slrn (0.9.7.2-3) unstable; urgency=low + + * Previous version was built on a system with a debuggig version of + debconf that generated broken templates files. Corrected, Closes: #110617 + + -- Joey Hess Wed, 29 Aug 2001 23:49:39 -0400 + +slrn (0.9.7.2-2) unstable; urgency=low + + * Some changes to old cruft in the debian diff. + * That includes ading back a missing root_dircat, Closes: #88151 + * Upstream patches: + - slrn-0.9.7.2-forceauth.diff + - slrn-0.9.7.2-readactive.diff + + -- Joey Hess Tue, 28 Aug 2001 15:10:56 -0400 + +slrn (0.9.7.2-1) unstable; urgency=low + + * New upstream release. + * Some changes to configure to make everything we've always built + continue to build with this new version. + * slrnpull.1 man page now shipped with slrn, so use it rather than the + stub I wrote. + * clientlib is dealt with, so the source is pristine once more. + + -- Joey Hess Mon, 20 Aug 2001 20:09:06 -0400 + +slrn (0.9.7.1-10) unstable; urgency=low + + * New upstream patches: + - slrn-0.9.7.1-decode.diff + - slrn-0.9.7.1-readfail.diff + + -- Joey Hess Fri, 13 Jul 2001 12:19:42 -0400 + +slrn (0.9.7.1-9) unstable; urgency=low + + * Fixed typo in /etc/mailname stuff. Closes: #104062 + + -- Joey Hess Mon, 9 Jul 2001 11:14:40 -0400 + +slrn (0.9.7.1-8) unstable; urgency=low + + * Slrn will now consult /etc/mailname to sret the posting_host (the + hostname in the From: line of posted messages. Done by setting + OUR_HOSTNAME=/etc/mailname in slrnfeat.h. Closes: #62265 + * Added code to prompt for a valie for /etc/mailname if it doesn't exist + yet. Using shared debconf question shared/mailname. + * Fixed a bug that made slrn ask about /etc/news/server on fresh slrn + installs when the file already existed. + + -- Joey Hess Wed, 4 Jul 2001 16:47:33 -0400 + +slrn (0.9.7.1-7) unstable; urgency=low + + * Polish translation of slrn's templates file by Krzysztof Krzyzaniak + , Closes: #103090 + + -- Joey Hess Mon, 2 Jul 2001 19:53:26 -0400 + +slrn (0.9.7.1-6) unstable; urgency=low + + * The "look ma, no registry!" release. + * Upstream patch slrn-0.9.7.1-include.diff, Closes: #102601 + * Moved some of the code from the ip-up and cron scripts into slrn_getdescs. + * Added /etc/default/ files for slrn and slrnpull. + * getdescs delay is configurable in /etc/default/slrn, Closes: #47950 + + -- Joey Hess Sat, 30 Jun 2001 12:10:10 -0400 + +slrn (0.9.7.1-5) unstable; urgency=low + + * Hm, I can't generate configure from configure.in easily, since it needs + an external mqacro file. Instead, I'll wimp out and just build-depend + on mail-transport-agent. Closes: #100963 + + -- Joey Hess Sun, 17 Jun 2001 18:21:14 -0400 + +slrn (0.9.7.1-4) unstable; urgency=low + + * Hacked configure script to assume sendmail is present so the package + need not build-depend on sendmail. Closes: #100963 + + -- Joey Hess Fri, 15 Jun 2001 11:23:49 -0400 + +slrn (0.9.7.1-3) unstable; urgency=low + + * German translations of templates files for: + - slrn, by Kai Weber Closes: #100830 + - slrpull, by Sebastian Feltel" Closes: #100825 + + -- Joey Hess Thu, 14 Jun 2001 12:38:49 -0400 + +slrn (0.9.7.1-2) unstable; urgency=low + + * Removed grouplens stuff from package description (dead). + * Applied upstream patches: + - slrn-0.9.7.1-readcount.diff + - slrn-0.9.7.1-xhdr_spool.diff + + -- Joey Hess Tue, 12 Jun 2001 16:42:31 -0400 + +slrn (0.9.7.1-1) unstable; urgency=low + + * New upstream release. + * Modified message about slrnrc.conv to give complete path to the file, + which is now in /usr/share/slrn/contrib/ + * Debhelper v3. + + -- Joey Hess Wed, 6 Jun 2001 20:29:30 -0400 + +slrn (0.9.7.0a-9) unstable; urgency=low + + * Upstream patches: + slrn-0.9.7.0-noregexp.diff (Closes: #96738) + + -- Joey Hess Thu, 10 May 2001 17:21:41 -0400 + +slrn (0.9.7.0a-8) unstable; urgency=low + + * Changed the slrnpull question about how to run slrnpull from low to + high, since this is a critical question to slrnpulls operation, and + there is not a very good default for everyone (bug #96792). + + -- Joey Hess Tue, 8 May 2001 17:34:30 -0400 + +slrn (0.9.7.0a-7) unstable; urgency=low + + * Upstream patches: + - slrn-0.9.7.0-hash.diff + - slrn-0.9.7.0-reply.diff + + -- Joey Hess Thu, 26 Apr 2001 23:48:35 -0400 + +slrn (0.9.7.0a-6) unstable; urgency=low + + * Upstream patches: + - slrn-0.9.7.0-uudeview.diff, Closes: #93194 + - slrn-0.9.7.0-editscore.diff + + -- Joey Hess Mon, 9 Apr 2001 12:50:57 -0700 + +slrn (0.9.7.0a-5) unstable; urgency=low + + * Fixed libdir, Closes: #93330 + + -- Joey Hess Sun, 8 Apr 2001 15:48:08 -0700 + +slrn (0.9.7.0a-4) unstable; urgency=low + + * Build-dep on inewsinn | inews, Closes: #93148 + + -- Joey Hess Fri, 6 Apr 2001 15:19:12 -0700 + +slrn (0.9.7.0a-3) unstable; urgency=low + + * Oops, I lost the /etc/news/slrn.rc patch, Closes: #93091 + + -- Joey Hess Fri, 6 Apr 2001 01:23:26 -0700 + +slrn (0.9.7.0a-2) unstable; urgency=low + + * Patch slrn-0.9.7.0-comp_charsets.diff fixes compatible_charsets, + which is the new feature that Closes: #64928 + + -- Joey Hess Thu, 5 Apr 2001 09:37:18 -0700 + +slrn (0.9.7.0a-1) unstable; urgency=low + + * New upstream, with a new maintainer. Incorporates many debian patches. + - this is the slrn.sourceforge.net version, Closes: #80200, #75961 + - manual.txt documents all the variables, Closes: #57300 + - decodes utf-8 (partial support anyhow, with more planned), Closes: #60650 + - should fix DST issues, Closes: #70050 + - group list position is preserved on 'G', Closes: #67926 + - looks like error printing is improved, Closes: #39672 + * Updated home page info. + * Turned off grouplens support, as the project seems to be dead. + * Added contrib/ directory contents to the examples. + * Removed clientlib.* from the upstream tarball, and excised all code + that tries to use it. It turns out that that file is not free software: + restrictions on sale. Luckily, that file contains only code that is not + used by slrn anymore (on linux anyway), so it was easy to remove. + * Applied patches from http://slrn.sourceforge.net/patches/#sect_bugs: + - slrn-0.9.7.0-mark_read.diff + - slrn-0.9.7.0-extract_header.diff + - slrn-0.9.7.0-newgroups.diff + + -- Joey Hess Wed, 4 Apr 2001 12:07:12 -0700 + +slrn (0.9.6.3-16) unstable; urgency=low + + * Uses libuu now, for uudeview support built in. + + -- Joey Hess Sat, 24 Mar 2001 21:37:41 -0800 + +slrn (0.9.6.3-15) unstable; urgency=low + + * Fixed man page typo, Closes: #89452 + * Fixed bashism. + + -- Joey Hess Wed, 14 Mar 2001 12:47:31 -0800 + +slrn (0.9.6.3-14) unstable; urgency=low + + * -r'd some xargs calls, Closes: #88810 + + -- Joey Hess Tue, 6 Mar 2001 19:33:17 -0800 + +slrn (0.9.6.3-13) unstable; urgency=low + + * Run daily slrnpull expiry job as user news, perms get messed up + otherwise. + * Fixed said messed up perms on upgrade. + * Make slrnpull.log file in postinst if it does not exist, so its perms + can be set. + + -- Joey Hess Mon, 5 Mar 2001 17:00:10 -0800 + +slrn (0.9.6.3-12) unstable; urgency=low + + * Fixed bad dpkg --compare-versions call on initial install. + + -- Joey Hess Mon, 5 Mar 2001 16:44:49 -0800 + +slrn (0.9.6.3-11) unstable; urgency=low + + * cd to spool directory before running slrnpull, Closes: #88151 + * Fixed problems with slrnpull log permissions. + + -- Joey Hess Thu, 1 Mar 2001 12:12:41 -0800 + +slrn (0.9.6.3-10) unstable; urgency=low + + * I had a report that the chmod/chown in the rules file fails on + the slrnpull.conf symlink. Although I have never seen such a thing, nor + can I reproduce it, it did make me relaize I want to make that symlink + only after the chmod/chown, because I don't want it's perms to be + affected. + + -- Joey Hess Wed, 28 Feb 2001 13:21:30 -0800 + +slrn (0.9.6.3-9) unstable; urgency=low + + * Rats, I can't do away with that slrnpull.conf symlink after all, it + breaks for people who have multiple confs and use -d. + + -- Joey Hess Sat, 24 Feb 2001 21:37:10 -0800 + +slrn (0.9.6.3-8) unstable; urgency=low + + * Really fixed build-depends typo, Closes: #84268 + + -- Joey Hess Fri, 9 Feb 2001 13:36:16 -0800 + +slrn (0.9.6.3-7) unstable; urgency=medium + + * Slrnpull now uses the scheme described in setuid.txt, Closes: #63011 + - run as user 'news' + - and /var/spool/slrnpull/{data,news} directories are sgid group news, but not + writable by that group, just by user news. + - /var/spool/slrnpull/out.going is +t to prevent users from stomping over + other user's files. + - Modified slrn to make posts to slrnpull spool be mode 640. (Enabled + SLRNPULL_USE_SETGID_POSTS, and hacked it to use mode 640, not 660.) + - Documented above in README.Debian + - Include slrnpull/setgid.txt in binary package. + - Added postinst code to update systems to the new permissions -- hope + this steps on no toes. + * Also made slrnpull read /etc/news/slrnpull.conf, so the symlink in + /var/news/slrnpull can be done away with. + + -- Joey Hess Wed, 7 Feb 2001 14:06:23 -0800 + +slrn (0.9.6.3-6) unstable; urgency=medium + + * Fixed build-depends, Closes: #83811 + + -- Joey Hess Sat, 27 Jan 2001 19:18:47 -0800 + +slrn (0.9.6.3-5) unstable; urgency=medium + + * Don't hardcode the domain name to build host *again*. This last happened + in 1997 and the fix for that was reverted somewhere along the way. + To prevent it from ever happenning again, I added a regression test + too. Closes: #83725 + + -- Joey Hess Sat, 27 Jan 2001 02:48:50 -0800 + +slrn (0.9.6.3-4) unstable; urgency=low + + * Added News hint, Closes: #80052 + + -- Joey Hess Tue, 19 Dec 2000 17:23:31 -0800 + +slrn (0.9.6.3-3) unstable; urgency=low + + * Modified maintainer scripts to not fail if /etc/news/server has more + than one line (although the format of the file is not particularly well + defined) Closes: #72978 + + -- Joey Hess Fri, 8 Dec 2000 22:25:06 -0800 + +slrn (0.9.6.3-2) unstable; urgency=low + + * Patch from Colin Phipps to fix a temp file + problem. Closes: #79058 (This problem is not exploitable by default + in Debian.) + + -- Joey Hess Fri, 8 Dec 2000 13:25:29 -0800 + +slrn (0.9.6.3-1) unstable; urgency=low + + * New upstream version. + + -- Joey Hess Tue, 31 Oct 2000 10:46:49 -0800 + +slrn (0.9.6.2-14) unstable; urgency=low + + * Patch from Michal Politowski to fix the patch I applied in -9 from + redhat's BTS. It was using sizeof() incorrectly, and truncating the + web browser command it ran to sizeof(char *). Closes: #75171 + + -- Joey Hess Fri, 20 Oct 2000 12:21:39 -0700 + +slrn (0.9.6.2-13) unstable; urgency=low + + * Removed a CVS directory that snuck into the deb. + + -- Joey Hess Fri, 13 Oct 2000 01:28:19 -0400 + +slrn (0.9.6.2-12) unstable; urgency=low + + * In both config scripts, used hostname -d. I had a quoting error that + was making the hostname be evaled. Closes: #71686 + + -- Joey Hess Sat, 30 Sep 2000 21:19:24 -0700 + +slrn (0.9.6.2-11) unstable; urgency=low + + * Added a guard to /etc/cron.weekly/slrn to ensure slrn is installed + before it tries to run. Closes: #69099 + * Config scripts detect reconfigure case, and when it is reconfigured, + allows you to change your news server. Closes: #64299 + * The config scripts are now shell scripts, not perl programs. + * Fixed some dumb bugs in the preinst. + * No longer links /etc/news/server to /etc/nntpserver, the latter is + long-deprecated. + + -- Joey Hess Thu, 31 Aug 2000 18:50:03 -0700 + +slrn (0.9.6.2-10) unstable; urgency=low + + * Moved to using logrotate for slrnpull. + + -- Joey Hess Sun, 9 Jul 2000 00:43:51 -0700 + +slrn (0.9.6.2-9) unstable; urgency=low + + * Applied a patch from + http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=12750 to fix + dozens of potential buffer overrun holes in slrn and slrnpull. These + include local environment variable overruns which Debian should not be + vulnerable to, since nothing in this package is installed setuid or + setgid (unlike Red Hat). It also includes theoretical remote exploits by + poisening newsgroup data. All theoretical, so I am not uploading it to + frozen, but I might as well apply the patch. + + -- Joey Hess Thu, 22 Jun 2000 18:26:33 -0700 + +slrn (0.9.6.2-8) unstable; urgency=low + + * Whoops, my unstable version numbers got out of sync, and the changes below + were never accepted in. Reupload with a better version number and a merge + from the potato branch. + * Slrnpull runs in background from ip-up.d script. Closes: #59615 + * Closes: #54137, weird .deb timestamp problem seems to be unreproducable. + * Closes: #53811, fixed long ago + * Documented how to turn off colors, Closes: #43570 + * Included slrnfuns.txt, Closes: #57298 + * Changed all blue on black text to brightblue on black, in the global + slrn.rc. This is the smallest change I can think of to make to fix the + issue that the color scheme is unreadable in an xterm. Closes: #55201 + + -- Joey Hess Fri, 11 Feb 2000 14:33:38 -0800 + +slrn (0.9.6.2-7) frozen unstable; urgency=low + + * Replaced my hackery in the last release with a good patch from upstream. + Url-escapes most stuff in URLS to prevent exploits, and doesn't use a + fixed size buffer. Closes: #57616 + + -- Joey Hess Wed, 9 Feb 2000 21:23:00 -0800 + +slrn (0.9.6.2-6) frozen unstable; urgency=low + + * Fixed 2 sprintf calls in launch_url that get untrusted text passed + into them, and so could be used for exploits in theory. + * Also fixed a quoting bug that let attackers run arbitrary commands by + embedding them in URLs. (This is not entirely fixed, but you are safe if + you use the suggested quoting in the slrn man page. It should really use + exec..) + * Luckily, there are 2 barriers for either of these security holes to be + expolited: first, the user is presented with the url before the browser + is launched (though an attacker could simply pad the front of the url with + something innocuous and hope the victim didn't scroll all the way to the + end of it). Second, you have to have non_Xbrowser or Xbrowser set in your + .slrnrc, and they are not set by default. Still, this needs to go into + frozen. Closes: #57616 + * The bug reporter is right, slrn needs a through audit. :-( + + -- Joey Hess Wed, 9 Feb 2000 15:51:33 -0800 + +slrn (0.9.6.2-5) frozen unstable; urgency=low + + * Upped MAX_GROUP_NAME_LEN to 200, to deal with a nasty long group name + floating around on pacbell's news servers. The group does not seem to be + propigating outside pacbell, so I don't know if this is a critical bug or + not. It will surely affect all pacbell customers who newly install slrn. + Up to the release manager whether this goes into frozen. Closes: #57539 + + -- Joey Hess Tue, 8 Feb 2000 16:21:33 -0800 + +slrn (0.9.6.2-4) unstable; urgency=low + + * Fixed sample slrn.rc. Closes: #54244 (half the bug report was already + fixed, actually) + * Already fixed bug: Closes: #54245 + + -- Joey Hess Sun, 9 Jan 2000 17:05:20 -0800 + +slrn (0.9.6.2-3) unstable; urgency=low + + * Search for rc file in /etc/ again. Closes: #54210 + + -- Joey Hess Thu, 6 Jan 2000 11:56:26 -0800 + +slrn (0.9.6.2-2) unstable; urgency=low + + * Oops, I forgot to correct a spelling error, Closes: #53205 + + -- Joey Hess Mon, 3 Jan 2000 16:33:00 -0800 + +slrn (0.9.6.2-1) unstable; urgency=low + + * New upstream, Closes: #53875 and fixes source package. + + -- Joey Hess Mon, 3 Jan 2000 12:13:24 -0800 + +slrn (0.9.5.7-16) unstable; urgency=low + + * Need to build-depend on a specific version of debhelper or higher. + + -- Joey Hess Sat, 4 Dec 1999 15:55:44 -0800 + +slrn (0.9.5.7-15) unstable; urgency=low + + * debian/config: Removed weird extra capb command, Closes: #51650 + * Build deps. + + -- Joey Hess Tue, 30 Nov 1999 15:26:42 -0800 + +slrn (0.9.5.7-14) unstable; urgency=low + + * If /etc/news/server is exists but is empty, populate it on install, + asking question if necessary. Closes: #48218 + * Correct cron job (and ip-up script) Closes: #50845 + + -- Joey Hess Mon, 22 Nov 1999 13:51:25 -0800 + +slrn (0.9.5.7-13) unstable; urgency=low + + * More debconf protocol version 2 fixes. + + -- Joey Hess Tue, 9 Nov 1999 16:14:11 -0800 + +slrn (0.9.5.7-12) unstable; urgency=low + + * Converted to debconf protocol version 2.0. + + -- Joey Hess Fri, 29 Oct 1999 16:24:37 -0700 + +slrn (0.9.5.7-11) unstable; urgency=low + + * Corrected a minor typo on the slrn man page. Closes: #47262 + * Fixed slrnpull's ip-up script to actually pull news if you aksed it to. + Closes: #46884 + + -- Joey Hess Wed, 13 Oct 1999 07:01:44 -0700 + +slrn (0.9.5.7-10) unstable; urgency=low + + * Reupload with full source, *again*. + * Closes: #46282, which was really fixed last release. + * Fixed typo in ip-up.d, Closes: #46473 + + -- Joey Hess Sun, 3 Oct 1999 01:32:17 -0700 + +slrn (0.9.5.7-9) unstable; urgency=low + + * Reupload with full source, because it's got a messed up tar file in the + archive (which needs to be deleted, ftp maintainers take note..) + * Closes: #46282, which was really fixed last release. + + -- Joey Hess Thu, 30 Sep 1999 12:05:35 -0700 + +slrn (0.9.5.7-8) unstable; urgency=low + + * Raised the priority of the "get descriptions now?" question, and + don't abort the postinst if it fails, as it is hardly critical to the + use of slrn. Closes: #46282 + + -- Joey Hess Wed, 29 Sep 1999 20:47:22 -0700 + +slrn (0.9.5.7-7) unstable; urgency=low + + * Modified to use new debhelper debconf support. + + -- Joey Hess Tue, 28 Sep 1999 17:04:36 -0700 + +slrn (0.9.5.7-6) unstable; urgency=low + + * Added code to clean up the debconf db on purge. This is a test of the + shared variable stuff. + + -- Joey Hess Mon, 27 Sep 1999 16:38:11 -0700 + +slrn (0.9.5.7-5) unstable; urgency=low + + * Optimized the ip-up script. (Closes: #45726) + + -- Joey Hess Sat, 25 Sep 1999 02:24:05 -0700 + +slrn (0.9.5.7-4) unstable; urgency=low + + * Modified to use debconf. The postinst was made completly non-interactive. + slrnconfig and slrnpullconfig were removed (use + "dpkg-reconfigure slrn(pull)"). All the cron jobs and such pull values + out of the debconf db directly. + + -- Joey Hess Thu, 9 Sep 1999 12:17:24 -0700 + +slrn (0.9.5.7-2) unstable; urgency=low + + * Added #DEBHELPER# to both preinsts. + * Fixed some bad mergers. + * FHS + + -- Joey Hess Mon, 6 Sep 1999 17:41:13 -0700 + +slrn (0.9.5.7-1) unstable; urgency=low + + * New upstream release. + + -- Joey Hess Mon, 6 Sep 1999 17:41:07 -0700 + +slrn (0.9.5.6-5) unstable; urgency=low + + * Rebuilt with new slang1-dev to fix dependancy problem. + + -- Joey Hess Fri, 27 Aug 1999 20:39:51 -0700 + +slrn (0.9.5.6-4) unstable; urgency=low + + * Fixed source in perl script bashism. Don't ask. + + -- Joey Hess Fri, 6 Aug 1999 17:18:24 -0700 + +slrn (0.9.5.6-3) unstable; urgency=low + + * Fixed dependancy. + + -- Joey Hess Wed, 4 Aug 1999 15:42:34 -0700 + +slrn (0.9.5.6-2) unstable; urgency=low + + * Now depends on slang1 from unstable. If one used unstable slrn and stable + slang1, it could crash in some circumstances (Closes: #41903) + + -- Joey Hess Wed, 4 Aug 1999 11:37:07 -0700 + +slrn (0.9.5.6-1) unstable; urgency=low + + * New upstream release. + + -- Joey Hess Tue, 25 May 1999 13:55:23 -0700 + +slrn (0.9.5.5-1) unstable; urgency=low + + * New upstream release. + + -- Joey Hess Mon, 26 Apr 1999 19:09:54 -0700 + +slrn (0.9.5.4-4) unstable; urgency=low + + * Fixed crash on weird email addresses, patch from Dinko Korunic. + + -- Joey Hess Sat, 17 Apr 1999 13:37:18 -0700 + +slrn (0.9.5.4-3) unstable; urgency=low + + * Use /etc/news/server. + + -- Joey Hess Fri, 16 Apr 1999 12:36:11 -0700 + +slrn (0.9.5.4-2) unstable; urgency=low + + * Added example score file to slrnpull, fixes part of #33096. + * Moved /var/spool/slrnpull/log to /var/log/news/slrnpull.log, and rotate + it (closes: #33096) + + -- Joey Hess Tue, 9 Feb 1999 14:16:53 -0800 + +slrn (0.9.5.4-1) unstable; urgency=low + + * New upstream release. + + -- Joey Hess Sat, 7 Nov 1998 17:08:46 -0800 + +slrn (0.9.5.3-4) unstable; urgency=low + + * Fixed postinst typo. + + -- Joey Hess Thu, 8 Oct 1998 11:55:53 -0700 + +slrn (0.9.5.3-3) unstable; urgency=low + + * Remove some slrnpull stuff if you don't use slrnpull. + + -- Joey Hess Tue, 6 Oct 1998 20:02:05 -0700 + +slrn (0.9.5.3-2) unstable; urgency=low + + * Made slrnconfig guess at newsserver to provide a default (#27287). + + -- Joey Hess Thu, 1 Oct 1998 17:10:38 -0700 + +slrn (0.9.5.3-1) unstable; urgency=low + + * New upstream release. + + -- Joey Hess Mon, 14 Sep 1998 12:27:12 -0700 + +slrn (0.9.5.2-7) unstable; urgency=low + + * Rebuilt with debhelper 1.1.19, fixes man page collision problem #26603. + + -- Joey Hess Thu, 10 Sep 1998 11:22:34 -0700 + +slrn (0.9.5.2-6) unstable; urgency=low + + * If /etc/ppp/ip-ip.d/slrn, or /etc/cron.weekly/slrn contains the string, + "/etc/slrnget.conf", output a warning and offer to fix it to point to + /etc/news/slrn.debian.conf (#26541). + * If upgrading from a version before the split into 2 packages, and if + slrnpull is not marked for install, output a warning message letting + them know they are going to lose slrnpull (#26541). + + -- Joey Hess Tue, 8 Sep 1998 12:43:41 -0700 + +slrn (0.9.5.2-5) unstable; urgency=low + + * Rebuilt to fix dependancies (#26542). + + -- Joey Hess Tue, 8 Sep 1998 12:30:10 -0700 + +slrn (0.9.5.2-4) unstable; urgency=low + + * Applied patch from author, to fix slrn's response to signals. + + -- Joey Hess Tue, 16 Jun 1998 13:42:34 -0700 + +slrn (0.9.5.2-3) unstable; urgency=low + + * Fixed several typo's intrroduced in the last version. + * FYI, this package was built on a computer moving 60mph on a train. :-) + + -- Joey Hess Sun, 17 May 1998 11:20:08 -0700 + +slrn (0.9.5.2-2) unstable; urgency=low + + * The previous version removed the conffile /etc/cron.daily/slrn (it was + moved into the slrnpull package and renamed). I notice that on upgrade + to slrn, this file is preserved, and gets run daily, generating error + messages. To work around that, I have added code to the postinst of slrn + to delete it if it exists. + + -- Joey Hess Thu, 14 May 1998 00:48:55 -0700 + +slrn (0.9.5.2-1) unstable; urgency=low + + * New upstream release. + * Split the package into two: slrn will contain only the newsreader, while + the new slrnpull package will contain the slrnpull stuff. Did this + becuase it's ben pointed out some people may want slrn but not slrnpull, + other may want slrnpull, but a news reader other than slrn. + * Rewrote slrnconfig extensively, splitting part of it into + slrnpullconfig, and making it all much easier to use. + * Split /etc/slrnget.conf into 2 files, /etc/news/slrn.debian.conf and + /etc/news/slrnpull.debian.conf + + -- Joey Hess Tue, 5 May 1998 13:31:39 -0700 + +slrn (0.9.5.1-2) unstable; urgency=low + + * Moved /var/spool/slrnpull/slrnpull.conf to /etc/news/slrnpull.conf with + a symlink back to the old location. (#21133) + + -- Joey Hess Tue, 28 Apr 1998 14:55:36 -0700 + +slrn (0.9.5.1-1) unstable; urgency=low + + * New upstream release, linked with new slang 1.2. + + -- Joey Hess Sat, 25 Apr 1998 16:42:35 -0700 + +slrn (0.9.4.3-4) unstable; urgency=low + + * Fixed all lintian reports: + - updated standard version. + - fixed FSF mailing address. + - removed du control file. + - fixed md5sums permissions. + - added man pages for all executables. + * There is a problem with using slrnpull for a local news spool and + posting outgoing news into /var/spool/slrnpull/out.going/. Unless that + directory is set to permissions 777 (or your user is in group news), it + won't work. Since most people do not use slrnpull, I have not changed the + directory permissions, but this is now documented in README.Debian. I + have also brought this problem to the attention of the upstream author. + + -- Joey Hess Fri, 20 Feb 1998 15:12:49 -0800 + +slrn (0.9.4.3-3) unstable; urgency=low + + * Don't depend on perl; perl-base is sufficient. + + -- Joey Hess Sat, 7 Feb 1998 19:24:52 -0800 + +slrn (0.9.4.3-2) unstable; urgency=low + + * Removed ugly modification of /etc/ppp/ip-up, now uses ip-up.d directory. + * Added du and md5sums. + + -- Joey Hess Thu, 8 Jan 1998 12:53:03 -0500 + +slrn (0.9.4.3-1) unstable; urgency=low + + * New upstream release. + * Use debhelper. + * Fixed unchecked prompting in postinst. + * Use pristine upstream source. + + -- Joey Hess Wed, 1 Oct 1997 12:30:38 -0400 + +slrn (0.9.4.2-8) unstable; urgency=low + + * Fixed slrn to read global slrn.rc file. + * Routine update of debian/rules: + Fixed binary-indep target. + + -- Joey Hess Fri, 5 Sep 1997 14:29:23 -0400 + +slrn (0.9.4.2-7) unstable; urgency=low + + * Don't delete /etc/news/server, instead, make sure it is a symlink to + /etc/nntpserver. (#12478) + + -- Joey Hess Thu, 4 Sep 1997 15:54:31 -0400 + +slrn (0.9.4.2-6) unstable; urgency=low + + * Fixed bug when user said not to save configuration in slrnconfig. + + -- Joey Hess Tue, 2 Sep 1997 13:10:35 -0400 + +slrn (0.9.4.2-5) unstable; urgency=low + + * Don't hardcode the domain name (was hardcoded to kite.ml.org by configure + script). (#11616) + + -- Joey Hess Wed, 30 Jul 1997 00:12:24 -0400 + +slrn (0.9.4.2-4) unstable; urgency=low + + * Change umask to 022 in ip-up script for slrnpull, reset when done. + * Don't use /etc/news/server (#11447) + + -- Joey Hess Sat, 19 Jul 1997 13:56:08 -0400 + +slrn (0.9.4.2-3) unstable; urgency=low + + * Fixed uid/gid problem (caused by fakeroot with a non-libc6 dpkg-deb) + #11182 + + -- Joey Hess Sat, 12 Jul 1997 13:05:34 -0400 + +slrn (0.9.4.2-2) unstable; urgency=low + + * post{inst,rm} were calling update-menus twice, this led to very weird + results, and has been corrected. + * Fixes to debian/rules to only run sudo when it really has to so fakeroot + works right. + + -- Joey Hess Wed, 9 Jul 1997 16:13:16 -0400 + +slrn (0.9.4.2-1) unstable; urgency=low + + * New upstream release. + + -- Joey Hess Wed, 9 Jul 1997 14:34:15 -0400 + +slrn (0.9.4.1-3) unstable; urgency=low + + * Only run slrnconfig in postinst if /etc/slrnget.conf is not present. + + -- Joey Hess Wed, 25 Jun 1997 08:43:48 -0400 + +slrn (0.9.4.1-2) unstable; urgency=low + + * Added a /usr/doc/slrn/examples/slrn.rc_for_slrnpull file. + * Added note to README.debian about how to set up slrnrc for slrnpull. + + -- Joey Hess Tue, 24 Jun 1997 16:30:15 -0400 + +slrn (0.9.4.1-1) unstable; urgency=low + + * New upstream release. + * Built with glibc6 and a new version of the slang package. + * Added slrnconfig to debian menus (Apps/System/Admin menu), converted + menu file to new format. + * Let debstd install the menu file. + * Removed slrn-wrap.c from source package (hasn't been used for a long + time.) + + -- Joey Hess Tue, 24 Jun 1997 11:54:22 -0400 + +slrn (0.9.3.2-5) unstable; urgency=low + + * Last version was rejected to stable, this should correct it, and go into + only unstable. (Version 0.9.3.2-2.1 will go into stable.) + * No further changes, except those from last version that was rejected, + fixing crontab problem. + + -- Joey Hess Mon, 23 Jun 1997 11:34:03 -0400 + +slrn (0.9.3.2-4) stable unstable; urgency=low + + * Fix cron job problem that caused an error to be printed each week. + I hope this can make it into a stable point-release of debian. + + -- Joey Hess Sun, 8 Jun 1997 15:51:25 -0400 + +slrn (0.9.3.2-3) unstable; urgency=low + + * For compatablity with qmail, use /usr/sbin/sendmail, not + /usr/lib/sendmail, to send mail. + * Routine update of debian/rules: + Run dpkg-gencontrol after debstd, and delete substvars during clean. + + -- Joey Hess Sun, 1 Jun 1997 23:25:39 -0400 + +slrn (0.9.3.2-2) unstable; urgency=low + + * Install properly if ppp is not installed (#7817). + + -- Joey Hess Tue, 4 Mar 1997 16:30:12 -0500 + +slrn (0.9.3.2-1) unstable; urgency=low + + * New upstream release (bugfix release). + * Pipe some things in the cron jobs to /dev/null. + * Cosmetic fix to slrnconfig. + + -- Joey Hess Mon, 3 Mar 1997 20:35:31 -0500 + +slrn (0.9.3.1-1) unstable; urgency=low + + * New upstream version. + * Added slrnpull to the package. + * Remove message about TERMCAP from slrn's readme.debian -- fixed now by + new slang library. + * Oops, forgot to fix maintainer in control file and copyright file. + * Removed references to my obsolete jeh22@cornell.edu address. + * Rewrote description in control file. + * Rewrote postinst script in sh. Added a perl script, /usr/sbin/slrnconfig, + so still has a dependancy on perl. + * No more wrapper program! Instead, the above mentioned slrnconfig can + activate cron jobs, or place commands in /etc/ppp/ip-up. + * Made /etc/news/slrn.rc a conffile. + * Cleaned up purging. + + -- Joey Hess Fri, 28 Feb 1997 22:56:24 -0500 + +slrn (0.9.2.1-1) unstable; urgency=low + + * New upstream version. + * New maintainer. + * Routine update of debian/rules. + * Added a menu-file. + * Enabled support for local news spools, inews, and grouplens. + * debian/rules clean cleans up some files it missed before. + * Added README.macros file to docs. + + -- Joey Hess Wed, 18 Dec 1996 22:21:25 -0500 + +slrn (0.8.8.4-1.1) unstable; urgency=low + + * Interim release by Joey Hess . + * Updated to new packaging standard and now uses debmake. + * Fixed slang dependancy to use proper name of slang package. (#5253) + * Fixed "5 min" typo in wrapper program. + * Changed fix for xterm problem to unsetting TERMCAP. + * Registers itself with install-fvwm2menu. + * Added depends: perl for postinst. + * Changed MEMSET to SLmemset so it will work with new version of slang. + * Made /etc/news/slrn-help.txt a conffile. + + -- Joey Hess Mon, 4 Nov 1996 12:20:56 -0500 + +slrn 0.8.8.4-1 + + src/features.h + NNTPSERVER_FILE = /etc/nntpserver + SLRN_LIB_DIR = /etc/news + Added #define SLRN_DSC_DIR "/var/lib/slrn" + + src/group.c + Changed source to use SLRN_DSC_DIR/newsgroups.dsc for + newsgroups-description-file + + configure + Added -lm to X_EXTRA_LIBS so it can be linked dynamically + (make sure we do this in the right place.....) + + slrn.1 + Added location of system-wide initializationfile (/etc/news/slrn.rc) + Added pointer to the SLRNHELP env-variable + + Added a wrapper to slrn to check the 'age' of the newsgroups-description + file. If not present or older then a week, a new one is fetched. --- slrn-0.9.8.1pl1.orig/debian/compat +++ slrn-0.9.8.1pl1/debian/compat @@ -0,0 +1 @@ +4 --- slrn-0.9.8.1pl1.orig/debian/config +++ slrn-0.9.8.1pl1/debian/config @@ -0,0 +1,73 @@ +#!/bin/sh -e + +. /usr/share/debconf/confmodule +db_version 2.0 + +# Load in defaults file if it exists, and use it to set defaults of debconf +# questions. +if [ -f /etc/default/slrn ]; then + . /etc/default/slrn || true +fi + +if [ ! -z "$GETDESCS" ]; then + db_set slrn/getdescs "$GETDESCS" +fi + +db_beginblock + +# Note this code block is duplicated in slrnpull's config script. +if [ ! -s /etc/news/server ]; then + # No news server file currently exists (or it's empty). + db_get shared/news/server + SERVER="$RET" + # If there is no server set, try to guess a good value. + if [ -z "$SERVER" ]; then + NETNAME="`hostname -d`" || true + if [ ! -z "$NETNAME" ]; then + db_set shared/news/server "news.$NETNAME" + fi + fi +else + # Reconfiguring the package, or a news server file already exists. + # Still ask the question, though it may or may not be seen. Just + # use the first line of the file now as the default answer. + db_set shared/news/server "`head -n 1 /etc/news/server`" + # Effectively, the question is seen -- since the file is set up.. + db_fset shared/news/server seen true +fi +db_input medium shared/news/server || true + +if [ ! -s /etc/mailname ]; then + # No /etc/mailname file, or it's empty, so prompt for the mailname. + db_get shared/mailname + MAILNAME="$RET" + if [ -z "$MAILNAME" ]; then + db_set shared/mailname "`hostname --fqdn`" || db_set shared/mailname "`hostname`" + fi +else + # Reconfiguring the package, or a mailname file already exists. + # Still ask the question, though it may not be seen. Just use the + # first line of the file now as the default answer. + db_set shared/mailname "`head -n 1 /etc/mailname`" + # Effectively, the question is seen -- since the file is set up.. + db_fset shared/mailname seen true +fi +db_input medium shared/mailname || true + +db_input low slrn/getdescs || true + +if [ ! -f /var/lib/slrn/newsgroups.dsc ]; then + db_input low slrn/getdescs_now || true +else + db_set slrn/getdescs_now false +fi + +db_endblock +db_go || true + +db_get slrn/getdescs +if [ "$RET" = manually ]; then + # Need to show them this message. + db_input low slrn/manual_getdescs || true + db_go || true +fi --- slrn-0.9.8.1pl1.orig/debian/control +++ slrn-0.9.8.1pl1/debian/control @@ -0,0 +1,40 @@ +Source: slrn +Section: news +Priority: optional +Maintainer: Norbert Tretkowski +Build-Depends: debhelper (>= 4.1.13), libslang2-dev, libuu-dev, exim4 | mail-transport-agent, gettext, dpkg-dev (>= 1.9.0), libgnutls-dev, po-debconf, autoconf (>= 2.58), automake1.8, dpatch, libcanlock2-dev +Standards-Version: 3.7.2.0 + +Package: slrn +Architecture: any +Depends: debianutils (>= 1.13.1), ${shlibs:Depends}, ${misc:Depends} +Provides: news-reader +Suggests: slrnpull, metamail +Description: threaded news reader (fast for slow links) + Slrn is a threaded news reader with color support that is designed to + read news fast over slow links. + . + Slrn can read usenet news via NNTP or directly from a local news spool. + . + Slrn can be heavily customized from its rc file, and even includes a + built in macro language. There is also support for killfiles and + article scoring. + +Package: slrnpull +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Conflicts: slrn (<< 0.9.5.2-1) +Replaces: slrn +Suggests: slrn | news-reader +Description: pulls a small newsfeed from an NNTP server + Slrnpull pulls a small newsfeed, from an NNTP server, to a local news spool + directory. The news spool can be used by news readers (such as slrn), which + can read a local news spool without an NNTP server. + . + In combination with the slrn news reader, slrnpull can provide true + offline news reading. You can tell slrnpull to download headers only, + mark interesting ones for download with slrn and fetch those article + bodies during the next run of slrnpull. + . + Slrnpull also has the ability to killfile articles so that they will not + be downloaded from the server. --- slrn-0.9.8.1pl1.orig/debian/copyright +++ slrn-0.9.8.1pl1/debian/copyright @@ -0,0 +1,39 @@ +This is a Debian prepackaged version of the slrn newsreader. + +Source code was obtained from: + http://slrn.sourceforge.net/ + +The debian package of slrn was originally maintained by Maarten Boekhold +, and the current maintainer is Joey Hess +. + +The following copyright applies to this package: + + Copyright (c) 1994, 1999 John E. Davis + + For parts of it: + + Copyright (c) 2001-2003 Thomas Schultz + + For the parts in src/snprintf.c that are based on code from glib 1.2.8: + + Copyright (C) 1995-1998 Peter Mattis, Spencer Kimball and Josh MacDonald + Modified by the GLib Team and others 1997-1999. See the AUTHORS + file for a list of people on the GLib Team. See the ChangeLog + files for a list of changes. These files are distributed with + GLib at ftp://ftp.gtk.org/pub/gtk/. + + All the code in this package is distributed under the following conditions: + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + +On Debian systems the complete text of the GPL is in +/usr/share/common-licenses/GPL --- slrn-0.9.8.1pl1.orig/debian/cron.weekly +++ slrn-0.9.8.1pl1/debian/cron.weekly @@ -0,0 +1,13 @@ +#!/bin/sh +# +# Cron.weekly script for slrn. Update newsgroups descriptions. + +[ -x /usr/bin/slrn ] || exit 0 + +if [ -f /etc/default/slrn ]; then + . /etc/default/slrn +fi + +if [ "$GETDESCS" = "cron job" ]; then + /usr/sbin/slrn_getdescs $INTERVAL >/dev/null 2>&1 +fi --- slrn-0.9.8.1pl1.orig/debian/ip-up +++ slrn-0.9.8.1pl1/debian/ip-up @@ -0,0 +1,14 @@ +#!/bin/sh +# +# This script is called when ppp connects to the network. +# Slrn uses it for refreshing newsgroup descriptions + +[ -x /usr/bin/slrn ] || exit 0 + +if [ -f /etc/default/slrn ]; then + . /etc/default/slrn +fi + +if [ "$GETDESCS" = "ip-up" ]; then + /usr/sbin/slrn_getdescs $INTERVAL & >/dev/null +fi --- slrn-0.9.8.1pl1.orig/debian/menu +++ slrn-0.9.8.1pl1/debian/menu @@ -0,0 +1,4 @@ +?package(slrn):needs="text" section="Apps/Net" title="Slrn" \ + longtitle="Slrn News Reader" command="/usr/bin/slrn" \ + hints="News Reader"\ + icon="/usr/share/pixmaps/slrn-icon.xpm" --- slrn-0.9.8.1pl1.orig/debian/patches/00list +++ slrn-0.9.8.1pl1/debian/patches/00list @@ -0,0 +1,14 @@ +101_author-search.diff +102_error-logging.diff +200_unneeded-deps.diff +201_configure.diff +202_help.txt.diff +203_locations.diff +204_manpage.diff +205_organization.diff +206_branding.diff +207_damn-autoconf.diff +208_slrnrc-conv.diff +209_optic.diff +210_doc-fix.diff +211_query-cutoff.diff --- slrn-0.9.8.1pl1.orig/debian/patches/101_author-search.diff +++ slrn-0.9.8.1pl1/debian/patches/101_author-search.diff @@ -0,0 +1,30 @@ +#! /bin/sh -e +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -Nur slrn-0.9.8.1pl1.orig/src/art.c slrn-0.9.8.1pl1/src/art.c +--- slrn-0.9.8.1pl1.orig/src/art.c 2005-01-28 23:26:09.000000000 +0000 ++++ slrn-0.9.8.1pl1/src/art.c 2005-04-08 17:05:56.000000000 +0000 +@@ -5064,8 +5064,8 @@ + (unsigned char *) l->from + strlen (l->from), + &st)) + #else +- && (NULL != SLsearch_forward (st, (SLuchar_Type *) l->subject, +- (SLuchar_Type *) l->subject + strlen (l->subject))) ++ && (NULL != SLsearch_forward (st, (SLuchar_Type *) l->from, ++ (SLuchar_Type *) l->from + strlen (l->from))) + #endif + ) + break; --- slrn-0.9.8.1pl1.orig/debian/patches/102_error-logging.diff +++ slrn-0.9.8.1pl1/debian/patches/102_error-logging.diff @@ -0,0 +1,226 @@ +#! /bin/sh -e +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -Nur slrn-0.9.8.1pl1.orig/src/sltcp.c slrn-0.9.8.1pl1/src/sltcp.c +--- slrn-0.9.8.1pl1.orig/src/sltcp.c 2005-01-29 00:22:46.000000000 +0100 ++++ slrn-0.9.8.1pl1/src/sltcp.c 2005-10-09 12:48:32.000000000 +0200 +@@ -205,7 +205,7 @@ + snprintf(portstr, 6, "%i", port); + if ((r = getaddrinfo(host, portstr, &hint, &res)) != 0) { + if (TCP_Verbose_Reporting) { +- fprintf (stderr, "Error resolving %s (port %s): %s\n", host, portstr, gai_strerror(r)); ++ slrn_error ("Error resolving %s (port %s): %s\n", host, portstr, gai_strerror(r)); + } + if (r == EAI_AGAIN) { + slrn_sleep (1); +@@ -214,11 +214,11 @@ + } while (r && (tries++ <= 3)); + + if (r) { +- fprintf (stderr, _("Failed to resolve %s\n"), host); ++ slrn_error (_("Failed to resolve %s\n"), host); + return -1; + } + if (TCP_Verbose_Reporting) { +- fprintf (stderr, "Successfully resolved %s\n", host); ++ slrn_error ("Successfully resolved %s\n", host); + } + + ai = res; +@@ -231,43 +231,43 @@ + int l; + if (a->sa_family == AF_INET) { + l = sizeof(struct sockaddr_in); +- fprintf (stderr, "Address family: AF_INET\n"); ++ slrn_error ("Address family: AF_INET\n"); + } else { + assert(a->sa_family == AF_INET6); + l = sizeof(struct sockaddr_in6); +- fprintf (stderr, "Address family: AF_INET6\n"); ++ slrn_error ("Address family: AF_INET6\n"); + } + if (!getnameinfo(a, l, buf, NI_MAXHOST-1, NULL, 0, NI_NUMERICHOST)) { +- fprintf (stderr, "Will try with address %s", buf); ++ slrn_error ("Will try with address %s", buf); + } else { +- fprintf (stderr, "getnameinfo failed: %s\n", strerror(errno)); ++ slrn_error ("getnameinfo failed: %s\n", strerror(errno)); + } + # else + if (a->sa_family == AF_INET) { +- fprintf (stderr, "Address family: AF_INET\n"); ++ slrn_error ("Address family: AF_INET\n"); + } else { + assert(a->sa_family == AF_INET6); +- fprintf (stderr, "Address family: AF_INET6\n"); ++ slrn_error ("Address family: AF_INET6\n"); + } + # endif /* HAVE_GETNAMEINFO */ + } + + if ((fd = socket(ai->ai_family, SOCK_STREAM, 0)) == -1) { + if (TCP_Verbose_Reporting) { +- fprintf (stderr, "Error creating socket: %s\n", strerror(errno)); ++ slrn_error ("Error creating socket: %s\n", strerror(errno)); + } + } else { + if (TCP_Verbose_Reporting) { +- fprintf (stderr, "Created socket; descriptor is = %i\n", fd); ++ slrn_error ("Created socket; descriptor is = %i\n", fd); + } + if ((r = connect(fd, ai->ai_addr, ai->ai_addrlen)) == 0) { + if (TCP_Verbose_Reporting) { +- fprintf (stderr, "Successfully connected\n"); ++ slrn_error ("Successfully connected\n"); + } + connected = 1; + } else { + if (TCP_Verbose_Reporting) { +- fprintf (stderr, "Error connecting: %i, %s\n", errno, strerror(errno)); ++ slrn_error ("Error connecting: %i, %s\n", errno, strerror(errno)); + } + (void) SLTCP_CLOSE (fd); + } +@@ -278,7 +278,7 @@ + freeaddrinfo(res); + + if (!connected) +- fprintf(stderr, _("Unable to make connection. Giving up.\n")); ++ slrn_error(_("Unable to make connection. Giving up.\n")); + + return connected ? fd : -1; + #else +@@ -313,7 +313,7 @@ + continue; + } + # endif +- fprintf(stderr, _("%s: Unknown host.\n"), host); ++ slrn_error(_("%s: Unknown host.\n"), host); + return -1; + } + +@@ -359,7 +359,7 @@ + + this_host = (char *) inet_ntoa (s_in.sin_addr); + +- if (TCP_Verbose_Reporting) fprintf (stderr, "trying %s\n", this_host); ++ if (TCP_Verbose_Reporting) slrn_error ("trying %s\n", this_host); + + not_connected = connect (s, (struct sockaddr *)&s_in, sizeof (s_in)); + +@@ -372,7 +372,7 @@ + continue; + } + # endif +- fprintf (stderr, _("connection to %s, port %d:"), ++ slrn_error (_("connection to %s, port %d:"), + (char *) this_host, port); + perror (""); + } +@@ -381,7 +381,7 @@ + + if (not_connected) + { +- fprintf(stderr, _("Unable to make connection. Giving up.\n")); ++ slrn_error(_("Unable to make connection. Giving up.\n")); + (void) SLTCP_CLOSE (s); + return -1; + } +@@ -484,7 +484,7 @@ + int err; + + while (0 != (err = ERR_get_error())) +- fprintf (stderr, "%s\n", ERR_error_string(err, 0)); ++ slrn_error ("%s\n", ERR_error_string(err, 0)); + } + + unsigned long Fast_Random; +@@ -519,7 +519,7 @@ + if (RAND_status ()) + return 0; + +- fprintf (stderr, _("Unable to generate enough entropy\n")); ++ slrn_error (_("Unable to generate enough entropy\n")); + return -1; + } + +@@ -538,7 +538,7 @@ + if (c == NULL) + { + dump_ssl_error_0 (); +- fprintf (stderr, _("SSL_CTX_new failed.\n")); ++ slrn_error (_("SSL_CTX_new failed.\n")); + return NULL; + } + This_SSL_Ctx = c; +@@ -553,7 +553,7 @@ + return ssl; + + dump_ssl_error_0 (); +- fprintf (stderr, _("SSL_new failed\n")); ++ slrn_error (_("SSL_new failed\n")); + return NULL; + } + +@@ -570,17 +570,17 @@ + case SSL_ERROR_NONE: + break; + case SSL_ERROR_ZERO_RETURN: +- fprintf (stderr, _("Unexpected error: SSL connection closed\n")); ++ slrn_error (_("Unexpected error: SSL connection closed\n")); + break; + case SSL_ERROR_SYSCALL: +- fprintf (stderr, _("System call failed: errno = %d\n"), errno); ++ slrn_error (_("System call failed: errno = %d\n"), errno); + break; + case SSL_ERROR_SSL: +- fprintf (stderr, _("Possible protocol error\n")); ++ slrn_error (_("Possible protocol error\n")); + break; + } + dump_ssl_error_0 (); +- if (msg != NULL) fprintf (stderr, _("%s failed\n"), msg); ++ if (msg != NULL) slrn_error (_("%s failed\n"), msg); + } + #endif /* SLTCP_HAS_SSL_SUPPORT */ + +@@ -599,7 +599,7 @@ + if (NULL == (ssl = alloc_ssl ())) + return NULL; + #else +- fprintf (stderr, _("\n\n*** This program does not support SSL\n")); ++ slrn_error (_("\n\n*** This program does not support SSL\n")); + return NULL; + #endif + } +@@ -607,7 +607,7 @@ + tcp = (SLTCP_Type *) SLMALLOC (sizeof (SLTCP_Type)); + if (tcp == NULL) + { +- fprintf (stderr, _("Memory Allocation Failure.\n")); ++ slrn_error (_("Memory Allocation Failure.\n")); + #if SLTCP_HAS_SSL_SUPPORT + dealloc_ssl (ssl); + #endif +@@ -639,7 +639,7 @@ + if (1 != SSL_set_fd (ssl, fd)) + { + /* Yuk. SSL_set_fd returns 0 upon failure */ +- fprintf (stderr, _("SSL_set_fd failed\n")); ++ slrn_error (_("SSL_set_fd failed\n")); + sltcp_close (tcp); + return NULL; + } --- slrn-0.9.8.1pl1.orig/debian/patches/200_unneeded-deps.diff +++ slrn-0.9.8.1pl1/debian/patches/200_unneeded-deps.diff @@ -0,0 +1,28 @@ +#! /bin/sh -e +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -Nur slrn-0.9.8.1pl1.orig/autoconf/acinclude.m4 slrn-0.9.8.1pl1/autoconf/acinclude.m4 +--- slrn-0.9.8.1pl1.orig/autoconf/acinclude.m4 2004-10-05 16:06:08.000000000 +0200 ++++ slrn-0.9.8.1pl1/autoconf/acinclude.m4 2006-01-22 02:38:41.000000000 +0100 +@@ -413,7 +413,7 @@ + fi + else + if test "x$ac_ssl_library" = "x/usr/lib" ; then +- SSLLIB="-lgnutls-extra -lgnutls -ltasn1 -lgcrypt -lgnutls-openssl" ++ SSLLIB="-lgnutls-extra -lgnutls -lgnutls-openssl" + else + if test "x$enable_hardcode_libs" = "xyes" ; then + SSLLIB="-L$ac_ssl_library $cf_rpath_option$ac_ssl_library -lgnutls-extra -lgnutls -ltasn1 -lgcrypt -lgnutls-openssl" --- slrn-0.9.8.1pl1.orig/debian/patches/201_configure.diff +++ slrn-0.9.8.1pl1/debian/patches/201_configure.diff @@ -0,0 +1,29 @@ +#! /bin/sh -e +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +--- slrn-0.9.8.0.orig/configure.in ++++ slrn-0.9.8.0/configure.in +@@ -158,7 +158,9 @@ + + dnl find inews + AH_TEMPLATE([SLRN_INEWS_COMMAND], [inews command]) +- AC_PATH_PROG(INEWS, inews, no, $PATH:/usr/local/bin:/usr/bin) ++ dnl always on for debian ++ dnl AC_PATH_PROG(INEWS, inews, no, $PATH:/usr/local/bin:/usr/bin) ++ ac_cv_path_INEWS=/usr/bin/inews + if test "x$ac_cv_path_INEWS" != xno; then + AC_DEFINE_UNQUOTED(SLRN_INEWS_COMMAND, "$ac_cv_path_INEWS -S -h") + else --- slrn-0.9.8.1pl1.orig/debian/patches/202_help.txt.diff +++ slrn-0.9.8.1pl1/debian/patches/202_help.txt.diff @@ -0,0 +1,39 @@ +#! /bin/sh -e +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +--- slrn-0.9.8.0.orig/src/slrn.c ++++ slrn-0.9.8.0/src/slrn.c +@@ -1198,9 +1198,8 @@ + { + slrn_message (_("\n! Your configuration file contains obsolete commands or function names that\n" + "! will not be supported by future versions of this program.\n" +- "! If you have Perl installed, you can use the script slrnrc-conv to change\n" +- "! your configuration accordingly. It can be found in the source distribution\n" +- "! or retrieved from .\n")); ++ "! You can use the script /usr/share/slrn/contrib/slrnrc-conv to change\n" ++ "! your configuration accordingly.\n")); + Slrn_Saw_Warning = 1; + } + +@@ -1298,7 +1297,7 @@ + #ifdef VMS + slrn_snprintf (file, sizeof (file), "%s%s", SYSCONFDIR, "help.txt"); + #else +- slrn_snprintf (file, sizeof (file), "%s/%s", SYSCONFDIR, "help.txt"); ++ slrn_snprintf (file, sizeof (file), "%s/%s", SYSCONFDIR, "slrn-help.txt"); + #endif + } + --- slrn-0.9.8.1pl1.orig/debian/patches/203_locations.diff +++ slrn-0.9.8.1pl1/debian/patches/203_locations.diff @@ -0,0 +1,56 @@ +#! /bin/sh -e +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -Nur slrn-0.9.8.1pl1.orig/src/slrnfeat.h slrn-0.9.8.1pl1/src/slrnfeat.h +--- slrn-0.9.8.1pl1.orig/src/slrnfeat.h 2003-07-30 15:36:32.000000000 +0200 ++++ slrn-0.9.8.1pl1/src/slrnfeat.h 2005-10-02 15:39:05.000000000 +0200 +@@ -70,7 +70,7 @@ + */ + + /* Root directory names */ +-# define SLRN_SPOOL_ROOT "/var/spool/news" ++# define SLRN_SPOOL_ROOT "/var/spool/slrnpull/news" + /* SLRN_NOV_ROOT gives the root directory for overview files + * if you don't have overview files, leave as SLRN_SPOOL_ROOT for now */ + # define SLRN_SPOOL_NOV_ROOT SLRN_SPOOL_ROOT +@@ -152,7 +152,9 @@ + #endif /* vms */ + + /* #define OUR_ORGANIZATION "organization-name" */ ++#define OUR_ORGANIZATION "/etc/news/organization" + /* #define OUR_HOSTNAME "host.name.here" */ ++#define OUR_HOSTNAME "/etc/mailname" + + #if SLRN_HAS_GROUPLENS + # undef SLRN_USE_SLTCP +@@ -162,7 +164,7 @@ + /* The rest of the files apply to slrnpull. */ + + /* This must be set to an absolute pathname. */ +-#define SLRNPULL_ROOT_DIR "/var/spool/news/slrnpull" ++#define SLRNPULL_ROOT_DIR "/var/spool/slrnpull" + + /* The remaing variables are specified as relative names with respect to the + * SLRNPULL_ROOT_DIR. +@@ -189,7 +191,7 @@ + #define SLRNPULL_NEWS_DIR "news" + + /* File where messages and errors will be placed. */ +-#define SLRNPULL_LOGFILE "log" ++#define SLRNPULL_LOGFILE "/var/log/news/slrnpull.log" + + #if !SLRN_HAS_NNTP_SUPPORT + # undef SLRN_HAS_GROUPLENS --- slrn-0.9.8.1pl1.orig/debian/patches/204_manpage.diff +++ slrn-0.9.8.1pl1/debian/patches/204_manpage.diff @@ -0,0 +1,27 @@ +#! /bin/sh -e +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +--- slrn-0.9.8.0.orig/doc/slrn.1 ++++ slrn-0.9.8.0/doc/slrn.1 +@@ -208,7 +208,7 @@ + You can set this variable to a file slrn + should read its online help from. This is only needed when the default key + bindings have been changed and you want the help function to reflect this. +-If unset, slrn looks for help.txt in the configuration directory. ++If unset, slrn looks for slrn-help.txt in the configuration directory. + .TP + .B SLRNHOME + When interpreting filenames as relative to your home directory, --- slrn-0.9.8.1pl1.orig/debian/patches/205_organization.diff +++ slrn-0.9.8.1pl1/debian/patches/205_organization.diff @@ -0,0 +1,28 @@ +#! /bin/sh -e +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +--- slrn-0.9.8.0.orig/src/misc.c ++++ slrn-0.9.8.0/src/misc.c +@@ -2720,6 +2720,9 @@ + } + slrn_fclose (fporg); + } ++ /* Debian mod, see changelog 0.9.8.0-5 */ ++ else if (getenv ("ORGANIZATION") == NULL) ++ Slrn_User_Info.org = ""; + } + Slrn_User_Info.org = slrn_safe_strmalloc (Slrn_User_Info.org); + } --- slrn-0.9.8.1pl1.orig/debian/patches/206_branding.diff +++ slrn-0.9.8.1pl1/debian/patches/206_branding.diff @@ -0,0 +1,34 @@ +#! /bin/sh -e +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -Nur slrn-0.9.8.1.orig/src/version.c slrn-0.9.8.1/src/version.c +--- slrn-0.9.8.1.orig/src/version.c 2002-08-27 22:22:24 +02:00 ++++ slrn-0.9.8.1/src/version.c 2004-10-14 12:13:03 +02:00 +@@ -185,13 +185,7 @@ + #ifdef REAL_UNIX_SYSTEM + static char *get_unix_system_name (void) + { +-# ifdef HAVE_UNAME +- static struct utsname u; +- +- if (-1 != uname (&u)) +- return u.sysname; +-# endif +- return "Unix"; ++ return "Debian"; + } + #endif /* Unix */ + --- slrn-0.9.8.1pl1.orig/debian/patches/207_damn-autoconf.diff +++ slrn-0.9.8.1pl1/debian/patches/207_damn-autoconf.diff @@ -0,0 +1,27 @@ +#! /bin/sh -e +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -Nur slrn-0.9.8.1.orig/autoconf/uintmax_t.m4 slrn-0.9.8.1/autoconf/uintmax_t.m4 +--- slrn-0.9.8.1.orig/autoconf/uintmax_t.m4 2002-11-01 12:33:26.000000000 +0000 ++++ slrn-0.9.8.1/autoconf/uintmax_t.m4 2005-03-18 09:36:23.863961183 +0000 +@@ -18,7 +18,6 @@ + AC_REQUIRE([jm_AC_HEADER_INTTYPES_H]) + AC_REQUIRE([jm_AC_HEADER_STDINT_H]) + if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then +- AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG]) + test $ac_cv_type_unsigned_long_long = yes \ + && ac_type='unsigned long long' \ + || ac_type='unsigned long' --- slrn-0.9.8.1pl1.orig/debian/patches/208_slrnrc-conv.diff +++ slrn-0.9.8.1pl1/debian/patches/208_slrnrc-conv.diff @@ -0,0 +1,35 @@ +#! /bin/sh -e +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -Nur slrn-0.9.8.1pl1.orig/contrib/slrnrc-conv slrn-0.9.8.1pl1/contrib/slrnrc-conv +--- slrn-0.9.8.1pl1.orig/contrib/slrnrc-conv 2002-06-18 13:33:22.000000000 +0200 ++++ slrn-0.9.8.1pl1/contrib/slrnrc-conv 2005-09-25 19:33:23.000000000 +0200 +@@ -31,6 +31,7 @@ + art_eob => 'article_eob', + art_xpunge => 'expunge', + article_linedn => 'article_line_down', ++ article_line_dn => 'article_line_down', + article_lineup => 'article_line_up', + article_pagedn => 'article_page_down', + article_pageup => 'article_page_up', +@@ -48,6 +49,7 @@ + right => 'article_right', + scroll_dn => 'article_page_down', + scroll_up => 'article_page_up', ++ scroll_page_dn => 'scroll_page_down', + shrink_window => 'shrink_article_window', + skip_to_prev_group => 'skip_to_previous_group', + toggle_show_author => 'toggle_header_formats', --- slrn-0.9.8.1pl1.orig/debian/patches/209_optic.diff +++ slrn-0.9.8.1pl1/debian/patches/209_optic.diff @@ -0,0 +1,46 @@ +#! /bin/sh -e +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -Nur slrn-0.9.8.1pl1.orig/src/art.c slrn-0.9.8.1pl1/src/art.c +--- slrn-0.9.8.1pl1.orig/src/art.c 2005-01-29 00:26:09.000000000 +0100 ++++ slrn-0.9.8.1pl1/src/art.c 2005-10-02 13:53:15.000000000 +0200 +@@ -8134,12 +8134,12 @@ + + if (Article_Visible == 0) + { +- msg = _("SPC:Select Ctrl-D:PgDn Ctrl-U:PgUp d:Mark-as-Read n:Next p:Prev q:Quit"); ++ msg = _("spc:Select ctrl-d:Page-Down ctrl-u:Page-Up d:Mark-as-Read n:Next p:Prev q:Quit"); + if (Slrn_Header_Help_Line != NULL) msg = Slrn_Header_Help_Line; + } + else + { +- msg = _("SPC:Pgdn B:PgUp u:Un-Mark-as-Read f:Followup n:Next p:Prev q:Quit"); ++ msg = _("spc:Page-Down b:Page-Up u:Unmark-as-Read f:Followup n:Next p:Prev q:Quit"); + if (Slrn_Art_Help_Line != NULL) msg = Slrn_Art_Help_Line; + } + +diff -Nur slrn-0.9.8.1pl1.orig/src/group.c slrn-0.9.8.1pl1/src/group.c +--- slrn-0.9.8.1pl1.orig/src/group.c 2004-12-06 00:59:17.000000000 +0100 ++++ slrn-0.9.8.1pl1/src/group.c 2005-10-02 13:52:15.000000000 +0200 +@@ -2915,7 +2915,7 @@ + + static void group_quick_help (void) /*{{{*/ + { +- char *hlp = _("SPC:Select p:Post c:CatchUp l:List q:Quit ^R:Redraw (u)s:(Un)Subscribe"); ++ char *hlp = _("spc:Select p:Post c:Catch-Up l:List q:Quit ^r:Redraw (u)s:(Un)Subscribe"); + + if (Slrn_Batch) + return; --- slrn-0.9.8.1pl1.orig/debian/patches/210_doc-fix.diff +++ slrn-0.9.8.1pl1/debian/patches/210_doc-fix.diff @@ -0,0 +1,32 @@ +#! /bin/sh -e +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -Nur slrn-0.9.8.1pl1.orig/doc/manual.txt slrn-0.9.8.1pl1/doc/manual.txt +--- slrn-0.9.8.1pl1.orig/doc/manual.txt 2004-11-16 22:12:43.000000000 +0100 ++++ slrn-0.9.8.1pl1/doc/manual.txt 2005-10-03 09:36:40.000000000 +0200 +@@ -4684,9 +4684,9 @@ + + + Forward (mail) the current article to someone. All headers are +- included and the subject is prepended with ``Fwd:''. If you want, you +- can edit the e-mail before it is sent (to add a comment or cut down +- the article to the relevant part). ++ included when using the argument "1" and the subject is prepended with ++ ``Fwd:''. If you want, you can edit the e-mail before it is sent (to ++ add a comment or cut down the article to the relevant part). + + + --- slrn-0.9.8.1pl1.orig/debian/patches/211_query-cutoff.diff +++ slrn-0.9.8.1pl1/debian/patches/211_query-cutoff.diff @@ -0,0 +1,28 @@ +#! /bin/sh -e +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -Nur slrn-0.9.8.1pl1.orig/src/group.c slrn-0.9.8.1pl1/src/group.c +--- slrn-0.9.8.1pl1.orig/src/group.c 2004-12-06 00:59:17.000000000 +0100 ++++ slrn-0.9.8.1pl1/src/group.c 2006-08-01 14:01:59.000000000 +0200 +@@ -68,7 +68,7 @@ + + /*{{{ Global Variables */ + +-int Slrn_Query_Group_Cutoff = 100; ++int Slrn_Query_Group_Cutoff = 1000; + int Slrn_Groups_Dirty; /* 1 == need to write newsrc */ + int Slrn_List_Active_File = 0; + int Slrn_Write_Newsrc_Flags = 0; /* if 1, do not save unsubscribed --- slrn-0.9.8.1pl1.orig/debian/patches/300_iconv.diff +++ slrn-0.9.8.1pl1/debian/patches/300_iconv.diff @@ -0,0 +1,1071 @@ +#! /bin/sh -e +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -Nur slrn-0.9.8.1pl1.orig/configure.in slrn-0.9.8.1pl1/configure.in +--- slrn-0.9.8.1pl1.orig/configure.in 2005-02-17 20:41:16.000000000 +0100 ++++ slrn-0.9.8.1pl1/configure.in 2006-04-04 21:56:19.000000000 +0200 +@@ -171,6 +171,7 @@ + + fi + ++ + dnl enforce the use of inews + AH_VERBATIM([SLRN_FORCE_INEWS], + [/* define if you want to force the use of inews */ +@@ -353,6 +354,35 @@ + AC_DEFINE(SLRN_HAS_SPOOL_SUPPORT, 1) + fi + ++ ++dnl iconv ++AM_ICONV ++AH_VERBATIM([SLRN_USE_ICONV], ++[/* define this if you want to use iconv */ ++#undef SLRN_USE_ICONV]) ++AC_ARG_ENABLE([iconv], ++ [ --enable-iconv Enable use of iconv library], ++ AC_DEFINE([SLRN_USE_ICONV]) ++ use_iconv=yes, ++ use_iconv=no) ++ ++AH_VERBATIM([USE_ICONV], ++[/* This is defined if use of iconv is requested _and_ libiconv is available */ ++#undef USE_ICONV]) ++ ++if test "x${use_iconv}" = "xyes"; ++then ++ if test "x${am_cv_func_iconv}" != "xyes" ++ then ++ AC_MSG_FAILURE([Use of libiconv was requested, but the iconv library was not found. Maybe you need to specify --with-libiconv-prefix?]); ++ fi ++ AC_MSG_NOTICE([We're using iconv]) ++ AC_DEFINE([USE_ICONV]) ++else ++ AC_MSG_NOTICE([We're NOT using iconv]) ++fi ++ ++ + AH_BOTTOM( + [/* misc settings copied from the original config.hin file */ + +diff -Nur slrn-0.9.8.1pl1.orig/src/art.c slrn-0.9.8.1pl1/src/art.c +--- slrn-0.9.8.1pl1.orig/src/art.c 2005-01-29 00:26:09.000000000 +0100 ++++ slrn-0.9.8.1pl1/src/art.c 2006-04-04 21:56:19.000000000 +0200 +@@ -79,6 +79,13 @@ + # include "grplens.h" + #endif + ++/* don't use recode for slrnpull */ ++#if defined(SLRNPULL_CODE) && defined(USE_ICONV) ++# undef USE_ICONV ++#endif ++ ++ ++ + /*}}}*/ + + /*{{{ extern Global variables */ +@@ -616,6 +623,9 @@ + Slrn_Current_Article = NULL; + + free_article_lines (a); ++#ifdef USE_ICONV ++ slrn_free (a->charset); ++#endif + slrn_free ((char *) a); + } + +@@ -2544,8 +2554,8 @@ + #if SLRN_HAS_MIME + if ((do_mime == 0) && (Slrn_Use_Mime & MIME_DISPLAY)) + { +- slrn_rfc1522_decode_string (tmp); +- slrn_rfc1522_decode_string (h->from); ++ slrn_rfc1522_decode_string (&tmp); ++ slrn_rfc1522_decode_string (&(h->from)); + } + #endif + slrn_free (h->realname); +@@ -5509,22 +5519,44 @@ + static Slrn_Header_Type *process_xover (Slrn_XOver_Type *xov) + { + Slrn_Header_Type *h; ++ unsigned char *c; + + h = (Slrn_Header_Type *) slrn_safe_malloc (sizeof (Slrn_Header_Type)); + + slrn_map_xover_to_header (xov, h); + Number_Total++; + ++#ifdef USE_ICONV ++ /* ok, some news client (Outlook Express *sigh*) just put unencoded ++ * latin1/9 chars in their headers. As we don't know any charset at ++ * this time, replace those chars by '?' chars */ ++ c = h->subject; ++ while (*c!='\0' && *c!=0x0a && *c!=0x0d) ++ { ++ if (*c>=0x7f) *c = '?'; c++; ++ } ++ c = h->from; ++ while (*c!='\0' && *c!=0x0a && *c!=0x0d) ++ { ++ if (*c>=0x7f) *c = '?'; c++; ++ } ++#endif /* USE_ICONV */ ++ + #if SLRN_HAS_MIME + if (Slrn_Use_Mime & MIME_DISPLAY) + { +- slrn_rfc1522_decode_string (h->subject); +- slrn_rfc1522_decode_string (h->from); ++ slrn_rfc1522_decode_string (&(h->subject)); ++ slrn_rfc1522_decode_string (&(h->from)); + } + #endif + + get_header_real_name (h); ++#ifdef USE_ICONV ++ /* TODO: do we translate here, or do we do it ++ * in slrn_rfc1522_decode_string? */ ++#else /* USE_ICONV */ + slrn_chmap_fix_header (h); ++#endif /* USE_ICONV */ + + #if SLRN_HAS_GROUPLENS + if (Slrn_Use_Group_Lens) +diff -Nur slrn-0.9.8.1pl1.orig/src/art.h slrn-0.9.8.1pl1/src/art.h +--- slrn-0.9.8.1pl1.orig/src/art.h 2003-08-18 14:36:53.000000000 +0200 ++++ slrn-0.9.8.1pl1/src/art.h 2006-04-04 21:56:19.000000000 +0200 +@@ -195,6 +195,9 @@ + int mime_needs_metamail; + #endif + int needs_sync; /* non-zero if line number/current line needs updated */ ++#ifdef USE_ICONV ++ char * charset; /* charset from content-type header */ ++#endif + } + Slrn_Article_Type; + +diff -Nur slrn-0.9.8.1pl1.orig/src/chmap.c slrn-0.9.8.1pl1/src/chmap.c +--- slrn-0.9.8.1pl1.orig/src/chmap.c 2004-10-30 20:31:48.000000000 +0200 ++++ slrn-0.9.8.1pl1/src/chmap.c 2006-04-04 21:56:19.000000000 +0200 +@@ -1,4 +1,6 @@ + /* -*- mode: C; mode: fold; -*- */ ++/* vim:ts=8:sw=2:expandtab ++ */ + /* + This file is part of SLRN. + +@@ -47,15 +49,149 @@ + #include "art.h" + #include "chmap.h" + +-#if SLRN_HAS_CHARACTER_MAP +-char *Slrn_Charset; ++#ifdef USE_ICONV ++#include ++#include ++#include ++#include ++#endif + +-static unsigned char *ChMap_To_Iso_Map; +-static unsigned char *ChMap_From_Iso_Map; ++/* don't use recode for slrnpull */ ++#if defined(SLRNPULL_CODE) && defined(USE_ICONV) ++# undef USE_ICONV ++#endif ++ ++ ++#if SLRN_HAS_CHARACTER_MAP || defined(USE_ICONV) ++ ++/* if we use recode, this is set from the environment locale, otherwise it is ++ * specified by the user in the config file */ ++char *Slrn_Charset; + + /* This include file contains static globals */ + # include "charmaps.h" + ++#endif /* SLRN_HAS_CHARACTER_MAP || defined(USE_ICONV) */ ++ ++#ifdef USE_ICONV ++ ++const iconv_t ICONV_FAIL = (iconv_t) -1; ++ ++/* translate the string *str_ptr from charset cs_from to charset cs_to */ ++/* str_ptr will be freed and reallocated */ ++char * slrn_chmap_translate_string ( ++ char *cs_from, char *cs_to, char **str_ptr) ++ { ++ iconv_t cd; ++ char *retval; ++ char *cs_to_translit; ++ char *str = *str_ptr; ++ size_t in_len, in_left, out_len, out_left; ++ char *in_start, *in_cursor, *out_start, *out_cursor; ++ size_t num; ++ ++ ++ /* make sure the charsets are initialized */ ++ if (cs_from == NULL) cs_from = ICONV_DEFAULT_CHARSET; ++ if (cs_to == NULL) return *str_ptr; ++ ++ /* don't translate if from and to charsets are equal */ ++ if (strcasecmp (cs_from, cs_to) == 0) ++ return 0; ++ ++ /* concat "//translit" to cs_to */ ++ cs_to_translit = slrn_safe_malloc( strlen (cs_to) + 10 + 1); ++ sprintf(cs_to_translit, "%s%s", cs_to, "//translit"); ++ ++ /* Initialize new translation description */ ++ /* TODO: cache this and check cs_from and cs_to every time */ ++ cd = iconv_open(cs_to_translit, cs_from); ++ if (cd == ICONV_FAIL) ++ { ++ slrn_error (_("Unsupported translation: %s->%s"), cs_from, cs_to); ++ return NULL; ++ } ++ ++ /* number of bytes left in input/output buffers */ ++ in_left = in_len = strlen (str); ++ out_left = out_len = 2 * strlen(str); ++ in_cursor = in_start = str; ++ out_cursor = out_start = slrn_safe_malloc( out_left + 1 ); ++ ++ /* iterate until the entire line is translated */ ++ while (1) ++ { ++ /* stop if there is nothing left to translate */ ++ if (in_left == 0) ++ { ++ break; ++ } ++ ++ /* do the conversion */ ++ num = iconv(cd, &in_cursor, &in_left, &out_cursor, &out_left); ++ ++ /* the entire line was translated, we're done */ ++ if (num>=0) ++ { ++ break; ++ } ++ ++ /* otherwise, an error occured */ ++ switch (errno) /* these are the only error that can occur */ ++ { ++ case EILSEQ: /* invalid byte sequence at pos in_cursor */ ++ /* skip the invalid byte and continue */ ++ if (in_left>0) /* otherwise we're done anyway */ ++ { ++ in_left--; ++ in_cursor++; ++ } ++ break; ++ case E2BIG: /* output buff is full */ ++ /* realloc the output buffer (make it 2 times as large) */ ++ slrn_realloc(out_cursor, 2*out_len, 1); ++ out_left = out_len; ++ out_len *= 2; ++ break; ++ case EINVAL: /* incomplete byte sequence at end of string*/ ++ /* just skip the rest of the line */ ++ in_left = 0; ++ break; ++ case EBADF: /* cd is invalid */ ++ slrn_error(_("Internal error while translating string")); ++ in_left = 0; ++ break; ++ default: /* never reached */ ++ slrn_error(_("A unknown error occurred. This should not happen.")); ++ in_left = 0; ++ break; ++ } ++ } ++ ++ /* make sure string ends in a \0 */ ++ *out_cursor = '\0'; ++ ++ /* now copy the output buffer to a newly allocated string */ ++ retval = slrn_safe_strmalloc (out_start); ++ ++ /* free the old input string, and set it to the new result */ ++ slrn_free (str); ++ *str_ptr = retval; ++ ++ /* free variables */ ++ slrn_free (out_start); ++ slrn_free (cs_to_translit); ++ iconv_close (cd); ++ ++ return retval; ++ } ++ ++#else /* USE_ICONV */ ++# if SLRN_HAS_CHARACTER_MAP ++ ++static unsigned char *ChMap_To_Iso_Map; ++static unsigned char *ChMap_From_Iso_Map; ++ + static void chmap_map_string (char *str, unsigned char *map) + { + unsigned char ch; +@@ -69,11 +205,11 @@ + + static void chmap_map_string_from_iso (char *str) + { +-# if SLANG_VERSION >= 20000 ++# if SLANG_VERSION >= 20000 + /* fixme */ + if (Slrn_UTF8_Mode) + return; +-#endif ++# endif + chmap_map_string (str, ChMap_From_Iso_Map); + } + +@@ -87,13 +223,17 @@ + chmap_map_string (str, ChMap_To_Iso_Map); + } + +-#endif ++# endif /* SLRN_HAS_CHARACTER_MAP */ ++ ++#endif /* USE_ICONV */ + + /* Fix a single header; the rest of the header lines are dealt with + * later in hide_art_headers() */ ++#ifndef USE_ICONV /* recode handles the translation directly while ++ decoding the rfc1522 */ + void slrn_chmap_fix_header (Slrn_Header_Type *h) + { +-#if SLRN_HAS_CHARACTER_MAP ++#if SLRN_HAS_CHARACTER_MAP + if ((h->flags & HEADER_CHMAP_PROCESSED) == 0) + { + chmap_map_string_from_iso (h->subject); +@@ -101,32 +241,62 @@ + chmap_map_string_from_iso (h->realname); + h->flags |= HEADER_CHMAP_PROCESSED; + } +-#endif ++#endif /* SLRN_HAS_CHARACTER_MAP */ + } + ++#endif ++ + void slrn_chmap_fix_body (Slrn_Article_Type *a, int revert) + { +-#if SLRN_HAS_CHARACTER_MAP ++#if SLRN_HAS_CHARACTER_MAP || USE_ICONV + Slrn_Article_Line_Type *l; ++ char * charset; + + if (a == NULL) + return; ++ ++#ifdef USE_ICONV ++ /* check if we need to translate */ ++ if (a->charset == NULL) ++ charset = ICONV_DEFAULT_CHARSET; ++ else ++ charset = a->charset; ++ ++ if (strcasecmp (Slrn_Charset, charset) == 0) ++ return; ++#endif ++ + l = a->lines; + + while (l != NULL) + { +- if (revert) +- chmap_map_string_to_iso (l->buf); +- else +- chmap_map_string_from_iso (l->buf); +- l = l->next; ++# ifdef USE_ICONV ++ /* don't process headers */ ++ if (l->flags & HEADER_LINE) ++ { ++ l = l->next; ++ continue; ++ } ++ ++ if (revert) ++ slrn_chmap_translate_string (Slrn_Charset, charset, &(l->buf)); ++ else ++ slrn_chmap_translate_string (charset, Slrn_Charset, &(l->buf)); ++# else /* USE_ICONV */ ++ if (revert) ++ chmap_map_string_to_iso (l->buf); ++ else ++ chmap_map_string_from_iso (l->buf); ++# endif /* USE_ICONV */ ++ ++ l = l->next; + } + #endif + } + + int slrn_chmap_fix_file (char *file, int reverse) + { +-#if SLRN_HAS_CHARACTER_MAP ++#if SLRN_HAS_CHARACTER_MAP + FILE *fp, *tmpfp; + char buf [4096]; + char tmp_file [SLRN_MAX_PATH_LEN]; +@@ -170,8 +340,11 @@ + ret = 0; + while (NULL != fgets (buf, sizeof (buf), fp)) + { ++#ifdef USE_ICONV ++#else + if (reverse) chmap_map_string_from_iso (buf); + else chmap_map_string_to_iso (buf); ++#endif + if (EOF == fputs (buf, tmpfp)) + { + slrn_error (_("Write Error. Disk Full? --- message not posted.")); +@@ -219,8 +392,39 @@ + } + #endif + ++ ++ + int slrn_set_charset (char *name) + { ++#if USE_ICONV ++ iconv_t cd; ++ ++ /* use environenment for locale */ ++ setlocale (LC_ALL, ""); ++ ++ /* get charset of current locale */ ++ Slrn_Charset = slrn_safe_strmalloc (nl_langinfo (CODESET)); ++ ++ /* TODO: check that we don't have any UCS2 and UCS4 charsets, as those ++ * can't be handled at all. Slrn works with 0-terminated strings, which ++ * is totally incompatible with these charsets. Luckily those are extremely ++ * uncommon anyway on usenet. */ ++ ++ /* initialize recode engine to check if Slrn_Charset is valid */ ++ cd = iconv_open ("UTF-8", Slrn_Charset); ++ if (cd == ICONV_FAIL) ++ { ++ slrn_error (_("Unsupport character set: %s"), Slrn_Charset); ++ return -1; ++ } ++ ++ /* free variables */ ++ iconv_close (cd); ++ ++ return 0; ++ ++#else /* USE_ICONV */ ++ + #if SLRN_HAS_CHARACTER_MAP + CharMap_Type *map; + unsigned int i; +@@ -254,4 +458,5 @@ + (void) name; + return -1; + #endif ++#endif /* USE_ICONV */ + } +diff -Nur slrn-0.9.8.1pl1.orig/src/chmap.h slrn-0.9.8.1pl1/src/chmap.h +--- slrn-0.9.8.1pl1.orig/src/chmap.h 2002-03-13 14:03:18.000000000 +0100 ++++ slrn-0.9.8.1pl1/src/chmap.h 2006-04-04 21:56:19.000000000 +0200 +@@ -20,8 +20,20 @@ + */ + #ifndef _SLRN_CHMAP_H + #define _SLRN_CHMAP_H ++ ++/* don't use recode for slrnpull */ ++#if defined(SLRNPULL_CODE) && defined(USE_ICONV) ++# undef USE_ICONV ++#endif ++ ++#define ICONV_DEFAULT_CHARSET "iso-8859-15" ++ + extern int slrn_set_charset (char *); + extern int slrn_chmap_fix_file (char *, int); ++#ifdef USE_ICONV ++extern char * slrn_chmap_translate_string ( ++ char *, char *, char **); ++#endif + extern void slrn_chmap_fix_body (Slrn_Article_Type *, int); + extern void slrn_chmap_fix_header (Slrn_Header_Type *); + +diff -Nur slrn-0.9.8.1pl1.orig/src/config.h.in slrn-0.9.8.1pl1/src/config.h.in +--- slrn-0.9.8.1pl1.orig/src/config.h.in 2005-02-17 20:43:06.000000000 +0100 ++++ slrn-0.9.8.1pl1/src/config.h.in 2006-04-04 21:56:19.000000000 +0200 +@@ -167,6 +167,9 @@ + /* Define to 1 if you have the `vsnprintf' function. */ + #undef HAVE_VSNPRINTF + ++/* Define as const if the declaration of iconv() needs const. */ ++#undef ICONV_CONST ++ + /* Define the directory where your locales are */ + #undef LOCALEDIR + +@@ -263,9 +266,15 @@ + /* sendmail command */ + #undef SLRN_SENDMAIL_COMMAND + ++/* define this if you want to use iconv */ ++#undef SLRN_USE_ICONV ++ + /* Define to 1 if you have the ANSI C header files. */ + #undef STDC_HEADERS + ++/* This is defined if use of iconv is requested _and_ libiconv is available */ ++#undef USE_ICONV ++ + /* define if you have va_copy() in stdarg.h */ + #undef VA_COPY + +diff -Nur slrn-0.9.8.1pl1.orig/src/mime.c slrn-0.9.8.1pl1/src/mime.c +--- slrn-0.9.8.1pl1.orig/src/mime.c 2004-10-30 20:31:49.000000000 +0200 ++++ slrn-0.9.8.1pl1/src/mime.c 2006-04-04 21:56:19.000000000 +0200 +@@ -1,4 +1,6 @@ + /* -*- mode: C; mode: fold -*- */ ++/* vim:ts=8:expandtab: ++ */ + /* MIME handling routines. + * + * Author: Michael Elkins +@@ -46,8 +48,15 @@ + #include "util.h" + #include "server.h" + #include "snprintf.h" ++#include "chmap.h" + #include "mime.h" + ++/* don't use recode for slrnpull */ ++#if defined(SLRNPULL_CODE) && defined(USE_ICONV) ++# undef USE_ICONV ++#endif ++ ++ + #if ! SLRN_HAS_MIME + int Slrn_Use_Mime = 0; + #else /* rest of file in this ifdef */ +@@ -60,6 +69,12 @@ + + char *Slrn_Mime_Display_Charset; + ++#ifdef USE_ICONV ++static char *Compatible_Charsets[] = ++{ ++ "US-ASCII", /* This MUST be zeroth element */ ++}; ++#else /* USE_ICONV */ + /* These are all supersets of US-ASCII. Only the first N characters are + * matched, where N is the length of the table entry. + */ +@@ -73,6 +88,7 @@ + "utf-8", /* we now have a function to decode this */ + NULL + }; ++#endif /* USE_ICONV */ + + #ifndef SLRNPULL_CODE + static char *Char_Set; +@@ -120,6 +136,7 @@ + + int slrn_set_compatible_charsets (char *charsets) + { ++#ifndef USE_ICONV + static char* buf; + char *p; + char **pp; +@@ -166,10 +183,12 @@ + + *pp = NULL; + ++#endif /* USE_ICONV */ + return 0; + } + #endif /* NOT SLRNPULL_CODE */ + ++#ifndef USE_ICONV + static char *_find_compatible_charset (char **compat_charset, char *cs, + unsigned int len) + { +@@ -187,9 +206,14 @@ + } + return NULL; + } ++#endif /* USE_RECOEE */ + + static char *find_compatible_charset (char *cs, unsigned int len) + { ++#ifdef USE_ICONV ++ return slrn_strnmalloc (cs, len, 1); ++#else /* USE_ICONV */ ++ + char *retval; + + if ((NULL == (retval = _find_compatible_charset (Compatible_Charsets, cs, +@@ -198,6 +222,7 @@ + retval = _find_compatible_charset (Custom_Compatible_Charsets, cs, len); + + return retval; ++#endif /* USE_ICONV */ + } + + #ifndef SLRNPULL_CODE +@@ -291,13 +316,18 @@ + len = b - charset; + + Char_Set = find_compatible_charset (charset, len); +- return 0; ++ goto END; /* EVIL */ + } + line = line->next; + } + while ((line != NULL) + && (line->flags & HEADER_LINE) + && ((*(b = line->buf) == ' ') || (*b == '\t'))); ++ ++END: ++#ifdef USE_ICONV ++ a->charset = slrn_strmalloc (Char_Set, 1); ++#endif + + return 0; + } +@@ -413,6 +443,7 @@ + return dest; + } + ++#ifndef USE_ICONV + static char *utf_to_unicode (int *out, char *in, char *srcmax) + { + int mask = 0; +@@ -495,15 +526,21 @@ + + return dest; + } ++#endif /* USE_ICONV */ + +-int slrn_rfc1522_decode_string (char *s) ++int slrn_rfc1522_decode_string (char **str_ptr) + { ++ char *s = *str_ptr; + char *s1, *s2, ch; + char *charset, method, *txt; + char *after_last_encoded_word; + char *after_whitespace; + unsigned int count; + unsigned int len; ++#ifdef USE_ICONV ++ char *buff, *begin_of_encoded_part, *new_str; ++ char *output; ++#endif + + count = 0; + after_whitespace = NULL; +@@ -512,10 +549,14 @@ + /* Even if some user agents still send raw 8bit, it is safe to call + * decode_utf8() -- if it finds 8bit chars that are not valid UTF-8, it + * will set ch to 1 and we can leave the line untouched. */ +-#if SLANG_VERSION >= 20000 ++#ifdef USE_ICONV ++ output = slrn_safe_strmalloc ( *str_ptr ); ++ s = output; ++#else ++# if SLANG_VERSION >= 20000 + if (Slrn_UTF8_Mode == 0) + { +-#endif ++# endif + len = strlen (s); + s1 = slrn_safe_malloc(len + 1); + +@@ -525,9 +566,10 @@ + if (ch == 0) + strcpy (s, s1); /* safe */ + slrn_free (s1); +-#if SLANG_VERSION >= 20000 ++# if SLANG_VERSION >= 20000 + } +-#endif ++# endif ++#endif /* USE_ICONV */ + + while (1) + { +@@ -536,6 +578,9 @@ + if (s == NULL) break; + + s1 = s; ++#ifdef USE_ICONV ++ begin_of_encoded_part = s1; ++#endif + charset = s = s1 + 2; + while (((ch = *s) != 0) + && (ch != '?') && (ch != ' ') && (ch != '\t') && (ch != '\n')) +@@ -592,17 +637,67 @@ + /* Note: these functions return a pointer to the END of the decoded + * text. + */ ++ ++#ifdef USE_ICONV ++ /* decoded stuff is always shorter than encoded, so this size ++ * is safe */ ++ /* TODO: I don't think this is always true, specifically consider ++ * UTF8 encoded 4-byte characters */ ++ //buff = (char *) slrn_safe_malloc( strlen(txt) + 10 ); ++ len = strlen(txt) + 10; ++ buff = (char *) calloc( len, sizeof(char) ); ++ s1 = buff; ++#endif ++ + s2 = s1; + + if (method == 'B') + s1 = decode_base64 (s1, txt, s); +- else s1 = decode_quoted_printable (s1, txt, s, 1, 0); +- ++ else ++ s1 = decode_quoted_printable (s1, txt, s, 1, 0); ++ ++#ifdef USE_ICONV ++ /* ok, now the decoded string is in buff, now translate it */ ++ slrn_chmap_translate_string( charset, Slrn_Charset, &buff ); ++ ++ /* now we have to improvise a bit, because the translated string ++ * could, in principle be longer than the space that's available in ++ * the original string. ++ * So, we allocate a _new_ string to replace it, and copy everything ++ * in there */ ++ /* skip the final '?=', if the string doesn't end prematurely */ ++ if (*s!='\0' && *(s+1)!='\0') s+=2; ++ len = begin_of_encoded_part - output /* part that is done already */ ++ + strlen (buff) /* part we just translated */ ++ + strlen (s) /* part that's yet to be translated */ ++ + 10; /* to be on the save side */ ++ new_str = (char *) slrn_safe_malloc( len * sizeof(char) ); ++ s1 = new_str; ++ memcpy (s1, output, begin_of_encoded_part - output); /* old part */ ++ s1 += begin_of_encoded_part - output; ++ memcpy (s1, buff, strlen (buff)); /* current part */ ++ s1 += strlen (buff); ++ memcpy (s1, s, strlen (s) + 1 ); /* todo part, including final \0 */ ++ ++ /* now free the old string and set it to the new one */ ++ memset(output, 'x', strlen(output)); ++ slrn_free (output); ++ output = new_str; ++ ++ /* and free the buffer */ ++ slrn_free(buff); ++ buff = NULL; ++ ++ /* set s to the position where we need to continue on the next ++ * iteration */ ++ s = s1; ++ ++#else /* USE_ICONV */ + if ((slrn_case_strncmp((unsigned char *)"utf-8", + (unsigned char *)charset, 5) == 0) +-#if SLANG_VERSION >= 20000 ++# if SLANG_VERSION >= 20000 + && (Slrn_UTF8_Mode == 0) +-#endif ++# endif + ) + s1 = decode_utf8 (s2, s2, s1, NULL); + +@@ -611,6 +706,7 @@ + s = s1; /* start from here next loop */ + while ((ch = *s2++) != 0) *s1++ = ch; + *s1 = 0; ++#endif + + count++; + +@@ -618,6 +714,12 @@ + s = slrn_skip_whitespace (s); + after_whitespace = s; + } ++ ++#ifdef USE_ICONV ++ // slrn_free( *str_ptr ); ++ *str_ptr = output; ++#endif ++ + return count; + } + +@@ -627,6 +729,14 @@ + static void rfc1522_decode_headers (Slrn_Article_Type *a) + { + Slrn_Article_Line_Type *line; ++ ++#ifdef USE_ICONV ++ /* make sure we have a charset available */ ++ if (a->charset==NULL) ++ { ++ a->charset = slrn_safe_strmalloc(ICONV_DEFAULT_CHARSET); ++ } ++#endif /* USE_ICONV */ + + if (a == NULL) + return; +@@ -638,12 +748,26 @@ + if (slrn_case_strncmp ((unsigned char *)line->buf, + (unsigned char *)"Newsgroups:", 11) && + slrn_case_strncmp ((unsigned char *)line->buf, +- (unsigned char *)"Followup-To:", 12) && +- slrn_rfc1522_decode_string (line->buf)) +- { +- a->is_modified = 1; +- a->mime_was_modified = 1; +- } ++ (unsigned char *)"Followup-To:", 12) ++ ) ++ { ++ /* ok, some news client (Outlook Express *sigh*) just put ++ * unencoded latin1/9/window1252 chars in their headers. Try to ++ * decode this */ ++ if (slrn_chmap_translate_string(a->charset , Slrn_Charset, ++ &(line->buf))) ++ { ++ a->is_modified = 1; ++ a->mime_was_modified = 1; ++ } ++ ++ /* now do the usual rfc 1522 decoding */ ++ if (slrn_rfc1522_decode_string (&(line->buf))) ++ { ++ a->is_modified = 1; ++ a->mime_was_modified = 1; ++ } ++ } + line = line->next; + } + } +@@ -845,6 +969,7 @@ + } + } + ++#ifndef USE_ICONV + static void decode_mime_utf8 (Slrn_Article_Type *a) + { + Slrn_Article_Line_Type *line; +@@ -879,6 +1004,7 @@ + line = line->next; + } + } ++#endif /* USE_ICONV */ + + void slrn_mime_article_init (Slrn_Article_Type *a) + { +@@ -894,8 +1020,6 @@ + + a->mime_was_parsed = 1; /* or will be */ + +- rfc1522_decode_headers (a); +- + /* Is there a reason to use the following line? */ + /* if (NULL == find_header_line (a, "Mime-Version:")) return;*/ + if ((-1 == parse_content_type_line (a)) +@@ -904,6 +1028,8 @@ + a->mime_needs_metamail = 1; + return; + } ++ ++ rfc1522_decode_headers (a); + + switch (Encoding_Method) + { +@@ -926,14 +1052,16 @@ + return; + } + ++#ifndef USE_ICONV + if ((a->mime_needs_metamail == 0) && +-#if SLANG_VERSION >= 20000 ++# if SLANG_VERSION >= 20000 + (Slrn_UTF8_Mode == 0) && +-#endif ++# endif + (Char_Set != NULL) && + (slrn_case_strncmp((unsigned char *)"utf-8", + (unsigned char *)Char_Set, 5) == 0)) + decode_mime_utf8 (a); ++#endif /* USE_ICONV */ + } + + #ifndef MAXPATHLEN +@@ -1525,6 +1653,10 @@ + if (Mime_Posting_Charset == NULL) + Mime_Posting_Charset = "us-ascii"; + ++ /* TODO: check that a charset header isn't already present */ ++ /* so: (1) extract possible charset header and use it to override ++ * Mime_Posting_Charset here; (2) remove possible duplicate headers ++ * that we are going to add; (3) add headers as below */ + switch (Mime_Posting_Encoding) + { + default: +diff -Nur slrn-0.9.8.1pl1.orig/src/mime.h slrn-0.9.8.1pl1/src/mime.h +--- slrn-0.9.8.1pl1.orig/src/mime.h 2004-08-14 23:43:17.000000000 +0200 ++++ slrn-0.9.8.1pl1/src/mime.h 2006-04-04 21:56:19.000000000 +0200 +@@ -1,6 +1,11 @@ + #ifndef _SLRN_MIME_H + #define _SLRN_MIME_H + ++/* don't use recode for slrnpull */ ++#if defined(SLRNPULL_CODE) && defined(USE_ICONV) ++# undef USE_ICONV ++#endif ++ + #include "vfile.h" + + extern int Slrn_Use_Mime; +@@ -11,7 +16,7 @@ + + # if SLRN_HAS_MIME /* rest of file in this if */ + extern int slrn_set_compatible_charsets (char *); +-extern int slrn_rfc1522_decode_string (char *); ++extern int slrn_rfc1522_decode_string (char **); + + extern VFILE *slrn_mime_encode (VFILE *); + extern void slrn_mime_header_encode (char *, unsigned int); +diff -Nur slrn-0.9.8.1pl1.orig/src/slrn.c slrn-0.9.8.1pl1/src/slrn.c +--- slrn-0.9.8.1pl1.orig/src/slrn.c 2005-02-11 23:20:42.000000000 +0100 ++++ slrn-0.9.8.1pl1/src/slrn.c 2006-04-04 21:56:19.000000000 +0200 +@@ -107,8 +107,15 @@ + # include + #endif + ++/* don't use recode for slrnpull */ ++#if defined(SLRNPULL_CODE) && defined(USE_ICONV) ++# undef USE_ICONV ++#endif ++ ++ + /*}}}*/ + ++ + /*{{{ Global Variables */ + + #if SLANG_VERSION >= 20000 +@@ -1219,7 +1226,7 @@ + if (Slrn_Post_Id == 0) Slrn_Post_Id = Slrn_Default_Post_Obj; + if (no_new_groups) Slrn_Check_New_Groups = 0; + +-#if SLRN_HAS_CHARACTER_MAP ++#if SLRN_HAS_CHARACTER_MAP || defined(USE_ICONV) + if (-1 == slrn_set_charset (Slrn_Charset)) + { + slrn_chmap_show_supported (); +@@ -1227,10 +1234,13 @@ + } + #endif + +-#if SLRN_HAS_MIME ++#ifdef USE_ICONV ++ Slrn_Mime_Display_Charset = slrn_safe_strmalloc (Slrn_Charset); ++#else /* USE_ICONV */ ++# if SLRN_HAS_MIME + if (NULL == Slrn_Mime_Display_Charset) +- { +-# if SLRN_HAS_CHARACTER_MAP ++ { ++# if SLRN_HAS_CHARACTER_MAP + if (NULL != Slrn_Charset) + { + if (0 == slrn_case_strcmp ((unsigned char *)Slrn_Charset, +@@ -1247,10 +1257,11 @@ + Slrn_Mime_Display_Charset = slrn_safe_strmalloc ("iso-8859-7"); + } + if (NULL == Slrn_Mime_Display_Charset) +-# endif ++# endif + Slrn_Mime_Display_Charset = slrn_safe_strmalloc ("iso-8859-1"); ++# endif + } +-#endif ++#endif /* USE_ICONV */ + + #ifdef SIGINT + if (Slrn_TT_Initialized == 0) +diff -Nur slrn-0.9.8.1pl1.orig/src/slrnpull.c slrn-0.9.8.1pl1/src/slrnpull.c +--- slrn-0.9.8.1pl1.orig/src/slrnpull.c 2004-11-28 15:48:09.000000000 +0100 ++++ slrn-0.9.8.1pl1/src/slrnpull.c 2006-04-04 21:56:19.000000000 +0200 +@@ -1335,8 +1335,8 @@ + h.from = slrn_safe_strmalloc (xov->from); + if (Slrn_Use_Mime) + { +- slrn_rfc1522_decode_string (h.subject); +- slrn_rfc1522_decode_string (h.from); ++ slrn_rfc1522_decode_string (&(h.subject)); ++ slrn_rfc1522_decode_string (&(h.from)); + } + #endif + +diff -Nur slrn-0.9.8.1pl1.orig/src/startup.c slrn-0.9.8.1pl1/src/startup.c +--- slrn-0.9.8.1pl1.orig/src/startup.c 2004-10-31 15:16:25.000000000 +0100 ++++ slrn-0.9.8.1pl1/src/startup.c 2006-04-04 21:56:19.000000000 +0200 +@@ -61,6 +61,13 @@ + #ifdef VMS + # include "vms.h" + #endif ++ ++/* don't use recode for slrnpull */ ++#if defined(SLRNPULL_CODE) && defined(USE_ICONV) ++# undef USE_ICONV ++#endif ++ ++ + /*}}}*/ + + /*{{{ Forward Function Declarations */ +@@ -692,13 +699,15 @@ + }, + + #if SLRN_HAS_MIME ++# ifndef USE_ICONV /* this is fetched from the current locale */ + {"mime_charset", &Slrn_Mime_Display_Charset}, ++# endif /* USE_ICONV */ + {"metamail_command", &Slrn_MetaMail_Cmd}, + #else + {"mime_charset", NULL}, + {"metamail_command", NULL}, + #endif +-#if SLRN_HAS_CHARACTER_MAP ++#if SLRN_HAS_CHARACTER_MAP && !defined(USE_ICONV) + {"charset", &Slrn_Charset}, + #else + {"charset", NULL}, +diff -Nur slrn-0.9.8.1pl1.orig/src/xover.c slrn-0.9.8.1pl1/src/xover.c +--- slrn-0.9.8.1pl1.orig/src/xover.c 2003-07-29 15:05:37.000000000 +0200 ++++ slrn-0.9.8.1pl1/src/xover.c 2006-04-04 21:56:19.000000000 +0200 +@@ -155,7 +155,7 @@ + (unsigned char *)"Newsgroups") && + slrn_case_strcmp ((unsigned char *)h, + (unsigned char *)"Followup-To")) +- slrn_rfc1522_decode_string (colon); ++ slrn_rfc1522_decode_string (&colon); + #endif + addh->value = colon; + break; --- slrn-0.9.8.1pl1.orig/debian/po/POTFILES.in +++ slrn-0.9.8.1pl1/debian/po/POTFILES.in @@ -0,0 +1,2 @@ +[type: gettext/rfc822deb] templates +[type: gettext/rfc822deb] slrnpull.templates --- slrn-0.9.8.1pl1.orig/debian/po/cs.po +++ slrn-0.9.8.1pl1/debian/po/cs.po @@ -0,0 +1,211 @@ +# +# 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: slrn\n" +"POT-Creation-Date: 2003-05-13 17:21-0400\n" +"PO-Revision-Date: 2004-07-19 11:53+0200\n" +"Last-Translator: Miroslav Jezbera \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-2\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "What news server should be used for reading and posting news?" +msgstr "Kter news server by ml bt pouit pro ten a odesln pspvk?" + +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "" +"What news server (NNTP server) should be used for reading and posting news?" +msgstr "" +"Kter news server (NNTP server) by ml bt pouit pro ten a odesln pspvk?" + +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "Enter the fully qualified domain name of the server." +msgstr "Vlote pln kvalifikovan domnov jmno serveru." + +#. Description +#: ../templates:11 +msgid "Please enter the mail name of your system:" +msgstr "Vlote prosm potovn jmno vaeho systmu:" + +#. Description +#: ../templates:11 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"\"Potovn jmno\" je nzev potae, kter je soust adresy zobrazen " +"v odeslanch pspvcch a potovnch zprvch." + +#. Choices +#: ../templates:17 ../slrnpull.templates:11 +msgid "cron job, ip-up, manually" +msgstr "loha cronu, ip-up, run" + +#. Description +#: ../templates:19 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "Jak maj bt obnovovny popisy news skupin?" + +#. Description +#: ../templates:19 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"Slrn se potebuje periodicky pipojovat k sti, aby sthnul nov popisy " +"news skupin. To me bt realizovno vce zpsoby." + +#. Description +#: ../templates:19 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Me bt pouita loha cronu, kter b jednou tdn. To funguje dobe pokud " +"mte stl pipojen k sti, nebo pokud pouvte diald nebo podobn program, " +"kter se pipojuje k sti na podn." + +#. Description +#: ../templates:19 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"Skript ip-up bude zskvat popisy pot, co se pipojte na s pomoc ppp. Pokud " +"zvolte tuto metodu, pak se budou nov popisy zskvat pouze jednou tdn, bez " +"ohledu na to, jak asto se pipojujete k sti." + +#. Description +#: ../templates:19 ../slrnpull.templates:13 +msgid "Or you can choose to handle this manually." +msgstr "Nebo si mete vyberat eit toto run." + +#. Description +#: ../templates:36 +msgid "Refreshing newsgroup descriptions manually." +msgstr "Obnovovat popisy news skupin run." + +#. Description +#: ../templates:36 +msgid "" +"You indicated that you want to refresh newsgroup descriptions by hand, " +"rather than automatically via a cron job or other method. The command to run " +"(as root) to update the newsgroup descriptions is: /usr/sbin/slrn_getdescs" +msgstr "" +"Naznaujete, e chcete obnovovat popisy skupin rune, radi ne automaticky " +"pomoc lohy cronu nebo jin metody. Pkaz pro aktualizaci popis skupin " +"(spoutjte jako uivatel root): /usr/sbin/slrn_getdescs" + +#. Description +#: ../templates:36 +msgid "You should run this every week or so while you're online." +msgstr "Mli byste ho spoutt kad tden nebo kdykoliv, kdy jste pipojen." + +#. Description +#: ../templates:47 +msgid "Download newsgroup descriptions now?" +msgstr "Sthnout nyn popisy news skupin?" + +#. Description +#: ../templates:47 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. Are you online, and should the newsgroup " +"descriptions be downloaded now? (It will take a few minutes, depending on " +"the speed of your network connection.)" +msgstr "" +"Toto vypad na novou instalaci slrn; dn popisy news skupin jet nebyly " +"doposud staeny. Jste-li pipojen mou bt staeny popisy news skupin prv " +"nyn? (Bude to trvat pr minut podle rychlosti vaeho pipojen k sti.)" + +#. Description +#: ../templates:55 +msgid "Slrnpull has been split into a separate package." +msgstr "Slrnpull byl oddlen a je nyn v samostatnm balku." + +#. Description +#: ../templates:55 +msgid "" +"You are upgrading from a version of slrn that contained the slrnpull " +"program, and it appears that you used slrnpull. Slrnpull has now been split " +"out into a separate package. If you do use slrnpull, you should install the " +"slrnpull package." +msgstr "" +"Aktualizujete z verze slrn, kter obsahovala program slrnpull a vypad to, e " +"jste ho pouval. Slrn byl oddlen a je nyn v samostatnm balku. Pokud " +"pouvte slrnpull, mli by jste si nainstalovat balk slrnpull." + +#. Description +#: ../slrnpull.templates:13 +msgid "When should slrnpull be run?" +msgstr "Kdy m bet slrnpull?" + +#. Description +#: ../slrnpull.templates:13 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"Slrnpull potebuje bt spoutn pravideln na stahovn pspvk. " +"To me bt realizovno vce zpsoby." + +#. Description +#: ../slrnpull.templates:13 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Me bt pouita loha cronu, kter b jednou denn. To funguje dobe pokud " +"mte stl pipojen k sti, nebo pokud pouvte diald nebo podobn program, " +"kter se pipojuje k sti na podn." + +#. Description +#: ../slrnpull.templates:13 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +"Pomoc skriptu ip-up bude slrnpull stahovat pspvky, kdy se pipojte na " +"s pomoc ppp." + +#. Description +#: ../slrnpull.templates:28 +msgid "Slrnpull will be run manually." +msgstr "Slrnpull bude spoutn run." + +#. Description +#: ../slrnpull.templates:28 +msgid "" +"You indicated that you want run slrnpull manually to download news, rather " +"than automatically via a cron job or other method. The command to run (as " +"root) to download news is:" +msgstr "" +"Naznaujete, e chcete spoutt slrnpull run pro stahovn pspvk, radi " +"ne automaticky pomoc lohy cronu nebo jin metody. Pkaz (sputn pod " +"uivatelem root) kterm sthnete pspvky je:" + +#. Description +#: ../slrnpull.templates:28 +msgid "slrnpull -h `cat /etc/news/server`" +msgstr "slrnpull -h `cat /etc/news/server`" --- slrn-0.9.8.1pl1.orig/debian/po/da.po +++ slrn-0.9.8.1pl1/debian/po/da.po @@ -0,0 +1,264 @@ +# translation of slrn_0.9.8.0-11_da.po to Danish +# +# This file is from the DDTP, the Debian Description Translation Project +# +# See http://ddtp.debian.org/ for more information. +# Claus Hindsgaul , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: slrn_0.9.8.0-11_da\n" +"POT-Creation-Date: 2003-05-13 17:21-0400\n" +"PO-Revision-Date: 2004-02-27 16:34+0100\n" +"Last-Translator: Claus Hindsgaul \n" +"org>\n" +"Language-Team: Danish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.3\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +# Template: shared/news/server +# ddtp-prioritize: 62 +# +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "What news server should be used for reading and posting news?" +msgstr "Hvilken nyhedsserver skal bruges til nyhedsgrupper?" + +# +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "What news server (NNTP server) should be used for reading and posting news?" +msgstr "" +"Hvilken nyhedsserver (NNTP-server) skal bruges til at lse nyhedsgrupper og " +"indsende indlg i nyhedsgrupper?" + +# +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "Enter the fully qualified domain name of the server." +msgstr "Angiv serverens fuldstndige domnenavn." + +# Template: shared/mailname +# ddtp-prioritize: 62 +# +#. Description +#: ../templates:11 +msgid "Please enter the mail name of your system:" +msgstr "Indtast det postnavn, som bruges p dit system:" + +# +#. Description +#: ../templates:11 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"\"Postnavnet\" er vrtsnavns-delen af den adresse, der vil blive vist i " +"udgende nyheds- og postbeskeder." + +#. Choices +#: ../templates:17 ../slrnpull.templates:11 +msgid "cron job, ip-up, manually" +msgstr "cron-job, ip-up, manuelt" + +# Template: slrn/getdescs +# ddtp-prioritize: 62 +# +#. Description +#: ../templates:19 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "Hvordan skal nyhedsgruppebeskrivelser opdateres?" + +# +#. Description +#: ../templates:19 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"Slrn skal jvnligt forbinde sig til netvrket og hente nye beskrivelser " +"af nyhedsgrupper. Dette kan gres p flere mder." + +# +#. Description +#: ../templates:19 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Et cronjob kan kres ugentligt. Det fungerer fint hvis du har en permanent " +"netforbindelse, eller hvis du benytter diald eller et tilsvarende program " +"til automatisk at forbinde dig til netvrket efter behov." + +# +#. Description +#: ../templates:19 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"Skriptet ip-up vil f slrn til at genopfriske beskrivelserne nr du forbinder " +"dig til netvrket via ppp. De nye beskrivelser vil stadig kun blive hentet " +"n gang om ugen hvis du vlger denne metode, uanset hvor ofte du forbinder " +"dig til netvrket." + +# +#. Description +#: ../templates:19 ../slrnpull.templates:13 +msgid "Or you can choose to handle this manually." +msgstr "Du kan ogs vlge at gre det manuelt." + +# Template: slrn/manual_getdescs +# ddtp-prioritize: 62 +# msgid "" +# "Refreshing newsgroup descriptions manually." +# msgstr ""# +# msgid "" +# "You indicated that you want to refresh newsgroup descriptions by hand, " +# "rather than automatically via a cron job or other method. The command to " +# "run (as root) to update the newsgroup descriptions is: " +# "/usr/sbin/slrn_getdescs You should run this every week or so while you're " +# "online." +# msgstr "" +# Template: slrn/getdescs_now +# ddtp-prioritize: 62# +#. Description +#: ../templates:36 +msgid "Refreshing newsgroup descriptions manually." +msgstr "Henter nyhedsgruppe-beskrivelserne manuelt." + +#. Description +#: ../templates:36 +msgid "" +"You indicated that you want to refresh newsgroup descriptions by hand, " +"rather than automatically via a cron job or other method. The command to run " +"(as root) to update the newsgroup descriptions is: /usr/sbin/slrn_getdescs" +msgstr "" +"Du har angivet at du vil genopfriske nyhedsgruppebeskrivelserne selv, " +"fremfor automatisk via et cron-job eller lignende. Den kommando, du skal " +"udfre (som root) for at opdatere nyhedsgruppebeskrivelserne er: " +"usr/sbin/slrn_getdescs" + +#. Description +#: ../templates:36 +msgid "You should run this every week or so while you're online." +msgstr "Du br kre denne kommando ugentligt, mens du er p nettet." + +# Template: slrn/manual_getdescs +# ddtp-prioritize: 62 +# +# msgid "" +# "Refreshing newsgroup descriptions manually." +# msgstr "" +# +# msgid "" +# "You indicated that you want to refresh newsgroup descriptions by hand, " +# "rather than automatically via a cron job or other method. The command to " +# "run (as root) to update the newsgroup descriptions is: " +# "/usr/sbin/slrn_getdescs You should run this every week or so while you're " +# "online." +# msgstr "" +# Template: slrn/getdescs_now +# ddtp-prioritize: 62 +# +#. Description +#: ../templates:47 +msgid "Download newsgroup descriptions now?" +msgstr "Hent nyhedsgruppe-beskrivelserne nu?" + +# +#. Description +#: ../templates:47 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. Are you online, and should the newsgroup " +"descriptions be downloaded now? (It will take a few minutes, depending on " +"the speed of your network connection.)" +msgstr "" +"Dette lader til at vre en nyinstallation af slrn; der er endnu ikke hentet " +"nogen nyhedsgruppebeskrivelser. Er du p nettet og skal nyhedsgruppe-" +"beskrivelserne hentes nu? (Det vil tage et par minutter afhngigt at " +"hastigheden p din netvrksforbindelse.)" + +#. Description +#: ../templates:55 +msgid "Slrnpull has been split into a separate package." +msgstr "Slrnpull er blevet flyttet til en selvstndig pakke." + +#. Description +#: ../templates:55 +msgid "" +"You are upgrading from a version of slrn that contained the slrnpull " +"program, and it appears that you used slrnpull. Slrnpull has now been split " +"out into a separate package. If you do use slrnpull, you should install the " +"slrnpull package." +msgstr "" +"Du opgraderer fra en slrn-version, der indehold programmet slrnpull, " +"og det ser ud til at du benyttede slrnpull. Slrnpull er nu blevet " +"lagt i en selvstndig pakke. Hvis du benytter slrnpull, br du installere " +"pakken slrnpull." + +#. Description +#: ../slrnpull.templates:13 +msgid "When should slrnpull be run?" +msgstr "Hvornr skal slrnpull blive krt?" + +# +#. Description +#: ../slrnpull.templates:13 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"Slrnpull skal kres jvnligt for at hente nyheder. Dette kan gres " +"p flere mder." + +# +#. Description +#: ../slrnpull.templates:13 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Et cron-job kan kres dagligt. Det fungerer fint, hvis du har en permanent " +"netforbindelse eller benytter diald eller et tilsvarende program til " +"automatisk at forbinde dig til netvrket efter behov." + +#. Description +#: ../slrnpull.templates:13 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +"Skriptet ip-up vil f slrnpull til at hente nyheder nr du forbinder dig " +"til nettet viar ppp." + +#. Description +#: ../slrnpull.templates:28 +msgid "Slrnpull will be run manually." +msgstr "Slrnpull vil blive krt manuelt." + +#. Description +#: ../slrnpull.templates:28 +msgid "" +"You indicated that you want run slrnpull manually to download news, rather " +"than automatically via a cron job or other method. The command to run (as " +"root) to download news is:" +msgstr "" +"Du har angivet at du vil kre slrnpull manuelt for at hente indlg i " +"nyhedsgrupper, fremfor at gre det automatisk med et cron-job eller " +"lignende. Den kommando, du skal udfre (som root) for at hente indlg, " +"er:" + +#. Description +#: ../slrnpull.templates:28 +msgid "slrnpull -h `cat /etc/news/server`" +msgstr "slrnpull -h `cat /etc/news/server`" + --- slrn-0.9.8.1pl1.orig/debian/po/de.po +++ slrn-0.9.8.1pl1/debian/po/de.po @@ -0,0 +1,245 @@ +# +# This file is from the DDTP, the Debian Description Translation Project +# +# See http://ddtp.debian.org/ for more information. +# Erik Schanze , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: slrn_0.9.8.1-4_de\n" +"POT-Creation-Date: 2003-05-13 17:21-0400\n" +"PO-Revision-Date: 2004-11-12 23:09+0100\n" +"Last-Translator: Erik Schanze \n" +"org>\n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.3.1\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +# Template: shared/news/server +# ddtp-prioritize: 43 +# +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "What news server should be used for reading and posting news?" +msgstr "Welcher News-Server soll zum Lesen und Senden von News benutzt werden?" + +# +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "What news server (NNTP server) should be used for reading and posting news?" +msgstr "" +"Welcher News-Server (NNTP-Server) soll zum Lesen und Senden von News benutzt " +"werden?" + +# +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "Enter the fully qualified domain name of the server." +msgstr "Geben Sie den voll qualifizierten Domainnamen des Servers ein." + +# Template: shared/mailname +# ddtp-prioritize: 43 +# +#. Description +#: ../templates:11 +msgid "Please enter the mail name of your system:" +msgstr "Bitte geben Sie den Mail-Namen Ihres Systems ein:" + +# +#. Description +#: ../templates:11 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"Der mail-name ist der Hostanteil der Adresse, die auf ausgehenden News- " +"und Mail-Mitteilungen angegeben ist." + +#. Choices +#: ../templates:17 ../slrnpull.templates:11 +msgid "cron job, ip-up, manually" +msgstr "Cronjob, ip-up, manuell" + +# Template: slrn/getdescs +# ddtp-prioritize: 43 +# +#. Description +#: ../templates:19 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "Wie sollen die Newsgroup-Beschreibungen aktualisiert werden?" + +# +#. Description +#: ../templates:19 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"Slrn muss sich regelmig mit dem Netzwerk verbinden, um neue Beschreibungen " +"von Newsgroups herunterzuladen. Das kann auf verschiedene Weise geschehen." + +# +#. Description +#: ../templates:19 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Es kann ein wchentlich laufender Cronjob benutzt werden. Das funktioniert " +"gut, wenn Sie ber eine dauerhafte Netzverbindung verfgen oder falls Sie " +"diald o.. verwenden, der eine Netzverbindung bei Bedarf aufbaut." + +# +#. Description +#: ../templates:19 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"Das ip-up Skript kann Slrn veranlassen, die Beschreibungen bei einem " +"Verbindungsaufbau mit ppp zu aktualisieren. Die neuen Beschreibungen werden " +"immer noch nur einmal pro Woche geholt, falls Sie diese Methode whlen, " +"unabhngig davon, wie oft Sie sich einwhlen." + +# +#. Description +#: ../templates:19 ../slrnpull.templates:13 +msgid "Or you can choose to handle this manually." +msgstr "Oder Sie entscheiden sich, das manuell zu regeln." + +# Template: slrn/manual_getdescs +# ddtp-prioritize: 43 +# +#. Description +#: ../templates:36 +msgid "Refreshing newsgroup descriptions manually." +msgstr "Aktualisierung von Hand erledigen." + +# +#. Description +#: ../templates:36 +msgid "" +"You indicated that you want to refresh newsgroup descriptions by hand, " +"rather than automatically via a cron job or other method. The command to run " +"(as root) to update the newsgroup descriptions is: /usr/sbin/slrn_getdescs" +msgstr "" +"Die Aktualisierung erfolgt wie gewnscht von Hand anstatt durch einen " +"automatisch laufenden Cronjob oder eine andere Methode. Der Befehl, der " +"(als root) ausgefhrt werden muss, um die Beschreibungen zu aktualisieren, " +"ist: /usr/sbin/slrn_getdescs." + +# +#. Description +#: ../templates:36 +msgid "You should run this every week or so while you're online." +msgstr "Dies sollte einmal pro Woche ausgefhrt werden oder immer wenn Sie online sind." + +# Template: slrn/getdescs_now +# ddtp-prioritize: 43 +# +#. Description +#: ../templates:47 +msgid "Download newsgroup descriptions now?" +msgstr "Newsgruppen-Beschreibungen jetzt herunterladen?" + +# +#. Description +#: ../templates:47 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. Are you online, and should the newsgroup " +"descriptions be downloaded now? (It will take a few minutes, depending on " +"the speed of your network connection.)" +msgstr "" +"Dies scheint eine Neuinstallation von slrn zu sein; keine Newsgruppen-" +"Beschreibungen wurden bislang heruntergeladen. Falls Sie gerade Online sind, " +"sollen die Newsgruppen-Beschreibungen jetzt heruntergeladen werden? (Das kann " +"einige Minuten dauern, abhngig von der Geschwindigkeit der Verbindung.)" + +# Template: slrn/lost_slrnpull +# ddtp-prioritize: 43 +# +#. Description +#: ../templates:55 +msgid "Slrnpull has been split into a separate package." +msgstr "Slrnpull wurde in ein eigenes Paket abgetrennt." + +# +#. Description +#: ../templates:55 +msgid "" +"You are upgrading from a version of slrn that contained the slrnpull " +"program, and it appears that you used slrnpull. Slrnpull has now been split " +"out into a separate package. If you do use slrnpull, you should install the " +"slrnpull package." +msgstr "" +"Sie aktualisieren von einer slrn-Version, die noch slrnpull enthlt, und es " +"scheint, dass Sie slrnpull auch benutzten. Slrnpull wurde jetzt in ein " +"eigenes Paket abgetrennt. Falls Sie slrnpull benutzen, sollten Sie das " +"slrnpull-Paket installieren." + +#. Description +#: ../slrnpull.templates:13 +msgid "When should slrnpull be run?" +msgstr "Wann soll Slrnpull gestartet werden?" + +# +#. Description +#: ../slrnpull.templates:13 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"Slrn muss sich regelmig mit dem Netzwerk verbinden, um " +"Newsgroups herunterzuladen. Das kann auf verschiedene Weise geschehen." + +# +#. Description +#: ../slrnpull.templates:13 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Es kann ein tglich laufender Cronjob benutzt werden. Das funktioniert " +"gut, wenn Sie ber eine dauerhafte Netzverbindung verfgen oder falls Sie " +"diald o.. verwenden, der eine Netzverbindung bei Bedarf aufbaut." + +#. Description +#: ../slrnpull.templates:13 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +"Das ip-up Skript lsst Slrnpull Newsgroups herunterladen, wenn Sie sich mit " +"dem Netz verbinden." + +#. Description +#: ../slrnpull.templates:28 +msgid "Slrnpull will be run manually." +msgstr "Slrnpull wird manuell laufen." + +# +#. Description +#: ../slrnpull.templates:28 +msgid "" +"You indicated that you want run slrnpull manually to download news, rather " +"than automatically via a cron job or other method. The command to run (as " +"root) to download news is:" +msgstr "" +"Die Aktualisierung erfolgt wie gewnscht von Hand anstatt durch einen " +"automatisch laufenden Cronjob oder eine andere Methode. Der Befehl, der " +"(als root) ausgefhrt werden muss, um die Beschreibungen zu aktualisieren, " +"ist:" + +#. Description +#: ../slrnpull.templates:28 +msgid "slrnpull -h `cat /etc/news/server`" +msgstr "slrnpull -h `cat /etc/news/server`" + --- slrn-0.9.8.1pl1.orig/debian/po/es.po +++ slrn-0.9.8.1pl1/debian/po/es.po @@ -0,0 +1,233 @@ +# slrn debconf translation to spanish +# Copyright (C) 2004 Software in the Public Interest +# This file is distributed under the same license as the slrn package. +# +# Changes: +# - Initial translation +# Javi Castelo , 2004 +# - Revision +# Ruben Porras +# Javier Merino Cacho +# Esteban Manchado Velzquez +# +# Traductores, si no conoce el formato PO, merece la pena leer la +# documentacin de gettext, especialmente las secciones dedicadas a este +# formato, por ejemplo ejecutando: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Equipo de traduccin al espaol, por favor lean antes de traducir +# los siguientes documentos: +# +# - El proyecto de traduccin de Debian al espaol +# http://www.debian.org/intl/spanish/coordinacion +# especialmente las notas de traduccin en +# http://www.debian.org/intl/spanish/notas +# +# - La gua de traduccin de po's de debconf: +# /usr/share/doc/po-debconf/README-trans +# o http://www.debian.org/intl/l10n/po-debconf/README-trans +# +msgid "" +msgstr "" +"Project-Id-Version: slrn 0.9.8.0\n" +"POT-Creation-Date: 2003-05-13 17:21-0400\n" +"PO-Revision-Date: 2004-03-6 20:11:150+0100\n" +"Last-Translator: Javi Castelo\n" +"Language-Team: Debian Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "What news server should be used for reading and posting news?" +msgstr "Qu servidor de noticias le gustara usar para leer y escribir " +"noticias?" + +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "" +"What news server (NNTP server) should be used for reading and posting news?" +msgstr "Qu servidor NNTP de noticias le gustara usar para leer y escribir " +"noticias?" + +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "Enter the fully qualified domain name of the server." +msgstr "Introduzca el nombre de dominio completamente cualificado del servidor." + +#. Description +#: ../templates:11 +msgid "Please enter the mail name of your system:" +msgstr "Por favor introduzca el nombre de correo de su sistema:" + +#. Description +#: ../templates:11 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"El nombre de correo es la parte del nombre de servidor de la direccin de " +"correo que aparecer en los mensajes de correo y noticias salientes." + +#. Choices +#: ../templates:17 ../slrnpull.templates:11 +msgid "cron job, ip-up, manually" +msgstr "tarea del cron, ip-up, manualmente" + +#. Description +#: ../templates:19 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "Cmo desea actualizar las descripciones de los grupos de noticias?" + +#. Description +#: ../templates:19 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"Slrn necesita conectarse peridicamente a la red para descargar " +"descripciones nuevas de los grupos de noticias. Esto se puede realizar de " +"diferentes maneras." + +#. Description +#: ../templates:19 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Se puede planificar como tarea a ejecutar semanalmente por cron. Esto " +"funciona bien si tiene una conexin permanente a la red, o si utiliza " +"diald o un programa similar que conecta a la red bajo demanda." + +#. Description +#: ../templates:19 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"El script ip-up hace que slrn actualice las descripciones mencionadas " +"cuando se conecta a la red mediante ppp. Las descripciones nuevas " +"solamente se recuperarn una vez a la semana si escoge este mtodo, " +"independientemente la frecuencia con que se conecte a la red." + +#. Description +#: ../templates:19 ../slrnpull.templates:13 +msgid "Or you can choose to handle this manually." +msgstr "O bien puede elegir realizar dicha tarea manualmente." + +#. Description +#: ../templates:36 +msgid "Refreshing newsgroup descriptions manually." +msgstr "Actualizacin manual de las descripciones de los grupos de noticias." + +#. Description +#: ../templates:36 +msgid "" +"You indicated that you want to refresh newsgroup descriptions by hand, " +"rather than automatically via a cron job or other method. The command to run " +"(as root) to update the newsgroup descriptions is: /usr/sbin/slrn_getdescs" +msgstr "" +"Usted indic que prefiere actualizar las descripciones de los grupos de noticias " +"manualmente, en vez de automticamente mediante cron u otro mtodo. La orden " +"a ejecutar (como usuario root) para actualizar las descripciones de los grupos " +"de noticias manualmente es: usr/sbin/slrn_getdescs" + +#. Description +#: ../templates:36 +msgid "You should run this every week or so while you're online." +msgstr "Debera ejecutarlo ms o menos cada semana mientras est conectado." + +#. Description +#: ../templates:47 +msgid "Download newsgroup descriptions now?" +msgstr "Desea descargar las descripciones de los grupos de noticias ahora?" + +#. Description +#: ../templates:47 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. Are you online, and should the newsgroup " +"descriptions be downloaded now? (It will take a few minutes, depending on " +"the speed of your network connection.)" +msgstr "" +"Al parecer es una nueva instalacin de slrn; hasta el momento no se han " +"descargado descripciones de los grupos de noticias. Est conectado y deseara " +"descargar ahora las descripciones de los grupos de noticias? (Esto llevar " +"unos pocos minutos dependiendo de la velocidad de su conexin a la red)." + +#. Description +#: ../templates:55 +msgid "Slrnpull has been split into a separate package." +msgstr "slrnpull se encuentra ahora en otro paquete." + +#. Description +#: ../templates:55 +msgid "" +"You are upgrading from a version of slrn that contained the slrnpull " +"program, and it appears that you used slrnpull. Slrnpull has now been split " +"out into a separate package. If you do use slrnpull, you should install the " +"slrnpull package." +msgstr "" +"Usted est actualizando desde una versin de slrn que contiene el programa " +"slrnpull y parece que ha hecho uso de l. slrnpull se encuentra ahora en un " +"paquete aparte. Si quiere usarlo, debera instalar el paquete slrnpull." + +#. Description +#: ../slrnpull.templates:13 +msgid "When should slrnpull be run?" +msgstr "Cundo debera ejecutarse slrnpull?" + +#. Description +#: ../slrnpull.templates:13 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"slrnpull necesita ejecutarse peridicamente para descargar las noticias. Esto " +"puede llevarse a cabo de diferentes maneras." + +#. Description +#: ../slrnpull.templates:13 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Puede utilizar una tarea del cron para ejecutar slrnpull diariamente. Esto " +"funciona bien si tiene una conexin permanente a red, o si utiliza " +"diald o un programa similar que se conecte a la red bajo demanda." + +#. Description +#: ../slrnpull.templates:13 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +"El script ip-up har que slrnpull descargue las noticias cuando se conecte a la " +"red mediante ppp." + +#. Description +#: ../slrnpull.templates:28 +msgid "Slrnpull will be run manually." +msgstr "slrnpull se ejecutar manualmente." + +#. Description +#: ../slrnpull.templates:28 +msgid "" +"You indicated that you want run slrnpull manually to download news, rather " +"than automatically via a cron job or other method. The command to run (as " +"root) to download news is:" +msgstr "" +"Usted indic que prefiere ejecutar slrnpull manualmente para descargar las " +"noticias en vez de automticamente mediante una tarea del cron u otro " +"mtodo. La orden a ejecutar (como usuario root) para descargar las noticias es:" + +#. Description +#: ../slrnpull.templates:28 +msgid "slrnpull -h `cat /etc/news/server`" +msgstr "slrnpull -h `cat /etc/news/server`" --- slrn-0.9.8.1pl1.orig/debian/po/fr.po +++ slrn-0.9.8.1pl1/debian/po/fr.po @@ -0,0 +1,212 @@ +# slrn debconf's French localization +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Pierre Machard , 2002-2003. +# +msgid "" +msgstr "" +"Project-Id-Version: SLRN 0.9.7.4-21\n" +"POT-Creation-Date: 2003-05-13 17:21-0400\n" +"PO-Revision-Date: 2003-06-02 20:26+0200\n" +"Last-Translator: PIERRE MACHARD \n" +"Language-Team: Debian l10n French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8-bit\n" + +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "What news server should be used for reading and posting news?" +msgstr "" +"Quel serveur de news souhaitez-vous utiliser pour lire et poster les news?" + +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "" +"What news server (NNTP server) should be used for reading and posting news?" +msgstr "" +"Quel serveur de news (NNTP) souhaitez-vous utiliser pour lire et poster les " +"news?" + +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "Enter the fully qualified domain name of the server." +msgstr "Entrez le nom complet, i.e. avec le nom de domaine, de ce serveur." + +#. Description +#: ../templates:11 +msgid "Please enter the mail name of your system:" +msgstr "Veuillez entrer le nom pour le courrier de votre systme:" + +#. Description +#: ../templates:11 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"Le nom pour le courrier est la partie correspondant au nom d'hte de " +"l'adresse qui sera affiche sur les news envoyes et sur les courriels." + +#. Choices +#: ../templates:17 ../slrnpull.templates:11 +msgid "cron job, ip-up, manually" +msgstr "tche cron, ip-up, manuellement" + +#. Description +#: ../templates:19 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "Comment les descriptions des forums doivent-elles tre recharges?" + +#. Description +#: ../templates:19 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"Slrn a besoin de se connecter priodiquement sur le rseau pour tlcharger " +"les nouvelles descriptions des forums. Cela peut se raliser de diffrentes " +"faons." + +#. Description +#: ../templates:19 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"On peut utiliser une tche cron qui sera lance chaque semaine. Cela " +"fonctionne bien si vous avez une connexion permanente, ou si vous utilisez " +"diald ou un programme du mme genre qui se connecte au rseau la demande." + +#. Description +#: ../templates:19 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"Le script ip-up fera recharger par slrn les descriptions lorsque vous vous " +"connecterez au rseau via ppp. Les nouvelles descriptions ne seront " +"rapatries qu'une fois par semaine si vous optez pour cette mthode, peu " +"importe la frquence de vos connexions." + +#. Description +#: ../templates:19 ../slrnpull.templates:13 +msgid "Or you can choose to handle this manually." +msgstr "Ou vous pouvez choisir de le faire manuellement." + +#. Description +#: ../templates:36 +msgid "Refreshing newsgroup descriptions manually." +msgstr "Recharger les descriptions des forums manuellement." + +#. Description +#: ../templates:36 +msgid "" +"You indicated that you want to refresh newsgroup descriptions by hand, " +"rather than automatically via a cron job or other method. The command to run " +"(as root) to update the newsgroup descriptions is: /usr/sbin/slrn_getdescs" +msgstr "" +"Vous avez indiqu que vous souhaitiez recharger les descriptions des forums " +"manuellement, plutt qu'automatiquement via une tche cron ou une autre " +"mthode. La commande lancer (en tant que super-utilisateur) pour mettre " +"jour les descriptions des forums est: /usr/sbin/slrn_getdescs." + +#. Description +#: ../templates:36 +msgid "You should run this every week or so while you're online." +msgstr "" +"Vous devriez le lancer chaque semaine environ lorsque vous tes connect." + +#. Description +#: ../templates:47 +msgid "Download newsgroup descriptions now?" +msgstr "Tlcharger les descriptions des forums maintenant?" + +#. Description +#: ../templates:47 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. Are you online, and should the newsgroup " +"descriptions be downloaded now? (It will take a few minutes, depending on " +"the speed of your network connection.)" +msgstr "" +"Il semble qu'il s'agisse d'une nouvelle installation de slrn; aucune " +"description de forum n'a encore t tlcharge. tes-vous connect, et " +"voulez-vous que les descriptions des forums soient tlcharges maintenant " +"(cela prendra quelques minutes, suivant la vitesse de votre connexion)?" + +#. Description +#: ../templates:55 +msgid "Slrnpull has been split into a separate package." +msgstr "Slrnpull a t dplac dans un paquet spar." + +#. Description +#: ../templates:55 +msgid "" +"You are upgrading from a version of slrn that contained the slrnpull " +"program, and it appears that you used slrnpull. Slrnpull has now been split " +"out into a separate package. If you do use slrnpull, you should install the " +"slrnpull package." +msgstr "" +"Vous tes en train de faire une mise jour partir d'une version de slrn " +"qui contient le programme slrnpull, et il semble que vous utilisez slrnpull. " +"Slrnpull se trouve maintenant dans un paquet spar. Si vous voulez utiliser " +"slrnpull, vous devrez installer le paquet slrnpull." + +#. Description +#: ../slrnpull.templates:13 +msgid "When should slrnpull be run?" +msgstr "Quand slrnpull doit-il tre lanc?" + +#. Description +#: ../slrnpull.templates:13 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"Slrnpull a besoin de fonctionner de faon priodique pour tlcharger les " +"news. Cela peut se raliser de diffrentes faons." + +#. Description +#: ../slrnpull.templates:13 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"On peut utiliser une tche cron qui sera lance quotidiennement. Cela " +"fonctionne bien si vous avez une connexion permanente, ou si vous utilisez " +"diald ou un programme du mme genre qui se connecte au rseau la demande." + +#. Description +#: ../slrnpull.templates:13 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +"Le script ip-up fera tlcharger les news par slrnpull lorsque vous vous " +"connecterez au rseau via ppp." + +#. Description +#: ../slrnpull.templates:28 +msgid "Slrnpull will be run manually." +msgstr "Slrnpull sera lanc manuellement." + +#. Description +#: ../slrnpull.templates:28 +msgid "" +"You indicated that you want run slrnpull manually to download news, rather " +"than automatically via a cron job or other method. The command to run (as " +"root) to download news is:" +msgstr "" +"Vous avez indiqu que vous souhaitiez lancer slrnpull manuellement pour " +"demander les news, au lieu de le faire de faon automatique par " +"l'intermdiaire d'une tche cron ou une autre mthode. La commande lancer " +"(en tant que super-utilisateur) pour tlcharger les news est:" + +#. Description +#: ../slrnpull.templates:28 +msgid "slrnpull -h `cat /etc/news/server`" +msgstr "slrnpull -h `cat /etc/news/server`" --- slrn-0.9.8.1pl1.orig/debian/po/nl.po +++ slrn-0.9.8.1pl1/debian/po/nl.po @@ -0,0 +1,43 @@ +# +# 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: uqwk 2.21-6\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-07-16 14:37+0200\n" +"PO-Revision-Date: 2003-09-02 21:32+0100\n" +"Last-Translator: Tim Vandermeersch \n" +"Language-Team: dutch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../uqwk.templates:3 +msgid "What news server should be used for reading and posting news?" +msgstr "Welke news server wilt u gebruiken om nieuws te lezen en te posten?" + +#. Description +#: ../uqwk.templates:3 +msgid "" +"What news server (NNTP server) should be used for reading and posting news?" +msgstr "" +"Welke news server (NNTP server) wilt u gebruiken voor nieuws te lezen en te " +"posten?" + +#. Description +#: ../uqwk.templates:3 +msgid "Enter the fully qualified domain name of the server." +msgstr "Gelieve de \"fully qualified\" domein naam van de server in te geven" --- slrn-0.9.8.1pl1.orig/debian/po/output +++ slrn-0.9.8.1pl1/debian/po/output @@ -0,0 +1 @@ +2 --- slrn-0.9.8.1pl1.orig/debian/po/pl.po +++ slrn-0.9.8.1pl1/debian/po/pl.po @@ -0,0 +1,208 @@ +# 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 , YEAR. +# +# Translators, please read /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +msgid "" +msgstr "" +"Project-Id-Version: slrn 0.9.8.0-5\n" +"POT-Creation-Date: 2003-05-13 17:21-0400\n" +"PO-Revision-Date: 2003-10-08 09:31+0200\n" +"Last-Translator: Bartosz Zapaowski \n" +"Language-Team: Polish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-2\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "What news server should be used for reading and posting news?" +msgstr "Ktry serwer news bdzie uywany do czytania i wysyania?" + +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "" +"What news server (NNTP server) should be used for reading and posting news?" +msgstr "" +"Ktry serwer (serwer NNTP) chcesz uy do czytania i wysyania wiadomoci?" + +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "Enter the fully qualified domain name of the server." +msgstr "Wprowad pen nazw (FQDN) serwera." + +#. Description +#: ../templates:11 +msgid "Please enter the mail name of your system:" +msgstr "Podaj nazw pocztow Twojego systemu:" + +#. Description +#: ../templates:11 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "Nazwa pocztowa jest nazw hosta w adresie pokazywanym w wychodzcych" +"postach i listach." + +#. Choices +#: ../templates:17 ../slrnpull.templates:11 +msgid "cron job, ip-up, manually" +msgstr "zadanie cron, ip-up, rcznie" + +#. Description +#: ../templates:19 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "Wybierz metod uaktualniania opisw grup." + +#. Description +#: ../templates:19 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"Program Slrn potrzebuje okresowo poczy si z sieci, aby cign nowe " +"opisy grup. Moe by to wykonane na kilka sposobw." + +#. Description +#: ../templates:19 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Mona dopisa zadanie do cotygodniowych zada demona cron. To jest dobre " +"rozwizanie, kiedy masz stae podczenie do sieci, lub uywasz programu " +"diald (lub podobnego) do automatycznego zestawiania poczenia na danie." + +#. Description +#: ../templates:19 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"Skrypt ip-up moe spowodowa, e slrn uaktualni sobie opisy grup podczas " +"poczenia do sieci za pomoc ppp. Nowe opisy rwnie bd cigane raz na " +"tydzie, niezalenie od tego, jak czsto bdziesz si czy z Internetem." + +#. Description +#: ../templates:19 ../slrnpull.templates:13 +msgid "Or you can choose to handle this manually." +msgstr "Moesz rwnie wybra obsug rczn." + +#. Description +#: ../templates:36 +msgid "Refreshing newsgroup descriptions manually." +msgstr "Rczne odwieanie opisw grup." + +#. Description +#: ../templates:36 +msgid "" +"You indicated that you want to refresh newsgroup descriptions by hand, " +"rather than automatically via a cron job or other method. The command to run " +"(as root) to update the newsgroup descriptions is: /usr/sbin/slrn_getdescs" +msgstr "" +"Dae do zrozumienia, e zamierzasz odwiea opisy grup rcznie a nie " +"automatycznie np. jako zadanie demon cron lub inne. Opisy uaktualnia si " +"poleceniem /usr/sbin/slrn_getdescs, ktre musi uruchamia osoba z prawami " +"administratora." + +#. Description +#: ../templates:36 +msgid "You should run this every week or so while you're online." +msgstr "Powiniene to uruchamia raz na tydzie lub gdy jeste poczony " +"z sieci." + +#. Description +#: ../templates:47 +msgid "Download newsgroup descriptions now?" +msgstr "cig teraz opisy grup?" + +#. Description +#: ../templates:47 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. Are you online, and should the newsgroup " +"descriptions be downloaded now? (It will take a few minutes, depending on " +"the speed of your network connection.)" +msgstr "" +"Wyglda na to, e instalujesz pakiet slrn pierwszy raz; jak dotd nie " +"cignito jeszcze opisw grup. Czy jeste podczony do sieci, oraz czy " +"chcesz teraz cign opisy grup? (Czynno ta moe potrwa kilka minut, w " +"zalenoci od prdkoci Twojego poczenia z sieci.)" + +#. Description +#: ../templates:55 +msgid "Slrnpull has been split into a separate package." +msgstr "Slrnpull zosta przeniesiony do osobnego pakietu." + +#. Description +#: ../templates:55 +msgid "" +"You are upgrading from a version of slrn that contained the slrnpull " +"program, and it appears that you used slrnpull. Slrnpull has now been split " +"out into a separate package. If you do use slrnpull, you should install the " +"slrnpull package." +msgstr "" +"Uaktualniasz z wersji, ktra zawieraa program slrnpull, a wyglda na to, e " +"z niego korzystasz. Slrnpull obecnie znajduje si w osobnym pakiecie. Jeli " +"korzystasz z programu slrnpull, powiniene zainstalowa pakiet slrnpull." + +#. Description +#: ../slrnpull.templates:13 +msgid "When should slrnpull be run?" +msgstr "Kiedy ma by uruchamiany slrnpull?" + +#. Description +#: ../slrnpull.templates:13 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"Program Slrn potrzebuje okresowo poczy si z sieci, aby cign nowe " +"opisy grup. Moe by to wykonane na kilka sposobw." + +#. Description +#: ../slrnpull.templates:13 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Mona dopisa zadanie do cotygodniowych zada daemona cron. To jest dobre " +"rozwizanie, kiedy masz stae podczenie do sieci, lub uywasz programu " +"diald (lub podobnego) do automatycznego zestawiania poczenia na danie." + +#. Description +#: ../slrnpull.templates:13 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "Skrypt ip-up bdzie uruchamia slrnpull, ktry cignie posty zaraz " +"po poczeniu si z sieci za pomoc ppp." + +#. Description +#: ../slrnpull.templates:28 +msgid "Slrnpull will be run manually." +msgstr "Slrnpull bdzie uruchamiany rcznie." + +#. Description +#: ../slrnpull.templates:28 +msgid "" +"You indicated that you want run slrnpull manually to download news, rather " +"than automatically via a cron job or other method. The command to run (as " +"root) to download news is:" +msgstr "" +"Dae do zrozumienia, e zamierzasz odwiea opisy grup rcznie a nie " +"automatycznie np. jako zadanie demon cron lub inne. Opisy uaktualnia si " +"poleceniem /usr/sbin/slrn_getdescs, ktre musi uruchamia osoba z prawami " +"administratora." + +#. Description +#: ../slrnpull.templates:28 +msgid "slrnpull -h `cat /etc/news/server`" +msgstr "slrnpull -h `cat /etc/news/server`" --- slrn-0.9.8.1pl1.orig/debian/po/pt_BR.po +++ slrn-0.9.8.1pl1/debian/po/pt_BR.po @@ -0,0 +1,242 @@ +# +# This file is from the DDTP, the Debian Description Translation Project +# +# See http://ddtp.debian.org/ for more information. +# +msgid "" +msgstr "" +"Project-Id-Version: slrn_0.9.8.0-1\n" +"POT-Creation-Date: 2003-05-13 17:21-0400\n" +"PO-Revision-Date: 2003-08-31 22:07-0300\n" +"Last-Translator: Andr Lus Lopes \n" +"Language-Team: Debian-BR Project \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +# Template: shared/news/server +# ddtp-prioritize: 62 +# +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "What news server should be used for reading and posting news?" +msgstr "" +"Qual servidor de notcias deve ser usado para leitura e postagem de " +"notcias ?" + +# +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "" +"What news server (NNTP server) should be used for reading and posting news?" +msgstr "" +"Qual servidor de notcias deve ser usado para leitura e postagem de " +"notcias ?" + +# +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "Enter the fully qualified domain name of the server." +msgstr "Informe o nome de domnio totalmente qualificado do servidor." + +# Template: shared/mailname +# ddtp-prioritize: 62 +# +#. Description +#: ../templates:11 +msgid "Please enter the mail name of your system:" +msgstr "Por favor informe o mail name de seu sistema :" + +# +#. Description +#: ../templates:11 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"O \"mail name\" a poro nome de mquina (hostname) do endereo a ser " +"exibido em notcias e mensagens enviadas." + +#. Choices +#: ../templates:17 ../slrnpull.templates:11 +msgid "cron job, ip-up, manually" +msgstr "cron job, ip-up, manualmente" + +# Template: slrn/getdescs +# ddtp-prioritize: 62 +# +#. Description +#: ../templates:19 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "Como as descries de grupos de notcias devero ser atualizadas ?" + +# +#. Description +#: ../templates:19 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"O Slrn precisa periodicamente se conectar a rede para fazer o download de " +"novas descries de grupos de notcias. Isto pode ser gerenciado de diversas " +"maneiras." + +# +#. Description +#: ../templates:19 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Um cron job que executado semanalmente pode ser usado. Isso funciona bem " +"caso voc possua uma conexo de rede permanente ou caso voc esteja usando o " +"diald ou um programa similar que se conecta a rede por demanda." + +# +#. Description +#: ../templates:19 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"O script ip-up far com que o slrn atualize as descries quando voc se " +"conectar a rede via ppp. As novas descries continuaro a ser obtidas " +"somente uma vez por semana caso voc opte por este mtodo, no importando a " +"frequncia com a qual voc se conecta a rede." + +# +#. Description +#: ../templates:19 ../slrnpull.templates:13 +msgid "Or you can choose to handle this manually." +msgstr "Ou voc pode optar por gerenciar isso manualmente." + +# Template: slrn/manual_getdescs +# ddtp-prioritize: 62 +# +#. Description +#: ../templates:36 +msgid "Refreshing newsgroup descriptions manually." +msgstr "Atualizando as descries dos grupos de notcias manualmente." + +# +#. Description +#: ../templates:36 +msgid "" +"You indicated that you want to refresh newsgroup descriptions by hand, " +"rather than automatically via a cron job or other method. The command to run " +"(as root) to update the newsgroup descriptions is: /usr/sbin/slrn_getdescs" +msgstr "" +"Voc indicou que deseja atualizar as descries dos grupos de notcias " +"manualmente ao invs de automaticamente atravs de um cron job ou outro " +"mtodo. O comando a ser executado (como root) para atualizar as descries " +"dos grupos de notcias : /usr/sbin/slrn_getdescs ." + +#. Description +#: ../templates:36 +msgid "You should run this every week or so while you're online." +msgstr "Voc dever execut-lo semanalmente enquanto estiver conectado." + +# Template: slrn/getdescs_now +# ddtp-prioritize: 62 +# +#. Description +#: ../templates:47 +msgid "Download newsgroup descriptions now?" +msgstr "Fazer o download das descries dos grupos de notcias agora ?" + +# +#. Description +#: ../templates:47 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. Are you online, and should the newsgroup " +"descriptions be downloaded now? (It will take a few minutes, depending on " +"the speed of your network connection.)" +msgstr "" +"Esta parece ser uma nova instalao do slrn; o download de nenhuma descrio " +"de grupos de notcias foi feito at o momento. Voc est online e o download " +"das descries dos grupos de notcias deve ser feito agora ? (Isto pode " +"demorar alguns minutos, dependendo da velocidade de sua conexo de rede.)" + +# Template: slrn/lost_slrnpull +# ddtp-prioritize: 62 +# +#. Description +#: ../templates:55 +msgid "Slrnpull has been split into a separate package." +msgstr "O slrnpull foi dividido em um pacote separado." + +# +#. Description +#: ../templates:55 +msgid "" +"You are upgrading from a version of slrn that contained the slrnpull " +"program, and it appears that you used slrnpull. Slrnpull has now been split " +"out into a separate package. If you do use slrnpull, you should install the " +"slrnpull package." +msgstr "" +"Voc est atualizando de uma verso do slrn que continha o programa slrnpull " +"e parece que voc usou o slrnpull. O slrnpull foi agora dividido em pacote " +"separado. Caso voc use o slrnpull voc dever instalar o pacote slrnpull." + +#. Description +#: ../slrnpull.templates:13 +msgid "When should slrnpull be run?" +msgstr "Quando o slrnpull dever ser executado ?" + +# +#. Description +#: ../slrnpull.templates:13 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"O slrnpull precisa ser executado periodicamente para fazer o download " +"de notcias. Isto pode ser feito de diversas maneiras." + +# +#. Description +#: ../slrnpull.templates:13 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Um cron job que executado semanalmente pode ser usado. Isso funciona " +"bem caso voc possua uma conexo de rede permanente ou caso voc esteja " +"usando o diald ou um programa similar que se conecta a rede por demanda." + +#. Description +#: ../slrnpull.templates:13 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +"O script ip-up ir fazer com que o slrnpull faa o download de notcias " +"quando voc se conectar a rede via ppp." + +#. Description +#: ../slrnpull.templates:28 +msgid "Slrnpull will be run manually." +msgstr "O slrnpull ser executado manualmente." + +# +#. Description +#: ../slrnpull.templates:28 +msgid "" +"You indicated that you want run slrnpull manually to download news, rather " +"than automatically via a cron job or other method. The command to run (as " +"root) to download news is:" +msgstr "" +"Voc indicou que deseja atualizar as descries dos grupos de notcias " +"manualmente ao invs de automaticamente atravs de um cron job ou outro " +"mtodo. O comando a ser executado (como root) para atualizar as descries " +"dos grupos de notcias :" + +#. Description +#: ../slrnpull.templates:28 +msgid "slrnpull -h `cat /etc/news/server`" +msgstr "slrnpull -h `cat /etc/news/server`" --- slrn-0.9.8.1pl1.orig/debian/po/ru.po +++ slrn-0.9.8.1pl1/debian/po/ru.po @@ -0,0 +1,262 @@ +# Russian messages: +# Ilgiz Kalmetev , 2003 +# +# This file is from the DDTP, the Debian Description Translation Project +# +# See http://ddtp.debian.org/ for more information. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2003-05-13 17:21-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Debian Description Translation Project \n" +"Language-Team: ru \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=koi8-r\n" +"Content-Transfer-Encoding: 8bit\n" + +# Template: shared/news/server +# ddtp-prioritize: 62 +# +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "What news server should be used for reading and posting news?" +msgstr "" +" ?" + +# +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "" +"What news server (NNTP server) should be used for reading and posting news?" +msgstr "" +" ( NNTP) " +" ?" + +# +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "Enter the fully qualified domain name of the server." +msgstr " ." + +# Template: shared/mailname +# ddtp-prioritize: 62 +# +#. Description +#: ../templates:11 +msgid "Please enter the mail name of your system:" +msgstr ", :" + +# +#. Description +#: ../templates:11 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"\" \" - , " +" ." + +#. Choices +#: ../templates:17 ../slrnpull.templates:11 +msgid "cron job, ip-up, manually" +msgstr " cron, ip-up, " + +# Template: slrn/getdescs +# ddtp-prioritize: 62 +# +#. Description +#: ../templates:19 +msgid "How should newsgroup descriptions be refreshed?" +msgstr " ?" + +# +#. Description +#: ../templates:19 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"Slrn " +" . ." + +# +#. Description +#: ../templates:19 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +" cron . , " +" , diald " +"- ." + +# +#. Description +#: ../templates:19 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +" ip-up ppp. " +" " +" , ." + +# +#. Description +#: ../templates:19 ../slrnpull.templates:13 +msgid "Or you can choose to handle this manually." +msgstr " ." + +# Template: slrn/manual_getdescs +# ddtp-prioritize: 62 +# +# msgid "" +# "Refreshing newsgroup descriptions manually." +# msgstr "" +# +# msgid "" +# "You indicated that you want to refresh newsgroup descriptions by hand, " +# "rather than automatically via a cron job or other method. The command to " +# "run (as root) to update the newsgroup descriptions is: " +# "/usr/sbin/slrn_getdescs You should run this every week or so while you're " +# "online." +# msgstr "" +# Template: slrn/getdescs_now +# ddtp-prioritize: 62 +# +#. Description +#: ../templates:36 +msgid "Refreshing newsgroup descriptions manually." +msgstr " ?" + +#. Description +#: ../templates:36 +msgid "" +"You indicated that you want to refresh newsgroup descriptions by hand, " +"rather than automatically via a cron job or other method. The command to run " +"(as root) to update the newsgroup descriptions is: /usr/sbin/slrn_getdescs" +msgstr "" +" , , " +" cron - . " +" ( root): /usr/sbin/slrn_getdescs" + +#. Description +#: ../templates:36 +msgid "You should run this every week or so while you're online." +msgstr " ." + +# Template: slrn/manual_getdescs +# ddtp-prioritize: 62 +# +# msgid "" +# "Refreshing newsgroup descriptions manually." +# msgstr "" +# +# msgid "" +# "You indicated that you want to refresh newsgroup descriptions by hand, " +# "rather than automatically via a cron job or other method. The command to " +# "run (as root) to update the newsgroup descriptions is: " +# "/usr/sbin/slrn_getdescs You should run this every week or so while you're " +# "online." +# msgstr "" +# Template: slrn/getdescs_now +# ddtp-prioritize: 62 +# +#. Description +#: ../templates:47 +msgid "Download newsgroup descriptions now?" +msgstr " ?" + +# +#. Description +#: ../templates:47 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. Are you online, and should the newsgroup " +"descriptions be downloaded now? (It will take a few minutes, depending on " +"the speed of your network connection.)" +msgstr "" +" slrn; " +" . " +"? ( , " +")." + +#. Description +#: ../templates:55 +msgid "Slrnpull has been split into a separate package." +msgstr "Slrnpull ." + +#. Description +#: ../templates:55 +msgid "" +"You are upgrading from a version of slrn that contained the slrnpull " +"program, and it appears that you used slrnpull. Slrnpull has now been split " +"out into a separate package. If you do use slrnpull, you should install the " +"slrnpull package." +msgstr "" +" slrn, slrnpull, " +", slrnpull. Slrnpull " +". slrnpull, slrnpull." + +#. Description +#: ../slrnpull.templates:13 +msgid "When should slrnpull be run?" +msgstr " slrnpull?" + +# +#. Description +#: ../slrnpull.templates:13 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"Slrn . " +" ." + +# +#. Description +#: ../slrnpull.templates:13 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +" cron . , " +" , diald " +"- ." + +#. Description +#: ../slrnpull.templates:13 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +" ip-up slrnpull " +" ppp." + +#. Description +#: ../slrnpull.templates:28 +msgid "Slrnpull will be run manually." +msgstr "Slrnpull ." + +#. Description +#: ../slrnpull.templates:28 +msgid "" +"You indicated that you want run slrnpull manually to download news, rather " +"than automatically via a cron job or other method. The command to run (as " +"root) to download news is:" +msgstr "" +" , slrnpull , " +" cron - . " +" ( root):" + +#. Description +#: ../slrnpull.templates:28 +msgid "slrnpull -h `cat /etc/news/server`" +msgstr "slrnpull -h `cat /etc/news/server`" --- slrn-0.9.8.1pl1.orig/debian/po/sv.po +++ slrn-0.9.8.1pl1/debian/po/sv.po @@ -0,0 +1,214 @@ +# Swedish translation of slrn. +# Copyright (C) 2005 THE slrn'S COPYRIGHT HOLDER +# This file is distributed under the same license as the slrn package. +# Daniel Nylander , 2005. +# Translators, please read /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# , fuzzy +# +# +msgid "" +msgstr "" +"Project-Id-Version: slrn 0.9.8.1pl1-6\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-05-13 17:21-0400\n" +"PO-Revision-Date: 2005-10-04 05:49+0200\n" +"Last-Translator: Daniel Nylander \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit" + +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "What news server should be used for reading and posting news?" +msgstr "" +"Vilken server skall anvndas fr att lsa och skriva i diskussionsgrupper " +"(news)?" + +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "" +"What news server (NNTP server) should be used for reading and posting news?" +msgstr "" +"Vilken diskussionsgruppsserver (NNTP-server, newsserver) skall anvndas fr " +"att lsa och skriva i diskussionsgrupper?" + +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "Enter the fully qualified domain name of the server." +msgstr "Ange det kompletta domnnamnet fr servern." + +#. Description +#: ../templates:11 +msgid "Please enter the mail name of your system:" +msgstr "Ange e-postnamnet fr ditt system:" + +#. Description +#: ../templates:11 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"\"E-postnamnet\" r vrdnamnsdelen av adressen som kommer visas i utgende " +"diskussionsgrupps- och e-postmeddelanden." + +#. Choices +#: ../templates:17 ../slrnpull.templates:11 +msgid "cron job, ip-up, manually" +msgstr "cron-jobb, ip-up, manuellt" + +#. Description +#: ../templates:19 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "Hur skall diskussionsgruppsbeskrivningar uppdateras?" + +#. Description +#: ../templates:19 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"Slrn behver med jmna mellanrum ansluta till ntverket fr att hmta nya " +"diskussionsgruppsbeskrivningar. Detta kan gras p flera olika stt." + +#. Description +#: ../templates:19 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Ett cron-jobb som krs varje vecka kan anvndas. Detta fungerar bra om du " +"har en permanent ntverksanslutning, eller om du anvnder diald eller ett " +"liknande program som ansluter till ntverket vid behov." + +#. Description +#: ../templates:19 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"Skriptet ip-up kan anvndas fr att lta slrn uppdatera beskrivningarna nr " +"du ansluter till ntverket via ppp. Nya beskrivningar kommer fortfarande " +"bara att hmtas en gng i veckan om du anvnder denna metod, oavsett hur " +"ofta du ansluter till ntverket." + +#. Description +#: ../templates:19 ../slrnpull.templates:13 +msgid "Or you can choose to handle this manually." +msgstr "Eller s kan du vlja att hantera detta manuellt." + +#. Description +#: ../templates:36 +msgid "Refreshing newsgroup descriptions manually." +msgstr "Uppdatera diskussionsgruppsbeskrivningar manuellt." + +#. Description +#: ../templates:36 +msgid "" +"You indicated that you want to refresh newsgroup descriptions by hand, " +"rather than automatically via a cron job or other method. The command to run " +"(as root) to update the newsgroup descriptions is: /usr/sbin/slrn_getdescs" +msgstr "" +"Du angav att du vill uppdatera diskussionsgruppsbeskrivningar manuellt " +"hellre n automatiskt via ett cronjobb eller liknande metoder. Kommandot du skall " +"kra (som root) fr att uppdatera beskrivningarna r: /usr/sbin/" +"slrn_getdescs." + +#. Description +#: ../templates:36 +msgid "You should run this every week or so while you're online." +msgstr "Du br kra detta varje vecka eller medans du r online." + +#. Description +#: ../templates:47 +msgid "Download newsgroup descriptions now?" +msgstr "Hmta diskussionsgruppsbeskrivningar nu?" + +#. Description +#: ../templates:47 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. Are you online, and should the newsgroup " +"descriptions be downloaded now? (It will take a few minutes, depending on " +"the speed of your network connection.)" +msgstr "" +"Detta verkar vara en ny installation av slrn; inga " +"diskussionsgruppsbeskrivningar har nnu hmtats. r du ansluten till " +"ntverket och vill hmta beskrivningarna nu? (Det kommer att ta ngra " +"minuter, beroende p hastigheten p din ntverksanslutning.)" + +#. Description +#: ../templates:55 +msgid "Slrnpull has been split into a separate package." +msgstr "Slrnpull har lagts ut i ett separat paket." + +#. Description +#: ../templates:55 +msgid "" +"You are upgrading from a version of slrn that contained the slrnpull " +"program, and it appears that you used slrnpull. Slrnpull has now been split " +"out into a separate package. If you do use slrnpull, you should install the " +"slrnpull package." +msgstr "" +"Du uppgraderar frn en version av slrn som innehll programmet slrnpull, och " +"det verkar som du anvnde slrnpull. Slrnpull har nu lagts ut i ett separat " +"paket. Om du anvnder slrnpull br du installera paketet slrnpull." + +#. Description +#: ../slrnpull.templates:13 +msgid "When should slrnpull be run?" +msgstr "Nr ska slrnpull kras?" + +#. Description +#: ../slrnpull.templates:13 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"Slrn behver med jmna mellanrum ansluta till ntverket fr att hmta nya " +"diskussionsgrupper. Detta kan gras p flera olika stt." + +#. Description +#: ../slrnpull.templates:13 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Ett cron-jobb som krs varje vecka kan anvndas. Detta fungerar bra om du " +"har en permanent ntverksanslutning, eller om du anvnder diald eller ett " +"liknande program som ansluter till ntverket vid behov." + +#. Description +#: ../slrnpull.templates:13 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +"Skriptet ip-up kommer att se till att slrnpull laddar ner nyheter nr du r uppkopplad p ntverket via PPP." + +#. Description +#: ../slrnpull.templates:28 +msgid "Slrnpull will be run manually." +msgstr "Slrnpull kommer att kras manuellt." + +#. Description +#: ../slrnpull.templates:28 +msgid "" +"You indicated that you want run slrnpull manually to download news, rather " +"than automatically via a cron job or other method. The command to run (as " +"root) to download news is:" +msgstr "" +"Du angav att du vill uppdatera diskussionsgrupper manuellt " +"hellre n automatiskt via ett cron-jobb eller liknande metoder. Kommandot du skall " +"kra (som root) fr att gra uppdateringen r:" + +#. Description +#: ../slrnpull.templates:28 +msgid "slrnpull -h `cat /etc/news/server`" +msgstr "slrnpull -h `cat /etc/news/server`" + --- slrn-0.9.8.1pl1.orig/debian/po/templates.pot +++ slrn-0.9.8.1pl1/debian/po/templates.pot @@ -0,0 +1,182 @@ +# +# 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: PACKAGE VERSION\n" +"POT-Creation-Date: 2003-05-13 17:21-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "What news server should be used for reading and posting news?" +msgstr "" + +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "" +"What news server (NNTP server) should be used for reading and posting news?" +msgstr "" + +#. Description +#: ../templates:3 ../slrnpull.templates:3 +msgid "Enter the fully qualified domain name of the server." +msgstr "" + +#. Description +#: ../templates:11 +msgid "Please enter the mail name of your system:" +msgstr "" + +#. Description +#: ../templates:11 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" + +#. Choices +#: ../templates:17 ../slrnpull.templates:11 +msgid "cron job, ip-up, manually" +msgstr "" + +#. Description +#: ../templates:19 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "" + +#. Description +#: ../templates:19 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" + +#. Description +#: ../templates:19 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" + +#. Description +#: ../templates:19 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" + +#. Description +#: ../templates:19 ../slrnpull.templates:13 +msgid "Or you can choose to handle this manually." +msgstr "" + +#. Description +#: ../templates:36 +msgid "Refreshing newsgroup descriptions manually." +msgstr "" + +#. Description +#: ../templates:36 +msgid "" +"You indicated that you want to refresh newsgroup descriptions by hand, " +"rather than automatically via a cron job or other method. The command to run " +"(as root) to update the newsgroup descriptions is: /usr/sbin/slrn_getdescs" +msgstr "" + +#. Description +#: ../templates:36 +msgid "You should run this every week or so while you're online." +msgstr "" + +#. Description +#: ../templates:47 +msgid "Download newsgroup descriptions now?" +msgstr "" + +#. Description +#: ../templates:47 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. Are you online, and should the newsgroup " +"descriptions be downloaded now? (It will take a few minutes, depending on " +"the speed of your network connection.)" +msgstr "" + +#. Description +#: ../templates:55 +msgid "Slrnpull has been split into a separate package." +msgstr "" + +#. Description +#: ../templates:55 +msgid "" +"You are upgrading from a version of slrn that contained the slrnpull " +"program, and it appears that you used slrnpull. Slrnpull has now been split " +"out into a separate package. If you do use slrnpull, you should install the " +"slrnpull package." +msgstr "" + +#. Description +#: ../slrnpull.templates:13 +msgid "When should slrnpull be run?" +msgstr "" + +#. Description +#: ../slrnpull.templates:13 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" + +#. Description +#: ../slrnpull.templates:13 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" + +#. Description +#: ../slrnpull.templates:13 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" + +#. Description +#: ../slrnpull.templates:28 +msgid "Slrnpull will be run manually." +msgstr "" + +#. Description +#: ../slrnpull.templates:28 +msgid "" +"You indicated that you want run slrnpull manually to download news, rather " +"than automatically via a cron job or other method. The command to run (as " +"root) to download news is:" +msgstr "" + +#. Description +#: ../slrnpull.templates:28 +msgid "slrnpull -h `cat /etc/news/server`" +msgstr "" --- slrn-0.9.8.1pl1.orig/debian/po/vi.po +++ slrn-0.9.8.1pl1/debian/po/vi.po @@ -0,0 +1,175 @@ +# Vietnamese translation for slrn. +# Copyright © 2005 Free Software Foundation, Inc. +# Clytie Siddall , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: slrn 0.9.8.1pl1-5\n" +"POT-Creation-Date: 2003-05-13 17:21-0400\n" +"PO-Revision-Date: 2005-07-15 16:45+0930\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \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" +"X-Generator: LocFactoryEditor 1.2.2\n" + +#.Description +#:../templates:3 ../slrnpull.templates:3 +msgid "What news server should be used for reading and posting news?" +msgstr "Khi đọc và gửi thông điệp tin, nên dùng máy phục vụ tin tức nào?" + +#.Description +#:../templates:3 ../slrnpull.templates:3 +msgid "" +"What news server (NNTP server) should be used for reading and posting news?" +msgstr "Để đọc và gởi thông điệp tin, bạn có muốn sử dụng máy phục vụ tin tức (NNTP) nào?" + +#.Description +#:../templates:3 ../slrnpull.templates:3 +msgid "Enter the fully qualified domain name of the server." +msgstr "Hãy nhập tên miền khả năng đầy đủ (FQDN) của máy phục vụ này." + +#.Description +#:../templates:11 +msgid "Please enter the mail name of your system:" +msgstr "Hãy nhập tên thư của hệ thống bạn:" + +#.Description +#:../templates:11 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "«Tên thư» là phần tên máy của địa chỉ sẽ được hiển thị trong mọi thông điệp tin tức và thư gởi đi." + +#.Choices +#:../templates:17 ../slrnpull.templates:11 +msgid "cron job, ip-up, manually" +msgstr "công việc định kỷ, ip-up, thủ công" + +#.Description +#:../templates:19 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "Bạn có muốn cập nhật mô tả nhóm tin như thế nào?" + +#.Description +#:../templates:19 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "Trình slrn cần phải kết nối đến mạng theo định kỷ, để tải về mô tả mới của nhóm tin. Có thể quản lý trường hợp này bằng vài cách khác nhau." + +#.Description +#:../templates:19 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr " • Có thể sử dụng một công việc định kỷ (cron job) được chạy hàng tuần. Phương pháp này là tốt nếu bạn có kết nối suốt đến mạng, hoặc nếu bạn có sử dụng diald hay chương trình tương tự kết nối đến mạng theo như cầu." + +#.Description +#:../templates:19 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr " • Tập lệnh «ip-up» sẽ làm cho trình slrn cập nhật mô tả khi bạn kết nối đến mạng thông qua PPP. Sẽ vẵn còn gọi mô tả mới chỉ một lần trong mỗi tuần, nếu bạn chọn phương pháp này, cho dẫu là bao nhiều lần bạn kết nối đến mạng trong mỗi tuần." + +#.Description +#:../templates:19 ../slrnpull.templates:13 +msgid "Or you can choose to handle this manually." +msgstr " • Hoặc bạn có thể chọn tự quản lý cập nhật mô tả." + +#.Description +#:../templates:36 +msgid "Refreshing newsgroup descriptions manually." +msgstr "Tự cập nhật mô tả nhóm tin." + +#.Description +#:../templates:36 +msgid "" +"You indicated that you want to refresh newsgroup descriptions by hand, " +"rather than automatically via a cron job or other method. The command to run " +"(as root) to update the newsgroup descriptions is: /usr/sbin/slrn_getdescs" +msgstr "Bạn đã chọn tự cập nhật mô tả nhóm tin, hơn là tự động làm như thế thông qua một công việc định kỷ hoặc một phương pháp khác. Để cập nhật mô tả nhóm tin, bạn hãy chạy lệnh này với tư cách người chủ (root): «/usr/sbin/slrn_getdescs»." + +#.Description +#:../templates:36 +msgid "You should run this every week or so while you're online." +msgstr "Bạn nên chạy lệnh này khoảng hành tuần, trong khi trực tuyến." + +#.Description +#:../templates:47 +msgid "Download newsgroup descriptions now?" +msgstr "Tải về mô tả nhóm tin ngay bây giờ không?" + +#.Description +#:../templates:47 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. Are you online, and should the newsgroup " +"descriptions be downloaded now? (It will take a few minutes, depending on " +"the speed of your network connection.)" +msgstr "Hình như trình slrn này là bản cài đặt mới: chưa có mô tả nhóm tin trên máy này. Bạn có trực tuyến không? Nếu có, bạn có muốn tải về mô tả nhóm tin ngay bây giờ không? (Việc này sẽ mất vài phút, phụ thuộc vào tốc độ của sự kết nối mạng của bạn.)" + +#.Description +#:../templates:55 +msgid "Slrnpull has been split into a separate package." +msgstr "Trình slrnpull đã bị chia ra một gói riêng." + +#.Description +#:../templates:55 +msgid "" +"You are upgrading from a version of slrn that contained the slrnpull " +"program, and it appears that you used slrnpull. Slrnpull has now been split " +"out into a separate package. If you do use slrnpull, you should install the " +"slrnpull package." +msgstr "Lúc này bạn đang nâng cấp từ một phiên bản slrn chứa trình slrnpull, và hình như bạn đã dùng trình ấy. Trình slrnpull lúc này đã bị chia ra một gói riêng. Nếu bạn có sử dụng trình ấy, bạn nên cài đặt gói «slrnpull»." + +#.Description +#:../slrnpull.templates:13 +msgid "When should slrnpull be run?" +msgstr "Khi nào bạn có muốn chạy trình slrnpull?" + +#.Description +#:../slrnpull.templates:13 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "Cần phải chạy trình slrnpull theo định kỷ, để tải về tin tức. Có thể quản lý trường hợp này bằng vài cách khác nhau." + +#.Description +#:../slrnpull.templates:13 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr " • Có thể sử dụng một công việc định kỷ (cron job) được chạy hàng ngày. Phương pháp này là tốt nếu bạn có kết nối suốt đến mạng, hoặc nếu bạn có sử dụng diald hay chương trình tương tự kết nối đến mạng theo như cầu." + +#.Description +#:../slrnpull.templates:13 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "Tập lệnh «ip-up» sẽ làm cho trình slrnpull tải về tin tức khi bạn kết nối đến mạng thông qua PPP." + +#.Description +#:../slrnpull.templates:28 +msgid "Slrnpull will be run manually." +msgstr "Sẽ tự chạy trình slrnpull." + +#.Description +#:../slrnpull.templates:28 +msgid "" +"You indicated that you want run slrnpull manually to download news, rather " +"than automatically via a cron job or other method. The command to run (as " +"root) to download news is:" +msgstr "Bạn đã chọn tự chạy trình slrnpull để tài về tin tức, hơn là tự động làm như thế thông qua một công việc định kỷ hoặc một phương pháp khác. Để tải về tin tức, bạn hãy chạy lệnh này với tư cách người chủ (root):" + +#.Description +#:../slrnpull.templates:28 +# Command: don't translate / Lệnh: đừng dịch +msgid "slrnpull -h `cat /etc/news/server`" +msgstr "slrnpull -h `cat /etc/news/server`" --- slrn-0.9.8.1pl1.orig/debian/postinst +++ slrn-0.9.8.1pl1/debian/postinst @@ -0,0 +1,109 @@ +#!/bin/sh -e + +# Yes, this uses debconf. +. /usr/share/debconf/confmodule + +if [ "$1" = configure ]; then + if dpkg --compare-versions "$2" lt '0.9.7.4-26'; then + chmod 0755 /etc/ppp + fi + + if dpkg --compare-versions "$2" lt 0.9.7.4; then + # See if slrnpull is marked for install. If not, we have some old files + # to remove from back when this package had slrnpull in it. + if ! dpkg -s slrnpull 2>/dev/null | grep ^Status: |grep -q ': install '; then + rm -f /var/spool/slrnpull/slrnpull.conf + rmdir -p /var/spool/slrnpull 2>/dev/null || true + fi + + # We used to use /etc/nntpserver. Policy now says use /etc/news/server. + # Note that on some systems, /etc/news/server may be a link to + # /etc/nntpserver. + if [ -f /etc/news/server -a -f /etc/nntpserver -a ! -L /etc/news/server ] ; then + rm -f /etc/nntpserver + fi + if [ -f /etc/news/server -a -f /etc/nntpserver -a -L /etc/news/server ] ; then + rm -f /etc/news/server + mv /etc/nntpserver /etc/news/server + fi + if [ -f /etc/nntpserver -a ! -f /etc/news/server ] ; then + mv /etc/nntpserver /etc/news/server + fi + + # Remove various old files that may still be lying around. + rm -f /var/lib/slrn/tmpdsc.dsc /var/lib/slrn/locked \ + /etc/slrnget.conf /etc/cron.daily/slrn \ + /etc/news/slrn.debian.conf + + # Remove slrn modified sections from /etc/ppp/ip-up. + # This is left in (forever) for backwards compatability with old + # versions of this script that modified /etc/ppp/ip-up. Now we use + # the ip-up.d directory, instead. + if [ -f "/etc/ppp/ip-up" ]; then + perl -e ' + open (IPUP,"; + close IPUP; + open (IPUP,">/etc/ppp/ip-up") or die "Unable to write /etc/ppp/ip-up:$!\n"; + my $ignore=undef; + foreach (@lines) { + if ((/# begin: GETDESC_WITH_PPP/ ne undef) || + (/# begin: SLRNPULL_WITH_PPP/ ne undef)) { + $ignore=1; + } + elsif ((/# end: GETDESC_WITH_PPP/ ne undef) || + (/# end: SLRNPULL_WITH_PPP/ ne undef)) { + $ignore=undef; + } + elsif (!$ignore) { + print IPUP $_; + } + } + close IPUP; + ' + fi + fi + + if dpkg --compare-versions "$2" lt 0.9.7.4-17; then + # Owner of newsgroups.dsc and directory changes. + chown news.news /var/lib/slrn + if [ -e /var/lib/slrn/newsgroups.dsc ]; then + chown news.news /var/lib/slrn/newsgroups.dsc + fi + fi + + # Always update the files; the config script makes sure ths variables + # always have a sane and current value in them. + + db_get shared/news/server + echo "$RET" > /etc/news/server + + db_get shared/mailname + echo "$RET" > /etc/mailname + + if [ ! -e /etc/default/slrn ]; then + cat >/etc/default/slrn < /etc/default/slrn.new + mv -f /etc/default/slrn.new /etc/default/slrn + + db_get slrn/getdescs_now + if [ "$RET" = true ]; then + /usr/sbin/slrn_getdescs || true + fi +fi + +#DEBHELPER# --- slrn-0.9.8.1pl1.orig/debian/postrm +++ slrn-0.9.8.1pl1/debian/postrm @@ -0,0 +1,20 @@ +#!/bin/sh -e + +#DEBHELPER# + +case "$1" in + remove) + rmdir -p /var/lib/slrn 2>/dev/null || true + ;; + purge) + rm -f /var/lib/slrn/newsgroups.dsc + rmdir -p /var/lib/slrn 2>/dev/null || true + rm -f /etc/default/slrn + rmdir -p /etc/defailt 2>/dev/null || true + ;; + upgrade);; + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac --- slrn-0.9.8.1pl1.orig/debian/preinst +++ slrn-0.9.8.1pl1/debian/preinst @@ -0,0 +1,23 @@ +#!/bin/sh -e + +# Detect an upgrade from a version of slrn before slrnpull was split out. +# if this is such an upgrade, then warn the user that they are going to lose +# slrnpull. + +if [ "$1" = "upgrade" -a "$2" -a -f "/etc/slrnget.conf" ]; then + if dpkg --compare-versions "$2" lt 0.9.5.2; then + # Test to see if /etc/slrnget.conf does have slrnpull enabled. + . /etc/slrnget.conf || exit # shoudn't be fatal if this file is messed up. + + if [ "$USE_SLRNPULL" = "y" ]; then + # Use debconf if we can. I don't want a predependancy. + if [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_input high slrn/lost_slrnpull || true + db_go || true + fi + fi + fi +fi + +#DEBHELPER# --- slrn-0.9.8.1pl1.orig/debian/rules +++ slrn-0.9.8.1pl1/debian/rules @@ -0,0 +1,123 @@ +#!/usr/bin/make -f + +SYS := $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM) +ifeq ($(SYS), gnu ) + WITH_UUDEV := --without-uudeview +else + WITH_UUDEV := --with-uudeview +endif + +include /usr/share/dpatch/dpatch.make + +build: build-stamp +build-stamp: patch + dh_testdir + autoconf + ./configure --with-libdir=/var/lib/slrn \ + --with-slrnpull \ + --with-gnutls \ + --enable-inews --enable-spool \ + --enable-setgid-code \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --sysconfdir=/etc/news \ + --with-server-file=/etc/news/server \ + --with-canlock \ + --enable-iconv \ + $(WITH_UUDEV) + + $(MAKE) + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + -$(MAKE) -i distclean + dh_clean po/*.gmo src/stamp-h.in configure + -test -r /usr/share/misc/config.sub && cp -f /usr/share/misc/config.sub src/config.sub + -test -r /usr/share/misc/config.guess && cp -f /usr/share/misc/config.guess src/config.guess + +# Regression tests. +test: + @if grep -i -q `hostname -f` src/slrn src/slrnpull; then \ + echo "Detected your hostname compiled into a binary. That is a bug." >&2; \ + grep -i `hostname -f` src/objs/* >&2; \ + exit 1; \ + fi + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs usr/sbin var/lib/slrn etc/news etc/ppp/ip-up.d + dh_installdirs -pslrnpull usr/share/doc usr/bin usr/share/man/man1 \ + etc/news etc/ppp/ip-up.d var/log/news var/spool/slrnpull/data \ + var/spool/slrnpull/news var/spool/slrnpull/out.going/rejects + $(MAKE) install prefix=`pwd`/debian/slrn/usr \ + mandir=`pwd`/debian/slrn/usr/share/man + $(MAKE) install-contrib prefix=`pwd`/debian/slrn/usr + # The following arn't relevant to the debian package, or are + # installed differently. + rm -f debian/slrn/usr/share/doc/slrn/COPY* \ + debian/slrn/usr/share/doc/slrn/README.GroupLens \ + debian/slrn/usr/share/doc/slrn/changes.txt \ + debian/slrn/usr/share/doc/slrn/help.txt \ + debian/slrn/usr/share/doc/slrn/score.sl \ + debian/slrn/usr/share/doc/slrn/slrn.rc \ + debian/slrn/usr/share/doc/slrn/slrnpull/score \ + debian/slrn/usr/share/doc/slrn/slrnpull/slrn.rc \ + debian/slrn/usr/share/doc/slrn/slrnpull/slrnpull.conf \ + debian/slrn/usr/share/doc/slrn/slrnpull/slrnpull.sh + # And a few things move over to slrnpull. + mv -f debian/slrn/usr/share/doc/slrn/slrnpull \ + debian/slrnpull/usr/share/doc + mv -f debian/slrn/usr/bin/slrnpull debian/slrnpull/usr/bin + mv -f debian/slrn/usr/share/man/man1/slrnpull.1 \ + debian/slrnpull/usr/share/man/man1 + chmod +x debian/slrn/usr/share/slrn/contrib/* + # A few more things to install: + install -m 644 doc/help.txt debian/slrn/etc/news/slrn-help.txt + install -m 644 debian/slrn.rc debian/slrn/etc/news/slrn.rc + install debian/slrn_getdescs debian/slrn/usr/sbin + install debian/ip-up debian/slrn/etc/ppp/ip-up.d/slrn + install debian/slrnpull.ip-up debian/slrnpull/etc/ppp/ip-up.d/slrnpull + install -m 644 doc/slrnpull/slrnpull.conf debian/slrnpull/etc/news + dh_install debian/slrn-icon.xpm usr/share/pixmaps + +# Build architecture-dependent files here. +binary-arch: build test install + dh_installdebconf + dh_installdocs + dh_installexamples doc/slrn.rc doc/score.sl + dh_installmenu + dh_installcron + dh_installlogrotate + dh_installman debian/slrn_getdescs.8 + dh_installchangelogs -k changes.txt + dh_strip + dh_compress + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_fixperms + chown news.news debian/slrn/etc/news debian/slrn/var/lib/slrn + chown -R news.news debian/slrnpull/var/spool/slrnpull + chmod g+s debian/slrnpull/var/spool/slrnpull + # The perms on these directories are set so that files in them + # are owned by group news, but the directories are only writable + # by user news. out.going is g+w,+t since users write there. + chown -R news.news debian/slrnpull/var/spool/slrnpull/* + chmod -R g+s debian/slrnpull/var/spool/slrnpull/* + chmod g+w,+t debian/slrnpull/var/spool/slrnpull/out.going + + dh_link -pslrnpull etc/news/slrnpull.conf var/spool/slrnpull/slrnpull.conf + + dh_md5sums + dh_builddeb + +# Build architecture-independent files here. +binary-indep: build + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install unpatch --- slrn-0.9.8.1pl1.orig/debian/slrn-icon.xpm +++ slrn-0.9.8.1pl1/debian/slrn-icon.xpm @@ -0,0 +1,50 @@ +/* XPM */ +static char *slrn[] = { +/* columns rows colors chars-per-pixel */ +"32 32 12 1", +" c black", +". c #191919", +"X c gray20", +"o c #4C4C4C", +"O c #666667", +"+ c gray50", +"@ c gray60", +"# c #B2B2B2", +"$ c gray80", +"% c gray90", +"& c gray100", +"* c None", +/* pixels */ +"********************************", +"********************************", +"********************************", +"********************************", +"********************************", +"* @O.. ************* .o+@@@O***", +"* @%$#oo **********.o+@#$%%%@***", +"**o%%%%%@@X *** .o+@@###@@#@***", +"**X$%%%%&&%@X* .oO+++@@@+O@$.***", +"***@%#@#%%%%%ooO++oXX+@@o@o#.***", +"***@%@+#%###%#+OOoXooooOOOo@.***", +"***+%#@#%#%@$#oOoXXoOXoXO###.***", +"***.%$##%#@O$$X.XXXoOO+@@@O@.***", +"***.%$##%%#@$%oXXX.oO+@O+++O ***", +"***.%%$%&&%$%%OoOooOOOO+O++O.***", +"***.%%#%%&%$%%OooooooO+O+o@@ ***", +"***.%%###$$%%%+oooooOO++@@#+. **", +"***.%%$$%$$$&%+oXoooOO+O@@#O **", +"***.%%%$%%$$%%+oooooOOOO@@#X *", +"***.%%$%&$#$%%+ooXoooO+O@@#o *", +"***.%&%&&$$@%%+Ooooooo+O##$o *", +"** .#%&&&$$$%$+ooooO++++@@#o ", +"** .o@#%&%$&$+OOOOoOO++@#$o ", +"** .X+$&&$@OOooooOOOooo. ", +"** .@$%@OooX. .. ", +"*** .+OX. ", +"***** ", +"******* ", +"******** *", +"********* ***", +"********** *********", +"************* ************" +}; --- slrn-0.9.8.1pl1.orig/debian/slrn.rc +++ slrn-0.9.8.1pl1/debian/slrn.rc @@ -0,0 +1,6 @@ +% This is an empy configuration-file for slrn. This version of the file is +% only meant for system-wide preferences. It is left empty by the installation, +% to let slrn's default settings be used. +% +% If you to include options in this file, take a look at the manpage for slrn +% or at /usr/share/doc/slrn/examples/slrn.rc.gz --- slrn-0.9.8.1pl1.orig/debian/slrn_getdescs +++ slrn-0.9.8.1pl1/debian/slrn_getdescs @@ -0,0 +1,27 @@ +#!/usr/bin/perl +# +# Update newsgroup descriptions file. +# This should be run by root. + +# Make sure TERM is set to something sane, or slrn will get upset. +$ENV{TERM}='vt100'; + +# Make sure the umask is sane as well. +umask(022); + +# Location of newsgroups dsc file. +$dsc_file="/var/lib/slrn/newsgroups.dsc"; + +# The global slrn.rc file; used instead of root's .slrnrc. +$global_rc_file="/etc/news/slrn.rc"; + +# If the file is younger than 7 days old, do not update it. +$min_age=shift || 7; +$min_age--; # small fudge factor + +if (! -f $dsc_file || -M $dsc_file >= $min_age) { + $dsc_file_slrn=$dsc_file; + $dsc_file_slrn=~s/\.dsc$//; # slrn doesn't want the extention. + system "su news -c 'slrn -i $global_rc_file -f $dsc_file_slrn -h \$(cat /etc/news/server) -d'"; + chmod 0644,$dsc_file; +} --- slrn-0.9.8.1pl1.orig/debian/slrn_getdescs.8 +++ slrn-0.9.8.1pl1/debian/slrn_getdescs.8 @@ -0,0 +1,16 @@ +.TH SLRN_GETDESCS 8 +.SH NAME +slrn_getdescs \- weekly update of newsgroups descriptions file +.SH SYNOPSIS +.B slrn_getdescs [interval] +.SH "DESCRIPTION" +.BR slrn_getdescs +is a script that should be run periodically to update +slrn's newsgroup descriptions file, /var/lib/slrn/newsgroups.dsc . +.BR slrn_getdescs +may be run as often as is desired, but it will only update the file once per +week (or how ever many days are specified with the interval parameter, if +it is used). +.SH AUTHOR +This manual page was written by Joey Hess, +for the Debian GNU/Linux system. --- slrn-0.9.8.1pl1.orig/debian/slrnpull.README.debian +++ slrn-0.9.8.1pl1/debian/slrnpull.README.debian @@ -0,0 +1,17 @@ +Configuring slrn to use slrnpull +-------------------------------- + +If you decide to use slrnpull, you will need to configure slrn to look for +news in /var/spool/slrnpull. See +/usr/share/doc/slrnpull/examples/slrn.rc for an example slrnrc file +you can use for this purpose. You should also read README.slrnpull + +Slrnpull is not configured by default to allow users to post news. For +posting to work with slrnpull, you must have write access to the directory +/var/spool/slrnpull/out.going . I don't want to make this directory mode 4777 +in the default debian package, so as a compromise, it is shipped writable +by all users in the 'news' group. You may add users to that group to allow +them to post, or, if you wish, make the directory mode 4777 which will let +anyone post. For details about how this scheme works, see setgid.txt. + +-- Joey Hess --- slrn-0.9.8.1pl1.orig/debian/slrnpull.config +++ slrn-0.9.8.1pl1/debian/slrnpull.config @@ -0,0 +1,50 @@ +#!/bin/sh -e + +. /usr/share/debconf/confmodule +db_version 2.0 + +# Load in defaults file if it exists, and use it to set defaults of debconf +# questions. +if [ -f /etc/default/slrnpull ]; then + . /etc/default/slrnpull || true +fi + +if [ ! -z "$RUNFROM" ]; then + db_set slrnpull/run_from "$RUNFROM" +fi + +db_beginblock + +# Note this oode block is duplicated in slrn's config script. +if [ ! -s /etc/news/server ]; then + # No news server file currently exists (or it's empty). + db_get shared/news/server + SERVER="$RET" + # If there is no server set, try to guess a good value. + if [ -z "$SERVER" ]; then + NETNAME="`hostname -d`" + if [ ! -z "$NETNAME" ]; then + db_set shared/news/server "news.$NETNAME" + fi + fi +else + # Reconfiguring the package, or a news server file already exists. + # Still ask the question, though it may or may not be seen. Just + # use the first line now as the default answer. + db_set shared/news/server "`head -n 1 /etc/news/server`" + # Effectively, the question is seen -- since the file is set up.. + db_fset shared/news/server seen true +fi +db_input medium shared/news/server || true + +db_input high slrnpull/run_from || true + +db_endblock +db_go || true + +db_get slrnpull/run_from +if [ "$RET" = manually ] ; then + # Need to show them this message. + db_input low slrnpull/run_manual || true + db_go || true +fi --- slrn-0.9.8.1pl1.orig/debian/slrnpull.cron.daily +++ slrn-0.9.8.1pl1/debian/slrnpull.cron.daily @@ -0,0 +1,20 @@ +#!/bin/sh +# +# Cron.daily script for slrnpull. +# Written By Joey Hess + +[ -x /usr/bin/slrnpull ] || exit 0 + +if [ -f /etc/default/slrnpull ]; then + . /etc/default/slrnpull +fi + +cd /var/spool/slrnpull + +# Perform expiration, even if we aren't fetching articles right now. +su news -c 'slrnpull --expire >/dev/null' + +if [ "$RUNFROM" = "cron job" ] ; then + # Get new articles. + su news -c 'slrnpull -h `head -n 1 /etc/news/server`' >/dev/null +fi --- slrn-0.9.8.1pl1.orig/debian/slrnpull.docs +++ slrn-0.9.8.1pl1/debian/slrnpull.docs @@ -0,0 +1,5 @@ +README +doc/slrnpull/README +doc/slrnpull/README.offline +doc/slrnpull/SETUP +doc/slrnpull/setgid.txt --- slrn-0.9.8.1pl1.orig/debian/slrnpull.examples +++ slrn-0.9.8.1pl1/debian/slrnpull.examples @@ -0,0 +1,3 @@ +doc/slrnpull/slrn.rc +doc/slrnpull/score +doc/slrnpull/slrnpull.sh --- slrn-0.9.8.1pl1.orig/debian/slrnpull.ip-up +++ slrn-0.9.8.1pl1/debian/slrnpull.ip-up @@ -0,0 +1,19 @@ +#!/bin/sh +# +# This script is called when ppp connects to the network. +# It pulls in news with slrnpull. +# +# Written By Joey Hess + +[ -x /usr/bin/slrnpull ] || exit 0 + +if [ -f /etc/default/slrnpull ]; then + . /etc/default/slrnpull +fi + +cd /var/spool/slrnpull + +if [ "$RUNFROM" = "ip-up" ] ; then + # Get new articles. + su news -c 'slrnpull -h `head -n 1 /etc/news/server` & >/dev/null' +fi --- slrn-0.9.8.1pl1.orig/debian/slrnpull.logrotate +++ slrn-0.9.8.1pl1/debian/slrnpull.logrotate @@ -0,0 +1,10 @@ +/var/log/news/slrnpull.log { + rotate 5 + daily + compress + delaycompress + # Skip rotation if the log file is empty; this will happen if + # slrnpull isn't being run daily via cron. + notifempty + create 644 news adm +} --- slrn-0.9.8.1pl1.orig/debian/slrnpull.postinst +++ slrn-0.9.8.1pl1/debian/slrnpull.postinst @@ -0,0 +1,102 @@ +#!/bin/sh -e + +# Yes, this uses debconf. +. /usr/share/debconf/confmodule + +if [ "$1" = configure ]; then + if dpkg --compare-versions "$2" lt '0.9.7.4-26'; then + chmod 0755 /etc/ppp + fi + + # Old file. + rm -f /etc/news/slrnpull.debian.conf + + # File has moved. + if [ -e /var/spool/slrnpull/log ]; then + mv /var/spool/slrnpull/log /var/log/news/slrnpull.log + fi + + # Make sure the file exists. + touch /var/log/news/slrnpull.log + + # Make sure the log file has proper permissions so slrnpull can write + # to it. + if [ -e /var/log/news/slrnpull.log ]; then + chown news.adm /var/log/news/slrnpull.log* + fi + + # We used to use /etc/nntpserver. Policy now says use /etc/news/server. + # Note that on some systems, /etc/news/server may be a link to + # /etc/nntpserver. + if [ -f /etc/news/server -a -f /etc/nntpserver -a ! -L /etc/news/server ] ; then + rm -f /etc/nntpserver + fi + if [ -f /etc/news/server -a -f /etc/nntpserver -a -L /etc/news/server ] ; then + rm -f /etc/news/server + mv /etc/nntpserver /etc/news/server + fi + if [ -f /etc/nntpserver -a ! -f /etc/news/server ] ; then + mv /etc/nntpserver /etc/news/server + fi + + # Remove slrn modified sections from /etc/ppp/ip-up. + # This is left in (forever) for backwards compatability with old versions + # of this script that modified /etc/ppp/ip-up. Now we use the ip-ip.d + # directory, instead. + if [ -f "/etc/ppp/ip-up" ]; then + perl -e ' + open (IPUP,"; + close IPUP; + open (IPUP,">/etc/ppp/ip-up") or die "Unable to write /etc/ppp/ip-up:$!\n"; + my $ignore=undef; + foreach (@lines) { + if ((/# begin: GETDESC_WITH_PPP/ ne undef) || + (/# begin: SLRNPULL_WITH_PPP/ ne undef)) { + $ignore=1; + } + elsif ((/# end: GETDESC_WITH_PPP/ ne undef) || + (/# end: SLRNPULL_WITH_PPP/ ne undef)) { + $ignore=undef; + } + elsif (!$ignore) { + print IPUP $_; + } + } + close IPUP; + ' + fi + + # On upgrade from old versions, change the perms of these directories + # to the scheme that is currently used. + if [ "$1" = configure -a -n "$2" ] && dpkg --compare-versions "$2" '<<' '0.9.6.3-13'; then + chown -R news.news /var/spool/slrnpull/data /var/spool/slrnpull/news + find /var/spool/slrnpull/ -type d | xargs -r chmod g+s + find /var/spool/slrnpull/news -type f | xargs -r chmod g-w + chmod g+w,+t /var/spool/slrnpull/out.going + fi + + # Always update the files; the config script makes sure ths + # variables always have a sane and current value in them. + + db_get shared/news/server + echo "$RET" > /etc/news/server + + if [ ! -e /etc/default/slrnpull ]; then + cat >/etc/default/slrnpull < /etc/default/slrnpull.new + mv -f /etc/default/slrnpull.new /etc/default/slrnpull +fi + +#DEBHELPER# --- slrn-0.9.8.1pl1.orig/debian/slrnpull.postrm +++ slrn-0.9.8.1pl1/debian/slrnpull.postrm @@ -0,0 +1,22 @@ +#!/bin/sh -e + +#DEBHELPER# + +case "$1" in + remove) + rmdir -p /var/spool/slrnpull 2>/dev/null || true + ;; + purge) + rm -rf /var/spool/slrnpull + rm -f /var/log/news/slrnpull.log* + #rmdir -p /var/log/news 2>/dev/null || true + rmdir -p /var/spool/slrnpull 2>/dev/null || true + rm -f /etc/default/slrnpull + rmdir -p /etc/defailt 2>/dev/null || true + ;; + upgrade);; + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac --- slrn-0.9.8.1pl1.orig/debian/slrnpull.preinst +++ slrn-0.9.8.1pl1/debian/slrnpull.preinst @@ -0,0 +1,10 @@ +#!/bin/sh -e +if [ ! -e /etc/news/slrnpull.conf -a -e /var/spool/slrnpull/slrnpull.conf ] +then + # Move conffile. I think it's safest to use cat here, because + # the user may have sone something funky like made + # /var/spool/slrnpull/slrnpull.conf be a symlink. + cat /var/spool/slrnpull/slrnpull.conf > /etc/news/slrnpull.conf +fi + +#DEBHELPER# --- slrn-0.9.8.1pl1.orig/debian/slrnpull.templates +++ slrn-0.9.8.1pl1/debian/slrnpull.templates @@ -0,0 +1,33 @@ +Template: shared/news/server +Type: string +_Description: What news server should be used for reading and posting news? + What news server (NNTP server) should be used for reading and posting + news? + . + Enter the fully qualified domain name of the server. + +Template: slrnpull/run_from +Type: select +_Choices: cron job, ip-up, manually +Default: cron job +_Description: When should slrnpull be run? + Slrnpull needs to run periodically to download news. This can be + accomplished in a variety of ways. + . + A cron job that is run daily can be used. This works well if you have a + permanent network connection, or if you are using diald or a similar + program that connects to the network on demand. + . + The ip-up script will make slrnpull download news when you connect to the + network via ppp. + . + Or you can choose to handle this manually. + +Template: slrnpull/run_manual +Type: note +_Description: Slrnpull will be run manually. + You indicated that you want run slrnpull manually to download news, rather + than automatically via a cron job or other method. The command to run (as + root) to download news is: + . + slrnpull -h `cat /etc/news/server` --- slrn-0.9.8.1pl1.orig/debian/templates +++ slrn-0.9.8.1pl1/debian/templates @@ -0,0 +1,59 @@ +Template: shared/news/server +Type: string +_Description: What news server should be used for reading and posting news? + What news server (NNTP server) should be used for reading and posting + news? + . + Enter the fully qualified domain name of the server. + +Template: shared/mailname +Type: string +_Description: Please enter the mail name of your system: + The "mail name" is the hostname portion of the address to be shown on + outgoing news and mail messages. + +Template: slrn/getdescs +Type: select +_Choices: cron job, ip-up, manually +Default: cron job +_Description: How should newsgroup descriptions be refreshed? + Slrn needs to periodically connect to the network to download new + descriptions of newsgroups. This can be handled in a variety of ways. + . + A cron job that is run weekly can be used. This works well if you have a + permanent network connection, or if you are using diald or a similar + program that connects to the network on demand. + . + The ip-up script will make slrn refresh the descriptions when you connect + to the network via ppp. The new descriptions will still only be retrieved + once a week if you choose this method, no matter how often you connect to + the network. + . + Or you can choose to handle this manually. + +Template: slrn/manual_getdescs +Type: note +_Description: Refreshing newsgroup descriptions manually. + You indicated that you want to refresh newsgroup descriptions by hand, + rather than automatically via a cron job or other method. The command to + run (as root) to update the newsgroup descriptions is: + /usr/sbin/slrn_getdescs + . + You should run this every week or so while you're online. + +Template: slrn/getdescs_now +Type: boolean +Default: false +_Description: Download newsgroup descriptions now? + This appears to be a new install of slrn; no newsgroup descriptions have + been downloaded so far. Are you online, and should the newsgroup + descriptions be downloaded now? (It will take a few minutes, depending on + the speed of your network connection.) + +Template: slrn/lost_slrnpull +Type: note +_Description: Slrnpull has been split into a separate package. + You are upgrading from a version of slrn that contained the slrnpull + program, and it appears that you used slrnpull. Slrnpull has now been + split out into a separate package. If you do use slrnpull, you should + install the slrnpull package. --- slrn-0.9.8.1pl1.orig/debian/watch +++ slrn-0.9.8.1pl1/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://sourceforge.net/project/showfiles.php?group_id=7768 .*/slrn-(.*).tar.gz.*