- A squidclamav.so is not made. - A location of squidclamav.conf in binary is not "{PREFIX}/etc/c-icap" but "/etc". Fix: Copy an attached patch to /usr/ports. Run as following. #patch < squidclamav.20121209.patch or Modify a Makefile as followings. CONFIGURE_ARGS+= --enable-static \ ¢ CONFIGURE_ARGS+= --enable-shared --enable-static \ post-patch: @${REINPLACE_CMD} -e 's|CFGDIR=.*|CFGDIR="${PREFIX}/etc/c-icap"|g' \ ${WRKSRC}/configure.in ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/etc/squidclamav.conf|${PREFIX}/etc/c\\-icap/squidclamav.conf|g' \ ${WRKSRC}/doc/squidclamav.1 ¢ post-patch: @${REINPLACE_CMD} -e 's|CFGDIR=.*|CFGDIR="${PREFIX}/etc/c-icap"|g' \ ${WRKSRC}/configure.in ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/etc/squidclamav.conf|${PREFIX}/etc/c\\-icap/squidclamav.conf|g' \ ${WRKSRC}/doc/squidclamav.1 ${WRKSRC}/src/squidclamav.h How-To-Repeat: If you build a www/squidclamav, squidclamav.so does not exist in /usr/local/lib/c_icap. #cd /usr/ports/www/squidclamav #make && make install #ll /usr/local/lib/c_icap #strings squidclamav.a | grep squidclamav.conf /etc/squidclamav.conf
Responsible Changed From-To: freebsd-ports-bugs->mm Over to maintainer (via the GNATS Auto Assign Tool)
Is this PR still relevant?
Checked, squidclamav.so is generated.