[patch] cygport-0.2.7 allow multiple postinstall/preremove scripts

Charles Wilson cygwin@cwilson.fastmail.fm
Sat Jan 6 04:40:00 GMT 2007


Originally part of the relocatable patch from 2006年10月22日:
http://www.cygwin.com/ml/cygwin/2006-10/msg00743.html
On 2006年11月28日, split into its own patch when I refactored all my cygport 
patches after cygport-0.2.6 was released:
http://www.cygwin.com/ml/cygwin/2006-11/msg00719.html
Now that cygport-0.2.7 has been released, I've regenerated the patch and 
updated a few comments, but no substantive changes. What it does:
Enable cygports to handle cases where a multi-binpkg project has 
different postinstall/preinstall scripts for more than one of the 
subpackages -- for instance, the main gdbm subpackage needs no 
postinstall, but the libgdbm-devel subpackage has one.
In addition, the patch enables client cygports to turn off automatic 
install-info postinstall generation. For example, in gettext, 
gettext.info belongs to the gettext-devel subpackage -- so an 
automatically generated "gettext.sh" postinstall should NOT install it. 
However, libasprintf.info belongs to the gettext subpackage. Since no 
automated tool can know this, gettext needs to turn off the (ordinarily 
useful) install-info help, and manage its info files explicitly.
2007年01月05日 Charles Wilson <...>
 * bin/prep_gnu_info.sh: allow cygport client to suppress
 automatic install-info (useful if: subpackages each have own
 explicit postinstall scripts, and each subpackage "owns"
 certain info files. To activate *suppression*, set
 SUPPRESS_AUTOMATIC_INSTALLINFO to non-empty. Default behavior
 is unchanged from current.
 * bin/cygport.in (__prepetc): allow ${C}/${PN}.postinstall
 and ${C}/${PN}.sh as synonyms for ${C}/postinstall.sh (however,
 presence of more than one of these causes error message).
 Allow ${C}/${PN}.preremove as synonym for ${C}/preremove.sh
 (but presence of both causes error message). Allow for
 ${C}/${pkg_name[${n}]}.postinstall and/or
 ${C}/${pkg_name[${n}]}.preremove [n > 1].
--
Chuck
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygport-multiple-postinstall.patch
URL: <http://cygwin.com/pipermail/cygwin/attachments/20070106/f925a69a/attachment.ksh>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /