#
echo
echo Unpack the updated files ...
-extract_files
+#
+tar xvf /opt/pakfire/tmp/files --preserve --numeric-owner -C / \
+ --no-overwrite-dir
#
# Starting Squid
#
#
/etc/init.d/mISDN config
#
-# Update permissions
-#
-chown -r nobody:nobody /var/ipfire/outgoing
-chown -r nobody:nobody /var/ipfire/proxy
-chown -r nobody:nobody /var/ipfire/qos
-chown -r nobody:nobody /var/ipfire/urlfilter
-chown -r nobody:nobody /var/ipfire/updatexlerator
-#
# Remove obsolete packages, update the lists and do upgrade
#
echo '#!/bin/bash' > /tmp/remove_obsolete_paks
-== List of softwares used to build IPFire Version: 2.3-test ==
+== List of softwares used to build IPFire Version: 2.3-beta4 ==
* Archive-Tar-1.29
* Archive-Zip-1.16
* BerkeleyDB-0.27
cd $(DIR_SRC) && tar xfj $(DIR_DL)/alsa-driver-$(VER).tar.bz2
cd $(DIR_SRC)/alsa-driver-$(VER) && sed -i -e "s| soc/ | |g" Makefile
cd $(DIR_SRC)/alsa-driver-$(VER) && sed -i -e "s| soc||g" Makefile
- cd $(DIR_SRC)/alsa-driver-$(VER) && ./configure
+ cd $(DIR_SRC)/alsa-driver-$(VER) && ./configure --with-kernel=/usr/src/linux
cd $(DIR_SRC)/alsa-driver-$(VER) && make
cd $(DIR_SRC)/alsa-driver-$(VER) && make install
else
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
- @rm -rf $(DIR_APP) $(DIR_SRC)/linux $(DIR_SRC)/xen-* && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+ @rm -rf $(DIR_APP) $(DIR_SRC)/linux* $(DIR_SRC)/xen-* && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
ln -s linux-$(VER) /usr/src/linux
# Security fix for CIFS & Netfilter SNMP
-f /$(SNAME).tar --exclude='#*' --exclude='dev/pts/*' \
--exclude='proc/*' --exclude='tmp/ROOTFILES'
mv -f /tmp/ROOTFILES /install/updater/ROOTFILES
- tar -x -C /tmp -f /$(SNAME).tar
+ tar --preserve --numeric-owner -x -C /tmp -f /$(SNAME).tar
rm -f /$(SNAME).tar
cd /tmp && tar cf /install/updater/files * && rm -rf *
cat /install/updater/ROOTFILES | grep -v "#" > /install/updater/ROOTFILES.tmp