Port deletes .conf file on update

Beech Rintoul freebsd at alaskaparadise.com
Mon Jan 1 20:56:21 PST 2007

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 

		[ -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
.for f in ${PORTDOCScontrib}
	@${INSTALL_DATA} ${WRKSRC}/doc/contrib/${f} ${PREFIX}/share/doc/proftpd

.if !defined(WITHOUT_PAM)

.if defined(WITH_CTRLS)
	@${INSTALL_PROGRAM} ${WRKSRC}/ftpdctl ${PREFIX}/sbin/ftpdctl
	@${INSTALL_MAN} ${WRKSRC}/src/ftpdctl.8 ${PREFIX}/man/man8/ftpdctl.8

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 at 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

More information about the freebsd-ports mailing list