mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
Update:
* GnuPG aktualisiert. Hinzugefügt: * Möglichkeit eine Quellen-ISO zu erstellen. * Patch für einen SiS-Chipsatz. * /home/nobody git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@239 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -130,6 +130,7 @@ define MD5
|
||||
# error mean file signature don't match the one in lfs script
|
||||
[ "$($@_MD5)" = `md5sum $(DIR_DL)/$@ | awk '{ print $$1 }'` ]
|
||||
echo "$@ checksum OK"
|
||||
echo "$@" >>$(DIR_INFO)/_build.packages-list.log
|
||||
endef
|
||||
|
||||
define PAK
|
||||
|
||||
@@ -50,7 +50,7 @@ $(TARGET) :
|
||||
@$(PREBUILD)
|
||||
|
||||
# Create all directories
|
||||
for i in addon-lang alcatelusb auth backup backup/sets ca certs cnx_pci connscheduler crls ddns dhcp dhcpc dmzholes \
|
||||
for i in addon-lang alcatelusb auth backup ca certs cnx_pci connscheduler crls ddns dhcp dhcpc dmzholes \
|
||||
eagle-usb eciadsl ethernet isdn key langs logging main mbmon modem net-traffic nfs optionsfw outgoing patches pakfire portfw \
|
||||
ppp private proxy/advanced qos/bin red remote snort time urlfilter/autoupdate urlfilter/bin vpn wakeonlan wireless xtaccess ; do \
|
||||
mkdir -p $(CONFIG_ROOT)/$$i; \
|
||||
@@ -128,7 +128,6 @@ $(TARGET) :
|
||||
for i in backup/ header.pl general-functions.pl lang.pl addon-lang/ langs/ red/ ; do \
|
||||
chown -R root:root $(CONFIG_ROOT)/$$i; \
|
||||
done
|
||||
chown nobody:nobody $(CONFIG_ROOT)/backup/sets
|
||||
chown root:nobody $(CONFIG_ROOT)/dhcpc
|
||||
|
||||
@$(POSTBUILD)
|
||||
|
||||
20
lfs/gnupg
20
lfs/gnupg
@@ -18,12 +18,6 @@
|
||||
# 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: gnupg,v 1.5.2.6 2005/07/27 23:12:41 franck78 Exp $
|
||||
# #
|
||||
###############################################################################
|
||||
|
||||
###############################################################################
|
||||
@@ -32,11 +26,11 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 1.4.2
|
||||
VER = 1.4.5
|
||||
|
||||
THISAPP = gnupg-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
DL_FROM = http://ftp.linux.it/pub/mirrors/gnupg/gnupg
|
||||
DL_FILE = $(THISAPP).tar.bz2
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
|
||||
@@ -48,7 +42,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 09825744d59db5ed87713c5a3487cd9d
|
||||
$(DL_FILE)_MD5 = 811525965b4c0987e6418a7729a6444d
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -77,10 +71,10 @@ $(subst %,%_MD5,$(objects)) :
|
||||
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
|
||||
rm -rf /home/nobody/.gnupg /root/.gnupg
|
||||
cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls --disable-mailto \
|
||||
--disable-photo-viewers --disable-ldap
|
||||
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 install
|
||||
gpg --import $(DIR_SRC)/config/cfgroot/ipcop.gpg
|
||||
|
||||
@@ -115,6 +115,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
cd $(DIR_SRC) && ln -sf linux-$(VER) linux
|
||||
cd $(DIR_APP) && sed -i -e 's/-Werror//' drivers/scsi/aic7xxx/Makefile
|
||||
|
||||
# add IDE SiS 965L support to SiS driver. Request sf#1517522
|
||||
cd $(DIR_SRC) && patch -p0 < $(DIR_SRC)/src/patches/linux-sis-965l.patch
|
||||
|
||||
# Openswan
|
||||
cd $(DIR_SRC) && rm -rf openswan-*
|
||||
cd $(DIR_SRC) && tar xfz $(DIR_DL)/openswan-1.0.10.tar.gz
|
||||
|
||||
59
lfs/sources-iso
Normal file
59
lfs/sources-iso
Normal file
@@ -0,0 +1,59 @@
|
||||
###############################################################################
|
||||
# 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
|
||||
|
||||
THISAPP = sources-iso
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
###############################################################################
|
||||
|
||||
check :
|
||||
|
||||
download :
|
||||
|
||||
md5 :
|
||||
|
||||
###############################################################################
|
||||
# Installation Details
|
||||
###############################################################################
|
||||
|
||||
install : $(DIR_INFO)/_build.packages-list.log
|
||||
rm -rf /install/cdrom/*
|
||||
for i in `cat $(DIR_INFO)/_build.packages-list.log`; do \
|
||||
cp $(DIR_DL)/$$i /install/cdrom; \
|
||||
done
|
||||
|
||||
# make the sources CDROM iso
|
||||
if [ "$(MACHINE)" == "i386" ]; then \
|
||||
cd /install/cdrom && mkisofs -J -r -V "$(NAME)_$(VERSION)" \
|
||||
. > /install/images/$(SNAME)-sources-cd-$(VERSION).$(MACHINE).iso; \
|
||||
elif [ "$(MACHINE)" == "alpha" ]; then \
|
||||
cd /install/cdrom && mkisofs -J -r -V "$(NAME)_$(VERSION)" \
|
||||
. > /install/images/$(SNAME)-sources-cd-$(VERSION).$(MACHINE).iso; \
|
||||
fi
|
||||
rm -rf /install/cdrom/*
|
||||
Reference in New Issue
Block a user