Commit Graph

2607 Commits

Author SHA1 Message Date
ws
2cf75c4c03 Add a utility to allow access to the partitions of a
MBR labeled disk (i.e. a disk partitioned by fdisk)
on any platform (including extended partitions).
1998-11-16 18:44:25 +00:00
abs
b0ebb38178 momentarily -> in a moment, to avoid ambiguity. 1998-11-13 22:44:17 +00:00
thorpej
e22f339ee7 Direct the user to use nfsstat to print nfs statistics. 1998-11-13 20:56:21 +00:00
thorpej
54ac7be242 Implement support for the vfs. toplevel. 1998-11-13 20:16:49 +00:00
hubertf
ba73896f0c Fix some bugs discovered tonight when installing on a fresh 1.3.2
machine:
 - create /var/db/pkg if not there
 - fix wrong handling of findmatchingname() return code, resulting
   in missing /var/db/pkg dir being interpreted as match found
 - only move +BUILD_VERSION and +BUILD_INFO files if they're
   actually present (old pkgs don't have them!)
1998-11-07 23:16:50 +00:00
christos
f4e84d3075 PR/6409: Martin Husemann: /etc/exports parsing breaks if file has empty lines. 1998-11-07 18:31:36 +00:00
is
f12b956e84 Allow changing of formerly empty passwords. 1998-11-06 13:07:18 +00:00
christos
e091e64548 Namespace protection against MAXUID etc. 1998-11-03 15:14:40 +00:00
frueauf
d09e131d17 Don't mention /var/yp/yppasswdd.log, nothing supports it. Fixes pr 6393
by Martin J. Laubach and pr 5704 by Geoff Wing.
1998-11-03 10:33:23 +00:00
christos
5b514fad6f include fcntl.h to get O_RDONLY; our headers include too much stuff. 1998-11-02 22:40:11 +00:00
christos
a8fd643677 free line returned by fparseln(). 1998-11-02 15:38:26 +00:00
kim
be631b22d4 Type mismatch in declaration... NOT (reverted previous change). 1998-11-02 04:00:24 +00:00
kim
e756534f00 Renamed USE_VMAILER to NO_SENDMAIL 1998-11-02 03:32:03 +00:00
christos
337e834927 Initialize struct statfs properly while parsing each line. 1998-11-01 18:30:26 +00:00
lukem
5e14541b5b use YPREFIX 1998-11-01 03:51:16 +00:00
hwr
87caa3339a Fix some Typos. 1998-10-31 13:07:02 +00:00
matt
e09bc9ea4d Use CPPFLAGS+= for -I addition, not CFLAGS+= 1998-10-30 16:55:13 +00:00
ws
e07c836847 Bail out instead of core-dumping if we don't understand the port range operator. 1998-10-30 15:42:57 +00:00
christos
bfef833a84 fix the size_t printf and initialize lineno. 1998-10-29 14:13:27 +00:00
christos
11cf3e1970 - KNF, remove extraneous casts
- split up parsing code
- centralize malloc checking
- use fparseln.
1998-10-29 12:57:02 +00:00
ross
5a7c45f748 Fix two ancient bugs involving netgroups where mountd may try to free(3)
a string constant in one place and a null char ** in another.  Why the
recent rather minor changes by Christos uncovered these bugs after so much
time is a mystery to me.
1998-10-29 00:12:11 +00:00
agc
48b4d2e2ba Instead of ignoring any SIGINTs when cleaning up, allow them. The
user might actually know better, just this once.
1998-10-27 19:27:17 +00:00
agc
266128247c Always tell the user about the temporary directory we're about to delete. 1998-10-26 18:01:22 +00:00
agc
3fdf3a6fae Modify pkg_create to recognise Build Information and Version files, when
creating packages, and modify pkg_add to copy the files when a binary
package is added. This preserves the fine-grained version information in
a binary package, and also the options with which the binary package was
built.
1998-10-26 17:39:20 +00:00
hubertf
ee768386ba s/freebsd/netbsd/, pointed out by Heiko Rupp 1998-10-26 11:35:00 +00:00
frueauf
26adfcb85a Fix grammatical error, closes pr 6105 by Mason Loring Bliss. 1998-10-24 19:54:44 +00:00
christos
dd9db0b0d4 Our MD4Update takes number of bytes not bits. This should fix NT authentication 1998-10-24 18:14:13 +00:00
agc
ff77ebb33f Add a -B option to pkg_info to print out the "Build Information" for
packages.
1998-10-21 09:54:09 +00:00
matt
f8bd2123f3 vax -> __vax__ 1998-10-20 01:48:14 +00:00
agc
e758d0c608 Make the new symlink relative to the name of the symlink, rather than
the target.
1998-10-19 20:15:24 +00:00
perry
33b847b7b8 Don't build sendmail if USE_VMAILER is defined in mk.conf.
This is a temporary kludge to make it easier for vmailer users not to
accidently blow away vmailer when building the world.
1998-10-18 01:06:31 +00:00
christos
c5b62f45b1 - rename err -> herr so that we don't conflict with libc
- KNF
- use herr when opening the files too, producing a more useful message.
1998-10-16 14:27:17 +00:00
drochner
452c73a1a2 Prevent sscanf() from overflowing its output buffer(s) if the input
string contains a hostname longer than 255 chars.
Truncates silently now - still better than crashing.
1998-10-15 12:34:21 +00:00
mycroft
4dadf81abe Add a config file for minbar/cvs.fi.
Extract common config switches into a separate file.
1998-10-15 10:24:26 +00:00
tron
f3b515c1ec Put back RCS Ids which got clobbered during import. 1998-10-14 20:56:49 +00:00
kim
98c529f1c2 Type mismatch in declaration. 1998-10-14 08:42:21 +00:00
agc
9aea3f2ecb Add -b argument to pkg_info to display the +BUILD_VERSION file for the
binary package, should it exist.
1998-10-13 17:08:28 +00:00
agc
67f5c7183e Get rid of YES and NO definitions. NO was defined but never used.
YES was defined, and one variable was set to YES.  However, it was
never checked, just non-zero comparison was used.
1998-10-13 10:05:38 +00:00
agc
5e8df8cb74 Fixes for Alpha, from Hideo MASUDA (h-masuda@jm3spa.felix.or.jp), in
PR bin/6284, slightly munged about for platforms which aren't LP64.

Also, don't use hardcoded strings (or their lengths) when we've
already defined them in a common header file.
1998-10-13 10:00:09 +00:00
aidan
e04cec137b Allow quote-escaping of environment variable names so that they may contain
spaces again.
1998-10-12 22:15:47 +00:00
agc
959d0a0cde + Remove obsolete and unused string functions.
+ Fix a bug introduced when the package name comparison routines were moved -
alternate matching now completes and works properly.
+ Add -R argument to pkg_create, which re-orders any directories in the
generated PLIST into reverse alphabetic order.
+ Add -l argument to pkg_create, which checks that any symbolic links in
the package are relative-to-$PREFIX pathnames, rather than full pathnames.
+ General cleanup elsewhere.
1998-10-12 12:03:24 +00:00
kim
b894c055c6 Before running "rm -rf" on a directory chmod the directory and its parent
to u+rwx to make our chances of success better.  The modes for directories
are reset at the end of a sup run, so we don't need to worry about that.

This possibly might mess up the mode of the parent of the top-level dir,
if the top-level changed to a non-directory.  This is probably rare enough
not to care too much about.

XXX: Should probably chmod the containing directory for each non-directory
removal as well, so there wouldn't be complaints about them.  Please feel
free to send in your opinions on that...
1998-10-12 05:19:48 +00:00
scw
cae1a093d5 Quell a compiler warning introduced by the last change. 1998-10-11 10:27:46 +00:00
mrg
f2fb63efda add support for 4.4BSD file flags. we take a `flags=xxx' parameter,
using the same style of naming as chflags, ls & xinstall use, plus an
additional `none' to turn off a default setting.
1998-10-10 07:50:27 +00:00
agc
7bdbc205e5 Use the same table for input and output of PLISTs. 1998-10-09 19:51:21 +00:00
tron
d7d750d262 Fix build problems if object directories are used. 1998-10-09 19:30:02 +00:00
agc
9daf7cc9b2 More cleanup - various bits of KNF.
Use another table when parsing PLIST files - makes this much more extensible.
1998-10-09 18:27:31 +00:00
agc
16ae233008 Some minor KNF.
Lots more to be done.
1998-10-09 11:16:57 +00:00
agc
3679178e31 Make pkg_info a tad more extensible by using a table to hold the strings
to be printed. Also, don't error out if any unexpected input is read -
just log the error, and keep on going.
Fix a slight bug along the way - if there was an @option in the package,
then pkg_info would die.
1998-10-09 11:05:58 +00:00
agc
82f2922229 Fix a bug in pkg_info -f with @pkgcfl entries. 1998-10-09 09:35:39 +00:00