--- cpu-1.4.3.orig/config.guess +++ cpu-1.4.3/config.guess @@ -3,7 +3,7 @@ # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. -timestamp='2003-05-09' +timestamp='2004-03-12' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -106,6 +106,7 @@ : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; @@ -196,12 +197,18 @@ # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit 0 ;; + amd64:OpenBSD:*:*) + echo x86_64-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; amiga:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; arc:OpenBSD:*:*) echo mipsel-unknown-openbsd${UNAME_RELEASE} exit 0 ;; + cats:OpenBSD:*:*) + echo arm-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; hp300:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; @@ -220,6 +227,9 @@ mvmeppc:OpenBSD:*:*) echo powerpc-unknown-openbsd${UNAME_RELEASE} exit 0 ;; + pegasos:OpenBSD:*:*) + echo powerpc-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; pmax:OpenBSD:*:*) echo mipsel-unknown-openbsd${UNAME_RELEASE} exit 0 ;; @@ -235,10 +245,24 @@ *:OpenBSD:*:*) echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} exit 0 ;; + *:ekkoBSD:*:*) + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} + exit 0 ;; + macppc:MirBSD:*:*) + echo powerppc-unknown-mirbsd${UNAME_RELEASE} + exit 0 ;; + *:MirBSD:*:*) + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} + exit 0 ;; alpha:OSF1:*:*) - if test $UNAME_RELEASE = "V4.0"; then + case $UNAME_RELEASE in + *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` - fi + ;; + *5.*) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + ;; + esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU @@ -276,11 +300,15 @@ "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac + # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + exit 0 ;; + Alpha*:OpenVMS:*:*) + echo alpha-hp-vms exit 0 ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? @@ -303,6 +331,9 @@ *:OS/390:*:*) echo i370-ibm-openedition exit 0 ;; + *:OS400:*:*) + echo powerpc-ibm-os400 + exit 0 ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit 0;; @@ -320,6 +351,9 @@ NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit 0 ;; + DRS?6000:unix:4.0:6*) + echo sparc-icl-nx6 + exit 0 ;; DRS?6000:UNIX_SV:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7 && exit 0 ;; @@ -392,6 +426,9 @@ *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit 0 ;; + m68k:machten:*:*) + echo m68k-apple-machten${UNAME_RELEASE} + exit 0 ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit 0 ;; @@ -727,7 +764,7 @@ echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; *:UNICOS/mp:*:*) - echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` @@ -735,6 +772,11 @@ FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit 0 ;; + 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 0 ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit 0 ;; @@ -744,7 +786,7 @@ *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit 0 ;; - *:FreeBSD:*:*|*:GNU/FreeBSD:*:*) + *:FreeBSD:*:*) # Determine whether the default compiler uses glibc. eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c @@ -756,7 +798,10 @@ #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} + # GNU/KFreeBSD systems have a "k" prefix to indicate we are using + # FreeBSD's kernel, but not the complete OS. + case ${LIBC} in gnu) kernel_only='k' ;; esac + echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} exit 0 ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin @@ -767,8 +812,8 @@ i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit 0 ;; - x86:Interix*:3*) - echo i586-pc-interix3 + x86:Interix*:[34]*) + echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' exit 0 ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks @@ -789,17 +834,28 @@ echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; *:GNU:*:*) + # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit 0 ;; + *: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 0 ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit 0 ;; arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; + cris:Linux:*:*) + echo cris-axis-linux-gnu + exit 0 ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; + m32r*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; @@ -875,6 +931,9 @@ s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit 0 ;; + sh64*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; @@ -932,6 +991,9 @@ LIBC=gnuaout #endif #endif + #ifdef __dietlibc__ + LIBC=dietlibc + #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 @@ -962,6 +1024,9 @@ i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit 0 ;; + i*86:syllable:*:*) + echo ${UNAME_MACHINE}-pc-syllable + exit 0 ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit 0 ;; @@ -1033,7 +1098,7 @@ exit 0 ;; M68*:*:R3V[567]*:*) test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; - 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0) + 3[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) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` @@ -1148,7 +1213,7 @@ *:QNX:*:4*) echo i386-pc-qnx exit 0 ;; - NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*) + NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit 0 ;; *:NonStop-UX:*:*) @@ -1189,6 +1254,12 @@ *:ITS:*:*) echo pdp10-unknown-its exit 0 ;; + SEI:*:*:SEIUX) + echo mips-sei-seiux${UNAME_RELEASE} + exit 0 ;; + *:DragonFly:*:*) + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit 0 ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 --- cpu-1.4.3.orig/config.sub +++ cpu-1.4.3/config.sub @@ -3,7 +3,7 @@ # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. -timestamp='2003-05-09' +timestamp='2004-03-12' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -118,7 +118,8 @@ # 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* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) + nto-qnx* | linux-gnu* | linux-dietlibc | 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/'` ;; @@ -228,14 +229,15 @@ | 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 \ - | clipper \ + | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ - | ip2k \ - | m32r | m68000 | m68k | m88k | mcore \ + | ip2k | iq2000 \ + | m32r | m32rle | m68000 | m68k | m88k | mcore \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ @@ -247,6 +249,7 @@ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ + | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ @@ -259,9 +262,9 @@ | pyramid \ | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ - | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \ + | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \ | strongarm \ - | tahoe | thumb | tic80 | tron \ + | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ | x86 | xscale | xstormy16 | xtensa \ @@ -304,8 +307,8 @@ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ - | ip2k-* \ - | m32r-* \ + | ip2k-* | iq2000-* \ + | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ @@ -319,6 +322,7 @@ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ + | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ @@ -332,7 +336,7 @@ | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ - | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ @@ -359,6 +363,9 @@ basic_machine=a29k-amd os=-udi ;; + abacus) + basic_machine=abacus-unknown + ;; adobe68k) basic_machine=m68010-adobe os=-scout @@ -376,6 +383,9 @@ amd64) basic_machine=x86_64-pc ;; + amd64-*) + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; amdahl) basic_machine=580-amdahl os=-sysv @@ -435,12 +445,20 @@ basic_machine=j90-cray os=-unicos ;; + cr16c) + basic_machine=cr16c-unknown + os=-elf + ;; crds | unos) basic_machine=m68k-crds ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; + crx) + basic_machine=crx-unknown + os=-elf + ;; da30 | da30-*) basic_machine=m68k-da30 ;; @@ -740,6 +758,10 @@ basic_machine=or32-unknown os=-coff ;; + os400) + basic_machine=powerpc-ibm + os=-os400 + ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose @@ -771,18 +793,24 @@ pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; - pentiumii | pentium2) + 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-*) + 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 ;; @@ -841,6 +869,10 @@ sb1el) basic_machine=mipsisa64sb1el-unknown ;; + sei) + basic_machine=mips-sei + os=-seiux + ;; sequent) basic_machine=i386-sequent ;; @@ -848,6 +880,9 @@ basic_machine=sh-hitachi os=-hms ;; + sh64) + basic_machine=sh64-unknown + ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks @@ -922,10 +957,6 @@ basic_machine=t90-cray os=-unicos ;; - tic4x | c4x*) - basic_machine=tic4x-unknown - os=-coff - ;; tic54x | c54x*) basic_machine=tic54x-unknown os=-coff @@ -951,6 +982,10 @@ tower | tower-32) basic_machine=m68k-ncr ;; + tpf) + basic_machine=s390x-ibm + os=-tpf + ;; udi29k) basic_machine=a29k-amd os=-udi @@ -1046,7 +1081,7 @@ sh64) basic_machine=sh64-unknown ;; - sparc | sparcv9 | sparcv9b) + sparc | sparcv8 | sparcv9 | sparcv9b) basic_machine=sparc-sun ;; cydra) @@ -1119,19 +1154,20 @@ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ - | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ + | -mingw32* | -linux-gnu* | -linux-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*) + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1155,6 +1191,9 @@ -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; + -linux-dietlibc) + os=-linux-dietlibc + ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; @@ -1167,6 +1206,9 @@ -opened*) os=-openedition ;; + -os400*) + os=-os400 + ;; -wince*) os=-wince ;; @@ -1188,6 +1230,9 @@ -atheos*) os=-atheos ;; + -syllable*) + os=-syllable + ;; -386bsd) os=-bsd ;; @@ -1210,6 +1255,9 @@ -sinix*) os=-sysv4 ;; + -tpf*) + os=-tpf + ;; -triton*) os=-sysv3 ;; @@ -1277,6 +1325,9 @@ arm*-semi) os=-aout ;; + c4x-* | tic4x-*) + os=-coff + ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 @@ -1455,9 +1506,15 @@ -mvs* | -opened*) vendor=ibm ;; + -os400*) + vendor=ibm + ;; -ptx*) vendor=sequent ;; + -tpf*) + vendor=ibm + ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; --- cpu-1.4.3.orig/debian/patches/00list +++ cpu-1.4.3/debian/patches/00list @@ -0,0 +1 @@ +02_dontmesswithetc --- cpu-1.4.3.orig/debian/patches/01_ldapv3please.dpatch +++ cpu-1.4.3/debian/patches/01_ldapv3please.dpatch @@ -0,0 +1,42 @@ +#!/bin/sh -e +## 01_ldapv3please.dpatch by Guido Trotter +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Connect using LDAPv3 (ensures compatibility with OpenLDAP 2.1) + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad /home/ultrotter/docs/projects/deb/cpu/cpu-1.3.100/src/plugins/ldap/ld.c cpu-1.3.100/src/plugins/ldap/ld.c +--- /home/ultrotter/docs/projects/deb/cpu/cpu-1.3.100/src/plugins/ldap/ld.c 2003-04-30 01:17:42.000000000 +0200 ++++ cpu-1.3.100/src/plugins/ldap/ld.c 2003-09-02 08:57:13.000000000 +0200 +@@ -81,7 +81,13 @@ + ldap_perror(ld, "ldap: ldapOperation: ldap_start_tls" ); + return -1; + } ++ } else { ++ /* Even If we are not using a TLS connection try to set protocol ++ * version to 3 but don't bother too much if we fail. ++ */ ++ ldap_set_option( ld, LDAP_OPT_PROTOCOL_VERSION, &version ); + } ++ + if ( ldap_bind_s(ld, globalLdap->bind_dn, globalLdap->bind_password, + LDAP_AUTH_SIMPLE) != LDAP_SUCCESS ) + { --- cpu-1.4.3.orig/debian/patches/02_dontmesswithetc.dpatch +++ cpu-1.4.3/debian/patches/02_dontmesswithetc.dpatch @@ -0,0 +1,82 @@ +#!/bin/sh -e +## 02_dontmesswithetc.dpatch by Guido Trotter +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Patch upstream build system to avoit it trying installing configuration +## DP: files at build time. + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad /home/ultrotter/tmp/t/cpu-1.4.1/doc/Makefile.in cpu-1.4.1/doc/Makefile.in +--- /home/ultrotter/tmp/t/cpu-1.4.1/doc/Makefile.in 2003-09-23 18:29:49.000000000 +0200 ++++ cpu-1.4.1/doc/Makefile.in 2003-10-06 18:33:12.000000000 +0200 +@@ -396,7 +396,7 @@ + + info-am: + +-install-data-am: install-data-local install-dataDATA ++install-data-am: install-dataDATA + + install-exec-am: + +@@ -422,7 +422,7 @@ + + ps-am: + +-uninstall-am: uninstall-dataDATA uninstall-info-am uninstall-local ++uninstall-am: uninstall-dataDATA uninstall-info-am + + uninstall-info: uninstall-info-recursive + +@@ -445,20 +445,21 @@ + uninstall-info-recursive uninstall-local uninstall-recursive + + +-install-data-local: +- @if test -f $(sysconfdir)/cpu.conf ; then \ +- echo "$@ will not overwrite existing $(sysconfdir)/cpu.conf"; \ +- else \ +- $(mkinstalldirs) $(sysconfdir); \ +- echo "$(INSTALL_DATA) cpu.conf $(sysconfdir)/cpu.conf"; \ +- $(INSTALL_DATA) cpu.conf $(sysconfdir)/cpu.conf; \ +- fi ++#install-data-local: ++# @if test -f $(sysconfdir)/cpu.conf ; then \ ++# echo "$@ will not overwrite existing $(sysconfdir)/cpu.conf"; \ ++# else \ ++# $(mkinstalldirs) $(sysconfdir); \ ++# echo "$(INSTALL_DATA) cpu.conf $(sysconfdir)/cpu.conf"; \ ++# $(INSTALL_DATA) cpu.conf $(sysconfdir)/cpu.conf; \ ++# fi ++# ++#uninstall-local: ++# @if test -f $(sysconfdir)/cpu.conf ; then \ ++# echo "rm -f $(sysconfdir)/cpu.conf"; \ ++# $(RM) -f $(sysconfdir)/cpu.conf; \ ++# fi + +-uninstall-local: +- @if test -f $(sysconfdir)/cpu.conf ; then \ +- echo "rm -f $(sysconfdir)/cpu.conf"; \ +- $(RM) -f $(sysconfdir)/cpu.conf; \ +- fi + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: --- cpu-1.4.3.orig/debian/patches/03_strlenzero.dpatch +++ cpu-1.4.3/debian/patches/03_strlenzero.dpatch @@ -0,0 +1,37 @@ +#!/bin/sh -e +## 03_strlenzero.dpatch by Guido Trotter +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad /home/ultrotter/tmp/cpu/cpu-1.4.2/src/plugins/ldap/user.c cpu-1.4.2/src/plugins/ldap/user.c +--- /home/ultrotter/tmp/cpu/cpu-1.4.2/src/plugins/ldap/user.c 2003-10-12 23:59:13.000000000 +0200 ++++ cpu-1.4.2/src/plugins/ldap/user.c 2003-12-25 10:45:48.000000000 +0100 +@@ -340,7 +340,7 @@ + } + else if (globalLdap->unlock == true) + { +- for (i = 0; i < (int) strlen (npass); i++) ++ for (i = 0; i < (npass == NULL)? 0 : (int) strlen (npass); i++) + { + tpass[i] = npass[i]; + if (npass[i] == '}' && npass[i + 1] == '!') --- cpu-1.4.3.orig/debian/NEWS.Debian +++ cpu-1.4.3/debian/NEWS.Debian @@ -0,0 +1,29 @@ +cpu (1.4.1-1) unstable; urgency=low + + A bug in the software has been corrected: now the configuration variable + USER_CN_STRING is actually read and used, whereas in version 1.4.0 it was + mistakenly ignored, defaulting to "cn". + + As such it is likely that cpu will not be able to find your users and + modify them, if you created them with one of the affected versions of this + software. + + As a workaround you can set USER_CN_STRING to "cn" to make it work again. + If you want to change the value back to for instance "uid" you have to + modify all your users. + + An example ldif entry to change + dn: cn=foobar,ou=People,dc=domain,dc=com + into + dn: uid=foobar,ou=People,dc=domain,dc=com + would be: + + --- + dn: cn=foobar,ou=People,dc=domain,dc=com + changetype: moddn + newrdn: uid=foobar + deleteoldrdn: 0 + --- + + -- Guido Trotter Fri, 26 Sep 2003 10:13:31 +0200 + --- cpu-1.4.3.orig/debian/README.Debian +++ cpu-1.4.3/debian/README.Debian @@ -0,0 +1,22 @@ +CPU for Debian +---------------------------------- + +Please pay attention: /etc/cpu/cpu.conf has been configured by you for the +first time using debconf. Anyway feel free to make changes to that file: +the package management will respect any changes you make. + +Also you can tweak the permission on that file: any user with the ability +to read it will be able to manage your LDAP directory. This way you can +create more administrators, perhaps. + + -- Guido Trotter , Tue, 29 Aug 2003 10:15:23 +0200 + +If you are intrested in the standard used to keep user and group information +into an LDAP directory please see RFC2307. The details of the Lightweight +Directory Access Protocol (LDAP) are insted stored in RFC2251. + +You can download the rfcs from http://www.rfc-editor.org/ or have them +installed in your system using the doc-rfc* packages from the non-free +section of the debian ftp site. + + -- Guido Trotter , Tue, 28 Aug 2003 09:12:25 +0200 --- cpu-1.4.3.orig/debian/changelog +++ cpu-1.4.3/debian/changelog @@ -0,0 +1,145 @@ +cpu (1.4.3-4) unstable; urgency=low + + * Updated nl.po by Luk Claes (closes: #253453) + + -- Guido Trotter Wed, 9 Jun 2004 21:43:04 +0200 + +cpu (1.4.3-3) unstable; urgency=low + + * The "Fix before debconf ends" upload + * English template rearrangement by Christian Perrier + * New translation: + - de.po by Erik Schanze (closes: #251582) + * Updated translations: + - it.po by Valentina Commissari + - fr.po by Christian Perrier + - es.po by Gunnar Wolf + + -- Guido Trotter Wed, 2 Jun 2004 18:58:33 -0300 + +cpu (1.4.3-2) unstable; urgency=low + + * Upgrade ucf stuff to use the new debconf-based ucf + + -- Guido Trotter Tue, 24 Feb 2004 18:30:31 +0100 + +cpu (1.4.3-1) unstable; urgency=low + + * New upstream release + - new password handling (closes: #215437) + - better error recovery (closes: #215258) + - does not segfault when creating an account + giving the user's name (closes: #223326) + + -- Guido Trotter Sat, 17 Jan 2004 15:52:54 +0100 + +cpu (1.4.2-2) unstable; urgency=low + + Paul J Stevens: + * fixed bashism in cpu.config (closes: #219724). + + Guido Trotter: + * clean up debian/rules a bit. + * remove lintian override file. + + -- Guido Trotter Sat, 15 Nov 2003 08:24:42 +0100 + +cpu (1.4.2-1) unstable; urgency=medium + + Guido Trotter: + * New upstream release + - This is an upstream bugfix release; among other things it fixes some + scalability problems that the previous version had while operating on + big directories: urgency medium because of this. + - Has better error messages (helps: #215298) + * Now ship a default config file with USERGROUPS=yes in it (closes: #215298) + * Make postinst use umask 026 when creating the config file, and remove + the call to dpkg-statoverride (closes: #217630) + * Add the spanish translation (es.po) provided by José L. Redrejo + + Paul J Stevens: + * Refactored char escaping in postinst. + * Postinst parses spaces in BIND_DN (closes: #216077). + * Depend on ucf (closes: #217629) + + -- Guido Trotter Fri, 17 Oct 2003 22:08:32 +0200 + +cpu (1.4.1-4) unstable; urgency=low + + * Add back calls to patch and unpatch + targets in debian/rules (closes: #215570) + + -- Guido Trotter Mon, 13 Oct 2003 19:02:46 +0200 + +cpu (1.4.1-3) unstable; urgency=low + + Paul J Stevens: + * Redesign debconf stuff (closes: #213789, #215255) + * Write and add nl.po + + Guido Trotter: + * Add Paul J Stevens as Uploader + * Write and add it.po + * Add fr.po by Christian Perrier (closes: #214262) + * Update copyright file (closes: #215251) + + -- Guido Trotter Fri, 26 Sep 2003 12:12:38 +0200 + +cpu (1.4.1-2) unstable; urgency=low + + * Install NEWS.Debian + * I didn't relly move the libs, so remove the changelog entry that told it. + + -- Guido Trotter Fri, 26 Sep 2003 12:37:04 +0200 + +cpu (1.4.1-1) unstable; urgency=low + + * New upstream release + - now really uses USER_CN_STRING, instead of overridding it with "cn", + tell in NEWS.Debian about this issue and its possible consequences. + - now adds a new group along with the user + * Pass --datadir option to configure, to stop it dropping shings in + /usr/share + * Modified upstream build system not to try to install cpu.conf file: + it tried to install it without respecting the DESTDIR variable and, + moreover, we would have to remove it anyway. + * Add "etc/cpu" to debian/dirs + + -- Guido Trotter Fri, 26 Sep 2003 10:50:58 +0200 + +cpu (1.4.0-3) unstable; urgency=low + + * Ship a reasonable default value (consistent with the cracklib packages + and the FHS) for CRACKLIB_DICTIONARY in the config file (closes: #212733) + * Don't pass -s to seed (closes: #212728) + + -- Guido Trotter Fri, 26 Sep 2003 09:14:25 +0200 + +cpu (1.4.0-2) unstable; urgency=low + + * The "proliferation of the \" release. + * Escape also '\' character in postinst, before passing it to sed. + This, in theory closes: #212534. + * Improve short description a bit. + + -- Guido Trotter Wed, 24 Sep 2003 10:14:16 +0200 + +cpu (1.4.0-1) unstable; urgency=low + + * New upstream release + * Override lintian warnings about symlinks (cpu won't start without them) + * Don't apply 01_ldapv3please, as ldapv3 is enabled upstream + + -- Guido Trotter Tue, 16 Sep 2003 18:19:44 +0200 + +cpu (1.3.100-1) unstable; urgency=low + + * Initial Release (closes: #151829). + * Apply patch to bind using LDAPv3: this renders cpu compatible + with OpenLDAP 2.1, which doesn't allow bind_v2, by default. + * Generate configuration file with debconf. + * Clean up the shared library part: it's not needed. + * Let's release it, at last! + + -- Guido Trotter Thu, 4 Sep 2003 17:32:13 +0200 + --- cpu-1.4.3.orig/debian/compat +++ cpu-1.4.3/debian/compat @@ -0,0 +1 @@ +4 --- cpu-1.4.3.orig/debian/config +++ cpu-1.4.3/debian/config @@ -0,0 +1,56 @@ +#!/bin/sh -e + +export DEBCONF_DEBUG=developer +CONFIGFILE=/etc/cpu/cpu.conf +#DEBIANCONF=/etc/cpu/cpu-debian.conf +. /usr/share/debconf/confmodule + +export PACKAGE=cpu + +read_config() { + for line in `grep '^[^#]' $CONFIGFILE | sed 's/[[:space:]]//g'`; do + NEWSECTION=`echo $line|grep '^\['|sed 's/\(\[\)\(.*\)\(\]\)/\2/'` + if [ -n "$NEWSECTION" ]; then + SECTION=`echo $NEWSECTION|tr '[A-Z]' '[a-z]'` + else + key=`echo $line|cut -f1 -d'='` + val=`echo $line|cut -f2- -d'='` + eval "db_set $PACKAGE/$SECTION/$key '$val' || true" + fi + done +} + +init_config() { + if [ -e $CONFIGFILE ]; then + read_config + fi +} + +db_capb backup + +STATE=1 +LASTSTATE=7 +while [ "$STATE" != 0 -a "$STATE" -le "$LASTSTATE" ]; do + case "$STATE" in + 1) db_input medium $PACKAGE/do_debconf || true ;; + 2) + db_get $PACKAGE/do_debconf + [ "$RET" = "false" ] && break + init_config + ;; + 3) db_input medium $PACKAGE/ldap/LDAP_URI || true ;; + 4) db_input medium $PACKAGE/ldap/BIND_DN || true ;; + 5) db_input medium $PACKAGE/ldap/BIND_PASS || true ;; + 6) db_input medium $PACKAGE/ldap/USER_BASE || true ;; + 7) db_input medium $PACKAGE/ldap/GROUP_BASE || true ;; + + esac + if db_go; then + STATE=$(($STATE+1)) + else + STATE=$(($STATE-1)) + fi +done + +exit 0 + --- cpu-1.4.3.orig/debian/control +++ cpu-1.4.3/debian/control @@ -0,0 +1,15 @@ +Source: cpu +Section: admin +Priority: optional +Maintainer: Guido Trotter +Uploaders: Paul J Stevens +Build-Depends: debhelper (>= 4.1.6), dpatch, libldap2-dev, cracklib2-dev +Standards-Version: 3.6.1 + +Package: cpu +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ucf (>= 0.28) +Description: a console based LDAP user management tool + CPU is a suitable replacement for the useradd/usermod/userdel utilities for + administrators using an LDAP backend and wishing to have a suite of command + line tools for doing the administration. --- cpu-1.4.3.orig/debian/copyright +++ cpu-1.4.3/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by unknown on +Fri, 29 Aug 2003 13:14:42 +0200. + +It was downloaded from http://cpu.sourceforge.net/ + +Upstream Author: Blake Matheny + +Copyright: + + This package 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; version 2 dated June, 1991. + + This package 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 package; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- cpu-1.4.3.orig/debian/cpu.conf +++ cpu-1.4.3/debian/cpu.conf @@ -0,0 +1,42 @@ +# See cpu.conf(5) for documentation + +[GLOBAL] +DEFAULT_METHOD = ldap +CRACKLIB_DICTIONARY = /var/cache/cracklib/cracklib_dict + +[LDAP] +LDAP_URI = ldap://127.0.0.1 +BIND_DN = cn=Manager,dc=mydomain,dc=com +BIND_PASS = secret +USER_BASE = ou=People,dc=mydomain,dc=com +GROUP_BASE = ou=Groups,dc=mydomain,dc=com +USER_OBJECT_CLASS = account,posixAccount,shadowAccount,top +GROUP_OBJECT_CLASS = posixGroup,top +USER_FILTER = (objectClass=posixAccount) +GROUP_FILTER = (objectClass=posixGroup) +USER_CN_STRING = uid +GROUP_CN_STRING = cn +SKEL_DIR = /etc/skel +DEFAULT_SHELL = /bin/bash +HOME_DIRECTORY = /home +MAX_UIDNUMBER = 10000 +MIN_UIDNUMBER = 1000 +MAX_GIDNUMBER = 10000 +MIN_GIDNUMBER = 1000 +ID_MAX_PASSES = 1000 +# Whether each user should have its own group created or not +USERGROUPS = yes +# If you change usergroup set this to the default group a user should have +#USERS_GID = 100 +RANDOM = "false" +PASSWORD_FILE = "/etc/passfile" +SHADOW_FILE = "/etc/shadowfile" +HASH = "md5" +SHADOWLASTCHANGE = 11192 +SHADOWMAX = 99999 +SHADOWWARING = 7 +SHADOWEXPIRE = -1 +SHADOWFLAG = 134538308 +SHADOWMIN = -1 +SHADOWINACTIVE = -1 + --- cpu-1.4.3.orig/debian/dirs +++ cpu-1.4.3/debian/dirs @@ -0,0 +1,2 @@ +usr +etc/cpu --- cpu-1.4.3.orig/debian/docs +++ cpu-1.4.3/debian/docs @@ -0,0 +1,4 @@ +README +TODO +NEWS +debian/NEWS.Debian --- cpu-1.4.3.orig/debian/postinst +++ cpu-1.4.3/debian/postinst @@ -0,0 +1,80 @@ +#! /bin/sh +# postinst script for cpu +# +# see: dh_installdeb(1) + +test $DEBIAN_SCRIPT_DEBUG && set -v -x + +# Source debconf library. +CONFIG=/etc/cpu/cpu.conf +#CONFIG=/home/paul/cpu.conf + + +update_var() { + _field="$1" _value="$2" + _record=`printf "%-23s = %s" "$_field" "$_value"` + sed "s|^$_field.*|$_record|" $CONFIG > $CONFIG.tmp && \ + mv $CONFIG.tmp $CONFIG +} + +escape() { + # escape sed meta chars and pattern delimiter (|) + echo "$*" | sed 's|[\|\$\&\.\*\%\^\+\?]|\\&|g' +} + +case "$1" in + configure) + + . /usr/share/debconf/confmodule + db_get cpu/do_debconf || true; DO_DEBCONF=$RET + if [ "$DO_DEBCONF" = "true" ]; then + db_get cpu/ldap/LDAP_URI || true; LDAP_URI=`escape "$RET"` + db_get cpu/ldap/BIND_DN || true; BIND_DN=`escape "$RET"` + db_get cpu/ldap/BIND_PASS || true; BIND_PASS=`escape "$RET"` + db_get cpu/ldap/USER_BASE || true; USER_BASE=`escape "$RET"` + db_get cpu/ldap/GROUP_BASE || true; GROUP_BASE=`escape "$RET"` + fi + + # Set the umask to 026 so ucf will create the file with the right mode, + # but won't override eventual changes by the sysadm + umask 026 + # this due to debconf not releasing stdin (refer to #193694) + ucf --debconf-ok /usr/share/doc/cpu/examples/cpu.conf $CONFIG + + if [ "$DO_DEBCONF" = "true" ]; then + update_var LDAP_URI "$LDAP_URI" + update_var BIND_DN "$BIND_DN" + update_var BIND_PASS "$BIND_PASS" + update_var USER_BASE "$USER_BASE" + update_var GROUP_BASE "$GROUP_BASE" + + if [ -e /var/cache/cracklib/cracklib_dict.pwd ]; then + sed "s/^#CRACKLIB_DICTIONARY/CRACKLIB_DICTIONARY/" $CONFIG > \ + $CONFIG.tmp && mv $CONFIG.tmp $CONFIG + else + sed "s/^CRACKLIB_DICTIONARY/#CRACKLIB_DICTIONARY/" $CONFIG > \ + $CONFIG.tmp && mv $CONFIG.tmp $CONFIG + fi + fi + db_stop + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + + +exit 0 + + --- cpu-1.4.3.orig/debian/postrm +++ cpu-1.4.3/debian/postrm @@ -0,0 +1,51 @@ +#! /bin/sh +# postrm script for cpu +# +# see: dh_installdeb(1) + +set -e +# Source debconf library. +. /usr/share/debconf/confmodule + + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|failed-upgrade|abort-install|abot-upgrade|disappear) + ;; + + purge) + rm -f /etc/cpu/cpu.conf + [ -d /etc/cpu ] && rmdir /etc/cpu || true + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +# Automatically added by dh_installdebconf +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge + ucf --purge /etc/cpu/cpu.conf +fi +# End automatically added section +#DEBHELPER# + +exit 0 --- cpu-1.4.3.orig/debian/rules +++ cpu-1.4.3/debian/rules @@ -0,0 +1,114 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +include /usr/share/dpatch/dpatch.make + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +config.status: configure + dh_testdir + # Add here commands to configure the package. + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --datadir=\$${prefix}/share/doc/cpu \ + --infodir=\$${prefix}/share/info \ + --sysconfdir=/etc/cpu \ + --libdir=/usr/lib/cpu \ + --with-libcrack --with-ldap + + +build: patch-stamp build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch build-stamp + +clean: really-clean unpatch + +really-clean: + dh_testdir + dh_testroot + rm -f build-stamp + rm -f config.log + + # Add here commands to clean up after the build process. + -$(MAKE) distclean +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/cpu. + $(MAKE) install DESTDIR=$(CURDIR)/debian/cpu + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples debian/cpu.conf +# dh_install +# dh_installmenu + dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb + dh_shlibdeps -Xusr/bin/cpu + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- cpu-1.4.3.orig/debian/templates +++ cpu-1.4.3/debian/templates @@ -0,0 +1,45 @@ +Template: cpu/do_debconf +Type: boolean +Default: true +_Description: Do you want to manage cpu's configuration through debconf? + Please confirm if you want to allow debconf to manage some parts of your + cpu.conf. Please note that any further manual changes to cpu.conf + will never be overwritten by debconf. + +Template: cpu/ldap/LDAP_URI +Type: string +Default: ldap://localhost +_Description: LDAP server: + Please insert the URI of the LDAP server you plan to use with CPU. Use + the standard form of "ldap[s]://host[:port]". The default port value is + 389. Use ldaps if you intend to use a TLS encrypted connection. + +Template: cpu/ldap/USER_BASE +Type: string +_Description: Base DN of your user subtree: + Please enter the DN of the part of your directory that contains the users + you wish to manage with CPU. + +Template: cpu/ldap/GROUP_BASE +Type: string +_Description: Base DN of your group subtree: + Please enter the DN of the part of your directory that contains the groups + you wish to manage with CPU. + +Template: cpu/ldap/BIND_DN +Type: string +_Description: LDAP user DN: + Please insert the DN of the user CPU will bind to the LDAP server with. + Usually this will be your LDAP admin DN, but can be any other DN, as long + as it is configured to have full control over at least the subtree under + the base you selected before. + . + Example: "cn=admin,dc=domain,dc=tld" + +Template: cpu/ldap/BIND_PASS +Type: password +_Description: LDAP password: + Please enter the password to use when binding to the LDAP directory. Note + that this password will be stored in cleartext in your /etc/cpu/cpu.conf + file, so don't let that file became readable to anyone you don't want to + give the same power of the user cpu will bind with. --- cpu-1.4.3.orig/debian/po/POTFILES.in +++ cpu-1.4.3/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates --- cpu-1.4.3.orig/debian/po/de.po +++ cpu-1.4.3/debian/po/de.po @@ -0,0 +1,143 @@ +# translation of cpu_1.4.3-2_templates.po to German +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans# +# Developers do not need to manually edit POT or PO files. +# Erik Schanze , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: cpu_1.4.3-2_templates\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-05-31 13:12-0300\n" +"PO-Revision-Date: 2004-05-31 22:45+0200\n" +"Last-Translator: Erik Schanze \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.0.2\n" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "Do you want to manage cpu's configuration through debconf?" +msgstr "Sollen die Einstellungen für dieses Paket von debconf verwaltet werden?" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"Please confirm if you want to allow debconf to manage some parts of your cpu." +"conf. Please note that any further manual changes to cpu.conf will never be " +"overwritten by debconf." +msgstr "" +"Bitte stimmen Sie zu, wenn debconf einige Teile der Datei cpu.conf verwalten " +"soll. Beachten Sie, dass Ihre eigenen Änderungen, durch Editieren der Datei " +"cpu.conf, bei einem späteren Aufruf von debconf mittels dpkg-reconfigure " +"nicht überschrieben werden." + +#. Type: string +#. Description +#: ../templates:12 +msgid "LDAP server:" +msgstr "LDAP-Server:" + +#. Type: string +#. Description +#: ../templates:12 +msgid "" +"Please insert the URI of the LDAP server you plan to use with CPU. Use the " +"standard form of \"ldap[s]://host[:port]\". The default port value is 389. " +"Use ldaps if you intend to use a TLS encrypted connection." +msgstr "" +"Bitte geben Sie die URI des LDAP-Servers in der Form ldap[s]://host[:port] " +"(Port 389 ist Standard) ein, den Sie für CPU benutzen wollen. Nehmen Sie " +"ldaps, wenn Sie eine Verbindung mit TLS-Verschlüsselung nutzen." + +#. Type: string +#. Description +#: ../templates:19 +msgid "Base DN of your user subtree:" +msgstr "Basis-DN Ihres Benutzer-Unterverzeichnisses:" + +#. Type: string +#. Description +#: ../templates:19 +msgid "" +"Please enter the DN of the part of your directory that contains the users " +"you wish to manage with CPU." +msgstr "" +"Bitte geben Sie den DN des Teils Ihres Verzeichnisses an, das die Benutzer " +"enthält, die mit CPU verwaltet werden sollen." + +#. Type: string +#. Description +#: ../templates:25 +msgid "Base DN of your group subtree:" +msgstr "Basis-DN Ihres Gruppen-Unterverzeichnisses:" + +#. Type: string +#. Description +#: ../templates:25 +msgid "" +"Please enter the DN of the part of your directory that contains the groups " +"you wish to manage with CPU." +msgstr "" +"Bitte geben Sie den DN des Teils Ihres Verzeichnisses an, das die Gruppen " +"enthält, die mit CPU verwaltet werden sollen." + +#. Type: string +#. Description +#: ../templates:31 +msgid "LDAP user DN:" +msgstr "LDAP-Benutzer DN:" + +#. Type: string +#. Description +#: ../templates:31 +msgid "" +"Please insert the DN of the user CPU will bind to the LDAP server with. " +"Usually this will be your LDAP admin DN, but can be any other DN, as long as " +"it is configured to have full control over at least the subtree under the " +"base you selected before." +msgstr "" +"Bitte geben Sie den DN des Benutzers ein, als der sich CPU mit dem LDAP-Server " +"verbinden soll. Normalerweise ist das der DN des LDAP-Administrators, aber es " +"kann jeder andere DN sein, wenn er zumindest so eingerichtet ist, dass er die " +"volle Kontrolle über die Unterverzeichnisse hat, die Sie vorhin als Basis " +"eingeben haben." + +#. Type: string +#. Description +#: ../templates:31 +msgid "Example: \"cn=admin,dc=domain,dc=tld\"" +msgstr "Beispiel: \"cn=admin,dc=domain,dc=tld\"" + +#. Type: password +#. Description +#: ../templates:41 +msgid "LDAP password:" +msgstr "LDAP-Passwort:" + +#. Type: password +#. Description +#: ../templates:41 +msgid "" +"Please enter the password to use when binding to the LDAP directory. Note " +"that this password will be stored in cleartext in your /etc/cpu/cpu.conf " +"file, so don't let that file became readable to anyone you don't want to " +"give the same power of the user cpu will bind with." +msgstr "" +"Bitte geben Sie das Passwort für die Verbindung zum LDAP-Server ein. " +"Beachten Sie, dass dieses Passwort im Klartext in der Datei /etc/cpu/cpu.conf " +"gespeichert wird. Diese Datei sollte nicht von Benutzern zu lesen sein, denen " +"Sie nicht die gleichen Rechte einräumen wollen, wie dem Benutzer, der sich mit " +"dem LDAP-Server verbindet." + --- cpu-1.4.3.orig/debian/po/es.po +++ cpu-1.4.3/debian/po/es.po @@ -0,0 +1,153 @@ +# translation of es.po to spanish +# translation of templates.po to spanish +# +# 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. +# Jose L. Redrejo , 2003 +# +msgid "" +msgstr "" +"Project-Id-Version: es\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-05-31 13:12-0300\n" +"PO-Revision-Date: 2003-11-01 15:19+0100\n" +"Last-Translator: Jose L. Redrejo \n" +"Language-Team: spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.0.1\n" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "Do you want to manage cpu's configuration through debconf?" +msgstr "¿Desea manejar la configuración de cpu utilizando debconf?" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"Please confirm if you want to allow debconf to manage some parts of your cpu." +"conf. Please note that any further manual changes to cpu.conf will never be " +"overwritten by debconf." +msgstr "" +"Confirme si desea que debconf maneje algunas partes de su cpu.conf. Tenga " +"en cuenta que cualquier cambio que haga a su cpu.conf manualmente más tarde " +"no será sobreescrito por debconf." + +#. Type: string +#. Description +#: ../templates:12 +msgid "LDAP server:" +msgstr "" + +#. Type: string +#. Description +#: ../templates:12 +msgid "" +"Please insert the URI of the LDAP server you plan to use with CPU. Use the " +"standard form of \"ldap[s]://host[:port]\". The default port value is 389. " +"Use ldaps if you intend to use a TLS encrypted connection." +msgstr "" +"Escriba la URI del servidor LDAP que planea usar con CPU en la forma ldap" +"\"[s]://servidor[:puerto]\" (el puerto por defecto es" +"#389). Especifique ldaps si va a usar una conexión encriptada TLS." + +#. Type: string +#. Description +#: ../templates:19 +msgid "Base DN of your user subtree:" +msgstr "¿Cual es el DN base del subárbol de usuarios?" + +#. Type: string +#. Description +#: ../templates:19 +msgid "" +"Please enter the DN of the part of your directory that contains the users " +"you wish to manage with CPU." +msgstr "" +"Escriba la parte DN de la parte del directorio que contiene los" +"usuarios que desea administrar con CPU." + +#. Type: string +#. Description +#: ../templates:25 +msgid "Base DN of your group subtree:" +msgstr "¿Cual es el DN base de su subárbol de grupos?" + +#. Type: string +#. Description +#: ../templates:25 +msgid "" +"Please enter the DN of the part of your directory that contains the groups " +"you wish to manage with CPU." +msgstr "" +"Escriba el DN de la parte del directorio que contiene los grupos que desea " +"administrar con CPU." + +#. Type: string +#. Description +#: ../templates:31 +msgid "LDAP user DN:" +msgstr "" + +#. Type: string +#. Description +#: ../templates:31 +msgid "" +"Please insert the DN of the user CPU will bind to the LDAP server with. " +"Usually this will be your LDAP admin DN, but can be any other DN, as long as " +"it is configured to have full control over at least the subtree under the " +"base you selected before." +msgstr "" +"Escriba el DN del usuario que CPU usará para conectar al servidor LDAP. " +"Normalmente, será su DN de administrador de LDAP, pero puede ser " +"cualquier otro DN, siempre y cuando esté configurado para tener control " +"total cuando menos sobre el subárbol dentro de la base que seleccionó antes." + +#. Type: string +#. Description +#: ../templates:31 +msgid "Example: \"cn=admin,dc=domain,dc=tld\"" +msgstr "Ejemplo: \"cn=admin,dc=dominio,dc=tld\"" + +#. Type: password +#. Description +#: ../templates:41 +msgid "LDAP password:" +msgstr "" + +#. Type: password +#. Description +#: ../templates:41 +msgid "" +"Please enter the password to use when binding to the LDAP directory. Note " +"that this password will be stored in cleartext in your /etc/cpu/cpu.conf " +"file, so don't let that file became readable to anyone you don't want to " +"give the same power of the user cpu will bind with." +msgstr "" +"Escriba la contraseña usada para conectar al directorio " +"LDAP. Recuerde que esta contraseña se almacenará en texto plano en su " +"archivo /etc/cpu/cpu.conf; no deje que este archivo tenga permiso de " +"lectura para nadie a quien no quiera darle el mismo poder que tendrá cpu." + +#~ msgid "User to bind your LDAP directory with:" +#~ msgstr "¿Con qué usuario desea conectar a su directorio LDAP?" + +#~ msgid "What LDAP server do you plan using CPU with?" +#~ msgstr "¿Con qué servidor LDAP planea usar CPU?" + +#~ msgid "What is the password of the user CPU will bind with?" +#~ msgstr "¿Cual es la contraseña del usuario con el que se conectará CPU?" + +#~ msgid "What is your LDAP administrator password?" +#~ msgstr "¿Cuál es la contraseña LDAP de su administrador?" + --- cpu-1.4.3.orig/debian/po/fr.po +++ cpu-1.4.3/debian/po/fr.po @@ -0,0 +1,102 @@ +# +# 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: cpu\n" +"POT-Creation-Date: 2004-05-31 13:12-0300\n" +"PO-Revision-Date: 2004-05-31 13:21-0300\n" +"Last-Translator: Christian Perrier \n" +"Language-Team: french \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "Do you want to manage cpu's configuration through debconf?" +msgstr "Faut-il gérer la configuration de CPU avec debconf ?" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "Please confirm if you want to allow debconf to manage some parts of your cpu.conf. Please note that any further manual changes to cpu.conf will never be overwritten by debconf." +msgstr "Veuilluez confirmer si vous souhaitez que debconf gère certaines parties de votre fichier cpu.conf. Notez que les modifications ultérieures que vous effectuerez directement dans le fichier ne seront jamais écrasées par debconf." + +#. Type: string +#. Description +#: ../templates:12 +msgid "LDAP server:" +msgstr "Serveur LDAP :" + +#. Type: string +#. Description +#: ../templates:12 +msgid "Please insert the URI of the LDAP server you plan to use with CPU. Use the standard form of \"ldap[s]://host[:port]\". The default port value is 389. Use ldaps if you intend to use a TLS encrypted connection." +msgstr "Veuillez indiquer l'URI du serveur LDAP que vous souhaitez utiliser avec CPU. Vous devez utiliser la forme normalisée « ldap[s]@hôte[:port] ». Le port par défaut est 389. Utilisez « ldaps » si vous prévoyez d'utiliser une connexion chiffrée par TLS." + +#. Type: string +#. Description +#: ../templates:19 +msgid "Base DN of your user subtree:" +msgstr "Nom distinctif de la base (« base dn ») du sous-arbre des utilisateurs :" + +#. Type: string +#. Description +#: ../templates:19 +msgid "Please enter the DN of the part of your directory that contains the users you wish to manage with CPU." +msgstr "Veuillez indiquer le nom distinctif (DN) qui contient les utilisateurs que vous souhaitez gérer avec CPU." + +#. Type: string +#. Description +#: ../templates:25 +msgid "Base DN of your group subtree:" +msgstr "Nom distinctif de la base (« base dn ») du sous-arbre des groupes :" + +#. Type: string +#. Description +#: ../templates:25 +msgid "Please enter the DN of the part of your directory that contains the groups you wish to manage with CPU." +msgstr "Veuillez indiquer le nom distinctif (DN) de la partie de votre répertoire qui contient les groupes que vous souhaitez gérer avec CPU." + +#. Type: string +#. Description +#: ../templates:31 +msgid "LDAP user DN:" +msgstr "Nom distinctif (DN) de l'utilisateur LDAP :" + +#. Type: string +#. Description +#: ../templates:31 +msgid "Please insert the DN of the user CPU will bind to the LDAP server with. Usually this will be your LDAP admin DN, but can be any other DN, as long as it is configured to have full control over at least the subtree under the base you selected before." +msgstr "Veuillez indiquer le nom distinctif (DN) de l'utilisateur dont se servira CPU pour se connecter au serveur LDAP. Ce sera en général celui de votre administrateur LDAP. Cela n'est toutefois pas indispensable, à condition que cette identité ait le contrôle total sur l'ensemble du sous-répertoire indiqué précédemment." + +#. Type: string +#. Description +#: ../templates:31 +msgid "Example: \"cn=admin,dc=domain,dc=tld\"" +msgstr "Exemple : « cn=admin,dc=domain,dc=tld »." + +#. Type: password +#. Description +#: ../templates:41 +msgid "LDAP password:" +msgstr "Mot de passe LDAP :" + +#. Type: password +#. Description +#: ../templates:41 +msgid "Please enter the password to use when binding to the LDAP directory. Note that this password will be stored in cleartext in your /etc/cpu/cpu.conf file, so don't let that file became readable to anyone you don't want to give the same power of the user cpu will bind with." +msgstr "Veuillez indiquer le mot de passe qui sera utilisé pour la connexion au serveur LDAP. Veuillez noter que ce mot de passe sera conservé en clair dans le fichier /etc/cpu/cpu.conf. Ne laissez donc pas ce fichier accessible en lecture à tous les utilisateurs." + --- cpu-1.4.3.orig/debian/po/it.po +++ cpu-1.4.3/debian/po/it.po @@ -0,0 +1,91 @@ +# Translation of debconf for cpu. +# This file is distributed under the same license as the cpu package. +# Copyright 2004 by Valentina Commissari . +msgid "" +msgstr "" +"Project-Id-Version: cpu 1.4.1\n" +"POT-Creation-Date: 2004-05-31 13:12-0300\n" +"PO-Revision-Date: 2004-06-02 17:48-0300\n" +"Last-Translator: Valentina Commissari \n" +"Language-Team: Italian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "Do you want to manage cpu's configuration through debconf?" +msgstr "Si vuole gestire la configurazione di cpu tramite debconf?" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "Please confirm if you want to allow debconf to manage some parts of your cpu.conf. Please note that any further manual changes to cpu.conf will never be overwritten by debconf." +msgstr "Confermare che si intende gestire alcune parti di cpu.conf tramite debconf. Nessuna delle modifiche effettuate manualmente al file cpu.conf sarà sovrascritta da debconf." + +#. Type: string +#. Description +#: ../templates:12 +msgid "LDAP server:" +msgstr "Server LDAP:" + +#. Type: string +#. Description +#: ../templates:12 +msgid "Please insert the URI of the LDAP server you plan to use with CPU. Use the standard form of \"ldap[s]://host[:port]\". The default port value is 389. Use ldaps if you intend to use a TLS encrypted connection." +msgstr "Inserire l'URI del server LDAP che si intende amministrare con CPU. Usare il formato standard di \"ldap[s]://host[:porta]\". Il valore predefinito della porta è 389. Usare ldaps se si intende usare una connessione TLS criptata." + +#. Type: string +#. Description +#: ../templates:19 +msgid "Base DN of your user subtree:" +msgstr "DN di base del sottoramo degli utenti:" + +#. Type: string +#. Description +#: ../templates:19 +msgid "Please enter the DN of the part of your directory that contains the users you wish to manage with CPU." +msgstr "Inserire il DN della parte di directory LDAP che contiene gli utenti che si intende amministrare con CPU." + +#. Type: string +#. Description +#: ../templates:25 +msgid "Base DN of your group subtree:" +msgstr "DN di base del sottoramo dei gruppi:" + +#. Type: string +#. Description +#: ../templates:25 +msgid "Please enter the DN of the part of your directory that contains the groups you wish to manage with CPU." +msgstr "Inserire il DN della parte di directory LDAP che contiene i gruppi che si intende amministrare con CPU." + +#. Type: string +#. Description +#: ../templates:31 +msgid "LDAP user DN:" +msgstr "LDAP user DN:" + +#. Type: string +#. Description +#: ../templates:31 +msgid "Please insert the DN of the user CPU will bind to the LDAP server with. Usually this will be your LDAP admin DN, but can be any other DN, as long as it is configured to have full control over at least the subtree under the base you selected before." +msgstr "Inserire il DN con il quale si intende connettersi al server LDAP. Questo normalmente sarà il DN dell'amministratore LDAP, ma potrebbe essere un qualsiasi altro utente, purchè sia configurato per avere pieno controllo nei sottorami scelti precedentemente." + +#. Type: string +#. Description +#: ../templates:31 +msgid "Example: \"cn=admin,dc=domain,dc=tld\"" +msgstr "Esempio: \"cn=admin,dc=domain,dc=tld\"" + +#. Type: password +#. Description +#: ../templates:41 +msgid "LDAP password:" +msgstr "Password LDAP:" + +#. Type: password +#. Description +#: ../templates:41 +msgid "Please enter the password to use when binding to the LDAP directory. Note that this password will be stored in cleartext in your /etc/cpu/cpu.conf file, so don't let that file became readable to anyone you don't want to give the same power of the user cpu will bind with." +msgstr "Inserire la password da usare per connettersi alla directory LDAP. Questa password sara` conservata in chiaro nel file /etc/cpu/cpu.conf, quindi non permettere che tale file possa esser letto da nessuno a cui non si voglia dare lo stesso potere dell'utente che cpu userà per collegarsi a LDAP." --- cpu-1.4.3.orig/debian/po/nl.po +++ cpu-1.4.3/debian/po/nl.po @@ -0,0 +1,102 @@ +# +# 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: cpu 1.4.3-2\n" +"POT-Creation-Date: 2004-05-31 13:12-0300\n" +"PO-Revision-Date: 2004-06-09 17:21+0100\n" +"Last-Translator: Luk Claes \n" +"Language-Team: Debian l10n Dutch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "Do you want to manage cpu's configuration through debconf?" +msgstr "Wilt u cpu's configuratie door debconf laten beheren?" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "Please confirm if you want to allow debconf to manage some parts of your cpu.conf. Please note that any further manual changes to cpu.conf will never be overwritten by debconf." +msgstr "Stem toe indien u debconf wilt toestaan delen van uw cpu.conf te laten beheren. Merk op dat veranderingen die u later handmatig aanbrengt in cpu.conf, nooit door debconf zullen worden overschreven." + +#. Type: string +#. Description +#: ../templates:12 +msgid "LDAP server:" +msgstr "LDAP-server:" + +#. Type: string +#. Description +#: ../templates:12 +msgid "Please insert the URI of the LDAP server you plan to use with CPU. Use the standard form of \"ldap[s]://host[:port]\". The default port value is 389. Use ldaps if you intend to use a TLS encrypted connection." +msgstr "Geef de URI van de LDAP-server die u met CPU wilt gebruiken. Gebruik het standaardformaat \"ldap[s]://host[:poort]\". De standaard poortwaarde is 389. Gebruik ldaps als u van plan bent gebruik te maken van een TLS-versleutelde verbinding." + +#. Type: string +#. Description +#: ../templates:19 +msgid "Base DN of your user subtree:" +msgstr "Wat is de basis DN van uw gebruikers-boomstructuur?" + +#. Type: string +#. Description +#: ../templates:19 +msgid "Please enter the DN of the part of your directory that contains the users you wish to manage with CPU." +msgstr "Geef de DN van het deel van uw map die de gebruikers bevat die met CPU zullen worden beheerd." + +#. Type: string +#. Description +#: ../templates:25 +msgid "Base DN of your group subtree:" +msgstr "Wat is de basis DN van uw groepen-boomstructuur?" + +#. Type: string +#. Description +#: ../templates:25 +msgid "Please enter the DN of the part of your directory that contains the groups you wish to manage with CPU." +msgstr "Geef de DN van het deel van uw map die de groepen bevat die met CPU zullen worden beheerd." + +#. Type: string +#. Description +#: ../templates:31 +msgid "LDAP user DN:" +msgstr "DN van de LDAP-gebruiker:" + +#. Type: string +#. Description +#: ../templates:31 +msgid "Please insert the DN of the user CPU will bind to the LDAP server with. Usually this will be your LDAP admin DN, but can be any other DN, as long as it is configured to have full control over at least the subtree under the base you selected before." +msgstr "Geef de DN van de gebruiker waarmee CPU met de LDAP-server zal verbinden. Meestal zal dit de DN van de LDAP-beheerder zijn, maar het kan elke andere DN zijn, mits die volledige toegang heeft tot het deel van de boomstructuur onder de eerder geselecteerde basis." + +#. Type: string +#. Description +#: ../templates:31 +msgid "Example: \"cn=admin,dc=domain,dc=tld\"" +msgstr "Voorbeeld: \"cn=beheerder,dc=domein,dc=be\"" + +#. Type: password +#. Description +#: ../templates:41 +msgid "LDAP password:" +msgstr "LDAP-wachtwoord:" + +#. Type: password +#. Description +#: ../templates:41 +msgid "Please enter the password to use when binding to the LDAP directory. Note that this password will be stored in cleartext in your /etc/cpu/cpu.conf file, so don't let that file became readable to anyone you don't want to give the same power of the user cpu will bind with." +msgstr "Geen het wachtwoord om te verbinden met de LDAP-map. Let er op dat dit wachtwoord onversleuteld wordt opgeslagen in uw /etc/cpu/cpu.conf-bestand: maak en houd dit bestand onleesbaar voor onbevoegden." + --- cpu-1.4.3.orig/debian/po/templates.pot +++ cpu-1.4.3/debian/po/templates.pot @@ -0,0 +1,121 @@ +# +# 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" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-05-31 13:12-0300\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" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "Do you want to manage cpu's configuration through debconf?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"Please confirm if you want to allow debconf to manage some parts of your cpu." +"conf. Please note that any further manual changes to cpu.conf will never be " +"overwritten by debconf." +msgstr "" + +#. Type: string +#. Description +#: ../templates:12 +msgid "LDAP server:" +msgstr "" + +#. Type: string +#. Description +#: ../templates:12 +msgid "" +"Please insert the URI of the LDAP server you plan to use with CPU. Use the " +"standard form of \"ldap[s]://host[:port]\". The default port value is 389. " +"Use ldaps if you intend to use a TLS encrypted connection." +msgstr "" + +#. Type: string +#. Description +#: ../templates:19 +msgid "Base DN of your user subtree:" +msgstr "" + +#. Type: string +#. Description +#: ../templates:19 +msgid "" +"Please enter the DN of the part of your directory that contains the users " +"you wish to manage with CPU." +msgstr "" + +#. Type: string +#. Description +#: ../templates:25 +msgid "Base DN of your group subtree:" +msgstr "" + +#. Type: string +#. Description +#: ../templates:25 +msgid "" +"Please enter the DN of the part of your directory that contains the groups " +"you wish to manage with CPU." +msgstr "" + +#. Type: string +#. Description +#: ../templates:31 +msgid "LDAP user DN:" +msgstr "" + +#. Type: string +#. Description +#: ../templates:31 +msgid "" +"Please insert the DN of the user CPU will bind to the LDAP server with. " +"Usually this will be your LDAP admin DN, but can be any other DN, as long as " +"it is configured to have full control over at least the subtree under the " +"base you selected before." +msgstr "" + +#. Type: string +#. Description +#: ../templates:31 +msgid "Example: \"cn=admin,dc=domain,dc=tld\"" +msgstr "" + +#. Type: password +#. Description +#: ../templates:41 +msgid "LDAP password:" +msgstr "" + +#. Type: password +#. Description +#: ../templates:41 +msgid "" +"Please enter the password to use when binding to the LDAP directory. Note " +"that this password will be stored in cleartext in your /etc/cpu/cpu.conf " +"file, so don't let that file became readable to anyone you don't want to " +"give the same power of the user cpu will bind with." +msgstr "" --- cpu-1.4.3.orig/doc/cpu.conf +++ cpu-1.4.3/doc/cpu.conf @@ -33,8 +33,6 @@ PASSWORD_FILE = "/etc/passfile" SHADOW_FILE = "/etc/shadowfile" HASH = "md5" -#ADD_SCRIPT = "contrib/postaddscript.sh" -#DEL_SCRIPT = "foo" SHADOWLASTCHANGE = 11192 SHADOWMAX = 99999 SHADOWWARING = 7