[kernel] r6961 - in people/waldi/linux-latest-2.6: . debian
debian/templates
Bastian Blank
waldi at costa.debian.org
Sat Jul 8 10:39:48 UTC 2006
Author: waldi
Date: Sat Jul 8 10:39:46 2006
New Revision: 6961
Added:
people/waldi/linux-latest-2.6/
people/waldi/linux-latest-2.6/debian/
people/waldi/linux-latest-2.6/debian/bin/
people/waldi/linux-latest-2.6/debian/bin/gencontrol.py (contents, props changed)
people/waldi/linux-latest-2.6/debian/changelog
people/waldi/linux-latest-2.6/debian/compat
people/waldi/linux-latest-2.6/debian/copyright
people/waldi/linux-latest-2.6/debian/rules (contents, props changed)
people/waldi/linux-latest-2.6/debian/rules.defs
people/waldi/linux-latest-2.6/debian/rules.real
people/waldi/linux-latest-2.6/debian/templates/
people/waldi/linux-latest-2.6/debian/templates/control.headers.latest.in
- copied, changed from r6243, /people/waldi/linux-2.6/debian/templates/control.headers.latest.in
people/waldi/linux-latest-2.6/debian/templates/control.image.latest.in
- copied, changed from r6005, /people/waldi/linux-2.6/debian/templates/control.image.latest.in
people/waldi/linux-latest-2.6/debian/templates/control.source.in
Log:
/people/waldi/linux-latest-2.6: Add.
Added: people/waldi/linux-latest-2.6/debian/bin/gencontrol.py
==============================================================================
--- (empty file)
+++ people/waldi/linux-latest-2.6/debian/bin/gencontrol.py Sat Jul 8 10:39:46 2006
@@ -0,0 +1,42 @@
+#!/usr/bin/env python2.4
+import sys
+sys.path.append(sys.argv[1]+ "/lib/python")
+import debian_linux.gencontrol
+from debian_linux.config import *
+from debian_linux.debian import *
+
+class gencontrol(debian_linux.gencontrol.gencontrol):
+ def __init__(self, config):
+ super(gencontrol, self).__init__(config)
+ self.process_config_version(config_parser({}, [sys.argv[1] + "/version"]))
+
+ def do_flavour_packages(self, packages, makefile, arch, subarch, flavour, vars, makeflags, extra):
+ image_latest = self.templates["control.image.latest"]
+ headers_latest = self.templates["control.headers.latest"]
+
+ packages_dummy = []
+ packages_dummy.extend(self.process_packages(image_latest, vars))
+
+ for package in packages_dummy:
+ name = package['Package']
+ if packages.has_key(name):
+ package = packages.get(name)
+ package['Architecture'].append(arch)
+ else:
+ package['Architecture'] = [arch]
+ packages.append(package)
+
+ makeflags_string = ' '.join(["%s='%s'" % i for i in makeflags.iteritems()])
+
+ cmds_binary_arch = []
+ cmds_binary_arch.append(("$(MAKE) -f debian/rules.real install-dummy DH_OPTIONS='%s' %s" % (' '.join(["-p%s" % i['Package'] for i in packages_dummy]), makeflags_string),))
+ makefile.append(("binary-arch-%s-%s-%s-real:" % (arch, subarch, flavour), cmds_binary_arch))
+ makefile.append(("build-%s-%s-%s-real:" % (arch, subarch, flavour)))
+
+ def process_config_version(self, config):
+ entry = config['version',]
+ self.process_version(parse_version(entry['source']))
+ self.vars['abiname'] = self.abiname = entry['abiname']
+
+if __name__ == '__main__':
+ gencontrol(sys.argv[1] + "/arch")()
Added: people/waldi/linux-latest-2.6/debian/changelog
==============================================================================
--- (empty file)
+++ people/waldi/linux-latest-2.6/debian/changelog Sat Jul 8 10:39:46 2006
@@ -0,0 +1,5 @@
+linux-latest-2.6 (2.6.16-16) UNRELEASED; urgency=low
+
+ * Initial release.
+
+ -- Bastian Blank <waldi at debian.org> Sat, 8 Jul 2006 12:17:16 +0200
Added: people/waldi/linux-latest-2.6/debian/compat
==============================================================================
--- (empty file)
+++ people/waldi/linux-latest-2.6/debian/compat Sat Jul 8 10:39:46 2006
@@ -0,0 +1 @@
+4
Added: people/waldi/linux-latest-2.6/debian/copyright
==============================================================================
--- (empty file)
+++ people/waldi/linux-latest-2.6/debian/copyright Sat Jul 8 10:39:46 2006
@@ -0,0 +1,21 @@
+The Debian packaging is (C) 2006, Bastian Blank <waldi at debian.org> and
+is licensed under the GPL.
+
+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'.
Added: people/waldi/linux-latest-2.6/debian/rules
==============================================================================
--- (empty file)
+++ people/waldi/linux-latest-2.6/debian/rules Sat Jul 8 10:39:46 2006
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+SHELL := sh -e
+
+include debian/rules.defs
+include /usr/src/linux-support-$(KERNELVERSION)/modules/rules.include
+
+GENCONTROL = debian/bin/gencontrol.py /usr/src/linux-support-$(KERNELVERSION)
+
+maintainerclean:
+ -rm debian/control debian/control.md5sum debian/rules.gen
+
Added: people/waldi/linux-latest-2.6/debian/rules.defs
==============================================================================
--- (empty file)
+++ people/waldi/linux-latest-2.6/debian/rules.defs Sat Jul 8 10:39:46 2006
@@ -0,0 +1 @@
+KERNELVERSION := 2.6.16-2
Added: people/waldi/linux-latest-2.6/debian/rules.real
==============================================================================
--- (empty file)
+++ people/waldi/linux-latest-2.6/debian/rules.real Sat Jul 8 10:39:46 2006
@@ -0,0 +1,34 @@
+#
+# This Makefile executes the unpack/build/binary targets for a single
+# subarch, which is passed in the subarch variable. Empty subarch
+# variable means that we are building for an arch without the subarch.
+# Additionally, variables version, abiname and ltver are
+# expected to be available (need to be exported from the parent process).
+#
+SHELL := bash -e
+DEB_HOST_ARCH := $(shell dpkg-architecture -a'$(ARCH)' -qDEB_HOST_ARCH)
+DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -a'$(ARCH)' -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_ARCH := $(shell dpkg-architecture -a'$(ARCH)' -qDEB_BUILD_ARCH)
+
+export DH_OPTIONS
+export DEB_HOST_ARCH
+
+include debian/rules.defs
+
+binary-indep:
+
+install-base:
+ dh_installchangelogs
+ dh_installdocs
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol -- $(GENCONTROL_ARGS)
+ dh_md5sums
+ dh_builddeb
+
+install-dummy:
+ dh_testdir
+ dh_testroot
+ dh_clean -d -k
+ $(MAKE) -f debian/rules.real install-base
Copied: people/waldi/linux-latest-2.6/debian/templates/control.headers.latest.in (from r6243, /people/waldi/linux-2.6/debian/templates/control.headers.latest.in)
==============================================================================
--- /people/waldi/linux-2.6/debian/templates/control.headers.latest.in (original)
+++ people/waldi/linux-latest-2.6/debian/templates/control.headers.latest.in Sat Jul 8 10:39:46 2006
@@ -1,7 +1,7 @@
Package: linux-headers- at major@@localversion@
Section: devel
Priority: optional
-Depends: linux-headers- at upstreamversion@@abiname@@localversion@ (= ${Source-Version})
+Depends: linux-headers- at upstreamversion@@abiname@@localversion@
Provides: linux-headers, linux-headers- at major@
Description: Header files for Linux kernel @major@ on @class@ machines
This package depends on the architecture-specific header files for the latest
Copied: people/waldi/linux-latest-2.6/debian/templates/control.image.latest.in (from r6005, /people/waldi/linux-2.6/debian/templates/control.image.latest.in)
==============================================================================
--- /people/waldi/linux-2.6/debian/templates/control.image.latest.in (original)
+++ people/waldi/linux-latest-2.6/debian/templates/control.image.latest.in Sat Jul 8 10:39:46 2006
@@ -1,7 +1,7 @@
Package: linux-image at localversion@
Section: base
Priority: optional
-Depends: linux-image- at major@@localversion@ (= ${Source-Version})
+Depends: linux-image- at major@@localversion@
Description: Linux kernel image on @class@ machines
This package depends on the latest binary image for Linux kernel on
@longclass@ machines.
@@ -9,7 +9,7 @@
Package: linux-image- at major@@localversion@
Section: base
Priority: optional
-Depends: linux-image- at upstreamversion@@abiname@@localversion@ (= ${Source-Version})
+Depends: linux-image- at upstreamversion@@abiname@@localversion@
Description: Linux kernel @major@ image on @class@ machines
This package depends on the latest binary image for Linux kernel @major@
on @longclass@ machines.
Added: people/waldi/linux-latest-2.6/debian/templates/control.source.in
==============================================================================
--- (empty file)
+++ people/waldi/linux-latest-2.6/debian/templates/control.source.in Sat Jul 8 10:39:46 2006
@@ -0,0 +1,7 @@
+Source: linux-latest- at major@
+Section: devel
+Priority: optional
+Maintainer: Debian Kernel Team <debian-kernel at lists.debian.org>
+Uploaders: Bastian Blank <waldi at debian.org>
+Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 4.1.0)
More information about the Kernel-svn-changes
mailing list