[kernel] r5542 - in dists/trunk/modules/fusion: . debian
Sven Luther
luther at costa.debian.org
Sat Jan 21 13:16:20 UTC 2006
Author: luther
Date: Sat Jan 21 13:16:16 2006
New Revision: 5542
Added:
dists/trunk/modules/fusion/
dists/trunk/modules/fusion/debian/
dists/trunk/modules/fusion/debian/README.Debian
dists/trunk/modules/fusion/debian/changelog
dists/trunk/modules/fusion/debian/compat
dists/trunk/modules/fusion/debian/control
dists/trunk/modules/fusion/debian/control.modules.in
dists/trunk/modules/fusion/debian/copyright
dists/trunk/modules/fusion/debian/dirs
dists/trunk/modules/fusion/debian/docs
dists/trunk/modules/fusion/debian/rules (contents, props changed)
dists/trunk/modules/fusion/linux-fusion-1.1.orig.tar.gz (contents, props changed)
Log:
Added linux-fusion module, which will be used for the graphical installer, and as a play ground for the out-of-tree module stuff.
Added: dists/trunk/modules/fusion/debian/README.Debian
==============================================================================
--- (empty file)
+++ dists/trunk/modules/fusion/debian/README.Debian Sat Jan 21 13:16:16 2006
@@ -0,0 +1,23 @@
+linux-fusion for Debian
+-----------------------
+
+Please see ./README for a description of the linux-fusion software.
+
+The Debian linux-fusion source package provides two packages,
+
+ 1) linux-fusion, which the provides the userspace daemon
+ 2) linux-fusion-source, which provides the source for the kernel modules
+
+The linux-fusion-source package can be used in several ways,
+
+ - Using the make-kpkg(1) command provided by the kernel-package Debian
+ package. This will produce a corresponding linux-fusion-modules package for
+ the Debian kernel-image package that you are using. This is "the Debian
+ way". See the "modules_image" section of the make-kpkg(1) man page.
+
+ - Changing to the /usr/src/modules/linux-fusion/ directory and building as
+ the README file instructs using "make; make install". This will build
+ and install a module specific to the system you are building on and is
+ not under control of the packaging system.
+
+ -- Sven Luther <luther at debian.org>, Sat, 21 Jan 2006 13:02:10 +0000
Added: dists/trunk/modules/fusion/debian/changelog
==============================================================================
--- (empty file)
+++ dists/trunk/modules/fusion/debian/changelog Sat Jan 21 13:16:16 2006
@@ -0,0 +1,6 @@
+linux-fusion (1.1-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Sven Luther <luther at debian.org> Sat, 21 Jan 2006 13:02:10 +0000
+
Added: dists/trunk/modules/fusion/debian/compat
==============================================================================
--- (empty file)
+++ dists/trunk/modules/fusion/debian/compat Sat Jan 21 13:16:16 2006
@@ -0,0 +1 @@
+4
Added: dists/trunk/modules/fusion/debian/control
==============================================================================
--- (empty file)
+++ dists/trunk/modules/fusion/debian/control Sat Jan 21 13:16:16 2006
@@ -0,0 +1,19 @@
+Source: linux-fusion
+Section: devel
+Priority: optional
+Maintainer: Sven Luther <luther at debian.org>
+Build-Depends: debhelper (>= 4.0.0)
+Standards-Version: 3.6.2
+
+Package: linux-fusion
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: <insert up to 60 chars description> <insert long description, indented with spaces>
+
+Package: linux-fusion-source
+Architecture: all
+Depends: module-assistant, debhelper (>>4.0.0), make, bzip2
+Description: Source for the linux-fusion driver.
+ This package provides the source code for the linux-fusion kernel modules.
+ The linux-fusion package is also required in order to make use of these
+ modules. Kernel source or headers are required to compile these modules.
Added: dists/trunk/modules/fusion/debian/control.modules.in
==============================================================================
--- (empty file)
+++ dists/trunk/modules/fusion/debian/control.modules.in Sat Jan 21 13:16:16 2006
@@ -0,0 +1,20 @@
+Source: linux-fusion
+Section: devel
+Priority: optional
+Maintainer: Sven Luther <luther at debian.org>
+Build-Depends: debhelper (>> 4.0.0)
+Standards-Version: 3.6.2
+
+Package: linux-fusion-modules-_KVERS_
+Architecture: any
+Provides: linux-fusion-modules
+Description: linux-fusion modules for Linux (kernel _KVERS_).
+ This package contains the set of loadable kernel modules for the
+ fusion message pasing system used by DirectFB.
+ .
+ This package contains the compiled kernel modules for _KVERS_
+ .
+ If you have compiled your own kernel, you will most likely need to build
+ your own linux-fusion-modules. The linux-fusion-source package has been
+ provided for use with the Debian's module-assistant or kernel-package
+ utilities to produce a version of linux-fusion-module for your kernel.
Added: dists/trunk/modules/fusion/debian/copyright
==============================================================================
--- (empty file)
+++ dists/trunk/modules/fusion/debian/copyright Sat Jan 21 13:16:16 2006
@@ -0,0 +1,26 @@
+This package was debianized by Sven Luther <luther at debian.org> on
+Sat, 21 Jan 2006 13:02:10 +0000.
+
+It was downloaded from http://www.directfb.org
+
+Copyright Holder: Denis Oliver Kropp <dok at directfb.org>
+
+License:
+
+ This program 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 program 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, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+See /usr/share/common-licenses/GPL on your Debian system for the full
+license.
+
Added: dists/trunk/modules/fusion/debian/dirs
==============================================================================
--- (empty file)
+++ dists/trunk/modules/fusion/debian/dirs Sat Jan 21 13:16:16 2006
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
Added: dists/trunk/modules/fusion/debian/docs
==============================================================================
--- (empty file)
+++ dists/trunk/modules/fusion/debian/docs Sat Jan 21 13:16:16 2006
@@ -0,0 +1,2 @@
+README
+TODO
Added: dists/trunk/modules/fusion/debian/rules
==============================================================================
--- (empty file)
+++ dists/trunk/modules/fusion/debian/rules Sat Jan 21 13:16:16 2006
@@ -0,0 +1,224 @@
+#!/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.
+#
+# This version is for a hypothetical package that can build a kernel modules
+# architecture-dependant package via make-kpkg, as well as an
+# architecture-independent module source package, and other packages
+# either dep/indep for things like common files or userspace components
+# needed for the kernel modules.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+# some default definitions, important!
+#
+# Name of the source package
+psource:=linux-fusion-source
+
+# The short upstream name, used for the module source directory
+sname:=linux-fusion
+
+### KERNEL SETUP
+### Setup the stuff needed for making kernel module packages
+### taken from /usr/share/kernel-package/sample.module.rules
+
+# prefix of the target package name
+PACKAGE=linux-fusion-modules
+# modifieable for experiments or debugging m-a
+MA_DIR ?= /usr/share/modass
+# load generic variable handling
+-include $(MA_DIR)/include/generic.make
+# load default rules, including kdist, kdist_image, ...
+-include $(MA_DIR)/include/common-rules.make
+
+# module assistant calculates all needed things for us and sets
+# following variables:
+# KSRC (kernel source directory), KVERS (kernel version string), KDREV
+# (revision of the Debian kernel-image package), CC (the correct
+# compiler), VERSION (the final package version string), PKGNAME (full
+# package name with KVERS included), DEB_DESTDIR (path to store DEBs)
+
+# The kdist_configure target is called by make-kpkg modules_config and
+# by kdist* rules by dependency. It should configure the module so it is
+# ready for compilation (mostly useful for calling configure).
+# prep-deb-files from module-assistant creates the neccessary debian/ files
+kdist_config: prep-deb-files
+
+# the kdist_clean target is called by make-kpkg modules_clean and from
+# kdist* rules. It is responsible for cleaning up any changes that have
+# been made by the other kdist_commands (except for the .deb files created)
+kdist_clean: clean
+ $(MAKE) $(MFLAGS) -f debian/rules clean
+# rm -f driver/*.o driver/*.ko
+#
+### end KERNEL SETUP
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+
+ touch configure-stamp
+
+
+build-arch: configure-stamp build-arch-stamp
+build-arch-stamp:
+ dh_testdir
+
+ # Add here command to compile/build the package.
+ $(MAKE)
+
+ touch build-arch-stamp
+
+#k = $(shell echo $(KVERS) | grep -q ^2.6 && echo k)
+
+# the binary-modules rule is invoked by module-assistant while processing the
+# kdist* targets. It is called by module-assistant or make-kpkg and *not*
+# during a normal build
+binary-modules:
+ dh_testroot
+ dh_clean -k
+ dh_installdirs lib/modules/$(KVERS)/misc
+
+ # Build the module
+ $(MAKE) -C drivers KERNEL_DIR=$(KSRC) KVERS=$(KVERS)
+
+ # Install the module
+ cp drivers/slusb.$ko drivers/slamr.$ko debian/$(PKGNAME)/lib/modules/$(KVERS)/misc
+
+ dh_installdocs
+ dh_installchangelogs
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol -- -v$(VERSION)
+ dh_md5sums
+ dh_builddeb --destdir=$(DEB_DESTDIR)
+ dh_clean -k
+
+build-indep: configure-stamp build-indep-stamp
+build-indep-stamp:
+ dh_testdir
+
+ # Add here command to compile/build the arch indep package.
+ # It's ok not to do anything here, if you don't need to build
+ # anything for this package.
+ #docbook-to-man debian/linux-fusion.sgml > linux-fusion.1
+
+ touch build-indep-stamp
+
+build: build-arch build-indep
+
+clean:
+ dh_testdir
+ #dh_testroot
+ rm -f build-arch-stamp build-indep-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ -$(MAKE) clean
+
+ dh_clean
+
+install: DH_OPTIONS=
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Create the directories to install the source into
+ dh_installdirs -p$(psource) usr/src/modules/$(sname)/debian
+
+ # Copy only the driver source to the proper location
+ cp -s driver/* debian/$(psource)/usr/src/modules/$(package)
+ # Copy the needed debian/ pieces to the proper location
+ cp debian/*modules.in* \
+ debian/$(psource)/usr/src/modules/$(package)/debian
+ cp debian/*_KVERS_* debian/rules debian/changelog debian/copyright \
+ debian/$(psource)/usr/src/modules/$(package)/debian/
+ cd debian/$(psource)/usr/src && tar c modules | bzip2 -9 > $(sname).tar.bz2 && rm -rf modules
+
+ # Add here commands to install the package into debian/linux-fusion.
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/linux-fusion
+
+ dh_install
+
+# Build architecture-independent files here.
+# Pass -i to all debhelper commands in this target to reduce clutter.
+binary-indep: build install
+ dh_testdir -i
+ dh_testroot -i
+ dh_installchangelogs ChangeLog -i
+ dh_installdocs -i
+ dh_installexamples -i
+# dh_install -i
+# dh_installmenu -i
+# dh_installdebconf -i
+# dh_installlogrotate -i
+# dh_installemacsen -i
+# dh_installpam -i
+# dh_installmime -i
+# dh_installinit -i
+# dh_installcron -i
+# dh_installinfo -i
+ dh_installman -i
+ dh_link -i
+ dh_compress -i
+ dh_fixperms -i
+ dh_installdeb -i
+# dh_perl -i
+# dh_python -i
+# dh_makeshlibs -i
+ dh_installdeb -i
+ dh_shlibdeps -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir -s
+ dh_testroot -s
+# dh_installdebconf -s
+ dh_installdocs -s
+ dh_installexamples -s
+ dh_installmenu -s
+# dh_installlogrotate -s
+# dh_installemacsen -s
+# dh_installpam -s
+# dh_installmime -s
+# dh_installinit -s
+ dh_installcron -s
+# dh_installman -s
+ dh_installinfo -s
+ dh_installchangelogs ChangeLog -s
+ dh_strip -s
+ dh_link -s
+ dh_compress -s
+ dh_fixperms -s
+# dh_makeshlibs -s
+ dh_installdeb -s
+# dh_perl -s
+ dh_shlibdeps -s
+ dh_gencontrol -s
+ dh_md5sums -s
+ dh_builddeb -s
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure binary-modules kdist kdist_config kdist_image kdist_clean
Added: dists/trunk/modules/fusion/linux-fusion-1.1.orig.tar.gz
==============================================================================
Binary file. No diff available.
More information about the Kernel-svn-changes
mailing list