debian/0000775000000000000000000000000012244215044007166 5ustar debian/rules0000775000000000000000000000003512244213754010252 0ustar #!/usr/bin/make -f %: dh $@ debian/watch0000664000000000000000000000010312244213730010211 0ustar version=3 http://sf.net/kontrolpack/KontrolPack-([\d\.]*)\.tar\.gz debian/changelog0000664000000000000000000000306112244215037011042 0ustar kontrolpack (3.0.0-0ubuntu3) trusty; urgency=low * Bump debhelper compat to 9. * Wrap and sort. * Convert to minimal dh sequencer. * Update copyright fields. -- Logan Rosen Sat, 23 Nov 2013 16:03:15 -0500 kontrolpack (3.0.0-0ubuntu2) precise; urgency=low * Fix FTBFS on amd64 (LP: #877643). -- Ilya Barygin Thu, 20 Oct 2011 21:08:56 +0400 kontrolpack (3.0.0-0ubuntu1) precise; urgency=low * New upstream release (LP: #573780). * Add build dependencies: libssl-dev, libxml2-dev, libsqlite3-dev. * Refresh 01_su-to-root-desktop-file.patch. * 02_link-with-crypto.patch: new patch, fixes build. * Put *.so library in a subdirectory of /usr/lib, add 03_set-rpath.patch to find it. * 04_spelling.patch: fix spelling errors found by lintian. * 05_format-safety.patch: fix FTBFS due to warning. * Update homepage and watch file. * Use source format 3.0 (quilt) for patches. * Bump Standards-Version to 3.9.2. -- Ilya Barygin Sat, 15 Oct 2011 21:34:04 +0400 kontrolpack (2.0.3-0ubuntu1) karmic; urgency=low * New upstream release * Drop chmod -x on icon (tarball got fixed permissions) -- Harald Sitter Wed, 12 Aug 2009 20:33:55 +0200 kontrolpack (2.0.2-0ubuntu1) karmic; urgency=low * Initial release * 01_su-to-root-desktop-file.patch patches desktop file to use su-to-root + This creates a dependency on the menu package (which contains su-to-root) -- Harald Sitter Sun, 02 Aug 2009 14:50:07 +0200 debian/compat0000664000000000000000000000000212244214012010356 0ustar 9 debian/kontrolpack.install0000664000000000000000000000025412244213771013113 0ustar bin/kontrolpack /usr/bin bin/libsecuretcp.so* /usr/lib/kontrolpack kontrolpack/kontrolpack.desktop /usr/share/applications/ kontrolpack/kontrolpack.png /usr/share/pixmaps/ debian/copyright0000664000000000000000000000107612244214727011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: KontrolPack Upstream-Contact: Thomas Thelliez Upstream-Source: http://www.kontrolpack.com/download.php Files: * Copyright: Copyright 2007-2009, Thomas Thelliez License: GPL-2+ Files: debian/* Copyright: Copyright 2009, Harald Sitter License: GPL-2+ License: GPL-2+ On Debian systems the full text of the GNU General Public License version 2 can be found in the `/usr/share/common-licenses/GPL-2' file. debian/source/0000775000000000000000000000000012244215044010466 5ustar debian/source/format0000664000000000000000000000001412244213730011674 0ustar 3.0 (quilt) debian/control0000664000000000000000000000215412244214004010566 0ustar Source: kontrolpack Section: admin Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Harald Sitter Build-Depends: debhelper (>= 9), libqt4-dev, libsqlite3-dev, libssl-dev, libxml2-dev Standards-Version: 3.9.4 Homepage: http://sourceforge.net/projects/kontrolpack/ Package: kontrolpack Architecture: any Depends: menu, ${misc:Depends}, ${shlibs:Depends} Description: network controller The purpose of KontrolPack is to improve interoperability between systems by connecting remote computers, regardless of their operating system. It can be used to: . - Handle remote shell command execution. - Share files between remote computers. - Manage your network: LAN (Local Area Network). - Get an overview of the workstations on your LAN. - Lightweight XML based message exchange between client and server. - Handle each client with a personalized tab panel. - Send commands simultaneously to all computers on your LAN. - Cross-platform (GNU/Linux, Mac OSX, MS Windows). debian/patches/0000775000000000000000000000000012244215044010615 5ustar debian/patches/06_amd64-ftbfs.patch0000664000000000000000000000234412244213730014163 0ustar Description: Fix FTBFS on amd64. Author: Ilya Barygin Bug-Ubuntu: https://launchpad.net/bugs/877643 --- kontrolpack-3.0.0.orig/libsecuretcp/libsecuretcp.pro +++ kontrolpack-3.0.0/libsecuretcp/libsecuretcp.pro @@ -33,7 +33,7 @@ INCLUDEPATH += C:\\OpenSSL\\include C:\libxml2\lib\include\libxml2 LIBS += -LC:\libxml2\lib\lib -lxml2 -LC:\\OpenSSL\\lib\\MinGW -leay32 -LC:\Qt\2010.02.1\mingw\lib -lws2_32 -lwsock32 } -linux-g++ { +linux-g++ | linux-g++-64 { INCLUDEPATH += /usr/include/openssl /usr/include/libxml2 LIBS += -L/usr/lib -lssl -lxml2 -lcrypto } --- kontrolpack-3.0.0.orig/kontrolpack/kontrolpack.pro +++ kontrolpack-3.0.0/kontrolpack/kontrolpack.pro @@ -20,7 +20,7 @@ INCLUDEPATH += C:\\sqlite3\\include C:\\OpenSSL\\include C:\\libxml2\\lib\\include\\libxml2 ..\\libsecuretcp LIBS += -LC:\\sqlite3 -lsqlite3.dll -L..\\bin -lsecuretcp0 -LC:\libxml2\lib\lib -lxml2 -LC:\\OpenSSL\\lib\\MinGW -leay32 -LC:\Qt\2010.02.1\mingw\lib -lws2_32 -lwsock32 } -linux-g++ { +linux-g++ | linux-g++-64 { INCLUDEPATH += /usr/include/openssl ../libsecuretcp /usr/include/libxml2 LIBS += -L/usr/lib -lssl -L../bin -lsecuretcp -lxml2 -lsqlite3 } debian/patches/01_su-to-root-desktop-file.patch0000664000000000000000000000065212244213730016555 0ustar Description: Start kontrolpack with superuser rights. Author: Harald Sitter --- kontrolpack-3.0.0.orig/kontrolpack/kontrolpack.desktop +++ kontrolpack-3.0.0/kontrolpack/kontrolpack.desktop @@ -3,7 +3,7 @@ Version=1.0 Name=KontrolPack Comment=Remote shell command executor and LAN manager -Exec=kontrolpack +Exec=su-to-root -X -c kontrolpack Terminal=false X-MultipleArgs=false Icon=kontrolpack debian/patches/04_spelling.patch0000664000000000000000000000513112244213730013756 0ustar Description: Fixes typos found by lintian. Author: Ilya Barygin --- kontrolpack-3.0.0.orig/libsecuretcp/auth/auth_session.cpp +++ kontrolpack-3.0.0/libsecuretcp/auth/auth_session.cpp @@ -148,7 +148,7 @@ void auth_session::handle_crypted_auth() // Saving client RSA public key. client_pub_key = key_exchange_parser(result.toUtf8().data()); if (strlen(client_pub_key) == 0) - fprintf (stderr, "%s:%d Error transfering key...\n", + fprintf (stderr, "%s:%d Error transferring key...\n", __FILE__, __LINE__); rsa_client_pub = char_array_to_RSA_key( client_pub_key, PUBLIC_KEY, NULL); --- kontrolpack-3.0.0.orig/kontrolpack/client/ui/remote_computer.cpp +++ kontrolpack-3.0.0/kontrolpack/client/ui/remote_computer.cpp @@ -151,7 +151,7 @@ void RemoteComputer::tcp_state(int state break; } case AUTH_SUCCESS : { - label->setText("Authentification succeded. AES symetric encryption started..."); + label->setText("Authentication succeded. AES symetric encryption started..."); progress->hide(); label->hide(); break; --- kontrolpack-3.0.0.orig/kontrolpack/server/ui/server_central_window.cpp +++ kontrolpack-3.0.0/kontrolpack/server/ui/server_central_window.cpp @@ -244,5 +244,5 @@ to be aware of new client authentificati */ void ServerCentralWindow::auth_succeeded(int client_nbr) { - emit showMessage("Information", "A remote computer is connected to this computer. Authentification succeeded...", 3000); + emit showMessage("Information", "A remote computer is connected to this computer. Authentication succeeded...", 3000); } --- kontrolpack-3.0.0.orig/kontrolpack/server/core/network/connection_controller.cpp +++ kontrolpack-3.0.0/kontrolpack/server/core/network/connection_controller.cpp @@ -182,7 +182,7 @@ void ConnectionController::received_stre master_server->write_encrypted_data_to_socket(QString(UPLOAD_KO).toUtf8().data(), client_nbr); } delete dirInfo; - m_logger->info("Remote client number " + QString::number(client_nbr) + " sending informations to upload file : " + document->name + " to " + document->path ); + m_logger->info("Remote client number " + QString::number(client_nbr) + " sending information to upload file : " + document->name + " to " + document->path ); } //Send file. if (message.startsWith(QString(XML_DOCTYPE) + QString(XML_DOWNLOAD) + ">", Qt::CaseInsensitive)) { debian/patches/series0000664000000000000000000000021412244213730012027 0ustar 01_su-to-root-desktop-file.patch 02_link-with-crypto.patch 03_set-rpath.patch 04_spelling.patch 05_format-safety.patch 06_amd64-ftbfs.patch debian/patches/03_set-rpath.patch0000664000000000000000000000075112244213730014052 0ustar Description: As we're installing libsecuretcp.so in a subdirectory of /usr/lib, we need to set rpath so that the executable can find it. Author: Ilya Barygin --- kontrolpack-3.0.0.orig/kontrolpack/kontrolpack.pro +++ kontrolpack-3.0.0/kontrolpack/kontrolpack.pro @@ -31,6 +31,7 @@ macx { QT += core network xml TARGET = kontrolpack CONFIG += qt thread +QMAKE_RPATHDIR = /usr/lib/kontrolpack RESOURCES = resources.qrc win32:RC_FILE = KontrolPack.rc debian/patches/02_link-with-crypto.patch0000664000000000000000000000103512244213730015362 0ustar Description: Fix underlinked library. This patch is required to build with --as-needed linker option. Author: Ilya Barygin --- kontrolpack-3.0.0.orig/libsecuretcp/libsecuretcp.pro +++ kontrolpack-3.0.0/libsecuretcp/libsecuretcp.pro @@ -35,7 +35,7 @@ win32 { } linux-g++ { INCLUDEPATH += /usr/include/openssl /usr/include/libxml2 - LIBS += -L/usr/lib -lssl -lxml2 + LIBS += -L/usr/lib -lssl -lxml2 -lcrypto } macx { INCLUDEPATH += /usr/include/openssl /usr/include/libxml2 debian/patches/05_format-safety.patch0000664000000000000000000000164512244213730014731 0ustar Description: fix format-safety warning, which causes FTBFS in Precise Author: Ilya Barygin --- kontrolpack-3.0.0.orig/kontrolpack/client/ui/tabui/share_files.cpp +++ kontrolpack-3.0.0/kontrolpack/client/ui/tabui/share_files.cpp @@ -130,7 +130,7 @@ void ShareFiles::drop_remote() } else { this->displayRemoteDirectoryContent(remoteFoldersList, remoteFilesList); } - qDebug(qPrintable("Transfer document : " + document)); + qDebug("%s", qPrintable("Transfer document : " + document)); } void ShareFiles::drop_local() @@ -169,7 +169,7 @@ void ShareFiles::drop_local() } else { this->displayLocalDirectoryContent(localFoldersList, localFilesList); } - qDebug(qPrintable("Transfer document : " + document)); + qDebug("%s", qPrintable("Transfer document : " + document)); } QString ShareFiles::track_delta(QStringList *previousList, QStringList *newList)