On 08/24/2012 03:33 PM, Tom Eastep wrote:
> On 08/24/2012 05:00 AM, Togan Muftuoglu wrote:
>> Hi Tom,
>>
>> I have been patching shorewall packages for the opensuse releases, but I
>> guess it is better to send them to you . the upstream so it gets
>> incorporated into shorewall itself and I do not have to patch it ;)
>>
>> I believe I have incorparted most of my patches in to this one. If you
>> can review them and if appropriate apply them that would be great
> 
> 
> Hi Togan,
> 
> Applied -- thanks!

Actually there is one more thing which I did not incorporate, but maybe
you can find a way to do it for the shorewall-init installation.
openSUSE and also SUSE uses fillup_and_insserve macro

<http://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25fillup_and_insserv>

hence I am using the attached patch, I haven't applied to the previous
set as I am not sure if you are using that approach in your spec files.

Maybe you can find a way to use it

Thanks

Togan


>From 54007d96d266d8dcd3e9a4ccefcb2979893c0dd3 Mon Sep 17 00:00:00 2001
From: Togan Muftuoglu <[email protected]>
Date: Fri, 13 Apr 2012 12:28:56 +0200
Subject: [PATCH] shorewall-init 4.5.2 install

---
 Shorewall-init/install.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Shorewall-init/install.sh b/Shorewall-init/install.sh
index 1b12f0a..7db1aaf 100755
--- a/Shorewall-init/install.sh
+++ b/Shorewall-init/install.sh
@@ -335,10 +335,10 @@ else
 	    fi
 	fi
     fi
+	mkdir -p ${DESTDIR}/var/adm/fillup-templates
+	install_file sysconfig ${DESTDIR}/var/adm/fillup-templates/sysconfig.shorewall-init 0644
+
 
-    if [ -d ${DESTDIR}${SYSCONFDIR} -a ! -f ${DESTDIR}${SYSCONFDIR}/shorewall-init ]; then
-	install_file sysconfig ${DESTDIR}${SYSCONFDIR}/shorewall-init 0644
-    fi 
 fi
 
 #
-- 
1.7.7

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to