<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.sbin/pkg_install/info, branch releng/9.2</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC r240682</title>
<updated>2012-10-02T17:04:53+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2012-10-02T17:04:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=67d0fd097431eeaf05187bb5116c741c7b17ad0b'/>
<id>67d0fd097431eeaf05187bb5116c741c7b17ad0b</id>
<content type='text'>
if a file in plist starts with / then do not prefix it with "prefix" [1]
pkg info -g returns 1 if a file mismatch [2]
flush stdout in pkg info -g [3]
clean up quiet mode (-q | --quiet) output of pkg_version(1) [4]
fix missing error call in uname check added to pkg_version(1) [5]
fix pkg_add(1) fails to install with -C from bad path [6]
only resolve path from pkg_add(1) -p if the given prefix do not start with a '/' [7]

PR:		bin/13128 [1]
		bin/139015 [2]
		bin/113702 [3]
		bin/142570 [4]
		bin/146857 [5]
		bin/157543 [6]
Submitted by:	cy [1]
		Anton Yuzhaninov &lt;citrin@citrin.ru&gt; [2]
		Ighighi &lt;ighighi@gmail.com&gt; [3]
		"N.J. Mann" &lt;njm@njm.me.uk&gt; [4]
		gcooper [5]
		David Naylor &lt;naylor.b.david@gmail.com&gt; [6]
		netchild [7]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
if a file in plist starts with / then do not prefix it with "prefix" [1]
pkg info -g returns 1 if a file mismatch [2]
flush stdout in pkg info -g [3]
clean up quiet mode (-q | --quiet) output of pkg_version(1) [4]
fix missing error call in uname check added to pkg_version(1) [5]
fix pkg_add(1) fails to install with -C from bad path [6]
only resolve path from pkg_add(1) -p if the given prefix do not start with a '/' [7]

PR:		bin/13128 [1]
		bin/139015 [2]
		bin/113702 [3]
		bin/142570 [4]
		bin/146857 [5]
		bin/157543 [6]
Submitted by:	cy [1]
		Anton Yuzhaninov &lt;citrin@citrin.ru&gt; [2]
		Ighighi &lt;ighighi@gmail.com&gt; [3]
		"N.J. Mann" &lt;njm@njm.me.uk&gt; [4]
		gcooper [5]
		David Naylor &lt;naylor.b.david@gmail.com&gt; [6]
		netchild [7]
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r226697 and r226708:</title>
<updated>2012-02-07T03:34:57+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2012-02-07T03:34:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=bbfe1e20f2acd4a19bcc7f11bee79275a9ecd2fc'/>
<id>bbfe1e20f2acd4a19bcc7f11bee79275a9ecd2fc</id>
<content type='text'>
  Avoid printing // for packages that install to /

  I have some packages that install to / (for whatever reason).  Right now we
  print entries of the form //path/to/file when listing files (pkg_info -L,
  pkg_info -g etc.)  This change avoids printing the redundant / .

  Staticify elide_root() for now to fix build.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Avoid printing // for packages that install to /

  I have some packages that install to / (for whatever reason).  Right now we
  print entries of the form //path/to/file when listing files (pkg_info -L,
  pkg_info -g etc.)  This change avoids printing the redundant / .

  Staticify elide_root() for now to fix build.
</pre>
</div>
</content>
</entry>
<entry>
<title>Backout libinstall.a -&gt; libpkg commit.</title>
<updated>2011-05-17T19:11:47+00:00</updated>
<author>
<name>Florent Thoumie</name>
<email>flz@FreeBSD.org</email>
</author>
<published>2011-05-17T19:11:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2eb4b00cbb86ee4591b3a60e96b94e51085c3939'/>
<id>2eb4b00cbb86ee4591b3a60e96b94e51085c3939</id>
<content type='text'>
Discussed with:	erwin, brooks, bapt
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Discussed with:	erwin, brooks, bapt
</pre>
</div>
</content>
</entry>
<entry>
<title>- Take libinstall.a out of pkg_install and make it a proper shared library.</title>
<updated>2010-04-23T11:07:43+00:00</updated>
<author>
<name>Florent Thoumie</name>
<email>flz@FreeBSD.org</email>
</author>
<published>2010-04-23T11:07:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=762c7db2e8f714203a9766492a631d0ea310bd78'/>
<id>762c7db2e8f714203a9766492a631d0ea310bd78</id>
<content type='text'>
- Rework the wrapper support to check libpkg version as well as pkg_install
version.
- Add libfetch to _prebuild_libs.
- There are no new features introduced.

Notes: the API is not stable, so basically, do not use libpkg in your
projects for now. Also there's no manpage for libpkg yet, because the API
will change drastically. I repeat, do not use libpkg for now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Rework the wrapper support to check libpkg version as well as pkg_install
version.
- Add libfetch to _prebuild_libs.
- There are no new features introduced.

Notes: the API is not stable, so basically, do not use libpkg in your
projects for now. Also there's no manpage for libpkg yet, because the API
will change drastically. I repeat, do not use libpkg for now.
</pre>
</div>
</content>
</entry>
<entry>
<title>The last big commit: let usr.sbin/ use WARNS=6 by default.</title>
<updated>2010-01-02T11:07:44+00:00</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2010-01-02T11:07:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=71ccf09269546d398fa847168fc74c22d6338a62'/>
<id>71ccf09269546d398fa847168fc74c22d6338a62</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add missing `void' keywords.</title>
<updated>2009-12-29T22:33:53+00:00</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2009-12-29T22:33:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7b4f22d5ed8862f4711f8fea577eba7821de04be'/>
<id>7b4f22d5ed8862f4711f8fea577eba7821de04be</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>When running pkg_add -r, check &amp; install our dependencies for each</title>
<updated>2009-06-19T17:07:38+00:00</updated>
<author>
<name>Brian Somers</name>
<email>brian@FreeBSD.org</email>
</author>
<published>2009-06-19T17:07:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f345b422d1238f2bf7fa261da253223e74d21179'/>
<id>f345b422d1238f2bf7fa261da253223e74d21179</id>
<content type='text'>
package rather than expecting our top level package to get all of
the dependencies correct.

Previously, the code depended on the top level package having all
of the pkgdep lines in +CONTENTS correct and in the right order,
but that doesn't always happen due to code such as this (in
security/gnutls/Makefile):

    .if (defined(WITH_LZO) || exists(${LOCALBASE}/lib/liblzo2.so)) &amp;&amp; !defined(WITHOUT_LZO)
    LIB_DEPENDS+=           lzo2:${PORTSDIR}/archivers/lzo2
    ....

With such conditional dependencies, my 'sophox-packages' package won't
install.  The dependency tree looks like this:

    sophox-packages
      ...
      x11/gnome2
        x11/gnome-applets
          net/libgweather
            devel/libsoup
              security/gnutls
                security/libgcrypt
                  security/libgpg-error
      ...
      x11/gnome2
        archivers/file-roller
          archivers/gtar
            archivers/lzop
              archivers/lzo2
      ...

gnutls doesn't depend on lzo2 initially, but lzo2 is dragged into the
mix via other dependencies and is built by the initial 'make'.  The
subsequent package generation for gnutls adds a pkgdep line for lzo2
to gnutls' +CONTENTS but the pkgdeps in sophox-packages' +CONTENTS
has gnutls *before* lzo2.

As a result, sophox-packages cannot install; gnutls fails because lzo2
is missing, 82 more packages fail because gnutls is missing and the
whole thing spirals into a super-confusing mess!

MFC after:	3 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
package rather than expecting our top level package to get all of
the dependencies correct.

Previously, the code depended on the top level package having all
of the pkgdep lines in +CONTENTS correct and in the right order,
but that doesn't always happen due to code such as this (in
security/gnutls/Makefile):

    .if (defined(WITH_LZO) || exists(${LOCALBASE}/lib/liblzo2.so)) &amp;&amp; !defined(WITHOUT_LZO)
    LIB_DEPENDS+=           lzo2:${PORTSDIR}/archivers/lzo2
    ....

With such conditional dependencies, my 'sophox-packages' package won't
install.  The dependency tree looks like this:

    sophox-packages
      ...
      x11/gnome2
        x11/gnome-applets
          net/libgweather
            devel/libsoup
              security/gnutls
                security/libgcrypt
                  security/libgpg-error
      ...
      x11/gnome2
        archivers/file-roller
          archivers/gtar
            archivers/lzop
              archivers/lzo2
      ...

gnutls doesn't depend on lzo2 initially, but lzo2 is dragged into the
mix via other dependencies and is built by the initial 'make'.  The
subsequent package generation for gnutls adds a pkgdep line for lzo2
to gnutls' +CONTENTS but the pkgdeps in sophox-packages' +CONTENTS
has gnutls *before* lzo2.

As a result, sophox-packages cannot install; gnutls fails because lzo2
is missing, 82 more packages fail because gnutls is missing and the
whole thing spirals into a super-confusing mess!

MFC after:	3 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix segfault when giving invalid long option to pkg_info.</title>
<updated>2009-06-01T21:26:52+00:00</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2009-06-01T21:26:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=75cf69394bf7de3375897ff65142d4bc5233bb45'/>
<id>75cf69394bf7de3375897ff65142d4bc5233bb45</id>
<content type='text'>
PR:		bin/133473
Submitted by:	Rafal Grodzinski
Approved by:	ed (mentor)
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		bin/133473
Submitted by:	Rafal Grodzinski
Approved by:	ed (mentor)
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>- Add long options to pkg_install.</title>
<updated>2008-05-30T14:26:09+00:00</updated>
<author>
<name>Florent Thoumie</name>
<email>flz@FreeBSD.org</email>
</author>
<published>2008-05-30T14:26:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0b99032d0987c01313bb84e0743afc9ede466187'/>
<id>0b99032d0987c01313bb84e0743afc9ede466187</id>
<content type='text'>
- Remove check for '-?' as it's not listed in authorized options.
- Bump PKG_INSTALL_VERSION to 20080530.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Remove check for '-?' as it's not listed in authorized options.
- Bump PKG_INSTALL_VERSION to 20080530.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix pkg_info when specifying a remote package.</title>
<updated>2008-04-16T13:05:35+00:00</updated>
<author>
<name>Florent Thoumie</name>
<email>flz@FreeBSD.org</email>
</author>
<published>2008-04-16T13:05:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b41205533d94bdaa8eba521b85ab130221e81c43'/>
<id>b41205533d94bdaa8eba521b85ab130221e81c43</id>
<content type='text'>
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after:	1 week
</pre>
</div>
</content>
</entry>
</feed>
