summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* META_MODE: Remove DEP_RELDIR from Makefile.depend files.bdrewery2015-09-251-2/+0
| | | | | | This has not been needed since r284171 in projects/bmake. Sponsored by: EMC / Isilon Storage Division
* Install kernel debug data under /usr/lib/debugemaste2015-09-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | This avoids needing a large boot partition / file system in order to accommodate multiple kernels, and provides consistency with userland debug. This also simplifies the process of moving kernel debug files to a separate package and installing them on demand. In addition, change kernel debug file extension to .debug, to match userland debug files. When using the supported kernel installation method the /usr/lib/debug/boot/kernel directory will be renamed (to kernel.old) as is done with /boot/kernel. Developers wishing to maintain the historical behavior of installing debug files in /boot/kernel/ can set KERN_DEBUGDIR="" in src.conf(5). Reviewed by: bdrewery, brooks, imp, markj Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D1006
* The "automount" rc script should depend on "automountd", not the othertrasz2015-09-183-3/+3
| | | | | | | way around. MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Use read to parse a line instead of set.hrs2015-09-101-5/+4
| | | | MFC after: 3 days
* - Add uid check.hrs2015-09-101-4/+11
| | | | | | - Report delay<0 as a warning. MFC after: 3 days
* Update only static routes when an interface is specified. This fixedhrs2015-09-101-1/+1
| | | | | | | a bad side-effect reported in PR 202144. PR: 202144 MFC after: 3 days
* Add iwm(4), that was missing in r287394.glebius2015-09-021-2/+2
| | | | Submitted by: Shawn Webb
* Fix dynamic attach/detach of 802.11 devices after r287197:glebius2015-09-022-9/+28
| | | | | | | | | | | o In pccard_ether add code to start children of a 802.11 device, that are configured in rc.conf. o In devd.conf provide a regex matching all 802.11 devices, and on match run pccard_ether to spawn children. PR: 202784 Submitted by: <vidwer gmail.com> In collaboration with: "Oleg V. Nauman" <oleg opentransfer.com>
* Fix a conversion error in rc.d/jailpeter2015-08-271-1/+1
|
* Replay r286410. Change KPI of how device drivers that provide wirelessglebius2015-08-272-0/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | connectivity interact with the net80211 stack. Historical background: originally wireless devices created an interface, just like Ethernet devices do. Name of an interface matched the name of the driver that created. Later, wlan(4) layer was introduced, and the wlanX interfaces become the actual interface, leaving original ones as "a parent interface" of wlanX. Kernelwise, the KPI between net80211 layer and a driver became a mix of methods that pass a pointer to struct ifnet as identifier and methods that pass pointer to struct ieee80211com. From user point of view, the parent interface just hangs on in the ifconfig list, and user can't do anything useful with it. Now, the struct ifnet goes away. The struct ieee80211com is the only KPI between a device driver and net80211. Details: - The struct ieee80211com is embedded into drivers softc. - Packets are sent via new ic_transmit method, which is very much like the previous if_transmit. - Bringing parent up/down is done via new ic_parent method, which notifies driver about any changes: number of wlan(4) interfaces, number of them in promisc or allmulti state. - Device specific ioctls (if any) are received on new ic_ioctl method. - Packets/errors accounting are done by the stack. In certain cases, when driver experiences errors and can not attribute them to any specific interface, driver updates ic_oerrors or ic_ierrors counters. Details on interface configuration with new world order: - A sequence of commands needed to bring up wireless DOESN"T change. - /etc/rc.conf parameters DON'T change. - List of devices that can be used to create wlan(4) interfaces is now provided by net.wlan.devices sysctl. Most drivers in this change were converted by me, except of wpi(4), that was done by Andriy Voskoboinyk. Big thanks to Kevin Lo for testing changes to at least 8 drivers. Thanks to pluknet@, Oliver Hartmann, Olivier Cochard, gjb@, mmoll@, op@ and lev@, who also participated in testing. Reviewed by: adrian Sponsored by: Netflix Sponsored by: Nginx, Inc.
* Upgrade libxo to 0.4.5.marcel2015-08-241-0/+4
| | | | | | | Local changes incorporated by 0.4.5: r284340 Local changes retained: r276260, r282117 Obtained from: https://github.com/Juniper/libxo
* Add ATF functional tests for fstyp(8). No ZFS or GELI tests yet.asomers2015-08-201-0/+2
| | | | | | | Reviewed by: trasz, ngie MFC after: 2 weeks Sponsored by: SpectraLogic Differential Revision: https://reviews.freebsd.org/D2801
* etc/rc.d/hostname: permit setting hostname if already setfeld2015-08-121-5/+2
| | | | | Approved by: dteske Differential Revision: https://reviews.freebsd.org/D2577
* Disable building INDEX-9 and INDEX-10 because they are not useful fordelphij2015-08-111-2/+2
| | | | | | | | | users who uses only FreeBSD -CURRENT, and building these indexes are only useful to those who share ports tree across different FreeBSD releases, and system administrator with that need can always enable this behavior. MFC after: 2 weeks (only the principals, not actual change)
* Commit more of the reversion of r286410 . Sorry.adrian2015-08-101-67/+0
|
* Finish reverting r286410 - sorry, I somehow missed this with svn commit.adrian2015-08-101-12/+0
|
* Properly sortbapt2015-08-091-2/+2
|
* Add missing entrybapt2015-08-091-0/+2
| | | | Reported by: antroine
* Add a new group named 'video' with the id of 44. And make drm createkwm2015-08-091-0/+1
| | | | | | | | | | | devices in /dev/dri/ with this new group. This will allow ports and users to more easily access to these devices for OpenGL and OpenCL support. Reviewed by: dumbbell@ Approved by: dumbbell@ Differential Revision: https://reviews.freebsd.org/D1260
* Change KPI of how device drivers that provide wireless connectivity interactglebius2015-08-072-0/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with the net80211 stack. Historical background: originally wireless devices created an interface, just like Ethernet devices do. Name of an interface matched the name of the driver that created. Later, wlan(4) layer was introduced, and the wlanX interfaces become the actual interface, leaving original ones as "a parent interface" of wlanX. Kernelwise, the KPI between net80211 layer and a driver became a mix of methods that pass a pointer to struct ifnet as identifier and methods that pass pointer to struct ieee80211com. From user point of view, the parent interface just hangs on in the ifconfig list, and user can't do anything useful with it. Now, the struct ifnet goes away. The struct ieee80211com is the only KPI between a device driver and net80211. Details: - The struct ieee80211com is embedded into drivers softc. - Packets are sent via new ic_transmit method, which is very much like the previous if_transmit. - Bringing parent up/down is done via new ic_parent method, which notifies driver about any changes: number of wlan(4) interfaces, number of them in promisc or allmulti state. - Device specific ioctls (if any) are received on new ic_ioctl method. - Packets/errors accounting are done by the stack. In certain cases, when driver experiences errors and can not attribute them to any specific interface, driver updates ic_oerrors or ic_ierrors counters. Details on interface configuration with new world order: - A sequence of commands needed to bring up wireless DOESN"T change. - /etc/rc.conf parameters DON'T change. - List of devices that can be used to create wlan(4) interfaces is now provided by net.wlan.devices sysctl. Most drivers in this change were converted by me, except of wpi(4), that was done by Andriy Voskoboinyk. Big thanks to Kevin Lo for testing changes to at least 8 drivers. Thanks to Olivier Cochard, gjb@, mmoll@, op@ and lev@, who also participated in testing. Details here: https://wiki.freebsd.org/projects/ifnet/net80211 Still, drivers: ndis, wtap, mwl, ipw, bwn, wi, upgt, uath were not tested. Changes to mwl, ipw, bwn, wi, upgt are trivial and chances of problems are low. The wtap wasn't compilable even before this change. But the ndis driver is complex, and it is likely to be broken with this commit. Help with testing and debugging it is appreciated. Differential Revision: D2655, D2740 Sponsored by: Nginx, Inc. Sponsored by: Netflix
* Now that the portsnap buildbox is generating the raw bits for INDEX-11,delphij2015-08-061-0/+1
| | | | | | add it to the set of INDEX files built by portsnap. MFC after: 2 weeks
* Now that stable/8 is EOL, stop building INDEX-8.delphij2015-08-061-1/+0
| | | | MFC after: 1 week
* Make rctl_enable rc variable actually work. To avoid breaking existingtrasz2015-08-052-1/+2
| | | | | | | | setups that worked before, flip the default to "YES". Most people don't have /etc/rctl.conf, so they won't be affected in any way. MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Update the comment about handling old-style rc(5) scriptsngie2015-08-051-2/+5
| | | | | The old-style (*.sh) scripts in /etc/rc.d are explicitly ignored, whereas other scripts ending in .sh are permitted
* rc.subr: Allow rc.conf.d with multi-directory local_startup.jilles2015-08-011-1/+2
| | | | | | | | | I also changed ${...%*/rc.d} to ${...%/rc.d} since the shortest match always has an empty string for the asterisk. PR: 201641 Submitted by: Jamie Landeg-Jones (original version) MFC after: 1 week
* - Fix compilation after r285909 with USB_DEBUG defined.marius2015-07-271-1/+10
| | | | - Regenerate usb.conf.
* Replace GNU RCS ident with a BSD license identbapt2015-07-261-0/+2
| | | | | | | | | | | | | | | | | | | | Rationale: ident(1) is useful out of RCS, lot of scripts are using ident(1) and failing when base is built WITHOUT_RCS. This version is: - fully compatible with RCS 5.7 ident. - fully compatible with RCS 5.9 ident. - passes all ident test from GNU RCS 5.9 test suite This version has support for: svn extension for the Keyword id (double colon and # before last $) Différences with GNU RCS ident: - no long options as found in GNU RCS 5.9 (but not commented there). - '-V' reports nothing but has been added for compatibility. Differential Revision: https://reviews.freebsd.org/D3200 Reviewed by: pfg
* Remove a comment in the wrong place.trasz2015-07-181-1/+0
| | | | | MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
* Allow again periodic scripts to be run from command-line.jlh2015-07-131-1/+5
| | | | | | PR: 188109 Submitted by: Jason Unovitch MFC after: 1 week
* Address review.markm2015-07-081-4/+4
| | | | Differential Revision: https://reviews.freebsd.org/D2924
* - Add IPv6 support in quota(1). While rpc.rquotad has supported PF_INET6hrs2015-07-071-0/+1
| | | | | | | | | | for a long time, quota(1) utility supported only PF_INET. - Clean up confusing changes in f_mntfromname. - Add an entry for rquotad with rpc/udp6 to inetd.conf. PR: 194084
* Minor changes to force commit these files so new freebsd*.cf files aregshapiro2015-07-072-2/+0
| | | | | | built to use the new sendmail-8.15.2/cf tree. MFC after: 3 days
* Updated random(4) boot/shutdown scripting.markm2015-06-302-6/+48
| | | | | | | Fix the man pages as well. Differential Revision: https://reviews.freebsd.org/D2924 Approved by: so (delphij)
* Add CouchDB ports (5984 TCP/UDP).brueffer2015-06-291-0/+2
| | | | | | PR: 193268 Submitted by: yuri@rawbw.com MFC after: 1 week
* Slight tidy up of comments before MFCjulian2015-06-291-2/+2
| | | | MFC after: 2 days
* Use correct flag in iovctl_start().pkelsey2015-06-271-1/+1
| | | | | | | Differential Revision: https://reviews.freebsd.org/D2921 Reviewed by: rstone Approved by: jmallett (mentor) Sponsored by: Norse Corp, Inc.
* remove 16 rules and replace by 2 by using a tablejulian2015-06-221-22/+14
| | | | | | | | I've been doing this ever since there were tables coudl make more efficient by using "in recv" and "out xmit" instead of via but I'll leave that. MFC after: 1 week
* Enable ttyu1, ttyu2, ttyu3 for arm installations.gjb2015-06-211-3/+3
| | | | | | | | | | | | | This should make all consoles available, whether it is VGA, HDMI, serial, or JTAG, but more importantly enables all consoles when ttyu0 is not predictable. For example, the Pandaboard ES apparently has three consoles available, but the DB9/RS232 serial port is ttyu2, so not available by default after the system boots. MFC after: 3 days Sponsored by: The FreeBSD Foundation
* Regenerate usb.conf .hselasky2015-06-191-11/+35
| | | | MFC after: 1 week
* Add META_MODE support.sjg2015-06-132-2/+29
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * Merge sync of headsjg2015-05-2759-620/+1287
| |\
| * \ Merge from head@274682sjg2014-11-1957-430/+1130
| |\ \
| * \ \ Merge head from 7/28sjg2014-08-1914-101/+80
| |\ \ \
| * \ \ \ Merge from headsjg2014-05-089-12/+10
| |\ \ \ \
| * | | | | There is no guarantee that our group has a name.sjg2014-05-021-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the results are temp, just subst [gu]name for [gu]id Reviewed by: obrien
| * | | | | Merge headsjg2014-04-2888-1594/+1542
| |\ \ \ \ \
| * | | | | | Fix botched sed scriptsjg2013-10-211-4/+4
| | | | | | |
| * | | | | | We use distrib-dirs to populate stage tree.sjg2013-10-161-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | But that depends on up-to-date passwd and group files in /etc. If MK_INSTALL_AS_USER==yes and we are not root, filter the mtree input to avoid problems with [gu]name and [gu]id settings.
| * | | | | | Merge head@256284sjg2013-10-1325-874/+774
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge headsjg2013-09-116-6/+14
| |\ \ \ \ \ \ \
OpenPOWER on IntegriCloud