Files
shorewall/shorewall-init-fillup-install.patch
Bruno Friedmann 9d3e4b6fc9 Accepting request 587096 from home:bruno_friedmann:branches:security:netfilter
- spec : 
  + Minimal changes with spec-cleaner
  + Stop conflicting with other firewall (SuSEFirewall2, firewalld)
    User can have several management tools, and it help preparing
    a migration
- Run shorewall(6) update -A to update your configurations
  Check and adapt them before restarting.
- Changes in 5.1.12.3
  + Update release documents.
  + Ensure that mutex gets released at exit.
- Changes in 5.1.12.2
  + Alter documentation to prefer ';;' over ';' in INLINE and 
    IP[6]TABLES rules.
  + Make 'update' convert ';' to ';;' in INLINE, IPTABLES and 
    IP6TABLES rules.
  + Correct typo that resulted in an "unknown function" Perl 
    diagnostic.
  + Correct "Invalid policy" message.
  + Fix omitted SYN limiting.
- Changes in 5.1.12.1
  + Replace macro.SSDPServer with corrected macro.SSDPserver.
- Changes in 5.1.12 Final
  + Update release documents.
  + Add INLINE_MATCHES=Yes to the deprecated list.
- Changes in 5.1.12 RC 1
  + Update release documents.
  + Minor performance enhancements to Optimize Category 8.
  + Always report IPSET_MATCH.
- Changes in 5.1.12 Beta 2
  + Delete undocumented OPTIMIZE_USE_FIRST option.

OBS-URL: https://build.opensuse.org/request/show/587096
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/shorewall?expand=0&rev=237
2018-03-15 16:07:27 +00:00

23 lines
930 B
Diff

diff -rup a/install.sh b/install.sh
--- a/install.sh 2018-03-01 17:44:42.000000000 +0100
+++ b/install.sh 2018-03-05 17:50:06.242326227 +0100
@@ -385,10 +385,14 @@ else
fi
fi
fi
-
- if [ -n "$SYSCONFFILE" -a ! -f ${DESTDIR}${SYSCONFDIR}/${PRODUCT} ]; then
- install_file ${SYSCONFFILE} ${DESTDIR}${SYSCONFDIR}/$PRODUCT 0644
- echo "${SYSCONFFILE} file installed in ${DESTDIR}${SYSCONFDIR}/${PRODUCT}"
+ if [ $HOST = suse ]; then
+ mkdir -p ${DESTDIR}/${FILLUPDIR}
+ install_file sysconfig ${DESTDIR}/${FILLUPDIR}/sysconfig.shorewall-init 0644
+ else
+ if [ -n "$SYSCONFFILE" -a ! -f ${DESTDIR}${SYSCONFDIR}/${PRODUCT} ]; then
+ install_file ${SYSCONFFILE} ${DESTDIR}${SYSCONFDIR}/$PRODUCT 0644
+ echo "${SYSCONFFILE} file installed in ${DESTDIR}${SYSCONFDIR}/${PRODUCT}"
+ fi
fi
[ $HOST = suse ] && IFUPDOWN=ifupdown.suse.sh || IFUPDOWN=ifupdown.fedora.sh