+++ /dev/null
-###############################################################################
-# #
-# IPFire.org - A linux based firewall #
-# Copyright (C) 2007 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 = cdrom
-PKG_VER =
-PKG_REL = -1
-
-THISAPP = $(PKG_NAME)
-
-OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
-
-MAINTAINER =
-GROUP =
-CORE = no
-EXTRA = no
-DEBUG = no
-BUILD_DEPS =
-DEPS = images-core images-info images-initramfs images-overlays
-
-URL =
-LICENSE =
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects =
-
-download: $(objects)
-
-info:
- $(DO_PKG_INFO)
-
-install: $(OBJECT)
-
-packages: $(PACKAGES)
-
-$(PACKAGES): $(OBJECT)
- @$(DO_PACKAGE)
-
-$(objects):
- @$(LOAD)
-
-###############################################################################
-# Installation Details
-###############################################################################
-
-$(OBJECT): $(objects)
- @rm -rf $(CDROM_DIR)/* $(CDROM_DIR)/.$(SNAME)info
-
- mkdir -pv $(CDROM_DIR)/{isolinux,doc}
-
- # Copy image and all overlays
- cp -vf $(IMAGE_FILE) $(IMAGES_DIR)/*.overlay $(CDROM_DIR)
-
- # Install documentation
- cp -vf $(DIR_SRC)/doc/{COPYING,ChangeLog,packages-list.txt} $(CDROM_DIR)/doc
- $(INSTALL_CONFIG) $(DIR_SOURCE)/cdrom/README.txt > $(CDROM_DIR)/README
-
- # Install kernel and initramfs
- cp -vf $(IMAGES_DIR)/initramfs-$(VERSION).img $(CDROM_DIR)/isolinux/initrd0
- cp -vf /boot/ipfirekernel-$(KVER) $(CDROM_DIR)/isolinux/$(SNAME)0
-
- # If we have build the extras, we copy them on
- # the disk
-ifeq "$(BUILD_EXTRAS)" "1"
- # Copying extra packages to cdrom
- mkdir -pv $(CDROM_DIR)/packages
- for package in $(PACKAGES_EXTRA); do \
- if [ -e "$$package" ]; then \
- cp -vf $$package $(CDROM_DIR)/packages; \
- fi; \
- done
-endif
-
- # Install isolinux & configuration
- cp -vf /usr/share/syslinux/{isolinux.bin,vesamenu.c32} \
- /usr/lib/memtest86+/memtest.bin \
- $(DIR_SOURCE)/bootloader/splash.{jpg,lss} \
- $(DIR_SOURCE)/bootloader/*.msg $(CDROM_DIR)/isolinux/
- $(INSTALL_CONFIG) $(DIR_SOURCE)/bootloader/installer.conf \
- > $(CDROM_DIR)/isolinux/isolinux.cfg
-
- # Info file
- echo "Release: $(NAME)-$(VERSION)" >> $(CDROM_DIR)/.$(SNAME)info
- echo "Build host: $$(hostname -f)" >> $(CDROM_DIR)/.$(SNAME)info
- echo "Date: $$(date -u)" >> $(CDROM_DIR)/.$(SNAME)info
-
- cd $(CDROM_DIR) && mkisofs -J -r -V "$(NAME)_$(VERSION)" \
- -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot \
- -boot-load-size 4 -boot-info-table . > $(IMAGES_DIR)/$(IMAGENAME).iso
-
- @rm -rf $(CDROM_DIR)/* $(CDROM_DIR)/.$(SNAME)info
+++ /dev/null
-###############################################################################
-# #
-# IPFire.org - A linux based firewall #
-# Copyright (C) 2007 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 = images
-PKG_VER =
-PKG_REL = -1
-
-THISAPP = $(PKG_NAME)
-
-OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
-
-MAINTAINER =
-GROUP =
-CORE = no
-EXTRA = no
-DEBUG = no
-BUILD_DEPS =
-DEPS =
-
-URL =
-LICENSE =
-
-ifeq "$(firstword $(MAKEFILE_LIST))" "images-initramfs"
- PASS = initramfs
-endif
-
-ifeq "$(firstword $(MAKEFILE_LIST))" "images-overlays"
- PASS = overlays
-endif
-
-ifeq "$(firstword $(MAKEFILE_LIST))" "images-core"
- PASS = core
-endif
-
-ifeq "$(firstword $(MAKEFILE_LIST))" "images-info"
- PASS = info
-endif
-
-ifneq "$(PASS)" ""
- PKG_NAME = images-$(PASS)
-endif
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects =
-
-download: $(objects)
-
-info:
- $(DO_PKG_INFO)
-
-install: $(OBJECT)
-
-packages: $(PACKAGES)
-
-$(PACKAGES): $(OBJECT)
- @$(DO_PACKAGE)
-
-$(objects):
- @$(LOAD)
-
-###############################################################################
-# Installation Details
-###############################################################################
-
-$(OBJECT): $(objects)
-
-ifeq "$(PASS)" "info"
- # info file
- (echo "Release: $(NAME)-$(VERSION) ($(SLOGAN))"; \
- echo "Build host: $$(cat /proc/sys/kernel/hostname)"; \
- echo "Date: $$(date -u)") > $(IMAGES_DIR)/.$(SNAME)info
-endif
-
-ifeq "$(PASS)" "initramfs"
- mkliveramfs -v -f --with-net $(IMAGES_DIR)/initramfs-$(VERSION).img $(KVER)
-endif
-
-ifeq "$(PASS)" "core"
- @rm -rf /tmp/$(SNAME)-$(VERSION)
-
- cd $(DIR_PACKAGES) && $(DIR_SOURCE)/pakfire/decompressor \
- --root=/tmp/$(SNAME)-$(VERSION) $(PACKAGES_CORE)
-
- # Do some tests im the environment is sane
- ldconfig -r /tmp/$(SNAME)-$(VERSION)
-
- # Create needed directories and device nodes
- cd /tmp/$(SNAME)-$(VERSION) && mkdir -pv {dev,proc,sys}
- cd /tmp/$(SNAME)-$(VERSION) && mknod -m 0666 dev/null c 1 3
- cd /tmp/$(SNAME)-$(VERSION) && mknod -m 0600 dev/console c 5 1
- cd /tmp/$(SNAME)-$(VERSION) && install -dv -m 1777 tmp var/tmp
-
- # Hack for bash
- cd /tmp/$(SNAME)-$(VERSION) && cp -vf /bin/bash bin/bash
- cd /tmp/$(SNAME)-$(VERSION) && ln -svf bash bin/sh
-
- cd /tmp/$(SNAME)-$(VERSION) && mksquashfs * $(IMAGE_FILE) -b 1M -noappend
- rm -rf /tmp/$(SNAME)-$(VERSION)
-endif
-
-ifeq "$(PASS)" "overlays"
- # Creating installer's overlay
- cd $(INSTALLER_DIR) && mksquashfs * $(IMAGES_DIR)/pomona-$(VERSION).overlay -b 1M -noappend
-endif
+++ /dev/null
-###############################################################################
-# #
-# IPFire.org - A linux based firewall #
-# Copyright (C) 2007 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 = pomona
-PKG_VER = ipfire
-PKG_REL = 0
-
-THISAPP = $(PKG_NAME)
-DIR_APP = $(DIR_SOURCE)/$(THISAPP)
-
-OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
-
-MAINTAINER =
-GROUP = System/Installer
-CORE = no
-EXTRA = no
-DEBUG = no
-DEPS = popt parted python-parted e2fsprogs
-BUILD_DEPS =
-
-LICENSE = GPLv3+
-URL = http://www.ipfire.org
-SHORT_DESC = The IPFire 3.x installer.
-
-define LONG_DESC
- Pomona is the installer for IPFire 3.x.
-endef
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects =
-
-download: $(objects)
-
-info:
- $(DO_PKG_INFO)
-
-install: $(OBJECT)
-
-packages: $(PACKAGES)
-
-$(PACKAGES): $(OBJECT)
- @$(DO_PACKAGE)
-
-$(objects):
- @$(LOAD)
-
-###############################################################################
-# Installation Details
-###############################################################################
-
-$(OBJECT): $(objects)
- @$(PREBUILD)
- cd $(DIR_APP) && make clean
- #cd $(DIR_APP) && make -C po update-po
- cd $(DIR_APP) && make
- #cd $(DIR_APP) && make test
- cd $(DIR_APP) && make install \
- NAME=$(NAME) SNAME=$(SNAME) VERSION=$(VERSION) KVER=$(KVER)
- cd $(DIR_APP) && make clean
-
- find $(INSTALLER_DIR)/usr/lib/pomona/ -name *.py | xargs /usr/bin/py-compile
- @$(POSTBUILD)
+++ /dev/null
-###############################################################################
-# #
-# IPFire.org - A linux based firewall #
-# Copyright (C) 2007 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 = pxe
-PKG_VER =
-PKG_REL = -1
-
-THISAPP = $(PKG_NAME)
-
-OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
-
-MAINTAINER =
-GROUP =
-CORE = no
-EXTRA = no
-DEBUG = no
-BUILD_DEPS =
-DEPS = images-initramfs
-
-URL =
-LICENSE =
-
-PXE_DIR = $(CDROM_DIR)
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects =
-
-download: $(objects)
-
-info:
- $(DO_PKG_INFO)
-
-install: $(OBJECT)
-
-packages: $(PACKAGES)
-
-$(PACKAGES): $(OBJECT)
- @$(DO_PACKAGE)
-
-$(objects):
- @$(LOAD)
-
-###############################################################################
-# Installation Details
-###############################################################################
-
-$(OBJECT): $(objects)
- @rm -rf $(PXE_DIR)/* && mkdir -pv $(PXE_DIR)/{pxelinux.cfg,$(SNAME)}
-
- # Copy image with networking support
- cp -vf $(IMAGES_DIR)/initramfs-$(VERSION).img $(CDROM_DIR)/$(SNAME)/initrd0
- cp -vf /boot/ipfirekernel-$(KVER) $(CDROM_DIR)/$(SNAME)/$(SNAME)0
- cp -vf /usr/share/syslinux/vesamenu.c32 \
- $(DIR_SOURCE)/bootloader/splash.{jpg,lss} \
- $(DIR_SOURCE)/bootloader/*.msg $(CDROM_DIR)/$(SNAME)/
-
- cp -vf /usr/share/syslinux/pxelinux.0 $(CDROM_DIR)/
- $(INSTALL_CONFIG) $(DIR_SOURCE)/bootloader/pxe.conf \
- > $(CDROM_DIR)/pxelinux.cfg/$(SNAME)-pxe-$(VERSION).model
-
- sed -e "s@splash@$(SNAME)/splash@g" \
- -i $(CDROM_DIR)/$(SNAME)/boot.msg
-
- cd $(CDROM_DIR) && \
- tar cfz $(IMAGES_DIR)/$(IMAGENAME).pxe.tar.gz *
-
- @rm -rf $(PXE_DIR)/*