mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Make mailwrapper build
This commit is contained in:
parent
2705d66b49
commit
521cb9d2af
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55228
@ -1,13 +1,14 @@
|
||||
# $NetBSD: Makefile,v 1.4 1999/03/25 16:40:18 is Exp $
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= mailwrapper
|
||||
MAN= mailwrapper.8 mailer.conf.5
|
||||
MAN8= mailwrapper.8
|
||||
|
||||
DPADD+= ${LIBUTIL}
|
||||
LDADD+= -lutil
|
||||
|
||||
SYMLINKS= /usr/sbin/mailwrapper /usr/sbin/sendmail \
|
||||
/usr/sbin/mailwrapper /usr/bin/newaliases \
|
||||
/usr/sbin/mailwrapper /usr/bin/mailq
|
||||
SYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \
|
||||
${BINDIR}/mailwrapper /usr/bin/newaliases \
|
||||
${BINDIR}/mailwrapper /usr/bin/mailq
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,4 +1,5 @@
|
||||
.\" $NetBSD: mailwrapper.8,v 1.6 1999/03/25 16:40:17 is Exp $
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.\" Copyright (c) 1998
|
||||
.\" Perry E. Metzger. All rights reserved.
|
||||
@ -127,13 +128,15 @@ was invoked.
|
||||
.Sh SEE ALSO
|
||||
.Xr mail 1 ,
|
||||
.Xr mailq 1 ,
|
||||
.Xr mailer.conf 5 ,
|
||||
.Xr newaliases 1 ,
|
||||
.Xr mailer.conf 5 ,
|
||||
.Xr sendmail 8 .
|
||||
.Sh HISTORY
|
||||
.Nm
|
||||
appeared in
|
||||
.Nx 1.4 .
|
||||
first appeared in
|
||||
.Nx 1.4
|
||||
and then
|
||||
.Fx 4.0 .
|
||||
.Sh AUTHORS
|
||||
Perry E. Metzger <perry@piermont.com>
|
||||
.Sh BUGS
|
||||
|
@ -1,4 +1,5 @@
|
||||
/* $NetBSD: mailwrapper.c,v 1.3 1999/05/29 18:18:15 christos Exp $ */
|
||||
/* $FreeBSD$ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998
|
||||
@ -36,9 +37,9 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <util.h>
|
||||
#include <libutil.h>
|
||||
|
||||
#define _PATH_MAILERCONF "/etc/mailer.conf"
|
||||
#include "pathnames.h"
|
||||
|
||||
struct arglist {
|
||||
size_t argc, maxc;
|
||||
|
35
usr.sbin/mailwrapper/pathnames.h
Normal file
35
usr.sbin/mailwrapper/pathnames.h
Normal file
@ -0,0 +1,35 @@
|
||||
/* $NetBSD: mailwrapper.c,v 1.3 1999/05/29 18:18:15 christos Exp $ */
|
||||
/* $FreeBSD$ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998
|
||||
* Perry E. Metzger. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgment:
|
||||
* This product includes software developed for the NetBSD Project
|
||||
* by Perry E. Metzger.
|
||||
* 4. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#define _PATH_MAILERCONF "/etc/mailer.conf"
|
Loading…
Reference in New Issue
Block a user