aboutsummaryrefslogtreecommitdiff
path: root/net/gnosamba
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-04-30 19:34:30 +0000
committerSteve Price <steve@FreeBSD.org>2000-04-30 19:34:30 +0000
commit9e804cdf41aaf1650f5214a7e452ee2c835c8938 (patch)
treef1e06963f409d926dd2834e96c3f44de8ace7e12 /net/gnosamba
parent4b225328f80695eec3081ff64a8ac2fc429965b9 (diff)
downloadports-9e804cdf41aaf1650f5214a7e452ee2c835c8938.tar.gz
ports-9e804cdf41aaf1650f5214a7e452ee2c835c8938.zip
Notes
Diffstat (limited to 'net/gnosamba')
-rw-r--r--net/gnosamba/Makefile12
-rw-r--r--net/gnosamba/distinfo2
-rw-r--r--net/gnosamba/files/patch-ab12
-rw-r--r--net/gnosamba/pkg-descr7
-rw-r--r--net/gnosamba/pkg-plist2
5 files changed, 20 insertions, 15 deletions
diff --git a/net/gnosamba/Makefile b/net/gnosamba/Makefile
index 36f86dfd04a0..492c4d270e85 100644
--- a/net/gnosamba/Makefile
+++ b/net/gnosamba/Makefile
@@ -1,15 +1,14 @@
-# New ports collection makefile for: gtksamba
+# New ports collection makefile for: gnosamba
# Date created: 4 November 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
-PORTNAME= gtksamba
-PORTVERSION= 0.3.2.1
+PORTNAME= gnosamba
+PORTVERSION= 0.3.3
CATEGORIES= net
-MASTER_SITES= http://www.open-systems.com/gtksamba/
-DISTNAME= ${PORTNAME}-0.3.2pl1
+MASTER_SITES= http://www.open-systems.com/gnosamba/
MAINTAINER= ports@FreeBSD.org
@@ -21,4 +20,7 @@ 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 --git a/net/gnosamba/distinfo b/net/gnosamba/distinfo
index 2e6eac7609a2..b0a220d20f36 100644
--- a/net/gnosamba/distinfo
+++ b/net/gnosamba/distinfo
@@ -1 +1 @@
-MD5 (gtksamba-0.3.2pl1.tar.gz) = bd19a461d455b76764ac143d385d9f23
+MD5 (gnosamba-0.3.3.tar.gz) = 38d9dfc2b0099aaea4bde4d8b064bc9f
diff --git a/net/gnosamba/files/patch-ab b/net/gnosamba/files/patch-ab
index 5561334584b8..55560f823493 100644
--- a/net/gnosamba/files/patch-ab
+++ b/net/gnosamba/files/patch-ab
@@ -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 --git a/net/gnosamba/pkg-descr b/net/gnosamba/pkg-descr
index 5ab3481b8012..5d16ab3467f5 100644
--- a/net/gnosamba/pkg-descr
+++ b/net/gnosamba/pkg-descr
@@ -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 --git a/net/gnosamba/pkg-plist b/net/gnosamba/pkg-plist
index 6f1684d5c703..0ca89013c1e3 100644
--- a/net/gnosamba/pkg-plist
+++ b/net/gnosamba/pkg-plist
@@ -1 +1 @@
-bin/gtksamba
+bin/gnosamba