summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* 1. If PKG_DBDIR cannot be determined from make, set the defaultdougb2011-05-051-2/+3
| | | | | | | | 2. Add the -H flag to tar in case /var/db/pkg itself is a symlink 3. Direct stderr to /dev/null to suppress the leading slash warning [1] PR: ports/156810 [1] Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com> [1]
* The security run requests unmaskable output, even if the only output is tonetchild2011-05-041-5/+6
| | | | | | | | | | | | | | | | tell that there is a separate email or that the output is logged to a file. This commit changes the return code for the non-inline case to tell that this message is not important enough and can be masked if necessary. The messages from the security checks themself are not affected by this and show up as before in the periodic security email/file. The inline case still requests to not mask the output, as with the current way of handling this there is no easy way to handle this. PR: 138692 Analysis/patch atch by: Chris Cowart <ccowart@timesinks.net> X-MFC after: on request
* Use proper return codes (valuable output, invalid config, problems).netchild2011-05-041-3/+5
| | | | MFC after: 1 week
* Upgrade to OpenSSH 5.8p2.des2011-05-041-1/+10
|
* Updated `flags' field description.ru2011-05-031-1/+1
|
* Upgrade our copy of llvm/clang to r130700, from upstream's trunk.dim2011-05-021-1/+1
|
* Rather than trusting that nothing is going to sneak in before thedougb2011-04-291-7/+4
| | | | | | | | | | | | | | | early_late_divider in the second run (and thus be skipped altogether), keep a list of the scripts run early, and use that list to skip things in the second run. This has the primary benefit of not skipping a local script that gets ordered too early in the second run. It also gives an opportunity to clean up/simplify the code a bit. Use a space-separated list rather than the more traditional colon for maximum insurance against creativity in local naming conventions. Reviewed by: brooks
* Fix module names and dependencies so the NFS clients willrmacklem2011-04-271-1/+1
| | | | load correctly as modules after r221124.
* Update the /etc/rc.d scripts for mountd and nfsd so theyrmacklem2011-04-263-17/+30
| | | | | | | | | | can use the "-o" option to force the old NFS server to run. Running the old NFS server is enabled by setting oldnfs_server_enable="YES". The scripts will only enable providing service for NFSv4 if nfsv4_server_enable="YES" is set. Reviewed by: dougb (rc)
* Create a function for the code from r192246 so that it can be used bothdougb2011-04-251-11/+15
| | | | | | | | times mount is called. Limit the automatic behavior to when AUTO is specified (as it is in etc/defaults/rc.conf) and for everything else take advantage of all of the goodness in checkyesno.
* Add svn:executable propertydougb2011-04-251-0/+0
|
* As previously advertised, remove the error message for enable_quotasdougb2011-04-231-4/+0
| | | | | | prior to 9.0-RELEASE. This change should not be MFC'ed.
* Improve the error handling for the new get_pidfile_from_conf()dougb2011-04-231-2/+6
|
* Introduce to rc.subr get_pidfile_from_conf(). It does just what it soundsdougb2011-04-234-3/+68
| | | | | | | | | like, determines the path to a pid file as it is specified in a conf file. Use the new feature for rc.d/named and rc.d/devd, the 2 services in the base that list their pid files in their conf files. Remove the now-obsolete named_pidfile, and warn users if they have it set.
* The change in r206686 to allow the stop argument to work for a servicedougb2011-04-171-1/+2
| | | | | | | | | | | | | | that is running even though not _enable'd had an annoying side effect. If the service was already started at boot time by another means when the related script came around again in rcorder it would start again, regardless of _enable, because there was a valid pid. [1] So, split the test into 2 parts, one for (!rcvar && !stop), and one for (stop && !valid_pid). This preserves the behavior from r206686 while preventing the undesired side effect. PR: conf/156427 [1] Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru> [1]
* Remove libobjc and other Objective-C related components, as these aredim2011-04-171-2/+0
| | | | | | extremely outdated, and not used by anything in the base system. Silence from: current@
* * Add the readline(3) API to libedit. The libedit versions ofobrien2011-04-051-0/+4
| | | | | | | | | | | | | | | | {readline,history}.h are in /usr/include/edit so as to not conflict with the GNU libreadline versions. To use the libedit readline(3) one should add "-I/usr/include/edit" to their Makefile (spelled "-I${DESTDIR}/${INCLUDEDIR}/edit" within the FreeBSD source tree). * Enable its use in the BSD licensed utilities that support readline(3). * To make it easier to sync libedit development with NetBSD, histedit.h is moved into libedit's directory as history shows shown we keep merging it into that location. Obtained from: NetBSD Sponsored by: Juniper Networks
* Add example devd.conf entry.trasz2011-03-301-0/+10
|
* Add startup script, to load rules from /etc/rctl.conf.trasz2011-03-302-1/+40
| | | | | Sponsored by: The FreeBSD Foundation Reviewed by: kib (ealier version)
* Remove the reference to pseudo-terminals from the description.ed2011-03-308-24/+16
| | | | | Pseudo-terminals are no longer listed in this file, since the utmpx implementation doesn't depend on ttyslot().
* Replace ${SYSCTL_W} with ${SYSCTL} in rc.d scripts, as they are identical.emaste2011-03-308-51/+51
| | | | | | This is a further clean up after r202988. SYSCTL_W is still initialized in rc.subr as some ports may still use it.
* Hook the 220.backup-pkgdb script I added to the build unconditionallydougb2011-03-272-0/+2
| | | | | | Hook up 610.ipf6denied based on MK_IPFILTER as 510.ipfdenied is now Poked by: Andrzej Tobola <ato@iem.pw.edu.pl>
* Add svn:executable property on remaining period scripts without itdougb2011-03-276-0/+0
|
* Add a daily period script to back up /var/db/pkgdougb2011-03-262-0/+54
| | | | | | | | | | The final product contains work from the originator, and Florent Thoumie <florent.thoumie@gmail.com>. The final product contains considerable re-working by me, so all responsibility for bugs rests under my pointy hat. PR: ports/145957 Submitted by: Eitan Adler <EitanAdlerList@gmail.com>
* Add the svn:executable property to the scripts that are missing itdougb2011-03-267-0/+0
|
* MFgraid/head:mav2011-03-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new RAID GEOM class, that is going to replace ataraid(4) in supporting various BIOS-based software RAIDs. Unlike ataraid(4) this implementation does not depend on legacy ata(4) subsystem and can be used with any disk drivers, including new CAM-based ones (ahci(4), siis(4), mvs(4), ata(4) with `options ATA_CAM`). To make code more readable and extensible, this implementation follows modular design, including core part and two sets of modules, implementing support for different metadata formats and RAID levels. Support for such popular metadata formats is now implemented: Intel, JMicron, NVIDIA, Promise (also used by AMD/ATI) and SiliconImage. Such RAID levels are now supported: RAID0, RAID1, RAID1E, RAID10, SINGLE, CONCAT. For any all of these RAID levels and metadata formats this class supports full cycle of volume operations: reading, writing, creation, deletion, disk removal and insertion, rebuilding, dirty shutdown detection and resynchronization, bad sector recovery, faulty disks tracking, hot-spare disks. For Intel and Promise formats there is support multiple volumes per disk set. Look graid(8) manual page for additional details. Co-authored by: imp Sponsored by: Cisco Systems, Inc. and iXsystems, Inc.
* - Merge in OFED 1.5.3 from projects/ofed/headjeff2011-03-215-0/+47
|
* Add resolvconf(8) which manages resolv.conf.ume2011-03-181-0/+2
|
* Forgot to commit this change along with r219563: pam_group(8) now issuesdes2011-03-151-1/+1
| | | | | | | a warning if neither luser nor ruser is specified. The correct option for su(1) is ruser. MFC after: 1 month
* Thanks to sysinstall for its 15 years of service. And now to sleep,nwhitehorn2011-03-141-2/+1
| | | | perchance to dream...
* Revert r219578dougb2011-03-131-3/+3
|
* Remove the svn:executable property on Makefiledougb2011-03-132-0/+0
| | | | Add it on hastd
* Use the allexport option in load_rc_config() in order to avoid havingdougb2011-03-121-3/+3
| | | | | | | | | | | | | | to repeatedly read the conf files. Depending on what is enabled the files are being read anywhere from 15, 30, or more times currently. By loading the values in the environment this is reduced to 1, with perhaps a couple more, again depending on what is enabled. The speed-up for boot and shutdown is negligible when rc.conf is on local disk, noticable when accessing files over NFS, and dramatic when pulling rc.conf values from a database. This change also includes a minor optimization to the conditional for $_rc_conf_loaded.
* Commit two more files missed in r219089.pjd2011-02-271-2/+0
| | | | MFC after: 1 month
* Recognize 'reload' command, as hastd can be reloaded with the SIGHUP signal.pjd2011-02-271-0/+1
| | | | MFC after: 1 week
* Add the BSD-licensed Citrus iconv to the base system with default offgabor2011-02-251-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | setting. It can be built by setting the WITH_ICONV knob. While this knob is unset, the library part, the binaries, the header file and the metadata files will not be built or installed so it makes no impact on the system if left turned off. This work is based on the iconv implementation in NetBSD but a great number of improvements and feature additions have been included: - Some utilities have been added. There is a conversion table generator, which can compare conversion tables to reference data generated by GNU libiconv. This helps ensuring conversion compatibility. - UTF-16 surrogate support and some endianness issues have been fixed. - The rather chaotic Makefiles to build metadata have been refactored and cleaned up, now it is easy to read and it is also easier to add support for new encodings. - A bunch of new encodings and encoding aliases have been added. - Support for 1->2, 1->3 and 1->4 mappings, which is needed for transliterating with flying accents as GNU does, like "u. - Lots of warnings have been fixed, the major part of the code is now WARNS=6 clean. - New section 1 and section 5 manual pages have been added. - Some GNU-specific calls have been implemented: iconvlist(), iconvctl(), iconv_canonicalize(), iconv_open_into() - Support for GNU's //IGNORE suffix has been added. - The "-" argument for stdin is now recognized in iconv(1) as per POSIX. - The Big5 conversion module has been fixed. - The iconv.h header files is supposed to be compatible with the GNU version, i.e. sources should build with base iconv.h and GNU libiconv. It also includes a macro magic to deal with the char ** and const char ** incompatibility. - GNU compatibility: "" or "char" means the current local encoding in use - Various cleanups and style(9) fixes. Approved by: delphij (mentor) Obtained from: The NetBSD Project Sponsored by: Google Summer of Code 2009
* Enable the check for negative permissions (the group on a file can't dobrooks2011-02-241-1/+1
| | | | | | something "everyone" can) by default. X-MFC after: never
* The new accounting file needs to be 644 so that unprivileged usersdougb2011-02-241-0/+1
| | | | can use lastcomm(1)
* Update how accounting log files are rotated.dougb2011-02-222-11/+38
| | | | | | | | | | | | | | | | The old version had a race between the time that the old file was cp'ed to acct.0 and the time that 'sa -s' was run that prevented the commands that occurred in the meantime from being backed up. It's also arguable that the old version was inefficient in using cp which can be a problem on a space-constrained system. This version avoids both problems, albeit it's considerably more complicated. The advantage of putting the log rotation in the rc.d script is that it can handle the _enable and _file questions without having to do gymnastics to discover either value in the periodic script. As a side effect of reviewing the rc.d script I cleaned it up a bit.
* Flesh out WITHOUT_GROFF support to DTRT.uqs2011-02-224-38/+54
| | | | | | | | | | | | A full featured groff is required during buildworld, so build it always and don't rely on it being present on the host system. vgrind(1) is tightly coupled to a roff processor and will not be built/installed when groff is disabled. Also much of the roff'ed documentation under share/doc will not be built/installed when WITHOUT_GROFF is defined. Reviewed by: ru (partial)
* Actually install the example Khelp module committed in r218545.lstewart2011-02-211-0/+2
| | | | | | Sponsored by: FreeBSD Foundation MFC after: 4 weeks X-MFC with: r218545
* Upgrade our copy of llvm/clang to r126079, from upstream's trunk.dim2011-02-201-1/+1
| | | | | This contains many improvements, primarily better C++ support, an integrated assembler for x86 and support for -pg.
* Add a note about AXFR of important zones being available from ICANNdougb2011-02-201-0/+5
|
* Import bsdinstall. This is meant to be (eventually in conjunction withnwhitehorn2011-02-181-0/+2
| | | | | | | | | | | | | | pc-sysinstall) a replacement for sysinstall in the 9.0 release and beyond. Currently supported platforms are sparc64, pc98, i386, amd64, powerpc, and powerpc64. Integration into the build system will occur in the coming weeks. Merging with pc-sysinstall will use this code as a frontend, while temporarily retaining the interactive partition editor here. This work will be done in parallel with improvements on this code and release integration. Thanks to all who have provided testing and comments!
* Install iodev.h.kib2011-02-171-0/+2
| | | | | Reviewed by: attilio MFC after: 1 week
* Remove in-addr.arpa from the list of zones it is possible to slave locallydougb2011-02-161-8/+0
|
* Fix termcap entry typo.uqs2011-02-091-1/+1
| | | | MFC after: 2 weeks
* Catch up with reality and references from the latest RFCsdougb2011-02-051-8/+11
| | | | (especially 5735) for our default empty zones.
* Let rpcbind clean up after itselfdougb2011-01-311-0/+2
|
* o Add user 'hast'.maxim2011-01-312-0/+2
|
OpenPOWER on IntegriCloud