summaryrefslogtreecommitdiffstats
path: root/etc/sendmail/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Catch up with etc/Makefile,v 1.324 -- split "install" and "distribution"ru2004-01-221-18/+13
| | | | | | | | | targets, have "distribution" always install original (as from the release media) files, whether SENDMAIL_MC is set or not. Do error handling the make(1) way. Reviewed by: gshapiro Approved by: gshapiro
* Adding WorkAroundBrokenAAAA seems a necessity even in the submit.mc givengshapiro2003-10-191-11/+1
| | | | | | | | | | the number of broken DNS servers out there in the world. Since we are diverging from the sendmail.org submit.mc, it's time to make our own freebsd.submit.mc. PR: conf/57733 Reviewed by: nork MFC after: 2 weeks
* Turn SENDMAIL_CF_DIR into an officially supported make.conf variablegshapiro2003-09-241-8/+9
| | | | | | | | | and use it in src/etc/sendmail/Makefile in case the user wants to use a different path to the sendmail m4 sources (e.g., sendmail port users). Submitted by: dinoex MFC after: 21 days X-MFC after: RELENG_4 code freeze ends
* Build the submit.cf file instead of installing the version that shipsgshapiro2003-09-011-4/+11
| | | | | | | | | with the vendor sendmail distribution. By doing so, we avoid mergemaster warnings after every 'make' in /etc/mail/. Reported by: Jeremy Chadwick <koitsu@parodius.com> MFC after: 3 days X-MFC after: and re approval
* Revert revision 1.25 now that mergemaster does a 'make all' to buildgshapiro2003-08-101-1/+1
| | | | | | | the required .cf file(s). Submitted by: ru X-MFC after: mergemaster MFC
* Continue trying to build SENDMAIL_CF if the user uses SENDMAIL_CFgshapiro2003-07-101-2/+5
| | | | | | | | | instead of SENDMAIL_MC but don't remove on it 'make clean' as the user may not have the original .mc file and removing it could be dangerous (e.g., make SENDMAIL_CF=/etc/mail/sendmail.cf clean). Noticed by: peter MFC after: 3 days
* Put back install/distribution dependency on the buildable .cfgshapiro2003-07-071-1/+1
| | | | | | files to get mergemaster working again. Noticed by: Shin-ichi YOSHIMOTO <yosimoto@waishi.jp>
* Get rid of unneeded depend targetgshapiro2003-07-061-2/+0
| | | | | Submitted by: ru MFC after: 5 days
* - Prevent buildworld from trying to write to /etc/mail/gshapiro2003-07-061-87/+48
| | | | | | | | | | | | | - Stop 'make clean' from removing SENDMAIL_CF - install and distribute targets should not attempt to build anything - SENDMAIL_ADDITIONAL_CF were not installed in the distribution case - If SENDMAIL_SET_USER_ID was defined, submit.cf was needlessly installed in the distribution case - Collapse install and distribution target into one to remove code duplication Submitted by: ru MFC after: 5 days
* Style fixes: tab after a dependency operator should be a single spacegshapiro2003-07-061-13/+13
| | | | | | | second level indent of tab should be four spaces Submitted by: ru MFC after: 3 days
* Drop support for COPY, -c has been the default mode of install(1)ru2002-07-291-13/+13
| | | | | | for a long time now. Approved by: bde
* s/${INSTALL} -c/${INSTALL} ${COPY}/ru2002-07-181-5/+5
|
* Change the default permissions for the sendmail statistics file to 0640gshapiro2002-05-241-1/+1
| | | | | | | | instead of 0644 to help protect users against a file locking local denial of service. MFC after: 1 day pending RE approval
* Non-sendmail users use the FreeBSD sendmail startup functionality to startgshapiro2002-04-211-2/+0
| | | | | | | | | | | | alternative MTAs. Therefore, always install rc.sendmail, regardless of NO_SENDMAIL make.conf setting. Users can still set mta_start_script to a different script. This commit is after a repo-copy of src/etc/sendmail/rc.sendmail to src/etc/rc.sendmail. Noticed by: Calvin NG <calvinng@brel.com> MFC after: 3 days
* Provide a new make.conf knob, SENDMAIL_SUBMIT_MC to allow users to pickgshapiro2002-04-141-6/+36
| | | | | | | | | the .mc file used for /etc/mail/submit.cf. By default, /etc/mail/freebsd.submit.mc is installed and used. Requested by: fenner Submitted by: ume MFC after: 1 week
* Quoting Peter Wemm, "At great personal risk, touch the sendmail startupgshapiro2002-04-051-0/+2
| | | | | | | | | | | | | | | | | | | | | again." As an alternative to sendmail_enable=NONE, solve the boot time problem for non-sendmail users completely by moving all of the sendmail startup code from /etc/rc to /etc/rc.sendmail. The source for that script will be kept in src/etc/sendmail/rc.sendmail so make.conf's NO_SENDMAIL will prevent it from being installed. A new rc.conf variable, mta_start_script specifies the script to run to start the user's preferred MTA. For backward compatibility, it will default to /etc/rc.sendmail. The specified script is called out of /etc/rc after checking to make sure it exists. A new rc.sendmail.8 man page has also been added which now houses the sendmail_* variable descriptions formerly in rc.conf.5. Use /etc/rc.sendmail in /etc/mail/Makefile to reduce code duplication. Reviewed by: -current, -stable, obrien, peter, ru MFC after: 1 week
* Make sure we don't remove /etc/mail/sendmail.cf on make clean since thisgshapiro2002-02-241-3/+11
| | | | | | | will break a running system during a buildworld. Noticed by: Alexandr Listopad <laa@laa.zp.ua> MFC after: 1 week
* Add new build knob, SENDMAIL_SET_USER_ID, which installs sendmail as agshapiro2002-02-171-0/+6
| | | | | set-user-ID root binary instead of the new method (set-group-ID smmsp). Therefore, we shouldn't install /etc/mail/submit.cf if it is set.
* Since buildworld builds cf files specified in SENDMAIL_ADDITIONAL_MC,gshapiro2001-11-201-1/+6
| | | | | | | | installworld should install them. PR: 29928 Submitted by: wollman MFC after: 3 days
* Revert change to always include _FFR_TLS_O_T as it requires FEATURE(access_db)gshapiro2001-08-011-2/+0
| | | | Problem found by: nsayer
* If the user sets SENDMAIL_MC to /etc/mail/sendmail.mc, install is told togshapiro2001-07-231-3/+9
| | | | | | | | | | | | | | | | install /etc/mail/sendmail.cf to /etc/mail/sendmail.cf and exits with an error: ===> etc/sendmail install -c -o root -g wheel -m 644 /etc/mail/sendmail.cf /etc/mail/sendmail.cf install: /etc/mail/sendmail.cf and /etc/mail/sendmail.cf are the same file *** Error code 64 Catch this in the Makefile and don't call install if the source and target are the same file. Reported by: Alexandr Listopad <laa@reis.zp.ua> MFC after: 1 week
* New make knob, SENDMAIL_M4_FLAGS, modifies the flags passed to m4 whengshapiro2001-07-231-1/+4
| | | | | | | | | | building a .cf file from a .mc file. Include -D_FFR_TLS_O_T to enable tls policy control since the sendmail binary build enables that FFR as well. PR: conf/28361 MFC after: 1 week
* Move installation of sendmail helpfile into etc/sendmail/Makefile. It isgshapiro2001-03-011-1/+6
| | | | a user configurable file and it would benefit from mergemaster.
* Fix dependencies and cleanup spacing in the filegshapiro2001-02-281-26/+20
|
* Need one additional make.conf knob, SENDMAIL_ADDITIONAL_MC to satisfy buggshapiro2001-02-221-0/+5
| | | | | | report. It allows building multiple .cf files at build time. PR: bin/19897
* Add a new make knob, SENDMAIL_MC, which is meant to replace SENDMAIL_CF asgshapiro2001-02-221-8/+32
| | | | | | | | | 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-221-1/+3
| | | | | | 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.
* Install sendmail.cf into /etc/mail.obrien1999-12-191-3/+3
| | | | | | | | | The current offical Sendmail Inc. version uses /var/mail/ and when we upgrade our repository to that version, we will get the change. It is best to make the path change in 4.0-R (which may not have the latest Sendmail Inc. version, than to change in mid-4.x stream when we may upgrade. Ok'ed by: Peter (quite a while ago)
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Builder for sendmail.cf's, in particular freebsd.cf.peter1998-08-041-0/+49
This needs to be revisited - we need a simple way of building/installing these at runtime from the installed system's /etc/mail directory. freebsd.mc,v and freefall.mc,v have been repository copied here.
OpenPOWER on IntegriCloud