databases/mysqlard package does not installs mysqlard.conf then installing binary package. $ pkg_add mysqlard-1.0.0_1.tbz cp: /usr/local/www/mysqlard/mysqlard.cnf: No such file or directory pkg_add: command '[ -f /usr/local/etc/mysqlard.cnf ] || cp /usr/local/www/mysqlard/mysqlard.cnf /usr/local/etc' failed ... $ ls /usr/local/etc/mysqlard.cnf ls: /usr/local/etc/mysqlard.cnf: No such file or directory This is because of incorrect @exec command sequence in pkg-plist: @unexec if cmp -s %D/etc/mysqlard.cnf %D/www/mysqlard/mysqlard.cnf; then rm -f %D/etc/mysqlard.cnf; fi @exec [ -f %D/etc/mysqlard.cnf ] || cp %D/www/mysqlard/mysqlard.cnf %D/etc ... www/mysqlard/mysqlard.cnf Command cp(1) involved before config file is beeing installed. Fix: Place @exec command after www/mysqlard/mysqlard.cnf defenition in pkg-plist: How-To-Repeat: Install mysqlard as package - no config file will be installed at PREFIX/etc
Maintainer of databases/mysqlard, Please note that PR ports/138306 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/138306 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
i approve. -g On Sat, Aug 29, 2009 at 4:00 AM, Edwin Groothuis<edwin@freebsd.org> wrote: > Maintainer of databases/mysqlard, > > Please note that PR ports/138306 has just been submitted. > > If it contains a patch for an upgrade, an enhancement or a bug fix > you agree on, reply to this email stating that you approve the patch > and a committer will take care of it. > > The full text of the PR can be found at: > =A0 =A0http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/138306 > > -- > Edwin Groothuis via the GNATS Auto Assign Tool > edwin@FreeBSD.org > --=20 Greg Albrecht (gba@GregAlbrecht.com) Mobile: 1-310-621-9598 www.GregAlbrecht.com KF4MKT
State Changed From-To: feedback->open Maintainer approved.
lippe 2009-11-04 21:01:31 UTC FreeBSD ports repository Modified files: databases/mysqlard pkg-plist Log: - Fix port when installing via pkg_add. PR: ports/138306 Submitted by: Alexey V.Degtyarev <alexey@renatasystems.org> Approved by: Greg Albrecht <gregoryba@gmail.com> Revision Changes Path 1.2 +1 -1 ports/databases/mysqlard/pkg-plist _______________________________________________ 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 Committed. Thanks!