Make this compile again in -current.
PR: 6977 Submitted by: maintainer
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Ports collection makefile for: smtpd
|
||||
# Version required: 2.0
|
||||
# Date created: 06 Feb 1998
|
||||
# Whom: Joao Carlos Mendes Luis <jonny@coppe.ufrj.br>
|
||||
# Whom: Joao Carlos Mendes Luis <jonny@jonny.eng.br>
|
||||
#
|
||||
# $Id$
|
||||
# $Id: Makefile,v 1.1.1.1 1998/03/01 01:58:51 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= smtpd-2.0
|
||||
@@ -13,7 +13,7 @@ MASTER_SITES= ftp://ftp.obtuse.com/pub/smtpd/
|
||||
PATCH_SITES= ${MASTER_SITES}
|
||||
PATCHFILES= patch-smtpd-2.0-RBL.gz
|
||||
|
||||
MAINTAINER= jonny@coppe.ufrj.br
|
||||
MAINTAINER= jonny@jonny.eng.br
|
||||
|
||||
# Directory where smtpd will chroot to, and put the received mail
|
||||
# If you change it here, change also patches/patch-aa
|
||||
|
||||
16
mail/smtpd/files/patch-ab
Normal file
16
mail/smtpd/files/patch-ab
Normal file
@@ -0,0 +1,16 @@
|
||||
--- smtpfwdd.c.org Wed Jun 17 21:21:10 1998
|
||||
+++ smtpfwdd.c Wed Jun 17 21:21:22 1998
|
||||
@@ -43,12 +43,12 @@
|
||||
"Copyright 1996 - Obtuse Systems Corporation - All rights reserved.";
|
||||
char *obtuse_rcsid = "$Id: smtpfwdd.c,v 1.35 1997/12/12 04:07:49 beck Exp $";
|
||||
|
||||
+#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
#include <signal.h>
|
||||
#include <dirent.h>
|
||||
#include <pwd.h>
|
||||
#include <grp.h>
|
||||
-#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <sys/stat.h>
|
||||
@@ -3,7 +3,7 @@
|
||||
if [ $# -eq 0 -o "$1" = "start" ]; then
|
||||
if [ -x !!PREFIX!!/sbin/smtpfwdd ] ; then
|
||||
!!PREFIX!!/sbin/smtpfwdd
|
||||
echo " smtpfwdd"
|
||||
echo -n " smtpfwdd"
|
||||
fi
|
||||
fi
|
||||
if [ "$1" = "stop" ]; then
|
||||
|
||||
Reference in New Issue
Block a user