summaryrefslogtreecommitdiffstats
path: root/usr.bin/vacation
Commit message (Collapse)AuthorAgeFilesLines
* Add META_MODE support.sjg2015-06-131-0/+24
|\ | | | | | | | | | | | | | | | | | | | | 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
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-271-11/+1
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-191-2/+0
| |\
| * \ Merge head from 7/28sjg2014-08-191-0/+2
| |\ \
| * | | Updated dependenciessjg2014-05-161-1/+0
| | | |
| * | | Updated dependenciessjg2014-05-101-0/+2
| | | |
| * | | sync from headsjg2013-04-121-5/+0
| |\ \ \
| * | | | Updated dependenciessjg2013-03-111-0/+1
| | | | |
| * | | | Updated dependenciessjg2013-02-161-2/+0
| | | | |
| * | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+25
| | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | Convert to usr.bin/ to LIBADDbapt2014-11-251-11/+1
| |_|_|/ |/| | | | | | | | | | | Reduce overlinking
* | | | Revert r267233 for now. PIE support needs to be reworked.bdrewery2014-08-191-2/+0
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. 50+% of NO_PIE use is fixed by adding -fPIC to INTERNALLIB and other build-only utility libraries. 2. Another 40% is fixed by generating _pic.a variants of various libraries. 3. Some of the NO_PIE use is a bit absurd as it is disabling PIE (and ASLR) where it never would work anyhow, such as csu or loader. This suggests there may be better ways of adding support to the tree. Many of these cases can be fixed such that -fPIE will work but there is really no reason to have it in those cases. 4. Some of the uses are working around hacks done to some Makefiles that are really building libraries but have been using bsd.prog.mk because the code is cleaner. Had they been using bsd.lib.mk then NO_PIE would not have been needed. We likely do want to enable PIE by default (opt-out) for non-tree consumers (such as ports). For in-tree though we probably want to only enable PIE (opt-in) for common attack targets such as remote service daemons and setuid utilities. This is also a great performance compromise since ASLR is expected to reduce performance. As such it does not make sense to enable it in all utilities such as ls(1) that have little benefit to having it enabled. Reported by: kib
* | | In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.bdrewery2014-06-081-0/+2
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is currently an opt-in build flag. Once ASLR support is ready and stable it should changed to opt-out and be enabled by default along with ASLR. Each application Makefile uses opt-out to ensure that ASLR will be enabled by default in new directories when the system is compiled with PIE/ASLR. [2] Mark known build failures as NO_PIE for now. The only known runtime failure was rtld. [1] http://www.bsdcan.org/2014/schedule/events/452.en.html Submitted by: Shawn Webb <lattera@gmail.com> Discussed between: des@ and Shawn Webb [2]
* | Since clang 3.2 now has an option to suppress warnings about implicitlydim2013-02-161-5/+0
|/ | | | | | | promoted K&R parameters, remove the workarounds added for sendmail components in r228558. MFC after: 1 week
* Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, todim2012-02-281-3/+1
| | | | | | | | | | | | | | | | | | | | | get rid of testing explicitly for clang (using ${CC:T:Mclang}) in individual Makefiles. Instead, use the following extra macros, for use with clang: - NO_WERROR.clang (disables -Werror) - NO_WCAST_ALIGN.clang (disables -Wcast-align) - NO_WFORMAT.clang (disables -Wformat and friends) - CLANG_NO_IAS (disables integrated assembler) - CLANG_OPT_SMALL (adds flags for extra small size optimizations) As a side effect, this enables setting CC/CXX/CPP in src.conf instead of make.conf! For clang, use the following: CC=clang CXX=clang++ CPP=clang-cpp MFC after: 2 weeks
* In usr.bin/vacation/Makefile, fix a typo in the comment about clangdim2011-12-191-1/+1
| | | | | | | warnings. Spotted by: arundel MFC after: 1 week
* Unfortunately, clang gives warnings about sendmail code that cannot bedim2011-12-171-0/+7
| | | | | | | turned off yet. Since this is contrib code, and we don't really care about the warnings, just turn make them non-fatal for now. MFC after: 1 week
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-0/+2
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* Remove kludges intended to support src trees with partial obj trees.des2005-06-101-20/+8
| | | | Discussed with: ru
* Remove MAINTAINER= lines from individual Makefiles in favor of thegshapiro2003-07-071-2/+0
| | | | MAINTAINER file (which already had entries for sendmail).
* Update build infrastructure for sendmail 8.12.gshapiro2002-02-171-3/+17
|
* Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3.markm2002-02-081-1/+0
|
* Protect this from the coming WARNS=2 default.markm2001-12-111-0/+1
|
* Add a MAINTAINER= line so people know who to blamegshapiro2000-10-261-0/+2
|
* Fix man page installationgshapiro2000-10-111-6/+4
| | | | | | Style fixes Submitted by: bde
* Use sendmail's version of vacation. It is command line and databasegshapiro2000-10-103-729/+31
| | | | | | | | | compatible with the old version but includes new functionality and bug fixes. Since it is not part of the NO_SENDMAIL make.conf option, libsmdb and libsmutil should always be built for vacation's sake. PR: 15227
* getopt and friends are declared in <unistd.h>imp2000-09-041-2/+0
| | | | getopt returns -1 not EOF.
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* Add a messy example of how to get debug-mode error messages written tosheldonh1999-06-231-1/+11
| | | | | | a file in the user's home directory. Requested by: hoek
* Postpone call to usage() until after all options are processed so thatsheldonh1999-06-181-6/+9
| | | | the -d debugging option produces consistent behaviour.
* Please forgive me, it's my first day on the block. Forgot to mention:sheldonh1999-06-171-1/+1
| | | | PR: 11987
* Null commit to reflect that the previous commit added warnings forsheldonh1999-06-171-1/+1
| | | | | previously unreported malloc() failures, and changed the exit status for those failures to encourage MTA retries.
* * Add a command-line option to enable debugging mode, which sends errorsheldonh1999-06-172-19/+67
| | | | | | | | messages to stderr instead of syslog. * Fix manpage with respect to diagnostics. Reported by: rfg@monkeys.com (Ronald F. Guilmette)
* Calls one or more of malloc(), warn(), err(), syslog(), execlp() ordes1998-10-131-2/+2
| | | | | | | | | | | execvp() in the child branch of a vfork(). Changed to use fork() instead. Some of these (mv, find, apply, xargs) might benefit greatly from being rewritten to use vfork() properly. PR: Loosely related to bin/8252 Approved by: jkh and bde
* Add const to copyright string. Hide sccsid string.charnier1997-11-031-4/+6
|
* Many places in the code NULL is used in integer context, wherephk1997-09-181-2/+2
| | | | | | | | | plain 0 should be used. This happens to work because we #define NULL to 0, but is stylistically wrong and can cause problems for people trying to port bits of code to other environments. PR: 2752 Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
* Stop parsing args before user supplied to argument in sendmail.imp1997-08-281-2/+2
| | | | Submitted by: Oliver Friedrichs <oliver@silence.secnet.com>
* Even better fix: use close(fileno(mfp)); to close unneded descriptorache1997-04-231-1/+2
| | | | and not clobber memory by fclose().
* Better fix: return vfork() again, but remove clobbering fclose()ache1997-04-231-4/+3
| | | | and use _exit() instead of exit()
* Replace vfork() by fork(), vfork() usage is totally bogus in this context.ache1997-04-231-2/+2
| | | | | This program don't bother to do even minimal vfork() support as per vfork(2) manpage required.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-2/+2
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-223-3/+3
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-143-3/+3
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Removed stray DPADD.bde1997-01-101-3/+2
|
* Various cleanups:joerg1996-09-283-17/+93
| | | | | | | | | | | | | . prototyped and staticized the internal functions while i was here, . made the thing -Wall clean, . fixed an error that causes the recipient name to be matched only for the first characters, as opposed to a full name (wonder why i'm concerned? Well, one of my login IDs is `j', and i've noticed that vacation has been sending out replies to all mailing list messages that had a jkh@ or jmb@ in it :), . introduced an option -l to list the contents of the database; mucho useful if you've got (too) many mailing list messages in your inbox and wanna make sure you don't miss the `important' mails.
* Correct a bunch of man page cross references and generallympp1996-02-111-2/+3
| | | | | | try and silence "manck". ncurses, rpc, and some of the gnu stuff are still a big mess, however.
* Correct some manual page cross reference errors. E.g. su is a sectionmpp1996-02-021-2/+2
| | | | | one man page, not section eight. This is the first round of such changes and only fixes man pages in manual section one.
* Delete bogus referneces to timezone code internal header file `tzfile.h',wollman1995-08-071-3/+2
| | | | which is no longer bogusly installed in /usr/include.
OpenPOWER on IntegriCloud