Package: linux-modules-extra-2.6
Severity: wishlist

Please add mol to linux-modules-extra-2.6. I've prepared the attached
patch. I needed to change gencontrol.py so that you can filter by
flavour.

gaudenz


-- 
Ever tried. Ever failed. No matter.
Try again. Fail again. Fail better.
~ Samuel Beckett ~
Index: debian/changelog
===================================================================
--- debian/changelog    (Revision 7581)
+++ debian/changelog    (Arbeitskopie)
@@ -1,3 +1,9 @@
+linux-modules-extra-2.6 (2.6.18-2) unstable; urgency=low
+
+  * Add mol modules.
+
+ -- Gaudenz Steinlin <[EMAIL PROTECTED]>  Sat,  7 Oct 2006 18:05:43 +0200
+
 linux-modules-extra-2.6 (2.6.18-1) unstable; urgency=low
 
   * Update to 2.6.18.
Index: debian/bin/gencontrol.py
===================================================================
--- debian/bin/gencontrol.py    (Revision 7581)
+++ debian/bin/gencontrol.py    (Arbeitskopie)
@@ -67,6 +67,10 @@
             return
         if subarch in config_entry.get('not-subarches', []):
             return
+       if flavour not in config_entry.get('flavours', [flavour]):
+           return
+       if flavour in config_entry.get('not-flavours', []):
+           return
 
         modules = self.templates["control.modules"]
         modules = self.process_packages(modules, vars)
Index: mol/rules.old
===================================================================
--- mol/rules.old       (Revision 0)
+++ mol/rules.old       (Revision 0)
@@ -0,0 +1,7 @@
+
+$(BUILD_STAMP):
+       $(MAKE) -f $(DIR)/Makefile
+       touch $@
+
+install:
+       $(MAKE) -f $(DIR)/Makefile install
Index: mol/copyright
===================================================================
--- mol/copyright       (Revision 0)
+++ mol/copyright       (Revision 0)
@@ -0,0 +1,25 @@
+This package was debianized by Jens Schmalzing [EMAIL PROTECTED] on
+Thu, 19 Apr 2001 16:09:51 +0200.
+
+Officially released versions were downloaded from
+ftp://ftp.nada.kth.se/home/f95-sry/Public/mac-on-linux/ .
+
+Snapshots of development versions were obtained from the anonymous
+rsync tree at zorn.theophys.kth.se::mol, followed by `make libimport'.
+
+Meanwhile, both of the above-mentioned locations have moved, to
+http://www.maconlinux.org/downloads/ and rsync.penguinppc.org::mol,
+respectively.
+
+No activity on http://www.maconlinux.org/ since 2004. This package is now
+built from "unofficial" sources downloaded from http://dev.gentoo.org/~josejx/
+
+Copyright:
+
+(C) 1997-2004 Samuel Rydh  <[EMAIL PROTECTED]>
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public Licence version 2.
+
+See the file /usr/share/common-licenses/GPL-2 for more information.
+
Index: mol/rules
===================================================================
--- mol/rules   (Revision 0)
+++ mol/rules   (Revision 0)
@@ -0,0 +1,10 @@
+export BUILD_SHEEP=m
+
+$(BUILD_STAMP):
+       $(MAKE) -C $(HEADERS_DIR) M=$(CURDIR)/$(DIR)/kmod $(JOBS_ARG)
+       $(MAKE) -C $(HEADERS_DIR) M=$(CURDIR)/$(DIR)/netdriver $(JOBS_ARG)
+       touch $@
+
+install:
+       $(MAKE) -C $(HEADERS_DIR) M=$(CURDIR)/$(DIR)/kmod modules_install 
INSTALL_MOD_PATH=$(PACKAGE_DIR) INSTALL_MOD_DIR=extra/$(MODULE)
+       $(MAKE) -C $(HEADERS_DIR) M=$(CURDIR)/$(DIR)/netdriver modules_install 
INSTALL_MOD_PATH=$(PACKAGE_DIR) INSTALL_MOD_DIR=extra/$(MODULE)
Index: mol/defines
===================================================================
--- mol/defines (Revision 0)
+++ mol/defines (Revision 0)
@@ -0,0 +1,12 @@
+[base]
+arches:
+ powerpc
+flavours: powerpc powerpc-smp powerpc-miboot
+desc: Mac-on-Linux emulator 
+longdesc:
+ Mac-on-Linux is basically an emulator capable of running
+ MacOS on most Debian/PowerPC machines.  However, several
+ things are not emulated -- in particular, the processor
+ runs natively, which makes Mac-on-Linux very fast.  The
+ main drawback is the need for special support code in the
+ kernel.
Index: defines
===================================================================
--- defines     (Revision 7581)
+++ defines     (Arbeitskopie)
@@ -4,4 +4,5 @@
  spca5xx
  squashfs
  unionfs
+ mol
 

Attachment: pgpn2YEjkASHG.pgp
Description: PGP signature

Reply via email to