X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fshadow;h=a8314a901cd9ddb839487b2f70b44bba1814d272;hb=083296c57af0d21be562eeb4a71db7091ec0a38c;hp=723f5e7cf518e51e75a5f83883f5a333bd3e196b;hpb=fc8e13fb0303c69abe0ac9eacf6c604b735287b3;p=hvlinux.git diff --git a/stage2/pkg/shadow b/stage2/pkg/shadow index 723f5e7..a8314a9 100644 --- a/stage2/pkg/shadow +++ b/stage2/pkg/shadow @@ -2,10 +2,8 @@ hvconfig_pre() { - CONFIGURE_OPTS="\ - ${CONFIGURE_OPTS} \ - --without-selinux" - + CONFIGURE_OPTS+=" --without-selinux" + cd ${LFS_TMP}/${PACKAGE} # Disable the installation of the groups program and its man page, as @@ -13,15 +11,11 @@ hvconfig_pre() sed -i 's/groups$(EXEEXT) //' src/Makefile.in find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \; - # Disable the installation of Chinese and Korean manual pages, since Man-DB - # cannot format them properly: - sed -i -e 's/ ko//' -e 's/ zh_CN zh_TW//' man/Makefile.in - - # Instead of using the default crypt method, use the more secure MD5 method + # Instead of using the default crypt method, use the more secure SHA-512 method # of password encryption, which also allows passwords longer than 8 characters. # It is also necessary to change the obsolete /var/spool/mail location for user # mailboxes that Shadow uses by default to the /var/mail location used currently: - sed -i -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD MD5@' \ + sed -i -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' \ -e 's@/var/spool/mail@/var/mail@' etc/login.defs }