Date: Thu, 24 Apr 2003 16:02:34 +0400 From: Sergey Matveychuk <sem@ciam.ru> To: Kris Kennaway <kris@obsecurity.org> Cc: ports@freebsd.org Subject: comparing PLISTs in check-already-installed trouble Message-ID: <3EA7D25A.4090906@ciam.ru>
next in thread | raw e-mail | index | archive | help
Working on comparing PLISTs for check-already-installed target we met this troubles which can be resolved by resorting order of target execution. 1) PLIST file can be generated in pre-install target. So check-already-target must followed after it. It's looks absolutely safe. 2) PLIST file can hold substitutions (like %%DOCSDIR%%, %%PERL_ARCH%%). Completed plist created by generate-plist target which followed after do-install target. So we need to move it before do-install. Here I don't know what can happened with PLIST in do-install and can we do it? If do-install can do something that modify PLIST after, we can't move generate-plist. If don't do so (it's logically really) we can move it. So new order will looks as: _INSTALL_SEQ= install_message check-categories check-umask run-depends\ lib-depends install-mtree pre-install pre-install-script \ generate-plist check-already-installed do-install \ post-install post-install-script compress-man run-ldconfig \ fake-pkg security-check What do you think? -- Sem.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EA7D25A.4090906>