summaryrefslogtreecommitdiff
path: root/libc/debian/libc1.postinst
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-06-13 01:55:46 +0000
committerIgor Pashev <pashev.igor@gmail.com>2012-06-13 01:55:46 +0000
commit5fe01ba8092061a10bdfa2a80cf8a379bc4a30c7 (patch)
tree6b35930ea7dbcccea5db1ecc346a965cf9371e55 /libc/debian/libc1.postinst
parentda6ce3b631d152416750ba43df5a89b12f808861 (diff)
downloadillumos-packaging-5fe01ba8092061a10bdfa2a80cf8a379bc4a30c7.tar.gz
Merged crypt modules
Diffstat (limited to 'libc/debian/libc1.postinst')
-rw-r--r--libc/debian/libc1.postinst10
1 files changed, 10 insertions, 0 deletions
diff --git a/libc/debian/libc1.postinst b/libc/debian/libc1.postinst
index d11da52..96dd1a8 100644
--- a/libc/debian/libc1.postinst
+++ b/libc/debian/libc1.postinst
@@ -5,6 +5,16 @@ if [ "$1" = configure ]; then
echo "Creating default /var/ld/64/ld.config for 64-bit arch"
cp /usr/lib/ld/64/ld.config /var/ld/64/ld.config
fi
+
+ cryptconf=/etc/security/crypt.conf
+ if [ ! -e $cryptconf ]; then
+ echo '# see man 4 crypt.conf' > $cryptconf
+ echo '1 crypt_bsdmd5.so.1' >> $cryptconf
+ echo '2a crypt_bsdbf.so.1' >> $cryptconf
+ echo 'md5 crypt_sunmd5.so.1' >> $cryptconf
+ echo '5 crypt_sha256.so.1' >> $cryptconf
+ echo '6 crypt_sha512.so.1' >> $cryptconf
+ fi
fi
#DEBHELPER#