Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Nov 2004 01:00:14 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/73902: Update port: ftp/pavuk to 0.9.31
Message-ID:  <20041114010014.0e588a17.tkato432@yahoo.com>
Resent-Message-ID: <200411131610.iADGAIFY085038@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         73902
>Category:       ports
>Synopsis:       Update port: ftp/pavuk to 0.9.31
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 13 16:10:18 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 0.9.31

New file:
files/patch-src::ainterface.c

Remove file:
files/patch-src::digest_auth.c
files/patch-src_http.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/ftp/pavuk/Makefile ftp/pavuk/Makefile
--- /usr/ports/ftp/pavuk/Makefile	Wed Jul 28 02:47:20 2004
+++ ftp/pavuk/Makefile	Fri Nov 12 04:21:28 2004
@@ -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 @@
 
 .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 @@
 	${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
diff -urN /usr/ports/ftp/pavuk/distinfo ftp/pavuk/distinfo
--- /usr/ports/ftp/pavuk/distinfo	Thu Jan 29 20:24:59 2004
+++ ftp/pavuk/distinfo	Fri Nov 12 02:57:07 2004
@@ -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
diff -urN /usr/ports/ftp/pavuk/files/patch-src::ainterface.c ftp/pavuk/files/patch-src::ainterface.c
--- /usr/ports/ftp/pavuk/files/patch-src::ainterface.c	Thu Jan  1 09:00:00 1970
+++ ftp/pavuk/files/patch-src::ainterface.c	Fri Nov 12 03:30:43 2004
@@ -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));
diff -urN /usr/ports/ftp/pavuk/files/patch-src::digest_auth.c ftp/pavuk/files/patch-src::digest_auth.c
--- /usr/ports/ftp/pavuk/files/patch-src::digest_auth.c	Tue Jul 27 19:55:27 2004
+++ ftp/pavuk/files/patch-src::digest_auth.c	Thu Jan  1 09:00:00 1970
@@ -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);
- 
diff -urN /usr/ports/ftp/pavuk/files/patch-src_http.c ftp/pavuk/files/patch-src_http.c
--- /usr/ports/ftp/pavuk/files/patch-src_http.c	Sat Jul  3 07:26:44 2004
+++ ftp/pavuk/files/patch-src_http.c	Thu Jan  1 09:00:00 1970
@@ -1,16 +0,0 @@
-
-$FreeBSD: ports/ftp/pavuk/files/patch-src_http.c,v 1.1 2004/07/02 22:26:44 naddy Exp $
-
---- 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);
diff -urN /usr/ports/ftp/pavuk/pkg-descr ftp/pavuk/pkg-descr
--- /usr/ports/ftp/pavuk/pkg-descr	Sat Jun 26 01:45:44 1999
+++ ftp/pavuk/pkg-descr	Fri Nov 12 02:55:17 2004
@@ -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/
diff -urN /usr/ports/ftp/pavuk/pkg-plist ftp/pavuk/pkg-plist
--- /usr/ports/ftp/pavuk/pkg-plist	Sun Apr 18 01:48:17 2004
+++ ftp/pavuk/pkg-plist	Fri Nov 12 04:20:07 2004
@@ -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 @@
 %%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%%
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041114010014.0e588a17.tkato432>