<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.sbin/pkg_install/lib/match.c, 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>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>Various fixes.</title>
<updated>2010-04-01T14:27:29+00:00</updated>
<author>
<name>Florent Thoumie</name>
<email>flz@FreeBSD.org</email>
</author>
<published>2010-04-01T14:27:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=094f117522350e3fddf5cdb671d3829999604765'/>
<id>094f117522350e3fddf5cdb671d3829999604765</id>
<content type='text'>
- Replace hardcoded INDEX version. [1]
- Fix a buffer overlap. [2]
- Remove empty package when fetching fails and -K is used. [3]
- Remove useless chmod2() after mkdtemp(3). [4]
- Replace mkdir(1) call with mkdir(2). [5]
- Get rid of some vsystem() calls.
- Switch from lstat(2) to open(2) in fexists().
- Try rename(2) in move_file() first.
- Bump PKG_INSTALL_VERSION to 20100401.

PR:		bin/145101 [1], bin/139492 [2], bin/144919 [3]
		bin/144920 [4], bin/144921 [5]
Submitted by:	gcooper [1,2,3,4,5]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Replace hardcoded INDEX version. [1]
- Fix a buffer overlap. [2]
- Remove empty package when fetching fails and -K is used. [3]
- Remove useless chmod2() after mkdtemp(3). [4]
- Replace mkdir(1) call with mkdir(2). [5]
- Get rid of some vsystem() calls.
- Switch from lstat(2) to open(2) in fexists().
- Try rename(2) in move_file() first.
- Bump PKG_INSTALL_VERSION to 20100401.

PR:		bin/145101 [1], bin/139492 [2], bin/144919 [3]
		bin/144920 [4], bin/144921 [5]
Submitted by:	gcooper [1,2,3,4,5]
</pre>
</div>
</content>
</entry>
<entry>
<title>- Restore functionality broken in previous commit; we need to be able to report</title>
<updated>2008-05-03T22:56:50+00:00</updated>
<author>
<name>Pav Lucistnik</name>
<email>pav@FreeBSD.org</email>
</author>
<published>2008-05-03T22:56:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2b520e6990511664a2f60bb78261e376c9393971'/>
<id>2b520e6990511664a2f60bb78261e376c9393971</id>
<content type='text'>
  multiple installed packages with the same PKGORIGIN.

Reported by:	marcus
MFC after:	1 month
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  multiple installed packages with the same PKGORIGIN.

Reported by:	marcus
MFC after:	1 month
</pre>
</div>
</content>
</entry>
<entry>
<title>Optimize package registration/deregistration.  Previously, when looking up the</title>
<updated>2008-04-11T08:26:06+00:00</updated>
<author>
<name>Pav Lucistnik</name>
<email>pav@FreeBSD.org</email>
</author>
<published>2008-04-11T08:26:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=42b1030bbdd02d8264a87179c9465d834ff5a624'/>
<id>42b1030bbdd02d8264a87179c9465d834ff5a624</id>
<content type='text'>
package name for the origin of a dependency, all entries in /var/db/pkg were
traversed for each dependency of added/removed package.  Now, gather all the
origins first, then do the lookup in a single pass over /var/db/pkg.

This should provide a major speedup for packages with hundreds of dependencies.

Submitted by:	rdivacky (earlier version)
MFC after:	1 month
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
package name for the origin of a dependency, all entries in /var/db/pkg were
traversed for each dependency of added/removed package.  Now, gather all the
origins first, then do the lookup in a single pass over /var/db/pkg.

This should provide a major speedup for packages with hundreds of dependencies.

Submitted by:	rdivacky (earlier version)
MFC after:	1 month
</pre>
</div>
</content>
</entry>
<entry>
<title>Momoize the results of isinstalledpkg()</title>
<updated>2007-11-02T20:18:47+00:00</updated>
<author>
<name>Kirill Ponomarev</name>
<email>krion@FreeBSD.org</email>
</author>
<published>2007-11-02T20:18:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2704bd0e1319b66dfa98d0d528496bc4f7817bb2'/>
<id>2704bd0e1319b66dfa98d0d528496bc4f7817bb2</id>
<content type='text'>
PR:		bin/116452
Submitted by:	wollmann
MFC after:	7 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		bin/116452
Submitted by:	wollmann
MFC after:	7 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not bitch about bsdpan modules not having origin.</title>
<updated>2005-09-24T21:41:47+00:00</updated>
<author>
<name>Kirill Ponomarev</name>
<email>krion@FreeBSD.org</email>
</author>
<published>2005-09-24T21:41:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=37e9053e23763250d07e2865e756746072c211ed'/>
<id>37e9053e23763250d07e2865e756746072c211ed</id>
<content type='text'>
Based on PR:	bin/82269
Submitted by:	Steven Hartland &lt;killing at multiplay dot co dot uk&gt;
MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on PR:	bin/82269
Submitted by:	Steven Hartland &lt;killing at multiplay dot co dot uk&gt;
MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>- pkg_add spawns itself as argv[0]  when installing dependent packages, to</title>
<updated>2004-06-29T19:06:42+00:00</updated>
<author>
<name>Oliver Eikemeier</name>
<email>eik@FreeBSD.org</email>
</author>
<published>2004-06-29T19:06:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b9ba84598dd8244e0e1b884bffe0fb289ada9701'/>
<id>b9ba84598dd8244e0e1b884bffe0fb289ada9701</id>
<content type='text'>
  enable the use as a port on older systems

- use absolute paths in all calls to external programs, to account for strange
  PATH settings

- use INDEX or INDEX-5 depending on FreeBSD version, to enable the use on
  FreeBSD 4.x as a port.

- conditionalize all 4.x/5.x differences on __FreeBSD_version, so that the
  pkg_install tools can be kept in sync on 4.x and 5.x

- Bump PKG_INSTALL_VERSION

Reviewed by:	portmgr (bento run)
MFC after:	4 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  enable the use as a port on older systems

- use absolute paths in all calls to external programs, to account for strange
  PATH settings

- use INDEX or INDEX-5 depending on FreeBSD version, to enable the use on
  FreeBSD 4.x as a port.

- conditionalize all 4.x/5.x differences on __FreeBSD_version, so that the
  pkg_install tools can be kept in sync on 4.x and 5.x

- Bump PKG_INSTALL_VERSION

Reviewed by:	portmgr (bento run)
MFC after:	4 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>- pkg_info: flag -r: (show packages this packages depends on (documentation change))</title>
<updated>2004-06-29T18:59:19+00:00</updated>
<author>
<name>Oliver Eikemeier</name>
<email>eik@FreeBSD.org</email>
</author>
<published>2004-06-29T18:59:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=43b4652a715629a0dfafc66b5c076276f6760624'/>
<id>43b4652a715629a0dfafc66b5c076276f6760624</id>
<content type='text'>
- pkg_info: new flag -j (show the requirements script)

- pkg_info: fix verbose output when used on packages

- better handling of corrupt entries in /var/db/pkg

- differ between corrupt entires and packages not installed

- various small fixes

PR:		56989, 57016, 57029, 26468
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- pkg_info: new flag -j (show the requirements script)

- pkg_info: fix verbose output when used on packages

- better handling of corrupt entries in /var/db/pkg

- differ between corrupt entires and packages not installed

- various small fixes

PR:		56989, 57016, 57029, 26468
</pre>
</div>
</content>
</entry>
<entry>
<title>- match package version numbers with relational operators</title>
<updated>2004-06-29T18:54:47+00:00</updated>
<author>
<name>Oliver Eikemeier</name>
<email>eik@FreeBSD.org</email>
</author>
<published>2004-06-29T18:54:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6372c5ec859f4cf6ced9ee540af36e4cb35da679'/>
<id>6372c5ec859f4cf6ced9ee540af36e4cb35da679</id>
<content type='text'>
- use glob patterns when matching packages by origin

- csh-style {...} choices in glob matching

- pkg_info: new flag -E (list matching package names only)

- pkg_version: new flag -T (test if a given name matches a pattern)

- new flag -X (interpret pattern as an extended regular expression)

PR:		56961
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- use glob patterns when matching packages by origin

- csh-style {...} choices in glob matching

- pkg_info: new flag -E (list matching package names only)

- pkg_version: new flag -T (test if a given name matches a pattern)

- new flag -X (interpret pattern as an extended regular expression)

PR:		56961
</pre>
</div>
</content>
</entry>
</feed>
