rendered paste bodyinstall: popper ${pop_auth}
${INSTALL} -s -m 0755 -o root popper ${installdir}/popper
echo "Installed popper as ${installdir}/popper"
if [ "x${poppassd}" != "x" ]; then \
cd ${password_dir} && ${MAKE} $@ ;\
fi
if [ "x${pop_auth}" != "x" ]; then \
${INSTALL} -s -m 4755 -o ${apop_uid} -g 0 ${pop_auth} \
${installdir}/${pop_auth}; \
echo "Installed popauth as ${installdir}/${pop_auth} " \
"with uid ${apop_uid}"; \
${installdir}/${pop_auth} -init -safe; \
fi
if [ "x${USE_PAM}" != "x" ]; then \
echo "Checking for pam.d file..." \
PAMF="/etc/pam.d/${USE_PAM}" \
TEMP="${PAMF}.new" \
SAMPLE="../samples/qpopper.pam" \
if [ ! -e ${PAMF} ]; then \
if [ -e ${SAMPLE} ]; then \
umask 0077 \
cp ${SAMPLE} ${PAMF} \
echo "Created ${PAMF}" \
else \
echo "can't find ${SAMPLE} file" \
fi
fi
fi