--- jags-0.22.1.orig/plugins/list_shares.sh +++ jags-0.22.1/plugins/list_shares.sh @@ -12,5 +12,5 @@ if [ -z "$1" ]; then echo "Usage: list_sharess [COMPUTER]" else - smbclient -L $1 -N | cut -b 2-16 | fixsmbcop Sharename --------- _NEWLINE + smbclient -L $1 -N | awk '{print $1}' | fixsmbcop Sharename --------- _NEWLINE fi --- jags-0.22.1.orig/plugins/samba-2.0.7.plugin/list_shares.sh +++ jags-0.22.1/plugins/samba-2.0.7.plugin/list_shares.sh @@ -12,5 +12,5 @@ if [ -z "$1" ]; then echo "Usage: list_shares [COMPUTER]" else - smbclient -L $1 -N | cut -b 2-16 | fixsmbcop Sharename --------- _NEWLINE + smbclient -L $1 -N | awk '{print $1}' | fixsmbcop Sharename --------- _NEWLINE fi --- jags-0.22.1.orig/debian/changelog +++ jags-0.22.1/debian/changelog @@ -0,0 +1,77 @@ +jags (0.22.1-2) unstable; urgency=low + + * Upgrade to standards-version 3.6.1 + * Build-depend on debhelper >> 4.0.0; remove dh_testversion from + debian/rules + * Written basic manual page jags.1 + * Refer to common license file in debian/copyright + * Remove upstream INSTALL file from package + * Make scripts /usr/share/jags/plugins/ executable + + -- Remco van de Meent Wed, 4 Aug 2004 13:48:09 +0200 + +jags (0.22.1-1) unstable; urgency=low + + * New upstream release + + -- Remco van de Meent Sun, 28 Mar 2004 15:59:47 +0200 + +jags (0.20.2-2) unstable; urgency=medium + + * No root privileges needed anymore (closes: #145671) + * Delete empty directories after umount (closes: #145677) + * Strip trailing spaces (closes: #145679) + + -- Remco van de Meent Wed, 15 May 2002 18:49:32 +0200 + +jags (0.20.2-1) unstable; urgency=low + + * New upstream release + + -- Remco van de Meent Sun, 15 Jul 2001 18:32:53 +0200 + +jags (0.20.1-1) unstable; urgency=low + + * New upstream release (closes: #103844) + + -- Remco van de Meent Mon, 9 Jul 2001 20:37:06 +0200 + +jags (0.20-1) unstable; urgency=low + + * New upstream release + + -- Remco van de Meent Tue, 22 May 2001 21:59:47 +0200 + +jags (0.19-1) unstable; urgency=low + + * New upstream release + + -- Remco van de Meent Sat, 12 May 2001 23:59:46 +0200 + +jags (0.18.1-1) unstable; urgency=low + + * New upstream release + + -- Remco van de Meent Sat, 5 May 2001 19:59:12 +0200 + +jags (0.18-2) unstable; urgency=low + + * Added automake build-depends (closes: #92764) + + -- Remco van de Meent Wed, 18 Apr 2001 22:40:54 +0200 + +jags (0.18-1) unstable; urgency=low + + * New upstream release + + -- Remco van de Meent Mon, 26 Mar 2001 16:04:54 +0200 + +jags (0.17-1) unstable; urgency=low + + * Initial Release (closes: #88955) + + -- Remco van de Meent Thu, 8 Mar 2001 20:33:33 +0100 + +Local variables: +mode: debian-changelog +End: --- jags-0.22.1.orig/debian/dirs +++ jags-0.22.1/debian/dirs @@ -0,0 +1,3 @@ +usr/bin +usr/share/jags +usr/share/man/man1 --- jags-0.22.1.orig/debian/copyright +++ jags-0.22.1/debian/copyright @@ -0,0 +1,14 @@ +This package was debianized by Remco van de Meent on +Thu, 8 Mar 2001 20:33:33 +0100. + +It was downloaded from http://sumpan.campus.luth.se/software/jags/ + +Upstream author: Daniel Sundberg + +Copyright: + +GNU GPL + +The full text of the GNU GPL can be found in /usr/share/common-licenses on +Debian systems. + --- jags-0.22.1.orig/debian/jags.1 +++ jags-0.22.1/debian/jags.1 @@ -0,0 +1,20 @@ +.TH JAGS 1 +.SH NAME +jags \- Just Another Gnome Samba Client +.SH SYNOPSIS +\fBjags\fP [\-c \fIserver\fR] [\-\-nowindows] [\-h] +.SH DESCRIPTION +\fBjags\fP is Just Another Gtk+ Samba-client. It is a GUI frontend running over Samba and Smbmount using the GTK+ or Gtkmm and Gnomemm toolkits. It's easy to use and very configurable. +.SH OPTIONS +.TP +\fB\-c \fIserver\fR +Server to search for +.TP +\fB\-\-nowindows\fR +Just mount shares in config-file. Do not show Jags main-window. +.TP +\fB\-h\fR, \fB\-\-help\fR +List of options +.SH AUTHOR +\fBjags\fR was written by Daniel Sundberg . This manual page \fBjags\fR(1) was written for the Debian project by Remco van de Meent . + --- jags-0.22.1.orig/debian/control +++ jags-0.22.1/debian/control @@ -0,0 +1,15 @@ +Source: jags +Section: net +Priority: optional +Maintainer: Remco van de Meent +Build-Depends: debhelper (>> 4.0.0), libgtk1.2-dev, automake +Standards-Version: 3.6.1 + +Package: jags +Architecture: any +Depends: smbclient, samba-common, smbfs, ${shlibs:Depends} +Description: Just Another GTK+ Samba Client + Jags is a Gtk+ based "windows network neighbourhood browser". The program + parses the output from smbclient (part of the samba-package) and use this + to display a graphic view of the network. This program does the parsing + with help from shell- scripts. --- jags-0.22.1.orig/debian/rules +++ jags-0.22.1/debian/rules @@ -0,0 +1,91 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. +export DH_COMPAT=2 + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #/usr/bin/docbook-to-man debian/jags.sgml > jags.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean + rm -f src/*.o src/plugins/fixsmbcop src/jags src/plugins/*.o + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/jags. + $(MAKE) install prefix=$(CURDIR)/debian/jags/usr PREFIX=$(CURDIR)/debian/jags/usr + + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + #dh_testversion 2 + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installemacsen +# dh_installpam +# dh_installinit + dh_installcron + dh_installman debian/jags.1 + (cd $(CURDIR)/debian/jags/usr/share/man/man1/ && ln -s jags.1 fixsmbcop.1) + dh_installinfo + dh_undocumented + dh_installchangelogs CHANGES + dh_link + dh_strip + dh_compress + dh_fixperms + find $(CURDIR)/debian/jags/usr/share/jags/plugins -type f -exec chmod +x '{}' ';' + rm -f "$(CURDIR)/debian/jags/usr/share/jags/plugins/samba-2.0.7.plugin/]" + find $(CURDIR)/debian/jags/usr/share/jags/plugins -name echo.sh -exec chmod -x '{}' ';' + # You may want to make some executables suid here. +# dh_suidregister +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- jags-0.22.1.orig/debian/docs +++ jags-0.22.1/debian/docs @@ -0,0 +1,2 @@ +BUGS +TODO