--- knmap-2.1.orig/debian/menu +++ knmap-2.1/debian/menu @@ -0,0 +1,4 @@ +?package(knmap): title="knmap" \ + needs="X11" \ + section="Applications/Network/Monitoring" \ + command="/usr/bin/knmap" --- knmap-2.1.orig/debian/copyright +++ knmap-2.1/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Claudio Moratti on +Wed, 9 Nov 2005 18:59:04 +0100. + +It was downloaded from http://sourceforge.net/projects/knmap + +Copyright : + Software : + Copyright (C) 2005, 2006 Kevin Gilbert + debian/knmap.1.docbook : + Copyright (C) 2005, 2006 Raphaël Pinson + Copyright (C) 2008 Ryan Kavanagh + +License: + + This package 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 package 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- knmap-2.1.orig/debian/control +++ knmap-2.1/debian/control @@ -0,0 +1,30 @@ +Source: knmap +Section: net +Priority: extra +Maintainer: Ryan Kavanagh +Uploaders: Debian KDE Extras Team +Build-Depends: debhelper (>= 5.0.51), cdbs, libtool, automake, autoconf, + autotools-dev, kdelibs4-dev, quilt, docbook2x, docbook +Homepage: http://sourceforge.net/projects/knmap +Standards-Version: 3.8.2 +Vcs-Svn: svn://svn.debian.org/svn/pkg-kde/kde-extras/knmap/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-kde/kde-extras/knmap/ + +Package: knmap +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, nmap +Description: KDE interface to nmap, the Network Mapper + Knmap is a KDE-based interface to the 'nmap' facility available at + http://www.insecure.org/nmap. + . + The main Knmap window provides for the entry of nmap options and the display of + nmap-generated output. + . + This program is a complete re-write of one by the same name written by + Alexandre Sagala. The last version of that program was 0.9 which was released + on 2003-03-09 and targeted the KDE 2.2 and QT 2.3 environments. Unfortunately + it does not compile on today's KDE / QT environments. + . + Nmap ("Network Mapper") is a utility for network exploration or security + auditing. It supports ping scanning (determine which hosts are up), many port + scanning techniques, version detection, and TCP/IP fingerprinting. --- knmap-2.1.orig/debian/compat +++ knmap-2.1/debian/compat @@ -0,0 +1 @@ +5 --- knmap-2.1.orig/debian/watch +++ knmap-2.1/debian/watch @@ -0,0 +1,4 @@ +version=3 +http://sf.net/knmap/knmap-(.*)\.tar\.bz2 + + --- knmap-2.1.orig/debian/changelog +++ knmap-2.1/debian/changelog @@ -0,0 +1,85 @@ +knmap (2.1-3build1) karmic; urgency=low + + * Fake-sync with unstable, md5sum mismatch on orig.tar.gz (LP: #393108) + + -- Andrew Starr-Bochicchio Sat, 11 Jul 2009 19:48:43 -0400 + +knmap (2.1-3) unstable; urgency=low + + * Add the Debian KDE Extras Team to Uploaders. + * Add Vcs-Svn and Vcs-Browser to control. + * Bump standards from 3.8.0 to 3.8.2. + * Remove backslashes in control file, (Closes: #535304). + * Add description headers to the patches. + + -- Ryan Kavanagh Fri, 03 Jul 2009 19:24:53 -0400 + +knmap (2.1-2) unstable; urgency=low + + * New maintainer (Closes: #484542) + * Fix short description (Kde -> KDE) (Closes: #466812) + * Update the standards, the dependency versions and move homepage from long + description to the Homepage field in debian/control + * Merge in contributions from Kubuntu: + + Merge the Kubuntu manpage (better description) and the current manpage + + Change debian/rules to CDBS to make maintaining the package easier + + Updated the long description to prevent confusion between the old knmap + and the new rewrite. + * We need to relibtoolize : + + When we relibtoolize, we should use autoconf*2.6*; Kubuntu's + 00_autoconf2.6.diff + + Debian doesn't have automake 1.6 anymore (which is what admin/cvs.sh + asks for), so we need to patch it to use 1.10.1; 01_automake1.10.1.diff + * Patch Makefile.am to remove useless linking, this is preferable to + --as-needed for KDE3 aps; 02_fix_ld-flags.diff + * Use quilt to maintain all these patches. + * Change the priority from `optional' to `extra' to conform to section 2.5 + of the Policy (we depend on nmap which has the priority of `extra'). + * Change `Apps' to `Applications' in the menu file to remove the + `menu-item-uses-apps-section' warning; and change `Net' to + `Network/Monitoring'. + * Remove the Encoding tag from the desktop file; + 03_no_encoding_in_desktop.diff + * Change ``http://bugs.kde.org'' to ``http://bugs.debian.org'' in + src/main.cpp; 04_report_bugs.diff (Closes: #466814) + * Drop the creation of /usr/share/bug/ & /usr/share/bug/knmap/ since + they are empty and serve no purpose. + * Update the standards version from 3.7.3 to 3.8.0 + * Add more files that upstream doesn't clean up to our clean:: (in + debian/rules) + + -- Ryan Kavanagh Sat, 14 Jun 2008 20:59:20 -0400 + +knmap (2.1-1) unstable; urgency=low + + * New Upstream Release + * Fixed debian/watch file + + -- Claudio Moratti Sat, 21 Jan 2006 20:07:05 +0100 + +knmap (2.0-1) unstable; urgency=low + + * New Upstream Release (Closes: #347834) + + -- Claudio Moratti Fri, 13 Jan 2006 11:54:27 +0100 + +knmap (1.99-1) unstable; urgency=low + + * New Upstream Release (2.0-beta) + + -- Claudio Moratti Mon, 19 Dec 2005 12:23:55 +0100 + +knmap (1.0-1) unstable; urgency=low + + * New upstream release + * Added libtool patch + * Added Categories to .desktop file + + -- Claudio Moratti Mon, 5 Dec 2005 15:44:48 +0100 + +knmap (1.0-beta1-1) unstable; urgency=low + + * Initial release + + -- Claudio Moratti Wed, 9 Nov 2005 18:59:04 +0100 + --- knmap-2.1.orig/debian/rules +++ knmap-2.1/debian/rules @@ -0,0 +1,38 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/kde.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/rules/utils.mk + +DEB_INSTALL_MANPAGES_knmap = knmap.1 + +post-patches:: + # regenerating files to build app + libtoolize --copy --force + cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in + $(MAKE) -f Makefile.cvs + +build/knmap:: + docbook2x-man debian/manpages/knmap.1.xml + +install/knmap:: + dh_install src/knmap.desktop usr/share/applications/kde + rm -rf debian/knmap/usr/share/applnk + dh_link usr/share/doc/kde/HTML/en/knmap usr/share/doc/knmap/html + +clean:: + rm -f knmap.1 + # removing files not cleaned by upstream + rm -f configure + rm -f doc/en/Makefile.in + rm -f src/Makefile.in + rm -f Makefile.in + rm -f subdirs + rm -f aclocal.m4 + rm -f config.h.in + rm -f acinclude.m4 + rm -f po/Makefile.in + rm -f admin/ltmain.sh + rm -f admin/libtool.m4.in + rm -f doc/Makefile.in --- knmap-2.1.orig/debian/manpages/knmap.1.xml +++ knmap-2.1/debian/manpages/knmap.1.xml @@ -0,0 +1,447 @@ + + + + + + + Raphaël + Pinson + raphink@raphink.net + + + Ryan + Kavanagh + ryanakca@kubuntu.org + + + 2005 + Raphaël Pinson + + + 2008 + Ryan Kavanagh + + + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU General Public + License, Version 2 or any later version published by the Free Software + Foundation. + + + + On Debian systems, the complete text of the GNU General Public + License can be found in + /usr/share/common-licenses/GPL. + + + + + + 2008-05-07 + + + + knmap + 1 + knmap + + + knmap + knmap + KDE-based interface to the `nmap' facility. + + + + knmap + + + + + + + + + + + + + DESCRIPTION + + Knmap is a KDE-based interface to the `nmap' facility. + + + The main Knmap window provides for the entry of nmap options and the + display of nmap-generated output. + + + This program is a complete re-write of one by the same name written by + Alexandre Sagala. The last version of that program was 0.9 which was + released on 2003-03-09 and targeted the KDE 2.2 and QT 2.3 environments. + Unfortunately it does not compile on today's KDE / QT environments. + + + Not to mention that it did not cater for the full set of `nmap' options. + Or, perhaps, `nmap' progressed whilst that version of Knmap languished. + + + + OPTIONS + + All KDE and Qt programs accept some common + command-line options. Knmap has no application-specific options. + + + + Generic options: + + + + + + + Show help about options + + + + + + + + Show Qt specific options + + + + + + + + Show KDE specific options + + + + + + + + Show all options + + + + + + + + Show author information + + + + + , + + + Show version information + + + + + + + + Show license information + + + + + + + + Indicates end of options + + + + + + KDE options: + + + + + + + Use 'caption' as name in the titlebar + + + + + + + + Use 'icon' as the application icon + + + + + + + + Use 'icon' as the icon in the titlebar + + + + + + + + Use alternative configuration file + + + + + + + + Use the DCOP Server specified by 'server' + + + + + + + + Disable crash handler, to get core dumps + + + + + + + + Waits for a WM_NET compatible windowmanager + + + + + + + + sets the application GUI style + + + + + + + + sets the client geometry of the main widget - see man X for the argument format + + + + + + Qt options: + + + + + + + Use the X-server display 'displayname' + + + + + + + + Restore the application for the given 'sessionId' + + + + + + + + Causes the application to install a private color +map on an 8-bit display + + + + + + + + Limits the number of colors allocated in the color +cube on an 8-bit display, if the application is +using the QApplication::ManyColor color +specification + + + + + + + + tells Qt to never grab the mouse or the keyboard + + + + + + + + running under a debugger can cause an implicit +-nograb, use -dograb to override + + + + + + + + switches to synchronous mode for debugging + + + + + + + + defines the application font + + + + + + + + sets the default background color and an +application palette (light and dark shades are +calculated) + + + + + + + + sets the default foreground color + + + + + + + + sets the default button color + + + + + + + + sets the application name + + + + + + + + sets the application title (caption) + + + + + + + + forces the application to use a TrueColor visual on +an 8-bit display + + + + + + + + sets XIM (X Input Method) input style. Possible +values are onthespot, overthespot, offthespot and +root + + + + + + + + set XIM server + + + + + + + + disable XIM + + + + + + + + mirrors the whole layout of widgets + + + + + + + + SEE ALSO + Full user documentation is available through the KDE Help Center. You can + also enter the URL help:/kmap/ directly into + konqueror or you can run `khelpcenter + help:/knmap/' from the command line. + + + + AUTHORS + +Kevin Gilbert <kev.gilbert@cdu.edu.au> + + + + + COPYRIGHT + + This manual page was written by Raphaël Pinson + raphink@raphink.net for the + Debian system (but may be used by + others). + + It was finished by Ryan Kavanagh + ryanakca@kubuntu.org in June 2008. + + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU General Public + License, Version 2 or any later version published by the Free Software + Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in + /usr/share/common-licenses/GPL. + + + --- knmap-2.1.orig/debian/patches/00_autoconf2.6.diff +++ knmap-2.1/debian/patches/00_autoconf2.6.diff @@ -0,0 +1,22 @@ +## 00_autoconf2.6.diff by Jonathan Riddell +## Description: Allow us to use autoconf2.6 +--- a/admin/cvs.sh ++++ b/admin/cvs.sh +@@ -29,7 +29,7 @@ check_autotool_versions() + { + AUTOCONF_VERSION=`$AUTOCONF --version | head -n 1` + case $AUTOCONF_VERSION in +- Autoconf*2.5* | autoconf*2.5* ) : ;; ++ Autoconf*2.5* | autoconf*2.5* | autoconf*2.6* ) : ;; + "" ) + echo "*** AUTOCONF NOT FOUND!." + echo "*** KDE requires autoconf 2.52, 2.53 or 2.54" +@@ -44,7 +44,7 @@ esac + + AUTOHEADER_VERSION=`$AUTOHEADER --version | head -n 1` + case $AUTOHEADER_VERSION in +- Autoconf*2.5* | autoheader*2.5* ) : ;; ++ Autoconf*2.5* | autoheader*2.5* | autoheader*2.6* ) : ;; + "" ) + echo "*** AUTOHEADER NOT FOUND!." + echo "*** KDE requires autoheader 2.52 or 2.53 (part of autoconf)" --- knmap-2.1.orig/debian/patches/01_automake1.10.1.diff +++ knmap-2.1/debian/patches/01_automake1.10.1.diff @@ -0,0 +1,14 @@ +## 01_automake1.10.1.diff by Ryan Kavanagh +## Description: Allow us to use automake*1.10* +--- a/admin/cvs.sh ++++ b/admin/cvs.sh +@@ -64,7 +64,8 @@ case $AUTOMAKE_STRING in + echo "*** KDE requires automake 1.6.1 or newer" + exit 1 + ;; +- automake*1.6.* | automake*1.7* | automake*1.8.* | automake*1.9* ) : ;; ++ automake*1.6.* | automake*1.7* | automake*1.8.* | automake*1.9* | \ ++ automake*1.10* ) : ;; + "" ) + echo "*** AUTOMAKE NOT FOUND!." + echo "*** KDE requires automake 1.6.1 or newer" --- knmap-2.1.orig/debian/patches/series +++ knmap-2.1/debian/patches/series @@ -0,0 +1,5 @@ +00_autoconf2.6.diff +01_automake1.10.1.diff +02_fix_ld-flags.diff +03_no_encoding_in_desktop.diff +04_report_bugs.diff --- knmap-2.1.orig/debian/patches/04_report_bugs.diff +++ knmap-2.1/debian/patches/04_report_bugs.diff @@ -0,0 +1,12 @@ +## 01_automake1.10.1.diff by Ryan Kavanagh +## Description: Submit bugs to Debian instead of KDE. +--- a/src/main.cpp ++++ b/src/main.cpp +@@ -59,6 +59,7 @@ int main( int argc, string argv[]) + "Initial rewrite released as version 1.0\nVersions 2.0, 2.1", + "kev.gilbert@cdu.edu.au", + "http://informatics.cdu.edu.au/staff/kgilbert" ); ++ about.setBugAddress( "http://bugs.debian.org/" ); + KCmdLineArgs::init( argc, argv, &about ); + KCmdLineArgs::addCmdLineOptions( options ); + KApplication app; --- knmap-2.1.orig/debian/patches/02_fix_ld-flags.diff +++ knmap-2.1/debian/patches/02_fix_ld-flags.diff @@ -0,0 +1,13 @@ +## 02_fix_ld-flags.diff by Ryan Kavanagh +## Description: We don't need useless linking +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -30,7 +30,7 @@ knmap_SOURCES = main.cpp knmap.cpp mainw + profiledialog.cpp loggingoptions.cpp simpleoptions.cpp pandsoptions.cpp whatsthis.cpp \ + tabwidgetptrlist.cpp tabwidgetdata.cpp scanwidget.cpp indexwidget.cpp scannamedialog.cpp \ + scanstack.cpp scanmonitor.cpp scanmonitorevent.cpp nmapoutputbuffer.cpp +-knmap_LDFLAGS = $(KDE_RPATH) $(all_libraries) ++knmap_LDFLAGS = #$(KDE_RPATH) $(all_libraries) + knmap_LDADD = $(LIB_KIO) $(LIB_KHTML) + + # this is where the desktop file will go --- knmap-2.1.orig/debian/patches/03_no_encoding_in_desktop.diff +++ knmap-2.1/debian/patches/03_no_encoding_in_desktop.diff @@ -0,0 +1,10 @@ +## 03_text_files.diff by Ryan Kavanagh +## Description: Remove encoding tag +--- a/src/knmap.desktop ++++ b/src/knmap.desktop +@@ -1,5 +1,4 @@ + [Desktop Entry] +-Encoding=UTF-8 + Name=knmap + Name[xx]=xxknmapxx + Exec=knmap