summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Install manpage version of texinfo documentation for binutilsbapt2015-03-021-2/+0
|
* Add an rc.d script to invoke iovctl(8) during bootrstone2015-03-014-1/+43
| | | | | | | | Differential Revision: https://reviews.freebsd.org/D88 Reviewed by: wblock, emaste, allanjude MFC after: 1 month Relnotes: yes Sponsored by: Sandvine Inc.
* Add infrastructure to integrate the DTrace test suite with Kyua.markj2015-02-281-0/+162
| | | | | | | | | | | | | | | | | | For each test category, we generate a script containing ATF test cases for the tests under that category. Each test case simply runs dtest.pl (the upstream test harness) with the corresponding test files. The exclude.sh script is used to record info about tests which should be skipped or are expected to fail; it is used to generate atf_skip and atf_expect_fail calls. The genmakefiles.sh script can be used to regenerate the test makefiles when new tests are brought it from upstream. The test suite is currently not connected to the build as there is a small number of lingering test issues which still need to be worked out. In the meantime however, the test suite can be easily built and installed manually from cddl/usr.sbin/dtrace/tests. Reviewed by: ngie Sponsored by: EMC / Isilon Storage Division
* Add key/cert generation script for uefisign(8).trasz2015-02-261-0/+2
| | | | | | | | (Forgot about Relnotes in the commit that added uefisign(8), so set it here.) MFC after: 1 month Relnotes: yes Sponsored by: The FreeBSD Foundation
* Unconditionally install debug directory hierarchyemaste2015-02-241-8/+3
| | | | | | | | | | | | This avoids various failure modes (e.g., when building and installing a single binary with debug data on a system that otherwise does not have it enabled). It is also consistent with the way other directory hierarchies are handled (e.g. share/man). Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D1962
* Purge references to the mrouted rc script, which was removed in r275299.markj2015-02-211-1/+0
| | | | PR: 195785
* Fix a typo in ipv6_down().rpaulo2015-02-181-1/+1
| | | | | | | We weren't skipping extraneous entries in the ifconfig | grep inet6 case. Submitted by: Ashutosh Kumar AK0037447 at TechMahindra.com MFC after: 1 week
* Unbreak rcorder when MK_UTX == no by moving utx from REQUIRE: in LOGIN tongie2015-02-132-1/+2
| | | | | | BEFORE: in utx MFC after: 1 week
* Unbreak rcorder when MK_UNBOUND == no by moving local_unbound from REQUIRE:ngie2015-02-132-1/+2
| | | | | | in NETWORKING to BEFORE: in the script MFC after: 2 weeks
* Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;cperciva2015-02-127-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | update paths; and include everything in the "base" distribution. The "games" distribution being optional made sense when there were more games and we had small disks; but the "games-like" games were moved into the ports tree a dozen years ago and the remaining "utility-like" games occupy less than 0.001% of my laptop's small hard drive. Meanwhile every new user is confronted by the question "do you want games installed" when they they try to install FreeBSD. The next steps will be: 2. Removing punch card (bcd, ppt), phase-of-moon (pom), clock (grdc), and caesar cipher (caesar, rot13) utilities. I intend to keep fortune, factor, morse, number, primes, and random, since there is evidence that those are still being used. 3. Merging src/games into src/usr.bin. This change will not be MFCed. Reviewed by: jmg Discussed at: EuroBSDCon Approved by: gjb (release-affecting changes)
* rc.d: load the network config file for netifroyger2015-02-101-0/+3
| | | | | | r272959 broke compatibility with mfsBSD that stores the default network config file in /etc/rc.conf.d/network. In order to fix that load the network config file from netif also.
* Un-revert the r278323 again - whatever Jenkins/kyua is up it, it hasjamie2015-02-101-2/+1
| | | | nothing to do with this.
* Notify devd(8) when a process crashed.rpaulo2015-02-091-0/+12
| | | | | | | | | | | | This change implements a notification (via devctl) to userland when the kernel produces coredumps after a process has crashed. devd can then run a specific command to produce a human readable crash report. The command is most usually a helper that runs gdb/lldb commands on the file/coredump pair. It's possible to use this functionality for implementing automatic generation of crash reports. devd(8) will be notified of the full path of the binary that crashed and the full path of the coredump file.
* Remove explicit routing/sendmail rc.d inclusion in FILESngie2015-02-091-2/+0
| | | | | | | Reported by: Guy Yur <guyyur@gmail.com> MFC after: 14 days X-MFC with: r278249 Sponsored by: EMC / Isilon Storage Division
* Revert the rc part of r278323 until I can figure out what Jenkins is doing.jamie2015-02-071-1/+2
|
* Add mount.procfs jail parameter, so procfs can be mounted when a prison'sjamie2015-02-061-3/+2
| | | | | | | | | root is in its fstab. Also fix a typo while I'm at it. PR: 197237 197066 MFC after: 3 days
* Don't add static IPv6 routes when to all FIBs when net.add_addr_allfibs is 0.rpaulo2015-02-061-2/+3
| | | | | | This avoids a bunch of boot time warnings when rc.d/routing runs. MFC after: 1 week
* Use FILES+= idiom instead of _inetd when referencing inetd rc.d scriptngie2015-02-051-1/+1
| | | | | | | | | | | This was a discrepancy between ^/projects/building-blocks and ^/head that I didn't resolve before committing the change to ^/head Pointyhat to: me Reported by: jhb MFC after: 20 days X-MFC with: r278249 Sponsored by: EMC / Isilon Storage Division
* Honor the following flags for items that can be conditionalized out of thengie2015-02-051-3/+18
| | | | | | | | | | | | | | | | | | build/install without disrupting other dependent services (see r278249, et al): - MK_LOCATE - MK_MAN - MK_NLS - MK_OPENSSL - MK_PKGBOOTSTRAP - MK_SENDMAIL Additional flags need to be handled in etc/Makefile, but it requires refactoring the relevant scripts in etc/rc.d/* MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division
* Honor the following flags with the following rc.d scripts for services that canngie2015-02-051-14/+49
| | | | | | | | | | | | | | | | | | | | | be easily decoupled from the boot process without disrupting other services - MK_APM && MK_ACPI: powerd - MK_BOOTPARAMD: bootparams - MK_FTP: ftpd - MK_INETD: inetd - MK_LEGACY_CONSOLE: moused, syscons - MK_MAIL: othermta - MK_NS_CACHING: nscd - MK_NTP: ntpd (ntpdate is required by other services and can't be easily conditionalized -- yet..) - MK_ROUTED: routed - MK_SENDMAIL: sendmail - MK_TIMED: timed - MK_VI: virecover MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division
* Add the following options to enable/disable several features in the base systemngie2015-02-041-2/+8
| | | | | | | | | | | | | | | WITHOUT_BOOTPARAMD - bootparamd WITHOUT_BOOTPD - bootpd WITHOUT_FINGER - finger, fingerd WITHOUT_FTP - ftp, ftpd WITHOUT_INETD - inetd WITHOUT_RBOOTD - rbootd WITHOUT_TCP_WRAPPERS - tcpd, et al WITHOUT_TFTP - tftp, tftp-server WITHOUT_TIMED - timed MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Remove hostapd and wpa_supplicant from FILES so they're installed conditionallyngie2015-02-021-2/+0
| | | | | | | if MK_WIRELESS != no MFC after: 3 days X-MFC with: r277740
* ipfilter 5.1.2 (vs 4.1.28 in previous releases of FreeBSD) stores IPv4cy2015-01-281-1/+0
| | | | | | | | | and IPv6 rules in a single table. ipf -6 -Fa will flush the whole table, including IPv4 rules. This patch removes the redundant ipf -I -6 -Fa statement. PR: 188318 MFC after: 2 weeks
* Remove build specific details from sendmail.cf/submit.cf in support ofgshapiro2015-01-271-1/+2
| | | | | | | | | | https://wiki.freebsd.org/ReproducibleBuilds The contrib/sendmail change will be made in the upstream source for a future sendmail release. Reviewed by: des MFC after: 3 days
* Respect MK_KERBEROS with etc/rc.d/ipropd_master and etc/rc.d/ipropd_slavengie2015-01-261-2/+2
| | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Honor MK_WIRELESS with etc/rc.d/hostapd and etc/rc.d/wpa_supplicantngie2015-01-261-0/+5
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Honor MK_JAIL with etc/rc.d/jailngie2015-01-261-1/+4
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Honor MK_BLUETOOTH with etc/defaults/bluetooth.device.confngie2015-01-261-1/+7
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Honor MK_ACCT with etc/pam.d/atrunngie2015-01-261-1/+6
| | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Honor MK_ACCT with etc/rc.d/accountingngie2015-01-261-0/+4
| | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Remove explicit inclusion of lpd from FILESngie2015-01-261-1/+0
| | | | | | X-MFC with: 277731 MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Honor MK_AMD with etc/rc.d/amdngie2015-01-261-1/+4
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Honor MK_API in etc/rc.dngie2015-01-261-2/+5
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Honor MK_LPR with etc/rc.d/lpdngie2015-01-261-0/+4
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Honor MK_ACPI in etc/devd and etc/rc.dngie2015-01-262-1/+8
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Add MK_AUTOFS knob for building and installing autofs(4), et alngie2015-01-262-5/+13
| | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Add MK_HAST knob for building and installing hastd(8), et alngie2015-01-261-1/+4
| | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Allow the user to specify the location of control.conf.des2015-01-251-0/+2
|
* Install bsnmp rc.d script if MK_BSNMP != nongie2015-01-251-1/+4
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Add MK_CCD knob for building and installing ccd(4), ccdconfig, etcngie2015-01-251-1/+4
| | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Add MK_ISCSI knob for building the iscsi initiator, iscsi daemon, kernelngie2015-01-251-2/+5
| | | | | | | modules, etc MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Add tests/etc/rc.d to mtree.will2015-01-241-0/+2
| | | | | | Submitted by: stefanf MFC after: 1 week MFC with: 277627
* Add routing_test:static_ipv6_loopback_route_for_each_fib.will2015-01-243-0/+147
| | | | | | | | | | It tests that all FIBs get a static IPv6 loopback route. Submitted by: asomers MFC after: 1 week Sponsored by: Spectra Logic MFSpectraBSD: 1048456 on 2014/03/13 1114523 on 2015/01/23
* Add sample log rotation support for opensmngie2015-01-223-1/+20
| | | | | | | | | | Up to 7 archives of the log will be kept (just for consistency with the other log rotation rules) PR: 196788 MFC after: 1 week Reviewed by: hselasky Sponsored by: EMC / Isilon Storage Division
* Integrate contrib/netbsd-tests/bin/expr into the build/kyua as bin/expr/testsngie2015-01-191-0/+2
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Upgrade our copy of clang and llvm to 3.5.1 release. This is a bugfixdim2015-01-183-3/+3
| | | | | | | | | | | | | | only release, no new features have been added. Please note that this version requires C++11 support to build; see UPDATING for more information. Release notes for llvm and clang can be found here: <http://llvm.org/releases/3.5.1/docs/ReleaseNotes.html> <http://llvm.org/releases/3.5.1/tools/clang/docs/ReleaseNotes.html> MFC after: 1 month X-MFC-With: 276479
* Add a ${CP} alias for copying files in the build.will2015-01-161-2/+2
| | | | | | | | | | | | | | Some users build FreeBSD as non-root in Perforce workspaces. By default, Perforce sets files read-only unless they're explicitly being edited. As a result, the -f argument must be used to cp in order to override the read-only flag when copying source files to object directories. Bare use of 'cp' should be avoided in the future. Update all current users of 'cp' in the src tree. Reviewed by: emaste MFC after: 1 week Sponsored by: Spectra Logic
* Evaluate running userland/kernel version in dailygjb2015-01-153-0/+41
| | | | | | | | | | periodic(8) run, taken from uname(1) '-U' and '-K' flags. Reviewed by: allanjude, dvl Differential Revision: https://reviews.freebsd.org/D1541 MFC after: 1 week Sponsored by: The FreeBSD Foundation
* Use newly added GEOM notifications to discard autofs caches.trasz2015-01-141-9/+4
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Connect libclang_rt to the build, for specific architectures. Thisdim2015-01-132-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | contains the libraries for Address Sanitizer (asan), Undefined Behavior Sanitizer (ubsan) and Profile Guided Optimization. ASan is a fast memory error detector. It can detect the following types of bugs: Out-of-bounds accesses to heap, stack and globals Use-after-free Use-after-return (to some extent) Double-free, invalid free Memory leaks (experimental) Typical slowdown introduced by AddressSanitizer is 2x. UBSan is a fast and compatible undefined behavior checker. It enables a number of undefined behavior checks that have small runtime cost and no impact on address space layout or ABI. PLEASE NOTE: the sanitizers still have some rough edges on FreeBSD, particularly on i386. These will hopefully be smoothed out in the coming time. Differential Revision: https://reviews.freebsd.org/D1505
OpenPOWER on IntegriCloud