Commit Graph

5719 Commits

Author SHA1 Message Date
jonb
e2fdabc65c Fix the way $EDITOR is started so the variable can have flags in addition
to the name of the binary to run.
2002-12-05 22:54:45 +00:00
bouyer
fecc966e36 Add new command-line flags, which ease edquota use in bach scripts:
- -f, which allows to restrict edquota to only one quota-enabled filesystem
- -s and -h, which allows to set soft and hard limits respectively, without
  the need to edit a file.
2002-12-04 21:01:13 +00:00
rtr
f88de63c1b Document additional line required to emulate sendmail using postfix.
Without line error will be appended to mailed output of daily script.
Solves part of PR bin/18800.
Patch provided by Ryo HAYASAKA <ryoh@jaist.ac.jp>
2002-12-01 11:35:33 +00:00
lukem
4d5f70e6b6 add DPADD for ${LIBUTIL} 2002-11-30 06:04:57 +00:00
lukem
6e171ecdf8 clean up {LD,DP}ADD. no need to set WARNS=1 here 2002-11-30 06:00:42 +00:00
lukem
d348d3d723 tweaks for fparseln(3) move from libutil to libc:
- remove #include <util.h> if nothing else needed it
- remove LDFLAGS+=-lutil if nothing else needed it
2002-11-30 03:10:53 +00:00
lukem
d55058d0cc oops; libutil is (currently) needed by ../mtree/spec.c for fparseln 2002-11-30 02:09:44 +00:00
lukem
f9b27e4de2 - remove -lutil; nothing here needs it
- no need to reference ../../bin/dd now that strsuftoll(3) is in libc
2002-11-30 02:06:51 +00:00
christos
7fc3700a4c ops_autofs.c is gone. 2002-11-29 23:25:06 +00:00
christos
1339a09219 catch up with 6.1b1 2002-11-29 23:23:59 +00:00
lukem
d08243260c convert from strsuftoull() (from ../../bin/dd) to strsuftoll(3) in libc 2002-11-29 13:06:32 +00:00
grant
0a51ab8aee replace use of alloca() with the more portable malloc()/free(). 2002-11-29 08:31:06 +00:00
grant
58306652d2 avoid non-constant initializer errors by changing hack to workaround
gcc warning to a slightly different hack.
2002-11-29 02:07:34 +00:00
taca
445a837973 Add 'p' option to TARX_CMD's argument for preserving file mode.
This fixes the problem that pkg_add(1) drops setuid/setgid bit.

This problem occurs on pax(1) based tar environment.
pkgtools/pkg_install should be fixed, too.
2002-11-28 23:52:31 +00:00
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
fvdl
3658e0287e Add x86_64 if clause to get correct types. 2002-11-25 22:33:39 +00:00
jdc
99d5546aa4 Add a call to use_default_colors(). 2002-11-25 09:11:35 +00:00
fvdl
03adc171d1 Don't explicitly add -Wall -Werror -g to CFLAGS, the .mk infrastructure
already takes care of this, and this makes NOGCCERROR builds fail.
2002-11-24 21:54:38 +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
simonb
1bee87041f Add CWARNFLAGS+=-Wno-format-y2k so this builds again with the pc532
toolchain.
2002-11-20 05:33:58 +00:00
itojun
a426f44395 sync w/ kame source from 2002/11/20.
- plug some memory leaks
- correct phase 2 proposal reqid handling
- check for fd_set overrun
2002-11-20 03:35:57 +00:00
atatat
15d85dcb14 Alter config so that it emits a config_time.src file (the source file
for config_time.h) that contains, for example:

/* Sun Nov 17 05:37:51 2002 GMT */
#define CONFIG_TIME     1037511471
#define CONFIG_YEAR     2002
#define CONFIG_MONTH    11
#define CONFIG_DATE     17
#define CONFIG_HOUR      5
#define CONFIG_MINS     37
#define CONFIG_SECS     51

These values represent the current time as of when config was last
run, so that functions (eg, inittodr()) can use these values instead
of being updated once every year or so with the "current" time.

The associated modification to Makefile.kern.inc makes config_time.h
depend on this depend on this and the kernel Makefile, so that
granularity of kernel builds is not reduced.
2002-11-19 04:29:19 +00:00
atatat
399c5e40ce Define KERNEL_BUILD at the top of the emitted kernel Makefile. This
means that the appropriate combination of checking for KERNEL_BUILD,
RELEASEDIR, DESTDIR, and/or BSD_PKG_MK, can allow the setting of COPTS
or CFLAGS (or anything else) depending on the specific task at hand.
Personally, I think that per-kernel install rules are the best part.
2002-11-19 04:24:16 +00:00
thorpej
42ea935cff Add a "package" keyword, which makes it somewhat easier to add 3rd
party software packages to the kernel.  The statment:

package "../path/to/some/directory/files.package"

is equivalent to the sequence:

prefix "../path/to/some/directory"
include "files.package"
prefix
2002-11-17 23:36:19 +00:00
thorpej
aceaa7e184 When emitting -I directives for prefix'd paths, use EXTRA_INCLUDES
rathern than INCLUDES, so that it works with sys/conf/Makefile.kern.inc.
2002-11-17 22:10:05 +00:00
wiz
c59faa6fa4 Bump date. Sort options. New sentence, new line. Other minor fixes. 2002-11-17 01:26:30 +00:00
dyoung
8804a2c4e6 Removed deprecated flags from wiconfig(8) manual page. 2002-11-16 22:56:06 +00:00
dyoung
3e30600b49 Add flag -g, set fragmentation threshold. Also, query RSSI->dBm
conversion constant.

Remove flags

  -c Create IBSS: use ifconfig wi0 mediaopt adhoc, which turns on the
                  802.11-compliant behavior
  -e enable WEP: use ifconfig wi0 nwkey ...
  -f set channel: use ifconfig wi0 chan ch
  -k set WEP keys: use ifconfig wi0 nwkey ...
  -n set desired SSID to join in IBSS mode: use ifconfig wi0 nwid id
  -p set the desired port type: use ifconfig wi0 mediaopt ...
  -q set SSID to create: use ifconfig wi0 nwid ...
  -t set TX rate: ifconfig wi0 media ...
  -A set authentication type: ifconfig wi0 nwkey ...
  -S set maximum sleep interval: ifconfig wi0 powersavesleep ...
  -P enable power management: ifconfig wi0 powersave
  -T select WEP key for transmitted packets: ifconfig wi0 nwkey n:k1,k2,k3,k4
  -Z unimplemented

which duplicate ifconfig functions. This leaves flags

  -a access point density
  -o print out statistics counters
  -s set station name for Lucent WaveMANAGER software
  -M enable/disable "microwave oven robustness"
  -R enable/disable roaming function

which affect wi(4)-specific parameters, and flags

  -D scan once for access points
  -d maximum data length
  -m set MAC address
  -r set RTS/CTS threshold

which affect 802.11-standard parameters and activities (so may not
belong in wiconfig, in the long-term). The new flag, -g, also
affects an 802.11 parameter.
2002-11-16 22:39:57 +00:00
itojun
07780ab297 die if strdup failure 2002-11-16 15:43:52 +00:00
itojun
9593086444 use strlcpy 2002-11-16 04:34:13 +00:00
itojun
881cb512fa strncpy -> strlcpy to ensure string termination 2002-11-16 04:29:01 +00:00
itojun
7bd25b06e9 die if out-of-range address is specified to -p 2002-11-16 04:20:42 +00:00
itojun
343d3d8f80 die if out-of-range uid/gid is specified. 2002-11-16 03:59:36 +00:00
itojun
240664d004 strto* audit. 2002-11-16 03:36:17 +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
enami
69a28166e0 Fix .Nm usage. 2002-11-09 12:10:48 +00:00
agc
d6b0aed068 When deleting a user with preservation, use a password of
"*************" rather than a single asterisk - it's just as difficult
to hash to the longer password since the asterisk character itself is
not in its alphabet, and pwd_mkdb now thinks it's a valid DES password.
2002-11-08 11:53:20 +00:00
agc
7843f87c3d Factor out some common code. 2002-11-08 11:44:37 +00:00
rafal
ecf0596577 Convert to use getifaddrs(3) to get interface names; this is mostly removal
of grotty code to unpack data structures returned by the SIOCGIFCONF ioctl.
2002-11-08 03:40:28 +00:00
fvdl
d4f83aa2bb Use a non-blocking SVC for TCP connections. 2002-11-08 00:14:50 +00:00
jrf
2547287233 Corrected the comment and error message. 2002-11-07 21:06:04 +00:00
jrf
fb826ed9ad Detect NULL characters in a config file and error out. 2002-11-07 20:07:07 +00:00
jdolecek
01188cb460 constify structs, print also pipes for -f 2002-11-06 09:32:26 +00:00
thorpej
54a7ee3470 Allow more than one interface to be specified on the command line. 2002-11-05 14:18:04 +00:00
grant
f437cb0639 s/anyways/anyway/ 2002-11-05 07:34:31 +00:00
thorpej
314b43faa0 For ELF, set d->loadaddr to 0, as we do for a.out.
On both my 4000/60 and SIMH, a boot program NOT loaded at 0 consistently
is loaded +0x5200 too high in memory, which which causes a fatal trap back
into the console even before the self-relocating code can run.  "wHATEver."
2002-11-05 06:08:29 +00:00
thorpej
1a49eb0ca9 Make sure to fill in the load address in the dest. MOP header. 2002-11-05 05:06:05 +00:00
thorpej
ac17ec7137 Show the load address in hex. 2002-11-05 04:54:26 +00:00
enami
0ad4042cc2 ... and fix typos which makes wrong display. 2002-11-02 06:35:30 +00:00