Files
shorewall/shorewall-lite-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

19 lines
776 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:52:49.746987573 +0100
@@ -492,7 +492,13 @@ ln -sf shorewall ${DESTDIR}${SBINDIR}/${
if [ -n "$SYSCONFFILE" -a -f "$SYSCONFFILE" -a ! -f ${DESTDIR}${SYSCONFDIR}/${PRODUCT} ]; then
[ ${DESTDIR} ] && make_parent_directory ${DESTDIR}${SYSCONFDIR} 0755
- install_file ${SYSCONFFILE} ${DESTDIR}${SYSCONFDIR}/${PRODUCT} 0640
+ if [ $HOST = suse ]; then
+ mkdir -p ${DESTDIR}/${FILLUPDIR}
+ install_file ${SYSCONFFILE} ${DESTDIR}/${FILLUPDIR}/sysconfig.${PRODUCT} 0644
+ else
+ install_file ${SYSCONFFILE} ${DESTDIR}${SYSCONFDIR}/$PRODUCT 0644
+ fi
+
echo "$SYSCONFFILE file installed in ${DESTDIR}${SYSCONFDIR}/${PRODUCT}"
fi