--- qtsmbstatus-2.2.1.orig/debian/qtsmbstatus-light.dirs +++ qtsmbstatus-2.2.1/debian/qtsmbstatus-light.dirs @@ -0,0 +1,3 @@ +usr/bin +usr/share/pixmaps +usr/share/applications --- qtsmbstatus-2.2.1.orig/debian/qtsmbstatus-light.manpages +++ qtsmbstatus-2.2.1/debian/qtsmbstatus-light.manpages @@ -0,0 +1 @@ +light/qtsmbstatusl.7.gz --- qtsmbstatus-2.2.1.orig/debian/qtsmbstatus-server.manpages +++ qtsmbstatus-2.2.1/debian/qtsmbstatus-server.manpages @@ -0,0 +1 @@ +server/qtsmbstatusd.7.gz --- qtsmbstatus-2.2.1.orig/debian/qtsmbstatus-server.install +++ qtsmbstatus-2.2.1/debian/qtsmbstatus-server.install @@ -0,0 +1,4 @@ +server/bin/qtsmbstatusd usr/bin/ +server/etc/*.pem etc/qtsmbstatusd/ +server/etc/qtsmbstatusd.conf etc/qtsmbstatusd/ +server/etc/qtsmbstatusd.users etc/qtsmbstatusd/ --- qtsmbstatus-2.2.1.orig/debian/watch +++ qtsmbstatus-2.2.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://qtsmbstatus.free.fr/files/qtsmbstatus-(.*)\.tar\.gz --- qtsmbstatus-2.2.1.orig/debian/qtsmbstatus-language.install +++ qtsmbstatus-2.2.1/debian/qtsmbstatus-language.install @@ -0,0 +1 @@ +client/tr/*.qm usr/share/qtsmbstatus/ --- qtsmbstatus-2.2.1.orig/debian/qtsmbstatus-server.qtsmbstatusd.pam +++ qtsmbstatus-2.2.1/debian/qtsmbstatus-server.qtsmbstatusd.pam @@ -0,0 +1,6 @@ +#%PAM-1.0 +@include common-auth +auth required pam_env.so +auth required pam_listfile.so file=/etc/qtsmbstatusd/qtsmbstatusd.users onerr=fail sense=allow item=user +@include common-account +@include common-session --- qtsmbstatus-2.2.1.orig/debian/qtsmbstatus-language.dirs +++ qtsmbstatus-2.2.1/debian/qtsmbstatus-language.dirs @@ -0,0 +1 @@ +usr/share/qtsmbstatus --- qtsmbstatus-2.2.1.orig/debian/docs +++ qtsmbstatus-2.2.1/debian/docs @@ -0,0 +1,2 @@ +README +README-* --- qtsmbstatus-2.2.1.orig/debian/rules +++ qtsmbstatus-2.2.1/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_configure: + qmake-qt4 + +override_dh_auto_install: + +override_dh_installinit: + dh_installinit --name=qtsmbstatusd + +override_dh_installpam: + dh_installpam --name=qtsmbstatusd --- qtsmbstatus-2.2.1.orig/debian/qtsmbstatus-light.menu +++ qtsmbstatus-2.2.1/debian/qtsmbstatus-light.menu @@ -0,0 +1,6 @@ +?package(qtsmbstatus-light): \ + needs="X11" \ + section="Applications/Network/Monitoring" \ + title="QtSmbstatus Light" \ + icon="/usr/share/pixmaps/qtsmbstatusl.xpm" \ + command="qtsmbstatusl" --- qtsmbstatus-2.2.1.orig/debian/qtsmbstatus-server.dirs +++ qtsmbstatus-2.2.1/debian/qtsmbstatus-server.dirs @@ -0,0 +1,3 @@ +usr/bin +etc/pam.d +etc/qtsmbstatusd --- qtsmbstatus-2.2.1.orig/debian/qtsmbstatus-client.manpages +++ qtsmbstatus-2.2.1/debian/qtsmbstatus-client.manpages @@ -0,0 +1 @@ +client/qtsmbstatus.7.gz --- qtsmbstatus-2.2.1.orig/debian/compat +++ qtsmbstatus-2.2.1/debian/compat @@ -0,0 +1 @@ +7 --- qtsmbstatus-2.2.1.orig/debian/qtsmbstatus-server.postinst +++ qtsmbstatus-2.2.1/debian/qtsmbstatus-server.postinst @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +# Recover from incorrect init.d script runlevel settings in +# version 2.1.2-2 and earlier +if [ "$1" = "configure" ] && dpkg --compare-versions "$2" le "2.1.2-2" ; then + update-rc.d -f qtsmbstatusd remove +fi + +#DEBHELPER# --- qtsmbstatus-2.2.1.orig/debian/control +++ qtsmbstatus-2.2.1/debian/control @@ -0,0 +1,63 @@ +Source: qtsmbstatus +Section: net +Priority: optional +Maintainer: Alessio Treglia +Build-Depends: debhelper (>= 7.0.50~), + libqt4-dev, + libpam0g-dev +Standards-Version: 3.8.4 +DM-Upload-Allowed: yes +Homepage: http://qtsmbstatus.free.fr/ + +Package: qtsmbstatus-language +Architecture: all +Depends: ${shlibs:Depends}, + ${misc:Depends} +Conflicts: qtsmbstatus-client (<= 2.0.99) +Description: QtSmbstatus languages package + QtSmbstatus is a smbstatus graphical interface (GUI). + It is meant to provide the possibility of administering remote machines. + QtSmbstatus was designed as a client/server system secured with SSL. + . + This package will install additional languages for qtsmbstatus-client + and qtsmbstatus-light packages. + +Package: qtsmbstatus-light +Architecture: any +Depends: ${shlibs:Depends}, + qtsmbstatus-language, + libqt4-sql, + ${misc:Depends} +Description: GUI (graphical user interface) for smbstatus + QtSmbstatus is a smbstatus graphical interface (GUI). + It is meant to provide the possibility of administering remote machines. + QtSmbstatus was designed as a client/server system secured with SSL. + . + This package provides the lightweight client-side application which + works only locally and doesn't require qtsmbstatus-server. + +Package: qtsmbstatus-client +Architecture: any +Depends: ${shlibs:Depends}, + qtsmbstatus-language, + libqt4-sql, + ${misc:Depends} +Description: GUI (graphical user interface) for smbstatus (client) + QtSmbstatus is a smbstatus graphical interface (GUI). + It is meant to provide the possibility of administering remote machines. + QtSmbstatus was designed as a client/server system secured with SSL. + . + This package provides the qtsmbtatus client application. + +Package: qtsmbstatus-server +Architecture: any +Depends: ${shlibs:Depends}, + libqt4-sql, + samba, + ${misc:Depends} +Description: GUI (graphical user interface) for smbstatus (server) + QtSmbstatus is a smbstatus graphical interface (GUI). + It is meant to provide the possibility of administering remote machines. + QtSmbstatus was designed as a client/server system secured with SSL. + . + This package provides the server-side application. --- qtsmbstatus-2.2.1.orig/debian/qtsmbstatus-light.install +++ qtsmbstatus-2.2.1/debian/qtsmbstatus-light.install @@ -0,0 +1,3 @@ +light/bin/qtsmbstatusl usr/bin/ +light/qtsmbstatusl.xpm usr/share/pixmaps/ +light/qtsmbstatusl.desktop usr/share/applications/ --- qtsmbstatus-2.2.1.orig/debian/qtsmbstatus-client.dirs +++ qtsmbstatus-2.2.1/debian/qtsmbstatus-client.dirs @@ -0,0 +1,3 @@ +usr/bin +usr/share/pixmaps +usr/share/applications --- qtsmbstatus-2.2.1.orig/debian/qtsmbstatus-client.menu +++ qtsmbstatus-2.2.1/debian/qtsmbstatus-client.menu @@ -0,0 +1,6 @@ +?package(qtsmbstatus-client): \ + needs="X11" \ + section="Applications/Network/Monitoring" \ + title="QtSmbstatus Client" \ + icon="/usr/share/pixmaps/qtsmbstatus.xpm" \ + command="qtsmbstatus" --- qtsmbstatus-2.2.1.orig/debian/changelog +++ qtsmbstatus-2.2.1/debian/changelog @@ -0,0 +1,89 @@ +qtsmbstatus (2.2.1-0~ppa1~oneiric) oneiric; urgency=low + + * New upstream release + + -- Daniel Rocher Sun, 19 Feb 2012 18:36:20 +0100 + +qtsmbstatus (2.2.0-0~ppa1~natty) natty; urgency=low + + * New upstream release + + -- Daniel Rocher Tue, 28 Jun 2011 20:43:16 +0200 + +qtsmbstatus (2.1.3-0~ppa1~lucid) lucid; urgency=low + + * New upstream release + + -- Daniel Rocher Thu, 22 Apr 2010 17:48:24 +0200 + +qtsmbstatus (2.1.2-3) unstable; urgency=low + + * debian/qtsmbstatus-server.qtsmbstatusd.init: + - Fix incorrect init.d dependencies, fix runlevels, thanks to + Petter Reinholdtsen for the patch (Closes: #569647). + * Adjust postint script to replace the init.d script properly. + * debian/control: + - Bump Standards. + - Set DMUA to yes. + - Adjust versioned build-dependency on debhelper. + + -- Alessio Treglia Sat, 13 Feb 2010 10:17:29 +0100 + +qtsmbstatus (2.1.2-2) unstable; urgency=low + + * Architecure of qtsmbstatus-language must be all. + * Fix debian/copyright. + + -- Alessio Treglia Thu, 10 Dec 2009 17:00:06 +0100 + +qtsmbstatus (2.1.2-1) unstable; urgency=low + + * Initial release (Closes: #558202). + + -- Alessio Treglia Fri, 27 Nov 2009 00:35:12 +0100 + +qtsmbstatus (2.1.2-0ubuntu1) karmic; urgency=low + + * New upstream bugfix release. + * Drop debian/patches/01-gcc44_ftbfs.dpatch, applied by upstream. + * Drop dpatch support, remove debian/patches. + * debian/control: Update Maintainer field as-per-spec. + * Update debian/copyright. + + -- Alessio Treglia Tue, 30 Jun 2009 11:54:11 +0200 + +qtsmbstatus (2.1.1-0ubuntu1) karmic; urgency=low + + [ Daniel Rocher ] + * New upstream release (LP: #300445) + * Bump Standards-Version to 3.8.1 + * Create package for qtsmbstatus-light + * Create a separate package for Languages (required by qtsmbstatus-client + and qtsmbstatus-light) + * Remove depend on openssl + * debian/qtsmbstatus-server.qtsmbstatusd.init: set the LANG environment + variable value + + [ Alessio Treglia ] + * Add dpatch support. + * Add 01-gcc44_ftbfs.dpatch patch to add missing #include, fix FTBFS. + + -- Alessio Treglia Thu, 14 May 2009 18:55:03 +0200 + +qtsmbstatus (2.0.4-0ubuntu1) intrepid; urgency=low + + [ Daniel Rocher ] + * New upstream version + + [ Harald Sitter ] + * Changed distribution in changelog to intrepid + * Bump Standards-Version to 3.8.0 + + -- Harald Sitter Mon, 28 Jul 2008 14:40:59 +0200 + +qtsmbstatus (2.0.3-0ubuntu1) hardy; urgency=low + + * Initial release (LP: #119179) + + -- Daniel Rocher Wed, 02 Jan 2008 21:00:00 +0200 + --- qtsmbstatus-2.2.1.orig/debian/qtsmbstatus-client.install +++ qtsmbstatus-2.2.1/debian/qtsmbstatus-client.install @@ -0,0 +1,3 @@ +client/bin/qtsmbstatus usr/bin/ +client/qtsmbstatus.xpm usr/share/pixmaps/ +client/qtsmbstatus.desktop usr/share/applications/ --- qtsmbstatus-2.2.1.orig/debian/qtsmbstatus-server.qtsmbstatusd.init +++ qtsmbstatus-2.2.1/debian/qtsmbstatus-server.qtsmbstatusd.init @@ -0,0 +1,66 @@ +#!/bin/sh +# script for qtsmbstatusd +# + +# For LSB +### BEGIN INIT INFO +# Provides: qtsmbstatusd +# Required-Start: $remote_fs $syslog samba +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: start qtsmbstatusd server at boot time +# Description: QtSmbstatus is a graphical user interface for smbstatus +### END INIT INFO + +NAME=qtsmbstatusd + +# see if qtsmbstatusd is running +pid=`ps ax | awk '{print $1,$5}' | grep $NAME | awk '{print $1}' | awk '{print $1}'` + +# get locale +default_locale=en_US.UTF-8 +if [ -f /etc/default/locale ]; then + # Debian systems + system_locale=`grep -re "LANG=" /etc/default/locale | awk 'BEGIN { FS = "[\"]" } { print $2 }'` +fi + +if [ -z $system_locale ]; then system_locale=$default_locale; fi + +# Start or stop the qtsmbstatusd server +case $1 in + start | restart | reload | force-reload) + export LANG=$system_locale + if test "$pid" != ""; then + kill $pid + if /usr/bin/qtsmbstatusd -d; then + echo "qtsmbstatusd server restarted." + fi + else + if /usr/bin/qtsmbstatusd -d; then + echo "qtsmbstatusd server started." + fi + fi + ;; + stop) + if test "$pid" != ""; then + kill -3 $pid + fi + echo "qtsmbstatusd server stopped" + ;; + + status) + if test "$pid" != ""; then + echo "qtsmbstatusd : server is running." + else + echo "qtsmbstatusd : server is not running." + fi + ;; + + *) + echo "Usage: qtsmbstatusd {start|stop|reload|restart|status|force-reload}" + exit 1 + ;; +esac + +exit 0 --- qtsmbstatus-2.2.1.orig/debian/copyright +++ qtsmbstatus-2.2.1/debian/copyright @@ -0,0 +1,36 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=59 +Name: QtSmbstatus +Maintainer: Daniel Rocher +Source: http://qtsmbstatus.free.fr/index.php?page=downloads + +File: * +Copyright: 2004, Daniel Rocher +License: GPL-2 + +File: client/mainwindows.* +Copyright: 2008, Daniel Rocher +License: GPL-2 + +File: debian/* +Copyright: + 2009, Alessio Treglia + 2007, Daniel Rocher +License: GPL-2 + +License: GPL-2 + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +X-Comment: On Debian systems the full text of the GNU General Public + License can be found in the `/usr/share/common-licenses/GPL-2' file.