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 [thread overview]
Message-ID: <20140807025632.C228221007@argus.ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 3225 bytes --]
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 <arne_f(a)ipfire.org>
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/update.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
# Remove old core updates from pakfire cache to save space...
-core=80
+core=81
for (( i=1; i<=$core; i++ ))
do
rm -f /var/cache/pakfire/core-upgrade-*-$i.ipfire
done
# Stop services
-/etc/init.d/ipsec stop
# 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
# Extract files
extract_files
# Start services
-/etc/init.d/dnsmasq restart
-if [ `grep "ENABLED=on" /var/ipfire/vpn/settings` ]; then
- /etc/init.d/ipsec start
-fi
-
# 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 <<EOF >> /var/spool/cron/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"
sync
hooks/post-receive
--
IPFire 2.x development tree
reply other threads:[~2014-08-07 2:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140807025632.C228221007@argus.ipfire.org \
--to=git@ipfire.org \
--cc=ipfire-scm@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox