blob: c8d6e40f0fa7acbfc9d4581b448591ac62e62bc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
name: linux-pam
kind: chunk
build-system: autotools
pre-configure-commands:
- autoreconf -ivf
install-commands:
- make DESTDIR="$DESTDIR" install sbindir="$PREFIX/sbin"
post-install-commands:
# sudo command is expecting this file.
- |
install -D -m 0644 /proc/self/fd/0 <<'EOF' "$DESTDIR"/etc/pam.d/other
#%PAM-1.0
auth required pam_unix.so
account required pam_unix.so
password required pam_unix.so
session required pam_unix.so
EOF
- |
if test -e "$DESTDIR/lib"; then
mkdir -p "$DESTDIR"/usr/lib
mv "$DESTDIR"/lib/* "$DESTDIR"/usr/lib/
rm -r "$DESTDIR/lib"
fi
if test -e "$DESTDIR/lib64"; then
mkdir -p "$DESTDIR"/usr/lib64
mv "$DESTDIR"/lib64/* "$DESTDIR"/usr/lib64/
rm -r "$DESTDIR/lib64"
fi
|