pav
2352203e2b
- Backout 1.15, it was committed by accident
...
Pointy hat to: pav
2008-05-03 23:17:37 +00:00
pav
f6342a8cc7
- Restore functionality broken in previous commit; we need to be able to report
...
multiple installed packages with the same PKGORIGIN.
Reported by: marcus
MFC after: 1 month
2008-05-03 22:56:50 +00:00
flz
60968ceaff
Fix pkg_info when specifying a remote package.
...
MFC after: 1 week
2008-04-16 13:05:35 +00:00
pav
df43e8c984
Optimize package registration/deregistration. Previously, when looking up the
...
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
2008-04-11 08:26:06 +00:00
flz
7e6c3ca4e1
Add a distfile target to generate a distfile to be used by the
...
ports-mgmt/pkg_install port.
2008-04-09 15:08:31 +00:00
flz
dc15a186a7
Retire pkg_sign. It was used to embed signatures in gzip'ed packages.
...
It's not relevant since we've changed to bzip2 compression.
MFC after: 1 week
2008-03-31 12:45:17 +00:00
rdivacky
de4395b113
Improve style a little and remove one always-true condition.
...
Approved by: portmgr (pav)
Approved by: kib (mentor)
2008-03-30 16:49:19 +00:00
kensmith
8b20e1ec3b
Sync list of directories to look for packages in to current releases
...
available.
MFC after: 3 days
2008-02-26 14:35:01 +00:00
ru
68266a0fb4
Introduce -i to SYNOPSIS, forgotten by krion@.
2008-02-08 14:00:01 +00:00
ru
afa00fb3e4
Revise the TECHNICAL DETAILS section.
...
Reviewed by: skv
2008-01-09 09:38:53 +00:00
gabor
f9ec754094
- Adjust INDEX file name to INDEX-8 so that it matches the major FreeBSD
...
version number, as it is named after that
PR: docs/118053
Submitted by: Michael Plass <mfp49_freebsd@plass-family.net>
2007-12-20 20:02:16 +00:00
krion
70e9d0b264
Backout previous commit, since it's done without maintainers
...
approval. These changes were approved by adding it as port to
ports/ tree, but not for src/. I talked to PR submitter and miwi@
some days ago and explained the reasons for it, the both were agree
to add it to ports/ only.
2007-12-09 11:01:58 +00:00
obrien
e1a1c3d600
Add the 'pkg_search' script.
...
This makes it easier to figure what packages you want to install.
Submitted by: Matthias Schmidt <schmidtm @ mathematik . uni-marburg . de>
2007-12-09 02:06:00 +00:00
krion
10e9042adf
Fix segfault while running with -a option and deinstalling broken
...
packages with incorrect plists.
PR: bin/115327
Submitted by: Michael Zhilin <mizhka@gmail.com>
MFC after: 3 days
2007-11-10 22:57:12 +00:00
krion
4a3708c0c3
Some code cleanups, including removing of stale getopt argument and
...
hardcoded +CONTENTS defines.
PR: bin/117855
Submitted by: Beat Gaetzi <beat@chruetertee.ch>
MFC after: 14 days
2007-11-10 10:21:29 +00:00
krion
2f2d57f592
Add -i option for package installation without fetching and
...
installing its dependencies.
PR: bin/117065
Submitted by: Vladimir Ermakov <samflanker@gmail.com>
MFC after: 14 days
2007-11-10 09:40:39 +00:00
kevlo
fa3791e1a7
Cleanup of userland __P use
2007-11-07 10:53:41 +00:00
krion
274f85e40e
Introduce pkg_updating(1) which scans for installed ports and shows
...
all ports/UPDATING entries that affect one of the installed ports,
and are relevant on the given machine.
PR: bin/117564
Submitted by: Beat Gaetzi <beat@chruetertee.ch>
MFC after: 14 days
2007-11-02 22:46:30 +00:00
krion
9dbf4a643d
Momoize the results of isinstalledpkg()
...
PR: bin/116452
Submitted by: wollmann
MFC after: 7 days
2007-11-02 20:18:47 +00:00
simon
4a2eb6368a
If the INDEX file cannot be opened, print the actual filename / path
...
pkg_version tried to open instead of just "INDEX" to make the actual
problem more clear (e.g. missing INDEX-8).
MFC after: 3 days
Reviewed by: portmgr (pav)
2007-10-26 10:12:26 +00:00
krion
c2448fa166
Add whitespace.
2007-10-17 13:47:10 +00:00
krion
6110ee9d62
Update for INDEX-8 support.
2007-10-17 13:45:43 +00:00
kensmith
c80a7cd238
To honor the birth of RELENG_7 bump HEAD to 8.0-CURRENT.
...
Approved by: re (implicit)
2007-10-11 04:28:08 +00:00
krion
940abdcd79
Fix pkg_add behaviour to preserve pathnames.
...
PR: bin/93915 bin/109134
Submitted by: Jason Heiss <heissj@yahoo-inc.com>, Constantin Stefanov<cstef@mail.ru>
Approved by: re@ (kensmith)
MFC after: 7 days
2007-08-23 13:05:10 +00:00
pav
42681b7ce5
- Replace rather inefficient bubble sort with a recursive depth-first search.
...
This speeds up registration of packages considerably.
- style(9) police welcome!
PR: bin/112630
Submitted by: Stephen Montgomery-Smith <stephen@cauchy.math.missouri.edu>
Tested by: bento i386 experimental run
MFC after: 14 days
2007-06-18 22:49:13 +00:00
njl
d7602774b5
Make consistent with style(msmith). 4 spaces indent, tab for each 2 indents.
2007-03-28 05:33:52 +00:00
ru
6c577a7377
Invoke tar(1) with the -p option when installing a package
...
from an URL (i.e., do it the same way as when installing
from a file). This fixes the lossage of the setuid bits.
It wasn't a problem before because GNU tar(1) implied the
-p option for root, but BSD tar(1) doesn't do that.
Discussed with: tobez and some advanced users :)
2007-03-06 14:54:45 +00:00
ru
e896f83bb5
The use of predefined strings such as \*[Ge] can be harmful here,
...
as some fonts (e.g., KOI8-R) have special symbols for displaying
them, and we want symbols ">=" literally here.
2007-03-04 13:30:02 +00:00
ru
d68ab910b0
Fix markup and clean up some of the wording.
...
(This English was hard to translate as it uses a language that is
far from a pure technical. It would definitely benefit from a
revision.)
2007-03-04 13:14:41 +00:00
grog
090fca34f5
Clarify the meaning information printed by the -o option.
...
Clean up grammar, adding articles.
2007-03-03 03:50:59 +00:00
pav
27ee9044d2
Fix a bug in 1.40 - it missed three occurences in pkg_info which leads to
...
(null)/file output.
MFC after: 1 week
2007-02-07 19:44:44 +00:00
pav
4c4dfdea1b
Fix previous rev.: don't step behind the end of memory we allocate
2007-02-01 15:52:47 +00:00
ade
9d9b206853
Remove hard-coded limit (200) on maximum number of packages that can be
...
added with a single invocation of pkg_add, replacing it with something
rather more dynamic.
Approved by: portmgr (pav)
Tested by: full pointyhat package run
MFC after: 1 week
2007-01-31 22:34:45 +00:00
ru
4c53b68afc
Fix the logic bug that caused the custom versions of warn(3) and
...
warnx(3) to be compiled on systems that have it (e.g. FreeBSD),
while the intention was opposite, i.e., compile them on systems
that don't have them. Also fixes static linkage of pkg_sign(1).
2007-01-30 15:09:30 +00:00
ru
081fcce9b9
Markup fixes.
2006-09-29 17:57:04 +00:00
ru
0fa5faccea
Fix usage().
2006-09-29 17:23:14 +00:00
ru
bc7640c8cc
Sync usage() with manpage's SYNOPSIS.
2006-09-29 17:17:53 +00:00
kensmith
7f7fe3d972
Oops. Catch up on the last couple of releases and prepare for the next
...
one.
2006-09-26 14:51:33 +00:00
krion
2262442192
Fix "pkg_version -Io" coredump, if some packages have no origin at
...
all.
PR: bin/101932
Submitted by: novel, sat
MFC after: 5 days
2006-08-12 18:32:51 +00:00
des
0db8ebe1fb
Cosmetic: fix indentation.
2006-08-11 17:17:14 +00:00
des
9f0e376ac7
Turn on libfetch debugging if -v was specified on the command line.
...
MFC after: 2 weeks
2006-07-08 14:34:56 +00:00
obrien
9ba77a73a0
Allow variable amounts of verbosity.
2006-06-12 22:39:32 +00:00
krion
b8197b1571
Add INDEX-7 and remove trailing spaces.
...
MFC after: 5 days
2006-04-17 11:15:29 +00:00
krion
d309c87c8a
Use bzip2(1) by default to compress package tarball on
...
__FreeBSD_version >= 500039.
Submitted by: Alex Lyashkov <umka@sevcity.net>
MFC after: 5 days
2006-04-17 10:58:45 +00:00
ru
388e590f95
Reimplementation of world/kernel build options. For details, see:
...
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html
The src.conf(5) manpage is to follow in a few days.
Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
2006-03-17 18:54:44 +00:00
krion
3cfe57f112
Close descriptor in retrieve_x509_marker function.
...
PR: bin/71594
Submitted by: Dan Lukes <dan@obluda.cz>
2006-03-15 01:19:23 +00:00
phk
057f1af5e2
Add -F option to not fail on already installed packages.
...
Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru>
2006-03-09 14:49:19 +00:00
krion
0775d47dcc
Fix pkg_version with the -o argument to print the origin.
...
Submitted by: Sebastian Stach <sebsta AT t-online DOT de>
MFC after: 3 days
2006-02-12 16:09:33 +00:00
krion
9ab76a2a8b
Fix typo.
2006-01-29 20:30:55 +00:00
flz
c97d180650
Add -K option to pkg_add and pkg_info.
...
This option saves packages to PKGDIR (if defined or current directory by default)
as they are downloaded.
Silent a warning when -n is used and package has a +DISPLAY file.
Approved by: krion
MFC after: 1 week
2006-01-09 18:27:21 +00:00