Commit Graph

2816 Commits

Author SHA1 Message Date
kleink
882fe49366 Add KNF-style RCS Id at start of file. 1999-03-14 01:42:20 +00:00
kleink
afe8703841 * Use id_t instead of making guesses about the definitions of [gu]id_t.
* Declare internal helper functions static.
* G/C unused globals and declarations.
1999-03-14 01:39:48 +00:00
lukem
7e1c62baf8 set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp> 1999-03-13 23:17:46 +00:00
lukem
a3b1d07c9b set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp> 1999-03-13 23:16:55 +00:00
drochner
04937535d2 cleaner error message, from "Soren S. Jorvang" <soren@t.dk> 1999-03-13 17:25:55 +00:00
christos
d961b8d40f PR/7133 Mathias Drohner: Add insecure flag.
Also use err() and __progname instead of argv[0] and correct usage
string.
1999-03-12 18:06:12 +00:00
tron
137c04ccf1 Fix string handling bugs introduced by last patch. 1999-03-12 17:32:20 +00:00
erh
55f3a4b91b Fix .Bl/.El imbalance. 1999-03-10 09:29:08 +00:00
erh
9d7d8174c5 Add missing .El line. 1999-03-10 08:33:15 +00:00
erh
65e6435539 Add missing .El lines. 1999-03-10 08:25:37 +00:00
erh
0f61c6801e Add missing .El line. 1999-03-10 08:17:35 +00:00
erh
ab43bc629f Add missing .El line. 1999-03-10 08:15:28 +00:00
mrg
84e08b1a6a use this namespace.h to redefine the bits of libresolv we need, to avoid clashes with the resolver in libc. 1999-03-09 13:23:08 +00:00
agc
530dddb95a Define TAR_CMD and TAR_FULLPATHNAME, and use them in preference to
hardcoded strings "tar" and "/usr/bin/tar". This allows the package
tools to use GNU tar with a different name (it's often installed as
gtar), and from a directory other than /usr/bin.
1999-03-09 11:10:39 +00:00
agc
4a5e3913cb Include <fcntl.h>, so that the definitions for O_* are defined. 1999-03-09 10:01:12 +00:00
ross
eef3b62aca Missing .El. 1999-03-09 03:04:25 +00:00
hubertf
e23d146ee6 TAILQ_FIRST and TAILQ_NEXT are not available on NetBSD 1.3 and 1.3.1,
define them for now.
Also fix a (unjustified) "variable may be used uninitialized" warning.
1999-03-09 02:20:49 +00:00
hubertf
4db56769f5 Add -R flag (similar to -r but the other way 'round) 1999-03-08 00:20:21 +00:00
mycroft
d77575d3c8 Clean up SYNOPSIS formatting. 1999-03-07 11:58:22 +00:00
mycroft
9b3b0907e1 Don't use .Po/.Pc; this creates a diversion which overflows. 1999-03-07 04:49:50 +00:00
mycroft
30d4082b82 Fix minor formatting error. 1999-03-07 04:05:44 +00:00
mycroft
18d04fc573 Fix minor formatting error. 1999-03-06 22:50:14 +00:00
hubertf
2428218e4b update comment for findmatchingname() 1999-03-06 02:16:25 +00:00
mycroft
867aa13949 Remove bashism, so this actually works. 1999-03-05 22:37:43 +00:00
mellon
0c19a76c66 Add some documentation on customization. 1999-03-05 18:10:36 +00:00
mellon
83ec6e889e Merge with 2.0b1pl18 1999-03-05 17:52:44 +00:00
mellon
9c2d0f125c 2.0 Beta 1 Patchlevel 18 1999-03-05 17:43:43 +00:00
mycroft
8336bf2055 Fix the order so allmasquerade works. 1999-03-05 01:32:11 +00:00
mycroft
7218bf528e More vanity domain stuff... 1999-03-05 01:10:33 +00:00
hubertf
dc7b712a59 Prevent printinv of empty "Requires:" section. 1999-03-04 01:45:22 +00:00
hubertf
7964a11f60 Do not only display the packages which require this package
(-> +REQUIRED_BY), but also show which package this package wants
installed (-> @pkgdep).
1999-03-04 00:35:05 +00:00
hubertf
5909aead8e Back out last fix to remove knowledge about LogDir from require_delete(),
because it wasn't in LogDir when it was enterred. :-/

XXX A better fix to this would be to put this save-and-restore-CWD back
in and also add it to recurse_require_find() and require_find(), but
this is too much action for nothing now.
1999-03-03 20:12:06 +00:00
hubertf
fe7b9b969f Add -O option to only delete things from the pkgdb, and do not touch
anything else of the package or it's files. To be used on "make reinstall"
by the buildsystem (quite exclusively).
1999-03-03 17:29:58 +00:00
christos
f81a7584c8 Add ELF for i386 and sparc (Andrew Gillham) 1999-03-03 12:26:07 +00:00
hubertf
9f766d7071 More helpful message on failure 1999-03-03 00:35:16 +00:00
hubertf
3667be3444 More helpful message on failure 1999-03-03 00:24:21 +00:00
agc
21fa5d1385 Cosmetic but annoying - no need to append a newline character in warnx()
string - it's done by warnx() itself.
1999-03-02 10:32:23 +00:00
hubertf
bae5f0c988 use mkdtemp also on 1.3I and up 1999-03-02 03:04:06 +00:00
hubertf
c9234a4571 - Put no assumptions into require_delete() on where the old CWD was
- Fix check for circular dependency
 - Most importantly: DO NOT remove the package if something depends
   on it, and -r isn't given!!!!! Without this change, pkg_delete was
   happily nuking away any package even if it had some dependencies.
1999-03-02 02:31:23 +00:00
agc
fc1bcfe208 Quieten braindead gcc 2.8.1 unused warning. 1999-03-01 12:11:42 +00:00
agc
d7c7ee9aba Include <fcntl.h> for the O_* definitions. 1999-03-01 12:06:57 +00:00
tron
f41d893cec Because the old bound check is used at several places we need to make
sure that the array is really NULL terminated. Fixes PR bin/7062.
1999-02-28 11:46:26 +00:00
pk
4bcb8b3a48 Correct precedence in calculation of storage for pollfds. 1999-02-28 11:30:18 +00:00
tron
925f506372 - Don't use static array hack if neither "-p" nor "-P" are used.
- Because the logsocket array is not NULL terminated use the entry number
  for bound checks.
1999-02-28 11:16:18 +00:00
tron
c87ec3954b Use correct expression "sizeof(char *)" instead of "sizeof(char **)"
to calculate memory size.
1999-02-28 11:03:35 +00:00
christos
974dcb4997 We have RAW_OPTIONS so enable them. 1999-02-26 22:43:03 +00:00
chopps
862b113538 remove strequal, strcmp provides the functionality we need 1999-02-26 17:04:13 +00:00
chopps
ad9eaac8ec add -r flag to delete all packages that require the user specified one 1999-02-26 10:49:30 +00:00
explorer
3004daca95 Allow non-root users to use ALIASES on real interfaces or on lo0. 1999-02-24 21:21:24 +00:00
mellon
e7b0bff792 Resolve conflicts in 2.0b1pl15 1999-02-24 04:14:34 +00:00