mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Update to version 0.9.31
PR: ports/73902 Submitted by: Ports Fury
This commit is contained in:
parent
4667b2bc85
commit
9043a39fe7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121551
@ -6,33 +6,24 @@
|
||||
#
|
||||
|
||||
PORTNAME= pavuk
|
||||
PORTVERSION= 0.9.28
|
||||
PORTREVISION= 6
|
||||
PORTVERSION= 0.9.31
|
||||
CATEGORIES= ftp www
|
||||
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
|
||||
http://www.idata.sk/~ondrej/sw/
|
||||
MASTER_SITE_SUBDIR= apps/www/mirroring
|
||||
DISTNAME= ${PORTNAME}-0.9pl28
|
||||
EXTRACT_SUFX= .tgz
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= HTTP, FTP and Gopher mirroring tool
|
||||
|
||||
USE_OPENSSL= yes
|
||||
USE_BZIP2= yes
|
||||
WANT_GNOME= yes
|
||||
USE_GNOME= gnometarget
|
||||
USE_OPENSSL= yes
|
||||
USE_REINPLACE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
CONFIGURE_ARGS= --with-locale-dir=${LOCALBASE}/share/locale \
|
||||
--disable-debug --disable-gnome --enable-threads
|
||||
|
||||
.if !defined(WITHOUT_NLS)
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
CONFIGURE_ARGS= --with-locale-dir=${PREFIX}/share/locale \
|
||||
--disable-debug --disable-gnome --disable-gtk2 --disable-js \
|
||||
--enable-threads
|
||||
|
||||
MAN1= pavuk.1
|
||||
|
||||
@ -41,8 +32,17 @@ LDFLAGS= -L${LOCALBASE}/lib
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITHOUT_NLS)
|
||||
CONFIGURE_ARGS+= --disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.else
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB+= NLS=""
|
||||
.endif
|
||||
|
||||
.if ${HAVE_GNOME:Mgtk12}!=""
|
||||
USE_GNOME= gtk12
|
||||
PKGNAMESUFFIX= -gtk
|
||||
USE_GNOME+= gtk12
|
||||
CONFIGURE_ARGS+= --with-gtk-config="${GTK_CONFIG}"
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-gtk
|
||||
@ -61,7 +61,8 @@ post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/pavukrc.sample ${PREFIX}/etc
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for f in AUTHORS BUGS CREDITS ChangeLog FAQ MAILINGLIST NEWS README
|
||||
.for f in AUTHORS BUGS CREDITS ChangeLog FAQ MAILINGLIST NEWS README \
|
||||
wget-pavuk.HOWTO
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (pavuk-0.9pl28.tgz) = d0f7b77bd11322add1f7d52d62afbf78
|
||||
SIZE (pavuk-0.9pl28.tgz) = 968336
|
||||
MD5 (pavuk-0.9.31.tar.bz2) = 41ad4df0a6c48a7bf4ec37fbd8095a97
|
||||
SIZE (pavuk-0.9.31.tar.bz2) = 640384
|
||||
|
22
ftp/pavuk/files/patch-src::ainterface.c
Normal file
22
ftp/pavuk/files/patch-src::ainterface.c
Normal file
@ -0,0 +1,22 @@
|
||||
--- src/ainterface.c.orig Wed Nov 3 15:51:10 2004
|
||||
+++ src/ainterface.c Fri Nov 12 03:29:00 2004
|
||||
@@ -448,13 +448,17 @@
|
||||
{
|
||||
int i;
|
||||
|
||||
+#ifdef I_FACE
|
||||
+#ifdef HAVE_MT
|
||||
+ _config_struct_priv_t privcfg;
|
||||
+#endif
|
||||
+#endif
|
||||
+
|
||||
if(cfg.mode == MODE_MIRROR)
|
||||
return;
|
||||
|
||||
#ifdef I_FACE
|
||||
#ifdef HAVE_MT
|
||||
- _config_struct_priv_t privcfg;
|
||||
-
|
||||
privcfg_make_copy(&privcfg);
|
||||
pthread_setspecific(cfg.privcfg_key, (void *) (&privcfg));
|
||||
pthread_cleanup_push((void *) privcfg_free, (void *) (&privcfg));
|
@ -1,30 +0,0 @@
|
||||
--- src/digest_auth_orig.c 2000-12-03 08:25:44.000000000 -0600
|
||||
+++ src/digest_auth.c 2004-07-24 13:45:50.000000000 -0500
|
||||
@@ -87,6 +87,7 @@
|
||||
return retv;
|
||||
}
|
||||
|
||||
+/* PRE: Assumes 'buf' can store 2K */
|
||||
char *http_get_digest_auth_str(auth_digest, method, user, pass, urlp, buf)
|
||||
http_digest_info *auth_digest;
|
||||
char *method;
|
||||
@@ -99,14 +100,15 @@
|
||||
char *a1,*a2,*a3;
|
||||
char *d = url_encode_str(urlp->p.http.document, URL_PATH_UNSAFE);
|
||||
|
||||
- sprintf(pom, "%s:%s:%s", user, auth_digest->realm, pass);
|
||||
+ snprintf(pom, sizeof(pom), "%s:%s:%s", user, auth_digest->realm, pass);
|
||||
a1 = _md5(pom);
|
||||
- sprintf(pom, "%s:%s", method, d);
|
||||
+ snprintf(pom, sizeof(pom), "%s:%s", method, d);
|
||||
a2 = _md5(pom);
|
||||
- sprintf(pom, "%s:%s:%s", a1, auth_digest->nonce, a2);
|
||||
+ snprintf(pom, sizeof(pom), "%s:%s:%s", a1, auth_digest->nonce, a2);
|
||||
a3 = _md5(pom);
|
||||
|
||||
- sprintf(buf,
|
||||
+ snprintf(buf,
|
||||
+ 2048,
|
||||
"Digest username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\"" ,
|
||||
user, auth_digest->realm, auth_digest->nonce, d, a3);
|
||||
|
@ -1,16 +0,0 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/http.c.orig Mon Jul 30 00:06:40 2001
|
||||
+++ src/http.c Fri Jul 2 18:08:05 2004
|
||||
@@ -1111,8 +1111,8 @@
|
||||
if (!loc)
|
||||
return -1;
|
||||
|
||||
- if (sscanf(loc, "http://%[.0-9A-Za-z_-]:%d", proxy, &port) < 1)
|
||||
- if (sscanf(loc, "%[.0-9A-Za-z_-]:%d", proxy, &port) !=2)
|
||||
+ if (sscanf(loc, "http://%255[.0-9A-Za-z_-]:%d", proxy, &port) < 1)
|
||||
+ if (sscanf(loc, "%255[.0-9A-Za-z_-]:%d", proxy, &port) !=2)
|
||||
return -1;
|
||||
|
||||
_free(docp->http_proxy);
|
@ -1,18 +1,5 @@
|
||||
Pavuk is a HTTP, FTP and Gopher mirroring tool.
|
||||
Pavuk is UNIX program used to mirror contents of WWW documents or files. It
|
||||
transfers documents from HTTP, FTP, Gopher and optionaly from HTTPS (HTTP
|
||||
over SSL) servers. Pavuk has an optional GUI based on GTK2 widget set.
|
||||
|
||||
What this program does :
|
||||
|
||||
- recursive HTTP , HTTP over SSL , FTP and Gopher document retrieving
|
||||
- synchronizing retrieved local copies of document with remote
|
||||
- partial content retrieving on servers which supports it (FTP and HTTP/1.1)
|
||||
- follows moved documents
|
||||
- supports "robots.txt" standard
|
||||
- supports HTTP and FTP proxy server
|
||||
- supports HTTP authentication
|
||||
- shows document tree
|
||||
- have interface to "at" command for scheduling
|
||||
- have X-windows user interface (built with own widgets based on plain Xt)
|
||||
- may be built with or without X-windows user interface
|
||||
- can handle setup files
|
||||
|
||||
WWW: http://www.idata.sk/~ondrej/pavuk/
|
||||
WWW: http://pavuk.sourceforge.net/
|
||||
|
@ -1,4 +1,6 @@
|
||||
bin/pavuk
|
||||
bin/pavuk.sh
|
||||
bin/tperf.sh
|
||||
etc/pavuk_authinfo.sample
|
||||
etc/pavukrc.sample
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
@ -9,18 +11,21 @@ etc/pavukrc.sample
|
||||
%%PORTDOCS%%%%DOCSDIR%%/MAILINGLIST
|
||||
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%DATADIR%%/icons/pavuk_16x16.xpm
|
||||
%%DATADIR%%/icons/pavuk_32x32.xpm
|
||||
%%DATADIR%%/icons/pavuk_64x64.xpm
|
||||
%%DATADIR%%/icons/pavuk_as_icon.xpm
|
||||
%%DATADIR%%/icons/pavuk_prg_icon.xpm
|
||||
%%PORTDOCS%%%%DOCSDIR%%/wget-pavuk.HOWTO
|
||||
%%NLS%%share/locale/cs/LC_MESSAGES/pavuk.mo
|
||||
%%NLS%%share/locale/de/LC_MESSAGES/pavuk.mo
|
||||
%%NLS%%share/locale/es/LC_MESSAGES/pavuk.mo
|
||||
%%NLS%%share/locale/fr/LC_MESSAGES/pavuk.mo
|
||||
%%NLS%%share/locale/it/LC_MESSAGES/pavuk.mo
|
||||
%%NLS%%share/locale/pl/LC_MESSAGES/pavuk.mo
|
||||
%%NLS%%share/locale/ja/LC_MESSAGES/pavuk.mo
|
||||
%%NLS%%share/locale/sk/LC_MESSAGES/pavuk.mo
|
||||
%%NLS%%share/locale/uk/LC_MESSAGES/pavuk.mo
|
||||
%%DATADIR%%/icons/pavuk_16x16.xpm
|
||||
%%DATADIR%%/icons/pavuk_32x32.xpm
|
||||
%%DATADIR%%/icons/pavuk_64x64.xpm
|
||||
%%DATADIR%%/icons/pavuk_as_icon.xpm
|
||||
%%DATADIR%%/icons/pavuk_prg_icon.xpm
|
||||
@dirrm %%DATADIR%%/icons
|
||||
@dirrm %%DATADIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user