While making a backup package of cyrus-sasl2-saslauthd, pkg-create complained about a missing /usr/local/man/cat8/saslauthd.8.gz. I found that /etc/periodic/weekly/330.catman (with weekly_catman_enable=YES0 will cause the PREFIX/man/cat8/saslauthd.8.gz file to be removed., when it fails to find a corresponding PREFIX/man/man8/saslauthd.8{,.gz} file. I noticed that ports do-build target removes ${WRKSRC}/saslauthd/saslauthd.8, which causes the saslauthd.8 to be rebuilt using nroff -mdoc saslauthd.mdoc, when ${WRKSRC}/saslauthd/Makefile is used to install this files. A much cleaner solution would be to install saslauthd.mdoc to PREFIX/man/man8/saslauthd.8, and use the MAN8 variable in the ports Makefile. After I had modified the port to do this, I compared the man generated cat8/saslauthd.8 file to the nroff -mdoc generated saslauthd.8 file. The only difference I found involved white space changes between these files. Fix: Install saslauthd.mdoc in PREFIX/man/man8/saslauthd.8 The attached patch provides this change, as well as some minor fixes. NOTE: The patch affects both the security/cyrus-sasl2 and security/cyrus-sasl2-saslauthd ports. Patch attached with submission follows: How-To-Repeat: Install the port, set weekly_catman_enable=YES in /etc/periodic.conf, run /etc/periodic/weekly/330.catman, finally use 'pkg_create -b cyrus-sasl2-saslauthd-2.1.22' or uninstall the port.
Responsible Changed From-To: freebsd-ports-bugs->ume Over to maintainer (via the GNATS Auto Assign Tool)
ume 2008-10-13 15:10:44 UTC FreeBSD ports repository Modified files: security/cyrus-sasl2 Makefile security/cyrus-sasl2/files patch-saslauthd::Makefile.in security/cyrus-sasl2-saslauthd Makefile pkg-plist Log: - Install saslauthd.mdoc to ${PREFIX}/man/man8/saslauthd.8. - Use ${BDB_LIB_DIR}. PR: ports/127809 Submitted by: "Scot W. Hetzel" <swhetzel__at__gmail.com> Revision Changes Path 1.52 +7 -5 ports/security/cyrus-sasl2-saslauthd/Makefile 1.7 +0 -1 ports/security/cyrus-sasl2-saslauthd/pkg-plist 1.136 +3 -1 ports/security/cyrus-sasl2/Makefile 1.4 +1 -1 ports/security/cyrus-sasl2/files/patch-saslauthd::Makefile.in _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Thanks! committed.