summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Do my bit for the Perl removal team and shoot my own, rather mangypaul2002-05-084-306/+1
| | | | looking, dog.
* New feature: allow origins of all dependencies be recorded into package listsobomax2002-05-056-9/+56
| | | | | | | | | | | | | | | | | | using new `@comment DEPORIGIN:...' directive. This would allow us to make many neat things including: - easier binary upgrades; - source upgrades without using external tools by simply extending bsd.port.mk and pkg_install tools; - mixed-mode upgrades (source + binary); - depreciate and deorbit silly +REQUIRED_BY files in the near future. This feature is no-op until appropriate bsd.port.mk patch is committed, and even when it is already committed packages generated will remain 100% compatible with old set of pkg_install tools (module all those neat features, of course). MFC after: 6 days
* In a origin lookup mode (-O) don't bail out when encountering empty packagesobomax2002-05-051-2/+8
| | | | | | | | directory, because this prevent this option from being used from the package-depends target of bsd.port.mk since it creates such empty dir during its normal operation. MFC after: 6 days
* Update usage() and manpage to match reality (add -O into usage and adjustsobomax2002-05-052-4/+10
| | | | | | both to make clear that -W and -O are stand-alone options). MFC after: 6 days
* Use PLIST_ORIGIN instead of rolling own version using PLIST_COMMENT.sobomax2002-05-051-4/+5
| | | | MFC after: 6 days
* Handle PLIST_ORIGIN properly.sobomax2002-05-052-0/+9
| | | | | | Poked by: kris Pointy hat grabbed by: sobomax MFC after: 6 days
* Add ability to query installed packages based on origin.sobomax2002-05-047-11/+99
|
* Make pkg_info working again when argument is a file not in the currentsobomax2002-05-021-2/+5
| | | | | | | | directory. PR: 37571 Submitted by: Dirk Meyer <dirk.meyer@dinoex.sub.org> MFC after: 1 week
* Make `-g' working for symlinks.sobomax2002-05-021-3/+20
| | | | | | PR: 33857 Submitted by: darren <igla@batterybackups.net> MFC after: 1 week
* Kill local variable which shadows global one. This fixes creation of bzip2sobomax2002-05-021-1/+0
| | | | | | compressed packages broken in the previous commit. Pointy hat to: obrien
* Improve the Bzip2 handling.obrien2002-04-204-19/+35
| | | | Sponsored by: FreeBSD Mall, Inc.
* Use `The .Nm utility'charnier2002-04-204-7/+16
|
* DTRT for packages read from STDIN:murray2002-04-021-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | $ cat pkg.tgz | pkg_add - The above command line will fail on -CURRENT or -STABLE, and therefore, so will sysinstall if you try to install additional packages through the network (FTP) from a multiuser system. Because of the different environment during installation (wrt the playpen), this bug does not manifest itself during initial installs, and users may install packages from the network just fine at that time. This bug was fixed in OpenBSD 4 years ago. ---------------------------- revision 1.4 date: 1998/04/07 05:56:13; author: marc; state: Exp; lines: +13 -8 fix package input from standard input -- the program tried to process stdin twice. Note: it assumes stdin is a compressed tar file. ---------------------------- PR: conf/36606 Obtained from: OpenBSD MFC after: 2 weeks
* Fix SCM ID's.obrien2002-04-0132-120/+97
|
* Use some black make(1) magic to make pkg_install build even withoutsobomax2002-02-271-0/+5
| | | | | | Makefile.inc in parent directory (e.g. when checked out from cvs as a module). MFC after: 2 weeks
* Make sortdeps() working with dependency lists containing one or no elements.sobomax2002-02-201-1/+4
| | | | | Submitted by: roam MFC in: 1 week
* Provide protection against incorrect input (dependency list).sobomax2002-02-201-2/+5
| | | | Submitted by: roam
* Pass `-9' flag to gzip(1), so that package is compressed using maximumsobomax2002-01-171-2/+4
| | | | | | compression. Usually this gives gives extra 1-1.5%. MFC after: 1 day
* Add pkg_update to the SEE_ALSO manpage of pkg_create.keramida2002-01-151-0/+1
| | | | | PR: docs/33666 Submitted by: Tom Rhodes <darklogik@pittgoth.com>
* Choose more paranoid modes for the temporary directory so the user can'tjkh2001-11-221-1/+1
| | | | | | easily browse its contents. Noted by: Antoine
* Improve recently committed fix for -t bug.sobomax2001-11-151-1/+1
| | | | | Submitted by: "Andrew L. Neporada" <andr@dgap.mipt.ru> MFC after: 3 days
* Make `-b' option actually work as advertised.sobomax2001-10-251-0/+1
|
* Increase the number of packages that can be installed by an order ofobrien2001-10-161-1/+1
| | | | | magnitude. Geez, this is Unix, what is with the arbitrary needless constants.
* Fix "off by 1" error introduced in the previous commit by replacing strncpy(3)sobomax2001-10-162-2/+2
| | | | | | with strlcpy(3). MFC after: 2 weeks
* Use strncpy(3) instead of strcpy(3) to copy optarg into a fixed-sized buffer.sobomax2001-10-152-2/+2
| | | | | Prompted by: dd MFC after: 2 weeks
* The user wants to ensure, not insure, that the package isn't going todd2001-10-151-1/+1
| | | | damage their system.
* Make `-t' flag in pkg_*(1) tools actually working.sobomax2001-10-111-1/+2
| | | | | | PR: 30843 Submitted by: Vladimir B. Grebenschikov <vova@express.ru> MFC after: 2 weeks
OpenPOWER on IntegriCloud