From 82a43cbce5d7f49b6a41a26ba5bfceb00e6823e9 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Wed, 8 Aug 2001 05:52:17 +0000 Subject: o Update to 1.10 o USE_GMAKE and GNU_CONFIGURE PR: 29441 Submitted by: Kato Tsuguru --- ftp/ftpq/Makefile | 9 ++++----- ftp/ftpq/distinfo | 2 +- ftp/ftpq/files/patch-ftpq.h | 18 ------------------ ftp/ftpq/files/patch-src:ftpq.h | 29 +++++++++++++++++++++++++++++ 4 files changed, 34 insertions(+), 24 deletions(-) delete mode 100644 ftp/ftpq/files/patch-ftpq.h create mode 100644 ftp/ftpq/files/patch-src:ftpq.h (limited to 'ftp/ftpq') diff --git a/ftp/ftpq/Makefile b/ftp/ftpq/Makefile index 629e69b028f5..88dd2c2e38ed 100644 --- a/ftp/ftpq/Makefile +++ b/ftp/ftpq/Makefile @@ -6,18 +6,17 @@ # PORTNAME= ftpq -PORTVERSION= 1.02 -PORTREVISION= 1 +PORTVERSION= 1.10 CATEGORIES= ftp MASTER_SITES= http://www.tranchant.freeserve.co.uk/software/ MAINTAINER= ports@FreeBSD.org +USE_GMAKE= yes +GNU_CONFIGURE= yes MAN1= ftpq.1 -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ftpq ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/ftpq.1 ${MANPREFIX}/man/man1 +post-install: @${MKDIR} /var/spool/ftpq @${CHMOD} 777 /var/spool/ftpq diff --git a/ftp/ftpq/distinfo b/ftp/ftpq/distinfo index 255078c118b1..59fffd080223 100644 --- a/ftp/ftpq/distinfo +++ b/ftp/ftpq/distinfo @@ -1 +1 @@ -MD5 (ftpq-1.02.tar.gz) = ff698b0ca18665ca8c6dba0c17af87a8 +MD5 (ftpq-1.10.tar.gz) = e30e485d732fa50d7a3f361586af00f6 diff --git a/ftp/ftpq/files/patch-ftpq.h b/ftp/ftpq/files/patch-ftpq.h deleted file mode 100644 index ade36b47109a..000000000000 --- a/ftp/ftpq/files/patch-ftpq.h +++ /dev/null @@ -1,18 +0,0 @@ ---- ftpq.h.orig Sun Mar 4 16:00:00 2001 -+++ ftpq.h Wed Mar 21 15:36:15 2001 -@@ -22,6 +22,7 @@ - #include - #include - #include -+#include - #include - #include - #include -@@ -30,7 +31,6 @@ - #include - #include - #include --#include - #include - - /* useful defined constants */ diff --git a/ftp/ftpq/files/patch-src:ftpq.h b/ftp/ftpq/files/patch-src:ftpq.h new file mode 100644 index 000000000000..bc6dd347a378 --- /dev/null +++ b/ftp/ftpq/files/patch-src:ftpq.h @@ -0,0 +1,29 @@ +--- src/ftpq.h.orig Fri Jul 27 16:56:05 2001 ++++ src/ftpq.h Sat Jul 28 09:15:43 2001 +@@ -20,6 +20,9 @@ + + /* includes */ + #include "../config.h" ++#ifdef HAVE_SYS_TYPES_H ++ #include ++#endif + #ifdef HAVE_CTYPE_H + #include + #endif +@@ -56,15 +59,12 @@ + #ifdef HAVE_SYS_TIME_H + #include + #endif +-#ifdef HAVE_SYS_TYPES_H +- #include +-#endif + #ifdef HAVE_UNISTD_H + #include + #endif + + /* useful defined constants */ +-#define SPOOLDIR "/tmp/ftpq/" /* must end in /. Check Makefile, too. */ ++#define SPOOLDIR "/var/spool/ftpq/" /* must end in /. Check Makefile, too. */ + #define HOSTRESP 2048 /* ftp server response buffer, bytes */ + #define BUFSIZE 2048 /* general purpose global buffer */ + #define SMTP_PORT 25 -- cgit v1.2.3