X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fshadow;h=7242dd6a6491f38a6fa28b45315e4285176350ad;hb=0364372bf9bf57502160adc0402e38b8ea235c24;hp=5dbd099ba1c26e27f5b8229c286842607450da55;hpb=b5bfb2006502b57fab234345a2393fd04e6d55ad;p=hvlinux.git diff --git a/stage2/pkg/shadow b/stage2/pkg/shadow old mode 100755 new mode 100644 index 5dbd099..7242dd6 --- a/stage2/pkg/shadow +++ b/stage2/pkg/shadow @@ -1,13 +1,16 @@ #!/bin/bash -CONFIGURE_OPTS="\ - --without-selinux - ${CONFIGURE_OPTS}" - hvconfig_pre() { + CONFIGURE_OPTS="\ + ${CONFIGURE_OPTS} \ + --without-selinux" + cd ${LFS_TMP}/${PACKAGE} + # Fix an issue with the Russian man pages: + sed -i 's/man_MANS = $(man_nopam) /man_MANS = /' man/ru/Makefile.in + # Disable the installation of the groups program and its man page, as # Coreutils provides a better version. sed -i 's/groups$(EXEEXT) //' src/Makefile.in @@ -17,7 +20,7 @@ hvconfig_pre() # 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 MD5 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: