From: Michael Tremer Date: Sat, 30 Jan 2010 22:41:08 +0000 (+0100) Subject: Remove files of packages that already have been ported to pkgs/. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dac1e99c0eaa69d4efde41c1679c208e774c00fd;p=ipfire-3.x.git Remove files of packages that already have been ported to pkgs/. --- diff --git a/lfs/acl b/lfs/acl deleted file mode 100644 index 8ac1c5816..000000000 --- a/lfs/acl +++ /dev/null @@ -1,138 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = acl -PKG_VER = 2.2.47 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Filesystems -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = attr - -URL = http://oss.sgi.com/projects/xfs/ -LICENSE = GPLv2+ -SHORT_DESC = Access control list utilities. - -define LONG_DESC - This package contains the getfacl and setfacl utilities needed for \ - manipulating access control lists. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - $(THISAPP)-build-1.patch \ - $(THISAPP)-nfs4.patch \ - $(THISAPP)-params.patch \ - $(THISAPP)-path_max.patch \ - $(THISAPP)-segfault.patch \ - $(THISAPP)-walk.patch \ - $(THISAPP)-exitcode.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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)-build-1.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-exitcode.patch - -ifneq "$(STAGE)" "toolchain" - # This patch adds NFS4 Support - #cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-nfs4.patch -endif - - # This patch adds new short parameters - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-params.patch - - # This patch fixes the usage of long UTF-8 filenames - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-path_max.patch - - # This patch fixes the segfault when using only "--" as parameter - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-segfault.patch - - # This patch makes the order consistent - #cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-walk.patch - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) - cd $(DIR_APP) && make LIBTOOL="libtool --tag=CC" #$(PARALLELISMFLAGS) - cd $(DIR_APP) && make install install-dev install-lib -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --bindir=/bin \ - --disable-static - cd $(DIR_APP) && make LIBTOOL="libtool --tag=CC" #$(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - install -v -m0755 $(DIR_APP)/libacl/.libs/libacl.so.1.1.0 /lib - ln -vsf libacl.so.1.1.0 /lib/libacl.so.1 - ln -vsf ../../lib/libacl.so.1 /usr/lib/libacl.so - -mkdir -pv /usr/include/{acl,sys} - cp -vf $(DIR_APP)/include/libacl.h /usr/include/acl/ - cp -vf $(DIR_APP)/include/acl.h /usr/include/sys/ -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/attr b/lfs/attr deleted file mode 100644 index 44df4a7c7..000000000 --- a/lfs/attr +++ /dev/null @@ -1,119 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = attr -PKG_VER = 2.4.43 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Filesystems -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://oss.sgi.com/projects/xfs/ -LICENSE = GPLv2+ LGPLv2+ -SHORT_DESC = Tools for extended attribute support. - -define LONG_DESC - A set of tools for manipulating extended attributes on filesystem \ - objects. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) \ - --enable-shared - cd $(DIR_APP) && make LIBTOOL="libtool --tag=CC" #$(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - install -v -m0755 $(DIR_APP)/libattr/.libs/libattr.so.1.1.0 $(TOOLS_DIR)/lib - ln -vsf libattr.so.1.1.0 $(TOOLS_DIR)/lib/libattr.so.1 - ln -vsf libattr.so.1.1.0 $(TOOLS_DIR)/lib/libattr.so - install -v -d $(TOOLS_DIR)/include/attr - cp -vf $(DIR_APP)/include/{attributes.h,error_context.h,libattr.h,xattr.h} \ - $(TOOLS_DIR)/include/attr/ -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --bindir=/bin \ - --enable-shared - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - install -v -m0755 $(DIR_APP)/libattr/.libs/libattr.so.1.1.0 /lib - ln -vsf libattr.so.1.1.0 /lib/libattr.so.1 - ln -vsf ../../lib/libattr.so.1 /usr/lib/libattr.so - install -v -d /usr/include/attr - cp -vf $(DIR_APP)/include/{attributes.h,error_context.h,libattr.h,xattr.h} \ - /usr/include/attr/ -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/autoconf b/lfs/autoconf deleted file mode 100644 index b7655e4e1..000000000 --- a/lfs/autoconf +++ /dev/null @@ -1,104 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = autoconf -PKG_VER = 2.64 -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 = Development/Tools -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.gnu.org/software/autoconf/ -LICENSE = GPLv2+ -SHORT_DESC = A GNU tool for automatically configuring source code. - -define LONG_DESC - GNU's Autoconf is a tool for configuring source code and Makefiles. \ - Using Autoconf, programmers can create portable and configurable \ - packages, since the person building the package is allowed to \ - specify various configuration options. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr - cd $(DIR_APP) && make #$(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/automake b/lfs/automake deleted file mode 100644 index 6f1620322..000000000 --- a/lfs/automake +++ /dev/null @@ -1,103 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = automake -PKG_VER = 1.11 -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 = Development/Tools -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = autoconf - -URL = http://www.gnu.org/software/automake/ -LICENSE = GPLv2+ -SHORT_DESC = A GNU tool for automatically configuring source code. - -define LONG_DESC - Automake is a tool for automatically generating Makefile.in \ - files compliant with the GNU Coding Standards. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/bash b/lfs/bash deleted file mode 100644 index fd74dfb92..000000000 --- a/lfs/bash +++ /dev/null @@ -1,154 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = bash -PKG_VER = 4.0 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Tools -CORE = yes -EXTRA = no -DEBUG = no -ifneq "$(STAGE)" "toolchain" - DEPS = readline -endif - -URL = http://www.gnu.org/software/bash/ -LICENSE = GPLv2+ -SHORT_DESC = Bash is short for born again shell. - -define LONG_DESC - Bash is the shell, or command language interpreter, that will appear in \ - the GNU operating system. Bash is an sh-compatible shell that incorporates \ - useful features from the Korn shell (ksh) and C shell (csh). It is intended \ - to conform to the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - $(THISAPP)-rng.patch \ - $(THISAPP)-fixes-1.patch \ - $(THISAPP)-paths-1.patch \ - $(THISAPP)-profile-1.patch \ -# $(THISAPP)-arc4random-1.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - - # This patch fixes various reportded issures. It is the latest posted - # patch from linuxfromscratch.org. - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-fixes-1.patch - - # This patch modifies Bash to use /dev/urandom (settable with - # --with-randomdev=) for $RANDOM, instead of getpid() and gettimeofday(). - # The test is "( echo $RANDOM; ( echo $RANDOM ); ( echo $RANDOM ) )": - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-rng.patch - - # Some more patches. - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-paths-1.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-profile-1.patch - - # Bash uses the RTLD_LAZY option when loading libraries. We want to use - # RTLD_NOW (it is defined from : - cd $(DIR_APP) && sed -e "s/filename, RTLD_LAZY/filename, RTLD_NOW/" \ - -i builtins/enable.def - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && \ - ac_cv_func_working_mktime=yes \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) \ - --without-bash-malloc - cd $(DIR_APP) && make #$(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - ln -sf bash $(TOOLS_DIR)/bin/sh - - # Without the following lines, stage2 will not work - if [ ! -e $(LFS)/bin/bash ]; then \ - install -d $(LFS)/bin && \ - ln -sf $(TOOLS_DIR)/bin/bash $(LFS)/bin && \ - ln -sf bash $(LFS)/bin/sh; \ - fi -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/$(THISAPP)|" \ - Makefile.in -# cd $(DIR_APP) && patch -Np1 < $(DIR_PATCHES)/$(THISAPP)-arc4random-1.patch - cd $(DIR_APP) && autoconf --force - cd $(DIR_APP) && \ - ac_cv_func_working_mktime=yes \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --bindir=/bin \ - --without-bash-malloc \ - --with-installed-readline - cd $(DIR_APP) && make #$(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - # Bash startup files - cp -avf $(DIR_SOURCE)/bash/{bashrc,inputrc,profile,shells} /etc - - # /etc/profile.d - -mkdir -pv /etc/profile.d - cp -vf $(DIR_SOURCE)/profile.d/{extrapaths,i18n,readline,umask}.sh \ - /etc/profile.d -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/bc b/lfs/bc deleted file mode 100644 index 3e4aad499..000000000 --- a/lfs/bc +++ /dev/null @@ -1,108 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = bc -PKG_VER = 1.06 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Tools -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.gnu.org/software/bc/ -LICENSE = GPLv2+ -SHORT_DESC = bc is an arbitrary precision numeric processing language. - -define LONG_DESC - bc is a language that supports arbitrary precision numbers with \ - interactive execution of statements. There are some similarities in the \ - syntax to the C programming language. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - -ifeq "$(STAGE)" "$(SNAME)" - cd $(DIR_APP) && sed -i '/PROTO.*readline/d' bc/scan.l - cd $(DIR_APP) && sed -i '/flex -I8/s/8//' configure - cd $(DIR_APP) && sed -i '/stdlib/a #include ' lib/number.c - cd $(DIR_APP) && sed -i 's/program.*save/static &/' bc/load.c - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --with-readline - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/binutils b/lfs/binutils deleted file mode 100644 index 6349d11c6..000000000 --- a/lfs/binutils +++ /dev/null @@ -1,157 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = binutils -PKG_VER = 2.19.1 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.bz2 -DIR_APP = $(DIR_SRC)/$(THISAPP) - -ifeq "$(STAGE)" "toolchain" - OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)-pass$(PASS) -else - OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) -endif - -MAINTAINER = -GROUP = Development/Tools -CORE = yes -EXTRA = no -DEBUG = no - -# Host system provides zlib. -ifneq "$(STAGE)" "toolchain" - DEPS = zlib -endif - -URL = http://www.gnu.org/software/binutils/ -LICENSE = GPLv2+ -SHORT_DESC = The GNU Binutils are a collection of binary tools. - -define LONG_DESC - The GNU Binary Utilities, or binutils, is a collection of programming \ - tools for the manipulation of object code in various object file formats. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - $(THISAPP)-ld_makefile.patch \ - $(THISAPP)-pt_pax-1.patch \ - $(THISAPP)-lazy-1.patch \ - $(THISAPP)-asprintf_fix.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - @rm -rf $(DIR_SRC)/binutils-build - -mkdir -v $(DIR_SRC)/binutils-build - - # Add PT_PaX header marking support. These markings are using by the PaX - # kernel, and Pax-utils, to identify which programs need things like executable - # stack, etc. Without this patch the PaX kernel must use legacy mode, and this - # patch is greatly preferable: - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-pt_pax-1.patch - -ifeq "$(STAGE)" "toolchain" -ifeq "$(PASS)" "1" - cd $(DIR_SRC)/binutils-build && \ - CC="gcc -B/usr/bin/" \ - ../$(THISAPP)/configure \ - $(CONFIGURE_ARCH) \ - --target=$(IFS_TARGET) \ - --prefix=$(TOOLS_DIR) \ - --disable-nls \ - --disable-werror - cd $(DIR_SRC)/binutils-build && make tooldir=$(TOOLS_DIR) $(PARALLELISMFLAGS) - cd $(DIR_SRC)/binutils-build && make tooldir=$(TOOLS_DIR) install -endif - -ifeq "$(PASS)" "2" - # Binutils libiberty has the same identical bug GCC has: - cd $(DIR_APP) && patch -Np0 -i $(DIR_PATCHES)/$(THISAPP)-asprintf_fix.patch - - cd $(DIR_SRC)/binutils-build && \ - ../$(THISAPP)/configure \ - $(CONFIGURE_ARCH) \ - --target=$(IFS_TARGET) \ - --prefix=$(TOOLS_DIR) \ - --with-lib-path=$(TOOLS_DIR)/lib \ - --disable-nls \ - --enable-shared \ - --disable-werror - cd $(DIR_SRC)/binutils-build && make tooldir=$(TOOLS_DIR) $(PARALLELISMFLAGS) - cd $(DIR_SRC)/binutils-build && make tooldir=$(TOOLS_DIR) install - - cd $(DIR_SRC)/binutils-build && make -C ld clean - cd $(DIR_SRC)/binutils-build && make -C ld LIB_PATH=/lib:/usr/lib - cd $(DIR_SRC)/binutils-build && cp -v ld/.libs/ld-new $(TOOLS_DIR)/bin -endif -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && patch -Np0 -i $(DIR_PATCHES)/$(THISAPP)-asprintf_fix.patch - cd $(DIR_SRC)/binutils-build && \ - CC="gcc -specs=$$(dirname $$(gcc --print-libgcc-file-name))/myspecs -B/usr/lib/ -B/usr/bin/" \ - ../$(THISAPP)/configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --enable-shared \ - --disable-nls \ - --disable-werror \ - --disable-static - cd $(DIR_SRC)/binutils-build && make tooldir=/usr $(PARALLELISMFLAGS) - cd $(DIR_SRC)/binutils-build && make tooldir=/usr install - - cp -fv ../$(THISAPP)/include/libiberty.h /usr/include - rm -vf /usr/lib/libiberty.a /usr/lib/lib{bfd,opcodes}.la -endif - - @rm -rf $(DIR_APP) $(DIR_SRC)/binutils-build - @$(POSTBUILD) diff --git a/lfs/bison b/lfs/bison deleted file mode 100644 index c8aec43a8..000000000 --- a/lfs/bison +++ /dev/null @@ -1,109 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = bison -PKG_VER = 2.4 -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 = Development/Tools -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.gnu.org/software/bison/ -LICENSE = GPLv2+ -SHORT_DESC = GNU Bison is a parser generator. - -define LONG_DESC - Bison is a general-purpose parser generator that converts an annotated \ - context-free grammar into an LALR(1) or GLR parser for that grammar. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --disable-static - cd $(DIR_APP) && echo '#define YYENABLE_NLS 1' >> config.h - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - cd $(DIR_APP)/lib/ && \ - gcc -shared -Wl,-soname,liby.so.2.4 -o liby.so.2.4 -fPIC main.o yyerror.o - rm -fv /usr/lib/liby.a - cd $(DIR_APP)/lib/ && install -v liby.so.2.4 /usr/lib/liby.so.2.4 - ln -vsf liby.so.2.4 /usr/lib/liby.so -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/boost b/lfs/boost deleted file mode 100644 index 64fea2b1a..000000000 --- a/lfs/boost +++ /dev/null @@ -1,134 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = boost -PKG_VER = 1.39.0 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(PKG_NAME)_$(subst .,_,$(PKG_VER)).tar.bz2 -DIR_APP = $(DIR_SRC)/$(PKG_NAME)_$(subst .,_,$(PKG_VER)) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Libraries -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.boost.org/ -LICENSE = Boost -SHORT_DESC = The Boost C++ Libraries. - -define LONG_DESC - Boost provides free peer-reviewed portable C++ source libraries. The \ - emphasis is on libraries which work well with the C++ Standard \ - Library, in the hopes of establishing "existing practice" for \ - extensions and providing reference implementations so that the Boost \ - libraries are suitable for eventual standardization. (Some of the \ - libraries have already been proposed for inclusion in the C++ \ - Standards Committee's upcoming C++ Standard Library Technical Report.) -endef - -export BOOST_ROOT=$(DIR_APP) -BUILD_FLAGS = -d2 --layout=system variant=release threading=single,multi \ - debug-symbols=on link=shared runtime-link=shared -SONAMEVERSION = 5 - -CFLAGS += -fno-strict-aliasing - -PARALLELISMFLAGS := $(shell $(DIR_SOURCE)/scripts/parallelismflags --max=8 $(PARALLELISMFLAGS)) - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - $(THISAPP)-version-override.patch \ - $(THISAPP)-unneccessary_iostreams.patch \ - $(THISAPP)-function_template.patch \ - $(THISAPP)-fs_gcc44.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - # Let bjam use our own cflags - cd $(DIR_APP) && sed -e "s/-O3/$(CFLAGS)/g" -i tools/build/v2/tools/gcc.jam - - cd $(DIR_APP) && patch -Np0 -i $(DIR_PATCHES)/$(THISAPP)-version-override.patch - cd $(DIR_APP) && patch -Np0 -i $(DIR_PATCHES)/$(THISAPP)-unneccessary_iostreams.patch - cd $(DIR_APP) && patch -Np0 -i $(DIR_PATCHES)/$(THISAPP)-function_template.patch - cd $(DIR_APP) && patch -Np0 -i $(DIR_PATCHES)/$(THISAPP)-fs_gcc44.patch - - # build jam - cd $(DIR_APP)/tools/jam/src && ./build.sh - - # build libs - cd $(DIR_APP) && ./bootstrap.sh \ - --with-toolset=gcc \ - --with-icu - - cd $(DIR_APP) && \ - ./bjam $(BUILD_FLAGS) $(PARALLELISMFLAGS) stage - - # install libs - cd $(DIR_APP) && for i in $$(find stage -type f -name "*.so"); do \ - install -v -p -m 755 $$i /usr/lib/$$(basename $$i).$(PKG_VER); \ - ln -svf $$(basename $$i).$(PKG_VER) /usr/lib/$$(basename $$i).$(SONAMEVERSION); \ - ln -svf $$(basename $$i).$(SONAMEVERSION) /usr/lib/$$(basename $$i); \ - done - - # install includes - cd $(DIR_APP) && find boost -type d | while read a; do \ - mkdir -pv /usr/include/$$a; \ - find $$a -mindepth 1 -maxdepth 1 -type f | \ - xargs -r install -v -m 644 -p -t /usr/include/$$a; \ - done - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/bridge-utils b/lfs/bridge-utils deleted file mode 100644 index 7a97a43da..000000000 --- a/lfs/bridge-utils +++ /dev/null @@ -1,95 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = bridge-utils -PKG_VER = 1.4 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = Networking/Tools -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://bridge.sourceforge.net/ -LICENSE = GPLv2+ -SHORT_DESC = Utilities for configuring the linux ethernet bridge. - -define LONG_DESC - This package contains utilities for configuring the linux ethernet \ - bridge. The linux ethernet bridge can be used for connecting multiple \ - ethernet devices together. The connecting is fully transparent: hosts \ - connected to one ethernet device see hosts connected to the other \ - ethernet devices directly. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && autoconf - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --sbindir=/sbin - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - rm -vf /usr/lib/libbridge.a - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/bzip2 b/lfs/bzip2 deleted file mode 100644 index 5ccc0af9b..000000000 --- a/lfs/bzip2 +++ /dev/null @@ -1,111 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = bzip2 -PKG_VER = 1.0.5 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = Applications/Compression -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.bzip.org/ -LICENSE = GPLv2+ -SHORT_DESC = Bzip2 is a data compressor. - -define LONG_DESC - bzip2 is a freely available, patent free (see below), high-quality data \ - compressor that is an alternative to the GNU zip compressor. -endef - -CFLAGS += -fPIC - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - $(THISAPP)-install_docs-1.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - - cd $(DIR_APP) && sed -i 's@\(ln -s -f \)$$(PREFIX)/bin/@\1@' Makefile - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make PREFIX=$(TOOLS_DIR) install -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-install_docs-1.patch - cd $(DIR_APP) && sed -e "s/$$(CC) -shared/& $(CFLAGS)/" -i Makefile-libbz2_so - cd $(DIR_APP) && make CFLAGS="$(CFLAGS) -D_FILE_OFFSET_BITS=64" -f Makefile-libbz2_so - cd $(DIR_APP) && make clean - cd $(DIR_APP) && make CFLAGS="$(CFLAGS) -D_FILE_OFFSET_BITS=64" $(PARALLELISMFLAGS) - cd $(DIR_APP) && make PREFIX=/usr install - - cd $(DIR_APP) && cp -v bzip2-shared /bin/bzip2 - cd $(DIR_APP) && cp -av libbz2.so* /lib - ln -sfv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so - rm -fv /usr/bin/{bunzip2,bzcat,bzip2} - ln -sfv bzip2 /bin/bunzip2 - ln -sfv bzip2 /bin/bzcat - rm -vf /usr/lib/libbz2.a -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/ccache b/lfs/ccache deleted file mode 100644 index 78fbad00b..000000000 --- a/lfs/ccache +++ /dev/null @@ -1,101 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = ccache -PKG_VER = 2.4 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)-pass$(PASS) - -MAINTAINER = -GROUP = Development/Compilers -CORE = no -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://ccache.samba.org/ -LICENSE = GPLv2+ -SHORT_DESC = C/C++ compiler cache. - -define LONG_DESC - ccache is a compiler cache. It acts as a caching pre-processor to \ - C/C++ compilers, using the -E compiler switch and a hash to detect \ - when a compilation can be satisfied from cache. This often results in \ - a 5 to 10 times speedup in common compilations. -endef - -PREFIX = $(TOOLS_DIR)/usr -CFLAGS := $(subst -fPIC,,$(CFLAGS)) -static - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - $(THISAPP).patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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 -p0 < $(DIR_PATCHES)/$(THISAPP).patch - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(PREFIX) - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - for i in gcc g++ cc; do \ - ln -sf ccache $(PREFIX)/bin/$${i}; \ - ln -sf ccache $(PREFIX)/bin/$(IFS_TARGET)-$${i}; \ - done - $(PREFIX)/bin/ccache -z - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/coreutils b/lfs/coreutils deleted file mode 100644 index 4f2602885..000000000 --- a/lfs/coreutils +++ /dev/null @@ -1,139 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = coreutils -PKG_VER = 7.6 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Base -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = - -# Don't check deps at toolchain build -ifneq "$(STAGE)" "toolchain" - DEPS = acl attr libcap2 ncurses pam shadow util-linux-ng -endif - -URL = http://www.gnu.org/software/coreutils/ -LICENSE = GPLv3+ -SHORT_DESC = A set of basic GNU tools commonly used in shell scripts. - -define LONG_DESC - These are the GNU core utilities. This package is the combination of \ - the old GNU fileutils, sh-utils, and textutils packages. -endef - -CFLAGS += -D_GNU_SOURCE=1 -fno-strict-aliasing - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - $(THISAPP)-uname_PIC-1.patch \ - $(THISAPP)-i18n-1.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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)-i18n-1.patch - #cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-uname_PIC-1.patch - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && \ - gl_cv_func_printf_directive_n=no \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) \ - --enable-install-program=hostname - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - cd $(DIR_APP) && cp -v src/su $(TOOLS_DIR)/bin/su-tools -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && \ - gl_cv_func_printf_directive_n=no \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --enable-largefile \ - --enable-install-program=arch,hostname,su \ - --enable-no-install-program=kill,uptime - - cd $(DIR_APP) && make $(PARALLELISMFLAGS) \ - CPPFLAGS="-DUSE_PAM" su_LDFLAGS="-pie -lpam -lpam_misc" - cd $(DIR_APP) && make install - - mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} /bin - mv -v /usr/bin/{false,hostname,ln,ls,mkdir,mknod,mv,pwd,readlink,rm} /bin - mv -v /usr/bin/{rmdir,stty,sync,touch,true,uname} /bin - mv -v /usr/bin/chroot /usr/sbin - mv -v /usr/bin/{head,sleep,nice} /bin - - cd $(DIR_APP) && install -m 4755 src/su /bin - - # Dump /etc/dircolors. - dircolors -p > /etc/dircolors - -mkdir -pv /etc/profile.d - cp -vf $(DIR_SOURCE)/profile.d/dircolors.sh /etc/profile.d - - # PAM - cp -vf $(DIR_SOURCE)/pam.d/su{,-l} /etc/pam.d -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/cpio b/lfs/cpio deleted file mode 100644 index cefbfdc39..000000000 --- a/lfs/cpio +++ /dev/null @@ -1,110 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = cpio -PKG_VER = 2.10 -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/Packaging -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.gnu.org/software/cpio/ -LICENSE = GPLv3+ -SHORT_DESC = A GNU archiving program. - -define LONG_DESC - GNU cpio copies files into or out of a cpio or tar archive. Archives \ - are files which contain a collection of other files plus information \ - about them, such as their file name, owner, timestamps, and access \ - permissions. The archive can be another file on the disk, a magnetic \ - tape, or a pipe. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && autoreconf --force - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && autoreconf --force - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH)\ - --prefix=/usr \ - --bindir=/bin \ - --libexecdir=/tmp \ - --with-rmt=/usr/sbin/rmt - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/cracklib b/lfs/cracklib deleted file mode 100644 index ec077cae4..000000000 --- a/lfs/cracklib +++ /dev/null @@ -1,125 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = cracklib -PKG_VER = 2.8.12 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = Security/Password -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://sourceforge.net/projects/cracklib/ -LICENSE = GPLv2 -SHORT_DESC = A password-checking library. - -define LONG_DESC - CrackLib tests passwords to determine whether they match certain \ - security-oriented characteristics, with the purpose of stopping users \ - from choosing passwords that are easy to guess. CrackLib performs \ - several tests on passwords: it tries to generate words from a username \ - and gecos entry and checks those words against the password; it checks \ - for simplistic patterns in passwords; and it checks for the password \ - in a dictionary. -endef - -ifeq "$(LFS_FILE)" "python-cracklib" - DEPS = python - SHORT_DESC = Python-bindings for cracklib. - LONG_DESC = A python module to use safe passwords. -endif - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - cracklib-words-20080507.gz - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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 \ - --disable-static \ - --with-default-dict=/lib/cracklib/pw_dict - -ifeq "$(LFS_FILE)" "python-cracklib" - cd $(DIR_APP)/python && make $(PARALLELISMFLAGS) - cd $(DIR_APP)/python && make install - rm -vf /usr/lib/python2.6/site-packages/cracklibmodule.la -else - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - -rm -rf /usr/share/dict - cd $(DIR_APP) && make install - mv -v /usr/lib/libcrack.so.2* /lib - ln -v -sf ../../lib/libcrack.so.2.8.0 /usr/lib/libcrack.so - rm -vf /usr/lib/libcrack.la - - install -v -m644 -D $(DIR_DL)/cracklib-words-20080507.gz \ - /usr/share/dict/cracklib-words.gz - gunzip -v /usr/share/dict/cracklib-words.gz - ln -v -s cracklib-words /usr/share/dict/words - install -v -m755 -d /lib/cracklib - echo -ne "$(NAME)\n$(SNAME)\n" >> /usr/share/dict/cracklib-extra-words - create-cracklib-dict /usr/share/dict/cracklib-words \ - /usr/share/dict/cracklib-extra-words -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/cyrus-sasl b/lfs/cyrus-sasl deleted file mode 100644 index 486eaa47b..000000000 --- a/lfs/cyrus-sasl +++ /dev/null @@ -1,101 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = cyrus-sasl -PKG_VER = 2.1.23 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Libraries -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = openssl pam - -URL = http://asg.web.cmu.edu/sasl/sasl-library.html -LICENSE = BSD -SHORT_DESC = The Cyrus SASL library. - -define LONG_DESC - The cyrus-sasl package contains the Cyrus implementation of SASL. \ - SASL is the Simple Authentication and Security Layer, a method for \ - adding authentication support to connection-based protocols. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - $(THISAPP)-bad-elif.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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)-bad-elif.patch - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --sysconfdir=/etc \ - --with-dbpath=/var/lib/sasl/sasldb2 \ - --with-saslauthd=/var/run/saslauthd - cd $(DIR_APP) && make #$(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - rm -vf /usr/lib/libsasl2.la /usr/lib/sasl2/*.la - - install -v -m700 -d /var/lib/sasl /var/run/saslauthd - cp -vf $(DIR_SOURCE)/cyrus-sasl/smtpd.conf /usr/lib/sasl2/ - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/dbus b/lfs/dbus deleted file mode 100644 index 24b9bb5e4..000000000 --- a/lfs/dbus +++ /dev/null @@ -1,100 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = dbus -PKG_VER = 1.2.16 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Daemons -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = expat - -URL = http://www.freedesktop.org/software/dbus/ -LICENSE = GPLv2+ AFL -SHORT_DESC = D-BUS message bus. - -define LONG_DESC - D-BUS is a system for sending messages between applications. It is \ - used both for the system-wide message bus service, and as a \ - per-user-login-session messaging facility. -endef - -INITSCRIPT = messagebus - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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 \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --libexecdir=/usr/lib \ - --disable-static - - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - $(INSTALL_INITSCRIPT) - - rm -vf /usr/lib/libdbus-1.la - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/diffutils b/lfs/diffutils deleted file mode 100644 index 083851699..000000000 --- a/lfs/diffutils +++ /dev/null @@ -1,110 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = diffutils -PKG_VER = 2.8.1 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = Development/Tools -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.gnu.org/software/diffutils/diffutils.html -LICENSE = GPLv2+ -SHORT_DESC = A GNU collection of diff utilities. - -define LONG_DESC - Diffutils includes four utilities: diff, cmp, diff3 and sdiff. Diff \ - compares two files and shows the differences, line by line. The cmp \ - command shows the offset and line numbers where two files differ, or \ - cmp can show the characters that differ between the two files. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - $(THISAPP)-i18n-1.patch \ - $(THISAPP)-hardened_tmp-1.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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)-hardened_tmp-1.patch - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-i18n-1.patch - cd $(DIR_APP) && touch man/diff.1 - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/e2fsprogs b/lfs/e2fsprogs deleted file mode 100644 index 7767eb8b3..000000000 --- a/lfs/e2fsprogs +++ /dev/null @@ -1,133 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = e2fsprogs -PKG_VER = 1.41.8 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Filesystems -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://e2fsprogs.sourceforge.net/ -LICENSE = GPLv2 -SHORT_DESC = Utilities for managing the second and third extended (ext2/ext3) filesystems. - -define LONG_DESC - The e2fsprogs package contains a number of utilities for creating, \ - checking, modifying, and correcting any inconsistencies in second \ - and third extended (ext2/ext3) filesystems. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - -mkdir $(DIR_APP)/build - - # Fix DT_TEXTREL in e2fsprogs libraries. --disable-shared and - # --with-pic are not options in E2fsprogs: - cd $(DIR_APP) && \ - find lib/ -name Makefile.in -exec sed -i "s/\$$(ALL_CFLAGS)/& -fPIC/" {} \; - - # At run time libblkid looks for the BLKID_DEBUG environment variable to - # enable debbugging, with getenv(3). Some suid-root programs use libblkid, - # such as mount(1). e2fsprogs includes a safe_getenv() function, which calls - # __secure_getenv() from libc. __secure_getenv will restrict some environment - # variables if the user is suid or sgid. So, this command replaces getenv() - # with safe_getenv(): - cd $(DIR_APP) && sed \ - -e "s/getenv(\"BLKID_DEBUG\")/safe_getenv(\"BLKID_DEBUG\")/" \ - -i lib/blkid/cache.c - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP)/build && \ - ../configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) \ - --enable-elf-shlibs - cd $(DIR_APP)/build && make $(PARALLELISMFLAGS) - cd $(DIR_APP)/build && make install-libs -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP)/build && \ - LDFLAGS=-lblkid \ - ../configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --with-root-prefix="" \ - --enable-elf-shlibs \ - --disable-libblkid \ - --disable-fsck \ - --disable-uuidd \ - --disable-libuuid - cd $(DIR_APP)/build && make $(PARALLELISMFLAGS) - cd $(DIR_APP)/build && make install - cd $(DIR_APP)/build && make install-libs - ln -svf ../../lib/libcom_err.so.2 /usr/lib/libcom_err.so - ln -svf ../../lib/libe2p.so.2 /usr/lib/libe2p.so - ln -svf ../../lib/libext2fs.so.2 /usr/lib/libext2fs.so - ln -svf ../../lib/libss.so.2 /usr/lib/libss.so - ln -svf ../../lib/libuuid.so.1 /usr/lib/libuuid.so -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/ebtables b/lfs/ebtables deleted file mode 100644 index 8e10270c6..000000000 --- a/lfs/ebtables +++ /dev/null @@ -1,98 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = ebtables -PKG_VER = v2.0.9-1 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = Networking/Tools -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://ebtables.sourceforge.net/ -LICENSE = GPLv2+ -SHORT_DESC = Ethernet Bridge frame table administration tool. - -define LONG_DESC - Ethernet bridge tables is a firewalling tool to transparently filter network \ - traffic passing a bridge. The filtering possibilities are limited to link \ - layer filtering and some basic filtering on higher network layers. -endef - -CFLAGS += -fno-stack-protector - -define QUALITY_AGENT_WHITELIST_RPATH - /sbin/ebtables-restore \ - /sbin/ebtables -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && make CFLAGS="$(CFLAGS)" BINDIR="/sbin" LIBDIR="/lib/ebtables" \ - MANDIR="/usr/share/man" $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install DESTDIR="/" BINDIR="/sbin" LIBDIR="/lib/ebtables" \ - MANDIR="/usr/share/man" INITDIR="/etc/init.d" - - rm -vf /etc/init.d/ebtables - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/expat b/lfs/expat deleted file mode 100644 index 84cdf641a..000000000 --- a/lfs/expat +++ /dev/null @@ -1,97 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = expat -PKG_VER = 2.0.1 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Libraries -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.libexpat.org/ -LICENSE = MIT -SHORT_DESC = An XML parser library. - -define LONG_DESC - This is expat, the C library for parsing XML, written by James Clark. Expat \ - is a stream oriented XML parser. This means that you register handlers with \ - the parser prior to starting the parse. These handlers are called when the \ - parser discovers the associated structures in the document being parsed. A \ - start tag is an example of the kind of structures for which you may \ - register handlers. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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 \ - --disable-static - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - rm -vf /usr/lib/libexpat.la - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/file b/lfs/file deleted file mode 100644 index 6e75fa163..000000000 --- a/lfs/file +++ /dev/null @@ -1,108 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = file -PKG_VER = 5.03 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Tools -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.darwinsys.com/file/ -LICENSE = BSD -SHORT_DESC = A utility for determining file types. - -define LONG_DESC - The file command is used to identify a particular file according to the \ - type of data contained by the file. File can identify many different \ - file types, including ELF binaries, system libraries, RPM packages, and \ - different graphics formats. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) \ - --disable-static - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --disable-static - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - rm -vf /usr/lib/libmagic.la -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/findutils b/lfs/findutils deleted file mode 100644 index cb1777720..000000000 --- a/lfs/findutils +++ /dev/null @@ -1,111 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = findutils -PKG_VER = 4.4.2 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Tools -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.gnu.org/software/findutils/ -LICENSE = GPLv3+ -SHORT_DESC = The GNU versions of find utilities (find and xargs). - -define LONG_DESC - The findutils package contains programs which will help you locate \ - files on your system. The find utility searches through a hierarchy \ - of directories looking for files which match a certain set of criteria \ - (such as a filename pattern). The xargs utility builds and executes \ - command lines from standard input arguments (usually lists of file \ - names generated by the find command). -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) \ - --libexecdir=$(TOOLS_DIR)/lib/findutils - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --libexecdir=/usr/lib/findutils \ - --localstatedir=/var/lib/locate - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - mv -v /usr/bin/find /bin - sed -i -e 's/find:=$${BINDIR}/find:=\/bin/' /usr/bin/updatedb -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/flex b/lfs/flex deleted file mode 100644 index c7c1bdca2..000000000 --- a/lfs/flex +++ /dev/null @@ -1,116 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = flex -PKG_VER = 2.5.35 -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 = Development/Tools -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = m4 - -URL = http://flex.sourceforge.net/ -LICENSE = BSD -SHORT_DESC = A tool for creating scanners (text pattern recognizers). - -define LONG_DESC - The flex program generates scanners. Scanners are programs which can \ - recognize lexical patterns in text. Flex takes pairs of regular \ - expressions and C code as input and generates a C source file as \ - output. The output file is compiled and linked with a library to \ - produce an executable. The executable searches through its input for \ - occurrences of the regular expressions. When a match is found, it \ - executes the corresponding C code. Flex was designed to work with \ - both Yacc and Bison, and is used by many programs as part of their \ - build process. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) \ - --disable-static - - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --disable-static - - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - echo "#!/bin/sh" > /usr/bin/lex - echo "exec /usr/bin/flex -l \"$$@\"" >> /usr/bin/lex - chmod 755 /usr/bin/lex -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/gawk b/lfs/gawk deleted file mode 100644 index 011f85617..000000000 --- a/lfs/gawk +++ /dev/null @@ -1,111 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = gawk -PKG_VER = 3.1.7 -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/Tools -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.gnu.org/software/gawk/gawk.html -LICENSE = GPLv3+ -SHORT_DESC = The GNU version of the awk text processing utility. - -define LONG_DESC - The gawk package contains the GNU version of awk, a text processing \ - utility. Awk interprets a special-purpose programming language to do \ - quick and easy text pattern matching and reformatting jobs. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && \ - ac_cv_func_working_mktime=yes \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) \ - --libexecdir=$(TOOLS_DIR)/lib - cd $(DIR_APP) && echo "#define HAVE_LANGINFO_CODESET 1" >> config.h - cd $(DIR_APP) && echo "#define HAVE_LC_MESSAGES 1" >> config.h - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && \ - ac_cv_func_working_mktime=yes \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --libexecdir=/usr/lib - cd $(DIR_APP) && echo "#define HAVE_LANGINFO_CODESET 1" >> config.h - cd $(DIR_APP) && echo "#define HAVE_LC_MESSAGES 1" >> config.h - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/gcc b/lfs/gcc deleted file mode 100644 index 2823f22a4..000000000 --- a/lfs/gcc +++ /dev/null @@ -1,263 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = gcc -PKG_VER = 4.4.1 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.bz2 -DIR_APP = $(DIR_SRC)/$(THISAPP) - -ifeq "$(STAGE)" "base" - OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) -else - OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)-pass$(PASS) -endif - -MAINTAINER = -GROUP = Development/Compilers -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://gcc.gnu.org/ -LICENSE = GPLv3+ and GPLv2+ with exceptions -SHORT_DESC = Various compilers (C, C++, Objective-C, Java, ...). - -define LONG_DESC - The gcc package contains the GNU Compiler Collection. \ - You'll need this package in order to compile C code. -endef - -CFLAGS = -D__USE_XOPEN2K8 -pipe -CXXFLAGS = - -GMP = $(shell grep ^PKG_VER $(DIR_LFS)/gmp | awk '{ print $$3 }') -MPFR = $(shell grep ^PKG_VER $(DIR_LFS)/mpfr | awk '{ print $$3 }') - -ifneq "$(STAGE)" "base" -ifeq "$(MACHINE)" "i586" - CONFIGURE_ARGS = --disable-decimal-float -endif -endif - -ifeq "$(MACHINE)" "x86_64" - CONFIGURE_ARGS = --without-cloog --without-ppl --disable-multilib -endif - -ifneq "$(MACHINE)" "x86_64" - CONFIG_CPU = --with-cpu=$(MACHINE) --with-arch=$(MACHINE) -endif - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - gmp-$(GMP).tar.bz2 mpfr-$(MPFR).tar.bz2 \ - $(THISAPP)-espf-1.patch \ - $(THISAPP)-branch-startfiles-1.patch \ - $(THISAPP)-asprintf_fix.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) $(DIR_SRC)/gcc-build && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - -mkdir -v $(DIR_SRC)/gcc-build - - # First, unpack gmp and mpfr. - # We use the build-"magic" of the gcc build system that we compile libgmp and - # libmpfr right (with -fPIC and so on). - cd $(DIR_APP) && $(EXTRACTOR) $(DIR_DL)/gmp-$(GMP).tar.bz2 - cd $(DIR_APP) && ln -svf gmp-* gmp - cd $(DIR_APP) && $(EXTRACTOR) $(DIR_DL)/mpfr-$(MPFR).tar.bz2 - cd $(DIR_APP) && ln -svf mpfr-* mpfr - - # Remove unneeded features that will save some compile time - rm -rf $(DIR_APP)/lib{gfortran,java,objc} \ - $(DIR_APP)/gcc/{fortran,java,objc,objcp} - - # Branding gcc - cd $(DIR_APP) && sed -e "s:PKGVERSION:\"(GCC for $(NAME)-${VERSION}) \":" \ - -i gcc/version.c - -ifeq "$(STAGE)" "toolchain" -ifeq "$(PASS)" "1" - ## Enable -fPIC by default - cd $(DIR_APP) && sed 's/^\(#define CC1_SPEC.*\)\("\)$$/\1 %{fno-pic|fpic|fPIC:;:-fPIC}\2/' \ - -i gcc/config/i386/linux.h - cd $(DIR_APP) && sed 's/^\(#define CC1_SPEC.*\)\("\)$$/\1 %{fno-pic|fpic|fPIC:;:-fPIC}\2/' \ - -i gcc/config/i386/x86-64.h - - # libssp has no use with new versions of Glibc. Glibc completely replaces all - # functions in libssp, linking to libssp will cause conflicts with libc, so - # libssp is a waste of space... so --disable-libssp. - - cd $(DIR_SRC)/gcc-build && \ - CC="gcc -B/usr/bin/" \ - ../$(THISAPP)/configure \ - $(CONFIGURE_ARCH) \ - --target=$(IFS_TARGET) \ - $(CONFIG_CPU) \ - --prefix=$(TOOLS_DIR) \ - --with-local-prefix=$(TOOLS_DIR) \ - --libexecdir=$(TOOLS_DIR)/lib \ - --enable-languages=c \ - --enable-shared \ - --disable-nls \ - --disable-libssp \ - --disable-werror \ - --disable-static \ - $(CONFIGURE_ARGS) - - cd $(DIR_SRC)/gcc-build && make $(PARALLELISMFLAGS) - cd $(DIR_SRC)/gcc-build && make install - - ln -fvs gcc $(TOOLS_DIR)/bin/cc -endif - -ifeq "$(PASS)" "2" - # Enable hardening by default: - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-espf-1.patch - - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-branch-startfiles-1.patch - - # This patch fixes a conflict between libiberty's asprintf() and Glibc's, when - # -D_FORTIFY_SOURCE=2 is used: - cd $(DIR_APP) && patch -Np0 -i $(DIR_PATCHES)/$(THISAPP)-asprintf_fix.patch - - cd $(DIR_APP) && sed 's@\./fixinc\.sh@-c true@' -i gcc/Makefile.in - cd $(DIR_APP) && sed 's/^XCFLAGS =$$/& -fomit-frame-pointer/' -i gcc/Makefile.in - cd $(DIR_APP) && \ - for file in $$(find gcc/config -name linux64.h -o -name linux.h); do \ - cp -uv $$file{,.orig}; \ - sed -e 's@/lib\(64\)\?\(32\)\?/ld@$(TOOLS_DIR)&@g' \ - -e 's@/usr@$(TOOLS_DIR)@g' $$file.orig > $$file; \ - echo -e "\n#undef STANDARD_INCLUDE_DIR\n#define STANDARD_INCLUDE_DIR 0" >> $$file; \ - touch $$file.orig; \ - done - -ifeq "$(MACHINE)" "x86_64" - # Remove multilib options and searchpath (/lib... /usr/lib...) - cd $(DIR_APP) && echo "" > gcc/config/i386/t-linux64 - ## Enable -fPIC by default (why i have to do this again ???) - cd $(DIR_APP) && sed 's/^\(#define CC1_SPEC.*\)\("\)$$/\1 %{fno-pic|fpic|fPIC:;:-fPIC}\2/' \ - -i gcc/config/i386/x86-64.h -endif - - # Libgomp uses -Werror regardless of --disable-werror, and this will cause a - # build failure when -D_FORTIFY_SOURCE=2 causes build time warnings: - cd $(DIR_APP) && sed -e "s/-Werror//" -i libgomp/configure - - # We need to do another bootstrap, so that everything in $(TOOLS_DIR) is hardened. - cd $(DIR_SRC)/gcc-build && \ - ../$(THISAPP)/configure \ - $(CONFIGURE_ARCH) \ - --target=$(IFS_TARGET) \ - $(CONFIG_CPU) \ - --prefix=$(TOOLS_DIR) \ - --with-local-prefix=$(TOOLS_DIR) \ - --libexecdir=$(TOOLS_DIR)/lib \ - --enable-espf \ - --enable-clocale=gnu \ - --enable-shared \ - --enable-threads=posix \ - --enable-__cxa_atexit \ - --enable-languages=c,c++ \ - --disable-libstdcxx-pch \ - --disable-bootstrap \ - --disable-werror \ - --disable-libssp \ - --disable-nls \ - --disable-static \ - $(CONFIGURE_ARGS) - cd $(DIR_SRC)/gcc-build && make $(PARALLELISMFLAGS) - cd $(DIR_SRC)/gcc-build && make install -endif -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-espf-1.patch - - cd $(DIR_APP) && sed -i 's/install_to_$$(INSTALL_DEST) //' libiberty/Makefile.in - cd $(DIR_APP) && sed -i 's/^XCFLAGS =$$/& -fomit-frame-pointer/' gcc/Makefile.in - cd $(DIR_APP) && sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in - - # Libgomp uses -Werror regardless of --disable-werror, and this will cause a - # build failure when -D_FORTIFY_SOURCE=2 causes build time warnings: - cd $(DIR_APP) && sed -e "s/-Werror//" -i libgomp/configure - - cd $(DIR_SRC)/gcc-build && \ - ../$(THISAPP)/configure \ - $(CONFIGURE_ARCH) \ - --target=$(IFS_TARGET) \ - $(CONFIG_CPU) \ - --prefix=/usr \ - --libexecdir=/usr/lib \ - --enable-espf \ - --enable-shared \ - --enable-threads=posix \ - --enable-__cxa_atexit \ - --enable-clocale=gnu \ - --enable-languages=c,c++ \ - --disable-bootstrap \ - --disable-werror \ - --disable-libssp \ - --disable-static \ - $(CONFIGURE_ARGS) - - cd $(DIR_SRC)/gcc-build && make $(PARALLELISMFLAGS) - cd $(DIR_SRC)/gcc-build && make install - - rm -vf /usr/lib/lib{ffi,gomp,mudflap{,th},stdc++,supc++}.la - - ln -sfv ../usr/bin/cpp /lib - ln -sfv gcc /usr/bin/cc -endif - - @rm -rf $(DIR_APP) $(DIR_SRC)/gcc-build - @$(POSTBUILD) diff --git a/lfs/gettext b/lfs/gettext deleted file mode 100644 index f94154be4..000000000 --- a/lfs/gettext +++ /dev/null @@ -1,122 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = gettext -PKG_VER = 0.17 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Base -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = #bison - -URL = http://www.gnu.org/software/gettext/ -LICENSE = GPLv3 LGPL2+ -SHORT_DESC = GNU libraries and utilities for producing multi-lingual messages. - -define LONG_DESC - The GNU gettext package provides a set of tools and documentation for \ - producing multi-lingual messages in programs. Tools include a set of \ - conventions about how programs should be written to support message \ - catalogs, a directory and file naming organization for the message \ - catalogs, a runtime library which supports the retrieval of translated \ - messages, and stand-alone programs for handling the translatable and \ - the already translated strings. Gettext provides an easy to use \ - library and tools for creating, using, and modifying natural language \ - catalogs and is a powerful and simple method for internationalizing \ - programs. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - $(THISAPP)-open-args.patch \ - $(THISAPP)-rpathFix.patch \ - $(THISAPP)-automake-1.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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 -Np0 -i $(DIR_PATCHES)/$(THISAPP)-open-args.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-rpathFix.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-automake-1.patch - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP)/gettext-tools && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) \ - --disable-shared - cd $(DIR_APP)/gettext-tools && make -C gnulib-lib - cd $(DIR_APP)/gettext-tools && make -C src msgfmt - cd $(DIR_APP)/gettext-tools && cp -v src/msgfmt $(TOOLS_DIR)/bin -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --disable-static - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - rm -vf /usr/lib/lib{asprintf,gettext{lib,po,src}}.la -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/glib2 b/lfs/glib2 deleted file mode 100644 index 7326f15c1..000000000 --- a/lfs/glib2 +++ /dev/null @@ -1,100 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = glib -PKG_VER = 2.22.2 -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/Libraries -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = pkg-config -DEPS = pcre - -URL = http://www.gtk.org -LICENSE = LGPLv2+ -SHORT_DESC = A library of handy utility functions. - -define LONG_DESC - GLib is the low-level core library that forms the basis \ - for projects such as GTK+ and GNOME. It provides data structure \ - handling for C, portability wrappers, and interfaces for such runtime \ - functionality as an event loop, threads, dynamic loading, and an \ - object system. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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 \ - --with-pcre=system - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - cd $(DIR_APP) && ./mkinstalldirs /lib - cd /usr/lib && for name in glib gobject gmodule gthread gio; do \ - mv -v lib$${name}-2.0.so.* ../../lib; \ - ln -svf ../../lib/lib$${name}-2.0.so.*.* lib$${name}-2.0.so; \ - rm -vf /usr/lib/lib$${name}-2.0.la; \ - done - cp -vf $(DIR_SOURCE)/$(PKG_NAME)/glib2-locale.sh /etc/profile.d/ - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/glibc b/lfs/glibc deleted file mode 100644 index 20fa68223..000000000 --- a/lfs/glibc +++ /dev/null @@ -1,318 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = glibc -PKG_VER = 2.10.1 -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 -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://sources.redhat.com/glibc/ -LICENSE = GPLv2+ LGPLv2+ -SHORT_DESC = The GNU libc libraries. - -define LONG_DESC - The glibc package contains standard libraries which are used by \ - multiple programs on the system. In order to save disk space and \ - memory, as well as to make upgrading easier, common system code is \ - kept in one place and shared between programs. This particular package \ - contains the most important sets of shared libraries: the standard C \ - library and the standard math library. Without these two libraries, a \ - Linux system will not function. -endef - -CFLAGS = -O2 -fomit-frame-pointer -pipe -DPIC -fno-strict-aliasing \ - -mno-tls-direct-seg-refs -D_FORTIFY_SOURCE=2 -fstack-protector-all -CXXFLAGS = $(CFLAGS) - -OPTIMIZED_KERNEL = 2.6.18 - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - $(THISAPP)-pt_pax-1.patch \ - $(THISAPP)-strlcpy_strlcat-1.patch \ - $(THISAPP)-asprintf_reset2null-1.patch \ - $(THISAPP)-issetugid-1.patch \ - $(THISAPP)-localedef_trampoline-1.patch \ - $(THISAPP)-sanitize_env.patch \ - $(THISAPP)-mktemp_urandom.patch \ - $(THISAPP)-res_randomid.patch \ - $(THISAPP)-resolv_response_length.patch \ - $(THISAPP)-undefine-__i686.patch \ - $(THISAPP)-arc4random.patch \ - $(THISAPP)-hardened-configure-picdefault.patch \ - $(THISAPP)-hardened-inittls-nosysenter.patch \ - $(THISAPP)-hardened-pie.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) $(DIR_SRC)/glibc-build && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - @mkdir $(DIR_SRC)/glibc-build - - # In the vi_VN.TCVN locale, bash enters an infinite loop at startup. It is - # unknown whether this is a bash bug or a Glibc problem. Disable - # installation of this locale in order to avoid the problem. - cd $(DIR_APP) && sed -i '/vi_VN.TCVN/d' localedata/SUPPORTED - - # The ldd shell script contains Bash-specific syntax. Change its default - # program interpreter to /bin/bash in case another /bin/sh is installed. - cd $(DIR_APP) && sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in - - # The next patch modifies the localedef program so it does not use GCC - # Trampoline code (http://gcc.gnu.org/onlinedocs/gccint/Trampolines.html), - # which relies on an executable stack to run. Without this patch the localedef - # program will be killed if it is run on a kernel with PaX memory protection. - # See http://pax.grsecurity.net/docs/pageexec.txt and - # http://pax.grsecurity.net/docs/segmexec.txt for more information: - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-localedef_trampoline-1.patch - - # Support for PT_PaX markings: - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-pt_pax-1.patch - - # The asprintf(3) and vasprintf(3) functions are GNU extentions, not defined - # by C or Posix standards. In Glibc these functions leave (char **strp) undefined - # after an error. This patch resets (char **strp) to NULL after an error, for - # sanity. - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-asprintf_reset2null-1.patch - - # This patch adds the issetugid() function, which is a front-end to the - # __libc_enable_secure() dynamic linker private function. This function - # reports whether the program is running with matching real and effective - # ID's, or not, to determine whether the program is running with set-uid or - # set-gid privileges. Many packages will search for issetugid() and use it if - # found, such as Ncurses. This is safer than allowing each program to - # determine privileges itself because it is tested at a lower level which is - # not manipulatable by the user. Apply this patch with the following command: - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-issetugid-1.patch - - # This patch resticts the environment, particularly with setuid programs: - #cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-sanitize_env.patch - - # This patch adds the strlcpy and strlcat functions and manual pages to Glibc. - # A paper written about these functions is available here: - # http://www.courtesan.com/todd/papers/strlcpy.html. The Glibc project has - # refused to add these functions, and that mail tread starts here: - # http://sources.redhat.com/ml/libc-alpha/2000-08/msg00052.html. Linus Torvalds - # has added a similar function to the Linux kernel, and that mail thread is - # here: http://lwn.net/Articles/33814/. The strlcpy() and strlcat() functions - # are replacements for strncpy() and strncat(). The controversy of these - # functions is that strlcpy() and strlcat() copy the source data to the - # destination buffer until the destination is full, and discards the rest of - # the data if there is any. This means that these functions will never - # overflow. The basis for the Glibc team's refusal to add these functions is - # that they silently hide programing errors, and they have a higher performance - # hit than strncpy() and strncat(). These functions should not be needed in a - # perfect world, but were invented to deal with the real world. Many packages - # will use these functions if they are found, such as Perl and many BLFS - # packages. These functions do reduce buffer overflows, and so they are - # recommended. After installing this patch no other effort is needed to use it. - # Packages will use autotools to detect whether they are available or not: - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-strlcpy_strlcat-1.patch - - # The patch modifies __gen_tempname(), used by the mk*temp()/tmpnam() family - # of functions, to use /dev/urandom instead of hp-timing, gettimeofday(), or - # getpid(): - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-mktemp_urandom.patch - - # The res_randomid() function is a pseudo-random number generator, using - # getpid() for entropy. See: http://www.openbsd.org/advisories/res_random.txt - # for the vulnerability. This patch uses /dev/urandom instead: - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-res_randomid.patch - - # This patch does a check on the buffer size of res_* functions: - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-resolv_response_length.patch - - # We don't install pt_chown(1) on the final system, so why install it to - # $(TOOLS_DIR): - cd $(DIR_APP) && sed -e "/^install.*pt_chown/d" -i login/Makefile - - # ldconfig is statically linked, so don't build it PIC: - cd $(DIR_APP) && sed "s/CFLAGS-ldconfig.c =/& -fno-PIC -fno-PIE/" \ - -i elf/Makefile - - # Build nscd with -fstack-protector-all, instead of -fstack-protector: - cd $(DIR_APP) && sed -e "s/fstack-protector/&-all/" -i nscd/Makefile - - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-arc4random.patch - - # We don't need to set -march=i?86 in confparams because GCC was built with - # --with-arch=i?86. -ifeq "$(MACHINE)" "i686" - cd $(DIR_APP) && patch -Np0 -i $(DIR_PATCHES)/$(THISAPP)-undefine-__i686.patch -endif - - # Some hardening patches - cd $(DIR_APP) && patch -Np0 -i $(DIR_PATCHES)/$(THISAPP)-hardened-pie.patch - cd $(DIR_APP) && patch -Np0 -i \ - $(DIR_PATCHES)/$(THISAPP)-hardened-configure-picdefault.patch - cd $(DIR_APP) && patch -Np0 -i \ - $(DIR_PATCHES)/$(THISAPP)-hardened-inittls-nosysenter.patch - - cp -vf $(DIR_SOURCE)/$(PKG_NAME)/$(THISAPP)-stack_chk_fail.c \ - $(DIR_APP)/debug/stack_chk_fail.c - - # --sbindir=$(TOOLS_DIR)/bin does not work... anyone want to fix this? - # We don't need Glibc's sbin programs, but still. - - # --enable-stackguard-randomization could be added here, but this is primarily - # for attacks by local users, and we shouldn't have those in the rebooted - # system. Adding this will empty the /dev/random entropy pool (via - # /dev/urandom), unless the system is running a Random Number Gathering Daemon - # (rngd). This version of Glibc uses high precision timing with SSP, so the - # canary value changes at run-time. This is not as good as /dev/urandom, but - # it's better than nothing and has very good performance. - -ifeq "$(STAGE)" "toolchain" - # Glibc uses a hard coded path for /etc/ld.so.preload. To keep Glibc from - # preloading libraries from the host machine perform the following command: - cd $(DIR_APP) && sed -e "s@/etc/ld.so.preload@$(TOOLS_DIR)@" -i elf/rtld.c - -mkdir -v $(TOOLS_DIR)/etc - touch $(TOOLS_DIR)/etc/ld.so.conf - - cd $(DIR_SRC)/glibc-build && \ - CFLAGS= \ - CXXFLAGS= \ - ../$(THISAPP)/configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) \ - --libexecdir=$(TOOLS_DIR)/lib/$(PKG_NAME) \ - --with-headers=$(TOOLS_DIR)/include \ - --with-binutils=$(TOOLS_DIR)/bin \ - --disable-profile \ - --enable-add-ons \ - --enable-kernel=$(OPTIMIZED_KERNEL) \ - --without-selinux \ - --without-gd \ - --enable-bind-now \ - --enable-stackguard-randomization -endif - -ifeq "$(STAGE)" "base" - if [ ! -e /bin/pwd ]; then ln -sfn $(TOOLS_DIR)/bin/pwd /bin/pwd; fi - cd $(DIR_APP) && sed 's/-nostdlib/& -fno-stack-protector/g' -i.orig configure - cd $(DIR_APP) && sed -i 's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=$(LINKER) -o|' \ - scripts/test-installation.pl - touch /etc/ld.so.conf - - cd $(DIR_SRC)/glibc-build && \ - CFLAGS= \ - CXXFLAGS= \ - ../$(THISAPP)/configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --libexecdir=/usr/lib/glibc \ - --disable-profile \ - --enable-add-ons \ - --enable-kernel=$(OPTIMIZED_KERNEL) \ - --without-selinux \ - --disable-werror \ - --enable-bind-now \ - --enable-stackguard-randomization \ - --with-stack-protector=all \ - --enable-omitfp -endif - - # Our GCC is already passing -fPIC, and that's all we want for the libraries. - # LDFLAGS.so is appended to so we don't build shared libraries with - # DT_TEXTREL (and to tell us if something goes wrong). For now we only build - # the libraries, not the programs: - echo "build-programs=no" \ - >> $(DIR_SRC)/glibc-build/configparms - cd $(DIR_SRC)/glibc-build && make PARALLELMFLAGS=$(PARALLELISMFLAGS) \ - CFLAGS="-O2 -DPIC -fno-stack-protector -U_FORTIFY_SOURCE" \ - CXXFLAGS="-O2 -DPIC -fno-stack-protector -U_FORTIFY_SOURCE" - - # Then build the programs with hardening, so everything possible in - # $(TOOLS_DIR) is hardened: - echo "CFLAGS = $(CFLAGS)" > $(DIR_SRC)/glibc-build/configparms - echo "CXXFLAGS = $(CXXFLAGS)" >> $(DIR_SRC)/glibc-build/configparms - cd $(DIR_SRC)/glibc-build && make PARALLELMFLAGS=$(PARALLELISMFLAGS) \ - CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" - cd $(DIR_SRC)/glibc-build && make install - -ifeq "$(STAGE)" "base" - install -vd /usr/lib/static/ - mv -v /usr/lib/{libbsd-compat,libg,libieee,libmcheck}.a /usr/lib/static/ - mv -v /usr/lib/{libBrokenLocale,libanl,libcrypt}.a /usr/lib/static/ - mv -v /usr/lib/{libm,libnsl,libpthread,libresolv}.a /usr/lib/static/ - mv -v /usr/lib/{librpcsvc,librt,libutil}.a /usr/lib/static/ - - rm -vf {/usr,}/lib/*_g.a - - # Locales - -mkdir -pv /usr/lib/locale - # This would install all locales that are supported, but we do only - # install a minimal set of them - #cd $(DIR_SRC)/glibc-build && make localedata/install-locales - cd $(DIR_SRC)/glibc-build && localedef -i de_DE -f UTF-8 de_DE.UTF-8 - cd $(DIR_SRC)/glibc-build && localedef -i en_US -f UTF-8 en_US.UTF-8 - cd $(DIR_SRC)/glibc-build && localedef -i da_DK -f UTF-8 da_DK.UTF-8 - - # Timezone - cp -v --remove-destination /usr/share/zoneinfo/GMT /etc/localtime - - # Configuration - cp -vf $(DIR_SOURCE)/$(PKG_NAME)/{ld.so.conf,nsswitch.conf} /etc - - if [ -h /bin/pwd ]; then rm -f /bin/pwd; fi -endif - - @rm -rf $(DIR_APP) $(DIR_SRC)/glibc-build - @$(POSTBUILD) diff --git a/lfs/gmp b/lfs/gmp deleted file mode 100644 index c24d0c192..000000000 --- a/lfs/gmp +++ /dev/null @@ -1,106 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = gmp -PKG_VER = 4.3.1 -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/Libraries -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://gmplib.org/ -LICENSE = LGPLv3+ -SHORT_DESC = A GNU arbitrary precision library. - -define LONG_DESC - The gmp package contains GNU MP, a library for arbitrary precision \ - arithmetic, signed integers operations, rational numbers and floating \ - point numbers. GNU MP is designed for speed, for both small and very \ - large operands. GNU MP is fast because it uses fullwords as the basic \ - arithmetic type, it uses fast algorithms, it carefully optimizes \ - assembly code for many CPUs' most common inner loops, and it generally \ - emphasizes speed over simplicity/elegance in its operations. -endef - -ifeq "$(MACHINE)" "x86_64" - ABI = 64 -else - ABI = 32 -endif -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && ABI=$(ABI) \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --enable-cxx \ - --enable-mpbsd \ - --disable-static - - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - rm -vf /usr/lib/libgmp{,xx}.la /usr/lib/libmp.la - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/gobject-introspection b/lfs/gobject-introspection deleted file mode 100644 index 61dba59b5..000000000 --- a/lfs/gobject-introspection +++ /dev/null @@ -1,98 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = gobject-introspection -PKG_VER = 0.6.5 -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 = Development/Libraries -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://live.gnome.org/GObjectIntrospection -LICENSE = GPLv2+, LGPLv2+, MIT -SHORT_DESC = Introspection system for GObject-based libraries. - -define LONG_DESC - GObject Introspection can scan C header and source files in order \ - to generate introspection "typelib" files. It also provides an API to \ - examine typelib files, useful for creating language bindings among \ - other things. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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 \ - --sbindir=/sbin \ - --disable-static - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - # Removing static libraries - rm -rf /usr/lib/gobject-introspection/giscanner/*.la - rm -rf /usr/lib/libgirepository-*.la - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/gperf b/lfs/gperf deleted file mode 100644 index f22c8266a..000000000 --- a/lfs/gperf +++ /dev/null @@ -1,93 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = gperf -PKG_VER = 3.0.4 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = Development/Tools -CORE = yes -EXTRA = no -DEBUG = no -DEPS = -BUILD_DEPS = - -URL = http://www.gnu.org/software/gperf/ -LICENSE = GPLv2+ -SHORT_DESC = A perfect hash function generator. - -define LONG_DESC - Gperf is a perfect hash function generator written in C++. Simply \ - stated, a perfect hash function is a hash function and a data \ - structure that allows recognition of a key word in a set of words \ - using exactly one probe into the data structure. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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 \ - --prefix=/usr \ - --disable-static - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/grep b/lfs/grep deleted file mode 100644 index e783f096d..000000000 --- a/lfs/grep +++ /dev/null @@ -1,110 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = grep -PKG_VER = 2.5.4 -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 = Applications/Text -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.gnu.org/software/grep/ -LICENSE = GPLv3+ -SHORT_DESC = A pattern matching utilities. - -define LONG_DESC - The GNU versions of commonly used grep utilities. Grep searches through \ - textual input for lines which contain a match to a specified pattern and then \ - prints the matching lines. GNU's grep utilities include grep, egrep and fgrep. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - -ifeq "$(STAGE)" "toolchain" - # --without-included-regex makes Grep use libc for regex. This gets rid of - # some compiler warnings, and I can't imagine why it's unsafe. - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) \ - --disable-perl-regexp \ - --without-included-regex - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --bindir=/bin \ - --without-included-regex - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/groff b/lfs/groff deleted file mode 100644 index 5ca9c0de3..000000000 --- a/lfs/groff +++ /dev/null @@ -1,100 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = groff -PKG_VER = 1.18.1.4 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = Applications/Text -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://groff.ffii.org/ -LICENSE = GPLv2 and GFDL -SHORT_DESC = A document formatting system. - -define LONG_DESC - Groff is a document formatting system. Groff takes standard text and \ - formatting commands as input and produces formatted output. The \ - created documents can be shown on a display or printed on a printer. \ - Groff's formatting commands allow you to specify font type and size, \ - bold type, italic type, the number and size of columns on a page, and \ - more. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - $(THISAPP)-debian_fixes-1.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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)-debian_fixes-1.patch - cd $(DIR_APP) && sed -i -e 's/2010/002D/' -e 's/2212/002D/' \ - -e 's/2018/0060/' -e 's/2019/0027/' font/devutf8/R.proto - cd $(DIR_APP) && PAGE=A4 \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --enable-multibyte - cd $(DIR_APP) && make #$(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - ln -sv eqn /usr/bin/geqn - ln -sv tbl /usr/bin/gtbl - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/grub b/lfs/grub deleted file mode 100644 index 2da93b454..000000000 --- a/lfs/grub +++ /dev/null @@ -1,155 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = grub -PKG_VER = 0.97 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Boot -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.gnu.org/software/grub/ -LICENSE = GPLv2+ -SHORT_DESC = Grand Unified Boot Loader. - -define LONG_DESC - GRUB (Grand Unified Boot Loader) is an experimental boot loader \ - capable of booting into most free operating systems - Linux, FreeBSD, \ - NetBSD, GNU Mach, and others as well as most commercial operating \ - systems. -endef - -define QUALITY_AGENT_WHITELIST_EXECSTACK - /usr/sbin/grub -endef - -CFLAGS = -Os -g -fno-strict-aliasing -fno-stack-protector -fno-pic -fno-pie -nopie -CXXFLAGS = - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - grub-0.94-i2o.patch \ - grub-0.95-moreraid.patch \ - grub-0.93-special-device-names.patch \ - grub-0.95-splash-error-term.patch \ - grub-0.95-xpmjunk.patch \ - grub-0.93-graphics-bootterm.patch \ - grub-0.91-splashimagehelp.patch \ - grub-0.95-graphics.patch \ - $(THISAPP)-disk_geometry-1.patch \ - grub-0.93-configfile.patch \ - $(THISAPP)-256byte_inode-1.patch \ - grub-0.94-installcopyonly.patch \ - $(THISAPP)-install.in.patch \ - $(THISAPP)-ext4-1.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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)-disk_geometry-1.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/grub-0.95-graphics.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/grub-0.91-splashimagehelp.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/grub-0.93-graphics-bootterm.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/grub-0.95-xpmjunk.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/grub-0.95-splash-error-term.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/grub-0.93-special-device-names.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/grub-0.95-moreraid.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/grub-0.94-i2o.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/grub-0.93-configfile.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-256byte_inode-1.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-install.in.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/grub-0.94-installcopyonly.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-ext4-1.patch - - cd $(DIR_APP) && autoconf - - cd $(DIR_APP) && \ - grub_cv_prog_objcopy_absolute=yes \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr - - cd $(DIR_APP) && make -j $(PRALLELISMFLAGS) - cd $(DIR_APP) && make install - - sed -e "s/pkgdatadir/pkglibdir/g" -i /usr/sbin/grub-install - - mkdir -vp /boot/grub - - for i in $(DIR_SOURCE)/bootloader/{grub.conf,splash.xpm.gz}; do \ - [ -f $$i ] && cp -vf $$i /boot/grub; \ - done - -ifeq "$(EMB)" "1" - # Enable serial console on embedded build - sed -e "s/^#serial/serial/" \ - -e "s/@SERIAL@/console=ttyS0,9600n8/g" \ - -i /boot/grub/grub.conf -else - # Remove the placeholder @SERIAL@ on non-embedded build - sed -e "s/@SERIAL@//g" \ - -i /boot/grub/grub.conf -endif - - # Grub uses anonymous mapping and will be killed by PaX. - # The following command changes Grub's PaX flags: - paxctl -spme /usr/sbin/grub - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/gzip b/lfs/gzip deleted file mode 100644 index 4e7992f52..000000000 --- a/lfs/gzip +++ /dev/null @@ -1,124 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = gzip -PKG_VER = 1.3.13 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = Applications/Compression -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.gzip.org/ -LICENSE = GPLv2 -SHORT_DESC = The GNU data compression program. - -define LONG_DESC - The gzip package contains the popular GNU gzip data compression \ - program. Gzipped files have a .gz extension. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - $(THISAPP)-openbsd-owl-tmp.patch \ - $(THISAPP)-cve-2006-4337_len.patch \ - $(THISAPP)-cve-2006-4338.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - - # This patch modifies 'znew' so we don't use temporary files: - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-openbsd-owl-tmp.patch - - # Fix CVE 2006-4337 - # (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4337) and - # CVE 2006-4338 (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4338), - # against malformed gzip files: - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-cve-2006-4337_len.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-cve-2006-4338.patch - -ifeq "$(STAGE)" "toolchain" - # NO_ASM is for textrels. - cd $(DIR_APP) && \ - DEFS=NO_ASM \ - CPPFLAGS="-DHAVE_LSTAT" \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - -ifeq "$(STAGE)" "base" - # NO_ASM is for textrels. - cd $(DIR_APP) && \ - DEFS=NO_ASM \ - CPPFLAGS="-DHAVE_LSTAT" \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --bindir=/bin - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - mv -v /bin/{gzexe,uncompress,zcmp,zdiff,zegrep} /usr/bin - mv -v /bin/{zfgrep,zforce,zgrep,zless,zmore,znew} /usr/bin -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/iana-etc b/lfs/iana-etc deleted file mode 100644 index 40092ba35..000000000 --- a/lfs/iana-etc +++ /dev/null @@ -1,86 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = iana-etc -PKG_VER = 2.30 -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 = Networking/Tools -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.iana.org/ -LICENSE = -SHORT_DESC = The Internet Assigned Numbers Authority. - -define LONG_DESC - The Internet Assigned Numbers Authority (IANA) is responsible for the \ - global coordination of the DNS Root, IP addressing, and other Internet \ - protocol resources. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && make - cd $(DIR_APP) && make install - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/iproute2 b/lfs/iproute2 deleted file mode 100644 index 64727d712..000000000 --- a/lfs/iproute2 +++ /dev/null @@ -1,91 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = iproute2 -PKG_VER = 2.6.29-1 -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 = Networking/Tools -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = bison flex - -URL = http://www.linuxfoundation.org/en/Net:Iproute2 -LICENSE = GPLv2+ -SHORT_DESC = Advanced IP routing and network device configuration tools. - -define LONG_DESC - The iproute package contains networking utilities (ip and rtmon, for \ - example) which are designed to use the advanced networking \ - capabilities of the Linux 2.4.x and 2.6.x kernel. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - $(THISAPP)-opt_flags.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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 -Np2 -i $(DIR_PATCHES)/$(THISAPP)-opt_flags.patch - cd $(DIR_APP) && sed -i -e "s@DESTDIR=.*@DESTDIR=@" \ - -e "s@/share/@/usr/share/@g" Makefile - cd $(DIR_APP) && make OPT_FLAGS="$(CFLAGS)" #$(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - cd $(DIR_APP) && mv -v /sbin/arpd /usr/sbin - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/iputils b/lfs/iputils deleted file mode 100644 index 8e90ce7bc..000000000 --- a/lfs/iputils +++ /dev/null @@ -1,133 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = iputils -PKG_VER = s20071127 -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 = Networking/Tools -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.skbuff.net/iputils -LICENSE = BSD -SHORT_DESC = Network monitoring tools including ping. - -define LONG_DESC - The iputils package contains basic utilities for monitoring a network, \ - including ping. The ping command sends a series of ICMP protocol \ - ECHO_REQUEST packets to a specified network host to discover whether \ - the target machine is alive and receiving network traffic. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - ifenslave-20090202.tar.gz \ - $(THISAPP)-addrcache.patch \ - $(THISAPP)-arping-infiniband.patch \ - $(THISAPP)-arping_timeout.patch \ - $(THISAPP)-countermeasures.patch \ - $(THISAPP)-idn.patch \ - $(THISAPP)-open-max.patch \ - $(THISAPP)-output.patch \ - $(THISAPP)-ping-subint.patch \ - $(THISAPP)-ping_cleanup.patch \ - $(THISAPP)-rh.patch \ - $(THISAPP)-traffic_class.patch \ - $(THISAPP)-warnings.patch \ - iputils-ifenslave-20090202.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - - cd $(DIR_APP) && $(EXTRACTOR) $(DIR_DL)/ifenslave-20090202.tar.gz - - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-addrcache.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-arping-infiniband.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-arping_timeout.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-countermeasures.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-idn.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-open-max.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-ping-subint.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-ping_cleanup.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-rh.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-traffic_class.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-warnings.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-output.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/iputils-ifenslave-20090202.patch - - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && gcc -Wall $(CLFAGS) ifenslave.c -o ifenslave - - cd $(DIR_APP) && install -cp clockdiff /usr/sbin/ - cd $(DIR_APP) && install -cp arping /sbin/ - cd $(DIR_APP) && install -cp ifenslave /sbin/ - cd $(DIR_APP) && install -cp ping /bin/ - cd $(DIR_APP) && install -cp rdisc /sbin/ - cd $(DIR_APP) && install -cp ping6 /bin/ - cd $(DIR_APP) && install -cp tracepath /bin/ - cd $(DIR_APP) && install -cp tracepath6 /bin/ - ln -svf ../../sbin/arping /usr/sbin/arping - ln -svf ../../bin/ping6 /usr/sbin/ - ln -svf ../../bin/tracepath /usr/sbin/ - ln -svf ../../bin/tracepath6 /usr/sbin/ - - setcap cap_net_admin=ep /bin/ping - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/kbd b/lfs/kbd deleted file mode 100644 index a283e207b..000000000 --- a/lfs/kbd +++ /dev/null @@ -1,104 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = kbd -PKG_VER = 1.15.1 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Base -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://ftp.altlinux.org/pub/people/legion/kbd -LICENSE = GPLv2+ -SHORT_DESC = Tools for configuring the console (keyboard, virtual terminals, etc.). - -define LONG_DESC - The kbd package contains tools for managing a Linux \ - system's console's behavior, including the keyboard, the screen \ - fonts, the virtual terminals and font files. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) $(THISAPP)-backspace-1.patch \ - kbd-latarcyrheb-16-fixed.tar.bz2 \ - kbd-latsun-fonts.tar.bz2 - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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)-backspace-1.patch - - # Adding our own fonts - cd $(DIR_APP) && $(EXTRACTOR) $(DIR_DL)/kbd-latsun-fonts.tar.bz2 - cd $(DIR_APP) && $(EXTRACTOR) $(DIR_DL)/kbd-latarcyrheb-16-fixed.tar.bz2 - - cd $(DIR_APP) && autoreconf --force --install - - cd $(DIR_APP) && sed -i "s/ifdef OPTIONAL_PROGS/ifeq (\$$(OPTIONAL_PROGS),yes)/" man/Makefile.in - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --datadir=/lib/kbd - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - mv -v /usr/bin/{kbd_mode,loadkeys,openvt,setfont} /bin - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/less b/lfs/less deleted file mode 100644 index 1c91abee4..000000000 --- a/lfs/less +++ /dev/null @@ -1,95 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = less -PKG_VER = 436 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = Applications/Text -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = pcre - -URL = http://www.greenwoodsoftware.com/less/ -LICENSE = GPLv3+ -SHORT_DESC = A text file browser similar to more, but better. - -define LONG_DESC - The less utility is a text file browser that resembles more, but has \ - more capabilities. Less allows you to move backwards in the file as \ - well as forwards. Since less doesn't have to read the entire input file \ - before it starts, less starts up more quickly than text editors (for \ - example, vi). -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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 \ - --sysconfdir=/etc \ - --with-secure \ - --with-regex=pcre - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/libidn b/lfs/libidn deleted file mode 100644 index 5f44d4b55..000000000 --- a/lfs/libidn +++ /dev/null @@ -1,97 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = libidn -PKG_VER = 0.6.14 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Libraries -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.gnu.org/software/libidn/ -LICENSE = LGPLv2+ GPLv3+ -SHORT_DESC = Internationalized Domain Name support library. - -define LONG_DESC - GNU Libidn is an implementation of the Stringprep, Punycode and \ - IDNA specifications defined by the IETF Internationalized Domain \ - Names (IDN) working group, used for internationalized domain \ - names. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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 \ - --disable-static - - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - #sed -e 's/include_next/include/g' -i /usr/include/idn-int.h - - rm -vf /usr/lib/libidn.la - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/libtool b/lfs/libtool deleted file mode 100644 index d8bfdb027..000000000 --- a/lfs/libtool +++ /dev/null @@ -1,95 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = libtool -PKG_VER = 2.2.6a -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(PKG_NAME)-2.2.6 - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Libraries -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.gnu.org/software/libtool/ -LICENSE = GPLv2+ and LGPLv2+ and GFDL -SHORT_DESC = Runtime libraries for GNU Libtool Dynamic Module Loader. - -define LONG_DESC - GNU Libtool is a set of shell scripts which automatically \ - configure UNIX and UNIX-like systems to generically build \ - shared libraries. Libtool provides a consistent, portable \ - interface which simplifies the process of using shared libraries. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install : $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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 \ - --disable-static - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - rm -vf /usr/lib/libltdl.la - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/libusb b/lfs/libusb deleted file mode 100644 index 2aa2d5c93..000000000 --- a/lfs/libusb +++ /dev/null @@ -1,92 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = libusb -PKG_VER = 1.0.2 -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/Libraries -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://sourceforge.net/projects/libusb/ -LICENSE = LGPLv2+ -SHORT_DESC = A library which allows userspace access to USB devices. - -define LONG_DESC - This package provides a way for applications to access USB devices. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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 \ - --disable-static - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - rm -vf /usr/lib/libusb-1.0.la - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/libusb-compat b/lfs/libusb-compat deleted file mode 100644 index 89e1c000d..000000000 --- a/lfs/libusb-compat +++ /dev/null @@ -1,93 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = libusb -PKG_VER = 0.1.12 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Libraries -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = libusb - -URL = http://sourceforge.net/projects/libusb/ -LICENSE = LGPLv2+ -SHORT_DESC = A library which allows userspace access to USB devices. - -define LONG_DESC - This package provides a way for applications to access USB devices. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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 \ - --disable-build-docs \ - --disable-static - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - rm -vf /usr/lib/libusb{,pp}.la - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/libxml2 b/lfs/libxml2 deleted file mode 100644 index 9767b94e6..000000000 --- a/lfs/libxml2 +++ /dev/null @@ -1,101 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = libxml2 -PKG_VER = 2.7.2 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Libraries -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://xmlsoft.org/ -LICENSE = MIT -SHORT_DESC = Library providing XML and HTML support. - -define LONG_DESC - This library allows to manipulate XML files. It includes support \ - to read, modify and write XML and HTML files. There is DTDs support \ - this includes parsing and validation even with complex DtDs, either \ - at parse time or later once the document has been modified. The output \ - can be a simple SAX stream or and in-memory DOM like representations. \ - In this case one can use the built-in XPath and XPointer implementation \ - to select subnodes or ranges. A flexible Input/Output mechanism is \ - available, with existing HTTP and FTP modules and combined to an URI \ - library. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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 \ - --disable-static - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - $(PYTHON_COMPILE) - - rm -vf /usr/lib/libxml2.la /usr/lib/python*/site-packages/libxml2mod.la - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/lzo b/lfs/lzo deleted file mode 100644 index cee79c4fd..000000000 --- a/lfs/lzo +++ /dev/null @@ -1,97 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = lzo -PKG_VER = 2.03 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = Applications/Compression -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = zlib - -URL = http://www.oberhumer.com/opensource/lzo/ -LICENSE = GPLv2+ -SHORT_DESC = Data compression library with very fast (de)compression. - -define LONG_DESC - LZO is a portable lossless data compression library written in ANSI C. \ - It offers pretty fast compression and very fast decompression. \ - Decompression requires no memory. In addition there are slower \ - compression levels achieving a quite competitive compression ratio \ - while still decompressing at this very high speed. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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 \ - --enable-shared \ - --disable-static - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - rm -vf /usr/lib/liblzo2.la - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/m4 b/lfs/m4 deleted file mode 100644 index bc59aa4ce..000000000 --- a/lfs/m4 +++ /dev/null @@ -1,112 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = m4 -PKG_VER = 1.4.11 -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 = Applications/Text -CORE = no -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.gnu.org/software/m4/ -LICENSE = GPLv3+ -SHORT_DESC = The GNU macro processor. - -define LONG_DESC - A GNU implementation of the traditional UNIX macro processor. M4 is \ - useful for writing text files which can be logically parsed, and is \ - used by many programs as part of their build process. M4 has \ - built-in functions for including files, running shell commands, \ - doing arithmetic, etc. The autoconf program needs m4 for generating \ - configure scripts, but not for running configure scripts. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - -ifeq "$(STAGE)" "toolchain" - # We need -D_GNU_SOURCE because this version of M4 has a bug in gnulib (or - # possibly autoconf) that doesn't recognise that we have asprintf() in libc. - cd $(DIR_APP) && \ - CPPFLAGS="-D_GNU_SOURCE" \ - gl_cv_func_printf_directive_n=no \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && \ - CPPFLAGS="-D_GNU_SOURCE" \ - gl_cv_func_printf_directive_n=no \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/make b/lfs/make deleted file mode 100644 index 81239ab3c..000000000 --- a/lfs/make +++ /dev/null @@ -1,106 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = make -PKG_VER = 3.81 -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 = Development/Tools -CORE = no -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.gnu.org/software/make/ -LICENSE = GPLv2+ -SHORT_DESC = A GNU tool which simplifies the build process for users. - -define LONG_DESC - A GNU tool for controlling the generation of executables and other \ - non-source files of a program from the program's source files. Make \ - allows users to build and install packages without any significant \ - knowledge about the details of the build process. The details about \ - how the program should be built are provided for make in the program's \ - makefile. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/man-db b/lfs/man-db deleted file mode 100644 index 401b08901..000000000 --- a/lfs/man-db +++ /dev/null @@ -1,99 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = man-db -PKG_VER = 2.5.6 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = Documentation -CORE = no -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://bzr.savannah.gnu.org/r/man-db/ -LICENSE = GPL -SHORT_DESC = man-db is an on-line manual database. - -define LONG_DESC - man-db is an implementation of the standard Unix documentation \ - system accessed using the man command. It uses a Berkeley DB database \ - in place of the traditional flat-text whatis databases. man-db is \ - used by several popular GNU/Linux distributions. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && sed -i -e '\%\t/usr/man%d' -e '\%\t/usr/local/man%d' src/man_db.conf.in - cd $(DIR_APP) && CC="gcc -std=gnu99 -fgnu89-inline" \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --libexecdir=/usr/lib \ - --sysconfdir=/etc \ - --disable-setuid \ - --with-browser=/usr/bin/lynx \ - --with-col=/usr/bin/col \ - --with-vgrind=/usr/bin/vgrind \ - --with-grap=/usr/bin/grap - cd $(DIR_APP) && make #$(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/mkinitramfs b/lfs/mkinitramfs deleted file mode 100644 index 01ee9a40a..000000000 --- a/lfs/mkinitramfs +++ /dev/null @@ -1,87 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = mkinitramfs -PKG_VER = ipfire -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DIR_APP = $(DIR_SOURCE)/$(PKG_NAME) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Boot -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://tools.assembla.com/mkinitramfs -LICENSE = GPL -SHORT_DESC = A tool to create initramfs images. - -define LONG_DESC - mkinitramfs is intended to create the ultimate initramfs image. It's \ - designed to boot from any media (SATA, PATA, SCSI, USB, CD-ROM, etc.) \ - without any changes being made to your disk. However, it is very \ - simple (about 400 lines of code). -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) - install -m 755 $(DIR_APP)/lsinitramfs /sbin/lsinitramfs - install -m 755 $(DIR_APP)/mkinitramfs /sbin/mkinitramfs - install -m 755 $(DIR_APP)/mkliveramfs /sbin/mkliveramfs - -mkdir -pv /usr/lib/mkinitramfs - install -m 644 $(DIR_APP)/functions /usr/lib/mkinitramfs/functions - @$(POSTBUILD) diff --git a/lfs/module-init-tools b/lfs/module-init-tools deleted file mode 100644 index 34cf4d067..000000000 --- a/lfs/module-init-tools +++ /dev/null @@ -1,103 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = module-init-tools -PKG_VER = 3.7 -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 -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/ -LICENSE = GPLv2+ -SHORT_DESC = Kernel module management utilities. - -define LONG_DESC - The module-init-tools package includes various programs needed \ - for automatic loading and unloading of modules under 2.6 and \ - later kernels, as well as other module management programs. \ - Device drivers and filesystems are two examples of loaded and \ - unloaded modules. -endef - -CFLAGS += -DCONFIG_NO_BACKWARDS_COMPAT=1 - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - $(THISAPP)-nostatic-1.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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)-nostatic-1.patch - cd $(DIR_APP) && autoreconf --force - cd $(DIR_APP) && \ - DOCBOOKTOMAN=true \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/ \ - --mandir=/usr/share/man \ - --enable-zlib-dynamic - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make INSTALL=install install - rm -vf /sbin/insmod.static - -mkdir -pv /etc/modprobe.d - cp -av $(DIR_SOURCE)/$(PKG_NAME)/modprobe.d/* /etc/modprobe.d/ - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/mpfr b/lfs/mpfr deleted file mode 100644 index 46c67de71..000000000 --- a/lfs/mpfr +++ /dev/null @@ -1,99 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = mpfr -PKG_VER = 2.4.1 -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 = -GRPUP = System/Libraries -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.mpfr.org/ -LICENSE = LGPLv2+ and GPLv2+ and GFDL -SHORT_DESC = A C library for multiple-precision floating-point computations. - -define LONG_DESC - The MPFR library is a C library for multiple-precision floating-point \ - computations with "correct rounding". The MPFR is efficient and \ - also has a well-defined semantics. It copies the good ideas from the \ - ANSI/IEEE-754 standard for double-precision floating-point arithmetic \ - (53-bit mantissa). MPFR is based on the GMP multiple-precision \ - library. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && \ - mpfr_cv_working_tls=yes \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --enable-thread-safe \ - --disable-static - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - rm -vf /usr/lib/libmpfr.la - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/ncurses b/lfs/ncurses deleted file mode 100644 index 161fb22b1..000000000 --- a/lfs/ncurses +++ /dev/null @@ -1,142 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = ncurses -PKG_VER = 5.7 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Base -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://invisible-island.net/ncurses/ncurses.html -LICENSE = MIT -SHORT_DESC = Ncurses support utilities. - -define LONG_DESC - The curses library routines are a terminal-independent method of \ - updating character screens with reasonable optimization. The ncurses \ - (new curses) library is a freely distributable replacement for the \ - discontinued 4.4 BSD classic curses library. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - $(THISAPP)-coverity_fixes-1.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - - # We need wide character support for the Linux kernel menuconfig. - # --enable-symlinks installs the 'tic' program as a symbolic link (why not). - # --disable-root-environ restricts some environment variables, like TERMINFO, - # when running as root, so it can not be customized (why not). - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) \ - --with-shared \ - --without-debug \ - --without-ada \ - --enable-overwrite \ - --enable-widec \ - --without-cxx-binding \ - --enable-symlinks \ - --disable-root-environ \ - --disable-static - - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - for lib in curses ncurses form panel menu; do \ - rm -vf $(TOOLS_DIR)/lib/lib$${lib}.so ; \ - echo "INPUT(-l$${lib}w)" >$(TOOLS_DIR)/lib/lib$${lib}.so ; \ - done -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --with-shared \ - --without-debug \ - --enable-widec \ - --disable-static \ - --enable-symlinks \ - --disable-root-environ - - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - mv -v /usr/lib/libncursesw.so.5* /lib - ln -sfv ../../lib/libncursesw.so.5 /usr/lib/libncursesw.so - for lib in curses ncurses form panel menu; do \ - rm -vf /usr/lib/lib$${lib}.so ; \ - echo "INPUT(-l$${lib}w)" >/usr/lib/lib$${lib}.so ; \ - done - - rm -vf /usr/lib/libcursesw.so - echo "INPUT(-lncursesw)" >/usr/lib/libcursesw.so - ln -sfv libncurses.so /usr/lib/libcurses.so -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/openssl b/lfs/openssl deleted file mode 100644 index 7d0fc6012..000000000 --- a/lfs/openssl +++ /dev/null @@ -1,153 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = openssl -PKG_VER = 0.9.8k -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Libraries -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -LICENSE = OpenSSL -URL = http://www.openssl.org/ -SHORT_DESC = A general purpose cryptography library with TLS implementation. - -define LONG_DESC - The OpenSSL toolkit provides support for secure communications between \ - machines. OpenSSL includes a certificate management tool and shared \ - libraries which provide various cryptographic algorithms and protocols. -endef - -ifneq "$(MACHINE)" "i686" - SSL_ARCH = no-asm 386 # 386 implies no-sse2 -endif - -# These arches do support sse2. -ifneq "$(TARGET)" "via-c7" -ifneq "$(TARGET)" "atom" -ifneq "$(TARGET)" "core2duo" - SSL_ARCH += no-sse2 -endif -endif -endif - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - $(THISAPP)-fix_manpages-1.patch \ - $(THISAPP)-enginesdir.patch \ - $(THISAPP)-no-rpath.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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)-fix_manpages-1.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-enginesdir.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-no-rpath.patch - - cd $(DIR_APP) && sed -i -e 's/-O3 -fomit-frame-pointer/$(CFLAGS)/' Configure - - cd $(DIR_APP) && sed -e 's/__OpenBSD__/__linux__/' -e 's/arandom/urandom/' \ - -i.orig crypto/rand/randfile.c - - cd $(DIR_APP) && sed 's/__OpenBSD__/__linux__/' -i.orig crypto/uid.c - cd $(DIR_APP) && sed -e 's/__OpenBSD__/__linux__/' -i crypto/rand/rand_unix.c - - cd $(DIR_APP) && find crypto/ -name Makefile -exec \ - sed 's/^ASFLAGS=/&-Wa,--noexecstack /' -i.orig {} \; - - cd $(DIR_APP) && \ - ./Configure \ - --prefix=/usr \ - --openssldir=/etc/pki/tls \ - --enginesdir=/usr/lib/openssl/engines \ - linux-elf $(SSL_ARCH) \ - shared \ - zlib-dynamic \ - enable-camellia \ - enable-seed \ - enable-tlsext \ - enable-rfc3779 \ - no-idea \ - no-mdc2 \ - no-rc5 \ - no-ec \ - no-ecdh \ - no-ecdsa \ - -DSSL_FORBID_ENULL - - # Build. - cd $(DIR_APP) && make all build-shared #$(PARALLELISMFLAGS) - - # Generate hashes for the included certs. - cd $(DIR_APP) && make rehash build-shared - - cd $(DIR_APP) && make install build-shared - cd $(DIR_APP) && cp -v -r certs /etc/pki/tls - - mv -v /usr/lib/{libcrypto,libssl}.a /usr/lib/static - install -d /usr/lib/openssl - mv -v /usr/lib/engines /usr/lib/openssl - - -mkdir -m700 /etc/pki/CA - -mkdir -m700 /etc/pki/CA/private - - install -m 0644 $(DIR_SOURCE)/$(PKG_NAME)/openssl.cnf /etc/pki/tls - - @rm -rf $(DIR_APP) /etc/pki/tls/man - @$(POSTBUILD) diff --git a/lfs/pam b/lfs/pam deleted file mode 100644 index 880e8abc4..000000000 --- a/lfs/pam +++ /dev/null @@ -1,117 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = Linux-PAM -PKG_VER = 1.1.0 -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 -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = bison flex -DEPS = cracklib - -LICENSE = BSD and GPLv2+ and BSD with advertising -URL = http://www.us.kernel.org/pub/linux/libs/pam/index.html -SHORT_DESC = An extensible library which provides authentication for applications. - -define LONG_DESC - PAM (Pluggable Authentication Modules) is a system security tool that \ - allows system administrators to set authentication policy without \ - having to recompile programs that handle authentication. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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) \ - --libdir=/lib \ - --sbindir=/lib/security \ - --enable-securedir=/lib/security \ - --docdir=/usr/share/doc/Linux-PAM-$(PKG_VER) \ - --enable-read-both-confs - - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - chmod -v 4755 /lib/security/unix_chkpwd - mv -v /lib/security/pam_tally /sbin - - rm -vf /lib/libpam{,c,_misc}.la /lib/security/*.la - - if [ -L /lib/libpam.so ]; then \ - for LINK in libpam{,c,_misc}.so; do \ - ln -v -sf ../../lib/$$(readlink /lib/$${LINK}) /usr/lib/$${LINK} && \ - rm -v /lib/$${LINK}; \ - done; \ - fi - - useradd -D -b /home - sed -i 's/yes/no/' /etc/default/useradd - install -v -m644 $(DIR_SOURCE)/pam/pam_env.conf /etc/security/pam_env.conf - cp -vf $(DIR_SOURCE)/pam/{login.defs,securetty} /etc - - install -v -d -m755 /etc/pam.d - cp -vf $(DIR_SOURCE)/pam.d/{other,system-auth} /etc/pam.d/ - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/patch b/lfs/patch deleted file mode 100644 index 4b64d1854..000000000 --- a/lfs/patch +++ /dev/null @@ -1,113 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = patch -PKG_VER = 2.5.9 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = Development/Tools -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -LICENSE = GPLv2+ -URL = http://www.gnu.org/software/patch/patch.html -SHORT_DESC = Utility for modifying/upgrading files. - -define LONG_DESC - The patch program applies diff files to originals. The diff \ - command is used to compare an original to a changed file.\ - Diff lists the changes made to the file. A person who has \ - the original file can then use the patch command with the \ - diff file to add the changes to their original file. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - $(THISAPP)-mkstemp-1.patch \ - $(THISAPP)-fixes-1.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - - # Some fixes: - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-fixes-1.patch - - # Get rid of mktemp(3): - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-mkstemp-1.patch - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/pax-utils b/lfs/pax-utils deleted file mode 100644 index c8a1dde45..000000000 --- a/lfs/pax-utils +++ /dev/null @@ -1,95 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = pax-utils -PKG_VER = 0.1.19 -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 = Security/Tools -CORE = yes -EXTRA = no -DEBUG = no # But it gets packaged on debug builds. -BUILD_DEPS = -ifeq "$(STAGE)" "base" - DEPS = libcap2 -endif - -URL = http://www.gentoo.org/proj/en/hardened/pax-utils.xml -LICENSE = GPLv2+ -SHORT_DESC = Utilities for checking PaX features. - -define LONG_DESC - This package contains several utilities for checking PaX features. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && make scanelf CFLAGS="$(CFLAGS)" $(PARALLELISMFLAGS) - cd $(DIR_APP) && install -m 755 -v scanelf $(TOOLS_DIR)/bin/scanelf -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && make CFLAGS="$(CFLAGS)" USE_CAP=yes $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/paxctl b/lfs/paxctl deleted file mode 100644 index 296dbd07d..000000000 --- a/lfs/paxctl +++ /dev/null @@ -1,86 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = paxctl -PKG_VER = 0.5 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = Applications/System -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -LICENSE = GPL v2 -URL = http://pax.grsecurity.net/ -SHORT_DESC = Application to control PaX flags. - -define LONG_DESC - paxctl may be used to control PaX flags on a per-binary basis. PaX \ - is a set of kernel security patches to enhance a system's security. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && sed -e "s/^CFLAGS.*/CFLAGS=$(CFLAGS)/" -i Makefile - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/pciutils b/lfs/pciutils deleted file mode 100644 index 55cee0fd9..000000000 --- a/lfs/pciutils +++ /dev/null @@ -1,88 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = pciutils -PKG_VER = 3.1.4 -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 -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml -LICENSE = GPLv2+ -SHORT_DESC = PCI bus related utilities. - -define LONG_DESC - The pciutils package contains various utilities for inspecting \ - and setting devices connected to the PCI bus. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && make SHARED=yes OPT=$(CLFLAGS) PREFIX=/usr ZLIB=no $(PARALLELISMFLAGS) - cd $(DIR_APP) && make SHARED=yes PREFIX=/usr install - install -v -m 755 -d /usr/include/pci - cd $(DIR_APP) && install -v -m 644 lib/*.h /usr/include/pci - ln -svf libpci.so.3 /usr/lib/libpci.so - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/pcre b/lfs/pcre deleted file mode 100644 index b49811c03..000000000 --- a/lfs/pcre +++ /dev/null @@ -1,101 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = pcre -PKG_VER = 7.9 -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/Libraries -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = bzip2 zlib - -LICENSE = BSD -URL = http://www.pcre.org/ -SHORT_DESC = Perl-compatible regular expression library - -define LONG_DESC - Perl-compatible regular expression library. PCRE has its own native \ - API, but a set of "wrapper" functions that are based on the POSIX \ - API are also supplied in the library libpcreposix. -endef - -CFLAGS += -fPIC - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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 \ - --docdir=/usr/share/doc/pcre-$(PKG_VER) \ - --enable-utf8 \ - --enable-pcregrep-libz \ - --enable-pcregrep-libbz2 \ - --enable-unicode-properties \ - --disable-static - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - mv -v /usr/lib/libpcre.so.* /lib/ - ln -v -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so - rm -vf /usr/lib/libpcre{,cpp,posix}.la - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/perl b/lfs/perl deleted file mode 100644 index 02f789b7d..000000000 --- a/lfs/perl +++ /dev/null @@ -1,150 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = perl -PKG_VER = 5.10.0 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = Development/Languages -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -LICENSE = GPL+ or Artistic and GPLv2+ or Artistic -URL = http://www.perl.org/ -SHORT_DESC = Practical Extraction and Report Language. - -define LONG_DESC - Perl is a high-level programming language with roots in C, sed, awk \ - and shell scripting. Perl is good at handling processes and files, \ - and is especially good at handling text. Perl's hallmarks are \ - practicality and efficiency. While it is used to do a lot of \ - different things, Perl's most common applications are system \ - administration utilities and web programming. A large proportion of \ - the CGI scripts on the web are written in Perl. You need the perl \ - package installed on your system so that your system can handle Perl \ -scripts. -endef - -define QUALITY_AGENT_WHITELIST_RPATH - /usr/lib/perl5/*/auto/DB_File/DB_File.so \ - /usr/lib/perl5/*/auto/Time/HiRes/HiRes.so \ - /usr/lib/perl5/*/auto/Compress/Raw/Zlib/Zlib.so -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - $(THISAPP)-page-1.patch \ - $(THISAPP)-security_fix-1.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_SRC)/perl* && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - -mkdir -v $(DIR_SRC)/perl-build - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-page-1.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-security_fix-1.patch - cd $(DIR_APP) && sed -i 's/command /command[ -]/' makedepend.SH - - # -Dlibc, locincpth, loclibpth, glibpth, and usrinc, are equivilent to the LFS - # Perl libc patch. - - # ./Configure is used instead of ./configure.gnu because it supports builds - # from an object directory. -Dmksymlinks is also used, to support read-only - # sources. -d -e are added to accept all defaults, otherwise ./Configure will - # be interactive. - cd $(DIR_SRC)/perl-build && \ - $(DIR_APP)/Configure \ - -Dcc=$(IFS_TARGET)-gcc \ - -Dprefix=$(TOOLS_DIR) \ - -Dlibc=$(shell ls $(TOOLS_DIR)/lib/libc-*.so) \ - -Ulocincpth \ - -Uloclibpth \ - -Dglibpth="$(TOOLS_DIR)/lib" \ - -Dusrinc="$(TOOLS_DIR)/include" \ - -Dmksymlinks \ - -d -e - cd $(DIR_SRC)/perl-build && make #$(PARALLELISMFLAGS) - cd $(DIR_SRC)/perl-build && make LNS="cp" install -endif - -ifeq "$(STAGE)" "base" - echo "127.0.0.1 localhost $(hostname)" > /etc/hosts - - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-page-1.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-security_fix-1.patch - - cd $(DIR_APP) && sed -i 's/command /command[ -]/' makedepend.SH - - cd $(DIR_APP) && sed -i -e "s|BUILD_ZLIB\s*= True|BUILD_ZLIB = False|" \ - -e "s|INCLUDE\s*= ./zlib-src|INCLUDE = /usr/include|" \ - -e "s|LIB\s*= ./zlib-src|LIB = /usr/lib|" \ - ext/Compress/Raw/Zlib/config.in - - cd $(DIR_APP) && ./configure.gnu --prefix=/usr \ - -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 \ - -Dpager="/usr/bin/less -isR" - - cd $(DIR_APP) && make #$(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - rm -f /etc/hosts -endif - - @rm -rf $(DIR_SRC)/perl* - @$(POSTBUILD) diff --git a/lfs/pkg-config b/lfs/pkg-config deleted file mode 100644 index 86598b253..000000000 --- a/lfs/pkg-config +++ /dev/null @@ -1,90 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = pkg-config -PKG_VER = 0.22 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = Development/Tools -CORE = no -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -LICENSE = GPLv2+ -URL = http://pkgconfig.freedesktop.org/ -SHORT_DESC = A tool for determining compilation options. - -define LONG_DESC - The pkgconfig tool determines compilation options. For each required \ - library, it reads the configuration file and outputs the necessary \ - compiler and linker flags. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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 - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/procps b/lfs/procps deleted file mode 100644 index 10cbdeb42..000000000 --- a/lfs/procps +++ /dev/null @@ -1,89 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = procps -PKG_VER = 3.2.8 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = Applications/System -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -LICENSE = GPLv2+ and LGPLv2+ -URL = http://procps.sourceforge.net/ -SHORT_DESC = System and process monitoring utilities. - -define LONG_DESC - The procps package contains a set of system utilities that provide \ - system information. Procps includes ps, free, skill, pkill, pgrep, \ - snice, tload, top, uptime, vmstat, w, watch and pdwx. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - $(THISAPP)-watch_unicode-2.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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)-watch_unicode-2.patch - cd $(DIR_APP) && make SHARED=1 CFLAGS="$(CFLAGS)" \ - W_SHOWFROM=-DW_SHOWFROM $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/psmisc b/lfs/psmisc deleted file mode 100644 index 0f0085463..000000000 --- a/lfs/psmisc +++ /dev/null @@ -1,94 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = psmisc -PKG_VER = 22.8 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = Applications/System -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -LICENSE = GPLv2+ -URL = http://sourceforge.net/projects/psmisc -SHORT_DESC = Utilities for managing processes on your system. - -define LONG_DESC - The psmisc package contains utilities for managing processes on your \ - system: pstree, killall and fuser. The pstree command displays a \ - tree structure of all of the running processes on your system. The \ - killall command sends a specified signal (SIGTERM if nothing is \ - specified) to processes identified by name. The fuser command \ - identifies the PIDs of processes that are using specified files or \ - filesystems. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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 - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/python b/lfs/python deleted file mode 100644 index 508379ead..000000000 --- a/lfs/python +++ /dev/null @@ -1,97 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = Python -PKG_VER = 2.6.2 -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 = Development/Languages -CORE = yes -EXTRA = no -DEBUG = no -DEPS = -BUILD_DEPS = - -LICENSE = Python -URL = http://www.python.org -SHORT_DESC = An interpreted, interactive, object-oriented programming language. - -define LONG_DESC - Python is an interpreted, interactive, object-oriented programming \ - language often compared to Tcl, Perl, Scheme or Java. Python includes \ - modules, classes, exceptions, very high level dynamic data types and \ - dynamic typing. Python supports interfaces to many system calls and \ - libraries, as well as to various windowing systems. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && OPT="$(CFLAGS)" \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --enable-shared - cd $(DIR_APP) && make #$(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - rm -rf /usr/lib/python*/test/ - $(PYTHON_COMPILE) - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/readline b/lfs/readline deleted file mode 100644 index 5a75ddfed..000000000 --- a/lfs/readline +++ /dev/null @@ -1,103 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = readline -PKG_VER = 6.0 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Libraries -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = ftp://ftp.gnu.org/gnu/readline/ -LICENSE = GPLv3+ -SHORT_DESC = A library for editing typed command lines. - -define LONG_DESC - The Readline library provides a set of functions that allow users to \ - edit command lines. Both Emacs and vi editing modes are available. \ - The Readline library includes additional functions for maintaining a \ - list of previously-entered command lines for recalling or editing \ - those lines, and for performing csh-like history expansion on \ - previous commands. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - $(THISAPP)-shlib-1.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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)-shlib-1.patch - #cd $(DIR_APP) && sed -i '/MV.*old/d' Makefile.in - #cd $(DIR_APP) && sed -i '/{OLDSUFF}/c:' support/shlib-install - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --libdir=/lib \ - --disable-static - cd $(DIR_APP) && make $(PARALLELISMFLAGS) SHLIB_LIBS=-lncurses - cd $(DIR_APP) && make install - - rm -fv /lib/lib{readline,history}.so - ln -sfv ../../lib/libreadline.so.6 /usr/lib/libreadline.so - ln -sfv ../../lib/libhistory.so.6 /usr/lib/libhistory.so - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/sed b/lfs/sed deleted file mode 100644 index bde70dba1..000000000 --- a/lfs/sed +++ /dev/null @@ -1,107 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = sed -PKG_VER = 4.1.5 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = Applications/Text -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://sed.sourceforge.net/ -LICENSE = GPLv2+ -SHORT_DESC = A GNU stream text editor. - -define LONG_DESC - The sed (Stream EDitor) editor is a stream or batch (non-interactive) \ - editor. Sed takes text as input, performs an operation or set of \ - operations on the text and outputs the modified text. The operations \ - that sed performs (substitutions, deletions, insertions, etc.) can be \ - specified in a script file or from the command line. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) \ - --without-included-regex -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --bindir=/bin \ - --enable-html \ - --without-included-regex -endif - - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/system-release b/lfs/system-release deleted file mode 100644 index fd7f4f7b9..000000000 --- a/lfs/system-release +++ /dev/null @@ -1,85 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = system-release -PKG_VER = $(VERSION) -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = Michael Tremer -GROUP = System/Base -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.ipfire.org -LICENSE = -SHORT_DESC = IPFire release files. - -define LONG_DESC - IPFire release files such as pakfire configs and various /etc/ files that \ - define the release. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - echo "$(NAME) v$(VERSION) for $(MACHINE) - $(SLOGAN) (\l)" > /etc/issue - echo "===============================" >> /etc/issue - echo "\n running on \s \r \m" >> /etc/issue - - echo "$(NAME) Release $(VERSION) ($(SLOGAN))" > /etc/$(SNAME)-release - ln -svf $(SNAME)-release /etc/system-release - @$(POSTBUILD) diff --git a/lfs/tar b/lfs/tar deleted file mode 100644 index eefcdc73f..000000000 --- a/lfs/tar +++ /dev/null @@ -1,123 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = tar -PKG_VER = 1.22 -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/Packaging -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = acl attr - -URL = http://www.gnu.org/software/tar/ -LICENSE = GPLv3+ -SHORT_DESC = A GNU file archiving program. - -define LONG_DESC - The GNU tar program saves many files together in one archive \ - and can restore individual files (or all of the files) from \ - that archive. Tar can also be used to add supplemental files \ - to an archive and to update or list files in the archive. Tar \ - includes multivolume support,automatic archive \ - compression/decompression, the ability to perform remote archives, \ - and the ability to perform incremental and full backups. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - $(THISAPP)-vfatTruncate.patch \ - $(THISAPP)-xattrs-1.patch \ - $(THISAPP)-xattrs-conf-1.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - - # Fix extracting sparse files to a filesystem like vfat, when ftruncate - # may fail to grow the size of a file - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-vfatTruncate.patch - - # Add support for ACLs in the tarballs. - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-xattrs-1.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-xattrs-conf-1.patch - -ifeq "$(STAGE)" "toolchain" - # Normally the 'rmt' programs goes in sbin/. - cd $(DIR_APP) && LDFLAGS="-z muldefs" \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) \ - --libexecdir=$(TOOLS_DIR)/bin - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && \ - CC="gcc -std=gnu99 -fgnu89-inline" \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --bindir=/bin \ - --libexecdir=/usr/sbin - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/texinfo b/lfs/texinfo deleted file mode 100644 index 6264ec7bb..000000000 --- a/lfs/texinfo +++ /dev/null @@ -1,105 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = texinfo -PKG_VER = 4.13a -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(PKG_NAME)-4.13 - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = Applications/Publishing -CORE = no -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.gnu.org/software/texinfo/ -LICENSE = GPLv3 -SHORT_DESC = Tools needed to create Texinfo format documentation files. - -define LONG_DESC - Texinfo is a documentation system that can produce both online \ - information and printed output from a single source file. The GNU \ - Project uses the Texinfo file format for most of its documentation. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && \ - LDFLAGS="-lncursesw" \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && \ - LDFLAGS="-lncursesw" \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/udev b/lfs/udev deleted file mode 100644 index 1c1e41d1b..000000000 --- a/lfs/udev +++ /dev/null @@ -1,120 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = udev -PKG_VER = 147 -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 -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = util-linux-ng gobject-introspection - -URL = ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/ -LICENSE = GPLv2+ -SHORT_DESC = A userspace implementation of devfs. - -define LONG_DESC - The udev package contains an implementation \ - of devfs in userspace using sysfs and netlink. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - - -rm -rf /lib/udev/devices - install -dv /lib/{firmware,udev/devices/{pts,shm}} - -mknod -m0600 /lib/udev/devices/console c 5 1 - -mknod -m0666 /lib/udev/devices/null c 1 3 - -mknod -m0600 /lib/udev/devices/kmsg c 1 11 - ln -sfv /proc/self/fd /lib/udev/devices/fd - ln -sfv /proc/self/fd/0 /lib/udev/devices/stdin - ln -sfv /proc/self/fd/1 /lib/udev/devices/stdout - ln -sfv /proc/self/fd/2 /lib/udev/devices/stderr - ln -sfv /proc/kcore /lib/udev/devices/core - - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --exec-prefix="" \ - --sbindir=/sbin \ - --sysconfdir=/etc \ - --with-libdir-name=/lib \ - --libexecdir=/lib/udev \ - --with-rootlibdir=/lib \ - --enable-introspection \ - --disable-rpath - - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - install -m644 -v $(DIR_SOURCE)/$(PKG_NAME)/*.rules /lib/udev/rules.d/ - - for i in $(DIR_SOURCE)/initscripts/udev/*; do \ - install -m 755 -v $$i /lib/udev/$$(basename $$i); \ - done - - rm -vf /lib/libgudev-1.0.la - rm -vf /lib/libudev.la - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/usbutils b/lfs/usbutils deleted file mode 100644 index e4e9dbeb3..000000000 --- a/lfs/usbutils +++ /dev/null @@ -1,92 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = usbutils -PKG_VER = 0.86 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -BUILD_DEPS = -DEPS = libusb - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Tools -CORE = yes -EXTRA = no -DEBUG = no - -URL = http://www.linux-usb.org/ -LICENSE = GPLv2 -SHORT_DESC = Tool to provide and enhance USB support in Linux. - -define LONG_DESC - A set of tools to configure list USB Devices. -endef - - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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 - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - rm -fv /usr/share/usb.ids.gz - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/util-linux-ng b/lfs/util-linux-ng deleted file mode 100644 index aea7ab36d..000000000 --- a/lfs/util-linux-ng +++ /dev/null @@ -1,141 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = util-linux-ng -PKG_VER = 2.16.1 -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 -CORE = yes -EXTRA = no -DEBUG = no -DEPS = -BUILD_DEPS = - -LICENSE = GPLv2 and GPLv2+ and BSD with advertising and Public Domain -URL = ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng -SHORT_DESC = A collection of basic system utilities. - -define LONG_DESC - The util-linux-ng package contains a large variety of low-level system \ - utilities that are necessary for a Linux system to function. Among \ - others, Util-linux contains the fdisk configuration tool and the login \ - program. -endef - -ifneq "$(STAGE)" "toolchain" - DEPS = ncurses pam zlib -else - DEPS = ncurses zlib -endif - -CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - - cd $(DIR_APP) && sed -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \ - -i $$(grep -rl '/etc/adjtime' .) - mkdir -pv /var/lib/hwclock - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --bindir=/bin \ - --sbindir=/sbin \ - --disable-wall \ - --enable-arch \ - --enable-kill \ - --enable-login-utils \ - --enable-partx \ - --enable-write \ - --with-fsprobe=builtin \ - --disable-makeinstall-chown \ - --disable-static - - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - rm -vf /usr/lib/libblkid.la - rm -vf /usr/lib/libuuid.la - - # Build nologin - cd $(DIR_APP) && gcc $(CFLAGS) -o nologin $(DIR_SOURCE)/$(PKG_NAME)/nologin.c - cd $(DIR_APP) && install -m 755 nologin /sbin - install -m 644 $(DIR_SOURCE)/$(PKG_NAME)/nologin.8 /usr/share/man/man8 - - ln -svf ../../sbin/hwclock /usr/sbin/hwclock - ln -svf hwclock /sbin/clock - ln -sf ../../bin/kill /usr/bin/kill - - touch /var/log/lastlog - - # Remove deprecated commands - rm -rfv /sbin/{fsck,mkfs}.{bfs,minix} \ - /usr/share/man/man*/{fsck,mkfs}.{bfs,minix}* - - # PAM - cp -vf $(DIR_SOURCE)/pam.d/login /etc/pam.d/ - - chmod -v -s /bin/mount - setcap CAP_DAC_OVERRIDE,CAP_SYS_ADMIN=ep /bin/mount - chmod -v -s /bin/umount - setcap CAP_DAC_OVERRIDE,CAP_SYS_ADMIN=ep /bin/umount - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/vlan b/lfs/vlan deleted file mode 100644 index aafde27c4..000000000 --- a/lfs/vlan +++ /dev/null @@ -1,84 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = vlan -PKG_VER = 1.9 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(PKG_NAME) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = Networking/Tools -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.candelatech.com/~greear/vlan.html -LICENSE = GPLv2+ -SHORT_DESC = Linux 802.1q VLAN configuration utility. - -define LONG_DESC - The vconfig program configures and adjusts 802.1q VLAN parameters. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && make purge vconfig - cd $(DIR_APP) && install -c -p -m 0755 vconfig /sbin - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/which b/lfs/which deleted file mode 100644 index 408cd0f01..000000000 --- a/lfs/which +++ /dev/null @@ -1,89 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = which -PKG_VER = 2.20 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = Applications/System -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = readline - -URL = http://www.xs4all.nl/~carlo17/which/ -LICENSE = GPLv3 -SHORT_DESC = Displays where a particular program in your path is located. - -define LONG_DESC - The which command shows the full pathname of a specified program, if \ - the specified program is in your PATH. -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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 - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/xz b/lfs/xz deleted file mode 100644 index 1d8f5bffd..000000000 --- a/lfs/xz +++ /dev/null @@ -1,114 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = xz -PKG_VER = 4.999.8beta -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = Applications/Compression -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://tukaani.org/xz/ -LICENSE = GPLv2+ -SHORT_DESC = LZMA Utils. - -define LONG_DESC - LZMA provides very high compression ratio and fast decompression. The \ - core of the LZMA utils is Igor Pavlov's LZMA SDK containing the actual \ - LZMA encoder/decoder. LZMA utils add a few scripts which provide \ - gzip-like command line interface and a couple of other LZMA related \ - tools. -endef - -define QUALITY_AGENT_WHITELIST_RPATH - /usr/bin/xz \ - /usr/bin/lzmadec \ - /usr/bin/xzdec -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) \ - --disable-static - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - -ifeq "$(STAGE)" "$(SNAME)" - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --disable-static - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - rm -vf /usr/lib/liblzma.la -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/lfs/zlib b/lfs/zlib deleted file mode 100644 index d9ef0b623..000000000 --- a/lfs/zlib +++ /dev/null @@ -1,117 +0,0 @@ -############################################################################### -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = zlib -PKG_VER = 1.2.3 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP)-autotools-1.tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Libraries -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = - -URL = http://www.gzip.org/zlib/ -LICENSE = zlib -SHORT_DESC = The zlib compression and decompression library. - -define LONG_DESC - Zlib is a general-purpose, patent-free, lossless data compression \ - library which is used by many different programs. -endef - -CFLAGS += -fPIC -DPIC - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) \ - $(THISAPP)-autotools.patch - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(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)-autotools.patch - #cd $(DIR_APP) && autoreconf --install - -ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && sed -e "s/^AC_PROG_CXX$$//g" -i configure.ac - cd $(DIR_APP) && autoreconf --install - cd $(DIR_APP) && \ - ac_cv_func_working_mktime=yes \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=$(TOOLS_DIR) \ - --disable-static - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install -endif - -ifeq "$(STAGE)" "base" - cd $(DIR_APP) && \ - ac_cv_func_working_mktime=yes \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --libdir=/lib \ - --disable-static - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - cd $(DIR_APP) && cp -pfv zconf.h zlib.h /usr/include - rm -v /lib/libz.{la,so} - ln -sfv ../../lib/libz.so.$(PKG_VER) /usr/lib/libz.so -endif - - @rm -rf $(DIR_APP) - @$(POSTBUILD)