[Python-modules-commits] r12732 - in packages/trunk/python-nids (14 files)
luciano at users.alioth.debian.org
luciano at users.alioth.debian.org
Sat Apr 24 20:41:33 UTC 2010
Date: Saturday, April 24, 2010 @ 20:41:32
Author: luciano
Revision: 12732
[svn-inject] Applying Debian modifications to trunk
Added:
packages/trunk/python-nids/debian/
packages/trunk/python-nids/debian/README.Debian
packages/trunk/python-nids/debian/README.source
packages/trunk/python-nids/debian/changelog
packages/trunk/python-nids/debian/compat
packages/trunk/python-nids/debian/control
packages/trunk/python-nids/debian/copyright
packages/trunk/python-nids/debian/docs
packages/trunk/python-nids/debian/patches/
packages/trunk/python-nids/debian/patches/00list
packages/trunk/python-nids/debian/patches/01_libnids.dpatch
packages/trunk/python-nids/debian/rules
packages/trunk/python-nids/debian/source/
packages/trunk/python-nids/debian/source/format
Property changes on: packages/trunk/python-nids/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: packages/trunk/python-nids/debian/README.Debian
===================================================================
--- packages/trunk/python-nids/debian/README.Debian (rev 0)
+++ packages/trunk/python-nids/debian/README.Debian 2010-04-24 20:41:32 UTC (rev 12732)
@@ -0,0 +1,10 @@
+pynids for Debian
+-----------------
+
+This pynids distribution is an updated version of Michael Pomraning's 0.5
+series. This new serie brings updates to the bundled version of libnids
+(from 1.19 to 1.23), checksum disabling support, and a variety of fixes.
+
+original pynids homepage: http://pilcrow.madison.wi.us/pynids/
+
+ -- Luciano Bello <luciano at debian.org> Thu, 22 Apr 2010 20:07:40 -0300
Added: packages/trunk/python-nids/debian/README.source
===================================================================
--- packages/trunk/python-nids/debian/README.source (rev 0)
+++ packages/trunk/python-nids/debian/README.source 2010-04-24 20:41:32 UTC (rev 12732)
@@ -0,0 +1,14 @@
+pynids for Debian
+-----------------
+
+This package uses dpatch to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in
+debian/patches and applied during the build. Please see:
+
+ /usr/share/doc/dpatch/README.source
+
+for more information on how to apply the patches, modify patches, or
+remove a patch.
+
+
+
Added: packages/trunk/python-nids/debian/changelog
===================================================================
--- packages/trunk/python-nids/debian/changelog (rev 0)
+++ packages/trunk/python-nids/debian/changelog 2010-04-24 20:41:32 UTC (rev 12732)
@@ -0,0 +1,5 @@
+python-nids (0.6-1) unstable; urgency=low
+
+ * Initial release (Closes: #507718)
+
+ -- Luciano Bello <luciano at debian.org> Thu, 22 Apr 2010 20:07:40 -0300
Added: packages/trunk/python-nids/debian/compat
===================================================================
--- packages/trunk/python-nids/debian/compat (rev 0)
+++ packages/trunk/python-nids/debian/compat 2010-04-24 20:41:32 UTC (rev 12732)
@@ -0,0 +1 @@
+7
Added: packages/trunk/python-nids/debian/control
===================================================================
--- packages/trunk/python-nids/debian/control (rev 0)
+++ packages/trunk/python-nids/debian/control 2010-04-24 20:41:32 UTC (rev 12732)
@@ -0,0 +1,18 @@
+Source: python-nids
+Section: python
+Priority: extra
+Maintainer: Luciano Bello <luciano at debian.org>
+Build-Depends: dpatch, debhelper (>= 7), python-support, python-all-dev, libpcap0.8-dev, libnids-dev, libnet1-dev, libglib2.0-dev
+Standards-Version: 3.8.4
+Homepage: http://jon.oberheide.org/pynids/
+XS-Python-Version: all
+
+Package: python-nids
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+XB-Python-Version: ${python:Versions}
+Description: Python binding for libnids (aka pynids)
+ This package is commonly known as pynids. It is a Python wrapper for the
+ libnids packet capture analysis library, a Network Intrusion Detection
+ System library offering sniffing, IP defragmentation, TCP stream
+ reassembly and TCP port scan detection.
Added: packages/trunk/python-nids/debian/copyright
===================================================================
--- packages/trunk/python-nids/debian/copyright (rev 0)
+++ packages/trunk/python-nids/debian/copyright 2010-04-24 20:41:32 UTC (rev 12732)
@@ -0,0 +1,43 @@
+This work was packaged for Debian by:
+
+ Luciano Bello <luciano at debian.org> on Thu, 22 Apr 2010 20:07:40 -0300
+
+It was downloaded from:
+
+ http://jon.oberheide.org/pynids/
+
+Upstream Author(s):
+
+ Jon Oberheide <jon at oberheide.org>
+
+Copyright:
+
+ Copyright (C) 2003, 2004, 2005 Michael J. Pomraning
+
+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 program. If not, see <http://www.gnu.org/licenses/>
+
+On Debian systems, the complete text of the GNU General
+Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+The Debian packaging is:
+
+ Copyright (C) 2010 Luciano Bello <luciano at debian.org>
+
+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.
+
Added: packages/trunk/python-nids/debian/docs
===================================================================
--- packages/trunk/python-nids/debian/docs (rev 0)
+++ packages/trunk/python-nids/debian/docs 2010-04-24 20:41:32 UTC (rev 12732)
@@ -0,0 +1 @@
+README
Added: packages/trunk/python-nids/debian/patches/00list
===================================================================
--- packages/trunk/python-nids/debian/patches/00list (rev 0)
+++ packages/trunk/python-nids/debian/patches/00list 2010-04-24 20:41:32 UTC (rev 12732)
@@ -0,0 +1 @@
+01_libnids.dpatch
Added: packages/trunk/python-nids/debian/patches/01_libnids.dpatch
===================================================================
--- packages/trunk/python-nids/debian/patches/01_libnids.dpatch (rev 0)
+++ packages/trunk/python-nids/debian/patches/01_libnids.dpatch 2010-04-24 20:41:32 UTC (rev 12732)
@@ -0,0 +1,27 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_libnids.dpatch by Luciano Bello <luciano at debian.org>
+##
+## DP: Use the libnids included in Debian and compile it dynamically
+
+ at DPATCH@
+diff -urNad pynids-0.6~/setup.py pynids-0.6/setup.py
+--- pynids-0.6~/setup.py 2010-04-22 22:02:59.000000000 -0300
++++ pynids-0.6/setup.py 2010-04-22 22:03:41.000000000 -0300
+@@ -25,7 +25,7 @@
+ NIDSDIR = BUILDDIR
+ include_dirs = [ pathjoin(NIDSDIR, 'src') ]
+ library_dirs = []
+- extra_objects = [ pathjoin(NIDSDIR, 'src', 'libnids.a') ]
++ extra_objects = [ '/usr/lib/libnids.a' ]
+
+ def buildNids(self):
+ # extremely crude package builder
+@@ -42,7 +42,7 @@
+ os.chdir('..')
+
+ def run(self):
+- self.buildNids()
++ # self.buildNids()
+ build.run(self)
+
+ INCLUDE_DIRS = nidsMaker.include_dirs + INCLUDE_DIRS
Property changes on: packages/trunk/python-nids/debian/patches/01_libnids.dpatch
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/trunk/python-nids/debian/rules
===================================================================
--- packages/trunk/python-nids/debian/rules (rev 0)
+++ packages/trunk/python-nids/debian/rules 2010-04-24 20:41:32 UTC (rev 12732)
@@ -0,0 +1,66 @@
+#!/usr/bin/make -f
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+include /usr/share/dpatch/dpatch.make
+
+PYVERS=$(shell pyversions -r)
+
+PACKAGE = python-nids
+PREFIX := debian/$(PACKAGE)/usr
+
+build: patch-stamp
+ for python in $(PYVERS); do \
+ $$python setup.py build; \
+ done
+
+clean: unpatch
+ dh_testdir
+
+ # Add here commands to clean up after the build process.
+ for python in $(PYVERS); do \
+ $$python setup.py clean; \
+ done
+
+ rm -f build-stamp
+ rm -rf build
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_installdirs
+
+ for python in $(PYVERS); do \
+ $$python setup.py install --prefix=/usr --skip-build --root=$(CURDIR)/debian/$(PACKAGE); \
+ done
+
+get-orig-source:
+ cd ..; wget http://jon.oberheide.org/pynids/downloads/pynids-0.6.tar.gz
+ tar zxf ../pynids-0.6.tar.gz
+ rm ../pynids-0.6.tar.gz
+ rm pynids-0.6/libnids-1.23.tar.gz
+ mv pynids-0.6 pynids-0.6.orig
+ tar -czf ../python-nids_0.6.orig.tar.gz pynids-0.6.orig
+ rm -fr pynids-0.6.orig
+
+binary-indep: build install
+
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs CHANGES
+ dh_installdocs README
+ dh_installexamples Example
+ dh_strip
+ dh_pysupport
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
Property changes on: packages/trunk/python-nids/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/trunk/python-nids/debian/source/format
===================================================================
--- packages/trunk/python-nids/debian/source/format (rev 0)
+++ packages/trunk/python-nids/debian/source/format 2010-04-24 20:41:32 UTC (rev 12732)
@@ -0,0 +1 @@
+1.0
More information about the Python-modules-commits
mailing list