summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/create
Commit message (Collapse)AuthorAgeFilesLines
* Use bzip2(1) by default to compress package tarball onkrion2006-04-171-1/+6
| | | | | | | __FreeBSD_version >= 500039. Submitted by: Alex Lyashkov <umka@sevcity.net> MFC after: 5 days
* When using @cwd %%FOO%%, we must ensure to return in the originalkrion2006-01-073-4/+22
| | | | | | | | | | | | | | | prefix later, but doing so with @cwd %%OLDPREFIX%% (having PLIST_SUB+="OLDPREFIX=${PREFIX}") hardcodes the value in the packing list. That's not really a problem when dealing with ports but that's a problem with packages since pkg_add -p option only overrides the first @cwd occurrence. This patch allow us to use @cwd without any argument. If no directory argument is given, it will set current working directory to the first prefix given by the @cwd command. PR: bin/77212 Submitted by: flz
* Introduce 3 new options for pkg_create(1), -x for using basickrion2005-11-084-7/+61
| | | | | | | | regular expressions for pkg-name, -E for extended regexps and -G for exact matching. Submitted by: mux MFC after: 3 days
* remove a few uses of the word `really'jmg2005-06-271-2/+1
| | | | | | Reviewed by: hrs Approved by: re (scottl) MFC after: 1 week
* Fix last commit.ru2005-06-221-2/+3
| | | | Approved by: re (blanket)
* Implement @noinst field which has at the moment the same meaning andkrion2005-06-141-0/+10
| | | | | | | | function as @comment has. But will be valid only for files and not for md5 sums, rcsid's and comments in the future. Submitted by: flz Approved by: re@ (scottl)
* Markup fixes.ru2005-06-141-1/+1
| | | | Approved by: re (blanket)
* Add -R modifier for the mode when pkg_create(8) creates package filesobomax2005-06-064-9/+70
| | | | | | | | 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
* Expand contractions.ru2005-02-131-3/+3
|
* Expand *n't contractions.ru2005-02-131-1/+1
|
* Don't put DEBUG to CFLAGS, we have the standard DEBUG_FLAGS for this.ru2004-08-121-1/+1
|
* Downgrade WARNS level to more tolerable value. Attempt to fixkan2004-07-282-8/+10
| | | | casts as lvalue usage whenever possible.
* Mechanically kill hard sentence breaks.ru2004-07-021-40/+80
|
* - pkg_add spawns itself as argv[0] when installing dependent packages, toeik2004-06-293-5/+5
| | | | | | | | | | | | | | | | | | 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_create: new flag -S (clean room installation)eik2004-06-295-33/+74
| | | | | | - pkg_create: checksum meta files too PR: 66032
* - 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.
* Correct truncation detection after use of snprintf: The case wherenectar2003-12-171-2/+2
| | | | exactly one character was truncated was not detected.
* Clarify the order of arguments passed to the pre-/post-install scriptroam2003-08-261-1/+1
| | | | | | | | in the description of the pkg_create -i command-line option. PR: 55477 Submitted by: Eric van Gyzen <vangyzen@stat.duke.edu> MFC after: 5 weeks
* Retire the useless NOSECURE knob.des2003-05-191-1/+1
| | | | Approved by: re (scottl)
* * Add explicit conflict-checking to the package tools. Packages cankris2003-04-174-6/+41
| | | | | | | | | | | | | | | 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
* english(4) police.schweikh2002-12-271-3/+3
|
* Break fileGetURL() out into its own file so that pkg_install/lib consumersobrien2002-11-061-2/+2
| | | | pkg_{create,delete} don't need to needlessly link with libfetch.
* Reorg just a tad to better express our bzip intentions.obrien2002-08-251-6/+6
|
* 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
|
* Reorder libraries to fix static linking (libssl depends on libcrypto, sodes2002-06-121-2/+2
| | | | | | it must come before libcrypto in LDADD) Reviewed by: bde
* libfetch now depends on libcrypto and libssl.ru2002-06-061-0/+5
|
* Grammar nit.obrien2002-06-041-1/+1
| | | | Submitted by: keramida
* mdoc(7) police: markup nits.ru2002-05-301-2/+4
|
* MFS: silence compiler warnings.sobomax2002-05-201-7/+7
|
* Remove cross reference to pkg_update(1).eric2002-05-161-1/+0
| | | | Submitted by: dd
* - Make use of DEPOROGINs (if there are any) when installing package;sobomax2002-05-141-0/+3
| | | | | | | - fix few bogosities here and there; - move some common routines into the library. MFC after: 2 weeks
* replace __FUNCTION__ with standardized __func__.alfred2002-05-112-17/+17
| | | | Requested by: jhb
* fix build:alfred2002-05-112-15/+21
| | | | | | | | 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
* New feature: allow origins of all dependencies be recorded into package listsobomax2002-05-052-1/+18
| | | | | | | | | | | | | | | | | | 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
* Use PLIST_ORIGIN instead of rolling own version using PLIST_COMMENT.sobomax2002-05-051-4/+5
| | | | MFC after: 6 days
* 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.
* Fix SCM ID's.obrien2002-04-013-15/+9
|
* 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>
* Make `-b' option actually work as advertised.sobomax2001-10-251-0/+1
|
* Fix "off by 1" error introduced in the previous commit by replacing strncpy(3)sobomax2001-10-161-1/+1
| | | | | | with strlcpy(3). MFC after: 2 weeks
* Use strncpy(3) instead of strcpy(3) to copy optarg into a fixed-sized buffer.sobomax2001-10-151-1/+1
| | | | | Prompted by: dd MFC after: 2 weeks
* - Introduce a notion of `packing list format version'. This allows makingsobomax2001-10-102-1/+20
| | | | | | | | | | | | | | | | | | non-backward compatible changes in the format of packing list and handle them gracefully; - fix a longstanding issue with symlinks handling. Instead of recording checksum for the file symlink points to, record checksum for the value returned by readlink(2). For backward compatibility increase packing list format minor version number and provide a fallback to a previous behaviour, if package in question was created with older version of pkg_* tools; Submitted by: Alec Wolman <wolman@cs.washington.edu>, sobomax - don't record MD5 checksum for device nodes, fifo's and other non-regular files. Submitted by: nbm MFC in: 2 weeks
* WARNS=2 cleanup.sobomax2001-10-104-25/+28
| | | | | Tested on: i386, alpha MFC after: 2 weeks
* OOPS, delete some commented out debugging code committed along with r.1.25.sobomax2001-10-081-1/+0
| | | | MFC after: 2 weeks
* - Allow package archive to be created from a locally installed package. Thissobomax2001-10-084-22/+97
| | | | | | | | | 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
OpenPOWER on IntegriCloud