--- /dev/null
+###############################################################################
+# #
+# IPFire.org - A linux based firewall #
+# Copyright (C) 2007, 2008, 2009 Michael Tremer & Christian Schmidt #
+# #
+# 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 3 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, see <http://www.gnu.org/licenses/>. #
+# #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+PKG_NAME = LVM2
+PKG_VER = 2.02.44
+PKG_REL = 0
+
+THISAPP = $(PKG_NAME).$(PKG_VER)
+DL_FILE = $(THISAPP).tgz
+DIR_APP = $(DIR_SRC)/$(THISAPP)
+
+OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
+
+MAINTAINER =
+GROUP = System/Base
+EXTRA = no
+DEBUG = no
+DEPS = module-init-tools ncurses readline
+
+URL = http://sources.redhat.com/lvm2/
+LICENSE = GPLv2
+SHORT_DESC = Userland logical volume management tools.
+
+define LONG_DESC
+ LVM2 includes all of the support for handling read/write operations on \
+ physical volumes (hard disks, RAID-Systems, magneto optical, etc., \
+ multiple devices (MD), see mdadd(8) or even loop devices, see \
+ losetup(8)), creating volume groups (kind of virtual disks) from one \
+ or more physical volumes and creating one or more logical volumes \
+ (kind of logical partitions) in volume groups.
+endef
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+download: $(objects)
+
+info:
+ $(DO_PKG_INFO)
+
+install: $(OBJECT)
+
+package:
+ @$(DO_PACKAGE)
+
+$(objects):
+ @$(LOAD)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(OBJECT): $(objects)
+ @$(PREBUILD)
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
+ cd $(DIR_APP) && \
+ ./configure \
+ $(CONFIGURE_ARCH) \
+ --prefix=/usr \
+ --bindir=/bin \
+ --sbindir=/sbin \
+ --exec-prefix=/ \
+ --libdir=/lib \
+ --disable-static
+ cd $(DIR_APP) && make #$(PARALLELISMFLAGS)
+ cd $(DIR_APP) && make install
+ @rm -rf $(DIR_APP)
+ @$(POSTBUILD)
--- /dev/null
+###############################################################################
+# #
+# IPFire.org - A linux based firewall #
+# Copyright (C) 2007, 2008, 2009 Michael Tremer & Christian Schmidt #
+# #
+# 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 3 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, see <http://www.gnu.org/licenses/>. #
+# #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+PKG_NAME = mdadm
+PKG_VER = 3.0-devel2
+PKG_REL = 0
+
+THISAPP = $(PKG_NAME)-$(PKG_VER)
+DL_FILE = $(THISAPP).tar.bz2
+DIR_APP = $(DIR_SRC)/$(THISAPP)
+
+OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
+
+MAINTAINER =
+GROUP = System/Base
+EXTRA = no
+DEBUG = no
+DEPS =
+
+URL = http://www.kernel.org/pub/linux/utils/raid/mdadm/
+LICENSE = GPLv2+
+SHORT_DESC = The mdadm program controls Linux md devices (software RAID arrays).
+
+define LONG_DESC
+ The mdadm program is used to create, manage, and monitor Linux MD (software \
+ RAID) devices. As such, it provides similar functionality to the raidtools \
+ package. However, mdadm is a single program, and it can perform \
+ almost all functions without a configuration file, though a configuration \
+ file can be used to help with some common tasks.
+endef
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE) \
+ $(THISAPP)-warn.patch
+
+download: $(objects)
+
+info:
+ $(DO_PKG_INFO)
+
+install: $(OBJECT)
+
+package:
+ @$(DO_PACKAGE)
+
+$(objects):
+ @$(LOAD)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(OBJECT): $(objects)
+ @$(PREBUILD)
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
+ cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-warn.patch
+ cd $(DIR_APP) && make $(PARALLELISMFLAGS) CXFLAGS="$(CFLAGS)" \
+ SYSCONFDIR="/etc" MDASSEMBLE_AUTO=1
+ cd $(DIR_APP) && make install BINDIR=/sbin
+ -mkdir -p -m 700 /var/run/mdadm
+ @rm -rf $(DIR_APP)
+ @$(POSTBUILD)
ipfire_make sysfsutils
ipfire_make squashfs
ipfire_make dosfstools
+ ipfire_make lvm2
+ ipfire_make mdadm
### Building hardware utils
#
--- /dev/null
+etc/lvm
+etc/lvm/lvm.conf
+lib/libdevmapper.so
+lib/libdevmapper.so.1.02
+sbin/dmsetup
+sbin/fsadm
+sbin/lvchange
+sbin/lvconvert
+sbin/lvcreate
+sbin/lvdisplay
+sbin/lvextend
+sbin/lvm
+sbin/lvmchange
+sbin/lvmdiskscan
+sbin/lvmdump
+sbin/lvmsadc
+sbin/lvmsar
+sbin/lvreduce
+sbin/lvremove
+sbin/lvrename
+sbin/lvresize
+sbin/lvs
+sbin/lvscan
+sbin/pvchange
+sbin/pvck
+sbin/pvcreate
+sbin/pvdisplay
+sbin/pvmove
+sbin/pvremove
+sbin/pvresize
+sbin/pvs
+sbin/pvscan
+sbin/vgcfgbackup
+sbin/vgcfgrestore
+sbin/vgchange
+sbin/vgck
+sbin/vgconvert
+sbin/vgcreate
+sbin/vgdisplay
+sbin/vgexport
+sbin/vgextend
+sbin/vgimport
+sbin/vgmerge
+sbin/vgmknodes
+sbin/vgreduce
+sbin/vgremove
+sbin/vgrename
+sbin/vgs
+sbin/vgscan
+sbin/vgsplit
+#usr/include/libdevmapper.h
+#usr/share/man/man5/lvm.conf.5
+#usr/share/man/man8/dmsetup.8
+#usr/share/man/man8/fsadm.8
+#usr/share/man/man8/lvchange.8
+#usr/share/man/man8/lvconvert.8
+#usr/share/man/man8/lvcreate.8
+#usr/share/man/man8/lvdisplay.8
+#usr/share/man/man8/lvextend.8
+#usr/share/man/man8/lvm.8
+#usr/share/man/man8/lvmchange.8
+#usr/share/man/man8/lvmdiskscan.8
+#usr/share/man/man8/lvmdump.8
+#usr/share/man/man8/lvreduce.8
+#usr/share/man/man8/lvremove.8
+#usr/share/man/man8/lvrename.8
+#usr/share/man/man8/lvresize.8
+#usr/share/man/man8/lvs.8
+#usr/share/man/man8/lvscan.8
+#usr/share/man/man8/pvchange.8
+#usr/share/man/man8/pvck.8
+#usr/share/man/man8/pvcreate.8
+#usr/share/man/man8/pvdisplay.8
+#usr/share/man/man8/pvmove.8
+#usr/share/man/man8/pvremove.8
+#usr/share/man/man8/pvresize.8
+#usr/share/man/man8/pvs.8
+#usr/share/man/man8/pvscan.8
+#usr/share/man/man8/vgcfgbackup.8
+#usr/share/man/man8/vgcfgrestore.8
+#usr/share/man/man8/vgchange.8
+#usr/share/man/man8/vgck.8
+#usr/share/man/man8/vgconvert.8
+#usr/share/man/man8/vgcreate.8
+#usr/share/man/man8/vgdisplay.8
+#usr/share/man/man8/vgexport.8
+#usr/share/man/man8/vgextend.8
+#usr/share/man/man8/vgimport.8
+#usr/share/man/man8/vgmerge.8
+#usr/share/man/man8/vgmknodes.8
+#usr/share/man/man8/vgreduce.8
+#usr/share/man/man8/vgremove.8
+#usr/share/man/man8/vgrename.8
+#usr/share/man/man8/vgs.8
+#usr/share/man/man8/vgscan.8
+#usr/share/man/man8/vgsplit.8
--- /dev/null
+lib/udev/rules.d/64-md-raid.rules
+sbin/mdadm
+sbin/mdmon
+#usr/share/man/man4/md.4
+#usr/share/man/man5/mdadm.conf.5
+#usr/share/man/man8/mdadm.8
+var/run/mdadm