Date: Wed, 23 Jun 1999 01:41:04 +0800 (CST) From: Ying-Chieh Liao <ijliao@Terry.Dorm10.NCTU.edu.tw> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/12345: New ports: net/downloader Message-ID: <199906221741.BAA30427@Terry.Dorm10.NCTU.edu.tw>
next in thread | raw e-mail | index | archive | help
>Number: 12345 >Category: ports >Synopsis: New ports: net/downloader >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jun 22 10:50:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Ying-Chieh Liao >Release: FreeBSD 4.0-CURRENT i386 >Organization: NCTU CSIE >Environment: FreeBSD Terry.Dorm10.NCTU.edu.tw 4.0-CURRENT FreeBSD 4.0-CURRENT #22: Tue Jun 22 19:30:00 CST 1999 root@Terry.Dorm10.NCTU.edu.tw:/usr/src/sys/compile/TERRY i386 >Description: New ports: net/downloader A program for download via ftp or http with GTK UI. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # downloader # downloader/files # downloader/files/md5 # downloader/patches # downloader/patches/patch-aa # downloader/patches/patch-ab # downloader/patches/patch-ac # downloader/patches/patch-ad # downloader/pkg # downloader/pkg/COMMENT # downloader/pkg/DESCR # downloader/pkg/PLIST # downloader/Makefile # echo c - downloader mkdir -p downloader > /dev/null 2>&1 echo c - downloader/files mkdir -p downloader/files > /dev/null 2>&1 echo x - downloader/files/md5 sed 's/^X//' >downloader/files/md5 << 'END-of-downloader/files/md5' XMD5 (nt-0.98.tar.gz) = 793aa48837857888ddd6fa8e3b066ac9 END-of-downloader/files/md5 echo c - downloader/patches mkdir -p downloader/patches > /dev/null 2>&1 echo x - downloader/patches/patch-aa sed 's/^X//' >downloader/patches/patch-aa << 'END-of-downloader/patches/patch-aa' Xdiff -ruN Makefile.orig Makefile X--- Makefile.orig Sat Jun 19 09:41:54 1999 X+++ Makefile Wed Jun 23 00:48:31 1999 X@@ -1,7 +1,7 @@ X CC = gcc X CCPLUS = c++ X X-LIBS=-lpthread X+LIBS=-pthread -lc_r X CFLAGS=-Wall -O2 X GTKLIBS=`gtk-config --libs` X GTKFLAGS=`gtk-config --cflags` END-of-downloader/patches/patch-aa echo x - downloader/patches/patch-ab sed 's/^X//' >downloader/patches/patch-ab << 'END-of-downloader/patches/patch-ab' Xdiff -ruN log.cc.orig log.cc X--- log.cc.orig Thu Jun 3 14:24:11 1999 X+++ log.cc Wed Jun 23 00:38:00 1999 X@@ -15,7 +15,7 @@ X //for messages queue X #include <sys/types.h> X #include <sys/ipc.h> X-#include <sys/msg.h> X+#include <sys/msgbuf.h> X X #include "dlist.h" X #include "face/log.h" END-of-downloader/patches/patch-ab echo x - downloader/patches/patch-ac sed 's/^X//' >downloader/patches/patch-ac << 'END-of-downloader/patches/patch-ac' Xdiff -ruN main.cc.orig main.cc X--- main.cc.orig Mon Jun 21 09:43:48 1999 X+++ main.cc Wed Jun 23 00:38:27 1999 X@@ -18,7 +18,7 @@ X #include <pthread.h> X #include <time.h> X #include <sys/ipc.h> X-#include <sys/msg.h> X+#include <sys/msgbuf.h> X #include <errno.h> X X #include "var.h" END-of-downloader/patches/patch-ac echo x - downloader/patches/patch-ad sed 's/^X//' >downloader/patches/patch-ad << 'END-of-downloader/patches/patch-ad' Xdiff -ruN socket.cc.orig socket.cc X--- socket.cc.orig Tue Jun 8 09:07:49 1999 X+++ socket.cc Wed Jun 23 00:54:19 1999 X@@ -35,14 +35,14 @@ X char buff[MAX_LEN]; X hostent *hpr; X int rval; X+/* X gethostbyname_r(host,&hp,buff,MAX_LEN,&hpr,&rval); X if (rval) return -1; X memcpy((char *)&info.sin_addr,(char *)hpr->h_addr,hpr->h_length); X- /* X+*/ X hostent *hp=gethostbyname(host); X if (!hp) return -1; X memcpy((char *)&info.sin_addr,(char *)hp->h_addr,hp->h_length); X- */ X } else info.sin_addr.s_addr=INADDR_ANY; X info.sin_port=htons(port); X return sizeof(info); END-of-downloader/patches/patch-ad echo c - downloader/pkg mkdir -p downloader/pkg > /dev/null 2>&1 echo x - downloader/pkg/COMMENT sed 's/^X//' >downloader/pkg/COMMENT << 'END-of-downloader/pkg/COMMENT' XA program for downloading via ftp or http with GUI. END-of-downloader/pkg/COMMENT echo x - downloader/pkg/DESCR sed 's/^X//' >downloader/pkg/DESCR << 'END-of-downloader/pkg/DESCR' XThis program is a linux graphics program for downloading files through the Xinternet which support both ftp and http (not completed yet) protocols. XProgram also supports REGET if server side supports it too. It is like kget Xfor linux and ReGet or GetRight for Bill Gates' OS. X XThis program supports queue of downloads, regets files after connection break Xand many other features: X X able to set limit amount of threads X saving list before quit X log for all downloads X limits for strings in logs X start stop threads, moving they in queue and other X recursive download via ftp (recursive http in plans) X auto reconnect and reget after break X XWWW: http://www.krasu.ru/soft/chuchelo/ X X- Ying-Chieh Liao Xijliao@csie.nctu.edu.tw END-of-downloader/pkg/DESCR echo x - downloader/pkg/PLIST sed 's/^X//' >downloader/pkg/PLIST << 'END-of-downloader/pkg/PLIST' Xbin/nt END-of-downloader/pkg/PLIST echo x - downloader/Makefile sed 's/^X//' >downloader/Makefile << 'END-of-downloader/Makefile' X# New ports collection makefile for: downloader X# Version required: 0.98 X# Date Created: 23 June 1999 X# Whom: Ying-Chieh Liao <ijliao@csie.nctu.edu.tw> X# X# $Id$ X# X XPKGNAME= downloader-0.98 XDISTNAME= nt-0.98 XCATEGORIES= net XMASTER_SITES= http://www.krasu.ru/soft/chuchelo/ \ X ftp://linux.ru.net/pub/chuchelo/ X XMAINTAINER= ijliao@csie.nctu.edu.tw X XLIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 X XWRKSRC= ${WRKDIR}/${DISTNAME}/main X Xdo-install: X cd ${WRKSRC}; ${INSTALL_PROGRAM} nt ${PREFIX}/bin X X.include <bsd.port.mk> END-of-downloader/Makefile exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906221741.BAA30427>