From mboxrd@z Thu Jan 1 00:00:00 1970 From: git@ipfire.org To: ipfire-scm@lists.ipfire.org Subject: [git.ipfire.org] IPFire 2.x development tree branch, core81, updated. 4d3e174578dade4cb110ec7f370beb449fcaa48d Date: Thu, 07 Aug 2014 04:56:32 +0200 Message-ID: <20140807025632.C228221007@argus.ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5895651849976697884==" List-Id: --===============5895651849976697884== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree". The branch, core81 has been updated via 4d3e174578dade4cb110ec7f370beb449fcaa48d (commit) from a0e747dafc027d57976c799e23c17f5825a9739a (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 4d3e174578dade4cb110ec7f370beb449fcaa48d Author: Arne Fitzenreiter Date: Thu Aug 7 04:31:58 2014 +0200 core81: change updatescript for core81. ----------------------------------------------------------------------- Summary of changes: config/rootfiles/core/81/update.sh | 49 ++----------------------------------= -- 1 file changed, 2 insertions(+), 47 deletions(-) Difference in files: diff --git a/config/rootfiles/core/81/update.sh b/config/rootfiles/core/81/up= date.sh index 67244c6..743a1d3 100644 --- a/config/rootfiles/core/81/update.sh +++ b/config/rootfiles/core/81/update.sh @@ -25,68 +25,23 @@ /usr/local/bin/backupctrl exclude >/dev/null 2>&1 =20 # Remove old core updates from pakfire cache to save space... -core=3D80 +core=3D81 for (( i=3D1; i<=3D$core; i++ )) do rm -f /var/cache/pakfire/core-upgrade-*-$i.ipfire done =20 # Stop services -/etc/init.d/ipsec stop =20 # Remove old strongswan files -rm -f \ - /etc/strongswan.d/charon/unity.conf \ - /usr/lib/ipsec/plugins/libstrongswan-unity.so \ - /usr/share/strongswan/templates/config/plugins/unity.conf - -rm -f /usr/local/bin/setddns.pl =20 # Extract files extract_files =20 # Start services -/etc/init.d/dnsmasq restart -if [ `grep "ENABLED=3Don" /var/ipfire/vpn/settings` ]; then - /etc/init.d/ipsec start -fi - =20 # Update Language cache -perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang" - -# Uninstall the libgpg-error package. -rm -f \ - /opt/pakfire/db/installed/meta-libgpg-error \ - /opt/pakfire/db/rootfiles/libgpg-error - -# Fix broken proxy configuration permissions -chown -R nobody.nobody \ - /var/ipfire/proxy/advanced \ - /var/ipfire/proxy/acl-1.4 \ - /var/ipfire/proxy/enable \ - /var/ipfire/proxy/settings \ - /var/ipfire/proxy/squid.conf \ - /var/ipfire/proxy/transparent - -# Regenerate squid configuration file -sudo -u nobody /srv/web/ipfire/cgi-bin/proxy.cgi - -# Generate ddns configuration file -sudo -u nobody /srv/web/ipfire/cgi-bin/ddns.cgi - -# Update crontab -sed -i /var/spool/cron/root.orig -e "/setddns.pl/d" - -grep -q /usr/bin/ddns /var/spool/cron/root.orig || cat <> /var/spool/c= ron/root.orig - -# Update dynamic DNS records every five minutes. -# Force an update once a month -*/5 * * * * [ -f "/var/ipfire/red/active" ] && /usr/bin/ddns update-all -3 2 1 * * [ -f "/var/ipfire/red/active" ] && /usr/bin/ddns update-all --force -EOF - -fcrontab -z &>/dev/null +#perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang" =20 sync =20 hooks/post-receive -- IPFire 2.x development tree --===============5895651849976697884==--