source: scripts/patches/shadow-4.0.14-configure_fix-1.patch@ b51a30d

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since b51a30d was c7ec163, checked in by Jim Gifford <clfs@…>, 19 years ago

r2473@server (orig r1230): ryan | 2006-03-06 23:56:13 -0800

r1232@rei: lfs | 2006-03-07 18:03:13 +1100
Gah, push in long forgotten changes (must sync more often)


  • Property mode set to 100644
File size: 3.0 KB
  • shadow-4.0.14

    Submitted By: Jim Gifford (patches at jg555 dot com)
    Date: 2006-01-03
    Initial Package Version: 4.0.14
    Origin: Jim Gifford
    Upstream Status: Submitted
    Description: Fixed default values
    	     As released libpam libselinux and audit are
    	     turned on by default. This patch corrects
    	     the issue.
     
    diff -Naur shadow-4.0.14.orig/configure shadow-4.0.14/configure
    old new  
    10481048                          both]
    10491049  --with-tags[=TAGS]
    10501050                          include additional configurations [automatic]
    1051   --with-audit            use auditing support [default=yes if found]
    1052   --with-libpam           use libpam for PAM support [default=yes if
    1053                           found]
    1054   --with-selinux          use SELinux support [default=autodetect]
     1051  --with-audit            use auditing support [default=no]
     1052  --with-libpam           use libpam for PAM support [default=no]
     1053  --with-selinux          use SELinux support [default=no]
    10551054  --with-skey             use S/Key support [default=no]
    10561055  --with-libcrack         use libcrack [default=yes if found and if PAM not
    10571056                          enabled]
     
    2218522184  withval="$with_audit"
    2218622185  with_audit=$withval
    2218722186else
    22188   with_audit=yes
     22187  with_audit=no
    2218922188fi;
    2219022189
    2219122190# Check whether --with-libpam or --without-libpam was given.
     
    2219322192  withval="$with_libpam"
    2219422193  with_libpam=$withval
    2219522194else
    22196   with_libpam=yes
     22195  with_libpam=no
    2219722196fi;
    2219822197
    2219922198# Check whether --with-selinux or --without-selinux was given.
     
    2220122200  withval="$with_selinux"
    2220222201  with_selinux=$withval
    2220322202else
    22204   with_selinux=yes
     22203  with_selinux=no
    2220522204fi;
    2220622205
    2220722206# Check whether --with-skey or --without-skey was given.
  • configure.in

    diff -Naur shadow-4.0.14.orig/configure.in shadow-4.0.14/configure.in
    old new  
    219219)
    220220
    221221AC_ARG_WITH(audit,
    222         [AC_HELP_STRING([--with-audit], [use auditing support @<:@default=yes if found@:>@])],
    223         [with_audit=$withval], [with_audit=yes])
     222        [AC_HELP_STRING([--with-audit], [use auditing support @<:@default=no@:>@])],
     223        [with_audit=$withval], [with_audit=no])
    224224AC_ARG_WITH(libpam,
    225         [AC_HELP_STRING([--with-libpam], [use libpam for PAM support @<:@default=yes if found@:>@])],
    226         [with_libpam=$withval], [with_libpam=yes])
     225        [AC_HELP_STRING([--with-libpam], [use libpam for PAM support @<:@default=no@:>@])],
     226        [with_libpam=$withval], [with_libpam=no])
    227227AC_ARG_WITH(selinux,
    228         [AC_HELP_STRING([--with-selinux], [use SELinux support @<:@default=autodetect@:>@])],
    229         [with_selinux=$withval], [with_selinux=yes])
     228        [AC_HELP_STRING([--with-selinux], [use SELinux support @<:@default=not@:>@])],
     229        [with_selinux=$withval], [with_selinux=no])
    230230AC_ARG_WITH(skey,
    231231        [AC_HELP_STRING([--with-skey], [use S/Key support @<:@default=no@:>@])],
    232232        [with_skey=$withval], [with_skey=no])
Note: See TracBrowser for help on using the repository browser.