The Makefile for popper (the section that installs poppassd) is
slightly hosed. Here's a patch.
diff -r -C2 qpopper4.0/popper/Makefile.in qpopper4.0.patched/popper/Makefile.in
*** qpopper4.0/popper/Makefile.in Tue Apr 3 20:23:22 2001
--- qpopper4.0.patched/popper/Makefile.in Mon Apr 16 19:22:33 2001
***************
*** 199,203 ****
echo "Installed popper as ${installdir}/popper"
if [ "x${poppassd}" != "x" ]; then \
! cd ${password_dir} && ${MAKE} $@
fi
if [ "x${pop_auth}" != "x" ]; then \
--- 199,203 ----
echo "Installed popper as ${installdir}/popper"
if [ "x${poppassd}" != "x" ]; then \
! cd ${password_dir} && ${MAKE} $@; \
fi
if [ "x${pop_auth}" != "x" ]; then \
Also, the Makefile for poppassd itself is slightly hosed. It doesn't
actually know how to install itself, even though popper's Makefile
will try to install it if we're building it, so here's a patch to do
that. The NETWORK_LIBS define is used by all:, but -lcrypt isn't
defined in NETWORK_LIBS, only in LIBS.
diff -r -C2 qpopper4.0/password/Makefile.in qpopper4.0.patched/password/Makefile.in
*** qpopper4.0/password/Makefile.in Tue Apr 3 20:23:20 2001
--- qpopper4.0.patched/password/Makefile.in Mon Apr 16 19:07:36 2001
***************
*** 70,74 ****
RANLIB = @RANLIB@
poppassd = @POPPASSD@
!
.SUFFIXES: .c .o
--- 70,74 ----
RANLIB = @RANLIB@
poppassd = @POPPASSD@
! INSTALL = @INSTALL@
.SUFFIXES: .c .o
***************
*** 76,81 ****
all: ${poppassd}
poppassd: ${OBJS} ${common_dir}/libcommon.a
! ${CC} -o poppassd ${OBJS} ${NETWORK_LIBS} \
${common_dir}/libcommon.a
--- 76,85 ----
all: ${poppassd}
+ install:
+ ${INSTALL} -m 0700 -o root -g root poppassd ${installdir}/poppassd; \
+ echo "Installed poppassd as ${installdir}/poppassd"
+
poppassd: ${OBJS} ${common_dir}/libcommon.a
! ${CC} -o poppassd ${OBJS} ${LIBS} ${NETWORK_LIBS} \
${common_dir}/libcommon.a
Comments welcome.
--
"Euphoria is not a business strategy" -- Louis Rossetto