<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.sbin/pkg_install/create, branch release/9.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Really MFC r252363 (sysconf(3) returns a long, not an int).</title>
<updated>2013-07-03T22:57:20+00:00</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2013-07-03T22:57:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e6b21ff47717824632c3fe5fad9777b21083b0a7'/>
<id>e6b21ff47717824632c3fe5fad9777b21083b0a7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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 r231300, r231328:</title>
<updated>2012-03-29T23:57:54+00:00</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2012-03-29T23:57:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=38a813e9460a18a6863707ab728534566567025d'/>
<id>38a813e9460a18a6863707ab728534566567025d</id>
<content type='text'>
	Permit the use of relative paths for the prefix argument.
	Remove an unnecessary cwd from created plists when -p is specified

Approved by:	cperciva (implicit)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Permit the use of relative paths for the prefix argument.
	Remove an unnecessary cwd from created plists when -p is specified

Approved by:	cperciva (implicit)
</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>- Add support for xz compression to pkg_create, bzip2 remains the default</title>
<updated>2010-10-12T10:04:44+00:00</updated>
<author>
<name>Florent Thoumie</name>
<email>flz@FreeBSD.org</email>
</author>
<published>2010-10-12T10:04:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1784fdea2e1db9f3f4795c0c22d0e86ee6889d62'/>
<id>1784fdea2e1db9f3f4795c0c22d0e86ee6889d62</id>
<content type='text'>
compression algorithm.
- Bump PKG_INSTALL_VERSION to 20101012.

Submitted by:	mm
MFC after:	1 month
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
compression algorithm.
- Bump PKG_INSTALL_VERSION to 20101012.

Submitted by:	mm
MFC after:	1 month
</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>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>Enable the -n option of pkg_create(1).</title>
<updated>2008-07-08T03:21:05+00:00</updated>
<author>
<name>Giorgos Keramidas</name>
<email>keramida@FreeBSD.org</email>
</author>
<published>2008-07-08T03:21:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ce489a99f0705bdef425d1d3c48af45af9f834aa'/>
<id>ce489a99f0705bdef425d1d3c48af45af9f834aa</id>
<content type='text'>
The changes to make the option work are already in place, but I missed
the patch hunk that adds it to the getopt() option-handling loop.

Pointy hat:	keramida
Approved by:	flz
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The changes to make the option work are already in place, but I missed
the patch hunk that adds it to the getopt() option-handling loop.

Pointy hat:	keramida
Approved by:	flz
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove support for RELENG_4 (__FreeBSD_version &lt; 500039).</title>
<updated>2008-06-16T23:41:11+00:00</updated>
<author>
<name>Florent Thoumie</name>
<email>flz@FreeBSD.org</email>
</author>
<published>2008-06-16T23:41:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=74572e9e635525e04a4e61b8a1e35b8b434da8ed'/>
<id>74572e9e635525e04a4e61b8a1e35b8b434da8ed</id>
<content type='text'>
MFC after:	1 day
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after:	1 day
</pre>
</div>
</content>
</entry>
</feed>
