aboutsummaryrefslogtreecommitdiff
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* The "automount" rc script should depend on "automountd", not the otherEdward Tomasz Napierala2015-09-183-3/+3
| | | | | | | | | | way around. MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=287951
* Use read to parse a line instead of set.Hiroki Sato2015-09-101-5/+4
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=287615
* - Add uid check.Hiroki Sato2015-09-101-4/+11
| | | | | | | | | - Report delay<0 as a warning. MFC after: 3 days Notes: svn path=/head/; revision=287614
* Update only static routes when an interface is specified. This fixedHiroki Sato2015-09-101-1/+1
| | | | | | | | | | a bad side-effect reported in PR 202144. PR: 202144 MFC after: 3 days Notes: svn path=/head/; revision=287613
* Add iwm(4), that was missing in r287394.Gleb Smirnoff2015-09-021-2/+2
| | | | | | | Submitted by: Shawn Webb Notes: svn path=/head/; revision=287398
* Fix dynamic attach/detach of 802.11 devices after r287197:Gleb Smirnoff2015-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> Notes: svn path=/head/; revision=287394
* Fix a conversion error in rc.d/jailPeter Wemm2015-08-271-1/+1
| | | | Notes: svn path=/head/; revision=287220
* Replay r286410. Change KPI of how device drivers that provide wirelessGleb Smirnoff2015-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. Notes: svn path=/head/; revision=287197
* Upgrade libxo to 0.4.5.Marcel Moolenaar2015-08-241-0/+4
| | | | | | | | | | Local changes incorporated by 0.4.5: r284340 Local changes retained: r276260, r282117 Obtained from: https://github.com/Juniper/libxo Notes: svn path=/head/; revision=287111
* Add ATF functional tests for fstyp(8). No ZFS or GELI tests yet.Alan Somers2015-08-201-0/+2
| | | | | | | | | | Reviewed by: trasz, ngie MFC after: 2 weeks Sponsored by: SpectraLogic Differential Revision: https://reviews.freebsd.org/D2801 Notes: svn path=/head/; revision=286964
* etc/rc.d/hostname: permit setting hostname if already setMark Felder2015-08-121-5/+2
| | | | | | | | Approved by: dteske Differential Revision: https://reviews.freebsd.org/D2577 Notes: svn path=/head/; revision=286671
* Disable building INDEX-9 and INDEX-10 because they are not useful forXin LI2015-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) Notes: svn path=/head/; revision=286650
* Commit more of the reversion of r286410 . Sorry.Adrian Chadd2015-08-101-67/+0
| | | | Notes: svn path=/head/; revision=286564
* Finish reverting r286410 - sorry, I somehow missed this with svn commit.Adrian Chadd2015-08-101-12/+0
| | | | Notes: svn path=/head/; revision=286563
* Properly sortBaptiste Daroussin2015-08-091-2/+2
| | | | Notes: svn path=/head/; revision=286528
* Add missing entryBaptiste Daroussin2015-08-091-0/+2
| | | | | | | Reported by: antroine Notes: svn path=/head/; revision=286527
* Add a new group named 'video' with the id of 44. And make drm createKoop Mast2015-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 Notes: svn path=/head/; revision=286524
* Change KPI of how device drivers that provide wireless connectivity interactGleb Smirnoff2015-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 Notes: svn path=/head/; revision=286410
* Now that the portsnap buildbox is generating the raw bits for INDEX-11,Xin LI2015-08-061-0/+1
| | | | | | | | | add it to the set of INDEX files built by portsnap. MFC after: 2 weeks Notes: svn path=/head/; revision=286392
* Now that stable/8 is EOL, stop building INDEX-8.Xin LI2015-08-061-1/+0
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=286375
* Make rctl_enable rc variable actually work. To avoid breaking existingEdward Tomasz Napierala2015-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 Notes: svn path=/head/; revision=286329
* Update the comment about handling old-style rc(5) scriptsEnji Cooper2015-08-051-2/+5
| | | | | | | | The old-style (*.sh) scripts in /etc/rc.d are explicitly ignored, whereas other scripts ending in .sh are permitted Notes: svn path=/head/; revision=286303
* rc.subr: Allow rc.conf.d with multi-directory local_startup.Jilles Tjoelker2015-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 Notes: svn path=/head/; revision=286163
* - Fix compilation after r285909 with USB_DEBUG defined.Marius Strobl2015-07-271-1/+10
| | | | | | | - Regenerate usb.conf. Notes: svn path=/head/; revision=285913
* Replace GNU RCS ident with a BSD license identBaptiste Daroussin2015-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 Notes: svn path=/head/; revision=285890
* Remove a comment in the wrong place.Edward Tomasz Napierala2015-07-181-1/+0
| | | | | | | | MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=285675
* Allow again periodic scripts to be run from command-line.Jeremie Le Hen2015-07-131-1/+5
| | | | | | | | | PR: 188109 Submitted by: Jason Unovitch MFC after: 1 week Notes: svn path=/head/; revision=285444
* Address review.Mark Murray2015-07-081-4/+4
| | | | | | | Differential Revision: https://reviews.freebsd.org/D2924 Notes: svn path=/head/; revision=285288
* - Add IPv6 support in quota(1). While rpc.rquotad has supported PF_INET6Hiroki Sato2015-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 Notes: svn path=/head/; revision=285253
* Minor changes to force commit these files so new freebsd*.cf files areGregory Neil Shapiro2015-07-072-2/+0
| | | | | | | | | built to use the new sendmail-8.15.2/cf tree. MFC after: 3 days Notes: svn path=/head/; revision=285230
* Updated random(4) boot/shutdown scripting.Mark Murray2015-06-302-6/+48
| | | | | | | | | | Fix the man pages as well. Differential Revision: https://reviews.freebsd.org/D2924 Approved by: so (delphij) Notes: svn path=/head/; revision=284960
* Add CouchDB ports (5984 TCP/UDP).Christian Brueffer2015-06-291-0/+2
| | | | | | | | | PR: 193268 Submitted by: yuri@rawbw.com MFC after: 1 week Notes: svn path=/head/; revision=284930
* Slight tidy up of comments before MFCJulian Elischer2015-06-291-2/+2
| | | | | | | MFC after: 2 days Notes: svn path=/head/; revision=284920
* Use correct flag in iovctl_start().Patrick Kelsey2015-06-271-1/+1
| | | | | | | | | | Differential Revision: https://reviews.freebsd.org/D2921 Reviewed by: rstone Approved by: jmallett (mentor) Sponsored by: Norse Corp, Inc. Notes: svn path=/head/; revision=284891
* remove 16 rules and replace by 2 by using a tableJulian Elischer2015-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 Notes: svn path=/head/; revision=284691
* Enable ttyu1, ttyu2, ttyu3 for arm installations.Glen Barber2015-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 Notes: svn path=/head/; revision=284683
* Regenerate usb.conf .Hans Petter Selasky2015-06-191-11/+35
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=284595
* Add META_MODE support.Simon J. Gerraty2015-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 Notes: svn path=/head/; revision=284345
| * Merge sync of headSimon J. Gerraty2015-05-2759-620/+1287
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=283595
| * \ Merge from head@274682Simon J. Gerraty2014-11-1957-430/+1130
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=274683
| * \ \ Merge head from 7/28Simon J. Gerraty2014-08-1914-101/+80
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * \ \ \ Merge from headSimon J. Gerraty2014-05-089-12/+10
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265720
| * | | | | There is no guarantee that our group has a name.Simon J. Gerraty2014-05-021-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the results are temp, just subst [gu]name for [gu]id Reviewed by: obrien Notes: svn path=/projects/bmake/; revision=265204
| * | | | | Merge headSimon J. Gerraty2014-04-2888-1594/+1542
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265044
| * | | | | | Fix botched sed scriptSimon J. Gerraty2013-10-211-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=256856
| * | | | | | We use distrib-dirs to populate stage tree.Simon J. Gerraty2013-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. Notes: svn path=/projects/bmake/; revision=256634
| * | | | | | Merge head@256284Simon J. Gerraty2013-10-1325-874/+774
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=256424
| * \ \ \ \ \ \ Merge headSimon J. Gerraty2013-09-116-6/+14
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=255477
| * \ \ \ \ \ \ \ Merge from headSimon J. Gerraty2013-09-0563-737/+2004
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=255263
| * \ \ \ \ \ \ \ \ sync from headSimon J. Gerraty2013-04-1214-157/+278
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=249429