aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/create/create.h
Commit message (Collapse)AuthorAgeFilesLines
* After around 20 years of duty it is time for pkg_install to retireBaptiste Daroussin2013-10-311-58/+0
| | | | Notes: svn path=/head/; revision=257444
* Spelling fixes for usr.sbin/Ulrich Spörlein2011-12-301-1/+1
| | | | Notes: svn path=/head/; revision=228990
* - Add support for xz compression to pkg_create, bzip2 remains the defaultFlorent Thoumie2010-10-121-1/+1
| | | | | | | | | | | compression algorithm. - Bump PKG_INSTALL_VERSION to 20101012. Submitted by: mm MFC after: 1 month Notes: svn path=/head/; revision=213718
* Add a -n option to pkg_create(1), to inhibit duplicate work.Giorgos Keramidas2008-05-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | When run without this option, multiple runs of `pkg_create -Rb' will recreate common packages multiple times. This can take a lot of time for large packages. With the -n option `pkg_create -b' checks with stat(2) and skips packages that already exist. Note that this may *not* be safe of the existing output file is not really a package, or if it has been corrupted, modified or otherwise tinkered with between subsequent pkg_create runs. For this and POLA reasons, the default behavior is to *rebuild* the packages, and the -n option can be used when we know it is `safe' to run in no-regenerate mode. Inspired by: A post to freebsd-questions by Matthias Apitz < matthias.apitz at oclc.org > Reviewed by: marcus, flz Approved by: marcus MFC after: 2 weeks Notes: svn path=/head/; revision=179352
* Introduce 3 new options for pkg_create(1), -x for using basicKirill Ponomarev2005-11-081-0/+1
| | | | | | | | | | | regular expressions for pkg-name, -E for extended regexps and -G for exact matching. Submitted by: mux MFC after: 3 days Notes: svn path=/head/; revision=152210
* Add -R modifier for the mode when pkg_create(8) creates package fileMaxim Sobolev2005-06-061-0/+1
| | | | | | | | | | | from the locally installed package. When this modifier is specified pkg_create(8) will also create package files for all packages on which that locally installed package depends. MFC after: 5 days Notes: svn path=/head/; revision=147043
* - pkg_add spawns itself as argv[0] when installing dependent packages, toOliver Eikemeier2004-06-291-1/+0
| | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=131285
* - pkg_create: new flag -S (clean room installation)Oliver Eikemeier2004-06-291-0/+2
| | | | | | | | | - pkg_create: checksum meta files too PR: 66032 Notes: svn path=/head/; revision=131277
* * Add explicit conflict-checking to the package tools. Packages canKris Kennaway2003-04-171-0/+1
| | | | | | | | | | | | | | | | | | register a list of other packages with which they conflict (via the -C option to pkg_create), and they will refuse to install (unless -f is specified) if one of the listed packages is already present. * Update documentation for the new feature as well as fleshing out some existing documentation. * Bump PKG_INSTALL_VERSION so this feature can be tested for. Submitted by: Sergey Matveychuk <sem@ciam.ru> PR: bin/47145 MFC after: 2 weeks Notes: svn path=/head/; revision=113594
* Improve the Bzip2 handling.David E. O'Brien2002-04-201-1/+3
| | | | | | | Sponsored by: FreeBSD Mall, Inc. Notes: svn path=/head/; revision=95161
* WARNS=2 cleanup.Maxim Sobolev2001-10-101-2/+2
| | | | | | | | Tested on: i386, alpha MFC after: 2 weeks Notes: svn path=/head/; revision=84745
* - Allow package archive to be created from a locally installed package. ThisMaxim Sobolev2001-10-081-0/+1
| | | | | | | | | | | | allows for an easy way to backup old version of port prior to installing a new one; - silence compiler warnings by killing some unused variables and adding all includes necessary. MFC after: 2 weeks Notes: svn path=/head/; revision=84670
* - Add ability to handle bzip2-compressed packages;Maxim Sobolev2001-01-221-0/+1
| | | | | | | | | | - fix cosmetics to shut-up compiler in -pedantic mode (axe several unused vars and provide default clause in several switch() statements). No response from: -ports Notes: svn path=/head/; revision=71373
* Add "-o" option to pkg_create(1) and pkg_info(1). This option intended to recordMaxim Sobolev2000-10-231-0/+1
| | | | | | | | | | | a path of the port from which package has been created within FreeBSD Ports Collection and will be used to improve pkg_version(1) and similar tools. Reviewed by: ports@FreeBSD.org, jkh Approved by: jkh Notes: svn path=/head/; revision=67454
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50479
* Make it possible to have separate install scripts as well as haveJordan K. Hubbard1998-12-161-1/+3
| | | | | | | | | an on-delete script. Submitted by: Rajesh Vaidheeswarran <rv@fore.com> Notes: svn path=/head/; revision=41866
* Use err(3). Cosmetics in usage string and man page.Philippe Charnier1997-10-081-2/+1
| | | | Notes: svn path=/head/; revision=30221
* Add support for srcdir overrides.Jordan K. Hubbard1997-06-061-2/+3
| | | | Notes: svn path=/head/; revision=26473
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22997
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Bring forward my changes from 2.1Jordan K. Hubbard1995-10-251-2/+2
| | | | Notes: svn path=/head/; revision=11780
* 1. Add proper dependencies to the library in my Makefiles. This was pointedJordan K. Hubbard1995-04-221-1/+2
| | | | | | | | | | out by Bruce. 2. Add a "feature" to pkg_create (OK, OK, it's a miserable hack!) to get it to dump its internal packing list out so that the `fake-pkg' rule in bsd.port.mk can generate a more meaningful packing list. Notes: svn path=/head/; revision=7986
* Add true support for dependency lists.Jordan K. Hubbard1995-04-091-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 1. pkg_create now has a -P argument for specifying dependencies on the command line. 2. pkg_add will honor dependencies and chain-load them automatically if it finds the required package(s) in the same directory as the package that is being loaded. For best results, install packages from a directory containing all the packages you'll possibly need (like /usr/ports/packages/all). 2 remaining flaws: 1. pkg_add looks in one place (where you were when you loaded the primary pkg) for depended packages. If you can come up with a search path scheme that's not a total hack - be my guest! 2. Recursive dependency expansion can result in the name of a dep being listed more than once. This doesn't bother pkg_add since it checks for package existance with pkg_info and will skip already-loaded packages. I don't know how/if pkg_delete handles this yet, however. I need to look into it. Notes: svn path=/head/; revision=7713
* Many of John T. Kohl's patches from NetBSD. Thanks, John!Jordan K. Hubbard1994-12-061-1/+3
| | | | | | | Submitted by: jkohl Notes: svn path=/head/; revision=4996
* Add `-h' option to force tar to follow symbolic linksAndrew Moore1994-05-191-1/+2
| | | | Notes: svn path=/head/; revision=1520
* Added and doc'd -X flag to pkg_create that allows you to specify an excludeJordan K. Hubbard1993-09-121-0/+1
| | | | | | | list for the final package. Notes: svn path=/head/; revision=445
* Made staging area configurable rather than assuming /tmp (-t)Jordan K. Hubbard1993-09-051-0/+1
| | | | Notes: svn path=/head/; revision=383
* Lots of misc tweaks, support for arbitrary separators in pkg_info, moreJordan K. Hubbard1993-09-031-1/+1
| | | | | | | | intelligent name handling in pkg_create. Most of these files are changed because of rcsid's being different in my cvs tree and freefall's (foo). Notes: svn path=/head/; revision=379
* The release version of my package install suite. Please see man pagesJordan K. Hubbard1993-08-261-0/+39
for info. Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=327