| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Notes:
svn path=/head/; revision=257444
|
| |
|
|
| |
Notes:
svn path=/head/; revision=228990
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
It appears this was already done in NetBSD a decade ago, hence
I just reuse the change (except our code is bad styled).
PR: bin/160516
Approved by: portmgr
Approved by: re (kib)
Obtained from: NetBSD
Notes:
svn path=/head/; revision=225610
|
| |
|
|
|
|
|
| |
Discussed with: erwin, brooks, bapt
Notes:
svn path=/head/; revision=222035
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Rework the wrapper support to check libpkg version as well as pkg_install
version.
- Add libfetch to _prebuild_libs.
- There are no new features introduced.
Notes: the API is not stable, so basically, do not use libpkg in your
projects for now. Also there's no manpage for libpkg yet, because the API
will change drastically. I repeat, do not use libpkg for now.
Notes:
svn path=/head/; revision=207113
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Replace hardcoded INDEX version. [1]
- Fix a buffer overlap. [2]
- Remove empty package when fetching fails and -K is used. [3]
- Remove useless chmod2() after mkdtemp(3). [4]
- Replace mkdir(1) call with mkdir(2). [5]
- Get rid of some vsystem() calls.
- Switch from lstat(2) to open(2) in fexists().
- Try rename(2) in move_file() first.
- Bump PKG_INSTALL_VERSION to 20100401.
PR: bin/145101 [1], bin/139492 [2], bin/144919 [3]
bin/144920 [4], bin/144921 [5]
Submitted by: gcooper [1,2,3,4,5]
Notes:
svn path=/head/; revision=206043
|
| |
|
|
|
|
|
|
|
|
| |
multiple installed packages with the same PKGORIGIN.
Reported by: marcus
MFC after: 1 month
Notes:
svn path=/head/; revision=178753
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
package name for the origin of a dependency, all entries in /var/db/pkg were
traversed for each dependency of added/removed package. Now, gather all the
origins first, then do the lookup in a single pass over /var/db/pkg.
This should provide a major speedup for packages with hundreds of dependencies.
Submitted by: rdivacky (earlier version)
MFC after: 1 month
Notes:
svn path=/head/; revision=178103
|
| |
|
|
|
|
|
|
|
|
|
| |
packages with incorrect plists.
PR: bin/115327
Submitted by: Michael Zhilin <mizhka@gmail.com>
MFC after: 3 days
Notes:
svn path=/head/; revision=173533
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=131280
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
Notes:
svn path=/head/; revision=131275
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
post-deinstall script, the variable intended to hold the name of that
script would be used uninitialized. In some cases, fexists() would
succeed, causing pkg_delete to try to chmod +x it, then execute it,
resulting in bizarre error messages such as:
.//: Permission denied
This bug would normally only occur when multiple packages were
specified on the command line; otherwise post_script would be located
in a previously unused part of the stack, and implicitly (but quite
accidentally) initialized to all-zeros.
MFC after: 3 days
Notes:
svn path=/head/; revision=111486
|
| |
|
|
|
|
|
|
|
|
| |
- fix few bogosities here and there;
- move some common routines into the library.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=96613
|
| |
|
|
|
|
|
| |
Requested by: jhb
Notes:
svn path=/head/; revision=96392
|
| |
|
|
|
|
|
|
|
|
|
| |
you may not use string concatination with __FUNCTION__, replace all occurances
of:
__FUNCTION__ ": error string"
with:
"%s: error string"
Notes:
svn path=/head/; revision=96388
|
| |
|
|
| |
Notes:
svn path=/head/; revision=93520
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- fix harmless compiler's warnings (unused variables and missed prototype);
- before refusing to delete package because "there are packages installed
that require this package" check that packages in question is actually
installed;
- add new `-r' option to pkg_delete(8), which instructs it to delete not only
packages specified at command line, but all packages that depend on
specified packages as well.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=83663
|
| |
|
|
|
|
|
|
|
|
|
| |
DEF_LOG_DIR)"
with macro.
MFC after: 1 month
Notes:
svn path=/head/; revision=81049
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Use '' quotes instead of `' to delimit names of files and packages in
warning and error messages, because it is easier to cut-n-paste name in
question that way (single click) without confusing the shell. And yes,
I know that it is less eye-candy...
MFC after: 1 month
Notes:
svn path=/head/; revision=81046
|
| |
|
|
| |
Notes:
svn path=/head/; revision=76739
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A depends on dependency B then dependency A will be in all cases listed
before B, so ``pkg_add -r'' will fetch/install packages in the correct order.
Previously dependencies were sorted just by its names, which is why
``pkg_add -r'' never actually worked properly.
To be usefull, hovewer, this fix requires that all packages have been
rebuilt, so it will take some time until users would be able to feel
posititive improvements. For the same reasons it is desirable to propagate
these changes to the 4-stable package building cluster *before* 4.3 ports
freeze, so packages for 4.3-RELEASE would be properly prepared.
Prompted by: kris
Insanely appreciated by: obrien
Silently approved by: jkh, -ports
Notes:
svn path=/head/; revision=74295
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
is supposed to inform the user of all steps it would take.
The current code does not issue any messages regarding actions
that would be performed by delete_package (removing files and
executing @unexec commands), because when the Fake variable
is 1, delete_package (which itself respects Fake and prints
messages rather than taking action when it is 1) is not called
at all.
Fix this.
PR: bin/24971
Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
Notes:
svn path=/head/; revision=73525
|
| |
|
|
|
|
|
|
|
|
|
|
| |
pkg_delete(1) as well;
- add a new `-a' option for pkg_delete(1) to delete all installed packages;
- add a new `-i' option for pkg_delete(1) to request simple rm(1)-like
interactive confirmation before attempting to delete each package.
Silently approved by: jkh, -ports
Notes:
svn path=/head/; revision=73134
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72782
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of trying to delete packages in the same order as they were specified
in the command line, reorder deletion in such a way that if package A depends
on package B then package A will be deleted before B no matter in which order
they were specified in the command line.
Reviewed by: jkh, will
Approved by: jkh
Notes:
svn path=/head/; revision=72694
|
| |
|
|
|
|
|
|
|
|
|
|
| |
concerning where they're taking place.
Switch from [r]index() to str[r]chr() functions, which are more ISO
compliant.
Prompted by: Edward Welbourne <eddy@vortigen.demon.co.uk>
Notes:
svn path=/head/; revision=67429
|
| |
|
|
| |
Notes:
svn path=/head/; revision=61171
|
| |
|
|
|
|
|
|
|
| |
satisfy the %s conversion format specifier.
Reported by: Mark Huizer <freebsd@xaa.iae.nl>
Notes:
svn path=/head/; revision=55821
|
| |
|
|
|
|
|
|
|
|
| |
like Kansas anymore!" when unable to return to the original working
directory.
PR: bin/16015
Notes:
svn path=/head/; revision=55812
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50479
|
| |
|
|
|
|
|
| |
missing prototypes, and empty format strings.
Notes:
svn path=/head/; revision=49637
|
| |
|
|
|
|
|
|
|
| |
an on-delete script.
Submitted by: Rajesh Vaidheeswarran <rv@fore.com>
Notes:
svn path=/head/; revision=41866
|
| |
|
|
|
|
|
| |
Noticed by: des
Notes:
svn path=/head/; revision=41080
|
| |
|
|
|
|
|
|
| |
stuff was added and nobody seems to have noticed. :)
Noticed by: Josh MacDonald <jmacd@paris.CS.Berkeley.EDU>
Notes:
svn path=/head/; revision=39068
|
| |
|
|
|
|
|
|
| |
bad things will happen if we return to unsuspecting code.
Noted to my great dismay by: Tim Vanderhoek <hoek@hwcn.org>
Notes:
svn path=/head/; revision=30387
|
| |
|
|
| |
Notes:
svn path=/head/; revision=30221
|
| |
|
|
|
|
|
| |
Submitted-By: pius@iago.ienet.com
Notes:
svn path=/head/; revision=23442
|
| |
|
|
| |
Notes:
svn path=/head/; revision=22997
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
later at pkg_delete time to verify that you're deleting what you added.
This, of course, does NOT cover the case where a file you still need
hasn't changed! That's a tougher problem to solve, and this provides
only the minimal amount of safety belt. MD5 checksums are stored in comment
fields, so packages produced with these tools are backwards compatible with
the older ones.
Notes:
svn path=/head/; revision=17338
|
| |
|
|
|
|
|
|
| |
copies of the ftp support routines. Also some cosmetic and minor
bug fixes I've been meaning to incorporate for awhile.
Notes:
svn path=/head/; revision=16549
|
| |
|
|
| |
Notes:
svn path=/head/; revision=12219
|
| |
|
|
|
|
|
|
| |
default, and probably not something you'd ever change, but now it's
possible to do so for local/custom installations.
Notes:
svn path=/head/; revision=7937
|
| |
|
|
|
|
|
| |
Submitted by: jkohl
Notes:
svn path=/head/; revision=4996
|
| |
|
|
|
|
|
|
|
|
| |
absolutely, positively been successfully removed.
Reviewed by:
Submitted by:
Obtained from:
Notes:
svn path=/head/; revision=3198
|
| |
|
|
|
|
|
|
|
|
| |
in the packing list, or the argument to -p if it is specified, before
the requirements/installation/deinstallation scripts are called. This
enables the scripts to be written to work on the final installation
destination, even if the user uses -p to override the package's default.
Notes:
svn path=/head/; revision=1550
|
| |
|
|
| |
Notes:
svn path=/head/; revision=545
|
| |
|
|
|
|
|
|
| |
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
|
|
|
for info.
Notes:
svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=327
|