summaryrefslogtreecommitdiffstats
path: root/ftp/ftpq
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-08-08 05:52:17 +0000
committerlioux <lioux@FreeBSD.org>2001-08-08 05:52:17 +0000
commitfec84606aa71c1088d4697d6a0934d10ec02e93e (patch)
tree39094521be8e13f04ea83985f20c1b6fa039bc66 /ftp/ftpq
parent230bbd8ea7a1738807d193f211940dbb6cdee8e9 (diff)
downloadFreeBSD-ports-fec84606aa71c1088d4697d6a0934d10ec02e93e.zip
FreeBSD-ports-fec84606aa71c1088d4697d6a0934d10ec02e93e.tar.gz
o Update to 1.10
o USE_GMAKE and GNU_CONFIGURE PR: 29441 Submitted by: Kato Tsuguru <tkato@prontomail.com>
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 629e69b..88dd2c2 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 255078c..59fffd0 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 ade36b4..0000000
--- 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 0000000..bc6dd34
--- /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
OpenPOWER on IntegriCloud