summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge from headsjg2013-09-0563-737/+2004
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ sync from headsjg2013-04-1214-157/+278
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Sync with HEAD.obrien2013-02-0831-153/+298
| |\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Updated/new Makefile.dependsjg2012-11-081-0/+14
| | | | | | | | | | | |
* | | | | | | | | | | | Re-implement endian-aware services_mkdb(8) in the 'distribute'gjb2015-06-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | target. This effectively reverts r261142, which reverted both r261031 and r261044. Prodded by: jhb MFC after: 1 week Sponsored by: The FreeBSD Foundation
* | | | | | | | | | | | After r283981 it is no more needed to specify endianness when generating thebapt2015-06-041-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | passwd database
* | | | | | | | | | | | Upgrade our copy of clang and llvm to 3.6.1 release.dim2015-05-252-2/+2
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This release contains the following cherry-picked revisions from upstream trunk: 226124 226151 226164 226165 226166 226407 226408 226409 226652 226905 226983 227084 227087 227089 227208 227209 227210 227211 227212 227213 227214 227269 227430 227482 227503 227519 227574 227822 227986 227987 227988 227989 227990 228037 228038 228039 228040 228188 228189 228190 228273 228372 228373 228374 228403 228765 228848 228918 229223 229225 229226 229227 229228 229230 229234 229235 229236 229238 229239 229413 229507 229680 229750 229751 229752 229911 230146 230147 230235 230253 230255 230469 230500 230564 230603 230657 230742 230748 230956 231219 231237 231245 231259 231280 231451 231563 231601 231658 231659 231662 231984 231986 232046 232085 232142 232176 232179 232189 232382 232386 232389 232425 232438 232443 232675 232786 232797 232943 232957 233075 233080 233351 233353 233409 233410 233508 233584 233819 233904 234629 234636 234891 234975 234977 235524 235641 235662 235931 236099 236306 236307 Please note that from 3.5.0 onwards, clang and llvm require C++11 support to build; see UPDATING for more information.
* | | | | | | | | | | Adjust default argument construction for -c to be getopt compliant forpeter2015-05-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | consistency, even though unbound understood it.
OpenPOWER on IntegriCloud