non port: sysutils/portupgrade/files/patch-CAN-2005-0610 |
Number of commits found: 3 |
Sunday, 4 Dec 2005
|
06:39 edwin
sysutils/portupgrade: fix the problem that portupgrade sometimes runs slow, and
bump PORTVERSION to 20051204.
(1) For years, I have experienced that portupgrade sometimes
runs very slow. After some investigation, I found that
"pkgdb -aF" is invoked from portupgrade or other programs
(such as portversion) without having sufficient privilege
to modify /var/db/pkg/, and that error is not caught by the
caller program, and "pkgdb -aF" is invoked repeatedlly.
So, I fixed the following things:
- When pkgdb internally invoked from other program exits
with error, make the caller program also exit with error.
- Display the error messages of pkgdb that run internally
from other program.
When portupgrade or other programs die with the following error,
** You do not own /var/db/pkg. (use -f to force or run as root)
Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ
please run "pkgdb -aF" as the user that owns /var/db/pkg (usually root).
(2) Make new tarball that contains the above fix and all
patches in files/. Bump PORTVERSION to 20051204 and change
MASTER_SITES.
PR: ports/89917
Submitted by: KOMATSU Shinichiro <koma2@lovepeers.org>
|
Monday, 23 May 2005
|
11:30 simon
- Unbreak handling of updated pkgdb.db so it is not regenerated for
every run, which also makes portversion(1) works for non-root users
again. This is done by simply having the flag file in /var/db/
(thanks to pav for the suggestion).
- While here anyway, fix some make warnings during install on FreeBSD 6.
PR: ports/81088
Reported by: many
Tested by: Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
Approved by: erwin (mentor)
|
Tuesday, 12 Apr 2005
|
08:24 simon
Fix and document insecure temporary file handling in portupgrade.
Security: CAN-2005-0610
Security:
http://vuxml.FreeBSD.org/22f00553-a09d-11d9-a788-0001020eed82.html
Approved by: erwin (mentor), maintainer timeout
OK'ed by: portmgr
Reviewed by: nectar
|
Number of commits found: 3 |