Date: Wed, 25 May 2005 14:01:18 -0500 From: Scot Hetzel <swhetzel@gmail.com> To: virenp@mail.utexas.edu Cc: Boris Samorodov <bsam@ipt.ru>, freebsd-ports@freebsd.org Subject: Re: Aide port broken in 5.4? Message-ID: <790a9fff050525120111db8cbb@mail.gmail.com> In-Reply-To: <43618.146.6.178.5.1117033514.squirrel@mail.cm.utexas.edu> References: <3578.146.6.135.76.1116702794.squirrel@mail.cm.utexas.edu> <20648162@srv.sem.ipt.ru> <43618.146.6.178.5.1117033514.squirrel@mail.cm.utexas.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On 5/25/05, Viren Patel <virenp@mail.utexas.edu> wrote: > Sorry for the delayed response. I compared pkg-plist of > Aide 0.10_1 on 5.3-RELEASE-p10 and it is the same as > pkg-plist of Aide 0.10_1 on 5.4-RELEASE-p1. >=20 > Installing with TRYBROKEN option, and checking for new > files shows the following: >=20 > > /usr/local/man/man1/aide.1.gz > > /usr/local/man/man5/aide.conf.5.gz > > /usr/local/bin/aide >> /usr/local/etc/aide.conf.sample > > /usr/local/etc/aide.conf > > /var/db/aide > > /var/db/aide/databases >=20 > This is the same as on the 5.3-RELEASE-p10 system. So how > come the 5.4 version is marked as BROKEN and 5.3 is not? > Thanks. > The aide ports pkg-plist is missing the following to remove aide.conf on pkg_delete (deinstall), if it hasn't been changed from the original aide.conf.sample: =20 +@unexec if cmp -s %D/etc/aide.conf %D/etc/aide.conf.sample; then rm -f %D/etc/aide.conf; fi etc/aide.conf.sample +@exec [ -f %B/aide.conf ] || cp %B/%f %B/aide.conf If someone could create a patch from the above and then use send-pr to submit a pr to fix the BROKEN plist for the port. Scot
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff050525120111db8cbb>