259065 |
07-Dec-2013 |
gjb |
- Copy stable/10 (r259064) to releng/10.0 as part of the 10.0-RELEASE cycle. - Update __FreeBSD_version [1] - Set branch name to -RC1
[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so start releng/10.0 at '100' so the branch is started with a value ending in zero.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
256281 |
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
243554 |
26-Nov-2012 |
eadler |
Provide an option to users to shoot themselves in the foot.
Reviewed by: bapt Approved by: cperciva MFC after: 1 month
|
241830 |
22-Oct-2012 |
eadler |
Warn users when using pkg tools if it looks like they be be pkgng users.
Reviewed by: bapt (earlier version) Reviewed by: kwm Approved by: cperciva MFC after: 3 days
|
228990 |
30-Dec-2011 |
uqs |
Spelling fixes for usr.sbin/
|
225610 |
16-Sep-2011 |
pluknet |
Print the package name on deletion errors.
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
|
222035 |
17-May-2011 |
flz |
Backout libinstall.a -> libpkg commit.
Discussed with: erwin, brooks, bapt
|
207113 |
23-Apr-2010 |
flz |
- Take libinstall.a out of pkg_install and make it a proper shared library. - 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.
|
206043 |
01-Apr-2010 |
flz |
Various fixes.
- 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]
|
201390 |
02-Jan-2010 |
ed |
The last big commit: let usr.sbin/ use WARNS=6 by default.
|
201226 |
29-Dec-2009 |
ed |
Add missing `void' keywords.
|
179433 |
30-May-2008 |
flz |
- Add long options to pkg_install. - Remove check for '-?' as it's not listed in authorized options. - Bump PKG_INSTALL_VERSION to 20080530.
|
178753 |
03-May-2008 |
pav |
- Restore functionality broken in previous commit; we need to be able to report multiple installed packages with the same PKGORIGIN.
Reported by: marcus MFC after: 1 month
|
178103 |
11-Apr-2008 |
pav |
Optimize package registration/deregistration. Previously, when looking up the 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
|
174475 |
09-Dec-2007 |
krion |
Backout previous commit, since it's done without maintainers approval. These changes were approved by adding it as port to ports/ tree, but not for src/. I talked to PR submitter and miwi@ some days ago and explained the reasons for it, the both were agree to add it to ports/ only.
|
174472 |
09-Dec-2007 |
obrien |
Add the 'pkg_search' script. This makes it easier to figure what packages you want to install.
Submitted by: Matthias Schmidt <schmidtm @ mathematik . uni-marburg . de>
|
173533 |
10-Nov-2007 |
krion |
Fix segfault while running with -a option and deinstalling broken packages with incorrect plists.
PR: bin/115327 Submitted by: Michael Zhilin <mizhka@gmail.com> MFC after: 3 days
|
173412 |
07-Nov-2007 |
kevlo |
Cleanup of userland __P use
|
159554 |
12-Jun-2006 |
obrien |
Allow variable amounts of verbosity.
|
151188 |
10-Oct-2005 |
krion |
Fix pkg_info(1) and pkg_delete(1) to handle properly packages which names start with a digit.
PR: bin/76858 Submitted by: Matthew D. Fuller <fullermd@over-yonder dot net> MFC after: 3 days
|
141846 |
13-Feb-2005 |
ru |
Expand *n't contractions.
|
133596 |
12-Aug-2004 |
ru |
Don't put DEBUG to CFLAGS, we have the standard DEBUG_FLAGS for this.
|
131500 |
02-Jul-2004 |
ru |
Mechanically kill hard sentence breaks.
|
131285 |
29-Jun-2004 |
eik |
- pkg_add spawns itself as argv[0] when installing dependent packages, to 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
|
131280 |
29-Jun-2004 |
eik |
- pkg_info: flag -r: (show packages this packages depends on (documentation 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
|
131275 |
29-Jun-2004 |
eik |
- match package version numbers with relational operators
- 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
|
124633 |
17-Jan-2004 |
ru |
- Properly build both crypto and non-crypto versions of the 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.
|
115157 |
19-May-2003 |
des |
Retire the useless NOSECURE knob.
Approved by: re (scottl)
|
111486 |
25-Feb-2003 |
des |
Fix a long-standing bug where if the package being deleted had no 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
|
106491 |
06-Nov-2002 |
obrien |
Break fileGetURL() out into its own file so that pkg_install/lib consumers pkg_{create,delete} don't need to needlessly link with libfetch.
|
98143 |
12-Jun-2002 |
des |
Reorder libraries to fix static linking (libssl depends on libcrypto, so it must come before libcrypto in LDADD)
Reviewed by: bde
|
97930 |
06-Jun-2002 |
ru |
libfetch now depends on libcrypto and libssl.
|
96613 |
14-May-2002 |
sobomax |
- Make use of DEPOROGINs (if there are any) when installing package; - fix few bogosities here and there; - move some common routines into the library.
MFC after: 2 weeks
|
96392 |
11-May-2002 |
alfred |
replace __FUNCTION__ with standardized __func__.
Requested by: jhb
|
96388 |
11-May-2002 |
alfred |
fix build: you may not use string concatination with __FUNCTION__, replace all occurances of: __FUNCTION__ ": error string" with: "%s: error string"
|
95127 |
20-Apr-2002 |
charnier |
Use `The .Nm utility'
|
93520 |
01-Apr-2002 |
obrien |
Fix SCM ID's.
|
84745 |
10-Oct-2001 |
sobomax |
WARNS=2 cleanup.
Tested on: i386, alpha MFC after: 2 weeks
|
83663 |
19-Sep-2001 |
sobomax |
Various fixes and improvements: - 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
|
81049 |
02-Aug-2001 |
sobomax |
Cosmetics: replace dozen instances of "(tmp = getenv(PKG_DBDIR) ? tmp : DEF_LOG_DIR)" with macro.
MFC after: 1 month
|
81046 |
02-Aug-2001 |
sobomax |
Usability tweak:
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
|
80029 |
20-Jul-2001 |
obrien |
Perform a major cleanup of the usr.sbin Makefiles. These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
|
79755 |
15-Jul-2001 |
dd |
Remove whitespace at EOL.
|
76739 |
17-May-2001 |
sobomax |
Style policy: reformat multiline comments to conform to style(9).
|
74295 |
15-Mar-2001 |
sobomax |
When creating a package sort dependencies in such a way that if dependency 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
|
73525 |
04-Mar-2001 |
roberto |
When called with the "-n" command line argument, pkg_delete 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>
|
73233 |
28-Feb-2001 |
ru |
Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.
|
73134 |
27-Feb-2001 |
sobomax |
- Merge recently added into pkg_info(1) regex/glob matching functionality into 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
|
72782 |
21-Feb-2001 |
sobomax |
Fix a typo, that in some cases may lead to incorrect packages reordering.
|
72776 |
20-Feb-2001 |
jkh |
Use the more logical author syntax from pkg_version and quote email addresses properly.
|
72694 |
19-Feb-2001 |
sobomax |
Improve pkg_delete(1) behaviour when deleting several packages at once.
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
|
72126 |
07-Feb-2001 |
ru |
mdoc(7) police: Change -filled displays (which just happen to be the same as -ragged in the current implementation) to -ragged. With mdocNG, -filled displays produce the correct output, formatted and justified to both margins.
|
71898 |
01-Feb-2001 |
ru |
mdoc(7) police: split punctuation characters + misc fixes.
|
71102 |
16-Jan-2001 |
ru |
Prepare for mdoc(7)NG.
|
70403 |
27-Dec-2000 |
ru |
Prepare for mdoc(7)NG.
|
70015 |
14-Dec-2000 |
ru |
mdoc(7) police: removed history info from the .Os FreeBSD call.
|
68965 |
20-Nov-2000 |
ru |
mdoc(7) police: use the new features of the Nm macro.
|
67429 |
22-Oct-2000 |
jkh |
Cause fatal error messages to be a little more helpful to the programmer 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>
|
62154 |
27-Jun-2000 |
des |
Use libfetch instead of libftpio. This adds support for http and IPv6.
|
61171 |
02-Jun-2000 |
hoek |
Use `rm -f` if the -f (force) option was given.
|
60563 |
14-May-2000 |
steve |
Avoid infinite loops when given a package name like 'm4-1.1/'.
Approved by: jkh
|
60499 |
13-May-2000 |
hoek |
Finally remove the restriction introduced from NetBSD in r.1.3 that pkg_delete be run as root. Now honours -f and checks ownership of ${PKG_DBDIR} before errx()'ing.
Requested by: bin/5718, myself, bin/18373 (in order)
|
57628 |
29-Feb-2000 |
jhb |
Add cross references to pkg_version(1) in all the other pkg_* man pages. Also, add a cross reference to pkg_info(1) in pkg_version(1). Finally, in pkg_version(1), don't put a period at the end of the list of see also man pages.
Noticed by: Matt Ayres <matta@fast.net>
|
57311 |
18-Feb-2000 |
jkh |
While looking for a bug, tripped over style issues with added code. Fix them.
|
56211 |
18-Jan-2000 |
dan |
Fix a bug in previous commit where pkg_{delete,info} foo-1.0/ would segfault.
Noticed first by: kris
|
56001 |
15-Jan-2000 |
dan |
Teach pkg_delete and pkg_info how to deal with full pathnames (/var/db/pkg/foo-1.0, instead of just foo-1.0).
Submitted by: Matthew D. Fuller <fullermd@futuresouth.com>
|
55821 |
11-Jan-2000 |
sheldonh |
Fix bogon in previous commit: pass a string argument to printf(3) to satisfy the %s conversion format specifier.
Reported by: Mark Huizer <freebsd@xaa.iae.nl>
|
55812 |
11-Jan-2000 |
sheldonh |
Use a more helpful fatal error message than "Toto! This doesn't look like Kansas anymore!" when unable to return to the original working directory.
PR: bin/16015
|
50741 |
01-Sep-1999 |
jkh |
Use the appropriate macro for double quotes rather than using double quotes.
Submitted by: Alexey Zelkin <phantom@cris.net> PR: 13436
|
50479 |
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
49824 |
15-Aug-1999 |
mpp |
Various man page cleanup:
- Sort xrefs. - FreeBSD.ORG -> FreeBSD.org - Be consistent with section names as outlined in mdoc(7). - Other misc mdoc cleanup.
PR: doc/13144 Submitted by: Alexey M. Zelkin <phantom@cris.net>
|
49637 |
11-Aug-1999 |
billf |
-Wall fixes. Ambigious if/elses, uninitialized values, missing headers, missing prototypes, and empty format strings.
|
48791 |
12-Jul-1999 |
nik |
Add $Id$, to make it simpler for members of the translation teams to track.
The Id line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so;
.\" $Id$ .\"
If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted.
Approved by: bde
|
48170 |
24-Jun-1999 |
imp |
'?' shouldn't be in the usage string. Unknown characters are already converted to '?'.
|
48143 |
23-Jun-1999 |
billf |
If we are going to have a case for '?' then we should define it in Options.
Submitted by: Ben Olson <bseth@chc-chimes.com>
|
42215 |
31-Dec-1998 |
obrien |
document PKG_DBDIR Add ENVIRONMENT and FILES sections.
|
41866 |
16-Dec-1998 |
jkh |
Make it possible to have separate install scripts as well as have an on-delete script.
Submitted by: Rajesh Vaidheeswarran <rv@fore.com>
|
41080 |
11-Nov-1998 |
jkh |
Fix bug where trailing slash could confuse the registry removal.
Noticed by: des
|
39068 |
11-Sep-1998 |
jkh |
correct usage of cleanup() everywhere - this became bogus when the warnx/errx stuff was added and nobody seems to have noticed. :) Noticed by: Josh MacDonald <jmacd@paris.CS.Berkeley.EDU>
|
34809 |
23-Mar-1998 |
charnier |
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.
|
34149 |
07-Mar-1998 |
bde |
Use `foo/bar.a' instead of `-Lfoo -lbar' for linking to static internal libraries, so that `ld -f' in can create correct dependencies for yet-to-be-built libraries.
|
30387 |
13-Oct-1997 |
jkh |
Don't return from cleanup() - if it's removed the playpen then very bad things will happen if we return to unsuspecting code. Noted to my great dismay by: Tim Vanderhoek <hoek@hwcn.org>
|
30221 |
08-Oct-1997 |
charnier |
Use err(3). Cosmetics in usage string and man page.
|
29574 |
18-Sep-1997 |
phk |
Many places in the code NULL is used in integer context, where plain 0 should be used. This happens to work because we #define NULL to 0, but is stylistically wrong and can cause problems for people trying to port bits of code to other environments.
PR: 2752 Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
|
26745 |
19-Jun-1997 |
jkh |
Fix multiple documentation bogons. PR: 3798 Submitted by: Jan Kuriyama <kuriyama@opt.phys.waseda.ac.jp>
|
24428 |
31-Mar-1997 |
imp |
compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic.
|
23442 |
06-Mar-1997 |
jkh |
Protect against missing initial @cwd. Closes PR#2893 Submitted-By: pius@iago.ienet.com
|
22997 |
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
21673 |
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
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.
|
17338 |
30-Jul-1996 |
jkh |
Add MD5 checksums to packing list for all files during pkg_create and use 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.
|
16663 |
24-Jun-1996 |
jkh |
Bring in my changes for removing the pestilent obj links (unless you really want them) from /usr/src. This is the final version of the patches, incorporating the feedback I've received from -current.
|
16549 |
20-Jun-1996 |
jkh |
Make pkg_install understand and use libftpio instead of its own copies of the ftp support routines. Also some cosmetic and minor bug fixes I've been meaning to incorporate for awhile.
|
14045 |
12-Feb-1996 |
mpp |
Another round of man page cleanups.
Down to only about 100 items left to cleanup! :-)
|
12219 |
12-Nov-1995 |
jkh |
Bring my pkg_install improvements forward from 2.1.
|
9894 |
04-Aug-1995 |
jkh |
Remove useless -lftp arguments from Makefiles. Suggested by: ache
|
8857 |
30-May-1995 |
rgrimes |
Remove trailing whitespace.
|
8085 |
26-Apr-1995 |
jkh |
Add depend on libftp since this is now in lib.
|
7986 |
22-Apr-1995 |
jkh |
1. Add proper dependencies to the library in my Makefiles. This was pointed 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.
|
7937 |
19-Apr-1995 |
jkh |
Add support for the ${PKG_DBDIR} environment variable. /var/db/pkg is the default, and probably not something you'd ever change, but now it's possible to do so for local/custom installations.
|
5410 |
05-Jan-1995 |
jkh |
Whoops! How embarassing. Just now noticed that I forget to update the .Os lines. Done.
|
4997 |
06-Dec-1994 |
jkh |
More changes from John T. Kohl. Man pages, mostly. Submitted by: jtkohl
|
4996 |
06-Dec-1994 |
jkh |
Many of John T. Kohl's patches from NetBSD. Thanks, John! Submitted by: jkohl
|
3198 |
29-Sep-1994 |
jkh |
Don't let pkg_delete remove the recorded location until everything has absolutely, positively been successfully removed. Reviewed by: Submitted by: Obtained from:
|
1550 |
25-May-1994 |
asami |
The environment variable PKG_PREFIX is set to the first @cwd command 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.
|
1528 |
20-May-1994 |
asami |
Make clear what arguments the "require" script gets.
|
545 |
08-Oct-1993 |
jkh |
Fix problems with executing from current directory
|
487 |
20-Sep-1993 |
nate |
Now works with/without obj directories
|
379 |
03-Sep-1993 |
jkh |
Lots of misc tweaks, support for arbitrary separators in pkg_info, more 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).
|
328 |
26-Aug-1993 |
jkh |
This commit was generated by cvs2svn to compensate for changes in r327, which included commits to RCS files with non-trunk default branches.
|