Hi,

shorewall-init-4.5.21-Beta1 has "sysconfig" hardcoded.

I am using the attached patch.

If you are going to fix that, don't forget to check if you have to
adjust the configure script to add SYSCONFFILE support to shorewall-init...


-Thomas
--- install.sh.old      2013-09-09 13:25:56.562569007 +0200
+++ install.sh  2013-09-09 13:26:02.910627135 +0200
@@ -377,9 +377,10 @@
        fi
     fi
 
-    if [ -d ${DESTDIR}${SYSCONFDIR} -a ! -f 
${DESTDIR}${SYSCONFDIR}/shorewall-init ]; then
-       install_file sysconfig ${DESTDIR}${SYSCONFDIR}/shorewall-init 0644
-    fi
+       if [ -n "$SYSCONFFILE" -a ! -f ${DESTDIR}${SYSCONFDIR}/${PRODUCT} ]; 
then
+               run_install $OWNERSHIP -m 0644 ${SYSCONFFILE} 
${DESTDIR}${SYSCONFDIR}/$PRODUCT
+               echo "$SYSCONFFILE installed in 
${DESTDIR}${SYSCONFDIR}/${PRODUCT}"
+       fi
 
     [ $HOST = suse ] && IFUPDOWN=ifupdown.suse.sh || 
IFUPDOWN=ifupdown.fedora.sh
 fi

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to