Re: Output change of 'pkg info' after 1.2.

2013-12-08 Thread Yasuhiro KIMURA
From: Baptiste Daroussin 
Subject: Re: Output change of 'pkg info' after 1.2.
Date: Fri, 6 Dec 2013 09:29:30 +0100

>> Then I have one question. Is there any way to get same output as 
>> 'pkg info pkg-name' of 1.1.x? I tried some combination of options but
>> could not find proper one.
>> 
> only pkg query now.
> 
> pkg query "%n-%v" and to simply your life you could probably have in your
> pkg.conf (since pkg 1.2)
> alias: {
>   whatis : "query '%n-%v'"
> }
> 
> 
> $ pkg whatis pkgconf
> pkgconf-0.9.3
> 
> etc.

Thank you for answering my quetion. I added alias definition above in
my pkg.conf.

BTW, I noticed there is no explanation about 'alias' option in
pkg.conf(5) but two examples in EXAMPLES section. It is far from fatal
but anyway I sent PR and also opened new issue on GitHub.

http://www.freebsd.org/cgi/query-pr.cgi?pr=184594
https://github.com/freebsd/pkg/issues/676

---
Yasuhiro KIMURA
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: "pkg repo" dumps core

2013-12-08 Thread A.J. 'Fonz' van Werven
Michael Gmelin wrote:
> There is a bug in pkg that makes it segfault on meta ports (package
> without any files), the first one to trigger this in AJs ports is
> docbook. See below or github for a patch.
> 
> @bapt: https://github.com/freebsd/pkg/pull/673

I just tested it with both GCC and Clang and the patch appears to have
fixed the problem. Thanks.

I couldn't get a stack trace, though. As described by Sergio, there are
normally no debugging symbols and when compiled with
   WITH_DEBUG=yes
the segfault suddenly vanished.

AvW

-- 
I'm not completely useless, I can be used as a bad example.


pgplHfHM_NzHD.pgp
Description: PGP signature


Re: Output change of 'pkg info' after 1.2.

2013-12-08 Thread Yasuhiro KIMURA
From: Yasuhiro KIMURA 
Subject: Re: Output change of 'pkg info' after 1.2.
Date: Mon, 09 Dec 2013 00:11:14 +0900 (JST)

> BTW, I noticed there is no explanation about 'alias' option in
> pkg.conf(5) but two examples in EXAMPLES section. It is far from fatal
> but anyway I sent PR and also opened new issue on GitHub.

This issue is fixed on GitHub.

https://github.com/freebsd/pkg/commit/e2350ea560aae668df58e9d0fa3f8a1f31dcbcba

Just FYI.

---
Yasuhiro KIMURA
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"