Subject: pkg/20250: Update package net/gftp
To: None <gnats-bugs@gnats.netbsd.org>
From: None <juan@xtraeme.dyndns.org>
List: netbsd-bugs
Date: 02/08/2003 05:53:31
>Number:         20250
>Category:       pkg
>Synopsis:       Update package net/gftp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 07 20:54:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Juan RP
>Release:        NetBSD 1.6N
>Organization:
HispaBSD
>Environment:
System: NetBSD xtraeme.dyndns.org 1.6N NetBSD 1.6N (xtrakernel) #1: Fri Feb 7 05:17:13 CET 2003 root@xtraeme.dyndns.org:/usr/obj/sys/arch/i386/compile.i386/xtrakernel i386
Architecture: i386
Machine: i386
>Description:

Own package Gftp is out-of-date, the latest version is 2.0.14.
This patch provide update to the latest version, and include a
Makefile.common for give support to gftp2 ( Gtk2 widgets ).

There are many changes for copy here, see this link to see
a full list of changes:

http://gftp.seul.org/changelog.html

>How-To-Repeat:

This is the Makefile for gftp ( gtk v1):

PATH= ${PKGDIR}/net/gftp

-------------------------

# $NetBSD: Makefile,v 1.8 2003/02/05 05:06:36 jlam Exp $

.include "Makefile.common"

CONFLICTS+=             gftp2-[0-9]*

CONFIGURE_ARGS+=        --disable-gtk20

.include "../../x11/gtk/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"

--------------------------

The Makefile.common:

PATH=${PKGDIR}/net/gftp

---------------------------


# $NetBSD: Makefile,v 1.8 2003/02/05 05:06:36 jlam Exp $

DISTNAME=       gftp-${VERSION}
VERSION=        2.0.14
CATEGORIES=     net
MASTER_SITES=   http://gftp.seul.org/                                   \
                ftp://gftp.seul.org/pub/gftp/                           \
                ftp://gftp.seul.org/pub/gftp/old-releases/

MAINTAINER=     jmcneill@invisible.yi.org
HOMEPAGE=       http://gftp.seul.org/
COMMENT=        multithreaded ftp client for *NIX based machines running X11R6

DEPENDS+=	gnome1-dirs>=1.0:../../misc/gnome1-dirs

USE_BUILDLINK2=         YES
GNU_CONFIGURE=          YES
USE_PKGLOCALEDIR=       YES
USE_GNU_GETTEXT=        YES
USE_X11BASE=            YES

.include "../../mk/pthread.buildlink2.mk"

-------------------------

The PLIST file:

PATH=${PKGDIR}/net/gftp

-------------------------


@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:55:25 zuntum Exp $
bin/gftp
bin/gftp-gtk
man/man1/gftp.1
share/gftp/COPYING
share/gftp/bookmarks
share/gftp/connect.xpm
share/gftp/deb.xpm
share/gftp/diff.xpm
share/gftp/dir.xpm
share/gftp/doc.xpm
share/gftp/dotdot.xpm
share/gftp/down.xpm
share/gftp/exe.xpm
share/gftp/gftp-logo.xpm
share/gftp/gftp-mini-logo.xpm
share/gftp/gftp.xpm
share/gftp/gftprc
share/gftp/img.xpm
share/gftp/left.xpm
share/gftp/linkdir.xpm
share/gftp/linkfile.xpm
share/gftp/man.xpm
share/gftp/open_dir.xpm
share/gftp/right.xpm
share/gftp/rpm.xpm
share/gftp/sound.xpm
share/gftp/stop.xpm
share/gftp/tar.xpm
share/gftp/txt.xpm
share/gftp/up.xpm
share/gftp/world.xpm
share/gnome/apps/Internet/gftp.desktop
${PKGLOCALEDIR}/locale/bg/LC_MESSAGES/gftp.mo
${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/gftp.mo
${PKGLOCALEDIR}/locale/da/LC_MESSAGES/gftp.mo
${PKGLOCALEDIR}/locale/de/LC_MESSAGES/gftp.mo
${PKGLOCALEDIR}/locale/es/LC_MESSAGES/gftp.mo
${PKGLOCALEDIR}/locale/fi/LC_MESSAGES/gftp.mo
${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/gftp.mo
${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/gftp.mo
${PKGLOCALEDIR}/locale/it/LC_MESSAGES/gftp.mo
${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/gftp.mo
${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/gftp.mo
${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/gftp.mo
${PKGLOCALEDIR}/locale/no/LC_MESSAGES/gftp.mo
${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/gftp.mo
${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/gftp.mo
${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/gftp.mo
${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/gftp.mo
${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/gftp.mo
${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/gftp.mo
${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/gftp.mo
${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/gftp.mo
share/pixmaps/gftp.png
@dirrm share/gftp

-------------------------------------

And this is the package gftp2 which uses gtk2:

PATH=${PKGDIR}/net/gftp2

-------------------------------------


# $NetBSD$

.include "../gftp/Makefile.common"

PKGNAME=	gftp2-${VERSION}

CONFLICTS+=	gftp-[0-9]*

PLIST_SRC+=	${.CURDIR}/../gftp/PLIST
PATCHDIR=	${.CURDIR}/../gftp/patches
DESCR_SRC+=	${.CURDIR}/../gftp/DESCR

.include "../../x11/gtk2/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"

-------------------------------------

And the last is the patch-aa

PATH=${PKGDIR}/net/gftp

---------------------------------------


$NetBSD$
--- lib/gftp.h.orig	2003-02-08 04:47:33.000000000 +0100
+++ lib/gftp.h	2003-02-08 04:48:21.000000000 +0100
@@ -35,7 +35,7 @@
 #endif
 #include <sys/wait.h>
 #include <sys/utsname.h>
-#include <sys/sysmacros.h>
+/*#include <sys/sysmacros.h>*/
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <glib.h>

---------------------------------------


>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: