index : bootstrap32 | |
Archlinux32 bootstrap scripts | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-02-01 11:43:22 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-02-01 11:43:22 +0100 |
commit | ab6c622e801c15627beac5cdc0e0f6d9270316aa (patch) | |
tree | b16f9d97c95733a23d5d2780735e339189417b2a /packages-i486-stage1/cracklib | |
parent | 01b9f1fb2e19f0d587bdbe77d9861d62de4dcd8f (diff) |
-rw-r--r-- | packages-i486-stage1/cracklib | 11 |
diff --git a/packages-i486-stage1/cracklib b/packages-i486-stage1/cracklib new file mode 100644 index 0000000..318e22a --- /dev/null +++ b/packages-i486-stage1/cracklib @@ -0,0 +1,11 @@ +# cracklib is needed by pam +SYSROOT_INSTALL=1 + +# prepare configure for cross-compilation +sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@" PKGBUILD + +# the dictionary cannot be created while packaging by calling the cross-compiled tool! +# we are not interested in an actually running cracklib doing some security checks, just in the library +#./util/cracklib-packer: line 117: /home/cross/build/cracklib/src/cracklib-2.9.6/util/.libs/lt-cracklib-packer: No such file or directory +sed -i 's/\( \+sh\)/#\1/g' PKGBUILD +sed -i 's/\( \+ | sh\)/#\1/g' PKGBUILD |