10482 Commits

Author SHA1 Message Date
matteo
ecf1277aef MFC:
Honour the "uuid" directive in adduser.conf

      src/usr.sbin/adduser/adduser.sh: rev 1.26 -> 1.27

PR:		conf/87914

Approved by:	philip (mentor, implicit)
2006-01-25 07:43:48 +00:00
gad
751980ab6f MFC 1.103: Improve the handling of errors that might happen with the fork()
done to compress files after they have been rotated.
2006-01-25 04:10:59 +00:00
joel
2d6cdc2b7e MFC: s/5.5/6.0/ in HISTORY section. 2006-01-24 17:02:39 +00:00
ceri
7cebe2cfa5 MFC revision 1.150:
On i386, 7.0 requires 106MB on /usr.  6.0 requires 101MB.
  Bump USR_MIN_SIZE to 128MB, so that an auto-layout install won't fail
  due to /usr being too small.
2006-01-24 15:51:33 +00:00
brooks
ebafce1b5d MFC the ability to restrict deletions to a particular inteface in the -a
case.
2006-01-24 05:39:22 +00:00
cperciva
a9136f59b5 MFC rev 1.5:
Mention that the random time slept by "portsnap cron" is between 1 and
  3600 seconds.
2006-01-21 09:56:28 +00:00
ceri
2a7cb7f0ba MFC revision 1.133:
Preserve any additional arguments to ifconfig that were specified in
  the DHCP case too.
2006-01-20 18:46:06 +00:00
harti
2c80e8f4d2 MFC: BEGEMOT_1_11 and vendor patches:
config.c: 1.1.1.7
	main.c: 1.1.1.10, 1.1.1.11
	snmpd.config: 1.1.1.6
2006-01-20 16:34:37 +00:00
harti
03e2bbe4b2 MFC: BEGEMOT_1_11 and vendor fixes:
mibII.c: 1.1.1.9
	mibII_interfaces.c: 1.1.1.7
2006-01-20 16:27:36 +00:00
ceri
2f6c15280f MFC revision 1.413:
Add ntp.cgi.cz.
2006-01-20 13:03:13 +00:00
ceri
4fd8a7fa17 MFC revisions 1.36 and 1.37:
r1.36:
	  Correct obsolete chown syntax.

	r1.37:
	  If sysinstall was used to configure an anonymous FTP area, it
	was possible for information to be copied from the group file to
	the group file in the FTP area.  This patch based on a patch
	from Zak Johnson <zakj at nox dot cx>.
2006-01-20 13:00:32 +00:00
flz
491b3507c0 MFC:
Add -K option to pkg_add and pkg_info.
  This option saves packages to PKGDIR (if defined or current directory by default)
  as they are downloaded.
  Silent a warning when -n is used and package has a +DISPLAY file.

      src/usr.sbin/pkg_install/info/perform.c: rev 1.53 -> 1.54
      src/usr.sbin/pkg_install/add/main.c: rev 1.65 -> 1.66
      src/usr.sbin/pkg_install/lib/lib.h: rev 1.56 -> 1.57
      src/usr.sbin/pkg_install/info/pkg_info.1: rev 1.55 -> 1.56
      src/usr.sbin/pkg_install/add/add.h: rev 1.12 -> 1.13
      src/usr.sbin/pkg_install/add/pkg_add.1: rev 1.68 -> 1.69
      src/usr.sbin/pkg_install/add/perform.c: rev 1.78 -> 1.79
      src/usr.sbin/pkg_install/info/info.h: rev 1.28 -> 1.29
      src/usr.sbin/pkg_install/lib/url.c: rev 1.4 -> 1.5
      src/usr.sbin/pkg_install/info/main.c: rev 1.48 -> 1.49
2006-01-16 19:51:41 +00:00
delphij
68b438857e MFC pidfile(3) function, and convert several applications to make use
of it.

Bump __FreeBSDversion for the MFC.

Discussed with:	pjd
2006-01-15 17:50:38 +00:00
pav
b68f1c7b71 MFC 1.16: fix: documentation for -m option was inserted halfway thru the text
of -l option.
2006-01-13 20:02:56 +00:00
cperciva
dad028c05c MFC:
Make "portsnap extract" automatically create ${PORTSDIR} if necessary
  instead of complaining that "Directory does not exist or is not
  writable".
2006-01-13 00:53:53 +00:00
flz
384cb78489 MFC:
Fix -r causing SIGSEGV due to parse_args() being called before font_current is set.

      src/usr.sbin/kbdmap/kbdmap.c: rev 1.4
2006-01-12 01:26:34 +00:00
krion
742f52a8cb MFC: add/extract.c:1.44 create/perform.c:1.82 create/pkg_create.1:1.70 create/pl.c:1.28
info/show.c:1.40 lib/plist.c:1.51

  date: 2006/01/07 22:10:57;  author: krion;  state: Exp;  lines: +10 -3
  When using @cwd %%FOO%%, we must ensure to return in the original
  prefix later, but doing so with @cwd %%OLDPREFIX%% (having
  PLIST_SUB+="OLDPREFIX=${PREFIX}") hardcodes the value in the packing
  list. That's not really a problem when dealing with ports but that's
  a problem with packages since pkg_add -p option only overrides the
  first @cwd occurrence.

  This patch allow us to use @cwd without any argument. If no
  directory argument is given, it will set current working directory
  to the first prefix given by the @cwd command.

  PR:             bin/77212
  Submitted by:   flz
2006-01-10 22:17:08 +00:00
ceri
f62c4a36d2 MFC revision 1.82:
inetd(8) requires that /etc/netconfig be present, and contain entries
  for each of udp and tcp (and their IPv6 equivalents when INET6 is
  enabled).  Note that dependency here.

  PR:             docs/90435
  Submitted by:   Dmitry Kazarov <kazarov at mcm dot ru>
  Pointed out by: Daniel Gerzo <danger at rulez dot sk>
2006-01-07 13:57:58 +00:00
ceri
ac30b2fccc MFC revision 1.364:
An i386 machine with 32MB of RAM requires a 700MB disk for auto-layout to
  succeed, whilst an i386 with 256MB of RAM requires more.  Up the amount
  of disk hinted at as a minimum requisite for auto-layout.
2006-01-06 20:10:41 +00:00
ariff
3c58551f23 MFC:
- Fix possible memory leak due to repetetive strdup(3) without matching
     free(3).
   - print_recsrc() should honor shortflag and give appropriate output for
     later consumption by /etc/rc.d/mixer. This will ensure that recording
     device selections survived across reboot. Output everything to stdout
     instead of stderr.
2006-01-04 00:32:14 +00:00
marcel
14fe1a0c49 MFC standardization of the ELF types and update of the ELF constants:
lib/libc/gen/nlist.c:1.19
	libexec/rtld-elf/rtld.c:1.108
	libexec/rtld-elf/rtld.h:1.36
	libexec/rtld-elf/alpha/reloc.c:1.21
	libexec/rtld-elf/amd64/reloc.c:1.16
	libexec/rtld-elf/ia64/reloc.c:1.16
	libexec/rtld-elf/sparc64/reloc.c:1.11
	share/man/man5/elf.5:1.32-1.33
	sys/alpha/alpha/elf_machdep.c:1.20
	sys/amd64/amd64/elf_machdep.c:1.24
	sys/boot/common/bootstrap.h:1.42
	sys/boot/common/load_elf.c:1.33
	sys/boot/common/load_elf_obj.c:1.2
	sys/boot/common/reloc_elf.c:1.2
	sys/ia64/ia64/elf_machdep.c:1.21
	sys/kern/link_elf.c:1.87
	sys/kern/link_elf_obj.c:1.90
	sys/sparc64/sparc64/elf_machdep.c:1.20
	sys/sys/elf32.h:1.9-1.10
	sys/sys/elf64.h:1.11-1.13
	sys/sys/elf_common.h:1.16
	sys/sys/elf_generic.h:1.7
	sys/sys/imgact_elf.h:1.28
	sys/sys/linker.h:1.40
	usr.bin/elf2aout/elf2aout.c:1.10
	usr.bin/elfdump/elfdump.c:1.13
	usr.sbin/crunch/crunchide/exec_elf32.c:1.15
	usr.sbin/kldxref/ef.c:1.9
	usr.sbin/kldxref/ef.h:1.6
	usr.sbin/kldxref/ef_amd64.c:1.3
	usr.sbin/kldxref/ef_i386.c:1.3
	usr.sbin/kldxref/ef_obj.c:1.4
	usr.sbin/kldxref/ef_powerpc.c:1.3
	usr.sbin/kldxref/ef_sparc64.c:1.4-1.5
2005-12-30 22:13:59 +00:00
sobomax
7d384c2f8a MFC: provide example of how to make two keyboards working at the same time
using kbdmux(4).
2005-12-29 20:15:27 +00:00
sobomax
52480b0ed0 MFC: fix logic error which causes <null> to be printed instead of the
actual file name in error message.
2005-12-29 06:04:51 +00:00
glebius
9c2a5c3b76 MFC:
Add a knob to suppress logging of attempts to modify
  permanent ARP entries.

  Submitted by:   Andrew Alcheyev <buddy telenet.ru>
2005-12-28 13:33:41 +00:00
wilko
ae84954d32 Add an example for WEP.
OK-ed by: sam
2005-12-25 22:31:54 +00:00
dougb
83dcdc924b MFC 1.52, do not delete stale /etc/rc.d files by default 2005-12-21 09:04:24 +00:00
pjd
407c7742ed MFC: Move setkey(8) from usr.sbin/ to sbin/ and make rc.d/ipsec to run
before rc.d/mountcritremote, so it is possible to mount /usr/ over
	IPsec.

Discussed on:	arch@
Suggested by:	Tomasz Pi³at <tomasz.pilat@axelspringer.pl>
Prodded by:	dougb
2005-12-15 23:30:12 +00:00
des
f180e73405 MFC: (1.25, 1.26) whitespace cleanup, parser improvements 2005-12-14 09:13:46 +00:00
emax
b1877750af MFC: Teach sdpd(8) to check peer's credentials before accepting request to
register, remove or change services in the local database. For now only
accept the request if the peer has effective user ID the same as 'root'
user ID.
2005-12-13 00:38:28 +00:00
emax
fc03c2855d MFC: Fix typo in rfcomm_pppd(8) man page.
Noticed by:	Ronald Klop
2005-12-13 00:31:03 +00:00
cperciva
4ba093419a MFC revision 1.5:
Make "missing dependency" errors more useful by indicating which port
  is trying to depend upon the non-existent port.

  Suggested by:   kris
2005-12-05 05:07:44 +00:00
philip
673143134c MFC: moused.c r1.71 and r1.74
moused.8 r1.54 to r1.57

moused.c r1.71:
  Add a -H option to enable horizontal virtual scrolling, much like -V for
  vertical virtual scrolling.  This also respects -U for the distance.

moused.c 1.74:
  Add an option to stop 'mouse drift' in some defective/cheap mice.  This
  stops the pointer slowly wandering away on its own in an annoying way when
  the mouse isn't physically moved.

moused.8:
  Documentation of above and ru's mdoc magic.

Procrastinator of the year:	philip
2005-12-04 00:48:33 +00:00
philip
f8de49e67d MFC r1.7:
Check for altq presence during module init, and allow module to work even if
  altq is not present (just disable the altq bits in that case).
2005-12-03 14:45:05 +00:00
philip
da676c8632 MFC r1.85:
Preserve /etc/sysctl.conf when doing a binary update.  This prevents, for
  instance, the dreaded shared memory problem in PostgreSQL coming back to
  haunt you after a binary update.
2005-12-03 14:37:24 +00:00
ru
4603995659 MFC: "nocpu" and "nomakeoptions" directives. 2005-12-01 17:43:09 +00:00
krion
7ba5cae87f MFC: pkg_info.1:1.55
date: 2005/11/23 10:31:59;  author: krion;  state: Exp;  lines: +4 -1
  Document PKG_PATH enviroment variable.

  Prodded by:     Mark Andrews <Mark_Andrews AT isc DOT org>
2005-11-26 20:58:43 +00:00
glebius
d4826e3f0a MFC 1.18 - 1.21:
- Document last change to ARP behavior.
  - Document several undocumented sysctl variables.
  - Fix spelling of few diagnostics.
  - Improve the documentation of "proxyall" knob, somewhat: we do not
    proxy for hosts that are reachable through the same interface the
    request came in from.  This feature is mainly for hosts reachable
    through some P2P link, e.g. the gif(4) tunnel.
2005-11-25 14:40:38 +00:00
cperciva
8cc04de74d Synchronize with version of portsnap in HEAD:
1. make_index no longer coredumps if input has zero lines.
2. phttpget no longer enters an infinite loop if the TCP connection is
closed while phttpget is reading HTTP headers.
2005-11-25 12:56:51 +00:00
rwatson
206b0b662e Merge pstat.c:1.96 from HEAD to RELENG_6:
Print (total - used) as the amount of available swap for a swap device
  when printing swapinfo output, rather than (total), as that is (strictly
  speaking) more accurate.

  Pointed out by: Rob <spamrefuse at yahoo dot com>
2005-11-20 00:40:03 +00:00
krion
b84a59c16c MFC: add.h:1.12, main.c:1.65, perform.c:1.78, pkg_add.1:1.67
date: 2005/11/12 11:45:01;  author: krion;  state: Exp;  lines: +9 -2
  Add -P flag, it does the same as the -p option, except that the
  given prefix is also used recursively for the dependency packages,
  if any.  If the -P flag appears after any -p flag on the
  command line, it overrides it's effect, causing pkg_add to use the
  given prefix recursively.

  PR:             bin/75742
  Submitted by:   Frerich Raabe <raabe AT kde DOT org>
2005-11-17 18:08:58 +00:00
ru
bcaa70d1b6 MFC: 1.30: The default fill byte is 0xf6, not 0xf5. 2005-11-16 08:36:10 +00:00
ru
f3970f4969 MFC: 1.10: Remove now redundant NO_SHARED. 2005-11-16 08:35:22 +00:00
ru
2f38f8203d MFC: 1.7: Style. 2005-11-16 08:33:02 +00:00
ru
2712a972a2 MFC: 1.337: Sort SUBDIR. 2005-11-16 08:31:52 +00:00
thompsa
a44878b29e MFC r1.59, List IFT_BRIDGE as a valid type. 2005-11-14 22:25:33 +00:00
cperciva
c80184e2d6 Merge HEAD's portsnap into RELENG_6. Significant changes are:
1. phttpget (and thus portsnap) now understands the HTTP_PROXY_AUTH
environment variable and basic HTTP proxy authentication.
2. portsnap.8 now contains a privacy notice.
3. portsnap can now ignore parts of the tree (similar to cvsup
"refuse" directives).
4. portsnap reacts sensibly if host(1) does not exist.
2005-11-13 06:45:36 +00:00
krion
fcf279ed57 MFC: create.h:1.26, main.c:1.37, perform.c:1.81, pkg_create.1:1.69
date: 2005/11/08 20:48:26;  author: krion;  state: Exp;  lines: +1 -0
  Introduce 3 new options for pkg_create(1), -x for using basic regular
  expressions for pkg-name, -E for extended regexps and -G for exact matching.
  These new options are only meaningful when using the -b flag of pkg_create(1),
  and that the default for the -b parameter is now to do glob matching, as in
  other pkg_foo utilities that support package patterns.

  Submitted by:   mux
2005-11-11 08:08:04 +00:00
suz
4153f2a84a MFC Rev.1.25
changed syslog level to more appropriate ones
2005-11-05 10:57:41 +00:00
suz
59d51fc4e5 MFC: sync with KAME in the following points:
- removed compilation warnings
  - suppress a redundant error message when a default-router-list is empty

  Revision  Changes    Path
  1.18      +4 -1      src/usr.sbin/ndp/ndp.c
2005-11-05 10:56:06 +00:00
suz
038918b0d7 MFC: added an ioctl option in kernel so that ndp/rtadvd can change some NDP-related kernel variables based on their configurations (RFC2461 p.43 6.2.1 mandates this for IPv6 routers)
Revision  Changes    Path
  1.56      +1 -0      src/sys/netinet6/in6.c
  1.26      +1 -0      src/sys/netinet6/in6_var.h
  1.57      +28 -0     src/sys/netinet6/nd6.c
  1.17      +21 -8     src/usr.sbin/ndp/ndp.8
  1.17      +31 -2     src/usr.sbin/ndp/ndp.c
  1.25      +30 -0     src/usr.sbin/rtadvd/config.c
2005-11-05 10:50:09 +00:00