Aide port broken in 5.4?
Scot Hetzel
swhetzel at gmail.com
Wed May 25 12:01:19 PDT 2005
On 5/25/05, Viren Patel <virenp at 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.
>
> Installing with TRYBROKEN option, and checking for new
> files shows the following:
>
> > /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
>
> 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:
+ at 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
+ at 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
More information about the freebsd-ports
mailing list