<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.sbin/pkg_install/delete/perform.c, branch release/7.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2008-02-24T05:45:17+00:00</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2008-02-24T05:45:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a9c219fa3cec18ef9f30edec6fa106bf0e2d423d'/>
<id>a9c219fa3cec18ef9f30edec6fa106bf0e2d423d</id>
<content type='text'>
'RELENG_7_0_0_RELEASE'.

This commit was manufactured to restore the state of the 7.0-RELEASE image.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'RELENG_7_0_0_RELEASE'.

This commit was manufactured to restore the state of the 7.0-RELEASE image.
</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>
<entry>
<title>Fix a long-standing bug where if the package being deleted had no</title>
<updated>2003-02-25T15:01:54+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2003-02-25T15:01:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0f98df295638c6836e8961fe7d8f652bcc118c2f'/>
<id>0f98df295638c6836e8961fe7d8f652bcc118c2f</id>
<content type='text'>
post-deinstall script, the variable intended to hold the name of that
script would be used uninitialized.  In some cases, fexists() would
succeed, causing pkg_delete to try to chmod +x it, then execute it,
resulting in bizarre error messages such as:

.//: Permission denied

This bug would normally only occur when multiple packages were
specified on the command line; otherwise post_script would be located
in a previously unused part of the stack, and implicitly (but quite
accidentally) initialized to all-zeros.

MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
post-deinstall script, the variable intended to hold the name of that
script would be used uninitialized.  In some cases, fexists() would
succeed, causing pkg_delete to try to chmod +x it, then execute it,
resulting in bizarre error messages such as:

.//: Permission denied

This bug would normally only occur when multiple packages were
specified on the command line; otherwise post_script would be located
in a previously unused part of the stack, and implicitly (but quite
accidentally) initialized to all-zeros.

MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>- Make use of DEPOROGINs (if there are any) when installing package;</title>
<updated>2002-05-14T21:42:37+00:00</updated>
<author>
<name>Maxim Sobolev</name>
<email>sobomax@FreeBSD.org</email>
</author>
<published>2002-05-14T21:42:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=dd3a3dfc3b7c00c1544567cb938452b0ab8ea6ff'/>
<id>dd3a3dfc3b7c00c1544567cb938452b0ab8ea6ff</id>
<content type='text'>
- fix few bogosities here and there;
- move some common routines into the library.

MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- fix few bogosities here and there;
- move some common routines into the library.

MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>replace __FUNCTION__ with standardized __func__.</title>
<updated>2002-05-11T04:17:55+00:00</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>2002-05-11T04:17:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f7bb25f702f5790266e1ff50734af01df8a6ad46'/>
<id>f7bb25f702f5790266e1ff50734af01df8a6ad46</id>
<content type='text'>
Requested by: jhb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Requested by: jhb
</pre>
</div>
</content>
</entry>
<entry>
<title>fix build:</title>
<updated>2002-05-11T03:48:49+00:00</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>2002-05-11T03:48:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a2bcd1a09f86678bb68348d086e840dcdd0d59fe'/>
<id>a2bcd1a09f86678bb68348d086e840dcdd0d59fe</id>
<content type='text'>
you may not use string concatination with __FUNCTION__, replace all occurances
of:
__FUNCTION__ ": error string"
with:
"%s: error string"
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
you may not use string concatination with __FUNCTION__, replace all occurances
of:
__FUNCTION__ ": error string"
with:
"%s: error string"
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix SCM ID's.</title>
<updated>2002-04-01T09:39:07+00:00</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2002-04-01T09:39:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0d8875ff46ad6fa4e22b676e1b09d28509e89fc6'/>
<id>0d8875ff46ad6fa4e22b676e1b09d28509e89fc6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Various fixes and improvements:</title>
<updated>2001-09-19T08:06:48+00:00</updated>
<author>
<name>Maxim Sobolev</name>
<email>sobomax@FreeBSD.org</email>
</author>
<published>2001-09-19T08:06:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a09c8e438beefd4171416a7f0deb0f7ccef88d1b'/>
<id>a09c8e438beefd4171416a7f0deb0f7ccef88d1b</id>
<content type='text'>
- fix harmless compiler's warnings (unused variables and missed prototype);
- before refusing to delete package because "there are packages installed
  that require this package" check that packages in question is actually
  installed;
- add new `-r' option to pkg_delete(8), which instructs it to delete not only
  packages specified at command line, but all packages that depend on
  specified packages as well.

MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- fix harmless compiler's warnings (unused variables and missed prototype);
- before refusing to delete package because "there are packages installed
  that require this package" check that packages in question is actually
  installed;
- add new `-r' option to pkg_delete(8), which instructs it to delete not only
  packages specified at command line, but all packages that depend on
  specified packages as well.

MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
</feed>
