Browse Source

fake:


			
			
				rocklinux
			
			
		
fake 20 years ago
parent
commit
dc9089e8a4
3 changed files with 90 additions and 0 deletions
  1. +29
    -0
      package/fake/cloop/cloop.conf
  2. +41
    -0
      package/fake/cloop/cloop.desc
  3. +20
    -0
      package/fake/cloop/makefile-install-noconfvars.patch

+ 29
- 0
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'

+ 41
- 0
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 <cloop@knopper.net>
[M] fake <fake@rocklinux.org>
[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/

+ 20
- 0
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

Loading…
Cancel
Save