summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
Commit message (Collapse)AuthorAgeFilesLines
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-011-1/+1
| | | | especially in troff files.
* Back out rev 1.33; getbsize(3)'s original interface has been restored.mike2002-12-301-1/+1
| | | | Approved by: markm
* english(4) police.schweikh2002-12-272-4/+4
|
* Uniformly refer to a file system as "file system".ru2002-12-122-2/+2
| | | | 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.
* Assume that packages passed on stdin are in bzip2 format, not gzip.bmah2002-11-141-1/+2
| | | | | | (sysinstall depends on this feature for package addition.) Comment on hard-coded bzip2 usage in the spirit of rev. 1.58.
* Clean up a little. Don't need to include fetch.h any more, and I can'tobrien2002-11-061-7/+0
| | | | find any consumers of HOSTNAME_MAX.
* Break fileGetURL() out into its own file so that pkg_install/lib consumersobrien2002-11-065-117/+149
| | | | pkg_{create,delete} don't need to needlessly link with libfetch.
* Whitespace cleanupdes2002-10-291-5/+5
|
* getbsize() now takes a pointer to a size_t as its first arg. A pointergallatin2002-10-241-1/+1
| | | | to an int no longer works on an LP64 platform...
* Teach pkg_add -r how to find 4.7-RELEASE packages with an appropriatebmah2002-10-081-0/+1
| | | | | | | | osreldate. (Actually, due to differences in package compression formats, I'm not sure that a -CURRENT pkg_add -r will do the right thing in this case, once it finds them.)
* Make the threatened fts(3) ABI fix. FTSENT now avoids the use of the structwollman2002-09-211-2/+2
| | | | | | | | | | | | | | | | hack, thereby allowing future extensions to the structure (e.g., for extended attributes) without rebreaking the ABI. FTSENT now contains a pointer to the parent stream, which fts_compar() can then take advantage of, avoiding the undefined behavior previously warned about. As a consequence of this change, the prototype of the comparison function passed to fts_open() has changed to reflect the required amount of constness for its use. All callers in the tree are updated to use the correct prototype. Comparison functions can now make use of the new parent pointer to access the new stream-specific private data pointer, which is intended to assist creation of reentrant library routines which use fts(3) internally. Not objected to in spirit by: -arch
* Update to use *.tbz suffix, also update example URL.bmah2002-09-101-3/+3
| | | | | | | | While I'm here, fix a gramm-o. PR: 42576 Submitted by: Jeff Ito <jeffi@rcn.com> MFC after: 1 day
* Sigh, finally activate pkgwrap.c.sobomax2002-09-091-1/+1
| | | | | Big pointy hat to: sobomax (who apparently needs some sleep) Submitted by: walt <wa1ter@hotmail.com>
* Fix minor off-by-one error.bmah2002-09-091-1/+1
| | | | Submitted by: jhb
* Make pkg_install go to the right place for 4.6-RELEASE and 4.6.2-RELEASEbmah2002-09-091-0/+2
| | | | | | | packages. Pointed out by: obrien Reviewed by: jhb
* Introduce notion of the package tools revision and allow to wrap all toolssobomax2002-09-095-18/+131
| | | | | | | | | | | | | | | | | | included into pkg_install according to the content of /var/db/pkg_install.conf file, which specifies version and alternative location of the tools. Format of the said file is very simple: one line which specifies revision of the alternative version of the tools and their location separated by space, i.e.: 20030102 /usr/local/sbin This would allow bsd.port.mk to install and use up to date version of tools on older system from ports. Also add new `-P' flag to pkg_info, which causes it to report currently installed version of package tools. Discussed with: will
* 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.
* Use --fast-read mode to extract metadata from package file. Since metadatasobomax2002-09-091-2/+16
| | | | | | | | files are located at the very beginning of the package, this patch in conjuction with latest tar(1) --fast-mode fix greatly speeds up pkg_info(1) operation on package files. MFC after: 1 week
* When installing package from a local file assume that all subsequentsobomax2002-09-031-2/+6
| | | | | | | | autoinstalled dependencies will have the same extension, not just ".tbz". Pointy hat to: obrien X-MFC after: -1 day
* Don't treat unknown commands as fatal errors: they are probably justkris2002-08-311-2/+3
| | | | | | | the signature of out-of-date pkg_tools and newer packages. Reviewed by: jkh MFC after: 3 days
* Don't dump core on packages with an invalid or empty PLIST.reg2002-08-261-0/+4
| | | | Reviewed by: markm
* Grrr.... mumble.... a linger gzip'ism still existed.obrien2002-08-261-1/+1
| | | | Submitted by: Craig Rodrigues <rodrigc@attbi.com>
* Reorg just a tad to better express our bzip intentions.obrien2002-08-251-6/+6
|
* Find remaining hardcoded gzip bits and change to bzip2 bits.obrien2002-08-253-9/+15
| | | | | Mark with XXX so someone that cares about being able to handle either bziped or gziped packages knows where the remaining nits are.
* Preserve suid/gid permissions when extracting packages remotellylioux2002-08-241-1/+1
| | | | | | | fetched with -r option Reviewed by: will Approved by: will
* Ensure that origin field in the packing list structure is initialised. Thissobomax2002-08-121-0/+1
| | | | | | | fixes problem when there are origin-less packages installed on a system Reported by: Mark Knight <markk@knigma.org> MFC after: 3 days
* Fix typos; each file has at least one s/seperat/separat/schweikh2002-08-111-6/+6
| | | | | | | | | | (I skipped those in contrib/, gnu/ and crypto/) While I was at it, fixed a lot more found by ispell that I could identify with certainty to be errors. All of these were in comments or text, not in actual code. Suggested by: bde MFC after: 3 days
* Another .tbz2 -> .tbz leftover. Properly look for pkgname.tbz.knu2002-08-041-1/+1
| | | | MFC after: 1 day
* Drop support for the .tbz2 suffix. One would not want pkg_create(1)knu2002-08-042-6/+2
| | | | | | to create "pkgname.tbz" when one specifies "pkgname.tbz2". MFC after: 1 week
* Use an 8.3 friendly extension when compressing with bzip2.obrien2002-08-041-1/+1
|
* When extracting package pass `-p' option to tar(1), so that files aresobomax2002-08-021-1/+1
| | | | extracted with correct permissions.
* C replacement for the Perl5 code.markm2002-06-249-680/+570
| | | | Submitted by: reg
* Reorder libraries to fix static linking (libssl depends on libcrypto, sodes2002-06-124-8/+8
| | | | | | it must come before libcrypto in LDADD) Reviewed by: bde
* libfetch now depends on libcrypto and libssl.ru2002-06-064-0/+20
|
* Grammar nit.obrien2002-06-041-1/+1
| | | | Submitted by: keramida
* 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
* mdoc(7) police: markup nits.ru2002-05-301-2/+4
|
* MFS: two more testcases highlighting recently discovered problem with versionsobomax2002-05-281-0/+2
| | | | comparison routine.
* Eliminate free'ing already freed chunks.sobomax2002-05-221-2/+3
| | | | MFC after: 1 week
* MFS: silence compiler warnings.sobomax2002-05-201-7/+7
|
* Remove cross reference to pkg_update(1).eric2002-05-161-1/+0
| | | | Submitted by: dd
* Consistancy check: s/file system/filesystem/gtrhodes2002-05-161-1/+1
|
* - Make use of DEPOROGINs (if there are any) when installing package;sobomax2002-05-147-137/+267
| | | | | | | - fix few bogosities here and there; - move some common routines into the library. MFC after: 2 weeks
* Mark all internal libraries with INTERNALLIB.ru2002-05-131-5/+1
|
* Remove cross reference to pkg_update(1).eric2002-05-111-1/+0
|
* replace __FUNCTION__ with standardized __func__.alfred2002-05-1111-58/+58
| | | | Requested by: jhb
* fix build:alfred2002-05-118-51/+67
| | | | | | | | you may not use string concatination with __FUNCTION__, replace all occurances of: __FUNCTION__ ": error string" with: "%s: error string"
* When packing installed package into a file (pkg_create -b) make sure tosobomax2002-05-101-4/+11
| | | | | | | | | | | | | | include all package files into resulting tarball. PR: 34007 Submitted by: olgeni While I here: - Remove bogus comment; - ensure that we return the proper exit code in the case of -b failure. MFC after: 5 days
OpenPOWER on IntegriCloud