diff options
author | rh <rh@pkgsrc.org> | 1999-02-21 18:54:18 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 1999-02-21 18:54:18 +0000 |
commit | aa7216fe4f8c7f7171629d2f7ebd4ea4b1cdddc6 (patch) | |
tree | 2f615fddfc4b3aa32e95e1765ecb29cd1380a865 /net/gtksamba | |
parent | 354e0f2fbf2045d7da9ff8467f6b4bc8e1623212 (diff) | |
download | pkgsrc-aa7216fe4f8c7f7171629d2f7ebd4ea4b1cdddc6.tar.gz |
gtksamba -- a samba configuration tool for X using gtk
Diffstat (limited to 'net/gtksamba')
-rw-r--r-- | net/gtksamba/Makefile | 24 | ||||
-rw-r--r-- | net/gtksamba/files/md5 | 3 | ||||
-rw-r--r-- | net/gtksamba/patches/patch-aa | 15 | ||||
-rw-r--r-- | net/gtksamba/patches/patch-ab | 17 | ||||
-rw-r--r-- | net/gtksamba/pkg/COMMENT | 1 | ||||
-rw-r--r-- | net/gtksamba/pkg/DESCR | 8 | ||||
-rw-r--r-- | net/gtksamba/pkg/PLIST | 7 |
7 files changed, 75 insertions, 0 deletions
diff --git a/net/gtksamba/Makefile b/net/gtksamba/Makefile new file mode 100644 index 00000000000..36b6ac72d34 --- /dev/null +++ b/net/gtksamba/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/02/21 18:54:18 rh Exp $ +# + +DISTNAME= gtksamba-0.3.2pl1 +PKGNAME= gtksamba-0.3.2.1 +CATEGORIES= net +MASTER_SITES= http://www.open-systems.com/gtksamba/ + +MAINTAINER= packages@NetBSD.org +HOMEPAGE= http://www.open-systems.com/gtksamba.html + +DEPENDS+= gtk+-1.1.12:../../x11/gtk + +USE_X11= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV+= CFLAGS="-DPREFIX='\"${PREFIX}\"' ${CFLAGS}" + +post-install: + @ ${MKDIR} ${PREFIX}/share/doc/gtksamba +.for file in COPYING README TODO ChangeLog + @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/gtksamba +.endfor + +.include "../../mk/bsd.pkg.mk" diff --git a/net/gtksamba/files/md5 b/net/gtksamba/files/md5 new file mode 100644 index 00000000000..eba87ba5845 --- /dev/null +++ b/net/gtksamba/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1999/02/21 18:54:18 rh Exp $ + +MD5 (gtksamba-0.3.2pl1.tar.gz) = bd19a461d455b76764ac143d385d9f23 diff --git a/net/gtksamba/patches/patch-aa b/net/gtksamba/patches/patch-aa new file mode 100644 index 00000000000..668121cfd2d --- /dev/null +++ b/net/gtksamba/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/02/21 18:54:18 rh Exp $ + +--- src/prefs.c.orig Tue Jan 19 04:00:55 1999 ++++ src/prefs.c Tue Feb 16 09:19:08 1999 +@@ -2,8 +2,8 @@ + #include "gtksamba.h" + #include <unistd.h> + +-#define DEF_SMB_CONF "/etc/smb.conf" +-#define DEF_RESTART "/etc/rc.d/init.d/smb restart" ++#define DEF_SMB_CONF PREFIX "/etc/smb.conf" ++#define DEF_RESTART "/bin/kill -HUP `/bin/ps cauxww | /usr/bin/awk 'BEGIN { p1=ARGV[1]; p2=ARGV[2]; ARGC=1 } { if ((p1 == $11) || (p2 == $11)) { print $2 } }' nmbd smbd`" + + static GtkWidget *pbox=NULL; + static GtkWidget *conf_entry=NULL; diff --git a/net/gtksamba/patches/patch-ab b/net/gtksamba/patches/patch-ab new file mode 100644 index 00000000000..b9d62aa7453 --- /dev/null +++ b/net/gtksamba/patches/patch-ab @@ -0,0 +1,17 @@ +$NetBSD: patch-ab,v 1.1.1.1 1999/02/21 18:54:18 rh Exp $ + +--- src/conflists.c.orig Sun Jan 17 04:54:03 1999 ++++ src/conflists.c Sun Feb 21 18:58:59 1999 +@@ -244,10 +244,10 @@ + if((manpath = g_strdup(getenv("MANPATH")))){ + i=strlen(manpath); + manpath=g_realloc(manpath,(i+40)*sizeof(char *)); +- strcat(manpath,":/usr/man:/usr/local/man"); ++ strcat(manpath,":" PREFIX "/man:/usr/share/man:/usr/X11R6/man:/usr/local/man"); + } + else +- manpath=g_strdup("/usr/man:/usr/local/man"); ++ manpath=g_strdup(PREFIX "/man:/usr/share/man:/usr/X11R6/man:/usr/local/man"); + + buff = g_malloc((strlen(manpath)+80)*sizeof(char)); + manlook = g_malloc((strlen(manpath)+32)*sizeof(char)); diff --git a/net/gtksamba/pkg/COMMENT b/net/gtksamba/pkg/COMMENT new file mode 100644 index 00000000000..d05b53c9fea --- /dev/null +++ b/net/gtksamba/pkg/COMMENT @@ -0,0 +1 @@ +Samba configuration tool for X Window System. diff --git a/net/gtksamba/pkg/DESCR b/net/gtksamba/pkg/DESCR new file mode 100644 index 00000000000..c82b280a319 --- /dev/null +++ b/net/gtksamba/pkg/DESCR @@ -0,0 +1,8 @@ +GtkSamba is a GUI tool for the Configuration of the Samba, +the SMB file server on X11/Unix. It will read, edit and +write ${LOCALBASE}/etc/smb.conf, an alternate configuration +file, or from a network. It uses the GTK toolkit. + +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. diff --git a/net/gtksamba/pkg/PLIST b/net/gtksamba/pkg/PLIST new file mode 100644 index 00000000000..f5318d88fa5 --- /dev/null +++ b/net/gtksamba/pkg/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/02/21 18:54:18 rh Exp $ +bin/gtksamba +share/doc/gtksamba/COPYING +share/doc/gtksamba/README +share/doc/gtksamba/TODO +share/doc/gtksamba/ChangeLog +@dirrm share/doc/gtksamba |