soren
89c5a767f8
Fix doubled 'the's.
2000-03-13 22:55:05 +00:00
hubertf
495734ff62
- Bump timeout in select() to 10 minutes
...
- Make sure ftp_cmd() properly passes down an error value (-1) when
appropriate.
2000-02-27 02:35:28 +00:00
hubertf
93b37b7f07
adjust copyright
2000-02-22 01:24:26 +00:00
abs
ce9e985266
Special case 'nb<X>' suffix in deweycmp() - this allows NetBSD specific
...
changes to packages to have a unique version, and still work with deweycmp().
2000-02-07 11:26:26 +00:00
hubertf
422fde1de4
init buffer differently
2000-02-04 03:45:48 +00:00
hubertf
b932078a68
remove clutter left after switching to mkstemp
2000-02-02 14:54:50 +00:00
hubertf
4b164aae49
Use mkstemp instead of mkstemp.
2000-02-02 14:42:53 +00:00
hubertf
45d0c80c1d
add copyright and (more important!) _RCS_ID()
2000-02-02 14:09:40 +00:00
agc
cf6ad33088
Set the environment variables to have zero-length strings on Solaris.
2000-02-01 10:46:55 +00:00
agc
2a29f83468
Fix a typo.
...
Make a start at linting this.
2000-01-31 13:39:08 +00:00
agc
69acf6de93
Fix for Solaris: don't try to call unsetenv().
2000-01-31 13:33:19 +00:00
hubertf
938c6a8b17
be a bit more liberal WRT slow servers
2000-01-26 02:12:14 +00:00
hubertf
549295852e
-current's gcc seems to be a bit picky about using pointer-differences as
...
args to the "*" of a printf "%*.*s" pattern. Add some casts to int.
(At least on NetBSD, ptrdiff_t is typedef'ed to int anyways)
2000-01-25 17:21:07 +00:00
hubertf
4a961a7fc3
some code cleanup
2000-01-25 12:09:19 +00:00
hubertf
9d0c5bb4ee
FTP wildcard depends code, initial commit.
...
Modulo some code cleanup, this gives NetBSD full wildcard support not
only in pkgsrc, but esp. for binary packages installed from local disk
and via FTP. For more information, see:
http://www.feyrer.de/NetBSD/wildcards.html
2000-01-19 23:28:28 +00:00
hubertf
d46e75859c
Reverse wording for -R. Per PR 9141 by Jim Bernard <jbernard@ox.mines.edu>
2000-01-17 00:48:52 +00:00
hubertf
bbb733f849
mention -Ss in usage
2000-01-10 14:53:56 +00:00
hubertf
be120f8f41
Also move the +SIZE files into place, if a pkg comes with some.
2000-01-09 17:21:53 +00:00
hubertf
873c34bf5e
Some changes from David Maxwell <david@fundy.ca>:
...
- make it clear that a URL or full path can be given on the command line
- explain where depending pkgs are expected to live
2000-01-04 22:39:28 +00:00
hubertf
be1f1ece47
Set things to a sane state for db(3) routines.
1999-12-20 18:23:03 +00:00
hubertf
78254bd723
Put back former -s switch to pkg_create as -L now.
...
Fixes PR 8982 by Eric Schnoebelen <eric@cirr.com>
1999-12-20 03:25:57 +00:00
hubertf
d11f27480e
Not without my handbag. (Forgot this in last commit)
1999-12-01 15:15:29 +00:00
hubertf
402f80b9da
- Comment code
...
- Minor re-indenting
- Fix printing of @ignore in pkg_info (did this ever work?)
- Fix installing of local wildcard dependencies (unused in main system)
- Fix deleting of packages that depend on wildcard dependencies
(fexist() is not enough there :-)
1999-12-01 14:51:50 +00:00
hubertf
28f1032831
Document the current round of the game. :-)
1999-12-01 05:08:34 +00:00
hubertf
2b494f847d
Don't be verbose unnecessarily. (Instead, just remove this stale debug
...
code)
1999-12-01 05:08:10 +00:00
hubertf
ecf89794f5
Put support for @src back in.
...
For users who use private packages that use it. (Hi Bill!)
1999-11-29 20:09:54 +00:00
hubertf
406791739c
Add code to include the size of a package into both the
...
installed version and binary packages. The size can be queried then
via pkg_info:
xfeyrer @ noon% pkg_info -s xv
Information for xv-3.10apl1:
Size of this package in bytes: 4670692
xfeyrer @ noon% pkg_info -S xv
Information for xv-3.10apl1:
Size in bytes including required pkgs: 14610165
While doing work on the size code, support for the @src directive was
removed (formerly enabled with the pkg_create -s switch, but unused in
our pkg system). The new pkg_info -s and -S switches were tested on
installed, local (file) and remote (ftp) packages.
In bsd.pkg.mk, take special care for pkg_* versions that do not have
the pkg_create -s and -S switches and do not record size information
there.
1999-11-29 19:48:44 +00:00
kristerw
2220c68654
Typos (from OpenBSD)
1999-11-18 19:02:31 +00:00
fredb
60fae50bc1
Don't preserve uids or permissions of checked out files (MTREE, DEINSTALL,
...
INSTALL) into package tarballs. Files installed by the package itself are
not affected.
1999-11-18 02:05:16 +00:00
abs
9c1ad975e8
Check return value from realpath() to avoid a NULL pointer being passed to
...
alloc_lpkg(). Avoids coredump if current directory is invalid.
1999-11-10 18:51:47 +00:00
proff
e09818f9fd
Apply Force (-f) recursively
1999-10-04 17:16:59 +00:00
hubertf
1f6247c83d
Add some sanity checks on what pkgdb_retrieve() returns.
...
Noted by D'Arcy J.M. Cain <darcy@druid.druid.net> on current-users.
1999-09-24 14:39:44 +00:00
hubertf
7ddf2760b9
Handle symlinks to directories correctly in "check" and "rebuild".
...
Problem reported by Matthias "tron" Scheler in private mail.
1999-09-13 00:32:14 +00:00
hubertf
d29beeb5df
Remove the LogDir (/var/db/pkg/foo-x.y) _after_ we've run the DEINSTALL
...
script a second time (else there's nothing left to run ;).
Noticed by Jim Wise.
1999-09-09 01:36:30 +00:00
hubertf
b59ddc2237
Comment pl_ent_t to make debugging easier.
1999-09-09 01:31:44 +00:00
christos
6829e9be33
pick the proper uname.
1999-08-30 04:20:22 +00:00
hubertf
8ee940971e
Bring closer to /usr/share/misc/style with the aid of indent(1).
1999-08-24 00:48:37 +00:00
hubertf
c39c4fc075
Hide test for URLlength()>0 behind a macro (IS_URL()).
1999-08-23 15:17:03 +00:00
agc
b62dac7b36
Provide full pathnames for chgrp(1), chown(1) and chmod(1), passing
...
them down from Makefile.inc on an OS-specific basis. Fixes PR 8250
from Wiz <wiz@danbala.ifoer.tuwien.ac.at>.
1999-08-23 10:34:53 +00:00
hubertf
3fb135484d
Call deinstall-script after files are removed:
...
deinstall <pkg-name> POST-DEINSTALL
(PKGTOOLS_REQD not bumped, as nothing in pkgsrc uses this so far)
1999-08-21 02:21:13 +00:00
agc
eed4a2840a
Fix braino, pointed out by enami - OS is not defined on NetBSD.
1999-08-20 14:34:34 +00:00
agc
cf95737b8e
The copy_hierarchy function is never called. Remove its definition and
...
prototype.
1999-08-20 09:20:20 +00:00
agc
b41eccc5cd
Make this work on Solaris "out of the box"
1999-08-20 09:12:10 +00:00
hubertf
c94d3e89cb
Allow specifying a package name without a version.
...
If no (installed) package is found with the given name, "-[0-9]*" is
appended, and the search retried. Withs with any options to pkg_delete
and (esp.) pkg_info:
pkg_info kde
pkg_info -e emacs
pkg_info -qL xlock
pkg_delete -v emacs
1999-08-19 19:37:20 +00:00
agc
358f97854c
Pass BINDIR down via Makefile.inc, rather than hardcoding /usr/sbin -
...
useful for systems where /usr/sbin is not the directory of choice.
1999-08-19 14:37:36 +00:00
agc
d5c5c423a3
Consolidate URL handling into a table of valid leading strings for
...
URLs, and an access function (URLlength) - saves having various
hardcoded strings all over the place. Delete isURL, and use URLlength
in its place. Also use URLlength when parsing a filename for host
and filename part.
1999-08-19 14:12:34 +00:00
agc
72077b961b
Clean up minor nits in C code.
1999-08-19 13:29:59 +00:00
tron
4ea05d6101
Add two missing "(void)" casts.
1999-08-19 07:18:38 +00:00
tron
dffe3016d3
Modify conflict check to avoid matching packages with the same name prefix
...
(e.g. "teTeX" and "teTeX-share"). Patch is based on a suggestion by
Hubert Feyrer, fixes PR pkg/8219.
1999-08-19 07:17:35 +00:00
tron
ad6d07bbfa
Message files in binary packages are not displayed with more(1).
1999-07-28 10:07:05 +00:00