From dc9089e8a4fc24b86bce4c3ada9379b220a7a2b4 Mon Sep 17 00:00:00 2001 From: fake Date: Mon, 24 May 2004 09:49:40 +0000 Subject: [PATCH] fake: add package cloop [2004052021514904062] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@3123 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/fake/cloop/cloop.conf | 29 +++++++++++++ package/fake/cloop/cloop.desc | 41 +++++++++++++++++++ .../cloop/makefile-install-noconfvars.patch | 20 +++++++++ 3 files changed, 90 insertions(+) create mode 100644 package/fake/cloop/cloop.conf create mode 100644 package/fake/cloop/cloop.desc create mode 100644 package/fake/cloop/makefile-install-noconfvars.patch diff --git a/package/fake/cloop/cloop.conf b/package/fake/cloop/cloop.conf new file mode 100644 index 000000000..760b8bc42 --- /dev/null +++ b/package/fake/cloop/cloop.conf @@ -0,0 +1,29 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/fake/cloop/cloop.conf +# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +# +# 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. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + +. $base/package/base/linux24/kernelversion.sh + +var_append makeopt ' ' 'KERNDIR=$root/usr/src/linux-$kernelversion' + +var_remove makeinstopt ' ' 'install' +var_append makeinstopt ' ' 'MODDIR=$root/lib/modules/$kernelversion/misc PREFIX=$root/$prefix install' + diff --git a/package/fake/cloop/cloop.desc b/package/fake/cloop/cloop.desc new file mode 100644 index 000000000..666d0d67e --- /dev/null +++ b/package/fake/cloop/cloop.desc @@ -0,0 +1,41 @@ +[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- +[COPY] +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] Please add additional copyright information _after_ the line containing +[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +[COPY] +[COPY] ROCK Linux: rock-src/package/fake/cloop/cloop.desc +[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; either version 2 of the License, or +[COPY] (at your option) any later version. A copy of the GNU General Public +[COPY] License can be found at Documentation/COPYING. +[COPY] +[COPY] Many people helped and are helping developing ROCK Linux. Please +[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM +[COPY] file for details. +[COPY] +[COPY] --- ROCK-COPYRIGHT-NOTE-END --- + +[I] a transparently decompressing block device + +[T] based on a driver developed by Paul 'Rusty' Russel for reading block-wise +[T] compressed images transparently. Ported to 2.4/2.6 by Klaus Knopper. + +[U] http://developer.linuxtag.net/knoppix/sources/ + +[A] Klaus Knopper +[M] fake + +[C] base/system + +[L] GPL +[S] Stable +[V] 2.01 +[P] X -1---5---- 150.000 + +[D] 577776819 cloop_2.01-1.tar.gz http://developer.linuxtag.net/knoppix/sources/ + diff --git a/package/fake/cloop/makefile-install-noconfvars.patch b/package/fake/cloop/makefile-install-noconfvars.patch new file mode 100644 index 000000000..84176dcba --- /dev/null +++ b/package/fake/cloop/makefile-install-noconfvars.patch @@ -0,0 +1,20 @@ +--- ./Makefile.orig 2004-05-08 15:39:45.882594296 +0200 ++++ ./Makefile 2004-05-08 16:25:36.674410376 +0200 +@@ -6,7 +6,6 @@ + CFLAGS:=-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -s -I. -fno-strict-aliasing -fno-common -fomit-frame-pointer + else + include $(KERNEL_DIR)/.config +-include $(KERNEL_DIR)/conf.vars + endif + + CKERNOPS:=-D__KERNEL__ -DMODULE -fno-builtin -nostdlib -DKBUILD_MODNAME="cloop" -DKBUILD_BASENAME="cloop" +@@ -50,3 +49,9 @@ + $(CC) -I$(KERNEL_DIR)/include -I$(KERNEL_DIR)/include/asm/mach-default $(CFLAGS) $(CKERNOPS) $< -c -o $@ + + compressed_loop.o create_compressed_fs.o: compressed_loop.h ++ ++install: ++ mkdir -p $(MODDIR) ++ install -m 755 cloop.o $(MODDIR) ++ install -m 755 create_compressed_fs $(PREFIX)/sbin ++ install -m 755 extract_compressed_fs $(PREFIX)/sbin