Package: bastille
Version: 1:3.0.9-13
Followup-For: Bug #638835
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch

In Ubuntu, the attached patch was applied to achieve the following:

  * Apply patch from Marcos Marado <mindboosterno...@gmail.com> resolving
    inability to interact with Linux 3.0+. (Closes: #638835)


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric-proposed'), (500, 'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-12-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u bastille-3.0.9/bastille-firewall bastille-3.0.9/bastille-firewall
--- bastille-3.0.9/bastille-firewall
+++ bastille-3.0.9/bastille-firewall
@@ -68,7 +68,7 @@
   exit 1
 fi
 
-if [ -n "$(uname -r | awk -F. ' $1 == 2 && $2 > 2 {print}')" ]; then
+if [ -n "$(uname -r | awk -F. ' $1$2 > 22 {print}')" ]; then
 	# We are using Linux 2.3 or newer; use the netfilter script if available
 	if [ -x /sbin/bastille-netfilter ]; then
 		REALSCRIPT=/sbin/bastille-netfilter

Reply via email to