mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
Fix permissions of images/updbooster
some ipp2p fixes. still not working ... New kernel at updater
This commit is contained in:
@@ -68,7 +68,7 @@ ifeq "$(SMP)" "1"
|
||||
else
|
||||
ifeq "$(IPT)" "1"
|
||||
cd $(DIR_APP) && make libipt_ipp2p.so
|
||||
cp -f $(DIR_APP)/libipt_ipp2p.so /lib/iptables
|
||||
cp -f $(DIR_APP)/libipt_ipp2p.so /lib/xtables
|
||||
else
|
||||
cd $(DIR_APP) && make ipt_ipp2p.ko
|
||||
cp -f $(DIR_APP)/ipt_ipp2p.ko /lib/modules/$(KVER)-ipfire/kernel/net/ipv4/netfilter
|
||||
|
||||
@@ -78,7 +78,6 @@ $(subst %,%_MD5,$(objects)) :
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && patch -p1 < $(DIR_SRC)/src/patches/openswan-2.6.16-sa_fam_unspec.patch
|
||||
ifeq "$(KMOD)" "1"
|
||||
cd $(DIR_APP) && make KERNELSRC=/usr/src/linux module
|
||||
cd $(DIR_APP) && make minstall
|
||||
|
||||
@@ -128,6 +128,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
chmod 775 /var/updatecache/download
|
||||
chmod 775 /var/updatecache/metadata
|
||||
chmod 755 /var/log/updatexlrator
|
||||
chmod 755 /srv/web/ipfire/html/images/updbooster
|
||||
|
||||
chown squid:squid /var/log/squid
|
||||
ln -sf /usr/lib/squid /usr/lib/squid/auth
|
||||
|
||||
Reference in New Issue
Block a user