Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 2000 22:16:28 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/17854: Update port: net/gtksamba to gnosamba 0.3.3
Message-ID:  <200004080516.WAA35363@freefall.freebsd.org>

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

>Number:         17854
>Category:       ports
>Synopsis:       Update port: net/gtksamba to gnosamba 0.3.3
>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:   Fri Apr  7 22:20:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.0-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.3.3
- Update MASTER_SITES and WWW: line of pkg/DESCR

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/net/gtksamba/Makefile net/gnosamba/Makefile
--- /usr/ports/net/gtksamba/Makefile	Wed Mar 29 20:05:05 2000
+++ net/gnosamba/Makefile	Sat Apr  8 14:15:27 2000
@@ -1,14 +1,14 @@
-# New ports collection makefile for:	gtksamba
-# Version required:			0.3.1
+# New ports collection makefile for:	gnosamba
+# Version required:			0.3.3
 # Date created:				4 November 1998
 # Whom:					Andrey Zakhvatov
 #
 # $FreeBSD: ports/net/gtksamba/Makefile,v 1.10 2000/03/29 07:16:47 kris Exp $
 #
 
-DISTNAME=	gtksamba-0.3.2pl1
+DISTNAME=	gnosamba-0.3.3
 CATEGORIES=	net
-MASTER_SITES=	http://www.open-systems.com/gtksamba/
+MASTER_SITES=	http://www.open-systems.com/gnosamba/
 
 MAINTAINER=	ports@FreeBSD.org
 
@@ -19,5 +19,8 @@
 USE_X_PREFIX=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	GTK_CONFIG="${GTK_CONFIG}"
+
+post-patch:
+	@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/src/*.c
 
 .include <bsd.port.mk>
diff -urN /usr/ports/net/gtksamba/files/md5 net/gnosamba/files/md5
--- /usr/ports/net/gtksamba/files/md5	Tue Apr 27 04:36:01 1999
+++ net/gnosamba/files/md5	Sat Apr  8 07:45:26 2000
@@ -1 +1 @@
-MD5 (gtksamba-0.3.2pl1.tar.gz) = bd19a461d455b76764ac143d385d9f23
+MD5 (gnosamba-0.3.3.tar.gz) = 38d9dfc2b0099aaea4bde4d8b064bc9f
diff -urN /usr/ports/net/gtksamba/patches/patch-ab net/gnosamba/patches/patch-ab
--- /usr/ports/net/gtksamba/patches/patch-ab	Mon Jan 18 05:03:33 1999
+++ net/gnosamba/patches/patch-ab	Sat Apr  8 14:13:33 2000
@@ -1,11 +1,13 @@
---- src/prefs.c.orig	Mon Jan 18 02:34:19 1999
-+++ src/prefs.c	Mon Jan 18 02:34:26 1999
-@@ -2,7 +2,7 @@
+--- src/prefs.c.orig	Fri May 21 09:40:40 1999
++++ src/prefs.c	Sat Apr  8 14:06:59 2000
+@@ -9,8 +9,8 @@
  #include "gtksamba.h"
  #include <unistd.h>
  
 -#define DEF_SMB_CONF  "/etc/smb.conf"
-+#define DEF_SMB_CONF  "/usr/local/etc/smb.conf"
- #define DEF_RESTART  "/etc/rc.d/init.d/smb restart"
+-#define DEF_RESTART  "/etc/rc.d/init.d/smb restart"
++#define DEF_SMB_CONF  "%%LOCALBASE%%/etc/smb.conf"
++#define DEF_RESTART  ""
  
  static GtkWidget *pbox=NULL;
+ static GtkWidget *conf_entry=NULL;
diff -urN /usr/ports/net/gtksamba/pkg/DESCR net/gnosamba/pkg/DESCR
--- /usr/ports/net/gtksamba/pkg/DESCR	Mon May  3 14:25:45 1999
+++ net/gnosamba/pkg/DESCR	Sat Apr  8 14:05:58 2000
@@ -1,10 +1,11 @@
-GtkSamba is a GUI tool for the Configuration of the Samba,
+GnoSamba is a GUI tool for the Configuration of the Samba,
 the SMB file server on X11/Unix.  It will read, edit and
 write /usr/local/etc/smb.conf, an alternate configuration
-file, or from a network. It uses the GTK toolkit.
+file, or from a network. It uses the GTK Toolkit and 
+Gnome-libs.
 
 This is an early development release, not all functionality
 is implemented.  It will let you edit any existing
 parameter from a text entry, but without any checking.
 
-WWW: http://www.open-systems.com/gtksamba.html
+WWW: http://www.open-systems.com/gnosamba.html
diff -urN /usr/ports/net/gtksamba/pkg/PLIST net/gnosamba/pkg/PLIST
--- /usr/ports/net/gtksamba/pkg/PLIST	Mon Jan 18 05:03:34 1999
+++ net/gnosamba/pkg/PLIST	Sat Apr  8 11:21:32 2000
@@ -1 +1 @@
-bin/gtksamba
+bin/gnosamba


>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?200004080516.WAA35363>