summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Add the BSD-licensed Citrus iconv to the base system with default offgabor2011-02-251-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | setting. It can be built by setting the WITH_ICONV knob. While this knob is unset, the library part, the binaries, the header file and the metadata files will not be built or installed so it makes no impact on the system if left turned off. This work is based on the iconv implementation in NetBSD but a great number of improvements and feature additions have been included: - Some utilities have been added. There is a conversion table generator, which can compare conversion tables to reference data generated by GNU libiconv. This helps ensuring conversion compatibility. - UTF-16 surrogate support and some endianness issues have been fixed. - The rather chaotic Makefiles to build metadata have been refactored and cleaned up, now it is easy to read and it is also easier to add support for new encodings. - A bunch of new encodings and encoding aliases have been added. - Support for 1->2, 1->3 and 1->4 mappings, which is needed for transliterating with flying accents as GNU does, like "u. - Lots of warnings have been fixed, the major part of the code is now WARNS=6 clean. - New section 1 and section 5 manual pages have been added. - Some GNU-specific calls have been implemented: iconvlist(), iconvctl(), iconv_canonicalize(), iconv_open_into() - Support for GNU's //IGNORE suffix has been added. - The "-" argument for stdin is now recognized in iconv(1) as per POSIX. - The Big5 conversion module has been fixed. - The iconv.h header files is supposed to be compatible with the GNU version, i.e. sources should build with base iconv.h and GNU libiconv. It also includes a macro magic to deal with the char ** and const char ** incompatibility. - GNU compatibility: "" or "char" means the current local encoding in use - Various cleanups and style(9) fixes. Approved by: delphij (mentor) Obtained from: The NetBSD Project Sponsored by: Google Summer of Code 2009
* Enable the check for negative permissions (the group on a file can't dobrooks2011-02-241-1/+1
| | | | | | something "everyone" can) by default. X-MFC after: never
* The new accounting file needs to be 644 so that unprivileged usersdougb2011-02-241-0/+1
| | | | can use lastcomm(1)
* Update how accounting log files are rotated.dougb2011-02-222-11/+38
| | | | | | | | | | | | | | | | The old version had a race between the time that the old file was cp'ed to acct.0 and the time that 'sa -s' was run that prevented the commands that occurred in the meantime from being backed up. It's also arguable that the old version was inefficient in using cp which can be a problem on a space-constrained system. This version avoids both problems, albeit it's considerably more complicated. The advantage of putting the log rotation in the rc.d script is that it can handle the _enable and _file questions without having to do gymnastics to discover either value in the periodic script. As a side effect of reviewing the rc.d script I cleaned it up a bit.
* Flesh out WITHOUT_GROFF support to DTRT.uqs2011-02-224-38/+54
| | | | | | | | | | | | A full featured groff is required during buildworld, so build it always and don't rely on it being present on the host system. vgrind(1) is tightly coupled to a roff processor and will not be built/installed when groff is disabled. Also much of the roff'ed documentation under share/doc will not be built/installed when WITHOUT_GROFF is defined. Reviewed by: ru (partial)
* Actually install the example Khelp module committed in r218545.lstewart2011-02-211-0/+2
| | | | | | Sponsored by: FreeBSD Foundation MFC after: 4 weeks X-MFC with: r218545
* Upgrade our copy of llvm/clang to r126079, from upstream's trunk.dim2011-02-201-1/+1
| | | | | This contains many improvements, primarily better C++ support, an integrated assembler for x86 and support for -pg.
* Add a note about AXFR of important zones being available from ICANNdougb2011-02-201-0/+5
|
* Import bsdinstall. This is meant to be (eventually in conjunction withnwhitehorn2011-02-181-0/+2
| | | | | | | | | | | | | | pc-sysinstall) a replacement for sysinstall in the 9.0 release and beyond. Currently supported platforms are sparc64, pc98, i386, amd64, powerpc, and powerpc64. Integration into the build system will occur in the coming weeks. Merging with pc-sysinstall will use this code as a frontend, while temporarily retaining the interactive partition editor here. This work will be done in parallel with improvements on this code and release integration. Thanks to all who have provided testing and comments!
* Install iodev.h.kib2011-02-171-0/+2
| | | | | Reviewed by: attilio MFC after: 1 week
* Remove in-addr.arpa from the list of zones it is possible to slave locallydougb2011-02-161-8/+0
|
* Fix termcap entry typo.uqs2011-02-091-1/+1
| | | | MFC after: 2 weeks
* Catch up with reality and references from the latest RFCsdougb2011-02-051-8/+11
| | | | (especially 5735) for our default empty zones.
* Let rpcbind clean up after itselfdougb2011-01-311-0/+2
|
* o Add user 'hast'.maxim2011-01-312-0/+2
|
* Change hast user home directory to /var/empty.pjd2011-01-281-1/+1
| | | | MFC after: 1 week
* Add 'hast' user and 'hast' group that will be used by hastd (and maybe hastctl)pjd2011-01-282-0/+2
| | | | | | to drop privileges. MFC after: 1 week
* Fix logic error introduced in previous commit.jpaetzel2011-01-251-4/+10
| | | | | | | | Along the way make some efficiency improvements. Submitted by: jilles Approved by: kib (mentor) MFC after: 3 days
* This script parses output of userland tools. In the case of a faultedjpaetzel2011-01-231-1/+5
| | | | | | | | | | | | zpool the output causes the script to bail out with syntax errors. Since a scrub of a faulted zpool is pointless, just skip over any pools marked as such. PR: conf/150228 Submitted by: jpaetzel Approved by: kib (mentor) MFC after: 3 days MFC note: only for RELENG_8
* Fix a small typo nituqs2011-01-191-4/+4
|
* Remove /usr/share/examples/[lib]dialog, missed in the new dialog import.nwhitehorn2011-01-131-4/+0
| | | | Submitted by: dim
* Replace nfs4 with newnfs in netfs_types. nfs4 was removed in r192578 andjh2011-01-091-1/+1
| | | | | | | | mount(8) has supported newnfs since r192930. PR: conf/153655 Submitted by: Anonymous <swell.k@gmail.com> MFC after: 3 weeks
* Warn if rules could not be read from a ruleset file. Now at leastjh2011-01-071-1/+4
| | | | | | | something gets logged if the file has syntax errors. PR: conf/91342 Silence on: freebsd-rc
* Don't require /usr/lib/aout to be on the system. Test for itsimp2011-01-061-2/+2
| | | | | | existance since we don't generally need it. MFC after: 1 week
* Fix typo in default config file.jpaetzel2011-01-041-1/+1
| | | | | Approved by: Warner Losh <imp@FreeBSD.org> MFC after: 3 days
* Remove INDEX-6 from the default portsnap configuration file; the 6.x indexcperciva2010-12-301-1/+0
| | | | | | | bits haven't been built since December 1st, although the mirrors are still distributing the bits as they were at the EoL. Reminded by: Alex Kozlov
* Add pidfile [1]dougb2010-12-271-5/+11
| | | | | | | | While I'm here, don't run the sysctl frob unconditionally, and s/sysctl/$SYSCTL/ PR: conf/153460 [1] Submitted by: Grigory Rechistov <ggg_mail@inbox.ru>
* Add (disabled) sample configuration lines needed to enable snmp_target(3) modulesyrinx2010-12-201-35/+98
| | | | | | | | | and configure minimal target addresses & notifications needed for bsnmpd(1) to send SNMPv3 notifications. Sponsored by: The FreeBSD Foundation Reviewed by: philip Approved by: philip
* Add pf in quiet modekevlo2010-12-171-2/+2
|
* Fix typos.syrinx2010-12-081-2/+2
|
* Add (disabled) sample configurations needed to enable the snmp_usm andsyrinx2010-12-081-0/+136
| | | | | | | | | snmp_vacm modules and minimal user/view configurations needed to for the modules to work properly. Sponsored by: The FreeBSD Foundation Reviewed by: philip@ (mostly) Approved by: philip@
* Add a sync to the shutdown step. In the common case this will be harmlessdougb2010-11-251-2/+2
| | | | | | | at worst. On a heavily loaded server it will give the fs a chance to do its business without the axe hanging over its head. Submitted by: ivoras
* Add gptboot_enable rc variable, which allows to turn gptboot reporting off inpjd2010-11-242-0/+3
| | | | | | | | case user wants to implement his own actions and doesn't want the attributes to vanish. Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com MFC after: 3 days
* Add for existing protocol entries the missing SCTP port allocationstuexen2010-11-131-1/+81
| | | | | | | | | | | and add protocol entries for protocols which have SCTP port allocations. These entries are according to http://www.iana.org/assignments/port-numbers as of today. Also add SCTP port allocation entires for the echo, daytime, and chargen service. Discussed with rwatson@ MFC after: 3 days.
* Add an (off by default) check for negative permissions (where thebrooks2010-11-133-0/+58
| | | | | | | | group on a object has less permissions that everyone). These permissions will not work reliably over NFS if you have more than 14 supplemental groups and are usually not what you mean. MFC after: 1 week
* Add firmware downloader for Atheros AR3011 based USB Bluetooth devices.emax2010-11-121-0/+7
| | | | | | | Hardware donated by: Rusty Nejdl rnejdl at ringofsaturn dot com Tested by: Rusty Nejdl rnejdl at ringofsaturn dot com Tested by: Andrzej Tobola ato at iem dot pw dot edu dot pl MFC after: 3 weeks
* Hide 460.chkportsum in MK_PKGTOOLS != no case.delphij2010-11-091-1/+4
| | | | | Submitted by: Alex Kozlov <spam rm-rf kiev ua> MFC after: 2 weeks
* Add a jails directory in the examples sectionjulian2010-10-241-0/+2
| | | | MFC after: 2 weeks
* No longer install /etc/manpath.config since the BSDL man utilitiesgordon2010-10-041-4/+0
| | | | | | don't use it. Approved by: wes (mentor)
* Commit the rest of r213270.emaste2010-09-291-0/+1
| | | | Thanks to Anonymous <swell dot k at gmail.com> for spotting this.
* /etc/rc.d/defaultroute currently bails immediately if all interfacesemaste2010-09-291-17/+26
| | | | | | | | | | | | | | | | set to use DHCP have no carrier. This can cause grief as it may take some time for link to be established, and defaultroute may terminate before this happens. Introduce a defaultroute_carrier_delay variable and then wait that long in defaultroute before bailing if no interfaces have carrier. With the default settings defaultroute will wait for five seconds for this, and the original 30 second wait for a default route to appear is unchanged. Note that there is in discussion an alternative approach to the broader problem of waiting for DHCP-configured routes. However, this change addresses a real problem in the current defaultroute script. Discussed on: freebsd-rc@
* Prefer echo over printfimp2010-09-271-1/+1
|
* Add gptboot script that is responsible for:pjd2010-09-242-1/+77
| | | | | | | | | | | | - looking for partition with 'bootonce' attribute alone (without 'bootme' attribute), removing it and logging that we successfully booted from this partition. - looking for partitions with 'bootfailed' attribute, removing it and logging that we failed to boot from this partition. Reviewed by: arch (Message-ID: <20100917234542.GE1902@garage.freebsd.pl>) Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com MFC after: 2 weeks
* Split $ipv6_prefer into $ip6addrctl_policy and $ipv6_activate_all_interfaces.hrs2010-09-134-13/+44
| | | | | | | | | | | | | | | | | | | The $ip6addrctl_policy is a variable to choose a pre-defined address selection policy set by ip6addrctl(8). The keyword "ipv4_prefer" sets IPv4-preferred one described in Section 10.3, the keyword "ipv6_prefer" sets IPv6-preferred one in Section 2.1 in RFC 3484, respectively. When "AUTO" is specified, it attempts to read /etc/ip6addrctl.conf first. If it is found, it reads and installs it as a policy table. If not, either of the two pre-defined policy tables is chosen automatically according to $ipv6_activate_all_interfaces. When $ipv6_activate_all_interfaces=NO, interfaces which have no corresponding $ifconfig_IF_ipv6 is marked as IFDISABLED for security reason. The default values are ip6addrctl_policy=AUTO and ipv6_activate_all_interfaces=NO. Discussed with: ume and bz
* Localize $_punct_c in get_if_var() and whitespace clean-ups.hrs2010-09-131-6/+6
| | | | Based on: changes in r206408 by dougb
* - Check some specific IFs first in ipv6_autoconfif().hrs2010-09-131-18/+15
| | | | | | - $ipv6_enable supports YES|TRUE|ON|1 as in checkyesno(). Based on: changes in r206408 by dougb
* Add $ipv6_privacy to support net.inet6.ip6.use_tempaddr. Note that thishrs2010-09-132-0/+9
| | | | | | will be replaced with a per-IF version later. Based on: changes in r206408 by dougb
* Fix $ipv6_network_interfaces and set it as AUTO by default.hrs2010-09-132-23/+12
| | | | Based on: changes in r206408 by dougb
* Revert changes in r206408.hrs2010-09-135-105/+132
| | | | Discussed with: dougb, core.5, and core.6
* Create the var/run/wpa_supplicant directory where the wpa_supplicantbschmidt2010-09-101-0/+2
| | | | | | RC script wants to save a pidfile for each interface. MFC after: 2 weeks
OpenPOWER on IntegriCloud