File: nonexecutable.patch

package info (click to toggle)
goban 1.1-6
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 4,820 kB
  • sloc: ansic: 36,301; sh: 418; xml: 26; makefile: 25
file content (21 lines) | stat: -rw-r--r-- 840 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Subject: Non-executable mode for files in install-data-local
From: Al Nikolov <clown@debian.org>

Index: goban-1.1/Makefile.am
===================================================================
--- goban-1.1.orig/Makefile.am	2010-11-04 21:07:40.000000000 +0000
+++ goban-1.1/Makefile.am	2010-11-04 21:08:12.000000000 +0000
@@ -6,11 +6,11 @@
 install-data-local:
 if XSCREENSAVER
 	$(INSTALL) -d $(DESTDIR)@with_xscreensaver@
-	$(INSTALL) goban.xml $(DESTDIR)@with_xscreensaver@
+	$(INSTALL) -m644 goban.xml $(DESTDIR)@with_xscreensaver@
 else
 	test -e $(SCREENSAVER_DATADIR) && $(INSTALL) goban.xml $(SCREENSAVER_DATADIR)
 endif
 	$(INSTALL) -d $(DESTDIR)$(pkgdatadir)
-	$(INSTALL) games/* $(DESTDIR)$(pkgdatadir)
+	$(INSTALL) -m644 games/* $(DESTDIR)$(pkgdatadir)
 
 EXTRA_DIST = games goban.xml goban.spec.in src/*.h README.screensaver