summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/version
Commit message (Collapse)AuthorAgeFilesLines
* -mdoc sweep.ru2005-11-181-1/+1
|
* * pkg_version(1) exits if INDEX files is not found and -I is notkrion2005-10-102-5/+10
| | | | | | | | | | specified. The result is that the package will be listed with a '?' as if it was not found within the INDEX file, so fix this behaviour. * Remove trailing spaces. PR: bin/87136 Submitted by: Sean Farley <sean-freebsd at farley dot org> MFC after: 3 days
* Add -o/-O options to pkg_version:krion2005-07-274-27/+57
| | | | | | | | | | -o Show the origin recorded on package generation instead of the package name. -O Only list packages whose registered origin is origin. Based on PR: bin/78640 Submitted by: Marcus Grando <marcus at corp dot grupos.com.br>, flz
* Markup fixes.ru2005-06-141-3/+4
| | | | Approved by: re (blanket)
* Add an -I option to pkg_version:cperciva2005-05-244-4/+15
| | | | | | | | | | | | -I Use only the index file for determining if a package is out of date. This is much faster than using the version number from a port's Makefile, at the expense of potentially giving an incor- rect result if the index file is out of date. Without this option, the index file is only consulted if "make -V PKGNAME" cannot be used. Approved by: portmgr (krion)
* Expand *n't contractions.ru2005-02-131-1/+1
|
* Sort sections.ru2005-01-181-11/+11
|
* Scheduled mdoc(7) sweep.ru2005-01-111-6/+6
|
* Add -q to usage() and mark the "index" argument as optional.ru2005-01-111-1/+1
|
* Update the INDEX file to INDEX-6paul2005-01-041-5/+5
|
* Add a -q flag to pkg_version. It suppresses the output of <,=,>.obrien2004-10-183-6/+21
| | | | This makes it possible to "portupgrade `pkg_version -q -l '<'`".
* Don't put DEBUG to CFLAGS, we have the standard DEBUG_FLAGS for this.ru2004-08-121-1/+1
|
* FWIIW, make the `test' target in pkg_install/version actually work.eik2004-08-111-1/+1
|
* Mechanically kill hard sentence breaks.ru2004-07-021-7/+13
|
* - pkg_add spawns itself as argv[0] when installing dependent packages, toeik2004-06-292-4/+4
| | | | | | | | | | | | | | | | | | 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
* - pkg_info: flag -r: (show packages this packages depends on (documentation ↵eik2004-06-291-1/+1
| | | | | | | | | | | | | | | | change)) - 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
* - match package version numbers with relational operatorseik2004-06-294-12/+124
| | | | | | | | | | | | | | - 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
* - complete rewrite of the version number parsing code, restoring ↵eik2004-06-292-3/+25
| | | | | | | | | | compatibiliy of 5.x with 4.x and portupgrade - parse version numbers of ports containing an underscore followed by a number correctly - handle special strings pl, alpha, beta, pre and rc PR: 56961
* - Properly build both crypto and non-crypto versions of theru2004-01-171-5/+0
| | | | | | | package management tools. - Drop redundant dependency of pkg_create(1) and pkg_delete(1) on crypto libraries now that they do not link with libfetch.
* Retire the useless NOSECURE knob.des2003-05-191-1/+1
| | | | Approved by: re (scottl)
* - Print out an error message instead of dereferencing a NULL pointerrobert2003-04-041-7/+29
| | | | | | | | | | if matchinstalled() found no packages, which happens to be the case after fresh installations. - Instead of using strstr(3) to match the package name, depend on matchinstalled()'s MATCH_REGEX package matching. PR: bin/50384 MFC after: 2 weeks
* Note that -c is no longer supported. This was requested by a few users andtrhodes2003-01-271-0/+4
| | | | | | | | we even have a PR about it. PR: 47388 Discussed with: bmah Requested by: many
* Uniformly refer to a file system as "file system".ru2002-12-121-1/+1
| | | | Approved by: re
* Minimal change to cause pkg_version to examine the new INDEX-5 filekris2002-12-042-2/+3
| | | | | instead of INDEX. This should be done better since this file name will depend on the FreeBSD major version.
* Kill debugging line occasionally slipped into rev.1.3.sobomax2002-09-091-2/+0
| | | | Submitted by: reg
* Vastly decrease amount of memory comsumed in the case when we have to readsobomax2002-09-092-4/+11
| | | | | | ports/INDEX, by allocating eactly amount of memory necessary for storing each particular entry, insdead of 4K per entry (more than 7000 entries - go figure). Memory consumption went down to some 500K from some 30M.
* Don't dump core on packages with an invalid or empty PLIST.reg2002-08-261-0/+4
| | | | Reviewed by: markm
* C replacement for the Perl5 code.markm2002-06-247-673/+436
| | | | Submitted by: reg
* pkg_version was incorrectly claiming that 1.5 == 1.5.0.1, becausebmah2002-05-311-0/+24
| | | | | | | | | we weren't properly checking for the case that the two version strings being compared had different numbers of components. This has been fixed. Pointed out by: sobomax Reviewed by: silence on -ports
* MFS: two more testcases highlighting recently discovered problem with versionsobomax2002-05-281-0/+2
| | | | comparison routine.
* Use `The .Nm utility'charnier2002-04-201-1/+2
|
* Drop maintainership.bmah2001-09-181-1/+0
|
* Support the use of ${PORTSDIR} to find a ports tree INDEX file inbmah2001-09-181-2/+2
| | | | | | | | an other-than-default location. PR: bin/30350 Submitted by: "NINOMIYA Hideyuki <NINOMIYA Hideyuki" <nin@jp.FreeBSD.org> MFC after: 3 days
* Remove whitespace at EOL.dd2001-07-151-18/+18
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-091-1/+0
|
* Fix usage bogon (-d doesn't take any arguments).bmah2001-06-131-2/+2
| | | | MFC after: 3 days
* Add a -s option to pkg_version, which limits output to packagesbmah2001-06-132-7/+23
| | | | | | | | matching a given string. PR: 26114 Submitted by: edwin@mavetju.org (with modifications and manpage update) MFC after: 3 days
* Check for the existence of the Makefile in the port skeleton directorytobez2001-06-111-2/+12
| | | | | | | | | | before running make. If the package origin points to a non-existent or stale port, report this package as orphaned, instead of producing more general `unknown in index' message. PR: 27707 Submitted by: myself, roamer Approved by: bmah, markm
* Print longer package names. Some of them were running off the rightbmah2001-05-151-3/+3
| | | | | | | | edge of Perl field specifications. PR: bin/26664 Submitted by: philip@eilio.com MFC after: 3 days
* The pkg_version -c output will now call for a "make clean" before andbmah2001-04-301-2/+2
| | | | | | | | | after the port build/install. The former cleans up "dirty" port work directories that happen to be lying around, and the latter cleans up after we're done so that they won't trip up someone else. PR: ports/25106 Submitted by: tim@bishnet.net, nik, mwm@mired.org
* Fix a problem with tests of the form "1.0" vs. "1.0a".bmah2001-04-192-3/+15
| | | | | | MFC candidate. Pointed out by: knu
* beforeinstall -> SCRIPTS.ru2001-04-071-4/+1
|
* mdoc(7) police: .Nm remembers its argument on the first call.ru2001-04-041-1/+1
|
* Implement a package number comparison routine for pkg_version(1)bmah2001-04-034-31/+201
| | | | | | | | | | | | that actually conforms to the Porters Handbook. Add a -t option to pkg_version(1) for doing comparison testing. Add a script (and make test target) to do some regression tests on the package number comparison routine, to help debug future revisions. Submitted by: knu Procrastination by: bmah
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-1/+1
| | | | - MAN[1-9] -> MAN.
* Prevent the commands output of pkg_version.pl from being executed without thebmah2001-02-091-0/+14
| | | | | | | | | | user actually editing the output. Too many people were rampantly abusing this feature via "pkg_version -c | sh" without really being cognizant of the dangers involved (ports upgrade kits) or the fact that it just plain wasn't designed for it (dependencies). We'll try to keep people from shooting themselves in the foot. Will be MFC-ed to RELENG_4 and RELENG_3 after cooling-off period.
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-5/+5
|
* Prepare for mdoc(7)NG.ru2000-12-271-0/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
OpenPOWER on IntegriCloud