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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 89336bc 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
RevLine 
[c7ec163]1Submitted By: Jim Gifford (patches at jg555 dot com)
2Date: 2006-01-03
3Initial Package Version: 4.0.14
4Origin: Jim Gifford
5Upstream Status: Submitted
6Description: Fixed default values
7 As released libpam libselinux and audit are
8 turned on by default. This patch corrects
9 the issue.
10
11diff -Naur shadow-4.0.14.orig/configure shadow-4.0.14/configure
12--- shadow-4.0.14.orig/configure 2006-01-03 16:12:36.000000000 +0000
13+++ shadow-4.0.14/configure 2006-01-03 23:22:25.000000000 +0000
14@@ -1048,10 +1048,9 @@
15 both]
16 --with-tags[=TAGS]
17 include additional configurations [automatic]
18- --with-audit use auditing support [default=yes if found]
19- --with-libpam use libpam for PAM support [default=yes if
20- found]
21- --with-selinux use SELinux support [default=autodetect]
22+ --with-audit use auditing support [default=no]
23+ --with-libpam use libpam for PAM support [default=no]
24+ --with-selinux use SELinux support [default=no]
25 --with-skey use S/Key support [default=no]
26 --with-libcrack use libcrack [default=yes if found and if PAM not
27 enabled]
28@@ -22185,7 +22184,7 @@
29 withval="$with_audit"
30 with_audit=$withval
31 else
32- with_audit=yes
33+ with_audit=no
34 fi;
35
36 # Check whether --with-libpam or --without-libpam was given.
37@@ -22193,7 +22192,7 @@
38 withval="$with_libpam"
39 with_libpam=$withval
40 else
41- with_libpam=yes
42+ with_libpam=no
43 fi;
44
45 # Check whether --with-selinux or --without-selinux was given.
46@@ -22201,7 +22200,7 @@
47 withval="$with_selinux"
48 with_selinux=$withval
49 else
50- with_selinux=yes
51+ with_selinux=no
52 fi;
53
54 # Check whether --with-skey or --without-skey was given.
55diff -Naur shadow-4.0.14.orig/configure.in shadow-4.0.14/configure.in
56--- shadow-4.0.14.orig/configure.in 2006-01-02 23:51:44.000000000 +0000
57+++ shadow-4.0.14/configure.in 2006-01-03 23:23:48.000000000 +0000
58@@ -219,14 +219,14 @@
59 )
60
61 AC_ARG_WITH(audit,
62- [AC_HELP_STRING([--with-audit], [use auditing support @<:@default=yes if found@:>@])],
63- [with_audit=$withval], [with_audit=yes])
64+ [AC_HELP_STRING([--with-audit], [use auditing support @<:@default=no@:>@])],
65+ [with_audit=$withval], [with_audit=no])
66 AC_ARG_WITH(libpam,
67- [AC_HELP_STRING([--with-libpam], [use libpam for PAM support @<:@default=yes if found@:>@])],
68- [with_libpam=$withval], [with_libpam=yes])
69+ [AC_HELP_STRING([--with-libpam], [use libpam for PAM support @<:@default=no@:>@])],
70+ [with_libpam=$withval], [with_libpam=no])
71 AC_ARG_WITH(selinux,
72- [AC_HELP_STRING([--with-selinux], [use SELinux support @<:@default=autodetect@:>@])],
73- [with_selinux=$withval], [with_selinux=yes])
74+ [AC_HELP_STRING([--with-selinux], [use SELinux support @<:@default=not@:>@])],
75+ [with_selinux=$withval], [with_selinux=no])
76 AC_ARG_WITH(skey,
77 [AC_HELP_STRING([--with-skey], [use S/Key support @<:@default=no@:>@])],
78 [with_skey=$withval], [with_skey=no])
Note: See TracBrowser for help on using the repository browser.