summaryrefslogtreecommitdiff
path: root/ftp/ftpq
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-08-08 05:52:17 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-08-08 05:52:17 +0000
commit82a43cbce5d7f49b6a41a26ba5bfceb00e6823e9 (patch)
tree5e99a06cebc85beb4dfe18157a77267f6ddd125f /ftp/ftpq
parento Update to 1.5 (diff)
o Update to 1.10
o USE_GMAKE and GNU_CONFIGURE PR: 29441 Submitted by: Kato Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=45944
Diffstat (limited to 'ftp/ftpq')
-rw-r--r--ftp/ftpq/Makefile9
-rw-r--r--ftp/ftpq/distinfo2
-rw-r--r--ftp/ftpq/files/patch-ftpq.h18
-rw-r--r--ftp/ftpq/files/patch-src:ftpq.h29
4 files changed, 34 insertions, 24 deletions
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 <ctype.h>
- #include <dirent.h>
- #include <errno.h>
-+#include <sys/types.h>
- #include <netdb.h>
- #include <netinet/in.h>
- #include <pwd.h>
-@@ -30,7 +31,6 @@
- #include <string.h>
- #include <sys/socket.h>
- #include <sys/stat.h>
--#include <sys/types.h>
- #include <unistd.h>
-
- /* 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 <sys/types.h>
++#endif
+ #ifdef HAVE_CTYPE_H
+ #include <ctype.h>
+ #endif
+@@ -56,15 +59,12 @@
+ #ifdef HAVE_SYS_TIME_H
+ #include <sys/time.h>
+ #endif
+-#ifdef HAVE_SYS_TYPES_H
+- #include <sys/types.h>
+-#endif
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+ #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