+++ /dev/null
-0:1/vmlinuz root=ROOT panic=10 ro
+++ /dev/null
-0:1/vmlinuz root=ROOT panic=10 initrd=ipfirerd.img init=/linuxrc rw
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
# local0.* any dhcpcd log (even debug) in messages
-daemon.*;local0.*;local2.*;*.info;mail.none;authpriv.*;cron.* /var/log/messages
+daemon.*;local0.*;local2.*;*.info;mail.none;authpriv.* /var/log/messages
+
+# Log crons
+cron.* -/var/log/cron.log
# Everybody gets emergency messages
-*.emerg *
+*.emerg *
# Save boot messages also to boot.log
local7.* /var/log/boot.log
-###############################################################################\r
-# This file is part of the IPCop Firewall. #\r
-# #\r
-# IPCop is free software; you can redistribute it and/or modify #\r
-# it under the terms of the GNU General Public License as published by #\r
-# the Free Software Foundation; either version 2 of the License, or #\r
-# (at your option) any later version. #\r
-# #\r
-# IPCop is distributed in the hope that it will be useful, #\r
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #\r
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #\r
-# GNU General Public License for more details. #\r
-# #\r
-# You should have received a copy of the GNU General Public License #\r
-# along with IPCop; if not, write to the Free Software #\r
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #\r
-# #\r
-# Makefiles are based on LFSMake, which is #\r
-# Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com> #\r
-# #\r
-# Modifications by: #\r
-# ??-12-2003 Mark Wormgoor < mark@wormgoor.com> #\r
-# - Modified Makefile for IPCop build #\r
-# #\r
-# $Id: GD,v 1.5.2.3 2005/02/05 15:38:14 gespinasse Exp $\r
-# #\r
-###############################################################################\r
-\r
-###############################################################################\r
-# Definitions\r
-###############################################################################\r
-\r
-include Config\r
-\r
-VER = 2.12\r
-\r
-THISAPP = GD-$(VER)\r
-DL_FILE = $(THISAPP).tar.gz\r
-DL_FROM = $(URL_CPAN)/GD\r
-DIR_APP = $(DIR_SRC)/$(THISAPP)\r
-TARGET = $(DIR_INFO)/$(THISAPP)\r
-\r
-###############################################################################\r
-# Top-level Rules\r
-###############################################################################\r
-\r
-objects = $(DL_FILE)\r
-\r
-$(DL_FILE) = $(DL_FROM)/$(DL_FILE)\r
-\r
-$(DL_FILE)_MD5 = 84de3734fb32947d08c0d3d1e68201a6\r
-\r
-install : $(TARGET)\r
-\r
-check : $(patsubst %,$(DIR_CHK)/%,$(objects))\r
-\r
-download :$(patsubst %,$(DIR_DL)/%,$(objects))\r
-\r
-md5 : $(subst %,%_MD5,$(objects))\r
-\r
-###############################################################################\r
-# Downloading, checking, md5sum\r
-###############################################################################\r
-\r
-$(patsubst %,$(DIR_CHK)/%,$(objects)) :\r
- @$(CHECK)\r
-\r
-$(patsubst %,$(DIR_DL)/%,$(objects)) :\r
- @$(LOAD)\r
-\r
-$(subst %,%_MD5,$(objects)) :\r
- @$(MD5)\r
-\r
-###############################################################################\r
-# Installation Details\r
-###############################################################################\r
-\r
-$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))\r
- @$(PREBUILD)\r
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)\r
- cd $(DIR_APP) && sed -i "s%,'y'%,'n'%" Makefile.PL\r
- cd $(DIR_APP) && yes 'n' | perl Makefile.PL\r
- cd $(DIR_APP) && make\r
- cd $(DIR_APP) && make install\r
- @rm -rf $(DIR_APP)\r
- @$(POSTBUILD)\r
+###############################################################################
+# This file is part of the IPCop Firewall. #
+# #
+# IPCop is free software; you can redistribute it and/or modify #
+# it under the terms of the GNU General Public License as published by #
+# the Free Software Foundation; either version 2 of the License, or #
+# (at your option) any later version. #
+# #
+# IPCop 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 IPCop; if not, write to the Free Software #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
+# #
+# Makefiles are based on LFSMake, which is #
+# Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com> #
+# #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER = 2.35
+
+THISAPP = GD-$(VER)
+DL_FILE = $(THISAPP).tar.gz
+DL_FROM = $(URL_IPFIRE)
+DIR_APP = $(DIR_SRC)/$(THISAPP)
+TARGET = $(DIR_INFO)/$(THISAPP)
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = dfc3e16e85a17aab7ee1029fbe307fca
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+ @$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+ @$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+ @$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+ @$(PREBUILD)
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+ cd $(DIR_APP) && sed -i "s%,'y'%,'n'%" Makefile.PL
+ cd $(DIR_APP) && yes 'n' | perl Makefile.PL
+ cd $(DIR_APP) && make $(MAKETUNING)
+ cd $(DIR_APP) && make install
+ @rm -rf $(DIR_APP)
+ @$(POSTBUILD)
# Makefiles are based on LFSMake, which is #
# Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com> #
# #
-# Modifications by: #
-# ??-12-2003 Mark Wormgoor < mark@wormgoor.com> #
-# - Modified Makefile for IPCop build #
-# #
-# $Id: ethtool,v 1.1.2.1 2005/06/21 20:10:18 gespinasse Exp $
-# #
###############################################################################
###############################################################################
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && ./configure --prefix=/usr
- cd $(DIR_APP) && make
+ cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)
# Makefiles are based on LFSMake, which is #
# Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com> #
# #
-# Modifications by: #
-# ??-12-2003 Mark Wormgoor < mark@wormgoor.com> #
-# - Modified Makefile for IPCop build #
-# #
-# $Id: ez-ipupdate,v 1.4.2.4 2005/02/05 15:38:14 gespinasse Exp $
-# #
###############################################################################
###############################################################################
THISAPP = ez-ipupdate-$(VER)
DL_FILE = $(THISAPP).tar.gz
-DL_FROM = http://www.whyi.org/help/software
+DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && patch -Np0 < $(DIR_SRC)/src/patches/ez-ipupdate.formstring.patch
cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls
- cd $(DIR_APP) && make
+ cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)
# Makefiles are based on LFSMake, which is #
# Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com> #
# #
-# Modifications by: #
-# ??-12-2003 Mark Wormgoor < mark@wormgoor.com> #
-# - Modified Makefile for IPCop build #
-# #
-# $Id: fcron,v 1.5.2.5 2006/09/07 00:27:44 franck78 Exp $
-# #
###############################################################################
###############################################################################
THISAPP = fcron-$(VER)
DL_FILE = $(THISAPP).src.tar.gz
-DL_FROM = http://fcron.free.fr/archives
+DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./configure \
+ cd $(DIR_APP) && ./configure \
--prefix=/usr \
--disable-nls \
- --without-sendmail \
+ --without-sendmail \
--with-spooldir=/var/spool/cron \
--with-fifodir=/var/run \
--with-username=cron \
--with-groupname=cron \
--with-run-non-privileged=no \
- --with-fcrondyn=no \
+ --with-fcrondyn=no \
--with-sysfcrontab=no \
--with-boot-install=no \
--with-pam=no \
--with-selinux=no
- cd $(DIR_APP) && make
+ cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
echo "root" > /etc/fcron.allow
echo "all" > /etc/fcron.deny
rm -rf /home/nobody/.gnupg /root/.gnupg
cd $(DIR_APP) && ./configure --prefix=/usr --enable-minimal --disable-nls \
--disable-dns-srv --disable-dns-pka --disable-dns-cert
- cd $(DIR_APP) && make
+ cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
gpg --import $(DIR_SRC)/config/cfgroot/ipcop.gpg
@rm -rf $(DIR_APP)
# Makefiles are based on LFSMake, which is #
# Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com> #
# #
-# Modifications by: #
-# ??-12-2003 Mark Wormgoor < mark@wormgoor.com> #
-# - Modified Makefile for IPCop build #
-# #
-# $Id: hdparm,v 1.3.2.7 2006/01/15 08:55:50 gespinasse Exp $
-# #
###############################################################################
###############################################################################
include Config
-VER = 6.3
+VER = 6.6
THISAPP = hdparm-$(VER)
DL_FILE = $(THISAPP).tar.gz
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 0c12672f3a09c14ad0b0882f15fc9389
+$(DL_FILE)_MD5 = ecea69f775396e4ab6112dcf9066239f
install : $(TARGET)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && make
+ cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)
# Makefiles are based on LFSMake, which is #
# Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com> #
# #
-# Modifications by: #
-# ??-12-2003 Mark Wormgoor < mark@wormgoor.com> #
-# - Modified Makefile for IPCop build #
-# #
-# $Id: ibod,v 1.5.2.2 2005/02/05 15:38:15 gespinasse Exp $
-# #
###############################################################################
###############################################################################
include Config
+VER = ipfire
+
THISAPP = ibod
DIR_APP = $(DIR_SRC)/src/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
include Config
+VER = ipfire
+
THISAPP = initscripts
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
# Makefiles are based on LFSMake, which is #
# Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com> #
# #
-# Modifications by: #
-# ??-12-2003 Mark Wormgoor < mark@wormgoor.com> #
-# - Modified Makefile for IPCop build #
-# #
-# $Id: ipac-ng,v 1.5.2.6 2006/01/14 16:41:15 gespinasse Exp $
-# #
###############################################################################
###############################################################################
THISAPP = ipac-ng-$(VER)
DL_FILE = $(THISAPP).tar.gz
-DL_FROM = $(URL_SFNET)/ipac-ng
+DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
# Makefiles are based on LFSMake, which is #
# Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com> #
# #
-# Modifications by: #
-# ??-12-2003 Mark Wormgoor < mark@wormgoor.com> #
-# - Modified Makefile for IPCop build #
-# #
-# $Id: iptables,v 1.5.2.4 2005/02/05 15:38:15 gespinasse Exp $
-# #
###############################################################################
###############################################################################
###############################################################################
# Top-level Rules
###############################################################################
-
objects = $(DL_FILE) \
iptables-1.3.0-imq1.diff \
netfilter-layer7-v2.1.tar.gz
netfilter-layer7-v2.1.tar.gz = http://mesh.dl.sourceforge.net/sourceforge/l7-filter/netfilter-layer7-v2.1.tar.gz
$(DL_FILE)_MD5 = 00fb916fa8040ca992a5ace56d905ea5
-iptables-1.3.0-imq1.diff_MD5 = 9adae8be9562775a176fc1b275b3cb29
-netfilter-layer7-v2.1.tar.gz_MD5 = 551626a158c2a2cbfd937d27ecc7fac1
+iptables-1.3.0-imq1.diff_MD5 = 9adae8be9562775a176fc1b275b3cb29
+netfilter-layer7-v2.1.tar.gz_MD5 = 551626a158c2a2cbfd937d27ecc7fac1
install : $(TARGET)
# iptables-fixed.tar.gz is made in the linux kernel build process
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/iptables-fixed.tar.gz
@rm -rf $(DIR_DL)/netfilter-layer7-v2.1 && cd $(DIR_SRC) && tar zxf $(DIR_DL)/netfilter-layer7-v2.1.tar.gz
- cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/netfilter-layer7-v2.1/iptables-layer7-2.1.patch
+ cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/netfilter-layer7-v2.6/iptables-layer7-2.6.patch
# # Appears that libipt_set/SET maybe a little broken, fix it for now...
# cd $(DIR_APP)/extensions && sed -i -e 's/#include\ \"..\/ipset\/libipt_set.h\"//' libipt_set.c
# hack to disable IPv6 compilation as the configuration variable does not work when ip6.h is present
cd $(DIR_APP) && sed -i -e 's/DO_IPV6:=1/DO_IPV6:=0/' Makefile
- cd $(DIR_APP) && make BINDIR=/sbin MANDIR=/usr/share/man LIBDIR=/lib
+ cd $(DIR_APP) && make BINDIR=/sbin MANDIR=/usr/share/man LIBDIR=/lib $(MAKETUNING)
cd $(DIR_APP) && make BINDIR=/sbin MANDIR=/usr/share/man LIBDIR=/lib install
@rm -rf $(DIR_APP)
@$(POSTBUILD)
# Makefiles are based on LFSMake, which is #
# Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com> #
# #
-# Modifications by: #
-# 2005-jul - Created ipstate lfs file from Mark's traceroute file #
-# #
-# $Id: iptstate,v 1.1.2.1 2005/07/07 19:14:06 franck78 Exp $
-# #
###############################################################################
###############################################################################
include Config
-VER = 1.4
+VER = 2.1
THISAPP = iptstate-$(VER)
DL_FILE = $(THISAPP).tar.bz2
-DL_FROM = http://www.phildev.net/iptstate/
+DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 717b13d5b6521ac1b8683caf1dc247a0
+$(DL_FILE)_MD5 = c99e19c66645689b44a871428e003ec7
install : $(TARGET)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && make
+ cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)
# Makefiles are based on LFSMake, which is #
# Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com> #
# #
-# Modifications by: #
-# ??-12-2003 Mark Wormgoor < mark@wormgoor.com> #
-# - Modified Makefile for IPCop build #
-# #
-# $Id: iputils,v 1.1.2.3 2005/02/05 15:38:15 gespinasse Exp $
-# #
###############################################################################
###############################################################################
THISAPP = iputils-$(VER)
DL_FILE = $(THISAPP).tar.gz
-DL_FROM = ftp://ftp.tux.org/people/alexey-kuznetsov/ip-routing
+DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/iputils
TARGET = $(DIR_INFO)/$(THISAPP)
--with-installbuilddir=/usr/lib/apr-0 \
--with-ssl --disable-nls \
--disable-mod-activation
- cd $(DIR_APP) && make $(MAKETUNING)
+ cd $(DIR_APP) && make
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)
LOGFILE="$BASEDIR/log/_build.base.log"
export LOGFILE
lfsmake2 stage2
-# lfsmake2 makedev
lfsmake2 linux-libc-header
lfsmake2 man-pages
lfsmake2 glibc
ipfiremake cdrtools
ipfiremake dnsmasq
ipfiremake dosfstools
-exit 1
ipfiremake ethtool
ipfiremake ez-ipupdate
ipfiremake fcron
- ipfiremake perl-GD
+ ipfiremake GD
ipfiremake gnupg
ipfiremake hdparm
ipfiremake ibod
ipfiremake iptables
ipfiremake ipac-ng
ipfiremake ipaddr
- ipfiremake iproute2
ipfiremake iptstate
- ipfiremake iputils
+# ipfiremake iputils
+exit 1
ipfiremake l7-protocols
ipfiremake isapnptools
ipfiremake isdn4k-utils