[Python-modules-commits] r10143 - in packages/python-ethtool/trunk (9 files)
mezgani-guest at users.alioth.debian.org
mezgani-guest at users.alioth.debian.org
Tue Oct 20 00:42:09 UTC 2009
Date: Tuesday, October 20, 2009 @ 00:42:06
Author: mezgani-guest
Revision: 10143
[svn-inject] Applying Debian modifications to trunk
Added:
packages/python-ethtool/trunk/debian/
packages/python-ethtool/trunk/debian/README.source
packages/python-ethtool/trunk/debian/changelog
packages/python-ethtool/trunk/debian/compat
packages/python-ethtool/trunk/debian/control
packages/python-ethtool/trunk/debian/copyright
packages/python-ethtool/trunk/debian/rules
packages/python-ethtool/trunk/debian/watch
Modified:
packages/python-ethtool/trunk/python-ethtool/ethtool.c
Property changes on: packages/python-ethtool/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: packages/python-ethtool/trunk/debian/README.source
===================================================================
--- packages/python-ethtool/trunk/debian/README.source (rev 0)
+++ packages/python-ethtool/trunk/debian/README.source 2009-10-20 00:42:06 UTC (rev 10143)
@@ -0,0 +1,8 @@
+python-ethtool for Debian
+-------------------------
+
+Please to upgrade the Debian source package to a new upstream version:
+http://git.kernel.org/?p=linux/kernel/git/acme/python-ethtool.git
+
+ -- MEZGANI Ali <mezgani at linuxmail.org> Wed, 14 Oct 2009 21:04:48 +0000
+
Added: packages/python-ethtool/trunk/debian/changelog
===================================================================
--- packages/python-ethtool/trunk/debian/changelog (rev 0)
+++ packages/python-ethtool/trunk/debian/changelog 2009-10-20 00:42:06 UTC (rev 10143)
@@ -0,0 +1,5 @@
+python-ethtool (0.3-1) unstable; urgency=low
+
+ * Initial release for Debian (Closes: #549323)
+
+ -- MEZGANI Ali <mezgani at linuxmail.org> Wed, 14 Oct 2009 21:04:48 +0000
Added: packages/python-ethtool/trunk/debian/compat
===================================================================
--- packages/python-ethtool/trunk/debian/compat (rev 0)
+++ packages/python-ethtool/trunk/debian/compat 2009-10-20 00:42:06 UTC (rev 10143)
@@ -0,0 +1 @@
+7
Added: packages/python-ethtool/trunk/debian/control
===================================================================
--- packages/python-ethtool/trunk/debian/control (rev 0)
+++ packages/python-ethtool/trunk/debian/control 2009-10-20 00:42:06 UTC (rev 10143)
@@ -0,0 +1,17 @@
+Source: python-ethtool
+Section: python
+Priority: optional
+Maintainer: MEZGANI Ali <mezgani at linuxmail.org>
+Build-Depends: debhelper (>= 7), python-support, python-dev
+Standards-Version: 3.8.2
+Homepage: http://git.kernel.org/?p=linux/kernel/git/acme/python-ethtool.git
+XB-Python-Version: ${python:Versions}
+
+Package: python-ethtool
+Architecture: any
+Depends: python, ${python:Depends}, ${misc:Depends}, ${shlibs:Depends}
+Provides: ${python:Provides}
+Description: Ethernet settings Python bindings
+ allows querying and changing of ethernet card settings,
+ such as speed, port, autonegotiation, and PCI locations.
+
Added: packages/python-ethtool/trunk/debian/copyright
===================================================================
--- packages/python-ethtool/trunk/debian/copyright (rev 0)
+++ packages/python-ethtool/trunk/debian/copyright 2009-10-20 00:42:06 UTC (rev 10143)
@@ -0,0 +1,41 @@
+This package was debianized by:
+
+ MEZGANI Ali <mezgani at linuxmail.org> on Wed, 14 Oct 2009 21:04:48 +0000
+
+It was downloaded from:
+
+ <http://userweb.kernel.org/~acme/python-ethtool/>
+
+Upstream Authors:
+
+ Arnaldo Carvalho de Melo <acme at redhat.com>
+ Harald Hoyer <harald at redhat.com>
+
+Copyright:
+
+ <Copyright (C) 2007 Arnaldo Carvalho de Melo>
+ <Copyright (C) 2007 Harald Hoyer>
+
+License:
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License version 2
+ as published by the Free Software Foundation.
+
+ 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) 2009 MEZGANI Ali <mezgani at linuxmail.org>
+
+and is licensed under the GPL version 3, see above.
+
Added: packages/python-ethtool/trunk/debian/rules
===================================================================
--- packages/python-ethtool/trunk/debian/rules (rev 0)
+++ packages/python-ethtool/trunk/debian/rules 2009-10-20 00:42:06 UTC (rev 10143)
@@ -0,0 +1,74 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PYVERS := $(shell pyversions -vs)
+
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+ for py in $(PYVERS); do \
+ python$$py setup.py clean; \
+ done
+
+ rm -f $(CURDIR)/debian/python-ethtool/usr/lib/python*/site-packages/ethtool.*
+ rm -f $(CURDIR)/debian/python-ethtool/usr/lib/python*/site-packages/ethtool-*.egg-info
+ rm -rf build
+ find . -name \ethtool.so -exec rm {} \;
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+
+ python setup.py install --root=$(CURDIR)/debian/python-ethtool
+
+
+
+binary-arch: install
+
+binary-indep: install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+ dh_installman
+ dh_link
+ dh_strip
+ 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 configure
+
Property changes on: packages/python-ethtool/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/python-ethtool/trunk/debian/watch
===================================================================
--- packages/python-ethtool/trunk/debian/watch (rev 0)
+++ packages/python-ethtool/trunk/debian/watch 2009-10-20 00:42:06 UTC (rev 10143)
@@ -0,0 +1,2 @@
+version=3
+http://userweb.kernel.org/~acme/python-ethtool/python-ethtool-(.*)\.tar\.bz2
Modified: packages/python-ethtool/trunk/python-ethtool/ethtool.c
===================================================================
--- packages/python-ethtool/trunk/python-ethtool/ethtool.c 2009-10-20 00:41:55 UTC (rev 10142)
+++ packages/python-ethtool/trunk/python-ethtool/ethtool.c 2009-10-20 00:42:06 UTC (rev 10143)
@@ -26,6 +26,10 @@
#include <sys/ioctl.h>
#include <sys/types.h>
+#ifndef IFF_DYNAMIC
+#define IFF_DYNAMIC 0x8000 /* dialup device with changing addresses*/
+#endif
+
typedef unsigned long long u64;
typedef __uint32_t u32;
typedef __uint16_t u16;
More information about the Python-modules-commits
mailing list