gson
3c6f48ffcd
Bump PKGTOOLS_VERSION for today's fix to add/perform.c.
2006-07-20 11:19:33 +00:00
gson
23198f432e
Fix uninitialized variable which was causing pkg_add -u to randomly
...
dump core. This may fix PR pkg/30292.
2006-07-20 08:34:32 +00:00
rillig
591ed5a67e
In header files, there shall be no variable definitions, only
...
declarations. Found by MIPSpro.
2006-07-10 21:42:18 +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
hubertf
611d442807
Update usage() to match the manpage - most important, add missing options
2006-06-27 23:33:21 +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
wiz
91bfc3f2c9
Formatting nits.
2006-04-08 23:05:38 +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
986192d148
Add sanity check if there's a @cwd in the +CONTENT file.
...
If not abort, because we wouldn't know where to put the files.
Coverity CID 1358
2006-03-17 02:37:31 +00:00
hubertf
3c5de91c39
pkg_do(): only use cp2 if it's really set to something useful
...
Coverity CID 1176
2006-03-17 02:31:44 +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
reed
1b379e628e
Fix the "Cannot chdir" error message to actually show the
...
problem directory name for lsbest and lsall.
For example:
# pkg_admin -d /usr/packages/DragonFly/1.4.0/i386/All lsbest 'gmake>0'
pkg_admin: Cannot chdir to /var/db/pkg: No such file or directory
Should show:
pkg_admin: Cannot chdir to /usr/packages/DragonFly/1.4.0/i386/All: No such file or directory
2006-03-06 20:00:10 +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
dillo
4793781929
(pkg_do) When marking already installed package as manually installed,
...
only print message if we succeeded.
Noted by wiz.
2005-12-08 19:26:28 +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
hubertf
e968750664
Only warn about running as non-root when -v is given
...
(or when running in non-unprivilegedmode, but how to detect?)
2005-12-03 01:08:38 +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
tron
173505f438
Remove unused variable "argc" in function apply_perms().
2005-11-23 12:01:30 +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
dillo
b6b652227e
Fix first part of PR 32068: pkg_info -Q broken for local binary packages
...
Add BUILD_INFO_FNAME to the files to extract for SHOW_BI_VAR.
2005-11-14 09:39:44 +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
dillo
831ae4eb35
Don't add INSTALLED_INFO to the list of files to extract from binary
...
packages, it will never be there.
Fixes pkg_info -B against binary packages broken when INSTALLED_INFO
support was added.
2005-11-07 23:19:55 +00:00
wiz
752535d165
Replace wait(2) with equivalent waitpid(2); for Linux, reported by wulf@
...
on tech-pkg.
2005-11-07 22:57:07 +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