[Python-modules-commits] [impacket] 05/10: Import changes from Kali. Thanks to Raphaël Hertzog and Sophie Brun.

Arnaud Fontaine arnau at moszumanska.debian.org
Thu Dec 1 06:44:58 UTC 2016


This is an automated email from the git hooks/post-receive script.

arnau pushed a commit to branch master
in repository impacket.

commit dc2ea41e0b3ab92f1fbbe90b5b2d16ebee75e5fe
Author: Arnaud Fontaine <arnau at debian.org>
Date:   Thu Dec 1 15:00:32 2016 +0900

    Import changes from Kali. Thanks to Raphaël Hertzog and Sophie Brun.
---
 debian/changelog |  41 ++++++++++++++++--
 debian/compat    |   2 +-
 debian/control   |  16 +++----
 debian/copyright | 130 ++++++++++++++++++++++++++++++++-----------------------
 debian/install   |   1 +
 debian/links     |   5 +++
 debian/rules     |   7 +--
 debian/script    |   6 +++
 debian/watch     |   4 +-
 9 files changed, 140 insertions(+), 72 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 15e4882..800331b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,37 @@
-impacket (0.9.12-2) UNRELEASED; urgency=medium
+impacket (0.9.15-1) UNRELEASED; urgency=medium
 
-  * Fixed VCS URL (https)
+  [ Arnaud Fontaine ]
+  * New upstream release.
+  * Import changes from Kali. Thanks to Raphaël Hertzog and Sophie Brun.
+
+  [ Ondřej Nový ]
+  * d/control: Fixed VCS URL (https).
+
+ -- Arnaud Fontaine <arnau at debian.org>  Thu, 01 Dec 2016 14:42:26 +0900
+
+impacket (0.9.15-0kali2) kali-dev; urgency=medium
+
+  * Import new upstream release
+  * Update the packaging to use debhelper 9
+  * Add symlinks to have important examples in /usr/bin/: impacket-wmiexec,
+    impacket-netview, impacket-rpcdump, impacket-secretsdump,
+    impacket-samrdump (closes 3381).
+
+ -- Sophie Brun <sophie at freexian.com>  Mon, 19 Sep 2016 15:46:31 +0200
+
+impacket (0.9.13-0kali1) kali-dev; urgency=medium
 
- -- Ondřej Nový <novy at ondrej.org>  Tue, 29 Mar 2016 21:39:35 +0200
+  * New upstream release.
+  * Add Depends on python-pyasn1 (>= 0.1.7).
+  * Refresh 00_setup.patch.
+
+ -- Raphaël Hertzog <hertzog at debian.org>  Fri, 14 Aug 2015 13:53:42 +0200
+
+impacket (0.9.12-1~0kali1) kali; urgency=medium
+
+  * Import new version from debian
+
+ -- Sophie Brun <sophie at freexian.com>  Mon, 04 May 2015 16:25:17 +0200
 
 impacket (0.9.12-1) unstable; urgency=medium
 
@@ -48,6 +77,12 @@ impacket (0.9.10-1) unstable; urgency=low
 
  -- Arnaud Fontaine <arnau at debian.org>  Mon, 27 May 2013 18:02:01 +0900
 
+impacket (0.9.9.9-1kali0) kali; urgency=low
+
+  * Imported new upstream version
+
+ -- Devon Kearns <dookie at kali.org>  Sat, 09 Feb 2013 16:59:01 -0700
+
 impacket (0.9.6.0-3) unstable; urgency=low
 
   [ Arnaud Fontaine ]
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+9
diff --git a/debian/control b/debian/control
index 0dc2b07..fbd6771 100644
--- a/debian/control
+++ b/debian/control
@@ -3,19 +3,17 @@ Section: python
 Priority: optional
 Maintainer: Arnaud Fontaine <arnau at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5.0.37.2),
-	       cdbs (>= 0.4.90~),
-	       python-all (>= 2.6.6-3~)
-Standards-Version: 3.9.6
-X-Python-Version: >= 2.3
-Homepage: http://code.google.com/p/impacket/
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/impacket.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/impacket.git
+Build-Depends: debhelper (>= 9),
+               python-all,
+               dh-python,
+Standards-Version: 3.9.8
+Homepage: https://github.com/CoreSecurity/impacket
 
 Package: python-impacket
 Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, python-crypto (>= 2.6)
-Recommends: python-pcapy
+Depends: ${python:Depends}, ${misc:Depends}
 Description: Python module to easily build and dissect network protocols
  Impacket  is a  collection  of Python  classes  focused on  providing
  access  to network  packets.   Impacket allows  Python developers  to
@@ -25,6 +23,6 @@ Description: Python module to easily build and dissect network protocols
  .
  Impacket is highly  effective when used in conjunction  with a packet
  capture utility or package such as Pcapy.  Packets can be constructed
- From  scratch, as  well as  parsed from  raw data.   Furthermore, the
+ from  scratch, as  well as  parsed from  raw data.   Furthermore, the
  object  oriented API  makes  it  simple to  work  with deep  protocol
  hierarchies.
diff --git a/debian/copyright b/debian/copyright
index d66884e..6e73e92 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,57 +1,79 @@
-This package was debianized by Arnaud Fontaine <arnau at debian.org> on
-Tue, 11 Apr 2006 15:51:41 +0200.
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: impacket
+Source: https://github.com/CoreSecurity/impacket
 
-It was downloaded from http://code.google.com/p/impacket/downloads/list
+Files: *
+Copyright: 2003-2016 CORE Security Technologies
+License: Apache
+ Copyright (c) 2000 The Apache Software Foundation.  All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in
+    the documentation and/or other materials provided with the
+    distribution.
+ .
+ 3. The end-user documentation included with the redistribution,
+    if any, must include the following acknowledgment:
+       "This product includes software developed by
+        CORE Security Technologies (http://www.coresecurity.com/)."
+    Alternately, this acknowledgment may appear in the software itself,
+    if and wherever such third-party acknowledgments normally appear.
+ .
+ 4. The names "Impacket" and "CORE Security Technologies" must
+    not be used to endorse or promote products derived from this
+    software without prior written permission. For written
+    permission, please contact oss at coresecurity.com.
+ .
+ 5. Products derived from this software may not be called "Impacket",
+    nor may "Impacket" appear in their name, without prior written
+    permission of CORE Security Technologies.
+ .
+ THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
 
-Copyright: Copyright (c) 2003-2012 CORE Security Technologies
+Files: impacket/smb.py impacket/nmb.py
+Copyright: 2003-2016 CORE Security Technologies
+           2001 Michael Teo <michaelteo at bigfoot.com>
+License: other
+ This software is provided 'as-is', without any express or implied
+ warranty.  In no event will the author be held liable for any damages
+ arising from the use of this software.
+ .
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+ .
+ 1. The origin of this software must not be misrepresented; you must
+    not claim that you wrote the original software. If you use this
+    software in a product, an acknowledgment in the product
+    documentation would be appreciated but is not required.
+ .
+ 2. Altered source versions must be plainly marked as such, and must
+    not be misrepresented as being the original software.
+ .
+ 3. This notice cannot be removed or altered from any source
+    distribution.
 
-   Copyright (c) 2000-2013 The Apache Software Foundation.  All rights
-   reserved.
-
-   Redistribution and use in source  and binary forms, with or without
-   modification, are permitted  provided that the following conditions
-   are met:
-
-       1. Redistributions  of  source   code  must  retain  the  above
-          copyright notice, this list  of conditions and the following
-          disclaimer.
-
-       2. Redistributions  in  binary form  must  reproduce the  above
-          copyright notice, this list  of conditions and the following
-          disclaimer  in  the  documentation  and/or  other  materials
-          provided with the distribution.
-
-       3. The end-user documentation included with the redistribution,
-          if  any, must  include the  following  acknowledgment: "This
-          product  includes   software  developed  by   CORE  Security
-          Technologies  (http://www.coresecurity.com/)."  Alternately,
-          this acknowledgment  may appear  in the software  itself, if
-          and  wherever   such  third-party  acknowledgments  normally
-          appear.
-
-       4. The names  "Impacket" and "CORE  Security Technologies" must
-          not be used to endorse or promote products derived from this
-          software  without  prior  written permission.   For  written
-          permission, please contact oss at coresecurity.com.
-
-       5. Products  derived  from  this  software may  not  be  called
-          "Impacket", nor may "Impacket" appear in their name, without
-          prior written permission of CORE Security Technologies.
-
-   THIS SOFTWARE  IS PROVIDED ``AS  IS'' AND ANY EXPRESSED  OR IMPLIED
-   WARRANTIES, INCLUDING,  BUT NOT LIMITED TO,  THE IMPLIED WARRANTIES
-   OF  MERCHANTABILITY  AND  FITNESS  FOR  A  PARTICULAR  PURPOSE  ARE
-   DISCLAIMED.  IN  NO EVENT SHALL  THE APACHE SOFTWARE  FOUNDATION OR
-   ITS CONTRIBUTORS  BE LIABLE  FOR ANY DIRECT,  INDIRECT, INCIDENTAL,
-   SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL  DAMAGES (INCLUDING,  BUT NOT
-   LIMITED TO,  PROCUREMENT OF SUBSTITUTE  GOODS OR SERVICES;  LOSS OF
-   USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-   ON ANY THEORY OF  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-   OR TORT (INCLUDING NEGLIGENCE OR  OTHERWISE) ARISING IN ANY WAY OUT
-   OF THE USE OF THIS SOFTWARE,  EVEN IF ADVISED OF THE POSSIBILITY OF
-   SUCH DAMAGE.
-
-The   Debian    packaging   is   (C)    2006-2013,   Arnaud   Fontaine
-<arnau at debian.org> and is licensed  under the GPL.  On Debian systems,
-the complete  text of the GNU  General Public License can  be found in
-`/usr/share/common-licenses/GPL'.
+Files: debian/*
+Copyright: 2006-2016 Arnaud Fontaine <arnau at debian.org>
+           2016 Sophie Brun <sophie at freexian.com>
+License: GPL
+ On Debian systems, the complete  text of the GNU  General Public License can
+ be found in `/usr/share/common-licenses/GPL'.
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..83836e7
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+debian/script usr/share/impacket
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..fba57f0
--- /dev/null
+++ b/debian/links
@@ -0,0 +1,5 @@
+usr/share/impacket/script usr/bin/impacket-wmiexec
+usr/share/impacket/script usr/bin/impacket-netview
+usr/share/impacket/script usr/bin/impacket-rpcdump
+usr/share/impacket/script usr/bin/impacket-secretsdump
+usr/share/impacket/script usr/bin/impacket-samrdump
diff --git a/debian/rules b/debian/rules
index 08d7226..e9c23dc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,9 @@
 #!/usr/bin/make -f
 # -*- mode: makefile; coding: utf-8 -*-
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
+%:
+	dh $@ --with python2 --buildsystem=pybuild
 
 # Don't compress .py file
-DEB_COMPRESS_EXCLUDE := .py
+override_dh_compress:
+	dh_compress -X.py
diff --git a/debian/script b/debian/script
new file mode 100755
index 0000000..85a099d
--- /dev/null
+++ b/debian/script
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+name_script=$(basename $0)
+example_name=${name_script##impacket-}
+
+exec python /usr/share/doc/python-impacket/examples/$example_name.py "$@"
diff --git a/debian/watch b/debian/watch
index 2b451c5..1be40f4 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
 version=3
-opts="dversionmangle=s/\+.*//" \
-  http://pypi.python.org/packages/source/i/impacket/impacket-([\d.]*)\.tar\.gz
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+http://pypi.debian.net/impacket/impacket-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/impacket.git



More information about the Python-modules-commits mailing list