debian/0000755000000000000000000000000012203355300007157 5ustar debian/control0000644000000000000000000000125311616476616010610 0ustar Source: hello Section: devel Priority: optional Maintainer: Santiago Vila Standards-Version: 3.9.2 Homepage: http://www.gnu.org/software/hello/ Package: hello Architecture: any Depends: ${shlibs:Depends}, dpkg (>= 1.15.4) | install-info Description: The classic greeting, and a good example The GNU hello program produces a familiar, friendly greeting. It allows non-programmers to use a classic computer science tool which would otherwise be unavailable to them. . Seriously, though: this is an example of how to do a Debian package. It is the Debian version of the GNU Project's `hello world' program (which is itself an example for the GNU Project). debian/watch0000644000000000000000000000032311114004350010202 0ustar # debian/watch # Debian uscan file for hello package # Manpage: uscan(1) # Compulsory line, format version of this file version=3 # Current version from GNU site http://ftp.gnu.org/gnu/hello/hello-(.*).tar.gz debian/patches/0000755000000000000000000000000012203355217010615 5ustar debian/patches/99-config-guess-config-sub0000644000000000000000000005125712203354650015434 0ustar From: Santiago Vila Subject: Updated config.guess and config.sub X-Debian-version: 2.8-4 --- a/build-aux/config.guess +++ b/build-aux/config.guess @@ -1,14 +1,12 @@ #! /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, 2006, 2007, 2008, 2009, 2010, -# 2011, 2012 Free Software Foundation, Inc. +# Copyright 1992-2013 Free Software Foundation, Inc. -timestamp='2012-02-10' +timestamp='2013-06-10' # 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 +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but @@ -22,19 +20,17 @@ # 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 (context -# diff format) to and include a ChangeLog -# entry. +# the same distribution terms that you use for the rest of that +# program. This Exception is an additional permission under section 7 +# of the GNU General Public License, version 3 ("GPLv3"). # -# 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. +# Originally written by Per Bothner. # # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD +# +# Please send patches with a ChangeLog entry to config-patches@gnu.org. + me=`echo "$0" | sed -e 's,.*/,,'` @@ -54,9 +50,7 @@ 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, 2006, 2007, 2008, 2009, 2010, 2011, 2012 -Free Software Foundation, Inc. +Copyright 1992-2013 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." @@ -138,6 +132,27 @@ UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown +case "${UNAME_SYSTEM}" in +Linux|GNU|GNU/*) + # If the system lacks a compiler, then just pick glibc. + # We could probably try harder. + LIBC=gnu + + eval $set_cc_for_build + cat <<-EOF > $dummy.c + #include + #if defined(__UCLIBC__) + LIBC=uclibc + #elif defined(__dietlibc__) + LIBC=dietlibc + #else + LIBC=gnu + #endif + EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` + ;; +esac + # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in @@ -200,6 +215,10 @@ # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; + *:Bitrig:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} + exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} @@ -302,7 +321,7 @@ arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; - arm:riscos:*:*|arm:RISCOS:*:*) + arm*:riscos:*:*|arm*:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) @@ -801,6 +820,9 @@ i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; + *:MINGW64*:*) + echo ${UNAME_MACHINE}-pc-mingw64 + exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; @@ -852,21 +874,21 @@ exit ;; *:GNU:*:*) # the GNU system - echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`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 + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; aarch64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; aarch64_be:Linux:*:*) UNAME_MACHINE=aarch64_be - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in @@ -879,59 +901,54 @@ EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep -q ld.so.1 - if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} + if test "$?" = 0 ; then LIBC="gnulibc1" ; fi + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + arc:Linux:*:* | arceb:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; arm*:Linux:*:*) eval $set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} else if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_PCS_VFP then - echo ${UNAME_MACHINE}-unknown-linux-gnueabi + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi else - echo ${UNAME_MACHINE}-unknown-linux-gnueabihf + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf fi fi exit ;; avr32*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; cris:Linux:*:*) - echo ${UNAME_MACHINE}-axis-linux-gnu + echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; crisv32:Linux:*:*) - echo ${UNAME_MACHINE}-axis-linux-gnu + echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; frv:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; hexagon:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; i*86:Linux:*:*) - LIBC=gnu - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #ifdef __dietlibc__ - LIBC=dietlibc - #endif -EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` - echo "${UNAME_MACHINE}-pc-linux-${LIBC}" + echo ${UNAME_MACHINE}-pc-linux-${LIBC} exit ;; ia64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; m32r*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; m68*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; mips:Linux:*:* | mips64:Linux:*:*) eval $set_cc_for_build @@ -950,54 +967,63 @@ #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } ;; + or1k:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; or32:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; padre:Linux:*:*) - echo sparc-unknown-linux-gnu + echo sparc-unknown-linux-${LIBC} exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) - echo hppa64-unknown-linux-gnu + echo hppa64-unknown-linux-${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 ;; + PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; + PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; + *) echo hppa-unknown-linux-${LIBC} ;; esac exit ;; ppc64:Linux:*:*) - echo powerpc64-unknown-linux-gnu + echo powerpc64-unknown-linux-${LIBC} exit ;; ppc:Linux:*:*) - echo powerpc-unknown-linux-gnu + echo powerpc-unknown-linux-${LIBC} + exit ;; + ppc64le:Linux:*:*) + echo powerpc64le-unknown-linux-${LIBC} + exit ;; + ppcle:Linux:*:*) + echo powerpcle-unknown-linux-${LIBC} exit ;; s390:Linux:*:* | s390x:Linux:*:*) - echo ${UNAME_MACHINE}-ibm-linux + echo ${UNAME_MACHINE}-ibm-linux-${LIBC} exit ;; sh64*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; sh*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; tile*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; vax:Linux:*:*) - echo ${UNAME_MACHINE}-dec-linux-gnu + echo ${UNAME_MACHINE}-dec-linux-${LIBC} exit ;; x86_64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; xtensa*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. @@ -1201,6 +1227,9 @@ BePC:Haiku:*:*) # Haiku running on Intel PC compatible. echo i586-pc-haiku exit ;; + x86_64:Haiku:*:*) + echo x86_64-unknown-haiku + exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; @@ -1227,19 +1256,21 @@ exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown - case $UNAME_PROCESSOR in - i386) - eval $set_cc_for_build - if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then - if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_64BIT_ARCH >/dev/null - then - UNAME_PROCESSOR="x86_64" - fi - fi ;; - unknown) UNAME_PROCESSOR=powerpc ;; - esac + eval $set_cc_for_build + if test "$UNAME_PROCESSOR" = unknown ; then + UNAME_PROCESSOR=powerpc + fi + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + case $UNAME_PROCESSOR in + i386) UNAME_PROCESSOR=x86_64 ;; + powerpc) UNAME_PROCESSOR=powerpc64 ;; + esac + fi + fi echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) @@ -1256,7 +1287,7 @@ NEO-?:NONSTOP_KERNEL:*:*) echo neo-tandem-nsk${UNAME_RELEASE} exit ;; - NSE-?:NONSTOP_KERNEL:*:*) + NSE-*:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) @@ -1330,9 +1361,6 @@ 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 <. @@ -26,11 +20,12 @@ # 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. +# the same distribution terms that you use for the rest of that +# program. This Exception is an additional permission under section 7 +# of the GNU General Public License, version 3 ("GPLv3"). -# Please send patches to . Submit a context -# diff and a properly formatted GNU ChangeLog entry. +# Please send patches with a ChangeLog entry to config-patches@gnu.org. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. @@ -73,9 +68,7 @@ version="\ GNU config.sub ($timestamp) -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, -2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 -Free Software Foundation, Inc. +Copyright 1992-2013 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." @@ -123,7 +116,7 @@ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ - linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ + linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ knetbsd*-gnu* | netbsd*-gnu* | \ kopensolaris*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) @@ -156,7 +149,7 @@ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple | -axis | -knuth | -cray | -microblaze) + -apple | -axis | -knuth | -cray | -microblaze*) os= basic_machine=$1 ;; @@ -225,6 +218,12 @@ -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; + -lynx*178) + os=-lynxos178 + ;; + -lynx*5) + os=-lynxos5 + ;; -lynx*) os=-lynxos ;; @@ -253,10 +252,12 @@ | 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 | avr32 \ - | be32 | be64 \ + | arc | arceb \ + | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ + | avr | avr32 \ + | be32 | be64 \ | bfin \ - | c4x | clipper \ + | c4x | c8051 | clipper \ | d10v | d30v | dlx | dsp16xx \ | epiphany \ | fido | fr30 | frv \ @@ -267,7 +268,7 @@ | le32 | le64 \ | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ - | maxq | mb | microblaze | mcore | mep | metag \ + | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ @@ -285,16 +286,17 @@ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ + | mipsr5900 | mipsr5900el \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | moxie \ | mt \ | msp430 \ | nds32 | nds32le | nds32be \ - | nios | nios2 \ + | nios | nios2 | nios2eb | nios2el \ | ns16k | ns32k \ | open8 \ - | or32 \ + | or1k | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | pyramid \ @@ -364,13 +366,13 @@ | aarch64-* | aarch64_be-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | be32-* | be64-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* \ - | clipper-* | craynv-* | cydra-* \ + | c8051-* | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ @@ -383,7 +385,8 @@ | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ + | microblaze-* | microblazeel-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ @@ -401,12 +404,13 @@ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ + | mipsr5900-* | mipsr5900el-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nds32-* | nds32le-* | nds32be-* \ - | nios-* | nios2-* \ + | nios-* | nios2-* | nios2eb-* | nios2el-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | open8-* \ | orion-* \ @@ -782,11 +786,15 @@ basic_machine=ns32k-utek os=-sysv ;; - microblaze) + microblaze*) basic_machine=microblaze-xilinx ;; + mingw64) + basic_machine=x86_64-pc + os=-mingw64 + ;; mingw32) - basic_machine=i386-pc + basic_machine=i686-pc os=-mingw32 ;; mingw32ce) @@ -822,7 +830,7 @@ basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; msys) - basic_machine=i386-pc + basic_machine=i686-pc os=-msys ;; mvs) @@ -1013,7 +1021,11 @@ basic_machine=i586-unknown os=-pw32 ;; - rdos) + rdos | rdos64) + basic_machine=x86_64-pc + os=-rdos + ;; + rdos32) basic_machine=i386-pc os=-rdos ;; @@ -1340,21 +1352,21 @@ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ - | -sym* | -kopensolaris* \ + | -sym* | -kopensolaris* | -plan9* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* | -aros* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ - | -openbsd* | -solidbsd* \ + | -bitrig* | -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* | -cegcc* \ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -linux-android* \ - | -linux-newlib* | -linux-uclibc* \ + | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ + | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ @@ -1486,9 +1498,6 @@ -aros*) os=-aros ;; - -kaos*) - os=-kaos - ;; -zvmoe) os=-zvmoe ;; @@ -1537,6 +1546,12 @@ c4x-* | tic4x-*) os=-coff ;; + c8051-*) + os=-elf + ;; + hexagon-*) + os=-elf + ;; tic54x-*) os=-coff ;; @@ -1577,6 +1592,9 @@ mips*-*) os=-elf ;; + or1k-*) + os=-elf + ;; or32-*) os=-coff ;; debian/patches/series0000644000000000000000000000003312203354650012026 0ustar 99-config-guess-config-sub debian/source/0000755000000000000000000000000011340332052010457 5ustar debian/source/format0000644000000000000000000000001411340332052011665 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000002721512203354650011047 0ustar hello (2.8-4) unstable; urgency=low * Added '-n' to all debian/rules gzip calls to help the build to be binary-reproducible. Closes: #719848. * Updated config.guess and config.sub. -- Santiago Vila Fri, 16 Aug 2013 09:50:00 +0200 hello (2.8-3) unstable; urgency=low * Quote prefix in make install to fix FTBFS when there are spaces in the working directory. Closes: #696855. Thanks to Dmitrijs Ledkovs. -- Santiago Vila Wed, 13 Feb 2013 11:24:42 +0100 hello (2.8-2) unstable; urgency=low * Use `dpkg-buildflags` instead of $(shell dpkg-buildflags). Otherwise "export DEB_BUILD_MAINT_OPTIONS=foo", when needed, does not work. -- Santiago Vila Thu, 07 Jun 2012 13:01:40 +0200 hello (2.8-1) unstable; urgency=low * New upstream release. * Dropped patch 01-no-usr-share-info-dir-gz in favour of new environment variable AM_UPDATE_INFO_DIR supported by recent automake. * Build with hardened flags (added CPPFLAGS and LDFLAGS). * Put CFLAGS stuff in ./configure call, where they really belong. -- Santiago Vila Sun, 27 May 2012 23:23:00 +0200 hello (2.7-3) unstable; urgency=low * Get CFLAGS from dpkg-buildflags. * Drop -g as it's provided by dpkg-buildflags. Add -Wall as it's not. * Drop noopt handling, dpkg-buildflags already takes care of that. -- Santiago Vila Sun, 26 Feb 2012 12:04:16 +0100 hello (2.7-2) unstable; urgency=low * Added recommended targets build-arch and build-indep. * Standards-Version: 3.9.2. -- Santiago Vila Thu, 04 Aug 2011 13:08:08 +0200 hello (2.7-1) unstable; urgency=low * New upstream release. * Use chown with numeric value 0 instead of "root". * Make package cross-buildable without binutils-multiarch. Thanks to Héctor Orón. Closes: #616444. -- Santiago Vila Tue, 05 Apr 2011 15:37:44 +0200 hello (2.6-1) unstable; urgency=low * New upstream release. * Drop unused INSTALL_PROGRAM stuff. * Switch to 3.0 (quilt) source format. * Standards-Version: 3.9.1 (no special changes for this). -- Santiago Vila Fri, 06 Aug 2010 22:04:02 +0200 hello (2.5-1) unstable; urgency=low * New upstream release. * Added homepage field to control file. * Added cross-compilation support. Closes: #550327. * Standards-Version: 3.8.4 (no special changes for this). -- Santiago Vila Sun, 14 Feb 2010 17:25:04 +0000 hello (2.4-3) unstable; urgency=low * Modified doc/Makefile.in to avoid /usr/share/info/dir.gz. -- Santiago Vila Sun, 30 Aug 2009 13:05:52 +0200 hello (2.4-2) unstable; urgency=low * Removed prerm and postinst as they are no longer needed. * Added dependency on "dpkg (>= 1.15.4) | install-info". * Standards-Version: 3.8.3. -- Santiago Vila Wed, 26 Aug 2009 17:01:36 +0200 hello (2.4-1) unstable; urgency=low * New upstream release. License is now GPLv3 or later. * Manual is included again, as it's now GFDL without invariant sections. * Clarified manual: If more than one of the greeting options is specified (`-g', `-n', `-t', and their long-named equivalents), whichever comes last takes precedence. Closes: #457941. * Don't pass -isp to dpkg-gencontrol, as it's deprecated. Closes: #508833. * Changed source URL in copyright file to use http, not ftp. * Standards-Version: 3.8.2 (no changes for this). -- Santiago Vila Mon, 03 Aug 2009 23:34:18 +0200 hello (2.2-3) unstable; urgency=low * Added debian/watch file. Closes: #489213. * Removed unneeded section .comment from binary. Closes: #428722. * Run "make distclean" only if Makefile exists, but do not ignore errors. -- Santiago Vila Fri, 28 Nov 2008 17:08:46 +0100 hello (2.2-2) unstable; urgency=low * Removed all traces of checkroot. It's not really debian/rules job, and the binary target will fail anyway if not invoked as root, as there is a chown call. -- Santiago Vila Wed, 11 Apr 2007 08:05:12 +0200 hello (2.2-1) unstable; urgency=low * New upstream release. * Repackaged source without GFDL manual. * Option -m does no longer exist (Closes: #109895). * Removed prerm and postinst, as info files are missing now. -- Santiago Vila Sat, 9 Dec 2006 17:00:14 +0100 hello (2.1.1-5) unstable; urgency=low * Removed checkdir stuff from debian/rules, as it is not very useful. * Standards-Version: 3.7.2 (no changes for this). * Updated config.guess and config.sub. -- Santiago Vila Tue, 18 Jul 2006 19:55:02 +0200 hello (2.1.1-4) unstable; urgency=low * Updated config.guess and config.sub for GNU/K*BSD. -- Santiago Vila Mon, 5 Jan 2004 16:42:30 +0100 hello (2.1.1-3) unstable; urgency=low * Modified Makefile.in to make sure that install-info is never called during the build. This is a workaroud for an automake bug which makes packages to contain /usr/share/info/dir.gz. -- Santiago Vila Wed, 8 Oct 2003 12:43:26 +0200 hello (2.1.1-2) unstable; urgency=low * Standards-Version: 3.6.1 (no changes required). * Use `:' with chown for POSIX compliance, not `.'. * Use chmod u+w,go=rX to sanitize permissions. -- Santiago Vila Sun, 7 Sep 2003 15:32:18 +0200 hello (2.1.1-1) unstable; urgency=low * New upstream release. GNU hello now says `Hello, world!' in a lot of different languages, using gettext. See the NEWS file for details. * Fixed spelling error in extended description (Closes: #124733). * The upstream source now contains install-sh (Closes: #135735). * The info file is now installed under the "Development" section. * It already has a description, so --description isn't used anymore. * Removed deprecated emacs stuff from the Debian changelog. * Removed debian/hello.1, since there is now an upstream manpage. * Standards-Version: 3.5.7: - Added support for DEB_BUILD_OPTIONS (noopt and nostrip). - Modified prerm and postinst so that they do nothing about doc symlinks. * Updated copyright file. Removed references to Linux. * Some changes to make debian/rules more readable. * New maintainer (thanks, Adam). -- Santiago Vila Sat, 12 Oct 2002 21:07:42 +0200 hello (1.3-18) unstable; urgency=low * Fix bashism in debian/rules. Closes: #81827. -- Adam Heath Fri, 12 Jan 2001 00:42:56 -0600 hello (1.3-17) unstable; urgency=low * Fixed symlink creation for /usr/doc. Closes: #62899. * Don't use whoami to test for root, as that isn't il8n. * Include the section and priority fields in debian/tmp/DEBIAN/control. * Lintian 1.11.2 clean. -- Adam Heath Sun, 23 Apr 2000 19:52:39 -0500 hello (1.3-16) unstable; urgency=low * Added /usr/doc -> ../share/doc symlink handling. * This package has no build dependencies. -- Adam Heath Sat, 4 Dec 1999 04:12:28 -0600 hello (1.3-15) unstable; urgency=low * New maintainer, as the current maintainer has been awol. * Ported to FHS. * Bugs fixed in previous releases: Closes: #14602, #20998, #14603 * Acknowledge -14 nmu. Closes: #14876 * Remove comments about targets 'source' and 'diff', as they are only of interest for historical reasons. * Lintian 1.8.2 clean. -- Adam Heath Sat, 18 Sep 1999 10:25:13 -0500 hello (1.3-14.3) unstable; urgency=low * YANMU. * This release has no lintian errors, so that the slink release won't be delayed. :) * Added man page(written by rcw@irc.debian.org#debian). (Fixes Bug#4341) * Removed spurious 'source/diff' message from debian/rules, as it was confusing to new developers, and is a historical anomaly. (Fixes Bug#14602) * Removed bashims from debian/rules. (Fixes Bug#14603) * Acknowledge the nmu in 14876. (Fixes Bug#14876) * Removes || $(MAKE) -f Makefile.in distclean from debian/rules. (Fixes Bug#20998) -- Adam Heath Sun, 4 Oct 1998 01:30:01 -0500 hello (1.3-14.2) unstable; urgency=low * Yet another non-maintainer release * Removed source and diff targets (#14601). I'm not removing the comment (which would fix #14602) as it's harmless and slightly interesting IMO. * Fixed calling of make install; I ignored this bug last time as I didn't understand it. Having realised what it meant, I agree that it needed changing (#4967) -- Mark Baker Sun, 16 Nov 1997 18:11:03 +0000 hello (1.3-14.1) unstable; urgency=low * Non-maintainer release * Remove section and priority lines for binary, i.e. undoing the "fix" for the non-bug #4816 * Yes, I do know that the previous release should have been numbered 1.3-13.1 -- Mark Baker Sun, 16 Nov 1997 17:16:10 +0000 hello (1.3-14) unstable; urgency=low * Non-maintainer release * Add section and priority lines for binary (#4816) * Change comment in debian/rules (#4968) * Remove debian/substvars on clean (#4371) * Fix hang when looking for mailbox (#4375) * Search FSSTND and FHS locations for mail * Compile for libc6 -- Mark Baker Fri, 14 Nov 1997 22:40:39 +0000 hello (1.3-13) unstable; urgency=low * Updated to Standards-Version 2.1.1.0 (no changes required). * Changed maintainer email address. -- Ian Jackson Thu, 12 Sep 1996 01:30:34 +0100 hello (1.3-12) unstable; urgency=low * Added Debian and upstream changelogs to binary package. * Updated to Standards-Version 2.1.0.0. -- Ian Jackson Sun, 1 Sep 1996 16:02:23 +0100 hello (1.3-11) unstable; urgency=low * Maintainer scripts now `set -e' (even though only 1 command in each). * debian/rules has separate binary, binary-arch, binary-indep targets. -- Ian Jackson Thu, 22 Aug 1996 15:37:25 +0100 hello (1.3-10) experimental; urgency=low * Use new shared library dependencies and dpkg-gencontrol scheme. * `source' and `diff' removed from .PHONY and now print message. -- Ian Jackson Tue, 20 Aug 1996 15:42:27 +0100 hello (1.3-9) experimental; urgency=LOW * changelog specifies `debian-changelog-mode', not `dpkg-...'. * Comment in debian/rules re missing (obsolete) `source', `diff' &c. -- Ian Jackson Sat, 10 Aug 1996 22:23:39 +0100 hello (1.3-8) experimental; urgency=LOW * debian/changelog has local variables section to set Emacs mode. * debian/rules mkdir replaced with install -d for consistency. * debian/rules INSTALL setting to use -s changed to INSTALL_PROGRAM. -- Ian Jackson Fri, 9 Aug 1996 23:59:37 +0100 hello (1.3-7) experimental; urgency=LOW * Changed to new source packing scheme. -- Ian Jackson Tue, 6 Aug 1996 02:22:38 +0100 hello (1.3-6); priority=LOW * Changed to ELF and added Pre-Depends. * Added Architecture field to control file. -- Ian Jackson Thu, 14 Mar 1996 02:04:36 +0000 hello (1.3-4); priority=LOW * Added extended description. -- Ian Jackson Fri, 28 Jul 1995 21:33:04 +0100 Hello 1.3 Debian 3 - iwj * Corrected some mistakes in debian.README. * Added Package_Revision field to `control' file. * Added --quiet to install-info invocations. * Generalised and commented debian.rules a bit more. * Put debian.rules into the public domain. * Removed debian.rules install target. * Added this Changelog. * Added Info manual copyright to debian.README. Hello 1.3 Debian 2 - iwj * New prerm script which calls install-info --remove. Hello 1.3 Debian 1 - iwj Initial release. debian/rules0000755000000000000000000000443712203353203010247 0ustar #!/usr/bin/make -f # Sample debian/rules file - for GNU Hello. # Copyright 1994,1995 by Ian Jackson. # I hereby give you perpetual unlimited permission to copy, # modify and relicense this file, provided that you do not remove # my name from the file itself. (I assert my moral right of # paternity under the Copyright, Designs and Patents Act 1988.) # This file may have to be extensively modified package = hello docdir = debian/tmp/usr/share/doc/$(package) CFLAGS := `dpkg-buildflags --get CFLAGS` -Wall LDFLAGS := `dpkg-buildflags --get LDFLAGS` CPPFLAGS := `dpkg-buildflags --get CPPFLAGS` STRIP = true export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) export AM_UPDATE_INFO_DIR = no # Recommended snippet for Autoconf 2.52 or later ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) confflags += --build $(DEB_HOST_GNU_TYPE) stripcmd = strip else confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) stripcmd = $(DEB_HOST_GNU_TYPE)-strip endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) STRIP = $(stripcmd) --remove-section=.comment --remove-section=.note endif build: ./configure CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \ LDFLAGS="$(LDFLAGS)" $(confflags) --prefix=/usr $(MAKE) touch build clean: rm -f build [ ! -f Makefile ] || $(MAKE) distclean rm -rf *~ debian/tmp debian/*~ debian/files* debian/substvars binary-indep: build # There are no architecture-independent files to be uploaded # generated by this package. If there were any they would be # made here. binary-arch: build rm -rf debian/tmp install -d debian/tmp/DEBIAN $(docdir) $(MAKE) prefix="$$(pwd)/debian/tmp/usr" install $(STRIP) debian/tmp/usr/bin/hello cp -a NEWS debian/copyright $(docdir) cp -a debian/changelog $(docdir)/changelog.Debian cp -a ChangeLog $(docdir)/changelog cd $(docdir) && gzip -9n changelog changelog.Debian gzip -r9n debian/tmp/usr/share/man gzip -9n debian/tmp/usr/share/info/* dpkg-shlibdeps debian/tmp/usr/bin/hello dpkg-gencontrol chown -R 0:0 debian/tmp chmod -R u+w,go=rX debian/tmp dpkg --build debian/tmp .. binary: binary-indep binary-arch build-arch: build build-indep: build .PHONY: binary binary-arch binary-indep build-arch build-indep clean debian/copyright0000644000000000000000000000431311760504605011126 0ustar This is the Debian GNU prepackaged version of the FSF's GNU hello utility. This package provides the classic greeting to the users of Debian, as well as providing Debian's developers with an example of how to package a GNU program. GNU `hello' was written by Mike Haertel, David MacKenzie, Jan Brittenson, Charles Hannum, Roland McGrath, Noah Friedman, Karl Eichwalder, and The King. This package was first put together by Ian Jackson and it's currently maintained by Santiago Vila. The source for this release was taken from: http://ftp.gnu.org/gnu/hello/hello-2.8.tar.gz The changes were very minimal: - Adding support for the Debian package maintenance scheme, by adding various debian/* files. Program Copyright 1992, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2005, 2006, 2007, 2008, 2010, 2011, 2012 Free Software Foundation, Inc. Modifications for Debian Copyright (C) 1994,1995,1996 Ian Jackson. 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 3 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, see . */ On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. Manual Copyright (C) 1992, 1993, 1996, 2002, 2005-2012 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". On Debian systems, the complete text of the GNU Free Documentation License can be found in `/usr/share/common-licenses/GFDL'.