Package: egoboo
Version: 1:2.8.1-1
Severity: normal
Tags: upstream patch

Dear Maintainer,
The upstream tarball for egoboo comes with all data files set to +x and this is
not fixed in the build either.

I've attached a small patch which fixes the permissions in the Debian build,
please consider applying it.

Also please notify upstream about this issue and ask them to fix the
permissions in their tarballs.

-- System Information:

Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages egoboo depends on:
ii  egoboo-data               1:2.8.1-1
ii  libc6                     2.13-26
ii  libgl1-mesa-glx [libgl1]  7.11.2-1
ii  libglu1-mesa [libglu1]    7.11.2-1
ii  libphysfs1                2.0.2-5
ii  libsdl-image1.2           1.2.12-1
ii  libsdl-mixer1.2           1.2.12-1
ii  libsdl-ttf2.0-0           2.0.11-1
ii  libsdl1.2debian           1.2.15-1

egoboo recommends no packages.

egoboo suggests no packages.

-- no debconf information
>From aa0885c1375bdfd7ae5e5516f1bd117a3aae3bfa Mon Sep 17 00:00:00 2001
From: Martin Erik Werner <martinerikwer...@gmail.com>
Date: Mon, 5 Mar 2012 04:22:08 +0100
Subject: [PATCH] fix data permissions

---
 debian/rules |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index cb2f97c..169e702 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,8 +17,6 @@ override_dh_installchangelogs:
 
 override_dh_fixperms:
 	chmod -R 644 debian/egoboo/etc/egoboo-2.x/*
-
-# need workaround for dirs
-#	chmod -R 644 debian/egoboo-data/usr/share/games/
-
+	find debian/egoboo-data/usr/share/games/ -type d -exec chmod 755 '{}' +
+	find debian/egoboo-data/usr/share/games/ -type f -exec chmod 644 '{}' +
 	dh_fixperms
-- 
1.7.9.1

Reply via email to