wiz
5e977f5ead
Ispell. Begin new sentences on a new line.
2002-09-26 01:41:51 +00:00
wiz
5dbdce59f0
Fix date.
2002-09-25 00:34:44 +00:00
uebayasi
6a49247a32
Sprinkle .Xrs to packages(7).
2002-09-24 03:18:00 +00:00
mycroft
3e966fa349
select() -> poll()
...
Also, remove a call to path_create() that causes the `prepend' path held by
pkg_perform() to be deleted, causing a core dump later when pkg_perform()
tries to remove it itself.
2002-09-19 02:13:57 +00:00
lukem
c52b93f508
minor makefile delint
2002-09-18 13:31:52 +00:00
thorpej
9aa45a9c40
Fix typo (sigh).
2002-09-16 00:12:54 +00:00
thorpej
677d45a6a2
The new comment in the file says it all:
...
# UNDER NO CIRCUMSTANCES SHOULD THIS MAKEFILE TEST THE OUTPUT OF uname!!
# DOING DO BREAKS CROSS COMPILING.
2002-09-15 23:56:57 +00:00
abs
acfcf99e58
Do not prepend '.' to path when looking for dependencies for a package
...
specified without any path components. (Pointed out by Takashi Yamamoto)
Rename path_remove_first() to path_prepend_clear().
2002-08-29 21:46:33 +00:00
abs
b3c9314a54
crank PKGTOOLS_VERSION to 20020827 for last change to lib/path.[ch]
2002-08-27 17:35:05 +00:00
abs
374ff93c9c
Introduce path_prepend_from_pkgname() and path_remove_first() and
...
use in pkg_add to ensure the location of the package being added is
checked first for any additional packages.
2002-08-27 17:27:27 +00:00
hubertf
dfa4cb8d4d
Fix a few comments, and add some others to outline what's missing
...
in the pkg upgrade case (two TODOs :)
2002-08-16 00:47:39 +00:00
wiz
f4813ef403
Drop trailing whitespace.
2002-08-15 03:26:38 +00:00
hubertf
3ddcffd0a9
document -u
2002-08-15 02:34:53 +00:00
yamt
13ebe87a2f
add some comments.
2002-08-08 00:17:39 +00:00
hubertf
ac31af18a9
20020804:
...
* pkg_admin pmatch
* pkg_add increases resource limits
No need to bump PKGTOOLS_REQD as these are not used anywhere right now!
2002-08-04 21:49:23 +00:00
hubertf
ed4b7caed9
Try increasing number of max. open files as high as possible.
...
Prevents annoying errors when installing biggies like KDE.
2002-08-04 21:47:24 +00:00
hubertf
cebf43ab6e
Add 'pmatch' keyword: pkg_admin pmatch pattern pkg
...
Will return true if 'pkg' matches 'pattern', false else.
Provides a command line interface to the pmatch() C function
to be used from shell scripts etc.
2002-08-04 20:50:55 +00:00
hubertf
c2c6f0bc61
Don't warn about PKG_PATH being set when -e is given
2002-08-04 19:43:08 +00:00
seb
46495173b2
Fix FTP_CMD for Solaris: something went wrong when it was added.
...
Approved by wiz.
2002-08-02 17:04:55 +00:00
jschauma
a82bd2c37e
Synch with reality (PKG_TMDIR defaults to /var/tmp (first)).
...
Pointed out by franklin at elfie dot org in PR pkg/17760,
discussed on packages@, approved by hubertf.
2002-07-31 01:39:40 +00:00
yamt
0eb57ea5a6
bump version to 20020723.
...
(PKG_PATH changes)
2002-07-23 09:23:35 +00:00
grant
eda9e509bb
sweep of errx/warnx, remove unnecessary trailing \n
2002-07-20 08:40:16 +00:00
grant
6742cb1812
sweep of errx/warnx, remove unnecessary trailing \n
2002-07-20 08:36:17 +00:00
yamt
b9911a030d
#if 0 out unused functions.
2002-07-20 05:40:55 +00:00
yamt
c819f95798
show_file: don't append '\n' if fopen failed.
2002-07-20 04:59:47 +00:00
yamt
c4ca16e864
show_file: add an extra '\n' unless file ended with '\n'.
2002-07-19 19:18:26 +00:00
yamt
5eb02a32ce
- remove handling of PKG_ADD_BASE.
...
- don't search current directory if PKG_PATH is set.
- don't prefer local directories.
- constify and cleanup.
discussed on tech-pkg.
2002-07-19 19:04:33 +00:00
toshii
5e1f92b4ef
If "-f" is given, don't set errc on dependency add failure.
...
This change makes "pkg_add -f" work as it used to be.
2002-07-13 16:38:00 +00:00
yamt
a8463800e2
don't pass null pointers to printf for "%s".
2002-07-09 04:35:30 +00:00
yamt
84954a6eb7
- use snprintf and strlcpy instead of strcpy, strcat and sprintf in some place.
...
- remove a unneeded strcpy.
2002-07-09 03:30:05 +00:00
yamt
bf62cfa448
check return value of snprintf correctly.
2002-06-27 12:05:52 +00:00
agc
2d3a1701d3
Avoid hardcoding /usr/bin/ftp in the pkg_add binary.
...
Fixes provided by Stoned Elipot <seb@script.jussieu.fr> in PR 17323
2002-06-21 14:49:40 +00:00
yamt
80a776becb
constify and make WARNS=2 clean.
2002-06-10 09:14:26 +00:00
yamt
56268cdf57
constify.
2002-06-09 14:14:49 +00:00
yamt
51111fe65d
- make last arg of findmatchingname void*.
...
- move some duplicated functions into lib/.
2002-06-09 13:23:44 +00:00
yamt
cc8d347c9a
- free memory allocated by findbestmatchingname.
...
- use static buffer instead of "malloc and don't free"
for dirname_of.
- fix indent.
2002-06-09 11:56:59 +00:00
yamt
830edd8ed3
rewrite strip_txz:
...
- don't match against filenames like "a.tgz.a"
- more buffer overrun checks.
2002-06-09 10:40:47 +00:00
yamt
f2a19ed936
- fix buffer size checks
...
- define PKG_PATTEN_MAX and PKG_SUFFIX_MAX and
use them instead of constants like 255.
- add asserts and buffer size checks.
2002-06-09 03:50:13 +00:00
yamt
ae85a7c2df
- constify.
...
- avoid unneeded strcpy.
- add more error checks. (avoid segv
2002-06-09 03:38:59 +00:00
yamt
f214a6095e
avoid a magic constant.
2002-06-09 03:32:45 +00:00
agc
9dd6d667fa
Only define DEF_LOG_DIR if it's not already set.
2002-05-10 13:17:57 +00:00
hubertf
19f6d0bbcb
Add more error checking, and tell the user what's up when he runs
...
into descriptor-shortage. Can be caused when installing deeply-nested
binary pkgs like kde.
2002-04-23 10:14:59 +00:00
agc
5e5f49ecfa
Check the return code from the second invocation of installprereq(), to
...
make sure that a failed installation of a rpe-requisite package kills
the attempt to add the package. This reverts pkg_add(1) to traditional
behaviour.
Bump version number accordingly.
2002-04-02 15:08:33 +00:00
hubertf
99e2919b43
Improved error reporting: when a pkg pattern is given, and
...
/var/db/pkg does not exist (e.g. on a new system), say do!
2002-03-12 22:36:26 +00:00
agc
2e8bd5562d
When adding packages via pkg_add(1), and a pre-requisite package needs
...
to be added, first try to use the exact version of the pre-requisite
with which the base package was built (from the @blddep directive in
the +CONTENTS file), and then use the traditional dependency from the
@pkgdep directive.
Also rename a variable from "code" to "errc" to make it obvious what
the variable counts.
Bump version number to 20020306.
2002-03-06 17:45:20 +00:00
agc
b66bb2992d
Output @blddep directives properly when displaying PLISTs.
2002-03-05 14:18:07 +00:00
agc
dae19d20ed
Output @blddep directives before @pkgdep directives.
2002-03-05 14:16:11 +00:00
agc
33ef3d651a
Add a new packing list directive, @blddep, which notes the exact
...
version of the pre-requisite package which was used to build the
package. This is derived automatically from the list of pre-requisite
packages which is provided to pkg_create(1) in the -P argument.
Bump the version number to 20020305.
Versions of the pkg_install tools prior to 20020305, when adding a
binary package with embedded @blddep directives, will warn that the
directive is not recognised, but will continue to add the binary
package.
2002-03-05 13:01:19 +00:00
agc
1c88ee495f
... and get the right month this time.
2002-02-22 10:13:41 +00:00
agc
a1cbed9f66
Bump version date to reflect this change to create/pl.c:
...
> revision 1.22
> date: 2002/02/18 00:57:54; author: hubertf; state: Exp; lines: +10 -3
> make @cwd work a bit more reliable:
>
> When -L is used (as it is by pkgsrc), don't override the directory
> set by @cwd unconditionally with what was given to -L (srcdir).
> Instead, use the @cwd directory.
2002-02-22 10:10:38 +00:00