aboutsummaryrefslogtreecommitdiff
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Unbreak rcorder when MK_UTX == no by moving utx from REQUIRE: in LOGIN toEnji Cooper2015-02-132-1/+2
| | | | | | | | | BEFORE: in utx MFC after: 1 week Notes: svn path=/head/; revision=278706
* Unbreak rcorder when MK_UNBOUND == no by moving local_unbound from REQUIRE:Enji Cooper2015-02-132-1/+2
| | | | | | | | | in NETWORKING to BEFORE: in the script MFC after: 2 weeks Notes: svn path=/head/; revision=278704
* Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;Colin Percival2015-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) Notes: svn path=/head/; revision=278616
* rc.d: load the network config file for netifRoger Pau Monné2015-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. Notes: svn path=/head/; revision=278506
* Un-revert the r278323 again - whatever Jenkins/kyua is up it, it hasJamie Gritton2015-02-101-2/+1
| | | | | | | nothing to do with this. Notes: svn path=/head/; revision=278480
* Notify devd(8) when a process crashed.Rui Paulo2015-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. Notes: svn path=/head/; revision=278479
* Remove explicit routing/sendmail rc.d inclusion in FILESEnji Cooper2015-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 Notes: svn path=/head/; revision=278466
* Revert the rc part of r278323 until I can figure out what Jenkins is doing.Jamie Gritton2015-02-071-1/+2
| | | | Notes: svn path=/head/; revision=278343
* Add mount.procfs jail parameter, so procfs can be mounted when a prison'sJamie Gritton2015-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 Notes: svn path=/head/; revision=278323
* Don't add static IPv6 routes when to all FIBs when net.add_addr_allfibs is 0.Rui Paulo2015-02-061-2/+3
| | | | | | | | | This avoids a bunch of boot time warnings when rc.d/routing runs. MFC after: 1 week Notes: svn path=/head/; revision=278302
* Use FILES+= idiom instead of _inetd when referencing inetd rc.d scriptEnji Cooper2015-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 Notes: svn path=/head/; revision=278282
* Honor the following flags for items that can be conditionalized out of theEnji Cooper2015-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 Notes: svn path=/head/; revision=278251
* Honor the following flags with the following rc.d scripts for services that canEnji Cooper2015-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 Notes: svn path=/head/; revision=278249
* Add the following options to enable/disable several features in the base systemEnji Cooper2015-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 Notes: svn path=/head/; revision=278192
* Remove hostapd and wpa_supplicant from FILES so they're installed conditionallyEnji Cooper2015-02-021-2/+0
| | | | | | | | | | if MK_WIRELESS != no MFC after: 3 days X-MFC with: r277740 Notes: svn path=/head/; revision=278053
* ipfilter 5.1.2 (vs 4.1.28 in previous releases of FreeBSD) stores IPv4Cy Schubert2015-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 Notes: svn path=/head/; revision=277854
* Remove build specific details from sendmail.cf/submit.cf in support ofGregory Neil Shapiro2015-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 Notes: svn path=/head/; revision=277787
* Respect MK_KERBEROS with etc/rc.d/ipropd_master and etc/rc.d/ipropd_slaveEnji Cooper2015-01-261-2/+2
| | | | | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=277741
* Honor MK_WIRELESS with etc/rc.d/hostapd and etc/rc.d/wpa_supplicantEnji Cooper2015-01-261-0/+5
| | | | | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=277740
* Honor MK_JAIL with etc/rc.d/jailEnji Cooper2015-01-261-1/+4
| | | | | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=277739
* Honor MK_BLUETOOTH with etc/defaults/bluetooth.device.confEnji Cooper2015-01-261-1/+7
| | | | | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=277738
* Honor MK_ACCT with etc/pam.d/atrunEnji Cooper2015-01-261-1/+6
| | | | | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=277737
* Honor MK_ACCT with etc/rc.d/accountingEnji Cooper2015-01-261-0/+4
| | | | | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=277736
* Remove explicit inclusion of lpd from FILESEnji Cooper2015-01-261-1/+0
| | | | | | | | | X-MFC with: 277731 MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=277734
* Honor MK_AMD with etc/rc.d/amdEnji Cooper2015-01-261-1/+4
| | | | | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=277733
* Honor MK_API in etc/rc.dEnji Cooper2015-01-261-2/+5
| | | | | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=277732
* Honor MK_LPR with etc/rc.d/lpdEnji Cooper2015-01-261-0/+4
| | | | | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=277731
* Honor MK_ACPI in etc/devd and etc/rc.dEnji Cooper2015-01-262-1/+8
| | | | | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=277730
* Add MK_AUTOFS knob for building and installing autofs(4), et alEnji Cooper2015-01-262-5/+13
| | | | | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=277728
* Add MK_HAST knob for building and installing hastd(8), et alEnji Cooper2015-01-261-1/+4
| | | | | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=277725
* Allow the user to specify the location of control.conf.Dag-Erling Smørgrav2015-01-251-0/+2
| | | | Notes: svn path=/head/; revision=277706
* Install bsnmp rc.d script if MK_BSNMP != noEnji Cooper2015-01-251-1/+4
| | | | | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=277686
* Add MK_CCD knob for building and installing ccd(4), ccdconfig, etcEnji Cooper2015-01-251-1/+4
| | | | | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=277678
* Add MK_ISCSI knob for building the iscsi initiator, iscsi daemon, kernelEnji Cooper2015-01-251-2/+5
| | | | | | | | | | modules, etc MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=277675
* Add tests/etc/rc.d to mtree.Will Andrews2015-01-241-0/+2
| | | | | | | | | Submitted by: stefanf MFC after: 1 week MFC with: 277627 Notes: svn path=/head/; revision=277650
* Add routing_test:static_ipv6_loopback_route_for_each_fib.Will Andrews2015-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 Notes: svn path=/head/; revision=277627
* Add sample log rotation support for opensmEnji Cooper2015-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 Notes: svn path=/head/; revision=277541
* Integrate contrib/netbsd-tests/bin/expr into the build/kyua as bin/expr/testsEnji Cooper2015-01-191-0/+2
| | | | | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=277358
* Upgrade our copy of clang and llvm to 3.5.1 release. This is a bugfixDimitry Andric2015-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 Notes: svn path=/head/; revision=277320
* Add a ${CP} alias for copying files in the build.Will Andrews2015-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 Notes: svn path=/head/; revision=277273
* Evaluate running userland/kernel version in dailyGlen Barber2015-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 Notes: svn path=/head/; revision=277216
* Use newly added GEOM notifications to discard autofs caches.Edward Tomasz Napierala2015-01-141-9/+4
| | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=277171
* Connect libclang_rt to the build, for specific architectures. ThisDimitry Andric2015-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 Notes: svn path=/head/; revision=277146
* Properly remove ieee488, gpib and readline from mtree.Xin LI2015-01-091-6/+0
| | | | Notes: svn path=/head/; revision=276889
* Make /net use -intr by default. Linux does that, and it seems a good idea.Edward Tomasz Napierala2015-01-081-1/+1
| | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=276833
* Add makefile for the "osmtest" utility. While at it:Hans Petter Selasky2015-01-081-0/+2
| | | | | | | | | | | | - Fix depend target by removing a space after an "-I" inclusion option. - Fix some minor compile issues in the "osmtest" utility. MFC after: 3 days PR: 196580 Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=276823
* Integrate bin/cat/tests from NetBSD into atf/kyuaEnji Cooper2015-01-041-0/+2
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=276669
* Integrate sbin/ifconfig/tests from NetBSD into atf/kyuaEnji Cooper2015-01-041-0/+2
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=276668
* Add pregenerated documentation for as(1) and ld(1)Baptiste Daroussin2015-01-041-0/+2
| | | | Notes: svn path=/head/; revision=276651
* Merge ^/head r274961 through r276301.Dimitry Andric2014-12-272-9/+11
|\ | | | | | | Notes: svn path=/projects/clang350-import/; revision=276302