From lioux-alias-ppp-FreeBSD-gnats-submit=freebsd.org@uol.com.br  Sun Apr 16 15:35:43 2000
Return-Path: <lioux-alias-ppp-FreeBSD-gnats-submit=freebsd.org@uol.com.br>
Received: from pascal.uol.com.br (pascal.uol.com.br [200.230.198.87])
	by hub.freebsd.org (Postfix) with ESMTP id 3205337B600
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 16 Apr 2000 15:35:38 -0700 (PDT)
	(envelope-from lioux-alias-ppp-FreeBSD-gnats-submit=freebsd.org@uol.com.br)
Received: from 200-191-159-193-as.acessonet.com.br (200-191-159-193-as.acessonet.com.br [200.191.159.193])
	by pascal.uol.com.br (8.9.1/8.9.1) with ESMTP id TAA11210
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 16 Apr 2000 19:35:00 -0300 (BRT)
Received: (qmail 41219 invoked by uid 1001); 16 Apr 2000 22:18:52 -0000
Message-Id: <20000416221852.41217.qmail@Fedaykin.here>
Date: 16 Apr 2000 22:18:52 -0000
From: lioux@uol.com.br
Sender: lioux-alias-ppp-FreeBSD-gnats-submit=freebsd.org@uol.com.br
Reply-To: lioux@uol.com.br
To: FreeBSD-gnats-submit@freebsd.org
Subject: Update ftp/downloader to version 1.14 (supersedes ports/17229)
X-Send-Pr-Version: 3.2

>Number:         18041
>Category:       ports
>Synopsis:       Update ftp/downloader to version 1.14 (supersedes ports/17229)
>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:   Sun Apr 16 15:40:01 PDT 2000
>Closed-Date:    Fri Apr 21 18:07:29 PDT 2000
>Last-Modified:  Fri Apr 21 18:08:45 PDT 2000
>Originator:     Mario Sergio Fujikawa Ferreira
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
>Environment:

FBSD 4.0-stable, hopefully all other elf installations.

>Description:

Update d4x to version 1.14. Added new language files to pkg/PLIST.

Didn't do anything new about the patches. Just updated them to the new
version.

The number of files remained constant.

>How-To-Repeat:

n/a

>Fix:

diff -ru /usr/ports/ftp/downloader/Makefile ./Makefile
--- /usr/ports/ftp/downloader/Makefile	Wed Apr 12 13:45:58 2000
+++ ./Makefile	Sun Apr 16 19:08:35 2000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	downloader
-PORTVERSION=	1.11
+PORTVERSION=	1.14
 CATEGORIES=	ftp
 MASTER_SITES=	ftp://ftp.server51.freshmeat.net/pub/d4x/ \
 		ftp://ftp.lonyay.edu.hu/pub/software/nt/ \
@@ -18,7 +18,5 @@
 LIB_DEPENDS=	gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/main
-
-CFLAGS=		-pedantic
 
 .include <bsd.port.mk>
diff -ru /usr/ports/ftp/downloader/files/md5 ./files/md5
--- /usr/ports/ftp/downloader/files/md5	Sun Feb 20 16:44:41 2000
+++ ./files/md5	Sun Apr 16 17:45:44 2000
@@ -1 +1 @@
-MD5 (nt-1.11.tar.gz) = 6d76906c39e156704ec85670411ad715
+MD5 (nt-1.14.tar.gz) = 0e7d9f4bc82c47b8a8f400c62c7f1e28
diff -ru /usr/ports/ftp/downloader/patches/patch-aa ./patches/patch-aa
--- /usr/ports/ftp/downloader/patches/patch-aa	Sun Feb 20 16:44:43 2000
+++ ./patches/patch-aa	Sun Apr 16 17:50:54 2000
@@ -1,6 +1,6 @@
---- Makefile.orig	Sat Jan 29 05:02:17 2000
-+++ Makefile	Sun Feb 13 13:18:26 2000
-@@ -1,21 +1,15 @@
+--- Makefile.orig	Thu Mar 30 05:41:31 2000
++++ Makefile	Sun Apr 16 17:50:32 2000
+@@ -1,9 +1,6 @@
 -CXX = c++
  
  NLS=-DENABLE_NLS # Remove or comment this line to disable gettext
@@ -10,13 +10,22 @@
 +DEST?=$(PREFIX)
  LOCALEDIR=$(DEST)/share/locale
  PTHREAD=-lpthread
--GTKCONFIG=gtk-config
- GLIBCONFIG=glib-config
+ GTKCONFIG=gtk-config
+@@ -11,19 +8,16 @@
+ MAKE=make
  
  #next strings were added for BSD support
 -ifeq ($(OSTYPE),BSD)
  PTHREAD=-pthread
  GTKCONFIG=gtk12-config
+ MAKE=gmake
+-endif
+ 
+-ifeq ($(OSTYPE),FreeBSD)
+ PTHREAD=-pthread
+ GTKCONFIG=gtk12-config
++GLIBCONFIG=glib12-config
+ MAKE=gmake
 -endif
  
 -CFLAGS=-Wall -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
diff -ru /usr/ports/ftp/downloader/patches/patch-ae ./patches/patch-ae
--- /usr/ports/ftp/downloader/patches/patch-ae	Sun Feb 20 16:44:43 2000
+++ ./patches/patch-ae	Sun Apr 16 17:49:37 2000
@@ -1,5 +1,5 @@
---- main.cc.orig	Thu Jan 27 05:29:34 2000
-+++ main.cc	Sun Feb 13 14:12:44 2000
+--- main.cc.orig	Sun Apr 16 17:49:04 2000
++++ main.cc	Sun Apr 16 17:49:17 2000
 @@ -12,6 +12,7 @@
  #include <sys/types.h>
  #include <sys/stat.h>
diff -ru /usr/ports/ftp/downloader/pkg/PLIST ./pkg/PLIST
--- /usr/ports/ftp/downloader/pkg/PLIST	Sun Feb 20 16:44:43 2000
+++ ./pkg/PLIST	Sun Apr 16 17:59:55 2000
@@ -2,8 +2,10 @@
 share/locale/bg/LC_MESSAGES/nt.mo
 share/locale/cs/LC_MESSAGES/nt.mo
 share/locale/de/LC_MESSAGES/nt.mo
+share/locale/el_GR/LC_MESSAGES/nt.mo
 share/locale/es/LC_MESSAGES/nt.mo
 share/locale/fr/LC_MESSAGES/nt.mo
+share/locale/hu/LC_MESSAGES/nt.mo
 share/locale/id/LC_MESSAGES/nt.mo
 share/locale/it/LC_MESSAGES/nt.mo
 share/locale/ja/LC_MESSAGES/nt.mo
@@ -25,10 +27,14 @@
 @unexec rmdir %D/share/locale/it 2>/dev/null || true
 @unexec rmdir %D/share/locale/id/LC_MESSAGES 2>/dev/null || true
 @unexec rmdir %D/share/locale/id 2>/dev/null || true
+@unexec rmdir %D/share/locale/hu/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/hu 2>/dev/null || true
 @unexec rmdir %D/share/locale/fr/LC_MESSAGES 2>/dev/null || true
 @unexec rmdir %D/share/locale/fr 2>/dev/null || true
 @unexec rmdir %D/share/locale/es/LC_MESSAGES 2>/dev/null || true
 @unexec rmdir %D/share/locale/es 2>/dev/null || true
+@unexec rmdir %D/share/locale/el_GR/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/el_GR 2>/dev/null || true
 @unexec rmdir %D/share/locale/de/LC_MESSAGES 2>/dev/null || true
 @unexec rmdir %D/share/locale/de 2>/dev/null || true
 @unexec rmdir %D/share/locale/cs/LC_MESSAGES 2>/dev/null || true

>Release-Note:
>Audit-Trail:

From: "KATO Tsuguru" <tkato@prontomail.ne.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc: lioux@uol.com.br
Subject: Re: ports/18041: Update ftp/downloader to version 1.14 (supersedes ports/17229)
Date: Mon, 17 Apr 2000 19:59:03 +0900

 > Didn't do anything new about the patches. Just updated them to the new
 > version.
 
 I suppose there is many point needed to touch up in current d4x port.
 
 Following patch has fixed them besides upgrading to the latest 
 version.
 
 New patch:
 patches/patch-ap  patches/patch-aq
 
 diff -urN /usr/ports/ftp/downloader/Makefile ftp/downloader/Makefile
 --- /usr/ports/ftp/downloader/Makefile	Wed Apr 12 21:21:24 2000
 +++ ftp/downloader/Makefile	Wed Apr 12 21:22:18 2000
 @@ -6,7 +6,7 @@
  #
  
  PORTNAME=	downloader
 -PORTVERSION=	1.11
 +PORTVERSION=	1.14
  CATEGORIES=	ftp
  MASTER_SITES=	ftp://ftp.server51.freshmeat.net/pub/d4x/ \
  		ftp://ftp.lonyay.edu.hu/pub/software/nt/ \
 @@ -17,8 +17,10 @@
  
  LIB_DEPENDS=	gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
  
 +GTK_CONFIG?=	${X11BASE}/bin/gtk12-config
 +
  WRKSRC=		${WRKDIR}/${DISTNAME}/main
  
 -CFLAGS=		-pedantic
 +MAKE_ENV=	GTK_CONFIG="${GTK_CONFIG}"
  
  .include <bsd.port.mk>
 diff -urN /usr/ports/ftp/downloader/files/md5 ftp/downloader/files/md5
 --- /usr/ports/ftp/downloader/files/md5	Mon Feb 21 01:08:13 2000
 +++ ftp/downloader/files/md5	Sat Apr  8 21:00:00 2000
 @@ -1 +1 @@
 -MD5 (nt-1.11.tar.gz) = 6d76906c39e156704ec85670411ad715
 +MD5 (nt-1.14.tar.gz) = 0e7d9f4bc82c47b8a8f400c62c7f1e28
 diff -urN /usr/ports/ftp/downloader/patches/patch-aa ftp/downloader/patches/patch-aa
 --- /usr/ports/ftp/downloader/patches/patch-aa	Mon Feb 21 01:08:14 2000
 +++ ftp/downloader/patches/patch-aa	Sat Apr  8 21:00:00 2000
 @@ -1,26 +1,67 @@
 ---- Makefile.orig	Sat Jan 29 05:02:17 2000
 -+++ Makefile	Sun Feb 13 13:18:26 2000
 -@@ -1,21 +1,15 @@
 +--- Makefile.orig	Thu Mar 30 17:41:31 2000
 ++++ Makefile	Sat Apr  8 21:00:00 2000
 +@@ -1,34 +1,20 @@
  -CXX = c++
 ++CXX ?= c++
   
   NLS=-DENABLE_NLS # Remove or comment this line to disable gettext
  -ifeq ($(DEST),)
  -DEST=/usr/local
  -endif
 -+DEST?=$(PREFIX)
 ++DEST=${PREFIX}
   LOCALEDIR=$(DEST)/share/locale
 - PTHREAD=-lpthread
 +-PTHREAD=-lpthread
  -GTKCONFIG=gtk-config
 - GLIBCONFIG=glib-config
 +-GLIBCONFIG=glib-config
 +-MAKE=make
   
   #next strings were added for BSD support
  -ifeq ($(OSTYPE),BSD)
   PTHREAD=-pthread
 - GTKCONFIG=gtk12-config
 +-GTKCONFIG=gtk12-config
 +-MAKE=gmake
  -endif
 ++GTKCONFIG=${GTK_CONFIG}
 ++MAKE?=gmake
   
 +-ifeq ($(OSTYPE),FreeBSD)
 +-PTHREAD=-pthread
 +-GTKCONFIG=gtk12-config
 +-MAKE=gmake
 +-endif
 +-
  -CFLAGS=-Wall -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
 -+CFLAGS+=-Wall -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
 ++CXXFLAGS+=-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
   GTKLIBS=`$(GTKCONFIG) --libs` 
 - GTKFLAGS=`$(GTKCONFIG) --cflags` `$(GLIBCONFIG) --cflags`
 +-GTKFLAGS=`$(GTKCONFIG) --cflags` `$(GLIBCONFIG) --cflags`
 ++GTKFLAGS=`$(GTKCONFIG) --cflags`
   LIBS=$(PTHREAD) $(GTKLIBS)
 + 
 +-EXECC=$(CXX) $(CFLAGS) $(GTKFLAGS) $(NLS) -DLOCALE=\"${LOCALEDIR}\"
 ++EXECC=$(CXX) $(CXXFLAGS) $(GTKFLAGS) $(NLS) -DLOCALE=\"${LOCALEDIR}\"
 + 
 + MODULES=base64.o addr.o queue.o liststr.o dlist.o mdlist.o locstr.o log.o  sort.o meter.o socket.o history.o hproxy.o speed.o srvclt.o html.o
 + MODULES2=client.o ftp.o http.o download.o ftpd.o httpd.o signal.o main.o config.o savelog.o mainlog.o \
 +@@ -42,9 +28,8 @@
 + 	rm -f nt || test -z ""
 + 	$(MAKE) nt
 + 	if [ "$(NLS)" != "" ] ; then \
 +-		cd po && make ; \
 ++		cd po && $(MAKE) all; \
 + 	fi
 +-	$(MAKE) strip
 + 
 + nt:nt.cc $(MODULES) $(MODULES2) var.h
 + 	cd face && NLS=$(NLS) EXECC="$(EXECC)" GTKFLAGS="$(GTKFLAGS)" $(MAKE)
 +@@ -55,9 +40,9 @@
 + 
 + 
 + install: all
 +-	install -c -m755 nt $(DEST)/bin
 ++	${BSD_INSTALL_PROGRAM} nt $(DEST)/bin
 + 	if [ "$(NLS)" != "" ] ; then \
 +-		cd po && LOCALEDIR=$(LOCALEDIR) make install; \
 ++		cd po && LOCALEDIR=$(LOCALEDIR) $(MAKE) install; \
 + 	fi
 + 
 + main.o: main.cc main.h var.h
 diff -urN /usr/ports/ftp/downloader/patches/patch-ae ftp/downloader/patches/patch-ae
 --- /usr/ports/ftp/downloader/patches/patch-ae	Mon Feb 21 01:08:15 2000
 +++ ftp/downloader/patches/patch-ae	Sat Apr  8 21:00:00 2000
 @@ -1,10 +1,21 @@
 ---- main.cc.orig	Thu Jan 27 05:29:34 2000
 -+++ main.cc	Sun Feb 13 14:12:44 2000
 -@@ -12,6 +12,7 @@
 - #include <sys/types.h>
 +--- main.cc.orig	Thu Mar 30 15:50:11 2000
 ++++ main.cc	Sat Apr  8 21:00:00 2000
 +@@ -13,14 +13,14 @@
   #include <sys/stat.h>
   #include <sys/ipc.h>
 -+#include <sys/param.h>
   
 ++#if (defined(__unix__) || defined(unix)) && !defined(USG)
 ++#include <sys/param.h>
 ++#endif
 ++
   #if (defined(BSD) && (BSD >= 199306))
   #include <sys/msgbuf.h>
 + #else
 + #include <sys/msg.h>
 +-#endif
 +-
 +-#if (defined(__unix__) || defined(unix)) && !defined(USG)
 +-#include <sys/param.h>
 + #endif
 + 
 + #include <sys/timeb.h>
 diff -urN /usr/ports/ftp/downloader/patches/patch-ap ftp/downloader/patches/patch-ap
 --- /usr/ports/ftp/downloader/patches/patch-ap	Thu Jan  1 09:00:00 1970
 +++ ftp/downloader/patches/patch-ap	Sat Apr  8 21:00:00 2000
 @@ -0,0 +1,16 @@
 +--- srvclt.cc.orig	Tue Mar 28 11:34:36 2000
 ++++ srvclt.cc	Sat Apr  8 21:00:00 2000
 +@@ -27,6 +27,13 @@
 + typedef int socklen_t;
 + #endif
 + 
 ++#if defined(__FreeBSD__)
 ++#include <osreldate.h>
 ++#if __FreeBSD_version <= 340000
 ++typedef int socklen_t;
 ++#endif
 ++#endif
 ++
 + void *server_thread_run(void *what){
 +     tMsgServer *srv=(tMsgServer *)what;
 +     srv->init();
 diff -urN /usr/ports/ftp/downloader/patches/patch-aq ftp/downloader/patches/patch-aq
 --- /usr/ports/ftp/downloader/patches/patch-aq	Thu Jan  1 09:00:00 1970
 +++ ftp/downloader/patches/patch-aq	Sat Apr  8 21:00:00 2000
 @@ -0,0 +1,13 @@
 +--- po/Makefile.orig	Tue Jan 11 11:28:32 2000
 ++++ po/Makefile	Fri Feb 25 05:51:40 2000
 +@@ -5,8 +5,8 @@
 + 
 + install:
 + 	for i in `ls *.gmo` ; do \
 +-		mkdirhier $(LOCALEDIR)/`echo $$i|sed -e s/.gmo//`/LC_MESSAGES;\
 +-		install -c -m644 $$i $(LOCALEDIR)/`echo $$i | sed -e s/.gmo//`/LC_MESSAGES/nt.mo ; \
 ++		mkdir -p $(LOCALEDIR)/`echo $$i|sed -e s/.gmo//`/LC_MESSAGES;\
 ++		${BSD_INSTALL_DATA} $$i $(LOCALEDIR)/`echo $$i | sed -e s/.gmo//`/LC_MESSAGES/nt.mo ; \
 + 	done
 + 
 + uninstall:
 diff -urN /usr/ports/ftp/downloader/pkg/PLIST ftp/downloader/pkg/PLIST
 --- /usr/ports/ftp/downloader/pkg/PLIST	Mon Feb 21 01:08:19 2000
 +++ ftp/downloader/pkg/PLIST	Sat Apr  8 21:00:00 2000
 @@ -2,8 +2,10 @@
  share/locale/bg/LC_MESSAGES/nt.mo
  share/locale/cs/LC_MESSAGES/nt.mo
  share/locale/de/LC_MESSAGES/nt.mo
 +share/locale/el_GR/LC_MESSAGES/nt.mo
  share/locale/es/LC_MESSAGES/nt.mo
  share/locale/fr/LC_MESSAGES/nt.mo
 +share/locale/hu/LC_MESSAGES/nt.mo
  share/locale/id/LC_MESSAGES/nt.mo
  share/locale/it/LC_MESSAGES/nt.mo
  share/locale/ja/LC_MESSAGES/nt.mo
 @@ -11,28 +13,3 @@
  share/locale/pt_BR/LC_MESSAGES/nt.mo
  share/locale/ru/LC_MESSAGES/nt.mo
  share/locale/zh_CN.GBK/LC_MESSAGES/nt.mo
 -@unexec rmdir %D/share/locale/zh_CN.GBK/LC_MESSAGES 2>/dev/null || true
 -@unexec rmdir %D/share/locale/zh_CN.GBK 2>/dev/null || true
 -@unexec rmdir %D/share/locale/ru/LC_MESSAGES 2>/dev/null || true
 -@unexec rmdir %D/share/locale/ru 2>/dev/null || true
 -@unexec rmdir %D/share/locale/pt_BR/LC_MESSAGES 2>/dev/null || true
 -@unexec rmdir %D/share/locale/pt_BR 2>/dev/null || true
 -@unexec rmdir %D/share/locale/nl/LC_MESSAGES 2>/dev/null || true
 -@unexec rmdir %D/share/locale/nl 2>/dev/null || true
 -@unexec rmdir %D/share/locale/ja/LC_MESSAGES 2>/dev/null || true
 -@unexec rmdir %D/share/locale/ja 2>/dev/null || true
 -@unexec rmdir %D/share/locale/it/LC_MESSAGES 2>/dev/null || true
 -@unexec rmdir %D/share/locale/it 2>/dev/null || true
 -@unexec rmdir %D/share/locale/id/LC_MESSAGES 2>/dev/null || true
 -@unexec rmdir %D/share/locale/id 2>/dev/null || true
 -@unexec rmdir %D/share/locale/fr/LC_MESSAGES 2>/dev/null || true
 -@unexec rmdir %D/share/locale/fr 2>/dev/null || true
 -@unexec rmdir %D/share/locale/es/LC_MESSAGES 2>/dev/null || true
 -@unexec rmdir %D/share/locale/es 2>/dev/null || true
 -@unexec rmdir %D/share/locale/de/LC_MESSAGES 2>/dev/null || true
 -@unexec rmdir %D/share/locale/de 2>/dev/null || true
 -@unexec rmdir %D/share/locale/cs/LC_MESSAGES 2>/dev/null || true
 -@unexec rmdir %D/share/locale/cs 2>/dev/null || true
 -@unexec rmdir %D/share/locale/bg/LC_MESSAGES 2>/dev/null || true
 -@unexec rmdir %D/share/locale/bg 2>/dev/null || true
 -@unexec rmdir %D/share/locale 2>/dev/null || true
 
 
 
 -- 
 KATO Tsuguru / tkato@prontomail.ne.jp
                
 Sent by Japanese ProntoMail
 

From: "KATO Tsuguru" <tkato@prontomail.ne.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc: andrew@chg.ru, lioux@uol.com.br
Subject: Re: ports/18041: Update ftp/downloader to version 1.14 (supersedesports/17229)
Date: Tue, 18 Apr 2000 03:57:38 +0900

 > Yes, but there is one problem -- according to author license we
 > can't modify source files.
 
 Oops, I hadn't care about it at all! 
 
 > Could you please test my port on 4.x (it also supports NLS properly)?
 
 Although no significant problem was found, I'd like to arrange it 
 a little as follows: 
 
 New file:
 patches/patch-ap
 
 Remove file:
 patches/patch-ae
 
 diff -urN /usr/ports/ftp/downloader/Makefile ftp/downloader/Makefile
 --- /usr/ports/ftp/downloader/Makefile	Wed Apr 12 21:21:24 2000
 +++ ftp/downloader/Makefile	Tue Apr 18 01:52:49 2000
 @@ -6,19 +6,33 @@
  #
  
  PORTNAME=	downloader
 -PORTVERSION=	1.11
 +PORTVERSION=	1.14
  CATEGORIES=	ftp
  MASTER_SITES=	ftp://ftp.server51.freshmeat.net/pub/d4x/ \
 -		ftp://ftp.lonyay.edu.hu/pub/software/nt/ \
 -		http://people.FreeBSD.org/~imura/distfiles/
 +		ftp://ftp.chg.ru/pub/X11/applications/Xdownloader/
  DISTNAME=	nt-${PORTVERSION}
  
  MAINTAINER=	ports@FreeBSD.org
  
  LIB_DEPENDS=	gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
  
 +GTK_CONFIG?=	${X11BASE}/bin/gtk12-config
 +MSGFMT_CMD=	${LOCALBASE}/bin/msgfmt
 +
  WRKSRC=		${WRKDIR}/${DISTNAME}/main
  
 -CFLAGS=		-pedantic
 +MAKE_ENV=	GTK_CONFIG="${GTK_CONFIG}" \
 +		MSGFMT_CMD="${MSGFMT_CMD}"
 +
 +D4X_DOC=	ChangeLog FAQ FAQ.es FAQ.fr FAQ.gr INSTALL INSTALL.gr LICENSE \
 +		NAMES PLANS README README.gr README.ru THANKS TODO TROUBLES
 +
 +post-install:
 +.if !defined(NOPORTDOCS)
 +	@${MKDIR} ${PREFIX}/share/doc/downloader
 +.for file in ${D4X_DOC}
 +	${INSTALL_DATA} ${WRKSRC}/../${file} ${PREFIX}/share/doc/downloader
 +.endfor
 +.endif
  
  .include <bsd.port.mk>
 diff -urN /usr/ports/ftp/downloader/files/md5 ftp/downloader/files/md5
 --- /usr/ports/ftp/downloader/files/md5	Mon Feb 21 01:08:13 2000
 +++ ftp/downloader/files/md5	Tue Apr 18 00:54:43 2000
 @@ -1 +1 @@
 -MD5 (nt-1.11.tar.gz) = 6d76906c39e156704ec85670411ad715
 +MD5 (nt-1.14.tar.gz) = 0e7d9f4bc82c47b8a8f400c62c7f1e28
 diff -urN /usr/ports/ftp/downloader/patches/patch-aa ftp/downloader/patches/patch-aa
 --- /usr/ports/ftp/downloader/patches/patch-aa	Mon Feb 21 01:08:14 2000
 +++ ftp/downloader/patches/patch-aa	Tue Apr 18 01:15:56 2000
 @@ -1,26 +1,61 @@
 ---- Makefile.orig	Sat Jan 29 05:02:17 2000
 -+++ Makefile	Sun Feb 13 13:18:26 2000
 -@@ -1,21 +1,15 @@
 +--- Makefile.orig	Thu Mar 30 17:41:31 2000
 ++++ Makefile	Tue Apr 18 01:08:29 2000
 +@@ -1,31 +1,16 @@
  -CXX = c++
 ++CXX ?= c++
   
   NLS=-DENABLE_NLS # Remove or comment this line to disable gettext
  -ifeq ($(DEST),)
  -DEST=/usr/local
  -endif
 -+DEST?=$(PREFIX)
 ++DEST=$(PREFIX)
   LOCALEDIR=$(DEST)/share/locale
 - PTHREAD=-lpthread
 +-PTHREAD=-lpthread
  -GTKCONFIG=gtk-config
 - GLIBCONFIG=glib-config
 +-GLIBCONFIG=glib-config
 +-MAKE=make
   
 - #next strings were added for BSD support
 +-#next strings were added for BSD support
  -ifeq ($(OSTYPE),BSD)
   PTHREAD=-pthread
 - GTKCONFIG=gtk12-config
 +-GTKCONFIG=gtk12-config
 +-MAKE=gmake
  -endif
 ++GTKCONFIG=$(GTK_CONFIG)
 ++MSGFMT=$(MSGFMT_CMD)
   
 +-ifeq ($(OSTYPE),FreeBSD)
 +-PTHREAD=-pthread
 +-GTKCONFIG=gtk12-config
 +-MAKE=gmake
 +-endif
 +-
  -CFLAGS=-Wall -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
 -+CFLAGS+=-Wall -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
 ++CFLAGS+=-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
   GTKLIBS=`$(GTKCONFIG) --libs` 
 - GTKFLAGS=`$(GTKCONFIG) --cflags` `$(GLIBCONFIG) --cflags`
 +-GTKFLAGS=`$(GTKCONFIG) --cflags` `$(GLIBCONFIG) --cflags`
 ++GTKFLAGS=`$(GTKCONFIG) --cflags`
   LIBS=$(PTHREAD) $(GTKLIBS)
 + 
 + EXECC=$(CXX) $(CFLAGS) $(GTKFLAGS) $(NLS) -DLOCALE=\"${LOCALEDIR}\"
 +@@ -42,7 +27,7 @@
 + 	rm -f nt || test -z ""
 + 	$(MAKE) nt
 + 	if [ "$(NLS)" != "" ] ; then \
 +-		cd po && make ; \
 ++		cd po && MSGFMT="$(MSGFMT)" $(MAKE) all ; \
 + 	fi
 + 	$(MAKE) strip
 + 
 +@@ -55,9 +40,9 @@
 + 
 + 
 + install: all
 +-	install -c -m755 nt $(DEST)/bin
 ++	$(BSD_INSTALL_PROGRAM) nt $(DEST)/bin
 + 	if [ "$(NLS)" != "" ] ; then \
 +-		cd po && LOCALEDIR=$(LOCALEDIR) make install; \
 ++		cd po && LOCALEDIR=$(LOCALEDIR) $(MAKE) install; \
 + 	fi
 + 
 + main.o: main.cc main.h var.h
 diff -urN /usr/ports/ftp/downloader/patches/patch-ae ftp/downloader/patches/patch-ae
 --- /usr/ports/ftp/downloader/patches/patch-ae	Mon Feb 21 01:08:15 2000
 +++ ftp/downloader/patches/patch-ae	Thu Jan  1 09:00:00 1970
 @@ -1,10 +0,0 @@
 ---- main.cc.orig	Thu Jan 27 05:29:34 2000
 -+++ main.cc	Sun Feb 13 14:12:44 2000
 -@@ -12,6 +12,7 @@
 - #include <sys/types.h>
 - #include <sys/stat.h>
 - #include <sys/ipc.h>
 -+#include <sys/param.h>
 - 
 - #if (defined(BSD) && (BSD >= 199306))
 - #include <sys/msgbuf.h>
 diff -urN /usr/ports/ftp/downloader/patches/patch-ap ftp/downloader/patches/patch-ap
 --- /usr/ports/ftp/downloader/patches/patch-ap	Thu Jan  1 09:00:00 1970
 +++ ftp/downloader/patches/patch-ap	Tue Apr 18 00:54:43 2000
 @@ -0,0 +1,18 @@
 +--- po/Makefile.orig	Tue Jan 11 05:28:32 2000
 ++++ po/Makefile	Mon Apr 17 14:02:06 2000
 +@@ -1,12 +1,12 @@
 + all:
 + 	for i in `ls *.po` ; do \
 +-		msgfmt $$i -o `echo $$i | sed -e s/.po//`.gmo ; \
 ++		$(MSGFMT) $$i -o `echo $$i | sed -e s/.po//`.gmo ; \
 + 	done
 + 
 + install:
 + 	for i in `ls *.gmo` ; do \
 +-		mkdirhier $(LOCALEDIR)/`echo $$i|sed -e s/.gmo//`/LC_MESSAGES;\
 +-		install -c -m644 $$i $(LOCALEDIR)/`echo $$i | sed -e s/.gmo//`/LC_MESSAGES/nt.mo ; \
 ++		mkdir -p $(LOCALEDIR)/`echo $$i|sed -e s/.gmo//`/LC_MESSAGES;\
 ++		${BSD_INSTALL_DATA} $$i $(LOCALEDIR)/`echo $$i | sed -e s/.gmo//`/LC_MESSAGES/nt.mo ; \
 + 	done
 + 
 + uninstall:
 diff -urN /usr/ports/ftp/downloader/pkg/DESCR ftp/downloader/pkg/DESCR
 --- /usr/ports/ftp/downloader/pkg/DESCR	Wed Jun 23 09:43:50 1999
 +++ ftp/downloader/pkg/DESCR	Tue Apr 18 02:29:01 2000
 @@ -1,7 +1,7 @@
  This program is a graphical program for downloading files through the
  internet which support both ftp and http (not completed yet) protocols.
  Program also supports REGET if server side supports it too. It is like kget
 -for linux and ReGet or GetRight for Windows. 
 +for KDE and ReGet or GetRight for Microsoft Windows. 
  
  This program supports queue of downloads, regets files after connection break
  and many other features:  
 diff -urN /usr/ports/ftp/downloader/pkg/PLIST ftp/downloader/pkg/PLIST
 --- /usr/ports/ftp/downloader/pkg/PLIST	Mon Feb 21 01:08:19 2000
 +++ ftp/downloader/pkg/PLIST	Tue Apr 18 01:03:11 2000
 @@ -1,9 +1,27 @@
  bin/nt
 +share/doc/downloader/ChangeLog
 +share/doc/downloader/FAQ
 +share/doc/downloader/FAQ.es
 +share/doc/downloader/FAQ.fr
 +share/doc/downloader/FAQ.gr 
 +share/doc/downloader/INSTALL
 +share/doc/downloader/INSTALL.gr
 +share/doc/downloader/LICENSE
 +share/doc/downloader/NAMES
 +share/doc/downloader/PLANS
 +share/doc/downloader/README
 +share/doc/downloader/README.gr
 +share/doc/downloader/README.ru
 +share/doc/downloader/THANKS
 +share/doc/downloader/TODO
 +share/doc/downloader/TROUBLES
  share/locale/bg/LC_MESSAGES/nt.mo
  share/locale/cs/LC_MESSAGES/nt.mo
  share/locale/de/LC_MESSAGES/nt.mo
 +share/locale/el_GR/LC_MESSAGES/nt.mo
  share/locale/es/LC_MESSAGES/nt.mo
  share/locale/fr/LC_MESSAGES/nt.mo
 +share/locale/hu/LC_MESSAGES/nt.mo
  share/locale/id/LC_MESSAGES/nt.mo
  share/locale/it/LC_MESSAGES/nt.mo
  share/locale/ja/LC_MESSAGES/nt.mo
 @@ -11,28 +29,3 @@
  share/locale/pt_BR/LC_MESSAGES/nt.mo
  share/locale/ru/LC_MESSAGES/nt.mo
  share/locale/zh_CN.GBK/LC_MESSAGES/nt.mo
 -@unexec rmdir %D/share/locale/zh_CN.GBK/LC_MESSAGES 2>/dev/null || true
 -@unexec rmdir %D/share/locale/zh_CN.GBK 2>/dev/null || true
 -@unexec rmdir %D/share/locale/ru/LC_MESSAGES 2>/dev/null || true
 -@unexec rmdir %D/share/locale/ru 2>/dev/null || true
 -@unexec rmdir %D/share/locale/pt_BR/LC_MESSAGES 2>/dev/null || true
 -@unexec rmdir %D/share/locale/pt_BR 2>/dev/null || true
 -@unexec rmdir %D/share/locale/nl/LC_MESSAGES 2>/dev/null || true
 -@unexec rmdir %D/share/locale/nl 2>/dev/null || true
 -@unexec rmdir %D/share/locale/ja/LC_MESSAGES 2>/dev/null || true
 -@unexec rmdir %D/share/locale/ja 2>/dev/null || true
 -@unexec rmdir %D/share/locale/it/LC_MESSAGES 2>/dev/null || true
 -@unexec rmdir %D/share/locale/it 2>/dev/null || true
 -@unexec rmdir %D/share/locale/id/LC_MESSAGES 2>/dev/null || true
 -@unexec rmdir %D/share/locale/id 2>/dev/null || true
 -@unexec rmdir %D/share/locale/fr/LC_MESSAGES 2>/dev/null || true
 -@unexec rmdir %D/share/locale/fr 2>/dev/null || true
 -@unexec rmdir %D/share/locale/es/LC_MESSAGES 2>/dev/null || true
 -@unexec rmdir %D/share/locale/es 2>/dev/null || true
 -@unexec rmdir %D/share/locale/de/LC_MESSAGES 2>/dev/null || true
 -@unexec rmdir %D/share/locale/de 2>/dev/null || true
 -@unexec rmdir %D/share/locale/cs/LC_MESSAGES 2>/dev/null || true
 -@unexec rmdir %D/share/locale/cs 2>/dev/null || true
 -@unexec rmdir %D/share/locale/bg/LC_MESSAGES 2>/dev/null || true
 -@unexec rmdir %D/share/locale/bg 2>/dev/null || true
 -@unexec rmdir %D/share/locale 2>/dev/null || true
 
 
 
 -- 
 KATO Tsuguru / tkato@prontomail.ne.jp
                
 Sent by Japanese ProntoMail
 

From: "Andrew L. Neporada" <andrew@chg.ru>
To: KATO Tsuguru <tkato@prontomail.ne.jp>
Cc: FreeBSD-gnats-submit@freebsd.org, lioux@uol.com.br
Subject: Re: ports/18041: Update ftp/downloader to version 1.14
 (supersedesports/17229)
Date: Tue, 18 Apr 2000 17:14:20 +0400 (MSD)

 On Tue, 18 Apr 2000, KATO Tsuguru wrote:
 
 > > Yes, but there is one problem -- according to author license we
 > > can't modify source files.
 > 
 > Oops, I hadn't care about it at all! 
 > 
 > > Could you please test my port on 4.x (it also supports NLS properly)?
 > 
 > Although no significant problem was found, I'd like to arrange it 
 > a little as follows: 
 > 
 [snip]
 > 
 > -- 
 > KATO Tsuguru / tkato@prontomail.ne.jp
 >                
 > Sent by Japanese ProntoMail
 > 
 Ok, I think you should submit new pr. 
 
 			-- Andrew.
 	       Member of the Guild of Tagline Thieves.
 
 
State-Changed-From-To: open->closed 
State-Changed-By: will 
State-Changed-When: Fri Apr 21 18:07:29 PDT 2000 
State-Changed-Why:  
Superceded by ports/18146, which I will take care of. 
>Unformatted:
