summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Overhaul the MACHINE_CPU behaviour:kris2001-02-221-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rip out MACHINE_CPU stuff from sys.mk and include a new <bsd.cpu.mk> after we pull in /etc/make.conf. We need to do it afterwards so we can react to the user setting of the: * CPUTYPE variable, which contains the CPU type which the user wants to optimize for. For example, if you want your binaries to only run on an i686-class machine (or higher), set this to i686. If you want to support running binaries on a variety of CPU generations, set this to the lowest common denominator. Supported values are listed in make.conf. * bsd.cpu.mk does the expansion of CPUTYPE into MACHINE_CPU using the (hopefully) correct unordered list of CPU types which should be used on that CPU. For example, an AMD k6 CPU wants any of the following: k6 k5 i586 i486 i386 This is still an unordered list so the client makefile logic is simple - client makefiles need to test for the various elements of the set in decreasing order of priority using ${MACHINE_CPU:M<foo>}, as before. The various MACHINE_CPU lists are believed to be correct, but should be checked. * If NO_CPU_CFLAGS is not defined, add relevant gcc compiler optimization settings by default (e.g. -karch=k6 for CPUTYPE=k6, etc). Release builders and developers of third-party software need to make sure not to enable CPU-specific optimization when generating code intended to be portable. We probably need to move to an /etc/world.conf to allow the optimization stuff to be applied separately to world/kernel and external compilations, but it's not any worse a problem than it was before. * Add coverage for the ia64/itanium MACHINE_ARCH/CPUTYPE. * Add CPUTYPE support for all of the CPU types supported by FreeBSD and gcc (only i386, alpha and ia64 first, since those are the minimally-working ports. Other architecture porters, please feel free to add the relevant gunk for your platform). Reviewed by: jhb, obrien
* Revamp /etc/mail/Makefile:gshapiro2001-02-221-20/+144
| | | | | | | | | | + Add support for the new SENDMAIL_MC make.conf knob + Add the ability to build .cf files from .mc files + Generalize map rebuilding + Add the ability to rebuild the aliases file + Add the ability to stop, start, and restart sendmail PR: bin/13759, bin/19897, bin/24397
* Add a new make knob, SENDMAIL_MC, which is meant to replace SENDMAIL_CF asgshapiro2001-02-222-8/+40
| | | | | | | | | users should be configuring via m4 now. If set, use m4 to create the .cf file. Also, if either SENDMAIL_MC or SENDMAIL_CF is set, 'make install' or 'make distribution' in src/etc/sendmail/ will install the appropriate .cf as /etc/mail/sendmail.cf. This fixes some mergemaster problems. PR: conf/13016
* Install freebsd.mc and freebsd.cf in /etc/mail so users have the base filesgshapiro2001-02-221-1/+5
| | | | for creating their own configuration.
* Move creation of the sendmail statistics file from the usr.sbin/sendmailgshapiro2001-02-222-2/+4
| | | | | | Makefile to the etc/sendmail Makefile to be consistent with all of the other /var file creations. In doing so, change the Makefile target from etc-sendmail.cf to distribution as it installs more than just the sendmail.cf.
* Clean up freebsd.mc to make it easier for users to read and modify.gshapiro2001-02-221-19/+28
| | | | The freebsd.cf from this new freebsd.mc is functionally equivalent.
* Add com1-4 as finger friendly shortcuts for /dev/cuaa0-3. Specify a defaultnik2001-02-211-0/+6
| | | | | | baud rate of 9600. Reviewed by: arch
* Fix some glaring insecurities in the prototype firewall configurations.nsayer2001-02-201-8/+4
| | | | | | | | pass udp from any 53 to ${oip} allows an attacker to access ANY local port by simply binding his local side to 53. The state keeping mechanism is the correct way to allow DNS replies to go back to their source.
* Add missing .../cat?/alpha directories.ru2001-02-191-0/+8
|
* Create directory infrastructure required to format, displayru2001-02-192-0/+31
| | | | | | | | and store preformatted /usr/share/man manual pages in 8-bit iso-8859-1 charset for all *_*.ISO_8859-1 locales. Requested by: des Input from: ache
* Add 500.queuerunache2001-02-191-0/+1
|
* Introduce support for using OpenSSL ASM optimizations. This is donekris2001-02-191-1/+14
| | | | | | | | | | | | | | | | | | | | | | | through the use of a new build directive, MACHINE_CPU, which contains a list of the CPU generations/features for which optimizations are desired. This feature will be extended to cover the ports tree in the future. Currently OpenSSL provides optimizations for i386, i586 and i686-class CPUs. Currently it has not been tested on an i386 or i486. Teach make(1) to provide sensible defaults for MACHINE_CPU if it is not defined (namely, the lowest common denominator CPU we support for each architecture). Currently this is i386 for the i386 architecture and ev4 for the alpha. sys.mk also sets the variable as a last resort for consistency with MACHINE_ARCH and bootstrapping from very old versions of make. Benchmarks show a significant speed increase even in the i386 case, with additional improvements for i586 and i686 systems. For maximum performance define MACHINE_CPU=i686 i586 i386 in /etc/make.conf. Based on a patch submitted by: Mike Silbersack <silby@silby.com> Reviewed by: current
* Move the sendmail -q from cron to periodic, as suggested by a few people.peter2001-02-193-4/+37
| | | | | This has the benefit of adding a random start time element as daily processing takes a different amount of time on different machines.
* Duh! forgot to add BSD_daemon to the mtree files.phk2001-02-181-0/+2
| | | | Submitted by: "Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk>
* 120 seconds is not 3 minuteskris2001-02-181-1/+1
|
* Log the console output to "/var/log/console.log", not "/var/log/console"phk2001-02-172-3/+3
| | | | (MFC candidate)
* Apparently, people do not listen for a plea to look into theru2001-02-157-84/+83
| | | | README file before making changes here. Fix them once again.
* Fixed the fatal (missing "..").ru2001-02-151-0/+1
| | | | Pointy hat to: asmodai
* Manually run /usr/sbin/sendmail -q once a day. Folks seem to be toopeter2001-02-151-0/+4
| | | | | | | | trigger happy and turn off sendmail_enable entirely (instead of setting sendmail_flags to -q30m instead). I have seen boxes with things like daily run reports that have sat in mailq for 5 months. Since /usr/sbin/sendmail is actually mailwrapper, this should be safe for the other plugins that provide the sendmail calling interface.
* Added the KME SCSI-CARD-001 of a SCSI card (accessory oftoshi2001-02-121-0/+4
| | | | | | | Hewlett Packard M820e CD-writer). Pointed out by: mitchy@er.ams.eng.osaka-u.ac.jp Submitted by: Stacy Millions <stacy@millions.ca>
* Give some additional DNS black hole possibilities as comments.gshapiro2001-02-121-1/+3
| | | | Submitted by: clive
* Add en_NZ.ISO_8859-1.asmodai2001-02-102-0/+6
|
* Add af_ZA.ISO_8859-1asmodai2001-02-092-0/+5
| | | | Submitted by: ache
* Show denied secondary bind transfer attemptsbrian2001-02-081-0/+7
| | | | | | Submitted by: inTEXT Communications <glenn@intextonline.com> Ok'd by: imp, kris Not objected to by: freebsd-audit
* o Introduce automated log rotation for /var/log/console, therwatson2001-02-061-0/+1
| | | | | | | | | | | default syslog target for console messages (when enabled in syslog.conf). Use the same rotation defaults as with /var/log/messages -- every 100kb of log, compress back logs, and keep five rotated logs. o Note: phk also thought it would be useful to force rotation each boot. This commit does not introduce such a rotation. Reviewed by: phk
* Introduce the option of running fsck -y if the initial preen fails.dougb2001-02-052-2/+19
| | | | | | Defaults to off. Obtained from: Yahoo!
* Don't specify root:wheel for tun*, it's the default.brian2001-02-031-1/+1
| | | | Pointed out by: bde
* o Reinstate Kerberos IV support for sshd when MAKE_KERBEROS4 isrwatson2001-02-031-0/+1
| | | | | | | | | compiled in. This involves a commented out sshd line to match the remainder of the commented out pam_kerberosIV.so entries. This doesn't quite restore the correct behavior, as ticket files are not managed properly, but it's an improvement. Forgotten by: green
* Pick up all messages* files less than two days old rather thanbrian2001-02-031-8/+9
| | | | | | | | | | just messages{,.0*} when looking for login failures and refused connections. PR: 23415 Mostly submitted by: phk Convert a few " "s to tabs while I'm here - for consistency.
* Change the permissions on /dev/tun* to 0600 root:wheelbrian2001-02-031-1/+1
|
* Allow the output of /etc/security to be logged or mailed to differentbrian2001-01-302-5/+13
| | | | | | | users in line with ${daily,weekly,monthly}_output using a new $daily_status_security_output variable. PR: 24643
* Run purgedir (a local function) on /var/run instead of rm /var/run/*brian2001-01-301-2/+1
| | | | | PR: 24612 Submitted by: David Drum <david@mu.org>
* Replace the full path to sysinstall with a standard manual pagesheldonh2001-01-291-1/+1
| | | | | | reference. The sysinstall binary is now in root's standard PATH, so there's no need for explicit pathing, and there's some value in a manual page reference.
* D'oh! Forgot to link to /dev/voodoo.cokane2001-01-261-1/+2
|
* - Don't try to send RA to lo0, gifN and faithN.ume2001-01-252-38/+10
| | | | | | - ipv6_network_interfaces has all available interfaces to work for static configuration even if the host is end host. When rtsol is invoked, singleness of interface is checked.
* Mention about rtadvd_interfaces. It should be specified if you wantume2001-01-251-0/+1
| | | | use rtadvd.
* Add the options of which cron program to run, and specifying flagsdougb2001-01-212-1/+3
| | | | | | | to it. PR: conf/24358 Submitted by: Gerhard Sittig <Gerhard.Sittig@gmx.net>
* Tell users to run /usr/sbin/sysinstall now instead of /stand/sysinstall.jhb2001-01-171-1/+1
| | | | Reminded by: jkh
* Add el_GR.ISO_8859-7ache2001-01-172-0/+6
|
* FreeBSD doesn't run named in a sandbox by default, so change a comment so itben2001-01-161-1/+1
| | | | doesn't imply we do.
* Add a sysvipc_enable variable that causes the SysV IPC modules to be loaded.des2001-01-162-0/+11
| | | | Reviewed by: dougb
* Fix this to be more consistent with similar constructions elsewheredougb2001-01-142-2/+2
|
* add new PC-Card entry, Melco/Buffalo LPC2-CLTsanpei2001-01-141-0/+6
| | | | | | | | ed1 at port 0x300-0x31f irq 3 slot 0 on pccard0 ed1: address 00:40:26:xx:xx:xx, type NE2000 (16 bit) Submitted by: [FreeBSD-users-jp 58182] YANAGAWA Kazuhisa <kjana@os.xaxon.ne.jp>
* Move the process of storing entropy from /dev/random and reseeding withdougb2001-01-145-62/+41
| | | | | | | | | | | | | | | | it at boot time closer to the way we want it to be in the final version. * Move the default directory to /var/db/entropy * Run the entropy saving cron job every 11 minutes. This seems to be a better default, although still bikeshed material. * Feed /dev/random some cheesy "entropy" from various commands and files before the disks are mounted. This gives /dev/random a better chance of running without blocking early. * Move the reseeding with previously stored entropy to the point immediately after the disks are mounted. * Make the harvesting script a little safer in regards to the possibility of accidentally overwriting something other than a regular file.
* Fix a small typodougb2001-01-111-1/+1
|
* Add a system to save entropy from /dev/random periodically so thatdougb2001-01-114-10/+36
| | | | | | | | | | | | | | | | | | it can be used to reseed at boot time. This will greatly increase the chances that there will be sufficient entropy available at boot time to prevent long delays. For /etc/rc, remove the vmstat and iostat runs from the attempt to provide some cheesy randomness if the files fail, since those programs are dynamically linked, and ldd seems to want some randomness to do its magic. Guidance and parameters for this project were provided by Mark Murray, based on the requirements of the Yarrow algorithm. Some helpful suggestions for implementation (including the tip about iostat and vmstat) were provided by Sheldon Hearn. All blame for problems or mistakes is mine of course.
* Add portmap as a dependency for NIS client and server.bsd2001-01-111-0/+2
| | | | Requested by: gallatin
* update the makefile to install all files from this directory to /etc/isdnhm2001-01-101-6/+10
|
* Update: allow a list of numbers to be ignored and display the line onhm2001-01-101-15/+35
| | | | which the call was received.
* correct two horrible spelling errorshm2001-01-101-3/+3
|
OpenPOWER on IntegriCloud