Date: Mon, 1 Jan 2007 19:56:12 -0900 From: Beech Rintoul <freebsd@alaskaparadise.com> To: freebsd-ports@freebsd.org Subject: Port deletes .conf file on update Message-ID: <200701011956.14607.freebsd@alaskaparadise.com>
next in thread | raw e-mail | index | archive | help
ftp/proftpd deletes /usr/local/etc/proftpd.conf when updating. I thought I had it fixed, but it continues to delete the config. Here's the section in the makefile: post-install: [ -f ${PREFIX}/etc/proftpd.conf ] || \ ${CP} ${EXAMPLESDIR}/etc/proftpd.conf ${PREFIX}/etc/proftpd.conf.sample .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/proftpd .for f in ${PORTDOCSdoc} @${INSTALL_DATA} ${WRKSRC}/doc/${f} ${PREFIX}/share/doc/proftpd .endfor .for f in ${PORTDOCScontrib} @${INSTALL_DATA} ${WRKSRC}/doc/contrib/${f} ${PREFIX}/share/doc/proftpd .endfor .endif .if !defined(WITHOUT_PAM) @${CAT} ${PKGMESSAGE} .endif .if defined(WITH_CTRLS) @${INSTALL_PROGRAM} ${WRKSRC}/ftpdctl ${PREFIX}/sbin/ftpdctl @${INSTALL_MAN} ${WRKSRC}/src/ftpdctl.8 ${PREFIX}/man/man8/ftpdctl.8 .endif It creates proftpd.conf.sample properly, but then deletes proftpd.conf. BTW proftpd.conf is not in the pkg-plist. How do I fix this? Beech (Maintainer) -- --------------------------------------------------------------------------------------- Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com ---------------------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701011956.14607.freebsd>