Subject: PATCH: pkgviews and wrappers
To: None <tech-pkg@netbsd.org>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: tech-pkg
Date: 07/08/2004 21:05:39
This is a multi-part message in MIME format.
--Multipart=_Thu__8_Jul_2004_21_05_39_+0200_IdXP1GkIDN2zHHny
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Hi all,
after some positive answers to my previous mail, I've patched pkg_install
to create wrappers for binaries instead of links. I've tested it with
multiple packages with successful results :-) A patch for pkg_install
is attached as patch.diff, and another one for bsd.pkg.mk as patch2.diff.
Package Makefiles can set the PLIST_EXEC_FILES variable to specify
expressions to match executable files. The default is bin/* and sbin/*,
but there are packages that may install binaries outside these locations
(like libexec). These should be overriden by wrappers as well, so this
is why the variable exists.
I've also taken minskim@'s suggestion and added another variable that can
be set in package Makefiles, named WRAPPER_VARDIRS. For example, pkgconfig
will do, from its Makefile:
WRAPPER_VARDIRS= PKG_CONFIG_PATH:lib/pkgconfig
and the generated wrapper will take care to set PKG_CONFIG_PATH properly,
WRT the view where it's located.
Even though, I've had to do an ugly hack: the addition of the '-i'
flag to pkg_delete to skip checksums when removing a package from a view
(it worked before because it verified the symlinks, but now fails because
it verifies the wrappers). Any better ideas to handle this situation?
Comments?
--
Julio M. Merino Vidal <jmmv@menta.net>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/
--Multipart=_Thu__8_Jul_2004_21_05_39_+0200_IdXP1GkIDN2zHHny
Content-Type: application/octet-stream;
name="patch.diff"
Content-Disposition: attachment;
filename="patch.diff"
Content-Transfer-Encoding: base64
SW5kZXg6IGxpbmtmYXJtLjEKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTogL2N2c3Jvb3Qvc3JjL3Vzci5z
YmluL3BrZ19pbnN0YWxsL3ZpZXcvbGlua2Zhcm0uMSx2CnJldHJpZXZpbmcgcmV2aXNp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ogCWVzYWMKKwljYXNlICIkd3JhcHBlcnZhcmRpcnMiIGluCisJIiIp
CXdyYXBwZXJ2YXJkaXJzPSIke2RmbHRfd3JhcHBlcnZhcmRpcnN9IiA7OworCWVzYWMKIAlkYnM9
YChjZCAke2RlcG90X3BrZ19kYmRpcn0vJHBrZzsgZWNobyArKilgCisJZXhlYz0iJHtleGVjfSAk
e2V4ZWNmaWxlc30iCiAJaWdub3JlPSIke2lnbm9yZX0gJHtpZ25vcmVmaWxlc30gJGRicyIKLQkk
ZG9pdCAkZW52cHJvZyBQTElTVF9JR05PUkVfRklMRVM9IiR7aWdub3JlfSIgJGxpbmtmYXJtcHJv
ZyAkbGlua2Zhcm1mbGFncyAtLXRhcmdldD0ke3RhcmdldGRpcn0gLS1kaXI9JHtkZXBvdF9wa2df
ZGJkaXJ9ICRwa2cKKwkkZG9pdCAkZW52cHJvZyBQTElTVF9FWEVDX0ZJTEVTPSIke2V4ZWN9IiBQ
TElTVF9JR05PUkVfRklMRVM9IiR7aWdub3JlfSIgV1JBUFBFUl9WQVJESVJTPSIke3dyYXBwZXJ2
YXJkaXJzfSIgJGxpbmtmYXJtcHJvZyAkbGlua2Zhcm1mbGFncyAtLXRhcmdldD0ke3RhcmdldGRp
cn0gLS1kaXI9JHtkZXBvdF9wa2dfZGJkaXJ9ICRwa2cKIH0KIAogIyMjIyMjIyMjIyMjIwo=
--Multipart=_Thu__8_Jul_2004_21_05_39_+0200_IdXP1GkIDN2zHHny
Content-Type: application/octet-stream;
name="patch2.diff"
Content-Disposition: attachment;
filename="patch2.diff"
Content-Transfer-Encoding: base64
SW5kZXg6IGJzZC5wa2cubWsKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTogL2N2c3Jvb3QvcGtnc3JjL21r
L2JzZC5wa2cubWssdgpyZXRyaWV2aW5nIHJldmlzaW9uIDEuMTQ3NQpkaWZmIC11IC1yMS4xN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