Make this compile again in -current.

PR:		6977
Submitted by:	maintainer
This commit is contained in:
Steve Price
1998-07-03 23:30:35 +00:00
parent 3beadf2660
commit fda894de42
3 changed files with 20 additions and 4 deletions

View File

@@ -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
View 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>

View File

@@ -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