mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
IPSec-Downgrade auf 2.4.8-STABLE
Outgoing-Firewall quasi fertig gemacht. IPP2P gefixt. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@614 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -69,12 +69,12 @@ ifeq "$(SMP)" "1"
|
||||
cp -f $(DIR_APP)/ipt_ipp2p.ko /lib/modules/$(KVER)-ipfire-smp/kernel/net/ipv4/netfilter
|
||||
else
|
||||
ifeq "$(IPT)" "1"
|
||||
cd $(DIR_APP) && make
|
||||
cp -f $(DIR_APP)/libipt_ipp2p.o /lib/iptables
|
||||
cd $(DIR_APP) && make libipt_ipp2p.so
|
||||
cp -f $(DIR_APP)/libipt_ipp2p.so /lib/iptables
|
||||
else
|
||||
cd $(DIR_APP) && make ipt_ipp2p.ko
|
||||
cp -f $(DIR_APP)/ipt_ipp2p.ko /lib/modules/$(KVER)-ipfire/kernel/net/ipv4/netfilter
|
||||
endif
|
||||
endif
|
||||
@rm -rf $(DIR_APP) $(DIR_SRC)/iptables-*
|
||||
@rm -rf $(DIR_APP) $(DIR_SRC)/iptables*
|
||||
@$(POSTBUILD)
|
||||
|
||||
12
lfs/linux
12
lfs/linux
@@ -59,7 +59,7 @@ objects =$(DL_FILE) \
|
||||
patch-o-matic-ng-20061210.tar.bz2 \
|
||||
netfilter-layer7-v2.9.tar.gz \
|
||||
patch-2.6.16-nath323-1.3.bz2 \
|
||||
openswan-2.5.13.tar.gz
|
||||
openswan-2.4.8.tar.gz
|
||||
|
||||
$(DL_FILE) = $(URL_IPFIRE)/$(DL_FILE)
|
||||
patch-o-matic-ng-20061210.tar.bz2 = $(URL_IPFIRE)/patch-o-matic-ng-20061210.tar.bz2
|
||||
@@ -68,7 +68,7 @@ netfilter-layer7-v2.9.tar.gz = $(URL_IPFIRE)/netfilter-layer7-v2.9.tar.gz
|
||||
patch-2.6.16-nath323-1.3.bz2 = $(URL_IPFIRE)/patch-2.6.16-nath323-1.3.bz2
|
||||
squashfs3.2-r2.tar.gz = $(URL_IPFIRE)/squashfs3.2-r2.tar.gz
|
||||
mISDN-1_1_3.tar.gz = $(URL_IPFIRE)/mISDN-1_1_3.tar.gz
|
||||
openswan-2.5.13.tar.gz = $(URL_IPFIRE)/openswan-2.5.13.tar.gz
|
||||
openswan-2.4.8.tar.gz = $(URL_IPFIRE)/openswan-2.4.8.tar.gz
|
||||
|
||||
$(DL_FILE)_MD5 = cc2106c6188675187d636aa518b04958
|
||||
linux-2.6.16.33.tar.bz2_MD5 = 22f56e3a5e7524b2bbde2696152b5ad7
|
||||
@@ -78,7 +78,7 @@ netfilter-layer7-v2.9.tar.gz_MD5 = ebf9043a5352ebe6dbd721989ef83dee
|
||||
patch-2.6.16-nath323-1.3.bz2_MD5 = f926409ff703a307baf54b57ab75d138
|
||||
squashfs3.2-r2.tar.gz_MD5 = bf360b92eba9e6d5610196ce2e02fcd1
|
||||
mISDN-1_1_3.tar.gz_MD5 = d29bcf48f16fc8a9b9f3552d111b308d
|
||||
openswan-2.5.13.tar.gz_MD5 = b83a42ea00ee24ed34413bc122cada51
|
||||
openswan-2.4.8.tar.gz_MD5 = 918cc56ccf8e5d14cd2047e47450b34a
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -121,9 +121,9 @@ endif
|
||||
|
||||
# Openswan 2
|
||||
cd $(DIR_SRC) && rm -rf openswan-*
|
||||
cd $(DIR_SRC) && tar xfz $(DIR_DL)/openswan-2.5.13.tar.gz
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/openswan-2.5.13.kernel-2.6-klips.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/openswan-2.5.13.kernel-2.6-natt.patch
|
||||
cd $(DIR_SRC) && tar xfz $(DIR_DL)/openswan-2.4.8.tar.gz
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/openswan-2.4.8.kernel-2.6-klips.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/openswan-2.4.8.kernel-2.6-natt.patch
|
||||
|
||||
cd $(DIR_SRC)/openswan-* && sed -i -e 's/INC_USRLOCAL=\/usr\/local/INC_USRLOCAL=\/usr/' Makefile.inc
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 2.5.13
|
||||
VER = 2.4.8
|
||||
|
||||
THISAPP = openswan-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -42,7 +42,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = b83a42ea00ee24ed34413bc122cada51
|
||||
$(DL_FILE)_MD5 = 918cc56ccf8e5d14cd2047e47450b34a
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
|
||||
@@ -124,12 +124,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
chmod 775 /srv/web/ipfire/html/updatecache/metadata
|
||||
chmod 755 /var/log/updatexlrator
|
||||
|
||||
chwon squid:squid /var/log/squid
|
||||
mkdir /usr/lib/squid/auth
|
||||
cp -f $(DIR_SRC)/config/proxy/auth /usr/lib/squid/auth
|
||||
chown squid:squid /var/log/squid
|
||||
ln -sf /usr/lib/squid /usr/lib/squid/auth
|
||||
cp -f $(DIR_SRC)/config/proxy/proxy.pac /srv/web/ipfire/html/proxy.pac
|
||||
chown nobody.nobody /srv/web/ipfire/html/proxy.pac
|
||||
ln -f /srv/web/ipfire/html/proxy.pac /srv/web/ipfire/html//wpad.dat
|
||||
ln -sf /srv/web/ipfire/html/proxy.pac /srv/web/ipfire/html/wpad.dat
|
||||
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
|
||||
Reference in New Issue
Block a user