wiz
cc97ec4b3c
Drop trailing whitespace, remove superfluous Pp.
2007-02-07 06:47:33 +00:00
reed
aa7b0cce96
Add an example on how the data is generated.
...
Point to pkg_info(1).
Add a brief history.
2007-02-06 01:22:40 +00:00
joerg
e8a733de1a
Bump pkg_install version to 20061103 for plist processing fix and
...
more verbosity in pkg_delete.
2006-11-03 09:20:45 +00:00
joerg
bab4eecdd4
When processing symlinks in pkg_delete and the call to readlink failed,
...
it often helps to know why, so use warn instead of warnx.
2006-11-03 09:19:15 +00:00
gson
3c6f48ffcd
Bump PKGTOOLS_VERSION for today's fix to add/perform.c.
2006-07-20 11:19:33 +00:00
dillo
4b176d8d5e
Fix pkg_info -Q for binary packages, noted by rillig.
...
Bump version to 20060701.
2006-07-01 19:31:23 +00:00
mrg
43419a069b
sprinkle a little (char *) to quell GCC4.
2006-05-11 23:50:15 +00:00
mrg
aadd7d4847
sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4.
2006-05-11 23:16:28 +00:00
dillo
d67db6407e
HOMEPAGE is not required, noted by wiz.
2006-04-25 13:28:10 +00:00
wiz
7f1b30bfd9
Sort.
2006-04-24 22:04:12 +00:00
dillo
845f7524ad
Add support for creating summary file containing all information
...
about a package repository needed by package managing software.
This allows better use of remote binary package repositories.
Discussed on tech-pkg.
2006-04-24 13:36:22 +00:00
hubertf
0161f34fc6
Bump for today's timeout change in ftpio.c
2006-04-18 20:40:48 +00:00
hubertf
19ef9ca981
unpackURL():
...
Make timeout mechanism's granularity always per-file (inside package)
instead of per-package (if not -v) or per-file (inside package, if -v).
2006-04-18 13:11:05 +00:00
hubertf
2e3214a0d4
Bump ftp timeout from 10 minutes to 1 hour.
...
When installing teTeX over a dog slow VPN, this can be necessary.
2006-04-11 10:36:19 +00:00
reed
0078fc2ced
pkg_add also now check for USE_ABI_DEPENDS.
...
Check if USE_ABI_DEPENDS or IGNORE_RECOMMENDED was set
when this package was built. IGNORE_RECOMMENDED is now historical.
Remove on space in warning (and add "ABI")
so will fit on standard 80 column console.
2006-04-06 06:45:08 +00:00
hubertf
3cdb8f0a5c
http_expand_URL(): fclose() the fdopen()'ed filedescriptor
...
before leaving the function (for all cases).
Actual fix and sanity checking by Dillo & Wiz
Coverity CID 2340
2006-04-05 18:01:20 +00:00
hubertf
a4ff1305f4
When recognizing a broken package version/name,
...
make sure to error out really, don't just print a warning
and the run into further problems.
Coverity CID 2739.
2006-04-05 17:50:48 +00:00
wiz
da9647bfba
Bump date, so that version in src and pkgsrc have the same
...
version _and_ the same code.
2006-04-04 06:38:53 +00:00
christos
3b6811d33b
PR/33123: Murray Armfield: standards compliance & glob.h
...
Certain fields in glob.h need to be size_t; fix this and version glob(3).
http://www.opengroup.org/onlinepubs/000095399/basedefs/glob.h.html
2006-03-26 18:11:22 +00:00
hubertf
dc01675c5a
Put check if "best" is empty back into the right place, messed up
...
in previous commit.
Noted by yamt@
2006-03-17 17:46:44 +00:00
erh
840c5222df
Fix -uu handling so recursive updates of already installed packages work,
...
even if the initial package to install isn't installed yet.
Bump the version to 20060313.
2006-03-17 05:32:11 +00:00
hubertf
fc4fb72e38
findbestmatchingname_fn(): catch possible problems if best (vp)
...
contains some strange name (shouldn't happen, but ...)
Coverity CID 869
2006-03-17 02:20:46 +00:00
hubertf
92acb1f6e9
findbestmatchingname_fn(): only do something sensible if the pointer
...
handed in is actually usable (not NULL)
Fixes Coverity ID 870
2006-03-17 02:10:55 +00:00
hubertf
baf66cc3f1
We can't sprintf() into a NULL pointer - catch that properly
...
for ALL cases.
Coverity CID 861
2006-03-17 01:58:25 +00:00
hubertf
19dcd9a850
Fix filedescriptor leak
...
Coverity CID 1625
2006-03-17 01:10:53 +00:00
joerg
32ce5ba905
Add conditional code to ignore the non-numeric part of an OS version
...
for the sake of compatibility tests in pkg_add.
E.g. DragonFly versions like
1.4.0-RELEASE
are reduced to
1.4.0
This code is disabled by default on NetBSD.
2006-01-25 00:17:34 +00:00
wiz
d0fb2fc679
Use MaxPathSize instead of PATH_MAX (like everywhere else here).
2006-01-08 12:20:54 +00:00
christos
5d62e1710e
sync with pkgsrc version.
2006-01-04 23:36:14 +00:00
ben
d221099506
Specify the full path to tar when unpacking a package.
...
Modify pfcexec so the new process file name can be different from argv[0].
This fix is from Peter Postma, and it addresses PR#32228
2005-12-06 01:07:30 +00:00
ben
ab821d396a
Correct PAX_CMD to be pax.
2005-11-28 01:49:39 +00:00
ben
81789679db
Conditionally include header files, and include nbcompat.h
...
Addresses PR#32149
2005-11-23 14:58:16 +00:00
ben
ed4b2f6172
Reduce the use of the system() function in pkg_install to avoid quoting
...
problems. Instead, use exec*() functions.
Replace PUSHOUT() macro and string buffers with a function that
operates on data structures.
If it is necessary to copy files into place from staging area, then use
pax to copy them.
Add functions in pexec.c to create a pipe for sending data to a child
process. Replace pipe code in create/perform.c with these functions.
Use these functions instead of command-line arguments when copying files
into place from staging area.
Three system() references remain: @exec, @unexec, and vsystem().
2005-11-23 04:59:14 +00:00
dillo
f05d706e05
Bump version for ``pkg_info -Q against local binary packages'' fix.
2005-11-14 09:41:43 +00:00
agc
2ca444e0bd
Get rid of cvs merge botch in previous.
2005-11-13 20:37:23 +00:00
agc
d6e9c48326
The Dewey number comparison routines were added by myself in 2002 in
...
revision 1.32 of pkg_install/lib/str.c, and have absolutely nothing to
do with the original FreeBSD utilities.
Place the appropriate (3 clause) copyright on this file.
2005-11-13 20:07:41 +00:00
wiz
41fb8f4fed
Handle -1 return value from dewey_match.
2005-11-13 19:48:35 +00:00
wiz
45be6e647e
Do not use errx in dewey_match, return -1 instead.
2005-11-13 19:48:19 +00:00
wiz
7ef0b27ab9
Remove some unnecessary header includes.
2005-11-08 20:16:53 +00:00
dillo
e68029a308
Bump version for pkg_info -B fix.
2005-11-07 23:20:49 +00:00
wiz
2fa51c716a
Sync with pkgsrc: wrap some headers in #ifs.
2005-11-07 22:53:41 +00:00
wiz
a1e41eed09
Use config.h and add appropriate #if HAVE_FOO_H.
2005-11-06 12:40:02 +00:00
wiz
f0f9d6a437
Add compat #ifdefs from pkgsrc, to make syncing easier between the
...
two versions.
2005-11-05 13:11:02 +00:00
hannken
ba2ee12485
Make it compile on sparc/sparc64. Cast size_t to int for field precision.
2005-11-04 09:26:05 +00:00
dillo
8af62fd627
Split dewey compare functions into their own file dewey.c so they
...
can be used in a forthcoming Perl module.
Joint work with Thomas Klausner.
2005-11-03 21:59:55 +00:00
dillo
75b9797969
Implement framework to store variable=value pairs about an installed package.
...
Use this in pkg_add to mark installed dependencies as automatically installed.
pkg_add: new flag -A: marks package as automatically installed.
pkg_admin: new commands set and unset to modify variable pairs for
installed packages.
pkg_info: report these variable pairs with -Q/-B.
new flag -u: report only manually installed packages (not
installed with pkg_add -A).
Error out if -a/-u and a package name is specified.
Joint work with Thomas Klausner.
As discussed on tech-pkg.
2005-11-03 21:16:41 +00:00
joerg
82543d8598
Treat FTP error 450 like 550, otherwise pkg_add from a proftpd server
...
can hang.
Submitted-by: Eirik Nygaard
2005-10-30 21:52:02 +00:00
hubertf
b7cc645889
Bump version to 20050718 for fixed IGNORE_RECOMMENDS handling.
2005-07-18 09:09:35 +00:00
wiz
7a9582b62a
Spread some more unsigned for less casts.
2005-05-31 22:29:41 +00:00
wiz
0ba4110751
Move unsigned to where it belongs, to remove a cast.
2005-05-31 21:03:58 +00:00
wiz
8529448f16
Comment out too noisy warning.
2005-05-30 19:44:03 +00:00