1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-03 11:12:13 +00:00

Add prozilla 1.3.6, proZilla is a fast download accelerator.

PR:		47503
Submitted by:	Juan Salaverria <rael@vectorstar.net>
This commit is contained in:
Munechika SUMIKAWA 2003-04-19 21:06:54 +00:00
parent a22769375b
commit 682c399f7c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79313
12 changed files with 167 additions and 0 deletions

View File

@ -59,6 +59,7 @@
SUBDIR += pftpd
SUBDIR += proftpd
SUBDIR += profxp
SUBDIR += prozilla
SUBDIR += puf
SUBDIR += pure-ftpd
SUBDIR += py-curl

41
ftp/prozilla/Makefile Normal file
View File

@ -0,0 +1,41 @@
# New ports collection makefile for: ftp/prozilla
# Date created: Jan 24 2003
# Whom: Juan Salaverria <rael@vectorstar.net>
#
# $FreeBSD$
#
PORTNAME= prozilla
PORTVERSION= 1.3.6
CATEGORIES= ftp
MASTER_SITES= http://prozilla.genesys.ro/downloads/prozilla/tarballs/
MAINTAINER= rael@vectorstar.net
COMMENT= ProZilla is a fast download accelerator
LIB_DEPENDS= ncurses.5:${PORTSDIR}/devel/ncurses \
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
MAN1= proz.1 prozilla.1
DOCS= ANNOUNCE AUTHORS COPYING CREDITS ChangeLog INSTALL FAQ NEWS README TODO
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
post-install:
.if !defined(NOPORTDOCS)
${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

1
ftp/prozilla/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (prozilla-1.3.6.tar.gz) = 65864dfe72f5cb7d7e595ca6f34fc7d7

View File

@ -0,0 +1,29 @@
--- src/connect.c.orig Fri Aug 17 20:38:25 2001
+++ src/connect.c Sat Jan 25 19:38:06 2003
@@ -27,6 +27,7 @@
#include <sys/socket.h>
#include <fcntl.h>
#include <netdb.h>
+#include <netinet/in_systm.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <netdb.h>
@@ -341,6 +342,8 @@
struct hostent *hp;
int herr,res;
+#ifndef __FreeBSD__
+
if (*hstbuflen == 0)
{
*hstbuflen = 2048;
@@ -364,5 +367,9 @@
}
if (res)
return NULL;
+#else
+ hp = gethostbyname(host);
+#endif
+
return hp;
}

View File

@ -0,0 +1,15 @@
--- src/connection.c.ori Sat Jan 25 00:33:14 2003
+++ src/connection.c Sat Jan 25 00:33:38 2003
@@ -30,7 +30,12 @@
#include <assert.h>
#include <pthread.h>
+#ifdef __FreeBSD__
+#include <sys/param.h>
+#include <sys/mount.h>
+#else
#include <sys/vfs.h>
+#endif
#include "connection.h"
#include "misc.h"

View File

@ -0,0 +1,10 @@
--- src/ftp-retr.c.ori Sat Jan 25 00:40:45 2003
+++ src/ftp-retr.c Sat Jan 25 00:40:56 2003
@@ -32,6 +32,7 @@
#include <netdb.h>
#include <sys/socket.h>
#include <sys/time.h>
+#include <netinet/in_systm.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <netinet/tcp.h>

View File

@ -0,0 +1,10 @@
--- src/ftpsearch.c.ori Sat Jan 25 00:45:38 2003
+++ src/ftpsearch.c Sat Jan 25 00:45:48 2003
@@ -25,6 +25,7 @@
#include <sys/socket.h>
#include <fcntl.h>
#include <netdb.h>
+#include <netinet/in_systm.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <arpa/inet.h>

View File

@ -0,0 +1,10 @@
--- src/http-retr.c.ori Sat Jan 25 00:49:21 2003
+++ src/http-retr.c Sat Jan 25 00:49:34 2003
@@ -32,6 +32,7 @@
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/time.h>
+#include <netinet/in_systm.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <netinet/tcp.h>

View File

@ -0,0 +1,10 @@
--- src/misc.c.ori Sat Jan 25 01:38:04 2003
+++ src/misc.c Sat Jan 25 01:38:40 2003
@@ -24,7 +24,6 @@
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
-#include <malloc.h>
#include <string.h>
#include <ctype.h>
#include <curses.h>

View File

@ -0,0 +1,10 @@
--- src/ping.c.ori Sat Jan 25 00:53:13 2003
+++ src/ping.c Sat Jan 25 00:53:28 2003
@@ -23,6 +23,7 @@
#include <sys/socket.h>
#include <fcntl.h>
#include <netdb.h>
+#include <netinet/in_systm.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <arpa/inet.h>

17
ftp/prozilla/pkg-descr Normal file
View File

@ -0,0 +1,17 @@
ProZilla is a download accelerator for Linux which gives you
a 200% to 300% improvement in your file downloading speeds.
Its features:
* Supports FTP & HTTP including redirection
* Resume Supported
* Complete acceleration: The file will be downloaded as fast as
possible as your bandwidth allows if not otherwise specified
* Unlike certain other download accelerators available for Linux,
this really works.
* The number of connections that prozilla uses can be specified
* FTPsearch support now permits fetching Mirror locations and
pinging them and selecting the fastest server is automatically
done
WWW: http://prozilla.genesys.ro/

13
ftp/prozilla/pkg-plist Normal file
View File

@ -0,0 +1,13 @@
bin/proz
etc/prozilla.conf-sample
%%PORTDOCS%%share/doc/prozilla/ANNOUNCE
%%PORTDOCS%%share/doc/prozilla/AUTHORS
%%PORTDOCS%%share/doc/prozilla/COPYING
%%PORTDOCS%%share/doc/prozilla/CREDITS
%%PORTDOCS%%share/doc/prozilla/ChangeLog
%%PORTDOCS%%share/doc/prozilla/FAQ
%%PORTDOCS%%share/doc/prozilla/INSTALL
%%PORTDOCS%%share/doc/prozilla/NEWS
%%PORTDOCS%%share/doc/prozilla/README
%%PORTDOCS%%share/doc/prozilla/TODO
%%PORTDOCS%%@dirrm share/doc/prozilla