From nobody@FreeBSD.org  Fri Aug  3 21:02:47 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id D477037B407
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  3 Aug 2001 21:02:47 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f7442lU52977;
	Fri, 3 Aug 2001 21:02:47 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200108040402.f7442lU52977@freefall.freebsd.org>
Date: Fri, 3 Aug 2001 21:02:47 -0700 (PDT)
From: KATO Tsuguru <tkato@prontomail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update port: ftp/ftpq to 1.10
X-Send-Pr-Version: www-1.0

>Number:         29441
>Category:       ports
>Synopsis:       Update port: ftp/ftpq to 1.10
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 03 21:10:01 PDT 2001
>Closed-Date:    Tue Aug 7 22:52:33 PDT 2001
>Last-Modified:  Tue Aug 07 22:54:11 PDT 2001
>Originator:     KATO Tsuguru
>Release:        4.3-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.10

New file:
files/patch-src:ftpq.h

Remove file:
files/patch-ftpq.h

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/ftp/ftpq/Makefile ftp/ftpq/Makefile
--- /usr/ports/ftp/ftpq/Makefile	Thu Mar 22 16:10:52 2001
+++ ftp/ftpq/Makefile	Sat Jul 28 09:19:43 2001
@@ -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 -urN /usr/ports/ftp/ftpq/distinfo ftp/ftpq/distinfo
--- /usr/ports/ftp/ftpq/distinfo	Mon Mar  5 00:39:22 2001
+++ ftp/ftpq/distinfo	Sat Jul 28 08:20:34 2001
@@ -1 +1 @@
-MD5 (ftpq-1.02.tar.gz) = ff698b0ca18665ca8c6dba0c17af87a8
+MD5 (ftpq-1.10.tar.gz) = e30e485d732fa50d7a3f361586af00f6
diff -urN /usr/ports/ftp/ftpq/files/patch-ftpq.h ftp/ftpq/files/patch-ftpq.h
--- /usr/ports/ftp/ftpq/files/patch-ftpq.h	Thu Mar 22 16:10:52 2001
+++ ftp/ftpq/files/patch-ftpq.h	Thu Jan  1 09:00:00 1970
@@ -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 -urN /usr/ports/ftp/ftpq/files/patch-src:ftpq.h ftp/ftpq/files/patch-src:ftpq.h
--- /usr/ports/ftp/ftpq/files/patch-src:ftpq.h	Thu Jan  1 09:00:00 1970
+++ ftp/ftpq/files/patch-src:ftpq.h	Sat Jul 28 09:15:52 2001
@@ -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

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: lioux 
State-Changed-When: Tue Aug 7 22:52:33 PDT 2001 
State-Changed-Why:  
Committed, thanks! 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29441 
>Unformatted:
