Date: Wed, 07 Feb 2007 20:15:51 +0100 From: Pav Lucistnik <pav@FreeBSD.org> To: Sergey Matveychuk <sem@FreeBSD.org> Cc: Boris Kovalenko <boris@ntmk.ru>, freebsd-ports@FreeBSD.org Subject: Re: HEADS UP: portupgrade moved (ports-mgmt) Message-ID: <1170875751.52540.6.camel@ikaros.oook.cz> In-Reply-To: <45C85786.3020305@FreeBSD.org> References: <45C7786C.80605@southportcomputers.co.uk> <1170704746.20391.4.camel@ikaros.oook.cz> <45C7F5AC.3070500@ntmk.ru> <45C85786.3020305@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-6y6Xru/jWF3wQlmOgseB Content-Type: multipart/mixed; boundary="=-diqJAgtvME7BsW1gLH0q" --=-diqJAgtvME7BsW1gLH0q Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Sergey Matveychuk p=ED=B9e v =FAt 06. 02. 2007 v 13:25 +0300: > Yeap, a PLIST contains the file on 6.2-RELEASE here: >=20 > % pkg_info -L portupgrade-2.2.2_4,2 > Information for portupgrade-2.2.2_4,2: >=20 > Files: > /usr/local/man/man1/pkg_deinstall.1.gz > ... > (null)/libdata/ldconfig/portupgrade >=20 > PREFIX has lost some way... Looks like a bug in pkg_info. Try attached patch. --=20 Pav Lucistnik <pav@oook.cz> <pav@FreeBSD.org> Squish. Larger than the normal icky things, and twice as icky. --=-diqJAgtvME7BsW1gLH0q Content-Disposition: attachment; filename=info-show.c Content-Transfer-Encoding: base64 Content-Type: text/x-patch; name=info-show.c; charset=ISO-8859-2 LS0tIHNob3cuYwlTYXQgSmFuICA3IDIzOjEwOjU4IDIwMDYNCisrKyAvdXNyL3NyYy91c3Iuc2Jp bi9wa2dfaW5zdGFsbC9pbmZvL3Nob3cuYwlXZWQgRmViICA3IDIwOjEzOjIzIDIwMDcNCkBAIC0y MTMsNiArMjEzLDcgQEANCiB7DQogICAgIFBhY2tpbmdMaXN0IHA7DQogICAgIEJvb2xlYW4gaWdu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KKyAgICBjaGFyICpwcmVmaXggPSBOVUxMOw0KICAgICBjaGFyIHRt cFtGSUxFTkFNRV9NQVhdOw0KIA0KICAgICBpZiAoIVF1aWV0KQ0KIAlwcmludGYoIiVzJXMiLCBJ bmZvUHJlZml4LCB0aXRsZSk7DQogDQogICAgIGZvciAocCA9IHBsaXN0LT5oZWFkOyBwICE9IE5V TEw7IHAgPSBwLT5uZXh0KQ0KLQlpZiAocC0+dHlwZSA9PSBQTElTVF9DV0QpIA0KLQkgICAgZGly ID0gcC0+bmFtZTsNCi0JZWxzZSBpZiAocC0+dHlwZSA9PSBQTElTVF9GSUxFKSB7DQorCWlmIChw LT50eXBlID09IFBMSVNUX0NXRCkgew0KKwkgICAgaWYgKCFwcmVmaXgpDQorCQlwcmVmaXggPSBw LT5uYW1lOw0KKwkgICAgaWYgKHAtPm5hbWUgPT0gTlVMTCkNCisJCWRpciA9IHByZWZpeDsNCisJ ICAgIGVsc2UNCisJCWRpciA9IHAtPm5hbWU7DQorCX0gZWxzZSBpZiAocC0+dHlwZSA9PSBQTElT VF9GSUxFKSB7DQogCSAgICBzbnByaW50Zih0bXAsIEZJTEVOQU1FX01BWCwgIiVzLyVzIiwgZGly LCBwLT5uYW1lKTsNCiAJICAgIGlmICghZmV4aXN0cyh0bXApKQ0KIAkJd2FybngoIiVzIGRvZXNu J3QgZXhpc3QiLCB0bXApOw0K --=-diqJAgtvME7BsW1gLH0q-- --=-6y6Xru/jWF3wQlmOgseB Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?= =?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQBFyiVnntdYP8FOsoIRAv3GAJ4nOm8RDP+SpYR8VVluXT4/2sdJvACgmgt1 e9l0OPArmtjhpU9gYqtfqxE= =6sc/ -----END PGP SIGNATURE----- --=-6y6Xru/jWF3wQlmOgseB--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1170875751.52540.6.camel>