agc
64f5916734
Don't use special-case code for the '_' modifier, just add it to the
...
modifier table. Fixes a problem pointed out by Rene Hexel.
2002-11-26 14:46:45 +00:00
jschauma
d571e4f803
Do not abort incomplete deletion if the cwd was removed. Instead, warn,
...
stay in no-longer existing dir and continue with removal of db-files;
otherwise, the packages contents would be removed, but the package not
uninstalled. Pointed out by Grant in PR pkg/18384. OK'd by hubertf.
2002-11-23 22:31:18 +00:00
agc
ab7e447f08
Bump version number after adding "alpha" and "beta" version modifier
...
recognition.
2002-11-14 11:57:15 +00:00
agc
03ce8889fa
In addition to the existing "rc" modifier for a package version, add
...
support for "alpha" and "beta" versions, which sort before "rc". Move
to table-based modifier recognition.
2002-11-14 09:40:23 +00:00
grant
f437cb0639
s/anyways/anyway/
2002-11-05 07:34:31 +00:00
wiz
fdc93ee90f
Add tag for yesterday's state.
2002-11-02 02:07:43 +00:00
hubertf
4d58bf2551
Properly re-implement hilighting of the dialogue with the ftp(1)
...
process.
Thanks again for the throughout notification I got before that
was removed! :(
2002-10-26 14:43:43 +00:00
hubertf
4d4c17a923
use size of the right buffer
2002-10-26 12:37:00 +00:00
provos
32b88027c7
use readlink with bufsize - 1; approved thorpej.
2002-10-19 20:33:17 +00:00
wiz
26acd804be
Fix typo in last (hi christos).
2002-10-17 08:46:00 +00:00
christos
d5d6fac25a
Jeez! Delete hard-coded vt100 sequences. This could be done using termcap,
...
but why bother?
2002-10-17 03:34:20 +00:00
christos
590fa669c8
- eliminate the hard-coding of pathnames in the default install.
...
- all command executions now use the path [execvp/execlp/system].
- normalize the macro names as <COMMAND>_CMD.
- in some OS's full pathnames for commands can still be provided, but this
is not the default.
This was needed to fix -DTAR_FULLPATHNAME="/usr/bin/tar"
2002-10-17 03:31:33 +00:00
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