Changeset 10276


Ignore:
Timestamp:
2008-01-26T21:07:47+01:00 (9 years ago)
Author:
juhosg
Message:

[toolchain] uClibc: restore support of shadow passwords, but make it configurable

Location:
trunk/toolchain
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/toolchain/Config.in

    r10024 r10276  
    2828                Enable large file (files > 2 GB) support 
    2929 
     30config SHADOW_PASSWORDS 
     31        bool 
     32        prompt "Enable shadow password support?" if TOOLCHAINOPTS 
     33        default y 
     34        help 
     35                Enable shadow password support. 
     36 
    3037config SOFT_FLOAT 
    3138        bool 
  • trunk/toolchain/uClibc/Makefile

    r10024 r10276  
    1 #  
     1# 
    22# Copyright (C) 2006 OpenWrt.org 
    33# 
     
    4747                -e 's,.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=$(if $(CONFIG_SOFT_FLOAT),n\nUCLIBC_HAS_FLOATS=y\nUCLIBC_HAS_SOFT_FLOAT=y,y),g' \ 
    4848                -e 's,^.*UCLIBC_HAS_LFS.*,UCLIBC_HAS_LFS=$(if $(CONFIG_LARGEFILE),y,n),g' \ 
     49                -e 's,^.*UCLIBC_HAS_SHADOW.*,UCLIBC_HAS_SHADOW=$(if $(CONFIG_SHADOW_PASSWORDS),y,n),g' \ 
    4950                $(PKG_BUILD_DIR)/.config 
    5051        mkdir -p $(BUILD_DIR_HOST)/uClibc_dev/usr/include 
     
    9192define Build/Compile 
    9293        $(SED) 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(PKG_BUILD_DIR)/Rules.mak 
    93         $(UCLIBC_MAKE) PREFIX= all  
     94        $(UCLIBC_MAKE) PREFIX= all 
    9495        $(UCLIBC_MAKE) PREFIX=$(STAGING_DIR_HOST)/ install_runtime install_dev 
    9596        $(SED) 's,UCLIBC_VERSION=.*,UCLIBC_VERSION=$(PKG_VERSION),' $(TOOLCHAIN_DIR)/info.mk 
  • trunk/toolchain/uClibc/config/arm

    r10048 r10276  
    9292MALLOC_GLIBC_COMPAT=y 
    9393UCLIBC_DYNAMIC_ATEXIT=y 
    94 HAS_SHADOW=y 
    9594COMPAT_ATEXIT=y 
    9695# UCLIBC_SUSV3_LEGACY is not set 
    9796UCLIBC_SUSV3_LEGACY_MACROS=y 
    98 # UCLIBC_HAS_SHADOW is not set 
     97UCLIBC_HAS_SHADOW=y 
    9998# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set 
    10099UCLIBC_HAS___PROGNAME=y 
  • trunk/toolchain/uClibc/config/armeb

    r10048 r10276  
    9393MALLOC_GLIBC_COMPAT=y 
    9494UCLIBC_DYNAMIC_ATEXIT=y 
    95 HAS_SHADOW=y 
    9695COMPAT_ATEXIT=y 
    9796# UCLIBC_SUSV3_LEGACY is not set 
    9897UCLIBC_SUSV3_LEGACY_MACROS=y 
    99 # UCLIBC_HAS_SHADOW is not set 
     98UCLIBC_HAS_SHADOW=y 
    10099# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set 
    101100UCLIBC_HAS___PROGNAME=y 
  • trunk/toolchain/uClibc/config/avr32

    r10048 r10276  
    7777MALLOC_GLIBC_COMPAT=y 
    7878UCLIBC_DYNAMIC_ATEXIT=y 
    79 HAS_SHADOW=y 
    8079COMPAT_ATEXIT=y 
    8180# UCLIBC_SUSV3_LEGACY is not set 
    8281UCLIBC_SUSV3_LEGACY_MACROS=y 
    83 # UCLIBC_HAS_SHADOW is not set 
     82UCLIBC_HAS_SHADOW=y 
    8483# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set 
    8584UCLIBC_HAS___PROGNAME=y 
  • trunk/toolchain/uClibc/config/cris

    r10024 r10276  
    7070MALLOC_GLIBC_COMPAT=y 
    7171UCLIBC_DYNAMIC_ATEXIT=y 
    72 HAS_SHADOW=y 
     72UCLIBC_HAS_SHADOW=y 
    7373# UNIX98PTY_ONLY is not set 
    7474ASSUME_DEVPTS=y 
  • trunk/toolchain/uClibc/config/i386

    r10048 r10276  
    9797# UCLIBC_SUSV3_LEGACY is not set 
    9898UCLIBC_SUSV3_LEGACY_MACROS=y 
    99 # UCLIBC_HAS_SHADOW is not set 
     99UCLIBC_HAS_SHADOW=y 
    100100# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set 
    101101UCLIBC_HAS___PROGNAME=y 
  • trunk/toolchain/uClibc/config/i686

    r10048 r10276  
    9797# UCLIBC_SUSV3_LEGACY is not set 
    9898UCLIBC_SUSV3_LEGACY_MACROS=y 
    99 # UCLIBC_HAS_SHADOW is not set 
     99UCLIBC_HAS_SHADOW=y 
    100100# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set 
    101101UCLIBC_HAS___PROGNAME=y 
  • trunk/toolchain/uClibc/config/mips

    r10048 r10276  
    1 #  
     1# 
    22# Copyright (C) 2006 OpenWrt.org 
    33# 
     
    9090MALLOC_GLIBC_COMPAT=y 
    9191UCLIBC_DYNAMIC_ATEXIT=y 
    92 HAS_SHADOW=y 
    9392COMPAT_ATEXIT=y 
    9493# UCLIBC_SUSV3_LEGACY is not set 
    9594UCLIBC_SUSV3_LEGACY_MACROS=y 
    96 # UCLIBC_HAS_SHADOW is not set 
     95UCLIBC_HAS_SHADOW=y 
    9796# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set 
    9897UCLIBC_HAS___PROGNAME=y 
  • trunk/toolchain/uClibc/config/mipsel

    r10048 r10276  
    1 #  
     1# 
    22# Copyright (C) 2006 OpenWrt.org 
    33# 
     
    9090MALLOC_GLIBC_COMPAT=y 
    9191UCLIBC_DYNAMIC_ATEXIT=y 
    92 HAS_SHADOW=y 
    9392COMPAT_ATEXIT=y 
    9493# UCLIBC_SUSV3_LEGACY is not set 
    9594UCLIBC_SUSV3_LEGACY_MACROS=y 
    96 # UCLIBC_HAS_SHADOW is not set 
     95UCLIBC_HAS_SHADOW=y 
    9796# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set 
    9897UCLIBC_HAS___PROGNAME=y 
  • trunk/toolchain/uClibc/config/powerpc

    r10048 r10276  
    1 #  
     1# 
    22# Copyright (C) 2006 OpenWrt.org 
    33# 
     
    7979MALLOC_GLIBC_COMPAT=y 
    8080UCLIBC_DYNAMIC_ATEXIT=y 
    81 HAS_SHADOW=y 
    8281COMPAT_ATEXIT=y 
    8382# UCLIBC_SUSV3_LEGACY is not set 
    8483UCLIBC_SUSV3_LEGACY_MACROS=y 
    85 # UCLIBC_HAS_SHADOW is not set 
     84UCLIBC_HAS_SHADOW=y 
    8685# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set 
    8786UCLIBC_HAS___PROGNAME=y 
  • trunk/toolchain/uClibc/config/x86_64

    r7769 r10276  
    6666MALLOC_GLIBC_COMPAT=y 
    6767UCLIBC_DYNAMIC_ATEXIT=y 
    68 HAS_SHADOW=y 
     68UCLIBC_HAS_SHADOW=y 
    6969# UNIX98PTY_ONLY is not set 
    7070ASSUME_DEVPTS=y 
Note: See TracChangeset for help on using the changeset viewer.