[Lunar-commits] r24956 - moonbase/trunk/security/ferm
Auke Kok
sofar at lunar-linux.org
Thu Jun 21 20:56:30 CEST 2007
Author: sofar
Date: 2007-06-21 20:56:29 +0200 (Thu, 21 Jun 2007)
New Revision: 24956
Added:
moonbase/trunk/security/ferm/POST_INSTALL
Modified:
moonbase/trunk/security/ferm/DETAILS
Log:
Bump to 1.2.x. User requires to interact and acknowledge config file change during module upgrade.
From: sofar at foo-projects.org
Modified: moonbase/trunk/security/ferm/DETAILS
===================================================================
--- moonbase/trunk/security/ferm/DETAILS 2007-06-21 18:56:20 UTC (rev 24955)
+++ moonbase/trunk/security/ferm/DETAILS 2007-06-21 18:56:29 UTC (rev 24956)
@@ -1,10 +1,10 @@
MODULE=ferm
- VERSION=1.1
+ VERSION=1.2.4
SOURCE=$MODULE-$VERSION.tar.gz
- SOURCE_URL=http://ferm.foo-projects.org/download/
+ SOURCE_URL=http://ferm.foo-projects.org/download/1.2/
WEB_SITE=http://ferm.foo-projects.org/
ENTERED=20020514
- UPDATED=20030507
+ UPDATED=20070621
MAINTAINER=ferm at foo-projects.org
SHORT="tool to maintain complex firewalls"
cat << EOF
Added: moonbase/trunk/security/ferm/POST_INSTALL
===================================================================
--- moonbase/trunk/security/ferm/POST_INSTALL (rev 0)
+++ moonbase/trunk/security/ferm/POST_INSTALL 2007-06-21 18:56:29 UTC (rev 24956)
@@ -0,0 +1,15 @@
+if [ ! -f "/etc/ferm-1.2-example.conf" ] ; then
+ message ""
+ message "${PROBLEM_COLOR}Warning!${DEFAULT_COLOR}${MESSAGE_COLOR}"
+ message "ferm config file format has changed between versions 1.1 and 1.2"
+ message "To convert your ferm.conf file, you need to load your old ferm.conf"
+ message "and run \`iptables-save | import-ferm > \$your_new_config\`."
+ message ""
+ iptables-save | import-ferm > /etc/ferm-1.2-example.conf
+ message "I have done this command for you. The suggested new ferm.conf file"
+ message "is saved as /etc/ferm-1.2-example.conf. You should inspect this file"
+ message "and copy it to /etc/ferm.conf.${DEFAULT_COLOR}"
+ message ""
+ message "${QUERY_COLOR}Press [ENTER] to acknowledge${DEFAULT_COLOR}"
+ read -t $PROMPT_DELAY foo
+fi
More information about the Lunar-commits
mailing list